@devbonnysid/ui-kit-default 1.3.2 → 1.3.3
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/index.cjs.js +5 -5
- package/dist/index.es.js +149 -149
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import
|
|
3
|
-
import { useFormContext as Y1, useController as W1, FormProvider as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import z5, { useMemo as B, useState as o1, useRef as F, useEffect as Y, useCallback as W, useLayoutEffect as v1, createContext as _5, useContext as $5, memo as e9, useId as t9, forwardRef as n9 } from "react";
|
|
3
|
+
import { useFormContext as Y1, useController as W1, FormProvider as r9 } from "react-hook-form";
|
|
4
|
+
import { useTranslation as t5 } from "react-i18next";
|
|
5
|
+
import { NavLink as l9 } from "react-router-dom";
|
|
6
6
|
import { createPortal as o9 } from "react-dom";
|
|
7
7
|
function C9(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -245,7 +245,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
function w(m) {
|
|
246
246
|
return typeof m == "object" && m !== null && m.$$typeof === f;
|
|
247
247
|
}
|
|
248
|
-
var k =
|
|
248
|
+
var k = z5, f = Symbol.for("react.transitional.element"), J = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), V = Symbol.for("react.profiler"), Z = Symbol.for("react.consumer"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), q = Symbol.for("react.activity"), D = Symbol.for("react.client.reference"), y = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, N = Object.prototype.hasOwnProperty, x = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
249
249
|
return null;
|
|
250
250
|
};
|
|
251
251
|
k = {
|
|
@@ -331,7 +331,7 @@ const d9 = /* @__PURE__ */ C9(u9), G = (e) => d9.bind(e), p9 = (e) => {
|
|
|
331
331
|
return !1;
|
|
332
332
|
}
|
|
333
333
|
}, V2 = (e, t, n) => Math.min(Math.max(e, t), n);
|
|
334
|
-
var
|
|
334
|
+
var n5 = /* @__PURE__ */ ((e) => (e.TOP = "top", e.RIGHT = "right", e.LEFT = "left", e.BOTTOM = "bottom", e))(n5 || {}), f9 = /* @__PURE__ */ ((e) => (e.START = "start", e.CENTER = "center", e.END = "end", e))(f9 || {});
|
|
335
335
|
const m9 = ({
|
|
336
336
|
placementSide: e,
|
|
337
337
|
placementAlignment: t,
|
|
@@ -442,7 +442,7 @@ const k9 = () => {
|
|
|
442
442
|
} catch {
|
|
443
443
|
return !1;
|
|
444
444
|
}
|
|
445
|
-
}, h9 = "Button-module__button___18Bed", v9 = "Button-module__fullWidth___AHpSl", J9 = "Button-module__large___iWceB", g9 = "Button-module__medium___HYxwi", L9 = "Button-module__small___zfmcP", E9 = "Button-module__primary___st6yY", R9 = "Button-module__secondary___j-3rj", x9 = "Button-module__iconOnly___FNrSu", M9 = "Button-module__tertiary___Nd7xM", V9 = "Button-module__quaternary___1zGBs", Z9 = "Button-module__text___dcWb-", H9 = "Button-module__icon___xIuVv", y9 = "Button-module__active___UeHD7", b9 = "Button-module__isLoading___Q54Ui", I9 = "Button-module__count___I36Bt", U9 = "Button-module__loader___KKJJD",
|
|
445
|
+
}, h9 = "Button-module__button___18Bed", v9 = "Button-module__fullWidth___AHpSl", J9 = "Button-module__large___iWceB", g9 = "Button-module__medium___HYxwi", L9 = "Button-module__small___zfmcP", E9 = "Button-module__primary___st6yY", R9 = "Button-module__secondary___j-3rj", x9 = "Button-module__iconOnly___FNrSu", M9 = "Button-module__tertiary___Nd7xM", V9 = "Button-module__quaternary___1zGBs", Z9 = "Button-module__text___dcWb-", H9 = "Button-module__icon___xIuVv", y9 = "Button-module__active___UeHD7", b9 = "Button-module__isLoading___Q54Ui", I9 = "Button-module__count___I36Bt", U9 = "Button-module__loader___KKJJD", r5 = {
|
|
446
446
|
button: h9,
|
|
447
447
|
fullWidth: v9,
|
|
448
448
|
large: J9,
|
|
@@ -460,8 +460,8 @@ const k9 = () => {
|
|
|
460
460
|
count: I9,
|
|
461
461
|
loader: U9,
|
|
462
462
|
"tooltip-container": "Button-module__tooltip-container___-kd0v"
|
|
463
|
-
}, T9 = G(
|
|
464
|
-
var
|
|
463
|
+
}, T9 = G(r5), Z2 = ({ icon: e }) => typeof e == "string" ? /* @__PURE__ */ S.jsx(n1, { type: e, className: T9("icon") }) : e, K1 = G(r5);
|
|
464
|
+
var l5 = /* @__PURE__ */ ((e) => (e.PRIMARY = "primary", e.SECONDARY = "secondary", e.TERTIARY = "tertiary", e.QUATERNARY = "quaternary", e))(l5 || {}), o5 = /* @__PURE__ */ ((e) => (e.LARGE = "large", e.MEDIUM = "medium", e.SMALL = "small", e))(o5 || {});
|
|
465
465
|
const N9 = ({
|
|
466
466
|
disabled: e,
|
|
467
467
|
onClick: t,
|
|
@@ -507,7 +507,7 @@ const N9 = ({
|
|
|
507
507
|
caption: K9
|
|
508
508
|
}, H2 = G(j9), S2 = ({ caption: e, hint: t }) => /* @__PURE__ */ S.jsxs("div", { className: H2("caption"), children: [
|
|
509
509
|
e,
|
|
510
|
-
t && /* @__PURE__ */ S.jsx(h2, { text: t, placementSide:
|
|
510
|
+
t && /* @__PURE__ */ S.jsx(h2, { text: t, placementSide: n5.TOP, children: /* @__PURE__ */ S.jsx(n1, { type: "circle-help", className: H2("icon", "hint") }) })
|
|
511
511
|
] }), O9 = "Icon-module__icon___J5RH5", G9 = "Icon-module__small___n0yvX", F9 = "Icon-module__medium___r6TsR", q9 = "Icon-module__large___H12p-", D9 = {
|
|
512
512
|
icon: O9,
|
|
513
513
|
small: G9,
|
|
@@ -702,7 +702,7 @@ const T0 = G(D9), n1 = ({
|
|
|
702
702
|
error: Q0,
|
|
703
703
|
input: X0
|
|
704
704
|
};
|
|
705
|
-
var _0 = /* @__PURE__ */ ((e) => (e.LARGE = "LARGE", e.MEDIUM = "MEDIUM", e))(_0 || {}), a2 = /* @__PURE__ */ ((e) => (e.MARKED = "MARKED", e.MIXED = "MIXED", e))(a2 || {}),
|
|
705
|
+
var _0 = /* @__PURE__ */ ((e) => (e.LARGE = "LARGE", e.MEDIUM = "MEDIUM", e))(_0 || {}), a2 = /* @__PURE__ */ ((e) => (e.MARKED = "MARKED", e.MIXED = "MIXED", e))(a2 || {}), C5 = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(C5 || {});
|
|
706
706
|
const p1 = G(z0), $0 = {
|
|
707
707
|
MARKED: "check",
|
|
708
708
|
MIXED: "minus"
|
|
@@ -810,7 +810,7 @@ const p1 = G(z0), $0 = {
|
|
|
810
810
|
ref: n,
|
|
811
811
|
children: r,
|
|
812
812
|
...o
|
|
813
|
-
}) => /* @__PURE__ */ S.jsx(
|
|
813
|
+
}) => /* @__PURE__ */ S.jsx(r9, { ...e, children: /* @__PURE__ */ S.jsx("form", { ...o, onSubmit: t ? e.handleSubmit(t) : void 0, ref: n, children: r }) }), $e = (e, t = 0) => {
|
|
814
814
|
const [n, r] = o1(e), o = F(null);
|
|
815
815
|
return Y(() => (o.current && clearTimeout(o.current), o.current = window.setTimeout(() => {
|
|
816
816
|
r(e);
|
|
@@ -889,7 +889,7 @@ function C8(e, t, n = u2) {
|
|
|
889
889
|
}
|
|
890
890
|
return r;
|
|
891
891
|
}
|
|
892
|
-
const
|
|
892
|
+
const s5 = ({
|
|
893
893
|
mask: e,
|
|
894
894
|
replacement: t = u2,
|
|
895
895
|
replacementPlaceholder: n = u2
|
|
@@ -927,7 +927,7 @@ const C5 = ({
|
|
|
927
927
|
[e, r]
|
|
928
928
|
);
|
|
929
929
|
return { apply: o, clean: s };
|
|
930
|
-
},
|
|
930
|
+
}, i5 = (e = !1) => {
|
|
931
931
|
const [t, n] = o1(e), r = W(() => n(!0), []), o = W(() => n(!1), []), s = W(() => n((C) => !C), []);
|
|
932
932
|
return { isOpen: t, open: r, close: o, toggle: s, setIsOpen: n };
|
|
933
933
|
}, s8 = typeof window < "u" ? window.localStorage : void 0, r2 = "__use-persisted-state__", l2 = (e) => {
|
|
@@ -1040,12 +1040,12 @@ const C5 = ({
|
|
|
1040
1040
|
// overwrite
|
|
1041
1041
|
);
|
|
1042
1042
|
});
|
|
1043
|
-
}, J8 = () =>
|
|
1043
|
+
}, J8 = () => t5(D1), g8 = "InputIcon-module__icon___-JTUh", L8 = "InputIcon-module__isPlaceholder___um3VD", E8 = "InputIcon-module__clickable___hz6KU", R8 = "InputIcon-module__disabled___3jnMV", x8 = {
|
|
1044
1044
|
icon: g8,
|
|
1045
1045
|
isPlaceholder: L8,
|
|
1046
1046
|
clickable: E8,
|
|
1047
1047
|
disabled: R8
|
|
1048
|
-
}, M8 = G(x8),
|
|
1048
|
+
}, M8 = G(x8), c5 = ({ onClick: e, type: t, disabled: n, isPlaceholder: r }) => /* @__PURE__ */ S.jsx(
|
|
1049
1049
|
n1,
|
|
1050
1050
|
{
|
|
1051
1051
|
className: M8("icon", { clickable: !!e, disabled: n, isPlaceholder: r }),
|
|
@@ -1054,7 +1054,7 @@ const C5 = ({
|
|
|
1054
1054
|
onClick: n ? void 0 : e
|
|
1055
1055
|
}
|
|
1056
1056
|
), V8 = ({ isHidden: e, reveal: t, hide: n, disabled: r, isPlaceholder: o }) => /* @__PURE__ */ S.jsx(
|
|
1057
|
-
|
|
1057
|
+
c5,
|
|
1058
1058
|
{
|
|
1059
1059
|
onClick: e ? t : n,
|
|
1060
1060
|
type: e ? "eye" : "eye-off",
|
|
@@ -1100,10 +1100,10 @@ const C5 = ({
|
|
|
1100
1100
|
(n || Number(u) >= 0) && e(u);
|
|
1101
1101
|
}, [n, r, e, t]);
|
|
1102
1102
|
return { increment: C, decrement: i };
|
|
1103
|
-
},
|
|
1103
|
+
}, a5 = ({ value: e, maxLength: t }) => g1(t) ? e : e.slice(0, t), K8 = (e) => e, j8 = {
|
|
1104
1104
|
tel: ({ value: e, ...t }) => {
|
|
1105
1105
|
const n = new RegExp("(?<!^)\\+|[^\\d+]", "g");
|
|
1106
|
-
return
|
|
1106
|
+
return a5({ value: e.replace(n, ""), ...t });
|
|
1107
1107
|
},
|
|
1108
1108
|
number: ({
|
|
1109
1109
|
isAllowNegative: e,
|
|
@@ -1134,7 +1134,7 @@ const C5 = ({
|
|
|
1134
1134
|
replacement: n,
|
|
1135
1135
|
mask: r
|
|
1136
1136
|
}) => {
|
|
1137
|
-
const o =
|
|
1137
|
+
const o = s5({ mask: r, replacement: n, replacementPlaceholder: t }), s = B(() => j8[e] ?? a5, [e]), C = B(() => O8[e] ?? K8, [e]), i = W(
|
|
1138
1138
|
(u) => {
|
|
1139
1139
|
const a = s(u);
|
|
1140
1140
|
return o.apply(a);
|
|
@@ -1159,7 +1159,7 @@ const C5 = ({
|
|
|
1159
1159
|
suffix: $8,
|
|
1160
1160
|
right: e3
|
|
1161
1161
|
};
|
|
1162
|
-
var
|
|
1162
|
+
var u5 = /* @__PURE__ */ ((e) => (e.LARGE = "large", e.MEDIUM = "medium", e))(u5 || {});
|
|
1163
1163
|
const f1 = G(t3), n3 = {
|
|
1164
1164
|
tel: !1,
|
|
1165
1165
|
number: !1,
|
|
@@ -1167,7 +1167,7 @@ const f1 = G(t3), n3 = {
|
|
|
1167
1167
|
email: !1,
|
|
1168
1168
|
password: !1,
|
|
1169
1169
|
text: !0
|
|
1170
|
-
},
|
|
1170
|
+
}, d5 = ({
|
|
1171
1171
|
value: e,
|
|
1172
1172
|
size: t = "large",
|
|
1173
1173
|
type: n = "text",
|
|
@@ -1209,14 +1209,14 @@ const f1 = G(t3), n3 = {
|
|
|
1209
1209
|
const { isHidden: m, reveal: v, hide: L } = o8(n === "password"), [I, $] = o1(!1), u1 = N ?? n3[n], K = B(
|
|
1210
1210
|
() => !!(C && s || o),
|
|
1211
1211
|
[C, s, o]
|
|
1212
|
-
), r1 = B(() => !!(c || j || p || U || q), [c, j, p, U, q]), s1 = A8({ type: n, isHidden: m }), { format: N1, clean:
|
|
1212
|
+
), r1 = B(() => !!(c || j || p || U || q), [c, j, p, U, q]), s1 = A8({ type: n, isHidden: m }), { format: N1, clean: G5 } = G8({ type: n, mask: f, replacement: J, replacementPlaceholder: h }), { increment: F5, decrement: q5 } = B8({
|
|
1213
1213
|
max: R,
|
|
1214
1214
|
min: V,
|
|
1215
1215
|
decimals: T,
|
|
1216
1216
|
value: e,
|
|
1217
1217
|
isAllowNegative: y,
|
|
1218
1218
|
onChangeValue: E
|
|
1219
|
-
}),
|
|
1219
|
+
}), D5 = B(() => e && N1({
|
|
1220
1220
|
value: e,
|
|
1221
1221
|
isAllowNegative: y,
|
|
1222
1222
|
decimals: T,
|
|
@@ -1231,20 +1231,20 @@ const f1 = G(t3), n3 = {
|
|
|
1231
1231
|
Q,
|
|
1232
1232
|
A,
|
|
1233
1233
|
x
|
|
1234
|
-
]),
|
|
1234
|
+
]), P5 = (e1) => {
|
|
1235
1235
|
e1.code === "Space" && !u1 && e1.preventDefault(), Z?.(e1);
|
|
1236
|
-
},
|
|
1237
|
-
const A1 =
|
|
1236
|
+
}, Y5 = (e1) => {
|
|
1237
|
+
const A1 = G5(e1.target.value);
|
|
1238
1238
|
E(A1), H?.({
|
|
1239
1239
|
...e1,
|
|
1240
1240
|
target: { ...e1.target, value: A1 },
|
|
1241
1241
|
currentTarget: { ...e1.currentTarget, value: A1 }
|
|
1242
1242
|
});
|
|
1243
|
-
}, Y5 = (e1) => {
|
|
1244
|
-
$(!1), D && e && E(e.trim()), b?.(e1);
|
|
1245
1243
|
}, W5 = (e1) => {
|
|
1246
|
-
$(!
|
|
1244
|
+
$(!1), D && e && E(e.trim()), b?.(e1);
|
|
1247
1245
|
}, Q5 = (e1) => {
|
|
1246
|
+
$(!0), g?.(e1);
|
|
1247
|
+
}, X5 = (e1) => {
|
|
1248
1248
|
E("");
|
|
1249
1249
|
};
|
|
1250
1250
|
return /* @__PURE__ */ S.jsxs("label", { className: f1(u, "input"), children: [
|
|
@@ -1267,18 +1267,18 @@ const f1 = G(t3), n3 = {
|
|
|
1267
1267
|
className: f1("field"),
|
|
1268
1268
|
"data-type": n,
|
|
1269
1269
|
type: s1,
|
|
1270
|
-
value:
|
|
1270
|
+
value: D5,
|
|
1271
1271
|
disabled: i ?? c,
|
|
1272
|
-
onChange:
|
|
1273
|
-
onFocus:
|
|
1274
|
-
onBlur:
|
|
1275
|
-
onKeyDown:
|
|
1272
|
+
onChange: Y5,
|
|
1273
|
+
onFocus: Q5,
|
|
1274
|
+
onBlur: W5,
|
|
1275
|
+
onKeyDown: P5,
|
|
1276
1276
|
...a1
|
|
1277
1277
|
}
|
|
1278
1278
|
),
|
|
1279
1279
|
r1 && /* @__PURE__ */ S.jsxs("div", { className: f1("right"), children: [
|
|
1280
1280
|
c && /* @__PURE__ */ S.jsx(Q1, { className: f1("loader") }),
|
|
1281
|
-
q && !!e && /* @__PURE__ */ S.jsx(
|
|
1281
|
+
q && !!e && /* @__PURE__ */ S.jsx(c5, { type: "close", onClick: X5 }),
|
|
1282
1282
|
p && /* @__PURE__ */ S.jsx("div", { className: f1("suffix"), children: p }),
|
|
1283
1283
|
U && /* @__PURE__ */ S.jsx(
|
|
1284
1284
|
V8,
|
|
@@ -1290,7 +1290,7 @@ const f1 = G(t3), n3 = {
|
|
|
1290
1290
|
isPlaceholder: !e
|
|
1291
1291
|
}
|
|
1292
1292
|
),
|
|
1293
|
-
j && /* @__PURE__ */ S.jsx(T8, { increment:
|
|
1293
|
+
j && /* @__PURE__ */ S.jsx(T8, { increment: F5, decrement: q5 })
|
|
1294
1294
|
] })
|
|
1295
1295
|
]
|
|
1296
1296
|
}
|
|
@@ -1315,18 +1315,18 @@ const f1 = G(t3), n3 = {
|
|
|
1315
1315
|
disabled: C,
|
|
1316
1316
|
...i
|
|
1317
1317
|
}) => {
|
|
1318
|
-
const { control: c, clearErrors: u } = Y1(), { fieldState: a, field: p } = W1({ name: e, rules: t, control: c }), w = F(C), k = (f) => {
|
|
1319
|
-
o && o(
|
|
1318
|
+
const { control: c, clearErrors: u } = Y1(), { fieldState: a, field: p } = W1({ name: e, rules: t, control: c }), w = F(C), { t: k } = t5(), f = a?.error?.message || r || "", J = (h) => {
|
|
1319
|
+
o && o(h), p.onChange(h);
|
|
1320
1320
|
};
|
|
1321
1321
|
return Y(() => {
|
|
1322
1322
|
C !== w.current && s && (u(e), w.current = C);
|
|
1323
1323
|
}, [C]), /* @__PURE__ */ S.jsx(
|
|
1324
|
-
|
|
1324
|
+
d5,
|
|
1325
1325
|
{
|
|
1326
1326
|
...p,
|
|
1327
1327
|
isError: !!a?.error || n,
|
|
1328
|
-
errorText:
|
|
1329
|
-
onChangeValue:
|
|
1328
|
+
errorText: k(f),
|
|
1329
|
+
onChangeValue: J,
|
|
1330
1330
|
value: p.value,
|
|
1331
1331
|
disabled: C,
|
|
1332
1332
|
...i
|
|
@@ -1373,7 +1373,7 @@ const f1 = G(t3), n3 = {
|
|
|
1373
1373
|
]
|
|
1374
1374
|
}
|
|
1375
1375
|
) : /* @__PURE__ */ S.jsx(
|
|
1376
|
-
|
|
1376
|
+
l9,
|
|
1377
1377
|
{
|
|
1378
1378
|
to: w || "",
|
|
1379
1379
|
className: b2("link", c, {
|
|
@@ -1442,7 +1442,7 @@ const k3 = (e = "popup-root") => {
|
|
|
1442
1442
|
arrow: v3,
|
|
1443
1443
|
top: J3,
|
|
1444
1444
|
bottom: g3
|
|
1445
|
-
}, E3 = G(L3), T2 =
|
|
1445
|
+
}, E3 = G(L3), T2 = _5(null), R3 = () => `ddg_${w3()}`, p5 = ({
|
|
1446
1446
|
activeIndex: e,
|
|
1447
1447
|
onClose: t,
|
|
1448
1448
|
width: n,
|
|
@@ -1476,7 +1476,7 @@ const k3 = (e = "popup-root") => {
|
|
|
1476
1476
|
placementAlignment: V,
|
|
1477
1477
|
gap: i,
|
|
1478
1478
|
isPortal: J
|
|
1479
|
-
}), U =
|
|
1479
|
+
}), U = $5(T2), D = F(U ?? R3()).current, y = W(
|
|
1480
1480
|
(v) => (v && v.closest ? v.closest("[data-dd-root]") : null)?.getAttribute?.("data-dd-group") === D,
|
|
1481
1481
|
[D]
|
|
1482
1482
|
), N = F(null), x = F({
|
|
@@ -1583,7 +1583,7 @@ const k3 = (e = "popup-root") => {
|
|
|
1583
1583
|
"select-option-check-icon": "SelectOptionItem-module__select-option-check-icon___dN6mr"
|
|
1584
1584
|
};
|
|
1585
1585
|
var J1 = /* @__PURE__ */ ((e) => (e.VALUE = "value", e.MULTI = "multi", e.SINGLE = "single", e))(J1 || {});
|
|
1586
|
-
const m1 = G(M3), y1 =
|
|
1586
|
+
const m1 = G(M3), y1 = e9(
|
|
1587
1587
|
({
|
|
1588
1588
|
className: e,
|
|
1589
1589
|
labelClassName: t,
|
|
@@ -1612,7 +1612,7 @@ const m1 = G(M3), y1 = $5(
|
|
|
1612
1612
|
children: [
|
|
1613
1613
|
/* @__PURE__ */ S.jsxs("div", { className: m1("select-option-content"), children: [
|
|
1614
1614
|
n.suffix && /* @__PURE__ */ S.jsx("div", { className: m1("suffix"), children: n.suffix }),
|
|
1615
|
-
/* @__PURE__ */ S.jsx(
|
|
1615
|
+
/* @__PURE__ */ S.jsx(w5, { className: m1(t, "select-option-label"), children: n.label }),
|
|
1616
1616
|
n.prefix && /* @__PURE__ */ S.jsx("div", { className: m1("prefix"), children: n.prefix }),
|
|
1617
1617
|
c
|
|
1618
1618
|
] }),
|
|
@@ -1684,7 +1684,7 @@ const V3 = "SelectList-module__hasScroll___Pdpcl", Z3 = {
|
|
|
1684
1684
|
return Y(() => {
|
|
1685
1685
|
y();
|
|
1686
1686
|
}, [H]), /* @__PURE__ */ S.jsxs(
|
|
1687
|
-
|
|
1687
|
+
p5,
|
|
1688
1688
|
{
|
|
1689
1689
|
className: Z1("select-list"),
|
|
1690
1690
|
referenceRef: k,
|
|
@@ -1694,13 +1694,13 @@ const V3 = "SelectList-module__hasScroll___Pdpcl", Z3 = {
|
|
|
1694
1694
|
onClose: u,
|
|
1695
1695
|
children: [
|
|
1696
1696
|
Z && /* @__PURE__ */ S.jsx("div", { className: Z1("select-list-header"), children: i && /* @__PURE__ */ S.jsx(
|
|
1697
|
-
|
|
1697
|
+
d5,
|
|
1698
1698
|
{
|
|
1699
1699
|
value: f,
|
|
1700
1700
|
onChangeValue: J,
|
|
1701
1701
|
prefix: /* @__PURE__ */ S.jsx(n1, { type: "search" }),
|
|
1702
1702
|
placeholder: r || E("search"),
|
|
1703
|
-
size:
|
|
1703
|
+
size: u5.MEDIUM,
|
|
1704
1704
|
onKeyDown: N
|
|
1705
1705
|
}
|
|
1706
1706
|
) }),
|
|
@@ -1712,7 +1712,7 @@ const V3 = "SelectList-module__hasScroll___Pdpcl", Z3 = {
|
|
|
1712
1712
|
caption: E(q ? "resetAll" : "selectAll"),
|
|
1713
1713
|
onChange: D,
|
|
1714
1714
|
disabled: n,
|
|
1715
|
-
captionPosition:
|
|
1715
|
+
captionPosition: C5.LEFT
|
|
1716
1716
|
}
|
|
1717
1717
|
) }),
|
|
1718
1718
|
/* @__PURE__ */ S.jsx("div", { className: Z1("select-list-items", { hasScroll: h }), ref: g, children: j })
|
|
@@ -1762,7 +1762,7 @@ const t1 = G(B3), j3 = ({
|
|
|
1762
1762
|
isMulti: V,
|
|
1763
1763
|
disabled: Z
|
|
1764
1764
|
}) => {
|
|
1765
|
-
const b = F(null), g =
|
|
1765
|
+
const b = F(null), g = i5(), E = B(() => C && (V ? !!C.length : !!C), [C, V]), H = B(() => Z ?? a, [a, Z]), j = (y) => {
|
|
1766
1766
|
if (p)
|
|
1767
1767
|
if (V) {
|
|
1768
1768
|
const N = Array.isArray(C) ? C : [C].filter(Boolean);
|
|
@@ -1834,7 +1834,7 @@ const t1 = G(B3), j3 = ({
|
|
|
1834
1834
|
children: [
|
|
1835
1835
|
/* @__PURE__ */ S.jsxs("div", { className: t1("select-control-content"), children: [
|
|
1836
1836
|
r && /* @__PURE__ */ S.jsx(n1, { type: r, className: t1("select-control-icon") }),
|
|
1837
|
-
u && !E && /* @__PURE__ */ S.jsx(
|
|
1837
|
+
u && !E && /* @__PURE__ */ S.jsx(w5, { className: t1("select-placeholder"), children: u }),
|
|
1838
1838
|
E && /* @__PURE__ */ S.jsx("div", { className: t1("select-value"), children: q })
|
|
1839
1839
|
] }),
|
|
1840
1840
|
/* @__PURE__ */ S.jsxs("div", { className: t1("controls"), children: [
|
|
@@ -1843,8 +1843,8 @@ const t1 = G(B3), j3 = ({
|
|
|
1843
1843
|
{
|
|
1844
1844
|
prefix: "close",
|
|
1845
1845
|
onClick: D,
|
|
1846
|
-
size:
|
|
1847
|
-
variant:
|
|
1846
|
+
size: o5.SMALL,
|
|
1847
|
+
variant: l5.TERTIARY
|
|
1848
1848
|
}
|
|
1849
1849
|
),
|
|
1850
1850
|
!a && /* @__PURE__ */ S.jsx(
|
|
@@ -1914,7 +1914,7 @@ const t1 = G(B3), j3 = ({
|
|
|
1914
1914
|
...c
|
|
1915
1915
|
}
|
|
1916
1916
|
);
|
|
1917
|
-
}, O3 = "Tab-module__body___zdEiw", G3 = "Tab-module__disabled___trlpg", F3 = "Tab-module__count___1cJAl", q3 = "Tab-module__icon___Egl6j", D3 = "Tab-module__isActive___6LckD", P3 = "Tab-module__large___Px5Nl", Y3 = "Tab-module__loader___FWV8G",
|
|
1917
|
+
}, O3 = "Tab-module__body___zdEiw", G3 = "Tab-module__disabled___trlpg", F3 = "Tab-module__count___1cJAl", q3 = "Tab-module__icon___Egl6j", D3 = "Tab-module__isActive___6LckD", P3 = "Tab-module__large___Px5Nl", Y3 = "Tab-module__loader___FWV8G", f5 = {
|
|
1918
1918
|
body: O3,
|
|
1919
1919
|
disabled: G3,
|
|
1920
1920
|
count: F3,
|
|
@@ -1922,9 +1922,9 @@ const t1 = G(B3), j3 = ({
|
|
|
1922
1922
|
isActive: D3,
|
|
1923
1923
|
large: P3,
|
|
1924
1924
|
loader: Y3
|
|
1925
|
-
}, W3 = G(
|
|
1926
|
-
var
|
|
1927
|
-
const j1 = G(
|
|
1925
|
+
}, W3 = G(f5), N2 = ({ icon: e, isActive: t }) => /* @__PURE__ */ S.jsx("div", { className: W3("icon", { isActive: t }), children: typeof e == "string" ? /* @__PURE__ */ S.jsx(n1, { type: e }) : e });
|
|
1926
|
+
var m5 = /* @__PURE__ */ ((e) => (e.LARGE = "large", e))(m5 || {});
|
|
1927
|
+
const j1 = G(f5), Q3 = ({
|
|
1928
1928
|
value: e,
|
|
1929
1929
|
label: t,
|
|
1930
1930
|
size: n,
|
|
@@ -1936,7 +1936,7 @@ const j1 = G(p5), Q3 = ({
|
|
|
1936
1936
|
prefix: c,
|
|
1937
1937
|
suffix: u
|
|
1938
1938
|
}) => {
|
|
1939
|
-
const a =
|
|
1939
|
+
const a = t9();
|
|
1940
1940
|
return /* @__PURE__ */ S.jsxs(
|
|
1941
1941
|
"button",
|
|
1942
1942
|
{
|
|
@@ -1954,7 +1954,7 @@ const j1 = G(p5), Q3 = ({
|
|
|
1954
1954
|
);
|
|
1955
1955
|
}, X3 = {
|
|
1956
1956
|
"tab-list": "TabList-module__tab-list___MxoDu"
|
|
1957
|
-
}, z3 = G(X3), Ct = ({ tabs: e, size: t =
|
|
1957
|
+
}, z3 = G(X3), Ct = ({ tabs: e, size: t = m5.LARGE, value: n, onChange: r }) => /* @__PURE__ */ S.jsx("div", { className: z3("tab-list", t), children: e.map((o) => /* @__PURE__ */ S.jsx(
|
|
1958
1958
|
Q3,
|
|
1959
1959
|
{
|
|
1960
1960
|
label: o.label,
|
|
@@ -1976,7 +1976,7 @@ const j1 = G(p5), Q3 = ({
|
|
|
1976
1976
|
isResizeableVertical: t6,
|
|
1977
1977
|
isResizeableHorizontal: n6,
|
|
1978
1978
|
isResizeableBoth: r6
|
|
1979
|
-
}, A2 = G(l6),
|
|
1979
|
+
}, A2 = G(l6), S5 = n9(
|
|
1980
1980
|
({
|
|
1981
1981
|
value: e,
|
|
1982
1982
|
onFocus: t,
|
|
@@ -2000,7 +2000,7 @@ const j1 = G(p5), Q3 = ({
|
|
|
2000
2000
|
isTrimOnBlur: Z,
|
|
2001
2001
|
...b
|
|
2002
2002
|
}, g) => {
|
|
2003
|
-
const [E, H] = o1(!1), { apply: j, clean: U } =
|
|
2003
|
+
const [E, H] = o1(!1), { apply: j, clean: U } = s5({ mask: w, replacement: f, replacementPlaceholder: k }), q = B(() => {
|
|
2004
2004
|
if (e)
|
|
2005
2005
|
return j(e);
|
|
2006
2006
|
}, [e]), D = (T) => {
|
|
@@ -2051,7 +2051,7 @@ const j1 = G(p5), Q3 = ({
|
|
|
2051
2051
|
] });
|
|
2052
2052
|
}
|
|
2053
2053
|
);
|
|
2054
|
-
|
|
2054
|
+
S5.displayName = "Textarea";
|
|
2055
2055
|
const st = ({
|
|
2056
2056
|
name: e,
|
|
2057
2057
|
rules: t,
|
|
@@ -2068,7 +2068,7 @@ const st = ({
|
|
|
2068
2068
|
return Y(() => {
|
|
2069
2069
|
C !== w.current && s && (u(e), w.current = C);
|
|
2070
2070
|
}, [C]), /* @__PURE__ */ S.jsx(
|
|
2071
|
-
|
|
2071
|
+
S5,
|
|
2072
2072
|
{
|
|
2073
2073
|
...p,
|
|
2074
2074
|
isError: !!a?.error || n,
|
|
@@ -2091,7 +2091,7 @@ const st = ({
|
|
|
2091
2091
|
placementSide: C,
|
|
2092
2092
|
placementAlignment: i
|
|
2093
2093
|
}) => {
|
|
2094
|
-
const c = F(null), u =
|
|
2094
|
+
const c = F(null), u = i5(), a = () => {
|
|
2095
2095
|
r || u.open();
|
|
2096
2096
|
}, p = () => {
|
|
2097
2097
|
u.close();
|
|
@@ -2106,7 +2106,7 @@ const st = ({
|
|
|
2106
2106
|
children: [
|
|
2107
2107
|
t,
|
|
2108
2108
|
u.isOpen && /* @__PURE__ */ S.jsx(
|
|
2109
|
-
|
|
2109
|
+
p5,
|
|
2110
2110
|
{
|
|
2111
2111
|
className: B2("tooltip"),
|
|
2112
2112
|
portalId: e,
|
|
@@ -2130,7 +2130,7 @@ const st = ({
|
|
|
2130
2130
|
"text-shorter": "TextShorter-module__text-shorter___2XK8d",
|
|
2131
2131
|
content: s6,
|
|
2132
2132
|
isHidden: i6
|
|
2133
|
-
}, C2 = G(c6),
|
|
2133
|
+
}, C2 = G(c6), w5 = ({
|
|
2134
2134
|
tooltip: e = !0,
|
|
2135
2135
|
className: t,
|
|
2136
2136
|
children: n,
|
|
@@ -2148,28 +2148,28 @@ const st = ({
|
|
|
2148
2148
|
}
|
|
2149
2149
|
);
|
|
2150
2150
|
};
|
|
2151
|
-
function
|
|
2151
|
+
function k5(e, t) {
|
|
2152
2152
|
return function() {
|
|
2153
2153
|
return e.apply(t, arguments);
|
|
2154
2154
|
};
|
|
2155
2155
|
}
|
|
2156
|
-
const { toString: a6 } = Object.prototype, { getPrototypeOf: v2 } = Object, { iterator: X1, toStringTag:
|
|
2156
|
+
const { toString: a6 } = Object.prototype, { getPrototypeOf: v2 } = Object, { iterator: X1, toStringTag: h5 } = Symbol, z1 = /* @__PURE__ */ ((e) => (t) => {
|
|
2157
2157
|
const n = a6.call(t);
|
|
2158
2158
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2159
2159
|
})(/* @__PURE__ */ Object.create(null)), C1 = (e) => (e = e.toLowerCase(), (t) => z1(t) === e), _1 = (e) => (t) => typeof t === e, { isArray: R1 } = Array, E1 = _1("undefined");
|
|
2160
2160
|
function b1(e) {
|
|
2161
2161
|
return e !== null && !E1(e) && e.constructor !== null && !E1(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2162
2162
|
}
|
|
2163
|
-
const
|
|
2163
|
+
const v5 = C1("ArrayBuffer");
|
|
2164
2164
|
function u6(e) {
|
|
2165
2165
|
let t;
|
|
2166
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
2166
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && v5(e.buffer), t;
|
|
2167
2167
|
}
|
|
2168
|
-
const d6 = _1("string"), z = _1("function"),
|
|
2168
|
+
const d6 = _1("string"), z = _1("function"), J5 = _1("number"), I1 = (e) => e !== null && typeof e == "object", p6 = (e) => e === !0 || e === !1, G1 = (e) => {
|
|
2169
2169
|
if (z1(e) !== "object")
|
|
2170
2170
|
return !1;
|
|
2171
2171
|
const t = v2(e);
|
|
2172
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
2172
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(h5 in e) && !(X1 in e);
|
|
2173
2173
|
}, f6 = (e) => {
|
|
2174
2174
|
if (!I1(e) || b1(e))
|
|
2175
2175
|
return !1;
|
|
@@ -2199,7 +2199,7 @@ function U1(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
2199
2199
|
i = s[r], t.call(null, e[i], i, e);
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
|
2202
|
-
function
|
|
2202
|
+
function g5(e, t) {
|
|
2203
2203
|
if (b1(e))
|
|
2204
2204
|
return null;
|
|
2205
2205
|
t = t.toLowerCase();
|
|
@@ -2210,10 +2210,10 @@ function J5(e, t) {
|
|
|
2210
2210
|
return o;
|
|
2211
2211
|
return null;
|
|
2212
2212
|
}
|
|
2213
|
-
const S1 = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
2213
|
+
const S1 = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L5 = (e) => !E1(e) && e !== S1;
|
|
2214
2214
|
function d2() {
|
|
2215
|
-
const { caseless: e, skipUndefined: t } =
|
|
2216
|
-
const C = e &&
|
|
2215
|
+
const { caseless: e, skipUndefined: t } = L5(this) && this || {}, n = {}, r = (o, s) => {
|
|
2216
|
+
const C = e && g5(n, s) || s;
|
|
2217
2217
|
G1(n[C]) && G1(o) ? n[C] = d2(n[C], o) : G1(o) ? n[C] = d2({}, o) : R1(o) ? n[C] = o.slice() : (!t || !E1(o)) && (n[C] = o);
|
|
2218
2218
|
};
|
|
2219
2219
|
for (let o = 0, s = arguments.length; o < s; o++)
|
|
@@ -2221,7 +2221,7 @@ function d2() {
|
|
|
2221
2221
|
return n;
|
|
2222
2222
|
}
|
|
2223
2223
|
const M6 = (e, t, n, { allOwnKeys: r } = {}) => (U1(t, (o, s) => {
|
|
2224
|
-
n && z(o) ? e[s] =
|
|
2224
|
+
n && z(o) ? e[s] = k5(o, n) : e[s] = o;
|
|
2225
2225
|
}, { allOwnKeys: r }), e), V6 = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z6 = (e, t, n, r) => {
|
|
2226
2226
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
2227
2227
|
value: t.prototype
|
|
@@ -2244,7 +2244,7 @@ const M6 = (e, t, n, { allOwnKeys: r } = {}) => (U1(t, (o, s) => {
|
|
|
2244
2244
|
if (!e) return null;
|
|
2245
2245
|
if (R1(e)) return e;
|
|
2246
2246
|
let t = e.length;
|
|
2247
|
-
if (!
|
|
2247
|
+
if (!J5(t)) return null;
|
|
2248
2248
|
const n = new Array(t);
|
|
2249
2249
|
for (; t-- > 0; )
|
|
2250
2250
|
n[t] = e[t];
|
|
@@ -2267,14 +2267,14 @@ const M6 = (e, t, n, { allOwnKeys: r } = {}) => (U1(t, (o, s) => {
|
|
|
2267
2267
|
function(n, r, o) {
|
|
2268
2268
|
return r.toUpperCase() + o;
|
|
2269
2269
|
}
|
|
2270
|
-
), K2 = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), B6 = C1("RegExp"),
|
|
2270
|
+
), K2 = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), B6 = C1("RegExp"), E5 = (e, t) => {
|
|
2271
2271
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
2272
2272
|
U1(n, (o, s) => {
|
|
2273
2273
|
let C;
|
|
2274
2274
|
(C = t(o, s, e)) !== !1 && (r[s] = C || o);
|
|
2275
2275
|
}), Object.defineProperties(e, r);
|
|
2276
2276
|
}, K6 = (e) => {
|
|
2277
|
-
|
|
2277
|
+
E5(e, (t, n) => {
|
|
2278
2278
|
if (z(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
2279
2279
|
return !1;
|
|
2280
2280
|
const r = e[n];
|
|
@@ -2298,7 +2298,7 @@ const M6 = (e, t, n, { allOwnKeys: r } = {}) => (U1(t, (o, s) => {
|
|
|
2298
2298
|
}, O6 = () => {
|
|
2299
2299
|
}, G6 = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
2300
2300
|
function F6(e) {
|
|
2301
|
-
return !!(e && z(e.append) && e[
|
|
2301
|
+
return !!(e && z(e.append) && e[h5] === "FormData" && e[X1]);
|
|
2302
2302
|
}
|
|
2303
2303
|
const q6 = (e) => {
|
|
2304
2304
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -2319,21 +2319,21 @@ const q6 = (e) => {
|
|
|
2319
2319
|
return r;
|
|
2320
2320
|
};
|
|
2321
2321
|
return n(e, 0);
|
|
2322
|
-
}, D6 = C1("AsyncFunction"), P6 = (e) => e && (I1(e) || z(e)) && z(e.then) && z(e.catch),
|
|
2322
|
+
}, D6 = C1("AsyncFunction"), P6 = (e) => e && (I1(e) || z(e)) && z(e.then) && z(e.catch), R5 = ((e, t) => e ? setImmediate : t ? ((n, r) => (S1.addEventListener("message", ({ source: o, data: s }) => {
|
|
2323
2323
|
o === S1 && s === n && r.length && r.shift()();
|
|
2324
2324
|
}, !1), (o) => {
|
|
2325
2325
|
r.push(o), S1.postMessage(n, "*");
|
|
2326
2326
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
2327
2327
|
typeof setImmediate == "function",
|
|
2328
2328
|
z(S1.postMessage)
|
|
2329
|
-
), Y6 = typeof queueMicrotask < "u" ? queueMicrotask.bind(S1) : typeof process < "u" && process.nextTick ||
|
|
2329
|
+
), Y6 = typeof queueMicrotask < "u" ? queueMicrotask.bind(S1) : typeof process < "u" && process.nextTick || R5, W6 = (e) => e != null && z(e[X1]), d = {
|
|
2330
2330
|
isArray: R1,
|
|
2331
|
-
isArrayBuffer:
|
|
2331
|
+
isArrayBuffer: v5,
|
|
2332
2332
|
isBuffer: b1,
|
|
2333
2333
|
isFormData: v6,
|
|
2334
2334
|
isArrayBufferView: u6,
|
|
2335
2335
|
isString: d6,
|
|
2336
|
-
isNumber:
|
|
2336
|
+
isNumber: J5,
|
|
2337
2337
|
isBoolean: p6,
|
|
2338
2338
|
isObject: I1,
|
|
2339
2339
|
isPlainObject: G1,
|
|
@@ -2369,20 +2369,20 @@ const q6 = (e) => {
|
|
|
2369
2369
|
hasOwnProperty: K2,
|
|
2370
2370
|
hasOwnProp: K2,
|
|
2371
2371
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
2372
|
-
reduceDescriptors:
|
|
2372
|
+
reduceDescriptors: E5,
|
|
2373
2373
|
freezeMethods: K6,
|
|
2374
2374
|
toObjectSet: j6,
|
|
2375
2375
|
toCamelCase: A6,
|
|
2376
2376
|
noop: O6,
|
|
2377
2377
|
toFiniteNumber: G6,
|
|
2378
|
-
findKey:
|
|
2378
|
+
findKey: g5,
|
|
2379
2379
|
global: S1,
|
|
2380
|
-
isContextDefined:
|
|
2380
|
+
isContextDefined: L5,
|
|
2381
2381
|
isSpecCompliantForm: F6,
|
|
2382
2382
|
toJSONObject: q6,
|
|
2383
2383
|
isAsyncFn: D6,
|
|
2384
2384
|
isThenable: P6,
|
|
2385
|
-
setImmediate:
|
|
2385
|
+
setImmediate: R5,
|
|
2386
2386
|
asap: Y6,
|
|
2387
2387
|
isIterable: W6
|
|
2388
2388
|
};
|
|
@@ -2410,7 +2410,7 @@ d.inherits(M, Error, {
|
|
|
2410
2410
|
};
|
|
2411
2411
|
}
|
|
2412
2412
|
});
|
|
2413
|
-
const
|
|
2413
|
+
const x5 = M.prototype, M5 = {};
|
|
2414
2414
|
[
|
|
2415
2415
|
"ERR_BAD_OPTION_VALUE",
|
|
2416
2416
|
"ERR_BAD_OPTION",
|
|
@@ -2426,12 +2426,12 @@ const R5 = M.prototype, x5 = {};
|
|
|
2426
2426
|
"ERR_INVALID_URL"
|
|
2427
2427
|
// eslint-disable-next-line func-names
|
|
2428
2428
|
].forEach((e) => {
|
|
2429
|
-
|
|
2429
|
+
M5[e] = { value: e };
|
|
2430
2430
|
});
|
|
2431
|
-
Object.defineProperties(M,
|
|
2432
|
-
Object.defineProperty(
|
|
2431
|
+
Object.defineProperties(M, M5);
|
|
2432
|
+
Object.defineProperty(x5, "isAxiosError", { value: !0 });
|
|
2433
2433
|
M.from = (e, t, n, r, o, s) => {
|
|
2434
|
-
const C = Object.create(
|
|
2434
|
+
const C = Object.create(x5);
|
|
2435
2435
|
d.toFlatObject(e, C, function(a) {
|
|
2436
2436
|
return a !== Error.prototype;
|
|
2437
2437
|
}, (u) => u !== "isAxiosError");
|
|
@@ -2442,12 +2442,12 @@ const Q6 = null;
|
|
|
2442
2442
|
function p2(e) {
|
|
2443
2443
|
return d.isPlainObject(e) || d.isArray(e);
|
|
2444
2444
|
}
|
|
2445
|
-
function
|
|
2445
|
+
function V5(e) {
|
|
2446
2446
|
return d.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
2447
2447
|
}
|
|
2448
2448
|
function j2(e, t, n) {
|
|
2449
2449
|
return e ? e.concat(t).map(function(o, s) {
|
|
2450
|
-
return o =
|
|
2450
|
+
return o = V5(o), !n && s ? "[" + o + "]" : o;
|
|
2451
2451
|
}).join(n ? "." : "") : t;
|
|
2452
2452
|
}
|
|
2453
2453
|
function X6(e) {
|
|
@@ -2485,7 +2485,7 @@ function $1(e, t, n) {
|
|
|
2485
2485
|
if (d.endsWith(J, "{}"))
|
|
2486
2486
|
J = r ? J : J.slice(0, -2), f = JSON.stringify(f);
|
|
2487
2487
|
else if (d.isArray(f) && X6(f) || (d.isFileList(f) || d.endsWith(J, "[]")) && (R = d.toArray(f)))
|
|
2488
|
-
return J =
|
|
2488
|
+
return J = V5(J), R.forEach(function(Z, b) {
|
|
2489
2489
|
!(d.isUndefined(Z) || Z === null) && t.append(
|
|
2490
2490
|
// eslint-disable-next-line no-nested-ternary
|
|
2491
2491
|
C === !0 ? j2([J], b, s) : C === null ? J : J + "[]",
|
|
@@ -2536,11 +2536,11 @@ function O2(e) {
|
|
|
2536
2536
|
function J2(e, t) {
|
|
2537
2537
|
this._pairs = [], e && $1(e, this, t);
|
|
2538
2538
|
}
|
|
2539
|
-
const
|
|
2540
|
-
|
|
2539
|
+
const Z5 = J2.prototype;
|
|
2540
|
+
Z5.append = function(t, n) {
|
|
2541
2541
|
this._pairs.push([t, n]);
|
|
2542
2542
|
};
|
|
2543
|
-
|
|
2543
|
+
Z5.toString = function(t) {
|
|
2544
2544
|
const n = t ? function(r) {
|
|
2545
2545
|
return t.call(this, r, O2);
|
|
2546
2546
|
} : O2;
|
|
@@ -2551,7 +2551,7 @@ V5.toString = function(t) {
|
|
|
2551
2551
|
function _6(e) {
|
|
2552
2552
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
2553
2553
|
}
|
|
2554
|
-
function
|
|
2554
|
+
function H5(e, t, n) {
|
|
2555
2555
|
if (!t)
|
|
2556
2556
|
return e;
|
|
2557
2557
|
const r = n && n.encode || _6;
|
|
@@ -2620,7 +2620,7 @@ class G2 {
|
|
|
2620
2620
|
});
|
|
2621
2621
|
}
|
|
2622
2622
|
}
|
|
2623
|
-
const
|
|
2623
|
+
const y5 = {
|
|
2624
2624
|
silentJSONParsing: !0,
|
|
2625
2625
|
forcedJSONParsing: !0,
|
|
2626
2626
|
clarifyTimeoutError: !1
|
|
@@ -2664,7 +2664,7 @@ function ce(e) {
|
|
|
2664
2664
|
s = n[r], t[s] = e[s];
|
|
2665
2665
|
return t;
|
|
2666
2666
|
}
|
|
2667
|
-
function
|
|
2667
|
+
function b5(e) {
|
|
2668
2668
|
function t(n, r, o, s) {
|
|
2669
2669
|
let C = n[s++];
|
|
2670
2670
|
if (C === "__proto__") return !0;
|
|
@@ -2690,12 +2690,12 @@ function ae(e, t, n) {
|
|
|
2690
2690
|
return (n || JSON.stringify)(e);
|
|
2691
2691
|
}
|
|
2692
2692
|
const T1 = {
|
|
2693
|
-
transitional:
|
|
2693
|
+
transitional: y5,
|
|
2694
2694
|
adapter: ["xhr", "http", "fetch"],
|
|
2695
2695
|
transformRequest: [function(t, n) {
|
|
2696
2696
|
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = d.isObject(t);
|
|
2697
2697
|
if (s && d.isHTMLForm(t) && (t = new FormData(t)), d.isFormData(t))
|
|
2698
|
-
return o ? JSON.stringify(
|
|
2698
|
+
return o ? JSON.stringify(b5(t)) : t;
|
|
2699
2699
|
if (d.isArrayBuffer(t) || d.isBuffer(t) || d.isStream(t) || d.isFile(t) || d.isBlob(t) || d.isReadableStream(t))
|
|
2700
2700
|
return t;
|
|
2701
2701
|
if (d.isArrayBufferView(t))
|
|
@@ -2966,7 +2966,7 @@ function i2(e, t) {
|
|
|
2966
2966
|
s = i.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
2967
2967
|
}), o.normalize(), s;
|
|
2968
2968
|
}
|
|
2969
|
-
function
|
|
2969
|
+
function I5(e) {
|
|
2970
2970
|
return !!(e && e.__CANCEL__);
|
|
2971
2971
|
}
|
|
2972
2972
|
function x1(e, t, n) {
|
|
@@ -2975,7 +2975,7 @@ function x1(e, t, n) {
|
|
|
2975
2975
|
d.inherits(x1, M, {
|
|
2976
2976
|
__CANCEL__: !0
|
|
2977
2977
|
});
|
|
2978
|
-
function
|
|
2978
|
+
function U5(e, t, n) {
|
|
2979
2979
|
const r = n.config.validateStatus;
|
|
2980
2980
|
!n.status || !r || r(n.status) ? e(n) : t(new M(
|
|
2981
2981
|
"Request failed with status code " + n.status,
|
|
@@ -3081,7 +3081,7 @@ function ge(e) {
|
|
|
3081
3081
|
function Le(e, t) {
|
|
3082
3082
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
3083
3083
|
}
|
|
3084
|
-
function
|
|
3084
|
+
function T5(e, t, n) {
|
|
3085
3085
|
let r = !ge(t);
|
|
3086
3086
|
return e && (r || n == !1) ? Le(e, t) : t;
|
|
3087
3087
|
}
|
|
@@ -3150,10 +3150,10 @@ function k1(e, t) {
|
|
|
3150
3150
|
d.isUndefined(w) && p !== i || (n[a] = w);
|
|
3151
3151
|
}), n;
|
|
3152
3152
|
}
|
|
3153
|
-
const
|
|
3153
|
+
const N5 = (e) => {
|
|
3154
3154
|
const t = k1({}, e);
|
|
3155
3155
|
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: s, headers: C, auth: i } = t;
|
|
3156
|
-
if (t.headers = C = _.from(C), t.url =
|
|
3156
|
+
if (t.headers = C = _.from(C), t.url = H5(T5(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), i && C.set(
|
|
3157
3157
|
"Authorization",
|
|
3158
3158
|
"Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
|
|
3159
3159
|
), d.isFormData(n)) {
|
|
@@ -3173,7 +3173,7 @@ const T5 = (e) => {
|
|
|
3173
3173
|
return t;
|
|
3174
3174
|
}, Ee = typeof XMLHttpRequest < "u", Re = Ee && function(e) {
|
|
3175
3175
|
return new Promise(function(n, r) {
|
|
3176
|
-
const o =
|
|
3176
|
+
const o = N5(e);
|
|
3177
3177
|
let s = o.data;
|
|
3178
3178
|
const C = _.from(o.headers).normalize();
|
|
3179
3179
|
let { responseType: i, onUploadProgress: c, onDownloadProgress: u } = o, a, p, w, k, f;
|
|
@@ -3195,7 +3195,7 @@ const T5 = (e) => {
|
|
|
3195
3195
|
config: e,
|
|
3196
3196
|
request: h
|
|
3197
3197
|
};
|
|
3198
|
-
|
|
3198
|
+
U5(function(H) {
|
|
3199
3199
|
n(H), J();
|
|
3200
3200
|
}, function(H) {
|
|
3201
3201
|
r(H), J();
|
|
@@ -3210,7 +3210,7 @@ const T5 = (e) => {
|
|
|
3210
3210
|
E.event = b || null, r(E), h = null;
|
|
3211
3211
|
}, h.ontimeout = function() {
|
|
3212
3212
|
let b = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
3213
|
-
const g = o.transitional ||
|
|
3213
|
+
const g = o.transitional || y5;
|
|
3214
3214
|
o.timeoutErrorMessage && (b = o.timeoutErrorMessage), r(new M(
|
|
3215
3215
|
b,
|
|
3216
3216
|
g.clarifyTimeoutError ? M.ETIMEDOUT : M.ECONNABORTED,
|
|
@@ -3381,7 +3381,7 @@ const T5 = (e) => {
|
|
|
3381
3381
|
headers: j,
|
|
3382
3382
|
withCredentials: U = "same-origin",
|
|
3383
3383
|
fetchOptions: q
|
|
3384
|
-
} =
|
|
3384
|
+
} = N5(f), D = t || fetch;
|
|
3385
3385
|
H = H ? (H + "").toLowerCase() : "text";
|
|
3386
3386
|
let y = xe([V, Z && Z.toAbortSignal()], b), N = null;
|
|
3387
3387
|
const x = y && y.unsubscribe && (() => {
|
|
@@ -3435,7 +3435,7 @@ const T5 = (e) => {
|
|
|
3435
3435
|
H = H || "text";
|
|
3436
3436
|
let a1 = await p[d.findKey(p, H) || "text"](Q, f);
|
|
3437
3437
|
return !c1 && x && x(), await new Promise((m, v) => {
|
|
3438
|
-
|
|
3438
|
+
U5(m, v, {
|
|
3439
3439
|
data: a1,
|
|
3440
3440
|
headers: _.from(Q.headers),
|
|
3441
3441
|
status: Q.status,
|
|
@@ -3453,7 +3453,7 @@ const T5 = (e) => {
|
|
|
3453
3453
|
) : M.from(A, A && A.code, f, N);
|
|
3454
3454
|
}
|
|
3455
3455
|
};
|
|
3456
|
-
}, be = /* @__PURE__ */ new Map(),
|
|
3456
|
+
}, be = /* @__PURE__ */ new Map(), A5 = (e) => {
|
|
3457
3457
|
let t = e && e.env || {};
|
|
3458
3458
|
const { fetch: n, Request: r, Response: o } = t, s = [
|
|
3459
3459
|
r,
|
|
@@ -3465,12 +3465,12 @@ const T5 = (e) => {
|
|
|
3465
3465
|
c = s[i], u = a.get(c), u === void 0 && a.set(c, u = i ? /* @__PURE__ */ new Map() : ye(t)), a = u;
|
|
3466
3466
|
return u;
|
|
3467
3467
|
};
|
|
3468
|
-
|
|
3468
|
+
A5();
|
|
3469
3469
|
const L2 = {
|
|
3470
3470
|
http: Q6,
|
|
3471
3471
|
xhr: Re,
|
|
3472
3472
|
fetch: {
|
|
3473
|
-
get:
|
|
3473
|
+
get: A5
|
|
3474
3474
|
}
|
|
3475
3475
|
};
|
|
3476
3476
|
d.forEach(L2, (e, t) => {
|
|
@@ -3511,7 +3511,7 @@ function Ue(e, t) {
|
|
|
3511
3511
|
}
|
|
3512
3512
|
return o;
|
|
3513
3513
|
}
|
|
3514
|
-
const
|
|
3514
|
+
const B5 = {
|
|
3515
3515
|
/**
|
|
3516
3516
|
* Resolve an adapter from a list of adapter names or functions.
|
|
3517
3517
|
* @type {Function}
|
|
@@ -3531,21 +3531,21 @@ function $2(e) {
|
|
|
3531
3531
|
return c2(e), e.headers = _.from(e.headers), e.data = i2.call(
|
|
3532
3532
|
e,
|
|
3533
3533
|
e.transformRequest
|
|
3534
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
3534
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), B5.getAdapter(e.adapter || T1.adapter, e)(e).then(function(r) {
|
|
3535
3535
|
return c2(e), r.data = i2.call(
|
|
3536
3536
|
e,
|
|
3537
3537
|
e.transformResponse,
|
|
3538
3538
|
r
|
|
3539
3539
|
), r.headers = _.from(r.headers), r;
|
|
3540
3540
|
}, function(r) {
|
|
3541
|
-
return
|
|
3541
|
+
return I5(r) || (c2(e), r && r.response && (r.response.data = i2.call(
|
|
3542
3542
|
e,
|
|
3543
3543
|
e.transformResponse,
|
|
3544
3544
|
r.response
|
|
3545
3545
|
), r.response.headers = _.from(r.response.headers))), Promise.reject(r);
|
|
3546
3546
|
});
|
|
3547
3547
|
}
|
|
3548
|
-
const
|
|
3548
|
+
const K5 = "1.13.2", e2 = {};
|
|
3549
3549
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
3550
3550
|
e2[e] = function(r) {
|
|
3551
3551
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -3554,7 +3554,7 @@ const B5 = "1.13.2", e2 = {};
|
|
|
3554
3554
|
const e5 = {};
|
|
3555
3555
|
e2.transitional = function(t, n, r) {
|
|
3556
3556
|
function o(s, C) {
|
|
3557
|
-
return "[Axios v" +
|
|
3557
|
+
return "[Axios v" + K5 + "] Transitional option '" + s + "'" + C + (r ? ". " + r : "");
|
|
3558
3558
|
}
|
|
3559
3559
|
return (s, C, i) => {
|
|
3560
3560
|
if (t === !1)
|
|
@@ -3690,8 +3690,8 @@ let w1 = class {
|
|
|
3690
3690
|
}
|
|
3691
3691
|
getUri(t) {
|
|
3692
3692
|
t = k1(this.defaults, t);
|
|
3693
|
-
const n =
|
|
3694
|
-
return
|
|
3693
|
+
const n = T5(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
3694
|
+
return H5(n, t.params, t.paramsSerializer);
|
|
3695
3695
|
}
|
|
3696
3696
|
};
|
|
3697
3697
|
d.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -3718,7 +3718,7 @@ d.forEach(["post", "put", "patch"], function(t) {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
w1.prototype[t] = n(), w1.prototype[t + "Form"] = n(!0);
|
|
3720
3720
|
});
|
|
3721
|
-
let Ne = class
|
|
3721
|
+
let Ne = class j5 {
|
|
3722
3722
|
constructor(t) {
|
|
3723
3723
|
if (typeof t != "function")
|
|
3724
3724
|
throw new TypeError("executor must be a function.");
|
|
@@ -3784,7 +3784,7 @@ let Ne = class K5 {
|
|
|
3784
3784
|
static source() {
|
|
3785
3785
|
let t;
|
|
3786
3786
|
return {
|
|
3787
|
-
token: new
|
|
3787
|
+
token: new j5(function(o) {
|
|
3788
3788
|
t = o;
|
|
3789
3789
|
}),
|
|
3790
3790
|
cancel: t
|
|
@@ -3873,18 +3873,18 @@ const m2 = {
|
|
|
3873
3873
|
Object.entries(m2).forEach(([e, t]) => {
|
|
3874
3874
|
m2[t] = e;
|
|
3875
3875
|
});
|
|
3876
|
-
function
|
|
3877
|
-
const t = new w1(e), n =
|
|
3876
|
+
function O5(e) {
|
|
3877
|
+
const t = new w1(e), n = k5(w1.prototype.request, t);
|
|
3878
3878
|
return d.extend(n, w1.prototype, t, { allOwnKeys: !0 }), d.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
3879
|
-
return
|
|
3879
|
+
return O5(k1(e, o));
|
|
3880
3880
|
}, n;
|
|
3881
3881
|
}
|
|
3882
|
-
const O =
|
|
3882
|
+
const O = O5(T1);
|
|
3883
3883
|
O.Axios = w1;
|
|
3884
3884
|
O.CanceledError = x1;
|
|
3885
3885
|
O.CancelToken = Ne;
|
|
3886
|
-
O.isCancel =
|
|
3887
|
-
O.VERSION =
|
|
3886
|
+
O.isCancel = I5;
|
|
3887
|
+
O.VERSION = K5;
|
|
3888
3888
|
O.toFormData = $1;
|
|
3889
3889
|
O.AxiosError = M;
|
|
3890
3890
|
O.Cancel = O.CanceledError;
|
|
@@ -3895,8 +3895,8 @@ O.spread = Ae;
|
|
|
3895
3895
|
O.isAxiosError = Be;
|
|
3896
3896
|
O.mergeConfig = k1;
|
|
3897
3897
|
O.AxiosHeaders = _;
|
|
3898
|
-
O.formToJSON = (e) =>
|
|
3899
|
-
O.getAdapter =
|
|
3898
|
+
O.formToJSON = (e) => b5(d.isHTMLForm(e) ? new FormData(e) : e);
|
|
3899
|
+
O.getAdapter = B5.getAdapter;
|
|
3900
3900
|
O.HttpStatusCode = m2;
|
|
3901
3901
|
O.default = O;
|
|
3902
3902
|
const {
|
|
@@ -3991,11 +3991,11 @@ class Mt {
|
|
|
3991
3991
|
}
|
|
3992
3992
|
export {
|
|
3993
3993
|
N9 as Button,
|
|
3994
|
-
|
|
3995
|
-
|
|
3994
|
+
o5 as ButtonSizes,
|
|
3995
|
+
l5 as ButtonVariants,
|
|
3996
3996
|
S2 as Caption,
|
|
3997
3997
|
w2 as Checkbox,
|
|
3998
|
-
|
|
3998
|
+
C5 as CheckboxCaptionPosition,
|
|
3999
3999
|
_0 as CheckboxSizes,
|
|
4000
4000
|
a2 as CheckboxVariants,
|
|
4001
4001
|
u2 as DEFAULT_MASK_PLACEHOLDER,
|
|
@@ -4009,13 +4009,13 @@ export {
|
|
|
4009
4009
|
Xe as ICON_TYPE_NAMES,
|
|
4010
4010
|
n1 as Icon,
|
|
4011
4011
|
L1 as IconSize,
|
|
4012
|
-
|
|
4013
|
-
|
|
4012
|
+
d5 as Input,
|
|
4013
|
+
u5 as InputSizes,
|
|
4014
4014
|
lt as Link,
|
|
4015
4015
|
Q1 as Loader,
|
|
4016
4016
|
f9 as PlacementAlignment,
|
|
4017
|
-
|
|
4018
|
-
|
|
4017
|
+
n5 as PlacementSide,
|
|
4018
|
+
p5 as Popover,
|
|
4019
4019
|
U2 as Portal,
|
|
4020
4020
|
xt as RestService,
|
|
4021
4021
|
j3 as Select,
|
|
@@ -4027,9 +4027,9 @@ export {
|
|
|
4027
4027
|
S9 as THOUSAND_SEPARATOR_REGEXP,
|
|
4028
4028
|
Q3 as Tab,
|
|
4029
4029
|
Ct as TabList,
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4030
|
+
m5 as TabSize,
|
|
4031
|
+
w5 as TextShorter,
|
|
4032
|
+
S5 as Textarea,
|
|
4033
4033
|
h2 as Tooltip,
|
|
4034
4034
|
D1 as UI_KIT_NS,
|
|
4035
4035
|
G as bindStyles,
|
|
@@ -4050,8 +4050,8 @@ export {
|
|
|
4050
4050
|
$e as useDebounce,
|
|
4051
4051
|
l8 as useFloating,
|
|
4052
4052
|
o8 as useHidden,
|
|
4053
|
-
|
|
4054
|
-
|
|
4053
|
+
s5 as useMask,
|
|
4054
|
+
i5 as useOpenState,
|
|
4055
4055
|
c8 as usePersistedState,
|
|
4056
4056
|
et as usePolling,
|
|
4057
4057
|
tt as useTheme,
|