@dev-blinq/ui-systems 1.0.21 → 1.0.23
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/CustomButton/CustomButtonProps.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +340 -246
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Gn from "react";
|
|
2
|
-
import Y, { useRef as
|
|
2
|
+
import Y, { useRef as Ce, useState as W, useEffect as Se } from "react";
|
|
3
3
|
import { Typography as Ee } from "@mui/material";
|
|
4
4
|
function Re(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -18,13 +18,13 @@ var Ln;
|
|
|
18
18
|
function Me() {
|
|
19
19
|
if (Ln) return K;
|
|
20
20
|
Ln = 1;
|
|
21
|
-
var e = Y, l = Symbol.for("react.element"), g = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty,
|
|
22
|
-
function A(
|
|
21
|
+
var e = Y, l = Symbol.for("react.element"), g = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function A(S, h, D) {
|
|
23
23
|
var p, M = {}, b = null, k = null;
|
|
24
24
|
D !== void 0 && (b = "" + D), h.key !== void 0 && (b = "" + h.key), h.ref !== void 0 && (k = h.ref);
|
|
25
25
|
for (p in h) d.call(h, p) && !f.hasOwnProperty(p) && (M[p] = h[p]);
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof: l, type:
|
|
26
|
+
if (S && S.defaultProps) for (p in h = S.defaultProps, h) M[p] === void 0 && (M[p] = h[p]);
|
|
27
|
+
return { $$typeof: l, type: S, key: b, ref: k, props: M, _owner: v.current };
|
|
28
28
|
}
|
|
29
29
|
return K.Fragment = g, K.jsx = A, K.jsxs = A, K;
|
|
30
30
|
}
|
|
@@ -41,15 +41,15 @@ var j = {};
|
|
|
41
41
|
var xn;
|
|
42
42
|
function Ne() {
|
|
43
43
|
return xn || (xn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var e = Y, l = Symbol.for("react.element"), g = Symbol.for("react.portal"), d = Symbol.for("react.fragment"),
|
|
44
|
+
var e = Y, l = Symbol.for("react.element"), g = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), A = Symbol.for("react.provider"), S = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), on = Symbol.iterator, On = "@@iterator";
|
|
45
45
|
function Kn(n) {
|
|
46
46
|
if (n === null || typeof n != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var a = on && n[on] || n[
|
|
48
|
+
var a = on && n[on] || n[On];
|
|
49
49
|
return typeof a == "function" ? a : null;
|
|
50
50
|
}
|
|
51
51
|
var P = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
-
function
|
|
52
|
+
function C(n) {
|
|
53
53
|
{
|
|
54
54
|
for (var a = arguments.length, t = new Array(a > 1 ? a - 1 : 0), i = 1; i < a; i++)
|
|
55
55
|
t[i - 1] = arguments[i];
|
|
@@ -69,7 +69,7 @@ function Ne() {
|
|
|
69
69
|
var kn = !1, wn = !1, Vn = !1, Hn = !1, _n = !1, ln;
|
|
70
70
|
ln = Symbol.for("react.module.reference");
|
|
71
71
|
function Wn(n) {
|
|
72
|
-
return !!(typeof n == "string" || typeof n == "function" || n === d || n === f || _n || n ===
|
|
72
|
+
return !!(typeof n == "string" || typeof n == "function" || n === d || n === f || _n || n === v || n === D || n === p || Hn || n === k || kn || wn || Vn || typeof n == "object" && n !== null && (n.$$typeof === b || n.$$typeof === M || n.$$typeof === A || n.$$typeof === S || n.$$typeof === h || // 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.
|
|
@@ -88,7 +88,7 @@ function Ne() {
|
|
|
88
88
|
function T(n) {
|
|
89
89
|
if (n == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof n.tag == "number" &&
|
|
91
|
+
if (typeof n.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
92
92
|
return n.displayName || n.name || null;
|
|
93
93
|
if (typeof n == "string")
|
|
94
94
|
return n;
|
|
@@ -99,7 +99,7 @@ function Ne() {
|
|
|
99
99
|
return "Portal";
|
|
100
100
|
case f:
|
|
101
101
|
return "Profiler";
|
|
102
|
-
case
|
|
102
|
+
case v:
|
|
103
103
|
return "StrictMode";
|
|
104
104
|
case D:
|
|
105
105
|
return "Suspense";
|
|
@@ -108,7 +108,7 @@ function Ne() {
|
|
|
108
108
|
}
|
|
109
109
|
if (typeof n == "object")
|
|
110
110
|
switch (n.$$typeof) {
|
|
111
|
-
case
|
|
111
|
+
case S:
|
|
112
112
|
var a = n;
|
|
113
113
|
return sn(a) + ".Consumer";
|
|
114
114
|
case A:
|
|
@@ -130,14 +130,14 @@ function Ne() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var F = Object.assign, x = 0, pn, gn, dn, hn, mn,
|
|
133
|
+
var F = Object.assign, x = 0, pn, gn, dn, hn, mn, yn, vn;
|
|
134
134
|
function fn() {
|
|
135
135
|
}
|
|
136
136
|
fn.__reactDisabledLog = !0;
|
|
137
137
|
function Zn() {
|
|
138
138
|
{
|
|
139
139
|
if (x === 0) {
|
|
140
|
-
pn = console.log, gn = console.info, dn = console.warn, hn = console.error, mn = console.group,
|
|
140
|
+
pn = console.log, gn = console.info, dn = console.warn, hn = console.error, mn = console.group, yn = console.groupCollapsed, vn = console.groupEnd;
|
|
141
141
|
var n = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -182,14 +182,14 @@ function Ne() {
|
|
|
182
182
|
value: mn
|
|
183
183
|
}),
|
|
184
184
|
groupCollapsed: F({}, n, {
|
|
185
|
-
value:
|
|
185
|
+
value: yn
|
|
186
186
|
}),
|
|
187
187
|
groupEnd: F({}, n, {
|
|
188
|
-
value:
|
|
188
|
+
value: vn
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
x < 0 &&
|
|
192
|
+
x < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var Z = P.ReactCurrentDispatcher, J;
|
|
@@ -261,18 +261,18 @@ function Ne() {
|
|
|
261
261
|
if (R && i && typeof R.stack == "string") {
|
|
262
262
|
for (var u = R.stack.split(`
|
|
263
263
|
`), E = i.stack.split(`
|
|
264
|
-
`), m = u.length - 1,
|
|
265
|
-
|
|
266
|
-
for (; m >= 1 &&
|
|
267
|
-
if (u[m] !== E[
|
|
268
|
-
if (m !== 1 ||
|
|
264
|
+
`), m = u.length - 1, y = E.length - 1; m >= 1 && y >= 0 && u[m] !== E[y]; )
|
|
265
|
+
y--;
|
|
266
|
+
for (; m >= 1 && y >= 0; m--, y--)
|
|
267
|
+
if (u[m] !== E[y]) {
|
|
268
|
+
if (m !== 1 || y !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (m--,
|
|
270
|
+
if (m--, y--, y < 0 || u[m] !== E[y]) {
|
|
271
271
|
var N = `
|
|
272
272
|
` + u[m].replace(" at new ", " at ");
|
|
273
273
|
return n.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", n.displayName)), typeof n == "function" && V.set(n, N), N;
|
|
274
274
|
}
|
|
275
|
-
while (m >= 1 &&
|
|
275
|
+
while (m >= 1 && y >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -318,17 +318,17 @@ function Ne() {
|
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
321
|
+
var I = Object.prototype.hasOwnProperty, Cn = {}, Sn = P.ReactDebugCurrentFrame;
|
|
322
322
|
function _(n) {
|
|
323
323
|
if (n) {
|
|
324
324
|
var a = n._owner, t = H(n.type, n._source, a ? a.type : null);
|
|
325
|
-
|
|
325
|
+
Sn.setExtraStackFrame(t);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
Sn.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
329
|
function qn(n, a, t, i, o) {
|
|
330
330
|
{
|
|
331
|
-
var s = Function.call.bind(
|
|
331
|
+
var s = Function.call.bind(I);
|
|
332
332
|
for (var c in n)
|
|
333
333
|
if (s(n, c)) {
|
|
334
334
|
var u = void 0;
|
|
@@ -341,7 +341,7 @@ function Ne() {
|
|
|
341
341
|
} catch (m) {
|
|
342
342
|
u = m;
|
|
343
343
|
}
|
|
344
|
-
u && !(u instanceof Error) && (_(o),
|
|
344
|
+
u && !(u instanceof Error) && (_(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).", i || "React class", t, c, typeof u), _(null)), u instanceof Error && !(u.message in Cn) && (Cn[u.message] = !0, _(o), C("Failed %s type: %s", t, u.message), _(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
@@ -367,9 +367,9 @@ function Ne() {
|
|
|
367
367
|
}
|
|
368
368
|
function Rn(n) {
|
|
369
369
|
if (ee(n))
|
|
370
|
-
return
|
|
370
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ne(n)), En(n);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var O = P.ReactCurrentOwner, ae = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
@@ -377,7 +377,7 @@ function Ne() {
|
|
|
377
377
|
}, Mn, Nn, z;
|
|
378
378
|
z = {};
|
|
379
379
|
function te(n) {
|
|
380
|
-
if (
|
|
380
|
+
if (I.call(n, "ref")) {
|
|
381
381
|
var a = Object.getOwnPropertyDescriptor(n, "ref").get;
|
|
382
382
|
if (a && a.isReactWarning)
|
|
383
383
|
return !1;
|
|
@@ -385,7 +385,7 @@ function Ne() {
|
|
|
385
385
|
return n.ref !== void 0;
|
|
386
386
|
}
|
|
387
387
|
function re(n) {
|
|
388
|
-
if (
|
|
388
|
+
if (I.call(n, "key")) {
|
|
389
389
|
var a = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
390
390
|
if (a && a.isReactWarning)
|
|
391
391
|
return !1;
|
|
@@ -393,15 +393,15 @@ function Ne() {
|
|
|
393
393
|
return n.key !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function ie(n, a) {
|
|
396
|
-
if (typeof n.ref == "string" &&
|
|
397
|
-
var t = T(
|
|
398
|
-
z[t] || (
|
|
396
|
+
if (typeof n.ref == "string" && O.current && a && O.current.stateNode !== a) {
|
|
397
|
+
var t = T(O.current.type);
|
|
398
|
+
z[t] || (C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(O.current.type), n.ref), z[t] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
function ue(n, a) {
|
|
402
402
|
{
|
|
403
403
|
var t = function() {
|
|
404
|
-
Mn || (Mn = !0,
|
|
404
|
+
Mn || (Mn = !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)", a));
|
|
405
405
|
};
|
|
406
406
|
t.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
407
407
|
get: t,
|
|
@@ -412,7 +412,7 @@ function Ne() {
|
|
|
412
412
|
function ce(n, a) {
|
|
413
413
|
{
|
|
414
414
|
var t = function() {
|
|
415
|
-
Nn || (Nn = !0,
|
|
415
|
+
Nn || (Nn = !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)", a));
|
|
416
416
|
};
|
|
417
417
|
t.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
418
418
|
get: t,
|
|
@@ -454,17 +454,17 @@ function Ne() {
|
|
|
454
454
|
var s, c = {}, u = null, E = null;
|
|
455
455
|
t !== void 0 && (Rn(t), u = "" + t), re(a) && (Rn(a.key), u = "" + a.key), te(a) && (E = a.ref, ie(a, o));
|
|
456
456
|
for (s in a)
|
|
457
|
-
|
|
457
|
+
I.call(a, s) && !ae.hasOwnProperty(s) && (c[s] = a[s]);
|
|
458
458
|
if (n && n.defaultProps) {
|
|
459
459
|
var m = n.defaultProps;
|
|
460
460
|
for (s in m)
|
|
461
461
|
c[s] === void 0 && (c[s] = m[s]);
|
|
462
462
|
}
|
|
463
463
|
if (u || E) {
|
|
464
|
-
var
|
|
465
|
-
u && ue(c,
|
|
464
|
+
var y = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
465
|
+
u && ue(c, y), E && ce(c, y);
|
|
466
466
|
}
|
|
467
|
-
return oe(n, u, E, o, i,
|
|
467
|
+
return oe(n, u, E, o, i, O.current, c);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
var q = P.ReactCurrentOwner, Dn = P.ReactDebugCurrentFrame;
|
|
@@ -518,7 +518,7 @@ Check the top-level render call using <` + t + ">.");
|
|
|
518
518
|
return;
|
|
519
519
|
Bn[t] = !0;
|
|
520
520
|
var i = "";
|
|
521
|
-
n && n._owner && n._owner !== q.current && (i = " It was passed a child from " + T(n._owner.type) + "."), G(n),
|
|
521
|
+
n && n._owner && n._owner !== q.current && (i = " It was passed a child from " + T(n._owner.type) + "."), G(n), 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, i), G(null);
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
function Fn(n, a) {
|
|
@@ -560,9 +560,9 @@ Check the top-level render call using <` + t + ">.");
|
|
|
560
560
|
} else if (a.PropTypes !== void 0 && !Q) {
|
|
561
561
|
Q = !0;
|
|
562
562
|
var o = T(a);
|
|
563
|
-
|
|
563
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
564
564
|
}
|
|
565
|
-
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved &&
|
|
565
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
function de(n) {
|
|
@@ -570,11 +570,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
570
570
|
for (var a = Object.keys(n.props), t = 0; t < a.length; t++) {
|
|
571
571
|
var i = a[t];
|
|
572
572
|
if (i !== "children" && i !== "key") {
|
|
573
|
-
G(n),
|
|
573
|
+
G(n), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), G(null);
|
|
574
574
|
break;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
n.ref !== null && (G(n),
|
|
577
|
+
n.ref !== null && (G(n), C("Invalid attribute `ref` supplied to `React.Fragment`."), G(null));
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
var Un = {};
|
|
@@ -587,11 +587,11 @@ Check the top-level render call using <` + t + ">.");
|
|
|
587
587
|
var E = se();
|
|
588
588
|
E ? u += E : u += Tn();
|
|
589
589
|
var m;
|
|
590
|
-
n === null ? m = "null" : X(n) ? m = "array" : n !== void 0 && n.$$typeof === l ? (m = "<" + (T(n.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : m = typeof n,
|
|
590
|
+
n === null ? m = "null" : X(n) ? m = "array" : n !== void 0 && n.$$typeof === l ? (m = "<" + (T(n.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : m = typeof n, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, u);
|
|
591
591
|
}
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
594
|
-
return
|
|
592
|
+
var y = le(n, a, t, o, s);
|
|
593
|
+
if (y == null)
|
|
594
|
+
return y;
|
|
595
595
|
if (c) {
|
|
596
596
|
var N = a.children;
|
|
597
597
|
if (N !== void 0)
|
|
@@ -601,17 +601,17 @@ Check the top-level render call using <` + t + ">.");
|
|
|
601
601
|
Fn(N[L], n);
|
|
602
602
|
Object.freeze && Object.freeze(N);
|
|
603
603
|
} else
|
|
604
|
-
|
|
604
|
+
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.");
|
|
605
605
|
else
|
|
606
606
|
Fn(N, n);
|
|
607
607
|
}
|
|
608
|
-
if (
|
|
608
|
+
if (I.call(a, "key")) {
|
|
609
609
|
var U = T(n), R = Object.keys(a).filter(function(Ae) {
|
|
610
610
|
return Ae !== "key";
|
|
611
611
|
}), en = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
612
|
if (!Un[U + en]) {
|
|
613
613
|
var fe = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
|
|
614
|
-
|
|
614
|
+
C(`A props object containing a "key" prop is being spread into JSX:
|
|
615
615
|
let props = %s;
|
|
616
616
|
<%s {...props} />
|
|
617
617
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -619,7 +619,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
619
619
|
<%s key={someKey} {...props} />`, en, U, fe, U), Un[U + en] = !0;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
return n === d ? de(
|
|
622
|
+
return n === d ? de(y) : ge(y), y;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
625
|
function he(n, a, t) {
|
|
@@ -628,20 +628,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
628
628
|
function me(n, a, t) {
|
|
629
629
|
return Pn(n, a, t, !1);
|
|
630
630
|
}
|
|
631
|
-
var
|
|
632
|
-
j.Fragment = d, j.jsx =
|
|
631
|
+
var ye = me, ve = he;
|
|
632
|
+
j.Fragment = d, j.jsx = ye, j.jsxs = ve;
|
|
633
633
|
}()), j;
|
|
634
634
|
}
|
|
635
635
|
process.env.NODE_ENV === "production" ? an.exports = Me() : an.exports = Ne();
|
|
636
636
|
var r = an.exports;
|
|
637
|
-
const B = ({ children: e, Size: l, category: g, bold: d, sx:
|
|
637
|
+
const B = ({ children: e, Size: l, category: g, bold: d, sx: v, ...f }) => /* @__PURE__ */ r.jsx(
|
|
638
638
|
Ee,
|
|
639
639
|
{
|
|
640
640
|
className: "TypographyCustom",
|
|
641
641
|
"data-size": l,
|
|
642
642
|
"data-category": g,
|
|
643
643
|
"data-bold": d,
|
|
644
|
-
sx: { fontFamily: 'var(--font-family, "Plus Jakarta Sans", sans-serif)', ...
|
|
644
|
+
sx: { fontFamily: 'var(--font-family, "Plus Jakarta Sans", sans-serif)', ...v },
|
|
645
645
|
...f,
|
|
646
646
|
children: e
|
|
647
647
|
}
|
|
@@ -650,10 +650,10 @@ const B = ({ children: e, Size: l, category: g, bold: d, sx: y, ...f }) => /* @_
|
|
|
650
650
|
colorHierarchy: l = "brand/primary",
|
|
651
651
|
disabled: g = !1,
|
|
652
652
|
text: d,
|
|
653
|
-
leftIcon:
|
|
653
|
+
leftIcon: v,
|
|
654
654
|
rightIcon: f,
|
|
655
655
|
onClick: A,
|
|
656
|
-
...
|
|
656
|
+
...S
|
|
657
657
|
}) => /* @__PURE__ */ r.jsxs(
|
|
658
658
|
"button",
|
|
659
659
|
{
|
|
@@ -662,11 +662,33 @@ const B = ({ children: e, Size: l, category: g, bold: d, sx: y, ...f }) => /* @_
|
|
|
662
662
|
"data-colorHierarchy": l,
|
|
663
663
|
onClick: A,
|
|
664
664
|
disabled: g,
|
|
665
|
-
...
|
|
665
|
+
...S,
|
|
666
666
|
children: [
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
667
|
+
v && /* @__PURE__ */ r.jsx(
|
|
668
|
+
"span",
|
|
669
|
+
{
|
|
670
|
+
style: {
|
|
671
|
+
display: "flex",
|
|
672
|
+
alignItems: "center",
|
|
673
|
+
justifyContent: "center",
|
|
674
|
+
height: "100%"
|
|
675
|
+
},
|
|
676
|
+
children: v
|
|
677
|
+
}
|
|
678
|
+
),
|
|
679
|
+
d && /* @__PURE__ */ r.jsx(B, { className: "input-typography", category: "text", Size: e, bold: "bold", children: d }),
|
|
680
|
+
f && /* @__PURE__ */ r.jsx(
|
|
681
|
+
"span",
|
|
682
|
+
{
|
|
683
|
+
style: {
|
|
684
|
+
display: "flex",
|
|
685
|
+
alignItems: "center",
|
|
686
|
+
justifyContent: "center",
|
|
687
|
+
height: "100%"
|
|
688
|
+
},
|
|
689
|
+
children: f
|
|
690
|
+
}
|
|
691
|
+
)
|
|
670
692
|
]
|
|
671
693
|
}
|
|
672
694
|
), rn = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ r.jsx(
|
|
@@ -675,56 +697,74 @@ const B = ({ children: e, Size: l, category: g, bold: d, sx: y, ...f }) => /* @_
|
|
|
675
697
|
d: "M11.25 14.0625C11.25 14.3097 11.1767 14.5514 11.0393 14.757C10.902 14.9625 10.7068 15.1227 10.4784 15.2173C10.2499 15.312 9.99862 15.3367 9.75614 15.2885C9.51366 15.2402 9.29094 15.1212 9.11612 14.9464C8.9413 14.7716 8.82225 14.5488 8.77402 14.3064C8.72579 14.0639 8.75054 13.8126 8.84515 13.5841C8.93976 13.3557 9.09998 13.1605 9.30554 13.0232C9.5111 12.8858 9.75278 12.8125 10 12.8125C10.3315 12.8125 10.6495 12.9442 10.8839 13.1786C11.1183 13.413 11.25 13.731 11.25 14.0625ZM18.4375 10C18.4375 11.6688 17.9427 13.3001 17.0155 14.6876C16.0884 16.0752 14.7706 17.1566 13.2289 17.7952C11.6871 18.4338 9.99064 18.6009 8.35393 18.2754C6.71721 17.9498 5.2138 17.1462 4.03379 15.9662C2.85378 14.7862 2.05019 13.2828 1.72463 11.6461C1.39907 10.0094 1.56616 8.31286 2.20477 6.77111C2.84338 5.22936 3.92484 3.9116 5.31238 2.98448C6.69992 2.05735 8.33122 1.5625 10 1.5625C12.237 1.56498 14.3817 2.45473 15.9635 4.03653C17.5453 5.61833 18.435 7.763 18.4375 10ZM16.5625 10C16.5625 8.70206 16.1776 7.43327 15.4565 6.35407C14.7354 5.27487 13.7105 4.43374 12.5114 3.93704C11.3122 3.44034 9.99272 3.31038 8.71972 3.5636C7.44672 3.81681 6.2774 4.44183 5.35962 5.35961C4.44183 6.27739 3.81682 7.44672 3.5636 8.71972C3.31038 9.99272 3.44034 11.3122 3.93704 12.5114C4.43374 13.7105 5.27488 14.7354 6.35407 15.4565C7.43327 16.1776 8.70206 16.5625 10 16.5625C11.7399 16.5606 13.408 15.8686 14.6383 14.6383C15.8686 13.408 16.5606 11.7399 16.5625 10ZM10 5C8.10469 5 6.5625 6.40156 6.5625 8.125V8.4375C6.5625 8.68614 6.66127 8.9246 6.83709 9.10041C7.01291 9.27623 7.25136 9.375 7.5 9.375C7.74864 9.375 7.9871 9.27623 8.16292 9.10041C8.33873 8.9246 8.4375 8.68614 8.4375 8.4375V8.125C8.4375 7.43594 9.14063 6.875 10 6.875C10.8594 6.875 11.5625 7.43594 11.5625 8.125C11.5625 8.81406 10.8594 9.375 10 9.375C9.75136 9.375 9.51291 9.47377 9.33709 9.64959C9.16127 9.8254 9.0625 10.0639 9.0625 10.3125V10.9375C9.06194 11.1691 9.14715 11.3927 9.30169 11.5653C9.45623 11.7378 9.66916 11.847 9.89945 11.8719C10.1297 11.8967 10.3611 11.8354 10.5488 11.6998C10.7366 11.5642 10.8676 11.3639 10.9164 11.1375C12.368 10.7719 13.4375 9.56016 13.4375 8.125C13.4375 6.40156 11.8953 5 10 5Z",
|
|
676
698
|
fill: "#080808"
|
|
677
699
|
}
|
|
678
|
-
) }),
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
"input",
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
style: {
|
|
688
|
-
fontFamily: "var(--font-family)",
|
|
689
|
-
color: "var(--text-primary, #080808)",
|
|
690
|
-
fontWeight: 600,
|
|
691
|
-
fontSize: "14px",
|
|
692
|
-
fontStyle: "normal"
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
),
|
|
696
|
-
/* @__PURE__ */ r.jsx("div", { className: "right-icon", children: e.rightIcon ? e.rightIcon : /* @__PURE__ */ r.jsx(rn, {}) })
|
|
697
|
-
] }), De = (e) => {
|
|
698
|
-
const l = Se(null);
|
|
699
|
-
return /* @__PURE__ */ r.jsxs("div", { className: "custom-input", "data-type": e.type, "data-error": e.errExists, style: { ...e.style, ...e.sx }, children: [
|
|
700
|
-
e.leftIcon && /* @__PURE__ */ r.jsx("div", { className: "left-icon", children: e.leftIcon }),
|
|
701
|
-
/* @__PURE__ */ r.jsx(
|
|
702
|
-
"input",
|
|
703
|
-
{
|
|
704
|
-
type: "text",
|
|
705
|
-
placeholder: e.placeholder,
|
|
706
|
-
disabled: e.disabled,
|
|
707
|
-
ref: l,
|
|
708
|
-
...e.props
|
|
709
|
-
}
|
|
710
|
-
),
|
|
711
|
-
/* @__PURE__ */ r.jsxs("div", { className: "grey-box grey-right-box", children: [
|
|
700
|
+
) }), In = (e) => /* @__PURE__ */ r.jsxs(
|
|
701
|
+
"div",
|
|
702
|
+
{
|
|
703
|
+
className: "custom-input",
|
|
704
|
+
"data-type": e.type,
|
|
705
|
+
"data-error": e.errExists,
|
|
706
|
+
style: { ...e.style, ...e.sx },
|
|
707
|
+
children: [
|
|
708
|
+
e.leftIcon && /* @__PURE__ */ r.jsx("div", { className: "left-icon", children: e.leftIcon }),
|
|
712
709
|
/* @__PURE__ */ r.jsx(
|
|
713
|
-
|
|
710
|
+
"input",
|
|
714
711
|
{
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
712
|
+
type: "text",
|
|
713
|
+
placeholder: e.placeholder,
|
|
714
|
+
disabled: e.disabled,
|
|
715
|
+
...e.props,
|
|
716
|
+
style: {
|
|
717
|
+
fontFamily: "var(--font-family)",
|
|
718
|
+
color: "var(--text-primary, #080808)",
|
|
719
|
+
fontWeight: 600,
|
|
720
|
+
fontSize: "14px",
|
|
721
|
+
fontStyle: "normal"
|
|
722
|
+
}
|
|
723
723
|
}
|
|
724
724
|
),
|
|
725
|
-
|
|
726
|
-
]
|
|
727
|
-
|
|
725
|
+
/* @__PURE__ */ r.jsx("div", { className: "right-icon", children: e.rightIcon ? e.rightIcon : /* @__PURE__ */ r.jsx(rn, {}) })
|
|
726
|
+
]
|
|
727
|
+
}
|
|
728
|
+
), De = (e) => {
|
|
729
|
+
const l = Ce(null);
|
|
730
|
+
return /* @__PURE__ */ r.jsxs(
|
|
731
|
+
"div",
|
|
732
|
+
{
|
|
733
|
+
className: "custom-input",
|
|
734
|
+
"data-type": e.type,
|
|
735
|
+
"data-error": e.errExists,
|
|
736
|
+
style: { ...e.style, ...e.sx },
|
|
737
|
+
children: [
|
|
738
|
+
e.leftIcon && /* @__PURE__ */ r.jsx("div", { className: "left-icon", children: e.leftIcon }),
|
|
739
|
+
/* @__PURE__ */ r.jsx(
|
|
740
|
+
"input",
|
|
741
|
+
{
|
|
742
|
+
type: "text",
|
|
743
|
+
placeholder: e.placeholder,
|
|
744
|
+
disabled: e.disabled,
|
|
745
|
+
ref: l,
|
|
746
|
+
...e.props
|
|
747
|
+
}
|
|
748
|
+
),
|
|
749
|
+
/* @__PURE__ */ r.jsxs("div", { className: "grey-box grey-right-box", children: [
|
|
750
|
+
/* @__PURE__ */ r.jsx(
|
|
751
|
+
B,
|
|
752
|
+
{
|
|
753
|
+
category: "text",
|
|
754
|
+
Size: "sm",
|
|
755
|
+
bold: "medium",
|
|
756
|
+
onClick: () => {
|
|
757
|
+
var g;
|
|
758
|
+
e.onAction && e.onAction((g = l.current) == null ? void 0 : g.value);
|
|
759
|
+
},
|
|
760
|
+
children: e.actionLabel
|
|
761
|
+
}
|
|
762
|
+
),
|
|
763
|
+
e.rightIcon && /* @__PURE__ */ r.jsx("div", { className: "right-icon", children: e.rightIcon })
|
|
764
|
+
] })
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
);
|
|
728
768
|
};
|
|
729
769
|
/*! countries-list v3.1.1 by Annexare | MIT */
|
|
730
770
|
var un = { AD: { name: "Andorra", native: "Andorra", phone: [376], continent: "EU", capital: "Andorra la Vella", currency: ["EUR"], languages: ["ca"] }, AE: { name: "United Arab Emirates", native: "دولة الإمارات العربية المتحدة", phone: [971], continent: "AS", capital: "Abu Dhabi", currency: ["AED"], languages: ["ar"] }, AF: { name: "Afghanistan", native: "افغانستان", phone: [93], continent: "AS", capital: "Kabul", currency: ["AFN"], languages: ["ps", "uz", "tk"] }, AG: { name: "Antigua and Barbuda", native: "Antigua and Barbuda", phone: [1268], continent: "NA", capital: "Saint John's", currency: ["XCD"], languages: ["en"] }, AI: { name: "Anguilla", native: "Anguilla", phone: [1264], continent: "NA", capital: "The Valley", currency: ["XCD"], languages: ["en"] }, AL: { name: "Albania", native: "Shqipëria", phone: [355], continent: "EU", capital: "Tirana", currency: ["ALL"], languages: ["sq"] }, AM: { name: "Armenia", native: "Հայաստան", phone: [374], continent: "AS", capital: "Yerevan", currency: ["AMD"], languages: ["hy", "ru"] }, AO: { name: "Angola", native: "Angola", phone: [244], continent: "AF", capital: "Luanda", currency: ["AOA"], languages: ["pt"] }, AQ: { name: "Antarctica", native: "Antarctica", phone: [672], continent: "AN", capital: "", currency: [], languages: [] }, AR: { name: "Argentina", native: "Argentina", phone: [54], continent: "SA", capital: "Buenos Aires", currency: ["ARS"], languages: ["es", "gn"] }, AS: { name: "American Samoa", native: "American Samoa", phone: [1684], continent: "OC", capital: "Pago Pago", currency: ["USD"], languages: ["en", "sm"] }, AT: { name: "Austria", native: "Österreich", phone: [43], continent: "EU", capital: "Vienna", currency: ["EUR"], languages: ["de"] }, AU: { name: "Australia", native: "Australia", phone: [61], continent: "OC", capital: "Canberra", currency: ["AUD"], languages: ["en"] }, AW: { name: "Aruba", native: "Aruba", phone: [297], continent: "NA", capital: "Oranjestad", currency: ["AWG"], languages: ["nl", "pa"] }, AX: { name: "Aland", native: "Åland", phone: [358], continent: "EU", capital: "Mariehamn", currency: ["EUR"], languages: ["sv"], partOf: "FI" }, AZ: { name: "Azerbaijan", native: "Azərbaycan", phone: [994], continent: "AS", continents: ["AS", "EU"], capital: "Baku", currency: ["AZN"], languages: ["az"] }, BA: { name: "Bosnia and Herzegovina", native: "Bosna i Hercegovina", phone: [387], continent: "EU", capital: "Sarajevo", currency: ["BAM"], languages: ["bs", "hr", "sr"] }, BB: { name: "Barbados", native: "Barbados", phone: [1246], continent: "NA", capital: "Bridgetown", currency: ["BBD"], languages: ["en"] }, BD: { name: "Bangladesh", native: "Bangladesh", phone: [880], continent: "AS", capital: "Dhaka", currency: ["BDT"], languages: ["bn"] }, BE: { name: "Belgium", native: "België", phone: [32], continent: "EU", capital: "Brussels", currency: ["EUR"], languages: ["nl", "fr", "de"] }, BF: { name: "Burkina Faso", native: "Burkina Faso", phone: [226], continent: "AF", capital: "Ouagadougou", currency: ["XOF"], languages: ["fr", "ff"] }, BG: { name: "Bulgaria", native: "България", phone: [359], continent: "EU", capital: "Sofia", currency: ["BGN"], languages: ["bg"] }, BH: { name: "Bahrain", native: "البحرين", phone: [973], continent: "AS", capital: "Manama", currency: ["BHD"], languages: ["ar"] }, BI: { name: "Burundi", native: "Burundi", phone: [257], continent: "AF", capital: "Bujumbura", currency: ["BIF"], languages: ["fr", "rn"] }, BJ: { name: "Benin", native: "Bénin", phone: [229], continent: "AF", capital: "Porto-Novo", currency: ["XOF"], languages: ["fr"] }, BL: { name: "Saint Barthelemy", native: "Saint-Barthélemy", phone: [590], continent: "NA", capital: "Gustavia", currency: ["EUR"], languages: ["fr"] }, BM: { name: "Bermuda", native: "Bermuda", phone: [1441], continent: "NA", capital: "Hamilton", currency: ["BMD"], languages: ["en"] }, BN: { name: "Brunei", native: "Negara Brunei Darussalam", phone: [673], continent: "AS", capital: "Bandar Seri Begawan", currency: ["BND"], languages: ["ms"] }, BO: { name: "Bolivia", native: "Bolivia", phone: [591], continent: "SA", capital: "Sucre", currency: ["BOB", "BOV"], languages: ["es", "ay", "qu"] }, BQ: { name: "Bonaire", native: "Bonaire", phone: [5997], continent: "NA", capital: "Kralendijk", currency: ["USD"], languages: ["nl"] }, BR: { name: "Brazil", native: "Brasil", phone: [55], continent: "SA", capital: "Brasília", currency: ["BRL"], languages: ["pt"] }, BS: { name: "Bahamas", native: "Bahamas", phone: [1242], continent: "NA", capital: "Nassau", currency: ["BSD"], languages: ["en"] }, BT: { name: "Bhutan", native: "ʼbrug-yul", phone: [975], continent: "AS", capital: "Thimphu", currency: ["BTN", "INR"], languages: ["dz"] }, BV: { name: "Bouvet Island", native: "Bouvetøya", phone: [47], continent: "AN", capital: "", currency: ["NOK"], languages: ["no", "nb", "nn"] }, BW: { name: "Botswana", native: "Botswana", phone: [267], continent: "AF", capital: "Gaborone", currency: ["BWP"], languages: ["en", "tn"] }, BY: { name: "Belarus", native: "Белару́сь", phone: [375], continent: "EU", capital: "Minsk", currency: ["BYN"], languages: ["be", "ru"] }, BZ: { name: "Belize", native: "Belize", phone: [501], continent: "NA", capital: "Belmopan", currency: ["BZD"], languages: ["en", "es"] }, CA: { name: "Canada", native: "Canada", phone: [1], continent: "NA", capital: "Ottawa", currency: ["CAD"], languages: ["en", "fr"] }, CC: { name: "Cocos (Keeling) Islands", native: "Cocos (Keeling) Islands", phone: [61], continent: "AS", capital: "West Island", currency: ["AUD"], languages: ["en"] }, CD: { name: "Democratic Republic of the Congo", native: "République démocratique du Congo", phone: [243], continent: "AF", capital: "Kinshasa", currency: ["CDF"], languages: ["fr", "ln", "kg", "sw", "lu"] }, CF: { name: "Central African Republic", native: "Ködörösêse tî Bêafrîka", phone: [236], continent: "AF", capital: "Bangui", currency: ["XAF"], languages: ["fr", "sg"] }, CG: { name: "Republic of the Congo", native: "République du Congo", phone: [242], continent: "AF", capital: "Brazzaville", currency: ["XAF"], languages: ["fr", "ln"] }, CH: { name: "Switzerland", native: "Schweiz", phone: [41], continent: "EU", capital: "Bern", currency: ["CHE", "CHF", "CHW"], languages: ["de", "fr", "it"] }, CI: { name: "Ivory Coast", native: "Côte d'Ivoire", phone: [225], continent: "AF", capital: "Yamoussoukro", currency: ["XOF"], languages: ["fr"] }, CK: { name: "Cook Islands", native: "Cook Islands", phone: [682], continent: "OC", capital: "Avarua", currency: ["NZD"], languages: ["en"] }, CL: { name: "Chile", native: "Chile", phone: [56], continent: "SA", capital: "Santiago", currency: ["CLF", "CLP"], languages: ["es"] }, CM: { name: "Cameroon", native: "Cameroon", phone: [237], continent: "AF", capital: "Yaoundé", currency: ["XAF"], languages: ["en", "fr"] }, CN: { name: "China", native: "中国", phone: [86], continent: "AS", capital: "Beijing", currency: ["CNY"], languages: ["zh"] }, CO: { name: "Colombia", native: "Colombia", phone: [57], continent: "SA", capital: "Bogotá", currency: ["COP"], languages: ["es"] }, CR: { name: "Costa Rica", native: "Costa Rica", phone: [506], continent: "NA", capital: "San José", currency: ["CRC"], languages: ["es"] }, CU: { name: "Cuba", native: "Cuba", phone: [53], continent: "NA", capital: "Havana", currency: ["CUC", "CUP"], languages: ["es"] }, CV: { name: "Cape Verde", native: "Cabo Verde", phone: [238], continent: "AF", capital: "Praia", currency: ["CVE"], languages: ["pt"] }, CW: { name: "Curacao", native: "Curaçao", phone: [5999], continent: "NA", capital: "Willemstad", currency: ["ANG"], languages: ["nl", "pa", "en"] }, CX: { name: "Christmas Island", native: "Christmas Island", phone: [61], continent: "AS", capital: "Flying Fish Cove", currency: ["AUD"], languages: ["en"] }, CY: { name: "Cyprus", native: "Κύπρος", phone: [357], continent: "EU", capital: "Nicosia", currency: ["EUR"], languages: ["el", "tr", "hy"] }, CZ: { name: "Czech Republic", native: "Česká republika", phone: [420], continent: "EU", capital: "Prague", currency: ["CZK"], languages: ["cs"] }, DE: { name: "Germany", native: "Deutschland", phone: [49], continent: "EU", capital: "Berlin", currency: ["EUR"], languages: ["de"] }, DJ: { name: "Djibouti", native: "Djibouti", phone: [253], continent: "AF", capital: "Djibouti", currency: ["DJF"], languages: ["fr", "ar"] }, DK: { name: "Denmark", native: "Danmark", phone: [45], continent: "EU", continents: ["EU", "NA"], capital: "Copenhagen", currency: ["DKK"], languages: ["da"] }, DM: { name: "Dominica", native: "Dominica", phone: [1767], continent: "NA", capital: "Roseau", currency: ["XCD"], languages: ["en"] }, DO: { name: "Dominican Republic", native: "República Dominicana", phone: [1809, 1829, 1849], continent: "NA", capital: "Santo Domingo", currency: ["DOP"], languages: ["es"] }, DZ: { name: "Algeria", native: "الجزائر", phone: [213], continent: "AF", capital: "Algiers", currency: ["DZD"], languages: ["ar"] }, EC: { name: "Ecuador", native: "Ecuador", phone: [593], continent: "SA", capital: "Quito", currency: ["USD"], languages: ["es"] }, EE: { name: "Estonia", native: "Eesti", phone: [372], continent: "EU", capital: "Tallinn", currency: ["EUR"], languages: ["et"] }, EG: { name: "Egypt", native: "مصر", phone: [20], continent: "AF", continents: ["AF", "AS"], capital: "Cairo", currency: ["EGP"], languages: ["ar"] }, EH: { name: "Western Sahara", native: "الصحراء الغربية", phone: [212], continent: "AF", capital: "El Aaiún", currency: ["MAD", "DZD", "MRU"], languages: ["es"] }, ER: { name: "Eritrea", native: "ኤርትራ", phone: [291], continent: "AF", capital: "Asmara", currency: ["ERN"], languages: ["ti", "ar", "en"] }, ES: { name: "Spain", native: "España", phone: [34], continent: "EU", capital: "Madrid", currency: ["EUR"], languages: ["es", "eu", "ca", "gl", "oc"] }, ET: { name: "Ethiopia", native: "ኢትዮጵያ", phone: [251], continent: "AF", capital: "Addis Ababa", currency: ["ETB"], languages: ["am"] }, FI: { name: "Finland", native: "Suomi", phone: [358], continent: "EU", capital: "Helsinki", currency: ["EUR"], languages: ["fi", "sv"] }, FJ: { name: "Fiji", native: "Fiji", phone: [679], continent: "OC", capital: "Suva", currency: ["FJD"], languages: ["en", "fj", "hi", "ur"] }, FK: { name: "Falkland Islands", native: "Falkland Islands", phone: [500], continent: "SA", capital: "Stanley", currency: ["FKP"], languages: ["en"] }, FM: { name: "Micronesia", native: "Micronesia", phone: [691], continent: "OC", capital: "Palikir", currency: ["USD"], languages: ["en"] }, FO: { name: "Faroe Islands", native: "Føroyar", phone: [298], continent: "EU", capital: "Tórshavn", currency: ["DKK"], languages: ["fo"] }, FR: { name: "France", native: "France", phone: [33], continent: "EU", capital: "Paris", currency: ["EUR"], languages: ["fr"] }, GA: { name: "Gabon", native: "Gabon", phone: [241], continent: "AF", capital: "Libreville", currency: ["XAF"], languages: ["fr"] }, GB: { name: "United Kingdom", native: "United Kingdom", phone: [44], continent: "EU", capital: "London", currency: ["GBP"], languages: ["en"] }, GD: { name: "Grenada", native: "Grenada", phone: [1473], continent: "NA", capital: "St. George's", currency: ["XCD"], languages: ["en"] }, GE: { name: "Georgia", native: "საქართველო", phone: [995], continent: "AS", continents: ["AS", "EU"], capital: "Tbilisi", currency: ["GEL"], languages: ["ka"] }, GF: { name: "French Guiana", native: "Guyane française", phone: [594], continent: "SA", capital: "Cayenne", currency: ["EUR"], languages: ["fr"] }, GG: { name: "Guernsey", native: "Guernsey", phone: [44], continent: "EU", capital: "St. Peter Port", currency: ["GBP"], languages: ["en", "fr"] }, GH: { name: "Ghana", native: "Ghana", phone: [233], continent: "AF", capital: "Accra", currency: ["GHS"], languages: ["en"] }, GI: { name: "Gibraltar", native: "Gibraltar", phone: [350], continent: "EU", capital: "Gibraltar", currency: ["GIP"], languages: ["en"] }, GL: { name: "Greenland", native: "Kalaallit Nunaat", phone: [299], continent: "NA", capital: "Nuuk", currency: ["DKK"], languages: ["kl"] }, GM: { name: "Gambia", native: "Gambia", phone: [220], continent: "AF", capital: "Banjul", currency: ["GMD"], languages: ["en"] }, GN: { name: "Guinea", native: "Guinée", phone: [224], continent: "AF", capital: "Conakry", currency: ["GNF"], languages: ["fr", "ff"] }, GP: { name: "Guadeloupe", native: "Guadeloupe", phone: [590], continent: "NA", capital: "Basse-Terre", currency: ["EUR"], languages: ["fr"] }, GQ: { name: "Equatorial Guinea", native: "Guinea Ecuatorial", phone: [240], continent: "AF", capital: "Malabo", currency: ["XAF"], languages: ["es", "fr"] }, GR: { name: "Greece", native: "Ελλάδα", phone: [30], continent: "EU", capital: "Athens", currency: ["EUR"], languages: ["el"] }, GS: { name: "South Georgia and the South Sandwich Islands", native: "South Georgia", phone: [500], continent: "AN", capital: "King Edward Point", currency: ["GBP"], languages: ["en"] }, GT: { name: "Guatemala", native: "Guatemala", phone: [502], continent: "NA", capital: "Guatemala City", currency: ["GTQ"], languages: ["es"] }, GU: { name: "Guam", native: "Guam", phone: [1671], continent: "OC", capital: "Hagåtña", currency: ["USD"], languages: ["en", "ch", "es"] }, GW: { name: "Guinea-Bissau", native: "Guiné-Bissau", phone: [245], continent: "AF", capital: "Bissau", currency: ["XOF"], languages: ["pt"] }, GY: { name: "Guyana", native: "Guyana", phone: [592], continent: "SA", capital: "Georgetown", currency: ["GYD"], languages: ["en"] }, HK: { name: "Hong Kong", native: "香港", phone: [852], continent: "AS", capital: "City of Victoria", currency: ["HKD"], languages: ["zh", "en"] }, HM: { name: "Heard Island and McDonald Islands", native: "Heard Island and McDonald Islands", phone: [61], continent: "AN", capital: "", currency: ["AUD"], languages: ["en"] }, HN: { name: "Honduras", native: "Honduras", phone: [504], continent: "NA", capital: "Tegucigalpa", currency: ["HNL"], languages: ["es"] }, HR: { name: "Croatia", native: "Hrvatska", phone: [385], continent: "EU", capital: "Zagreb", currency: ["EUR"], languages: ["hr"] }, HT: { name: "Haiti", native: "Haïti", phone: [509], continent: "NA", capital: "Port-au-Prince", currency: ["HTG", "USD"], languages: ["fr", "ht"] }, HU: { name: "Hungary", native: "Magyarország", phone: [36], continent: "EU", capital: "Budapest", currency: ["HUF"], languages: ["hu"] }, ID: { name: "Indonesia", native: "Indonesia", phone: [62], continent: "AS", capital: "Jakarta", currency: ["IDR"], languages: ["id"] }, IE: { name: "Ireland", native: "Éire", phone: [353], continent: "EU", capital: "Dublin", currency: ["EUR"], languages: ["ga", "en"] }, IL: { name: "Israel", native: "יִשְׂרָאֵל", phone: [972], continent: "AS", capital: "Jerusalem", currency: ["ILS"], languages: ["he", "ar"] }, IM: { name: "Isle of Man", native: "Isle of Man", phone: [44], continent: "EU", capital: "Douglas", currency: ["GBP"], languages: ["en", "gv"] }, IN: { name: "India", native: "भारत", phone: [91], continent: "AS", capital: "New Delhi", currency: ["INR"], languages: ["hi", "en"] }, IO: { name: "British Indian Ocean Territory", native: "British Indian Ocean Territory", phone: [246], continent: "AS", capital: "Diego Garcia", currency: ["USD"], languages: ["en"] }, IQ: { name: "Iraq", native: "العراق", phone: [964], continent: "AS", capital: "Baghdad", currency: ["IQD"], languages: ["ar", "ku"] }, IR: { name: "Iran", native: "ایران", phone: [98], continent: "AS", capital: "Tehran", currency: ["IRR"], languages: ["fa"] }, IS: { name: "Iceland", native: "Ísland", phone: [354], continent: "EU", capital: "Reykjavik", currency: ["ISK"], languages: ["is"] }, IT: { name: "Italy", native: "Italia", phone: [39], continent: "EU", capital: "Rome", currency: ["EUR"], languages: ["it"] }, JE: { name: "Jersey", native: "Jersey", phone: [44], continent: "EU", capital: "Saint Helier", currency: ["GBP"], languages: ["en", "fr"] }, JM: { name: "Jamaica", native: "Jamaica", phone: [1876], continent: "NA", capital: "Kingston", currency: ["JMD"], languages: ["en"] }, JO: { name: "Jordan", native: "الأردن", phone: [962], continent: "AS", capital: "Amman", currency: ["JOD"], languages: ["ar"] }, JP: { name: "Japan", native: "日本", phone: [81], continent: "AS", capital: "Tokyo", currency: ["JPY"], languages: ["ja"] }, KE: { name: "Kenya", native: "Kenya", phone: [254], continent: "AF", capital: "Nairobi", currency: ["KES"], languages: ["en", "sw"] }, KG: { name: "Kyrgyzstan", native: "Кыргызстан", phone: [996], continent: "AS", capital: "Bishkek", currency: ["KGS"], languages: ["ky", "ru"] }, KH: { name: "Cambodia", native: "Kâmpŭchéa", phone: [855], continent: "AS", capital: "Phnom Penh", currency: ["KHR"], languages: ["km"] }, KI: { name: "Kiribati", native: "Kiribati", phone: [686], continent: "OC", capital: "South Tarawa", currency: ["AUD"], languages: ["en"] }, KM: { name: "Comoros", native: "Komori", phone: [269], continent: "AF", capital: "Moroni", currency: ["KMF"], languages: ["ar", "fr"] }, KN: { name: "Saint Kitts and Nevis", native: "Saint Kitts and Nevis", phone: [1869], continent: "NA", capital: "Basseterre", currency: ["XCD"], languages: ["en"] }, KP: { name: "North Korea", native: "북한", phone: [850], continent: "AS", capital: "Pyongyang", currency: ["KPW"], languages: ["ko"] }, KR: { name: "South Korea", native: "대한민국", phone: [82], continent: "AS", capital: "Seoul", currency: ["KRW"], languages: ["ko"] }, KW: { name: "Kuwait", native: "الكويت", phone: [965], continent: "AS", capital: "Kuwait City", currency: ["KWD"], languages: ["ar"] }, KY: { name: "Cayman Islands", native: "Cayman Islands", phone: [1345], continent: "NA", capital: "George Town", currency: ["KYD"], languages: ["en"] }, KZ: { name: "Kazakhstan", native: "Қазақстан", phone: [7], continent: "AS", continents: ["AS", "EU"], capital: "Astana", currency: ["KZT"], languages: ["kk", "ru"] }, LA: { name: "Laos", native: "ສປປລາວ", phone: [856], continent: "AS", capital: "Vientiane", currency: ["LAK"], languages: ["lo"] }, LB: { name: "Lebanon", native: "لبنان", phone: [961], continent: "AS", capital: "Beirut", currency: ["LBP"], languages: ["ar", "fr"] }, LC: { name: "Saint Lucia", native: "Saint Lucia", phone: [1758], continent: "NA", capital: "Castries", currency: ["XCD"], languages: ["en"] }, LI: { name: "Liechtenstein", native: "Liechtenstein", phone: [423], continent: "EU", capital: "Vaduz", currency: ["CHF"], languages: ["de"] }, LK: { name: "Sri Lanka", native: "śrī laṃkāva", phone: [94], continent: "AS", capital: "Colombo", currency: ["LKR"], languages: ["si", "ta"] }, LR: { name: "Liberia", native: "Liberia", phone: [231], continent: "AF", capital: "Monrovia", currency: ["LRD"], languages: ["en"] }, LS: { name: "Lesotho", native: "Lesotho", phone: [266], continent: "AF", capital: "Maseru", currency: ["LSL", "ZAR"], languages: ["en", "st"] }, LT: { name: "Lithuania", native: "Lietuva", phone: [370], continent: "EU", capital: "Vilnius", currency: ["EUR"], languages: ["lt"] }, LU: { name: "Luxembourg", native: "Luxembourg", phone: [352], continent: "EU", capital: "Luxembourg", currency: ["EUR"], languages: ["fr", "de", "lb"] }, LV: { name: "Latvia", native: "Latvija", phone: [371], continent: "EU", capital: "Riga", currency: ["EUR"], languages: ["lv"] }, LY: { name: "Libya", native: "ليبيا", phone: [218], continent: "AF", capital: "Tripoli", currency: ["LYD"], languages: ["ar"] }, MA: { name: "Morocco", native: "المغرب", phone: [212], continent: "AF", capital: "Rabat", currency: ["MAD"], languages: ["ar"] }, MC: { name: "Monaco", native: "Monaco", phone: [377], continent: "EU", capital: "Monaco", currency: ["EUR"], languages: ["fr"] }, MD: { name: "Moldova", native: "Moldova", phone: [373], continent: "EU", capital: "Chișinău", currency: ["MDL"], languages: ["ro"] }, ME: { name: "Montenegro", native: "Црна Гора", phone: [382], continent: "EU", capital: "Podgorica", currency: ["EUR"], languages: ["sr", "bs", "sq", "hr"] }, MF: { name: "Saint Martin", native: "Saint-Martin", phone: [590], continent: "NA", capital: "Marigot", currency: ["EUR"], languages: ["en", "fr", "nl"] }, MG: { name: "Madagascar", native: "Madagasikara", phone: [261], continent: "AF", capital: "Antananarivo", currency: ["MGA"], languages: ["fr", "mg"] }, MH: { name: "Marshall Islands", native: "M̧ajeļ", phone: [692], continent: "OC", capital: "Majuro", currency: ["USD"], languages: ["en", "mh"] }, MK: { name: "North Macedonia", native: "Северна Македонија", phone: [389], continent: "EU", capital: "Skopje", currency: ["MKD"], languages: ["mk"] }, ML: { name: "Mali", native: "Mali", phone: [223], continent: "AF", capital: "Bamako", currency: ["XOF"], languages: ["fr"] }, MM: { name: "Myanmar (Burma)", native: "မြန်မာ", phone: [95], continent: "AS", capital: "Naypyidaw", currency: ["MMK"], languages: ["my"] }, MN: { name: "Mongolia", native: "Монгол улс", phone: [976], continent: "AS", capital: "Ulan Bator", currency: ["MNT"], languages: ["mn"] }, MO: { name: "Macao", native: "澳門", phone: [853], continent: "AS", capital: "", currency: ["MOP"], languages: ["zh", "pt"] }, MP: { name: "Northern Mariana Islands", native: "Northern Mariana Islands", phone: [1670], continent: "OC", capital: "Saipan", currency: ["USD"], languages: ["en", "ch"] }, MQ: { name: "Martinique", native: "Martinique", phone: [596], continent: "NA", capital: "Fort-de-France", currency: ["EUR"], languages: ["fr"] }, MR: { name: "Mauritania", native: "موريتانيا", phone: [222], continent: "AF", capital: "Nouakchott", currency: ["MRU"], languages: ["ar"] }, MS: { name: "Montserrat", native: "Montserrat", phone: [1664], continent: "NA", capital: "Plymouth", currency: ["XCD"], languages: ["en"] }, MT: { name: "Malta", native: "Malta", phone: [356], continent: "EU", capital: "Valletta", currency: ["EUR"], languages: ["mt", "en"] }, MU: { name: "Mauritius", native: "Maurice", phone: [230], continent: "AF", capital: "Port Louis", currency: ["MUR"], languages: ["en"] }, MV: { name: "Maldives", native: "Maldives", phone: [960], continent: "AS", capital: "Malé", currency: ["MVR"], languages: ["dv"] }, MW: { name: "Malawi", native: "Malawi", phone: [265], continent: "AF", capital: "Lilongwe", currency: ["MWK"], languages: ["en", "ny"] }, MX: { name: "Mexico", native: "México", phone: [52], continent: "NA", capital: "Mexico City", currency: ["MXN"], languages: ["es"] }, MY: { name: "Malaysia", native: "Malaysia", phone: [60], continent: "AS", capital: "Kuala Lumpur", currency: ["MYR"], languages: ["ms"] }, MZ: { name: "Mozambique", native: "Moçambique", phone: [258], continent: "AF", capital: "Maputo", currency: ["MZN"], languages: ["pt"] }, NA: { name: "Namibia", native: "Namibia", phone: [264], continent: "AF", capital: "Windhoek", currency: ["NAD", "ZAR"], languages: ["en", "af"] }, NC: { name: "New Caledonia", native: "Nouvelle-Calédonie", phone: [687], continent: "OC", capital: "Nouméa", currency: ["XPF"], languages: ["fr"] }, NE: { name: "Niger", native: "Niger", phone: [227], continent: "AF", capital: "Niamey", currency: ["XOF"], languages: ["fr"] }, NF: { name: "Norfolk Island", native: "Norfolk Island", phone: [672], continent: "OC", capital: "Kingston", currency: ["AUD"], languages: ["en"] }, NG: { name: "Nigeria", native: "Nigeria", phone: [234], continent: "AF", capital: "Abuja", currency: ["NGN"], languages: ["en"] }, NI: { name: "Nicaragua", native: "Nicaragua", phone: [505], continent: "NA", capital: "Managua", currency: ["NIO"], languages: ["es"] }, NL: { name: "Netherlands", native: "Nederland", phone: [31], continent: "EU", capital: "Amsterdam", currency: ["EUR"], languages: ["nl"] }, NO: { name: "Norway", native: "Norge", phone: [47], continent: "EU", capital: "Oslo", currency: ["NOK"], languages: ["no", "nb", "nn"] }, NP: { name: "Nepal", native: "नेपाल", phone: [977], continent: "AS", capital: "Kathmandu", currency: ["NPR"], languages: ["ne"] }, NR: { name: "Nauru", native: "Nauru", phone: [674], continent: "OC", capital: "Yaren", currency: ["AUD"], languages: ["en", "na"] }, NU: { name: "Niue", native: "Niuē", phone: [683], continent: "OC", capital: "Alofi", currency: ["NZD"], languages: ["en"] }, NZ: { name: "New Zealand", native: "New Zealand", phone: [64], continent: "OC", capital: "Wellington", currency: ["NZD"], languages: ["en", "mi"] }, OM: { name: "Oman", native: "عمان", phone: [968], continent: "AS", capital: "Muscat", currency: ["OMR"], languages: ["ar"] }, PA: { name: "Panama", native: "Panamá", phone: [507], continent: "NA", capital: "Panama City", currency: ["PAB", "USD"], languages: ["es"] }, PE: { name: "Peru", native: "Perú", phone: [51], continent: "SA", capital: "Lima", currency: ["PEN"], languages: ["es"] }, PF: { name: "French Polynesia", native: "Polynésie française", phone: [689], continent: "OC", capital: "Papeetē", currency: ["XPF"], languages: ["fr"] }, PG: { name: "Papua New Guinea", native: "Papua Niugini", phone: [675], continent: "OC", capital: "Port Moresby", currency: ["PGK"], languages: ["en"] }, PH: { name: "Philippines", native: "Pilipinas", phone: [63], continent: "AS", capital: "Manila", currency: ["PHP"], languages: ["en"] }, PK: { name: "Pakistan", native: "Pakistan", phone: [92], continent: "AS", capital: "Islamabad", currency: ["PKR"], languages: ["en", "ur"] }, PL: { name: "Poland", native: "Polska", phone: [48], continent: "EU", capital: "Warsaw", currency: ["PLN"], languages: ["pl"] }, PM: { name: "Saint Pierre and Miquelon", native: "Saint-Pierre-et-Miquelon", phone: [508], continent: "NA", capital: "Saint-Pierre", currency: ["EUR"], languages: ["fr"] }, PN: { name: "Pitcairn Islands", native: "Pitcairn Islands", phone: [64], continent: "OC", capital: "Adamstown", currency: ["NZD"], languages: ["en"] }, PR: { name: "Puerto Rico", native: "Puerto Rico", phone: [1787, 1939], continent: "NA", capital: "San Juan", currency: ["USD"], languages: ["es", "en"] }, PS: { name: "Palestine", native: "فلسطين", phone: [970], continent: "AS", capital: "Ramallah", currency: ["ILS"], languages: ["ar"] }, PT: { name: "Portugal", native: "Portugal", phone: [351], continent: "EU", capital: "Lisbon", currency: ["EUR"], languages: ["pt"] }, PW: { name: "Palau", native: "Palau", phone: [680], continent: "OC", capital: "Ngerulmud", currency: ["USD"], languages: ["en"] }, PY: { name: "Paraguay", native: "Paraguay", phone: [595], continent: "SA", capital: "Asunción", currency: ["PYG"], languages: ["es", "gn"] }, QA: { name: "Qatar", native: "قطر", phone: [974], continent: "AS", capital: "Doha", currency: ["QAR"], languages: ["ar"] }, RE: { name: "Reunion", native: "La Réunion", phone: [262], continent: "AF", capital: "Saint-Denis", currency: ["EUR"], languages: ["fr"] }, RO: { name: "Romania", native: "România", phone: [40], continent: "EU", capital: "Bucharest", currency: ["RON"], languages: ["ro"] }, RS: { name: "Serbia", native: "Србија", phone: [381], continent: "EU", capital: "Belgrade", currency: ["RSD"], languages: ["sr"] }, RU: { name: "Russia", native: "Россия", phone: [7], continent: "AS", continents: ["AS", "EU"], capital: "Moscow", currency: ["RUB"], languages: ["ru"] }, RW: { name: "Rwanda", native: "Rwanda", phone: [250], continent: "AF", capital: "Kigali", currency: ["RWF"], languages: ["rw", "en", "fr"] }, SA: { name: "Saudi Arabia", native: "العربية السعودية", phone: [966], continent: "AS", capital: "Riyadh", currency: ["SAR"], languages: ["ar"] }, SB: { name: "Solomon Islands", native: "Solomon Islands", phone: [677], continent: "OC", capital: "Honiara", currency: ["SBD"], languages: ["en"] }, SC: { name: "Seychelles", native: "Seychelles", phone: [248], continent: "AF", capital: "Victoria", currency: ["SCR"], languages: ["fr", "en"] }, SD: { name: "Sudan", native: "السودان", phone: [249], continent: "AF", capital: "Khartoum", currency: ["SDG"], languages: ["ar", "en"] }, SE: { name: "Sweden", native: "Sverige", phone: [46], continent: "EU", capital: "Stockholm", currency: ["SEK"], languages: ["sv"] }, SG: { name: "Singapore", native: "Singapore", phone: [65], continent: "AS", capital: "Singapore", currency: ["SGD"], languages: ["en", "ms", "ta", "zh"] }, SH: { name: "Saint Helena", native: "Saint Helena", phone: [290], continent: "AF", capital: "Jamestown", currency: ["SHP"], languages: ["en"] }, SI: { name: "Slovenia", native: "Slovenija", phone: [386], continent: "EU", capital: "Ljubljana", currency: ["EUR"], languages: ["sl"] }, SJ: { name: "Svalbard and Jan Mayen", native: "Svalbard og Jan Mayen", phone: [4779], continent: "EU", capital: "Longyearbyen", currency: ["NOK"], languages: ["no"] }, SK: { name: "Slovakia", native: "Slovensko", phone: [421], continent: "EU", capital: "Bratislava", currency: ["EUR"], languages: ["sk"] }, SL: { name: "Sierra Leone", native: "Sierra Leone", phone: [232], continent: "AF", capital: "Freetown", currency: ["SLL"], languages: ["en"] }, SM: { name: "San Marino", native: "San Marino", phone: [378], continent: "EU", capital: "City of San Marino", currency: ["EUR"], languages: ["it"] }, SN: { name: "Senegal", native: "Sénégal", phone: [221], continent: "AF", capital: "Dakar", currency: ["XOF"], languages: ["fr"] }, SO: { name: "Somalia", native: "Soomaaliya", phone: [252], continent: "AF", capital: "Mogadishu", currency: ["SOS"], languages: ["so", "ar"] }, SR: { name: "Suriname", native: "Suriname", phone: [597], continent: "SA", capital: "Paramaribo", currency: ["SRD"], languages: ["nl"] }, SS: { name: "South Sudan", native: "South Sudan", phone: [211], continent: "AF", capital: "Juba", currency: ["SSP"], languages: ["en"] }, ST: { name: "Sao Tome and Principe", native: "São Tomé e Príncipe", phone: [239], continent: "AF", capital: "São Tomé", currency: ["STN"], languages: ["pt"] }, SV: { name: "El Salvador", native: "El Salvador", phone: [503], continent: "NA", capital: "San Salvador", currency: ["SVC", "USD"], languages: ["es"] }, SX: { name: "Sint Maarten", native: "Sint Maarten", phone: [1721], continent: "NA", capital: "Philipsburg", currency: ["ANG"], languages: ["nl", "en"] }, SY: { name: "Syria", native: "سوريا", phone: [963], continent: "AS", capital: "Damascus", currency: ["SYP"], languages: ["ar"] }, SZ: { name: "Eswatini", native: "Eswatini", phone: [268], continent: "AF", capital: "Lobamba", currency: ["SZL"], languages: ["en", "ss"] }, TC: { name: "Turks and Caicos Islands", native: "Turks and Caicos Islands", phone: [1649], continent: "NA", capital: "Cockburn Town", currency: ["USD"], languages: ["en"] }, TD: { name: "Chad", native: "Tchad", phone: [235], continent: "AF", capital: "N'Djamena", currency: ["XAF"], languages: ["fr", "ar"] }, TF: { name: "French Southern Territories", native: "Territoire des Terres australes et antarctiques fr", phone: [262], continent: "AN", capital: "Port-aux-Français", currency: ["EUR"], languages: ["fr"] }, TG: { name: "Togo", native: "Togo", phone: [228], continent: "AF", capital: "Lomé", currency: ["XOF"], languages: ["fr"] }, TH: { name: "Thailand", native: "ประเทศไทย", phone: [66], continent: "AS", capital: "Bangkok", currency: ["THB"], languages: ["th"] }, TJ: { name: "Tajikistan", native: "Тоҷикистон", phone: [992], continent: "AS", capital: "Dushanbe", currency: ["TJS"], languages: ["tg", "ru"] }, TK: { name: "Tokelau", native: "Tokelau", phone: [690], continent: "OC", capital: "Fakaofo", currency: ["NZD"], languages: ["en"] }, TL: { name: "East Timor", native: "Timor-Leste", phone: [670], continent: "OC", capital: "Dili", currency: ["USD"], languages: ["pt"] }, TM: { name: "Turkmenistan", native: "Türkmenistan", phone: [993], continent: "AS", capital: "Ashgabat", currency: ["TMT"], languages: ["tk", "ru"] }, TN: { name: "Tunisia", native: "تونس", phone: [216], continent: "AF", capital: "Tunis", currency: ["TND"], languages: ["ar"] }, TO: { name: "Tonga", native: "Tonga", phone: [676], continent: "OC", capital: "Nuku'alofa", currency: ["TOP"], languages: ["en", "to"] }, TR: { name: "Turkey", native: "Türkiye", phone: [90], continent: "AS", continents: ["AS", "EU"], capital: "Ankara", currency: ["TRY"], languages: ["tr"] }, TT: { name: "Trinidad and Tobago", native: "Trinidad and Tobago", phone: [1868], continent: "NA", capital: "Port of Spain", currency: ["TTD"], languages: ["en"] }, TV: { name: "Tuvalu", native: "Tuvalu", phone: [688], continent: "OC", capital: "Funafuti", currency: ["AUD"], languages: ["en"] }, TW: { name: "Taiwan", native: "臺灣", phone: [886], continent: "AS", capital: "Taipei", currency: ["TWD"], languages: ["zh"] }, TZ: { name: "Tanzania", native: "Tanzania", phone: [255], continent: "AF", capital: "Dodoma", currency: ["TZS"], languages: ["sw", "en"] }, UA: { name: "Ukraine", native: "Україна", phone: [380], continent: "EU", capital: "Kyiv", currency: ["UAH"], languages: ["uk"] }, UG: { name: "Uganda", native: "Uganda", phone: [256], continent: "AF", capital: "Kampala", currency: ["UGX"], languages: ["en", "sw"] }, UM: { name: "U.S. Minor Outlying Islands", native: "United States Minor Outlying Islands", phone: [1], continent: "OC", capital: "", currency: ["USD"], languages: ["en"] }, US: { name: "United States", native: "United States", phone: [1], continent: "NA", capital: "Washington D.C.", currency: ["USD", "USN", "USS"], languages: ["en"] }, UY: { name: "Uruguay", native: "Uruguay", phone: [598], continent: "SA", capital: "Montevideo", currency: ["UYI", "UYU"], languages: ["es"] }, UZ: { name: "Uzbekistan", native: "O'zbekiston", phone: [998], continent: "AS", capital: "Tashkent", currency: ["UZS"], languages: ["uz", "ru"] }, VA: { name: "Vatican City", native: "Vaticano", phone: [379], continent: "EU", capital: "Vatican City", currency: ["EUR"], languages: ["it", "la"] }, VC: { name: "Saint Vincent and the Grenadines", native: "Saint Vincent and the Grenadines", phone: [1784], continent: "NA", capital: "Kingstown", currency: ["XCD"], languages: ["en"] }, VE: { name: "Venezuela", native: "Venezuela", phone: [58], continent: "SA", capital: "Caracas", currency: ["VES"], languages: ["es"] }, VG: { name: "British Virgin Islands", native: "British Virgin Islands", phone: [1284], continent: "NA", capital: "Road Town", currency: ["USD"], languages: ["en"] }, VI: { name: "U.S. Virgin Islands", native: "United States Virgin Islands", phone: [1340], continent: "NA", capital: "Charlotte Amalie", currency: ["USD"], languages: ["en"] }, VN: { name: "Vietnam", native: "Việt Nam", phone: [84], continent: "AS", capital: "Hanoi", currency: ["VND"], languages: ["vi"] }, VU: { name: "Vanuatu", native: "Vanuatu", phone: [678], continent: "OC", capital: "Port Vila", currency: ["VUV"], languages: ["bi", "en", "fr"] }, WF: { name: "Wallis and Futuna", native: "Wallis et Futuna", phone: [681], continent: "OC", capital: "Mata-Utu", currency: ["XPF"], languages: ["fr"] }, WS: { name: "Samoa", native: "Samoa", phone: [685], continent: "OC", capital: "Apia", currency: ["WST"], languages: ["sm", "en"] }, XK: { name: "Kosovo", native: "Republika e Kosovës", phone: [377, 381, 383, 386], continent: "EU", capital: "Pristina", currency: ["EUR"], languages: ["sq", "sr"], userAssigned: !0 }, YE: { name: "Yemen", native: "اليَمَن", phone: [967], continent: "AS", capital: "Sana'a", currency: ["YER"], languages: ["ar"] }, YT: { name: "Mayotte", native: "Mayotte", phone: [262], continent: "AF", capital: "Mamoudzou", currency: ["EUR"], languages: ["fr"] }, ZA: { name: "South Africa", native: "South Africa", phone: [27], continent: "AF", capital: "Pretoria", currency: ["ZAR"], languages: ["af", "en", "nr", "st", "ss", "tn", "ts", "ve", "xh", "zu"] }, ZM: { name: "Zambia", native: "Zambia", phone: [260], continent: "AF", capital: "Lusaka", currency: ["ZMW"], languages: ["en"] }, ZW: { name: "Zimbabwe", native: "Zimbabwe", phone: [263], continent: "AF", capital: "Harare", currency: ["USD", "ZAR", "BWP", "GBP", "AUD", "CNY", "INR", "JPY"], languages: ["en", "sn", "nd"] } }, Te = { AD: "AND", AE: "ARE", AF: "AFG", AG: "ATG", AI: "AIA", AL: "ALB", AM: "ARM", AO: "AGO", AQ: "ATA", AR: "ARG", AS: "ASM", AT: "AUT", AU: "AUS", AW: "ABW", AX: "ALA", AZ: "AZE", BA: "BIH", BB: "BRB", BD: "BGD", BE: "BEL", BF: "BFA", BG: "BGR", BH: "BHR", BI: "BDI", BJ: "BEN", BL: "BLM", BM: "BMU", BN: "BRN", BO: "BOL", BQ: "BES", BR: "BRA", BS: "BHS", BT: "BTN", BV: "BVT", BW: "BWA", BY: "BLR", BZ: "BLZ", CA: "CAN", CC: "CCK", CD: "COD", CF: "CAF", CG: "COG", CH: "CHE", CI: "CIV", CK: "COK", CL: "CHL", CM: "CMR", CN: "CHN", CO: "COL", CR: "CRI", CU: "CUB", CV: "CPV", CW: "CUW", CX: "CXR", CY: "CYP", CZ: "CZE", DE: "DEU", DJ: "DJI", DK: "DNK", DM: "DMA", DO: "DOM", DZ: "DZA", EC: "ECU", EE: "EST", EG: "EGY", EH: "ESH", ER: "ERI", ES: "ESP", ET: "ETH", FI: "FIN", FJ: "FJI", FK: "FLK", FM: "FSM", FO: "FRO", FR: "FRA", GA: "GAB", GB: "GBR", GD: "GRD", GE: "GEO", GF: "GUF", GG: "GGY", GH: "GHA", GI: "GIB", GL: "GRL", GM: "GMB", GN: "GIN", GP: "GLP", GQ: "GNQ", GR: "GRC", GS: "SGS", GT: "GTM", GU: "GUM", GW: "GNB", GY: "GUY", HK: "HKG", HM: "HMD", HN: "HND", HR: "HRV", HT: "HTI", HU: "HUN", ID: "IDN", IE: "IRL", IL: "ISR", IM: "IMN", IN: "IND", IO: "IOT", IQ: "IRQ", IR: "IRN", IS: "ISL", IT: "ITA", JE: "JEY", JM: "JAM", JO: "JOR", JP: "JPN", KE: "KEN", KG: "KGZ", KH: "KHM", KI: "KIR", KM: "COM", KN: "KNA", KP: "PRK", KR: "KOR", KW: "KWT", KY: "CYM", KZ: "KAZ", LA: "LAO", LB: "LBN", LC: "LCA", LI: "LIE", LK: "LKA", LR: "LBR", LS: "LSO", LT: "LTU", LU: "LUX", LV: "LVA", LY: "LBY", MA: "MAR", MC: "MCO", MD: "MDA", ME: "MNE", MF: "MAF", MG: "MDG", MH: "MHL", MK: "MKD", ML: "MLI", MM: "MMR", MN: "MNG", MO: "MAC", MP: "MNP", MQ: "MTQ", MR: "MRT", MS: "MSR", MT: "MLT", MU: "MUS", MV: "MDV", MW: "MWI", MX: "MEX", MY: "MYS", MZ: "MOZ", NA: "NAM", NC: "NCL", NE: "NER", NF: "NFK", NG: "NGA", NI: "NIC", NL: "NLD", NO: "NOR", NP: "NPL", NR: "NRU", NU: "NIU", NZ: "NZL", OM: "OMN", PA: "PAN", PE: "PER", PF: "PYF", PG: "PNG", PH: "PHL", PK: "PAK", PL: "POL", PM: "SPM", PN: "PCN", PR: "PRI", PS: "PSE", PT: "PRT", PW: "PLW", PY: "PRY", QA: "QAT", RE: "REU", RO: "ROU", RS: "SRB", RU: "RUS", RW: "RWA", SA: "SAU", SB: "SLB", SC: "SYC", SD: "SDN", SE: "SWE", SG: "SGP", SH: "SHN", SI: "SVN", SJ: "SJM", SK: "SVK", SL: "SLE", SM: "SMR", SN: "SEN", SO: "SOM", SR: "SUR", SS: "SSD", ST: "STP", SV: "SLV", SX: "SXM", SY: "SYR", SZ: "SWZ", TC: "TCA", TD: "TCD", TF: "ATF", TG: "TGO", TH: "THA", TJ: "TJK", TK: "TKL", TL: "TLS", TM: "TKM", TN: "TUN", TO: "TON", TR: "TUR", TT: "TTO", TV: "TUV", TW: "TWN", TZ: "TZA", UA: "UKR", UG: "UGA", UM: "UMI", US: "USA", UY: "URY", UZ: "UZB", VA: "VAT", VC: "VCT", VE: "VEN", VG: "VGB", VI: "VIR", VN: "VNM", VU: "VUT", WF: "WLF", WS: "WSM", XK: "XKX", YE: "YEM", YT: "MYT", ZA: "ZAF", ZM: "ZMB", ZW: "ZWE" }, Be = (e) => ({ ...un[e], iso2: e, iso3: Te[e] }), be = () => Object.keys(un).map((e) => Be(e));
|
|
@@ -929,104 +969,140 @@ cn.exports = function(l) {
|
|
|
929
969
|
cn.exports.currencySymbolMap = tn;
|
|
930
970
|
var Ue = cn.exports;
|
|
931
971
|
const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
932
|
-
const [l, g] = W(""), [d,
|
|
933
|
-
|
|
972
|
+
const [l, g] = W(""), [d, v] = W("USD"), [f, A] = W([]), S = Y.useRef(null);
|
|
973
|
+
Se(() => {
|
|
934
974
|
const p = [...new Set(Object.values(un).map((M) => M.currency))];
|
|
935
975
|
A(p);
|
|
936
976
|
}, []);
|
|
937
977
|
const h = (p) => {
|
|
938
978
|
g(p.target.value);
|
|
939
979
|
}, D = (p) => {
|
|
940
|
-
|
|
980
|
+
v(p.target.value);
|
|
941
981
|
};
|
|
942
|
-
return /* @__PURE__ */ r.jsx("div", { className: "currency-input-container", children: /* @__PURE__ */ r.jsxs(
|
|
943
|
-
|
|
944
|
-
|
|
982
|
+
return /* @__PURE__ */ r.jsx("div", { className: "currency-input-container", children: /* @__PURE__ */ r.jsxs(
|
|
983
|
+
"div",
|
|
984
|
+
{
|
|
985
|
+
className: "custom-input",
|
|
986
|
+
"data-type": e.type,
|
|
987
|
+
"data-error": e.errExists,
|
|
988
|
+
style: { ...e.style, ...e.sx },
|
|
989
|
+
children: [
|
|
990
|
+
/* @__PURE__ */ r.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ r.jsx(B, { category: "text", Size: "sm", bold: "semibold", children: Pe(d) || "$" }) }),
|
|
991
|
+
/* @__PURE__ */ r.jsx(
|
|
992
|
+
"input",
|
|
993
|
+
{
|
|
994
|
+
type: "text",
|
|
995
|
+
placeholder: "amount",
|
|
996
|
+
style: { marginLeft: "12px" },
|
|
997
|
+
onChange: h,
|
|
998
|
+
disabled: e.disabled,
|
|
999
|
+
ref: S,
|
|
1000
|
+
...e.props
|
|
1001
|
+
}
|
|
1002
|
+
),
|
|
1003
|
+
/* @__PURE__ */ r.jsx("div", { className: "grey-box grey-right-box", children: /* @__PURE__ */ r.jsx(
|
|
1004
|
+
"select",
|
|
1005
|
+
{
|
|
1006
|
+
value: d,
|
|
1007
|
+
onChange: D,
|
|
1008
|
+
className: "currency-select",
|
|
1009
|
+
style: {
|
|
1010
|
+
fontFamily: "var(--font-family)",
|
|
1011
|
+
fontWeight: "500",
|
|
1012
|
+
width: "55px",
|
|
1013
|
+
border: "none",
|
|
1014
|
+
background: "transparent"
|
|
1015
|
+
},
|
|
1016
|
+
children: f.map((p) => /* @__PURE__ */ r.jsx("option", { value: p, children: p }, p))
|
|
1017
|
+
}
|
|
1018
|
+
) })
|
|
1019
|
+
]
|
|
1020
|
+
}
|
|
1021
|
+
) });
|
|
1022
|
+
}, Le = (e) => /* @__PURE__ */ r.jsxs(
|
|
1023
|
+
"div",
|
|
1024
|
+
{
|
|
1025
|
+
className: "custom-input",
|
|
1026
|
+
"data-type": e.type,
|
|
1027
|
+
"data-error": e.errExists,
|
|
1028
|
+
style: { ...e.style, ...e.sx },
|
|
1029
|
+
children: [
|
|
1030
|
+
/* @__PURE__ */ r.jsx(
|
|
1031
|
+
"input",
|
|
1032
|
+
{
|
|
1033
|
+
type: "text",
|
|
1034
|
+
placeholder: "0000 0000 0000 0000",
|
|
1035
|
+
disabled: e.disabled,
|
|
1036
|
+
...e.props,
|
|
1037
|
+
style: {
|
|
1038
|
+
fontFamily: "var(--font-family)",
|
|
1039
|
+
color: "var(--text-primary, #080808)",
|
|
1040
|
+
fontWeight: 600,
|
|
1041
|
+
fontSize: "14px",
|
|
1042
|
+
fontStyle: "normal"
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
),
|
|
1046
|
+
/* @__PURE__ */ r.jsxs("div", { className: "right-icon", children: [
|
|
1047
|
+
" ",
|
|
1048
|
+
/* @__PURE__ */ r.jsx(rn, {})
|
|
1049
|
+
] })
|
|
1050
|
+
]
|
|
1051
|
+
}
|
|
1052
|
+
), xe = (e) => /* @__PURE__ */ r.jsx(
|
|
1053
|
+
"div",
|
|
1054
|
+
{
|
|
1055
|
+
className: "custom-input",
|
|
1056
|
+
"data-type": e.type,
|
|
1057
|
+
"data-error": e.errExists,
|
|
1058
|
+
style: { ...e.style, ...e.sx },
|
|
1059
|
+
children: /* @__PURE__ */ r.jsx(
|
|
945
1060
|
"input",
|
|
946
1061
|
{
|
|
947
|
-
type: "
|
|
948
|
-
placeholder:
|
|
949
|
-
style: { marginLeft: "12px" },
|
|
950
|
-
onChange: h,
|
|
1062
|
+
type: "date",
|
|
1063
|
+
placeholder: e.placeholder,
|
|
951
1064
|
disabled: e.disabled,
|
|
952
|
-
|
|
953
|
-
...e.props
|
|
954
|
-
}
|
|
955
|
-
),
|
|
956
|
-
/* @__PURE__ */ r.jsx("div", { className: "grey-box grey-right-box", children: /* @__PURE__ */ r.jsx(
|
|
957
|
-
"select",
|
|
958
|
-
{
|
|
959
|
-
value: d,
|
|
960
|
-
onChange: D,
|
|
961
|
-
className: "currency-select",
|
|
1065
|
+
...e.props,
|
|
962
1066
|
style: {
|
|
963
1067
|
fontFamily: "var(--font-family)",
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
children: f.map((p) => /* @__PURE__ */ r.jsx("option", { value: p, children: p }, p))
|
|
970
|
-
}
|
|
971
|
-
) })
|
|
972
|
-
] }) });
|
|
973
|
-
}, Le = (e) => /* @__PURE__ */ r.jsxs("div", { className: "custom-input", "data-type": e.type, "data-error": e.errExists, style: { ...e.style, ...e.sx }, children: [
|
|
974
|
-
/* @__PURE__ */ r.jsx(
|
|
975
|
-
"input",
|
|
976
|
-
{
|
|
977
|
-
type: "text",
|
|
978
|
-
placeholder: "0000 0000 0000 0000",
|
|
979
|
-
disabled: e.disabled,
|
|
980
|
-
...e.props,
|
|
981
|
-
style: {
|
|
982
|
-
fontFamily: "var(--font-family)",
|
|
983
|
-
color: "var(--text-primary, #080808)",
|
|
984
|
-
fontWeight: 600,
|
|
985
|
-
fontSize: "14px",
|
|
986
|
-
fontStyle: "normal"
|
|
1068
|
+
color: "var(--text-primary, #080808)",
|
|
1069
|
+
fontWeight: 600,
|
|
1070
|
+
fontSize: "14px",
|
|
1071
|
+
fontStyle: "normal"
|
|
1072
|
+
}
|
|
987
1073
|
}
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
/* @__PURE__ */ r.jsx(rn, {})
|
|
993
|
-
] })
|
|
994
|
-
] }), xe = (e) => /* @__PURE__ */ r.jsx("div", { className: "custom-input", "data-type": e.type, "data-error": e.errExists, style: { ...e.style, ...e.sx }, children: /* @__PURE__ */ r.jsx(
|
|
995
|
-
"input",
|
|
1074
|
+
)
|
|
1075
|
+
}
|
|
1076
|
+
), Ie = (e) => /* @__PURE__ */ r.jsxs(
|
|
1077
|
+
"div",
|
|
996
1078
|
{
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
...e.
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1079
|
+
className: "custom-input",
|
|
1080
|
+
"data-type": e.type,
|
|
1081
|
+
"data-error": e.errExists,
|
|
1082
|
+
style: { ...e.style, ...e.sx },
|
|
1083
|
+
children: [
|
|
1084
|
+
/* @__PURE__ */ r.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ r.jsx(B, { category: "text", Size: "sm", bold: "medium", children: "https://" }) }),
|
|
1085
|
+
/* @__PURE__ */ r.jsx(
|
|
1086
|
+
"input",
|
|
1087
|
+
{
|
|
1088
|
+
type: "text",
|
|
1089
|
+
placeholder: "Link Text",
|
|
1090
|
+
disabled: e.disabled,
|
|
1091
|
+
...e.props,
|
|
1092
|
+
style: {
|
|
1093
|
+
fontFamily: "var(--font-family)",
|
|
1094
|
+
color: "var(--text-primary, #080808)",
|
|
1095
|
+
fontWeight: 600,
|
|
1096
|
+
fontSize: "14px",
|
|
1097
|
+
fontStyle: "normal",
|
|
1098
|
+
marginLeft: "12px"
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
),
|
|
1102
|
+
/* @__PURE__ */ r.jsx("div", { className: "right-icon", children: e.rightIcon ? e.rightIcon : /* @__PURE__ */ r.jsx(rn, {}) })
|
|
1103
|
+
]
|
|
1008
1104
|
}
|
|
1009
|
-
)
|
|
1010
|
-
/* @__PURE__ */ r.jsx("div", { className: "grey-box grey-left-box", children: /* @__PURE__ */ r.jsx(B, { category: "text", Size: "sm", bold: "medium", children: "https://" }) }),
|
|
1011
|
-
/* @__PURE__ */ r.jsx(
|
|
1012
|
-
"input",
|
|
1013
|
-
{
|
|
1014
|
-
type: "text",
|
|
1015
|
-
placeholder: "Link Text",
|
|
1016
|
-
disabled: e.disabled,
|
|
1017
|
-
...e.props,
|
|
1018
|
-
style: {
|
|
1019
|
-
fontFamily: "var(--font-family)",
|
|
1020
|
-
color: "var(--text-primary, #080808)",
|
|
1021
|
-
fontWeight: 600,
|
|
1022
|
-
fontSize: "14px",
|
|
1023
|
-
fontStyle: "normal",
|
|
1024
|
-
marginLeft: "12px"
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
),
|
|
1028
|
-
/* @__PURE__ */ r.jsx("div", { className: "right-icon", children: e.rightIcon ? e.rightIcon : /* @__PURE__ */ r.jsx(rn, {}) })
|
|
1029
|
-
] }), Ie = () => /* @__PURE__ */ r.jsxs("svg", { width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1105
|
+
), Oe = () => /* @__PURE__ */ r.jsxs("svg", { width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1030
1106
|
/* @__PURE__ */ r.jsx(
|
|
1031
1107
|
"path",
|
|
1032
1108
|
{
|
|
@@ -1065,47 +1141,65 @@ const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
|
1065
1141
|
d: "M4.44393 2.49455C4.36161 2.40174 4.26167 2.3262 4.14993 2.2723C4.0382 2.2184 3.91687 2.18722 3.79299 2.18055C3.66911 2.17389 3.54514 2.19188 3.42826 2.23348C3.31138 2.27508 3.20392 2.33946 3.11211 2.4229C3.0203 2.50634 2.94596 2.60716 2.89341 2.71954C2.84085 2.83192 2.81112 2.95361 2.80594 3.07756C2.80076 3.20152 2.82024 3.32526 2.86324 3.44163C2.90624 3.558 2.9719 3.66468 3.05643 3.75549L4.30643 5.13439C1.61503 6.92658 0.44706 9.49846 0.39081 9.61955C0.337882 9.73955 0.310547 9.86926 0.310547 10.0004C0.310547 10.1316 0.337882 10.2613 0.39081 10.3813C0.419716 10.4453 1.10409 11.9641 2.61659 13.4758C4.63847 15.4953 7.18769 16.5625 10.0002 16.5625C11.3671 16.5701 12.7217 16.3045 13.9846 15.7813L15.5541 17.5078C15.7222 17.6884 15.9547 17.7954 16.2011 17.8057C16.4476 17.816 16.6882 17.7288 16.8708 17.5628C17.0534 17.3969 17.1632 17.1657 17.1764 16.9194C17.1897 16.6731 17.1053 16.4314 16.9416 16.2469L4.44393 2.49455ZM10.0002 14.6875C7.68847 14.6875 5.66659 13.8492 3.99159 12.1969C3.33273 11.5445 2.7658 10.8054 2.30643 10C2.71815 9.27267 3.7744 7.66408 5.58768 6.53986L12.626 14.2828C11.7772 14.5539 10.8912 14.6904 10.0002 14.6875ZM19.6096 10.3813C19.5814 10.4445 18.9064 11.9438 17.4221 13.4406C17.3371 13.535 17.2338 13.6111 17.1185 13.6643C17.0032 13.7175 16.8783 13.7468 16.7513 13.7503C16.6244 13.7538 16.4981 13.7315 16.38 13.6847C16.2619 13.6378 16.1546 13.5675 16.0646 13.478C15.9745 13.3885 15.9036 13.2816 15.8561 13.1638C15.8086 13.046 15.7855 12.9198 15.7882 12.7929C15.791 12.6659 15.8195 12.5408 15.8721 12.4252C15.9246 12.3096 16.0001 12.2059 16.0939 12.1203C16.7175 11.4864 17.2554 10.7735 17.6939 10C17.2348 9.19443 16.6679 8.45531 16.0088 7.80314C14.333 6.1508 12.3119 5.31252 10.0002 5.31252C9.73847 5.31252 9.47675 5.32346 9.21894 5.34533C9.0947 5.35864 8.96905 5.34698 8.84938 5.31104C8.72971 5.27509 8.61844 5.21559 8.52209 5.13602C8.42575 5.05646 8.34628 4.95844 8.28837 4.84772C8.23045 4.737 8.19525 4.61583 8.18483 4.49131C8.17442 4.3668 8.189 4.24145 8.22772 4.12265C8.26644 4.00385 8.32851 3.89399 8.4103 3.79953C8.49208 3.70506 8.59193 3.6279 8.70396 3.57257C8.816 3.51725 8.93796 3.48488 9.06269 3.47736C9.36972 3.4508 9.68769 3.43752 10.0002 3.43752C12.8127 3.43752 15.3619 4.50549 17.3822 6.52502C18.8939 8.03674 19.5783 9.55627 19.6072 9.61955C19.6605 9.73938 19.6882 9.86901 19.6887 10.0002C19.6891 10.1313 19.6621 10.2611 19.6096 10.3813Z",
|
|
1066
1142
|
fill: "#080808"
|
|
1067
1143
|
}
|
|
1068
|
-
) }), je = (e) => /* @__PURE__ */ r.jsxs(
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
"input",
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1144
|
+
) }), je = (e) => /* @__PURE__ */ r.jsxs(
|
|
1145
|
+
"div",
|
|
1146
|
+
{
|
|
1147
|
+
className: "custom-input",
|
|
1148
|
+
"data-type": e.type,
|
|
1149
|
+
"data-error": e.errExists,
|
|
1150
|
+
style: { ...e.style, ...e.sx },
|
|
1151
|
+
children: [
|
|
1152
|
+
/* @__PURE__ */ r.jsx("div", { className: "left-icon", children: /* @__PURE__ */ r.jsx(Oe, {}) }),
|
|
1153
|
+
/* @__PURE__ */ r.jsx(
|
|
1154
|
+
"input",
|
|
1155
|
+
{
|
|
1156
|
+
type: "password",
|
|
1157
|
+
placeholder: "*****************",
|
|
1158
|
+
disabled: e.disabled,
|
|
1159
|
+
...e.props,
|
|
1160
|
+
style: {
|
|
1161
|
+
fontFamily: "var(--font-family)",
|
|
1162
|
+
color: "var(--text-primary, #080808)",
|
|
1163
|
+
fontWeight: 600,
|
|
1164
|
+
fontSize: "14px",
|
|
1165
|
+
fontStyle: "normal"
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
),
|
|
1169
|
+
/* @__PURE__ */ r.jsx("div", { className: "right-icon", children: e.rightIcon ? e.rightIcon : /* @__PURE__ */ r.jsx(Ke, {}) })
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1172
|
+
), ke = (e) => /* @__PURE__ */ r.jsxs(
|
|
1173
|
+
"div",
|
|
1174
|
+
{
|
|
1175
|
+
className: "custom-input",
|
|
1176
|
+
"data-type": e.type,
|
|
1177
|
+
"data-error": e.errExists,
|
|
1178
|
+
style: { ...e.style, ...e.sx },
|
|
1179
|
+
children: [
|
|
1180
|
+
e.leftIcon && /* @__PURE__ */ r.jsx("div", { className: "left-icon", children: e.leftIcon }),
|
|
1181
|
+
/* @__PURE__ */ r.jsx(
|
|
1182
|
+
"input",
|
|
1183
|
+
{
|
|
1184
|
+
type: "number",
|
|
1185
|
+
placeholder: e.placeholder ? e.placeholder : "Enter Value",
|
|
1186
|
+
disabled: e.disabled,
|
|
1187
|
+
...e.props,
|
|
1188
|
+
style: {
|
|
1189
|
+
fontFamily: "var(--font-family)",
|
|
1190
|
+
color: "var(--text-primary, #080808)",
|
|
1191
|
+
fontWeight: 600,
|
|
1192
|
+
fontSize: "14px",
|
|
1193
|
+
fontStyle: "normal"
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
)
|
|
1197
|
+
]
|
|
1198
|
+
}
|
|
1199
|
+
), we = (e) => {
|
|
1106
1200
|
switch (e.type) {
|
|
1107
1201
|
case "default":
|
|
1108
|
-
return
|
|
1202
|
+
return In(e);
|
|
1109
1203
|
case "action":
|
|
1110
1204
|
return De(e);
|
|
1111
1205
|
case "currency":
|
|
@@ -1115,23 +1209,23 @@ const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
|
1115
1209
|
case "date":
|
|
1116
1210
|
return xe(e);
|
|
1117
1211
|
case "link":
|
|
1118
|
-
return
|
|
1212
|
+
return Ie(e);
|
|
1119
1213
|
case "password":
|
|
1120
1214
|
return je(e);
|
|
1121
1215
|
case "number":
|
|
1122
1216
|
return ke(e);
|
|
1123
1217
|
default:
|
|
1124
|
-
return
|
|
1218
|
+
return In(e);
|
|
1125
1219
|
}
|
|
1126
1220
|
}, Ve = (e) => /* @__PURE__ */ Gn.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ Gn.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" })), Ye = ({
|
|
1127
1221
|
size: e = "lg",
|
|
1128
1222
|
type: l = "default",
|
|
1129
1223
|
disabled: g = !1,
|
|
1130
1224
|
label: d = "",
|
|
1131
|
-
errExists:
|
|
1225
|
+
errExists: v = !1,
|
|
1132
1226
|
placeholder: f,
|
|
1133
1227
|
leftIcon: A,
|
|
1134
|
-
rightIcon:
|
|
1228
|
+
rightIcon: S,
|
|
1135
1229
|
style: h,
|
|
1136
1230
|
onAction: D,
|
|
1137
1231
|
...p
|
|
@@ -1140,9 +1234,9 @@ const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
|
1140
1234
|
type: l,
|
|
1141
1235
|
placeholder: f,
|
|
1142
1236
|
disabled: g,
|
|
1143
|
-
errExists:
|
|
1237
|
+
errExists: v,
|
|
1144
1238
|
leftIcon: A,
|
|
1145
|
-
rightIcon:
|
|
1239
|
+
rightIcon: S,
|
|
1146
1240
|
style: h,
|
|
1147
1241
|
onAction: D,
|
|
1148
1242
|
// application if type is action
|
|
@@ -1157,12 +1251,12 @@ const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
|
1157
1251
|
placeholder: l,
|
|
1158
1252
|
disabled: g = !1,
|
|
1159
1253
|
errExists: d = !1,
|
|
1160
|
-
label:
|
|
1254
|
+
label: v,
|
|
1161
1255
|
...f
|
|
1162
1256
|
}) => {
|
|
1163
|
-
const [A,
|
|
1257
|
+
const [A, S] = Y.useState("");
|
|
1164
1258
|
return /* @__PURE__ */ r.jsxs("div", { children: [
|
|
1165
|
-
/* @__PURE__ */ r.jsx(B, { category: "text", Size: "sm", bold: "bold", children:
|
|
1259
|
+
/* @__PURE__ */ r.jsx(B, { category: "text", Size: "sm", bold: "bold", children: v }),
|
|
1166
1260
|
/* @__PURE__ */ r.jsxs("div", { className: "text-area-container", "data-error": d, children: [
|
|
1167
1261
|
/* @__PURE__ */ r.jsx(
|
|
1168
1262
|
"textarea",
|
|
@@ -1179,7 +1273,7 @@ const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
|
1179
1273
|
// fontWeight: "600"
|
|
1180
1274
|
},
|
|
1181
1275
|
onChange: (h) => {
|
|
1182
|
-
|
|
1276
|
+
S(h.target.value), e && e(h.target.value);
|
|
1183
1277
|
},
|
|
1184
1278
|
...f
|
|
1185
1279
|
}
|
|
@@ -1209,14 +1303,14 @@ const Pe = /* @__PURE__ */ Re(Ue), Ge = (e) => {
|
|
|
1209
1303
|
{
|
|
1210
1304
|
type: "checkbox",
|
|
1211
1305
|
checked: e,
|
|
1212
|
-
onChange: (
|
|
1306
|
+
onChange: (v) => l && l(v.target.checked),
|
|
1213
1307
|
disabled: d
|
|
1214
1308
|
}
|
|
1215
1309
|
),
|
|
1216
1310
|
g && /* @__PURE__ */ r.jsx("span", { children: g })
|
|
1217
1311
|
] }), $e = ({ left: e, right: l, onToggle: g }) => {
|
|
1218
|
-
const [d,
|
|
1219
|
-
|
|
1312
|
+
const [d, v] = W(e), f = (A) => {
|
|
1313
|
+
v(A), g(A);
|
|
1220
1314
|
};
|
|
1221
1315
|
return /* @__PURE__ */ r.jsxs("div", { className: "toggle-switch", children: [
|
|
1222
1316
|
/* @__PURE__ */ r.jsx("div", { className: `toggle-option ${d === e ? "active" : ""}`, onClick: () => f(e), children: /* @__PURE__ */ r.jsx(B, { bold: "bold", color: "textSecondary", category: "text", Size: "sm", children: e }) }),
|