affiliate-front-shared 1.3.7 → 1.3.9
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 +100 -73
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +73 -45
- package/dist/index.mjs.map +1 -1
- package/dist/styled-components/StyledSelect.d.ts +13 -0
- package/dist/styled-components/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -48,4 +48,4 @@ export { handleDictionarySelectFilter } from './utils/antdFunction';
|
|
|
48
48
|
export { showByType } from './utils/showByType';
|
|
49
49
|
export { parseCommissionErrors } from './utils/parseCommissionErrors';
|
|
50
50
|
export type { ParsedCommissionError } from './utils/parseCommissionErrors';
|
|
51
|
-
export { StyledEmpty, StyledTable, StyledBreadcrumb } from './styled-components';
|
|
51
|
+
export { StyledEmpty, StyledTable, StyledBreadcrumb, StyledSelect } from './styled-components';
|
package/dist/index.mjs
CHANGED
|
@@ -3,8 +3,8 @@ var Er = (n, e, t) => e in n ? Or(n, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Be = (n, e, t) => Er(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { jsx as s, Fragment as ie, jsxs as y } from "react/jsx-runtime";
|
|
5
5
|
import * as H from "react";
|
|
6
|
-
import qt, { createContext as Jt, useContext as
|
|
7
|
-
import { Menu as Qt, DatePicker as Xt, Table as
|
|
6
|
+
import qt, { createContext as Jt, useContext as dt, useEffect as Y, useState as j, useRef as Xe, useMemo as Ce } from "react";
|
|
7
|
+
import { Menu as Qt, DatePicker as Xt, Table as pt, Dropdown as xe, Select as et, Input as tt, Modal as er, Button as Oe, notification as kt, Form as ke, Checkbox as Ir, Skeleton as Tr, Pagination as zr, Breadcrumb as Mr, Spin as tr, Empty as rr, Tabs as Pr } from "antd";
|
|
8
8
|
import m, { keyframes as Hr } from "styled-components";
|
|
9
9
|
import { useNavigate as Ee, useLocation as Ve, useSearchParams as Rr, UNSAFE_NavigationContext as Nr } from "react-router";
|
|
10
10
|
import { create as nr, useStore as Fr } from "zustand";
|
|
@@ -23,7 +23,7 @@ function pa({
|
|
|
23
23
|
return /* @__PURE__ */ s(or.Provider, { value: n, children: e });
|
|
24
24
|
}
|
|
25
25
|
function Ie() {
|
|
26
|
-
return
|
|
26
|
+
return dt(or);
|
|
27
27
|
}
|
|
28
28
|
let he = (n) => n;
|
|
29
29
|
function St(n) {
|
|
@@ -762,7 +762,7 @@ const Dt = (n) => {
|
|
|
762
762
|
const e = Xe();
|
|
763
763
|
return e.current || (e.current = $n()), /* @__PURE__ */ s(cr.Provider, { value: e.current, children: n });
|
|
764
764
|
}, D = (n) => {
|
|
765
|
-
const e =
|
|
765
|
+
const e = dt(cr);
|
|
766
766
|
if (!e) throw new Error("GridViewStoreProvider is missing");
|
|
767
767
|
return Fr(e, n);
|
|
768
768
|
}, On = () => {
|
|
@@ -937,7 +937,7 @@ const { RangePicker: In } = Xt, Tn = m.div`
|
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
`, Mn = m.div``;
|
|
940
|
-
m(
|
|
940
|
+
m(pt)`
|
|
941
941
|
.ant-table-thead {
|
|
942
942
|
tr {
|
|
943
943
|
th {
|
|
@@ -1086,7 +1086,7 @@ const ft = m.div`
|
|
|
1086
1086
|
inset-inline-start: 16px !important;
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
|
-
`,
|
|
1089
|
+
`, st = m.div`
|
|
1090
1090
|
display: flex;
|
|
1091
1091
|
color: var(--color-text-secondary, rgba(19, 20, 18, 0.75));
|
|
1092
1092
|
font-family: var(--text-font-family-base, Geist);
|
|
@@ -1392,7 +1392,7 @@ const ft = m.div`
|
|
|
1392
1392
|
),
|
|
1393
1393
|
setTitle: (r) => n((o) => o.options ? { options: { ...o.options, title: r } } : o)
|
|
1394
1394
|
};
|
|
1395
|
-
}), Et = m(
|
|
1395
|
+
}), Et = m(et)`
|
|
1396
1396
|
width: 200px;
|
|
1397
1397
|
|
|
1398
1398
|
display: flex;
|
|
@@ -1915,7 +1915,7 @@ const Zn = (n) => /* @__PURE__ */ H.createElement("svg", { width: 16, height: 16
|
|
|
1915
1915
|
|
|
1916
1916
|
border-radius: var(--border-radius-025, 2px);
|
|
1917
1917
|
padding-bottom: var(--spacing-200, 16px);
|
|
1918
|
-
`, Qn = m(
|
|
1918
|
+
`, Qn = m(et)`
|
|
1919
1919
|
width: 100%;
|
|
1920
1920
|
|
|
1921
1921
|
min-height: 40px;
|
|
@@ -2163,7 +2163,7 @@ m(Oe)`
|
|
|
2163
2163
|
background: var(--color-bg-status-error, #fd7f60) !important;
|
|
2164
2164
|
}
|
|
2165
2165
|
`;
|
|
2166
|
-
const mr = m(
|
|
2166
|
+
const mr = m(tt)`
|
|
2167
2167
|
input[type='number'] {
|
|
2168
2168
|
&::-webkit-outer-spin-button,
|
|
2169
2169
|
&::-webkit-inner-spin-button {
|
|
@@ -2494,7 +2494,7 @@ const no = ({
|
|
|
2494
2494
|
children: I[((O = n == null ? void 0 : n.filters) == null ? void 0 : O.type) || ue.INPUT]
|
|
2495
2495
|
}
|
|
2496
2496
|
);
|
|
2497
|
-
return /* @__PURE__ */ y(
|
|
2497
|
+
return /* @__PURE__ */ y(st, { children: [
|
|
2498
2498
|
/* @__PURE__ */ s(mt, { placement: "bottomLeft", onSelect: g, children: /* @__PURE__ */ y("span", { children: [
|
|
2499
2499
|
/* @__PURE__ */ s(pr, {}),
|
|
2500
2500
|
n.title
|
|
@@ -2571,12 +2571,12 @@ const no = ({
|
|
|
2571
2571
|
}), l();
|
|
2572
2572
|
}
|
|
2573
2573
|
return /* @__PURE__ */ y(Pn, { children: [
|
|
2574
|
-
e.length > 0 && /* @__PURE__ */ s(fr, { placement: "bottomLeft", children: /* @__PURE__ */ s(
|
|
2574
|
+
e.length > 0 && /* @__PURE__ */ s(fr, { placement: "bottomLeft", children: /* @__PURE__ */ s(st, { className: "sort", children: /* @__PURE__ */ y("span", { children: [
|
|
2575
2575
|
e[0].title,
|
|
2576
2576
|
e[0].direction == re.ASC ? /* @__PURE__ */ s(ht, {}) : /* @__PURE__ */ s(gt, {})
|
|
2577
2577
|
] }) }) }),
|
|
2578
2578
|
n.map((h) => /* @__PURE__ */ s(so, { item: h }, h.title)),
|
|
2579
|
-
/* @__PURE__ */ s(mt, { placement: "bottomLeft", children: /* @__PURE__ */ s(
|
|
2579
|
+
/* @__PURE__ */ s(mt, { placement: "bottomLeft", children: /* @__PURE__ */ s(st, { className: "add-filter", children: /* @__PURE__ */ y("span", { children: [
|
|
2580
2580
|
/* @__PURE__ */ s(Kn, {}),
|
|
2581
2581
|
"AddFilter"
|
|
2582
2582
|
] }) }) }),
|
|
@@ -3993,7 +3993,7 @@ m.div`
|
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
`;
|
|
3996
|
-
m(
|
|
3996
|
+
m(tt.Password)`
|
|
3997
3997
|
input[type='number'] {
|
|
3998
3998
|
&::-webkit-outer-spin-button,
|
|
3999
3999
|
&::-webkit-inner-spin-button {
|
|
@@ -4267,7 +4267,7 @@ const Wo = {
|
|
|
4267
4267
|
{
|
|
4268
4268
|
className: g.length > 0 ? "verification-error" : "",
|
|
4269
4269
|
children: [
|
|
4270
|
-
/* @__PURE__ */ s(
|
|
4270
|
+
/* @__PURE__ */ s(tt.OTP, { value: u, onChange: I }),
|
|
4271
4271
|
/* @__PURE__ */ y(Mo, { children: [
|
|
4272
4272
|
ee("DidnReceiveCode"),
|
|
4273
4273
|
" ",
|
|
@@ -4389,7 +4389,7 @@ const Wo = {
|
|
|
4389
4389
|
/* @__PURE__ */ s("ul", { className: "grouping-list", children: /* @__PURE__ */ y("li", { children: [
|
|
4390
4390
|
/* @__PURE__ */ s("span", { children: B("Grouping") }),
|
|
4391
4391
|
/* @__PURE__ */ s(
|
|
4392
|
-
|
|
4392
|
+
et,
|
|
4393
4393
|
{
|
|
4394
4394
|
className: "teeest",
|
|
4395
4395
|
showSearch: !0,
|
|
@@ -4699,7 +4699,7 @@ const Wo = {
|
|
|
4699
4699
|
/* @__PURE__ */ s("div", { children: t && t })
|
|
4700
4700
|
] });
|
|
4701
4701
|
};
|
|
4702
|
-
var
|
|
4702
|
+
var lt = /* @__PURE__ */ ((n) => (n[n.None = 1] = "None", n[n.OTP = 2] = "OTP", n[n.TOTP = 3] = "TOTP", n[n.BackupCode = 4] = "BackupCode", n))(lt || {});
|
|
4703
4703
|
const ti = {
|
|
4704
4704
|
1: "",
|
|
4705
4705
|
2: "OtpDesc",
|
|
@@ -4769,7 +4769,7 @@ const ti = {
|
|
|
4769
4769
|
{
|
|
4770
4770
|
className: A.length > 0 ? "verification-error" : "",
|
|
4771
4771
|
children: [
|
|
4772
|
-
/* @__PURE__ */ s(
|
|
4772
|
+
/* @__PURE__ */ s(tt.OTP, { value: u, onChange: K }),
|
|
4773
4773
|
A.map((z) => /* @__PURE__ */ y("span", { children: [
|
|
4774
4774
|
/* @__PURE__ */ s(Ct, {}),
|
|
4775
4775
|
z.errors[0]
|
|
@@ -4783,7 +4783,7 @@ const ti = {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
),
|
|
4785
4785
|
/* @__PURE__ */ y(br, { children: [
|
|
4786
|
-
t !==
|
|
4786
|
+
t !== lt.TOTP && /* @__PURE__ */ s(
|
|
4787
4787
|
xt,
|
|
4788
4788
|
{
|
|
4789
4789
|
disabled: g,
|
|
@@ -4795,7 +4795,7 @@ const ti = {
|
|
|
4795
4795
|
Ke,
|
|
4796
4796
|
{
|
|
4797
4797
|
onClick: V,
|
|
4798
|
-
disabled: (u == null ? void 0 : u.length) !== 6 && t !==
|
|
4798
|
+
disabled: (u == null ? void 0 : u.length) !== 6 && t !== lt.TOTP,
|
|
4799
4799
|
children: [
|
|
4800
4800
|
/* @__PURE__ */ y("span", { children: [
|
|
4801
4801
|
" ",
|
|
@@ -4898,7 +4898,7 @@ const ni = m(tr)`
|
|
|
4898
4898
|
flex-direction: column;
|
|
4899
4899
|
justify-content: space-between;
|
|
4900
4900
|
animation: unset;
|
|
4901
|
-
`,
|
|
4901
|
+
`, nt = m.div`
|
|
4902
4902
|
display: flex;
|
|
4903
4903
|
margin-bottom: 2px;
|
|
4904
4904
|
justify-content: space-between;
|
|
@@ -4950,11 +4950,11 @@ const ni = m(tr)`
|
|
|
4950
4950
|
/* @__PURE__ */ s(ai, {}),
|
|
4951
4951
|
/* @__PURE__ */ s(pe, {}),
|
|
4952
4952
|
/* @__PURE__ */ s(li, { children: [...Array(7)].map((n, e) => /* @__PURE__ */ s(ci, {}, e)) }),
|
|
4953
|
-
/* @__PURE__ */ s(
|
|
4953
|
+
/* @__PURE__ */ s(nt, { children: [...Array(5)].map((n, e) => /* @__PURE__ */ s(Ze, { children: /* @__PURE__ */ s(Rt, {}) }, e)) }),
|
|
4954
4954
|
/* @__PURE__ */ y(di, { children: [
|
|
4955
4955
|
/* @__PURE__ */ s(pe, { width: "20%", height: "18px", marginbottom: "10px" }),
|
|
4956
4956
|
/* @__PURE__ */ s(pe, { width: "20%", height: "18px", marginbottom: "20px" }),
|
|
4957
|
-
/* @__PURE__ */ y(
|
|
4957
|
+
/* @__PURE__ */ y(nt, { children: [
|
|
4958
4958
|
/* @__PURE__ */ s(pe, { width: "12%", height: "18px", marginbottom: "10" }),
|
|
4959
4959
|
/* @__PURE__ */ s(pe, { width: "12%", height: "18px", marginbottom: "10" }),
|
|
4960
4960
|
/* @__PURE__ */ s(pe, { width: "12%", height: "18px", marginbottom: "10" }),
|
|
@@ -4963,8 +4963,8 @@ const ni = m(tr)`
|
|
|
4963
4963
|
/* @__PURE__ */ s(pe, { width: "12%", height: "18px", marginbottom: "10px" })
|
|
4964
4964
|
] })
|
|
4965
4965
|
] }),
|
|
4966
|
-
/* @__PURE__ */ s(
|
|
4967
|
-
] }), pi = m(
|
|
4966
|
+
/* @__PURE__ */ s(nt, { children: [...Array(5)].map((n, e) => /* @__PURE__ */ s(Ze, { children: /* @__PURE__ */ s(Rt, {}) }, e)) })
|
|
4967
|
+
] }), pi = m(pt)`
|
|
4968
4968
|
.ant-table-thead > tr > th {
|
|
4969
4969
|
background: var(--color-bg-primary, #fff);
|
|
4970
4970
|
color: var(--color-text-secondary, rgba(19, 20, 18, 0.75));
|
|
@@ -5323,7 +5323,7 @@ const ki = [" ", ",", "?", "!", ";"], Si = new Ci(20), Li = (n, e, t) => {
|
|
|
5323
5323
|
a > 0 && !o.test(n.substring(0, a)) && (i = !0);
|
|
5324
5324
|
}
|
|
5325
5325
|
return i;
|
|
5326
|
-
},
|
|
5326
|
+
}, ct = (n, e, t = ".") => {
|
|
5327
5327
|
if (!n) return;
|
|
5328
5328
|
if (n[e])
|
|
5329
5329
|
return Object.prototype.hasOwnProperty.call(n, e) ? n[e] : void 0;
|
|
@@ -5392,7 +5392,7 @@ class Je {
|
|
|
5392
5392
|
}
|
|
5393
5393
|
}
|
|
5394
5394
|
var le = new Je();
|
|
5395
|
-
class
|
|
5395
|
+
class rt {
|
|
5396
5396
|
constructor() {
|
|
5397
5397
|
this.observers = {};
|
|
5398
5398
|
}
|
|
@@ -5428,7 +5428,7 @@ class tt {
|
|
|
5428
5428
|
});
|
|
5429
5429
|
}
|
|
5430
5430
|
}
|
|
5431
|
-
class jt extends
|
|
5431
|
+
class jt extends rt {
|
|
5432
5432
|
constructor(e, t = {
|
|
5433
5433
|
ns: ["translation"],
|
|
5434
5434
|
defaultNS: "translation"
|
|
@@ -5448,7 +5448,7 @@ class jt extends tt {
|
|
|
5448
5448
|
let l;
|
|
5449
5449
|
e.includes(".") ? l = e.split(".") : (l = [e, t], r && (Array.isArray(r) ? l.push(...r) : R(r) && i ? l.push(...r.split(i)) : l.push(r)));
|
|
5450
5450
|
const d = qe(this.data, l);
|
|
5451
|
-
return !d && !t && !r && e.includes(".") && (e = l[0], t = l[1], r = l.slice(2).join(".")), d || !a || !R(r) ? d :
|
|
5451
|
+
return !d && !t && !r && e.includes(".") && (e = l[0], t = l[1], r = l.slice(2).join(".")), d || !a || !R(r) ? d : ct((u = (c = this.data) == null ? void 0 : c[e]) == null ? void 0 : u[t], r, i);
|
|
5452
5452
|
}
|
|
5453
5453
|
addResource(e, t, r, o, i = {
|
|
5454
5454
|
silent: !1
|
|
@@ -5530,8 +5530,8 @@ function Le(n, e) {
|
|
|
5530
5530
|
}
|
|
5531
5531
|
return t.join(r);
|
|
5532
5532
|
}
|
|
5533
|
-
const
|
|
5534
|
-
class Qe extends
|
|
5533
|
+
const ot = (n) => !R(n) && typeof n != "boolean" && typeof n != "number";
|
|
5534
|
+
class Qe extends rt {
|
|
5535
5535
|
constructor(e, t = {}) {
|
|
5536
5536
|
super(), mi(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = le.create("translator"), this.checkedLoadedFor = {};
|
|
5537
5537
|
}
|
|
@@ -5547,7 +5547,7 @@ class Qe extends tt {
|
|
|
5547
5547
|
if (e == null) return !1;
|
|
5548
5548
|
const o = this.resolve(e, r);
|
|
5549
5549
|
if ((o == null ? void 0 : o.res) === void 0) return !1;
|
|
5550
|
-
const i =
|
|
5550
|
+
const i = ot(o.res);
|
|
5551
5551
|
return !(r.returnObjects === !1 && i);
|
|
5552
5552
|
}
|
|
5553
5553
|
extractFromKey(e, t) {
|
|
@@ -5615,7 +5615,7 @@ class Qe extends tt {
|
|
|
5615
5615
|
}) : "", K = T && !o.ordinal && o.count === 0, z = K && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${G}`] || o[`defaultValue${_}`] || o.defaultValue;
|
|
5616
5616
|
let O = h;
|
|
5617
5617
|
$ && !h && V && (O = z);
|
|
5618
|
-
const w =
|
|
5618
|
+
const w = ot(O), N = Object.prototype.toString.apply(O);
|
|
5619
5619
|
if ($ && O && w && !A.includes(N) && !(R(S) && Array.isArray(O))) {
|
|
5620
5620
|
if (!o.returnObjects && !this.options.returnObjects) {
|
|
5621
5621
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
@@ -5632,7 +5632,7 @@ class Qe extends tt {
|
|
|
5632
5632
|
const b = `${k}${a}${v}`;
|
|
5633
5633
|
V && !h ? L[v] = this.translate(b, {
|
|
5634
5634
|
...o,
|
|
5635
|
-
defaultValue:
|
|
5635
|
+
defaultValue: ot(z) ? z[v] : void 0,
|
|
5636
5636
|
joinArrays: !1,
|
|
5637
5637
|
ns: d
|
|
5638
5638
|
}) : L[v] = this.translate(b, {
|
|
@@ -5913,8 +5913,8 @@ class Oi {
|
|
|
5913
5913
|
}
|
|
5914
5914
|
const _t = (n, e, t, r = ".", o = !0) => {
|
|
5915
5915
|
let i = vi(n, e, t);
|
|
5916
|
-
return !i && o && R(t) && (i =
|
|
5917
|
-
},
|
|
5916
|
+
return !i && o && R(t) && (i = ct(n, t, r), i === void 0 && (i = ct(e, t, r))), i;
|
|
5917
|
+
}, it = (n) => n.replace(/\$/g, "$$$$");
|
|
5918
5918
|
class Wt {
|
|
5919
5919
|
constructor(e = {}) {
|
|
5920
5920
|
var t;
|
|
@@ -5975,10 +5975,10 @@ class Wt {
|
|
|
5975
5975
|
const u = (o == null ? void 0 : o.missingInterpolationHandler) || this.options.missingInterpolationHandler, p = ((f = o == null ? void 0 : o.interpolation) == null ? void 0 : f.skipOnVariables) !== void 0 ? o.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
5976
5976
|
return [{
|
|
5977
5977
|
regex: this.regexpUnescape,
|
|
5978
|
-
safeValue: (h) =>
|
|
5978
|
+
safeValue: (h) => it(h)
|
|
5979
5979
|
}, {
|
|
5980
5980
|
regex: this.regexp,
|
|
5981
|
-
safeValue: (h) => this.escapeValue ?
|
|
5981
|
+
safeValue: (h) => this.escapeValue ? it(this.escape(h)) : it(h)
|
|
5982
5982
|
}].forEach((h) => {
|
|
5983
5983
|
for (l = 0; i = h.regex.exec(e); ) {
|
|
5984
5984
|
const C = i[1].trim();
|
|
@@ -6150,7 +6150,7 @@ class Ti {
|
|
|
6150
6150
|
const zi = (n, e) => {
|
|
6151
6151
|
n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
|
|
6152
6152
|
};
|
|
6153
|
-
class Mi extends
|
|
6153
|
+
class Mi extends rt {
|
|
6154
6154
|
constructor(e, t, r, o = {}) {
|
|
6155
6155
|
var i, a;
|
|
6156
6156
|
super(), this.backend = e, this.store = t, this.services = r, this.languageUtils = r.languageUtils, this.options = o, this.logger = le.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], (a = (i = this.backend) == null ? void 0 : i.init) == null || a.call(i, r, o.backend, o);
|
|
@@ -6282,7 +6282,7 @@ class Mi extends tt {
|
|
|
6282
6282
|
}
|
|
6283
6283
|
}
|
|
6284
6284
|
}
|
|
6285
|
-
const
|
|
6285
|
+
const at = () => ({
|
|
6286
6286
|
debug: !1,
|
|
6287
6287
|
initAsync: !0,
|
|
6288
6288
|
ns: ["translation"],
|
|
@@ -6343,7 +6343,7 @@ const it = () => ({
|
|
|
6343
6343
|
typeof n[t] == "function" && (n[t] = n[t].bind(n));
|
|
6344
6344
|
});
|
|
6345
6345
|
};
|
|
6346
|
-
class Ne extends
|
|
6346
|
+
class Ne extends rt {
|
|
6347
6347
|
constructor(e = {}, t) {
|
|
6348
6348
|
if (super(), this.options = Kt(e), this.services = {}, this.logger = le, this.modules = {
|
|
6349
6349
|
external: []
|
|
@@ -6357,7 +6357,7 @@ class Ne extends tt {
|
|
|
6357
6357
|
}
|
|
6358
6358
|
init(e = {}, t) {
|
|
6359
6359
|
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (R(e.ns) ? e.defaultNS = e.ns : e.ns.includes("translation") || (e.defaultNS = e.ns[0]));
|
|
6360
|
-
const r =
|
|
6360
|
+
const r = at();
|
|
6361
6361
|
this.options = {
|
|
6362
6362
|
...r,
|
|
6363
6363
|
...this.options,
|
|
@@ -6535,7 +6535,7 @@ class Ne extends tt {
|
|
|
6535
6535
|
}
|
|
6536
6536
|
} catch {
|
|
6537
6537
|
}
|
|
6538
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = ((i = this.services) == null ? void 0 : i.languageUtils) || new Bt(
|
|
6538
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = ((i = this.services) == null ? void 0 : i.languageUtils) || new Bt(at());
|
|
6539
6539
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.includes(r.getLanguagePartFromCode(e)) || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
6540
6540
|
}
|
|
6541
6541
|
static createInstance(e = {}, t) {
|
|
@@ -6566,7 +6566,7 @@ class Ne extends tt {
|
|
|
6566
6566
|
}
|
|
6567
6567
|
if (e.interpolation) {
|
|
6568
6568
|
const d = {
|
|
6569
|
-
...
|
|
6569
|
+
...at().interpolation,
|
|
6570
6570
|
...this.options.interpolation,
|
|
6571
6571
|
...e.interpolation
|
|
6572
6572
|
}, c = {
|
|
@@ -7312,7 +7312,7 @@ const $r = /* @__PURE__ */ Hi(Fi), Vi = ({ setDateFilter: n, setShowRange: e, se
|
|
|
7312
7312
|
};
|
|
7313
7313
|
};
|
|
7314
7314
|
function Ma(n) {
|
|
7315
|
-
const { navigator: e } =
|
|
7315
|
+
const { navigator: e } = dt(Nr), t = Ve();
|
|
7316
7316
|
Y(() => {
|
|
7317
7317
|
if (!n) return;
|
|
7318
7318
|
const r = e.push, o = e.replace, i = (a) => (...l) => {
|
|
@@ -7409,7 +7409,7 @@ const Va = m(rr)`
|
|
|
7409
7409
|
.ant-empty-description {
|
|
7410
7410
|
color: var(--color-text-secondary, rgba(19, 20, 18, 0.75));
|
|
7411
7411
|
}
|
|
7412
|
-
`, Aa = m(
|
|
7412
|
+
`, Aa = m(pt)`
|
|
7413
7413
|
.ant-table-thead > tr > th {
|
|
7414
7414
|
background: var(--color-bg-primary, #fff);
|
|
7415
7415
|
color: var(--color-text-secondary, rgba(19, 20, 18, 0.75));
|
|
@@ -7512,6 +7512,33 @@ const Va = m(rr)`
|
|
|
7512
7512
|
.ant-collapse-header {
|
|
7513
7513
|
background-color: transparent !important;
|
|
7514
7514
|
}
|
|
7515
|
+
`, ja = m(et)`
|
|
7516
|
+
width: ${({ $width: n }) => n ?? "200px"};
|
|
7517
|
+
|
|
7518
|
+
display: flex;
|
|
7519
|
+
flex-direction: column;
|
|
7520
|
+
gap: 2.5rem;
|
|
7521
|
+
display: flex;
|
|
7522
|
+
flex-direction: column;
|
|
7523
|
+
gap: 0.5rem;
|
|
7524
|
+
.ant-select-selector {
|
|
7525
|
+
border-radius: var(--border-radius-025, 0.125rem);
|
|
7526
|
+
background: var(--color-bg-secondary, #f5f5f5) !important;
|
|
7527
|
+
border: none !important;
|
|
7528
|
+
.ant-select-selection-placeholder {
|
|
7529
|
+
path {
|
|
7530
|
+
fill: var(--color-text-secondary, rgba(255, 255, 255, 0.75)) !important;
|
|
7531
|
+
}
|
|
7532
|
+
}
|
|
7533
|
+
}
|
|
7534
|
+
span {
|
|
7535
|
+
color: var(--color-text-secondary, rgba(19, 20, 18, 0.75)) !important;
|
|
7536
|
+
font-family: var(--text-font-family-base, Geist);
|
|
7537
|
+
font-size: var(--typo-caption-size-medium, 0.875rem);
|
|
7538
|
+
font-weight: var(--text-weight-regular, 400);
|
|
7539
|
+
line-height: var(--typo-caption-lineHeight-medium, 1.125rem); /* 128.571% */
|
|
7540
|
+
letter-spacing: var(--typo-caption-spacing-medium, 0.00625rem);
|
|
7541
|
+
}
|
|
7515
7542
|
`;
|
|
7516
7543
|
export {
|
|
7517
7544
|
fa as AdminLayout,
|
|
@@ -7541,6 +7568,7 @@ export {
|
|
|
7541
7568
|
ka as Spinner,
|
|
7542
7569
|
ei as StyledBreadcrumb,
|
|
7543
7570
|
Va as StyledEmpty,
|
|
7571
|
+
ja as StyledSelect,
|
|
7544
7572
|
Aa as StyledTable,
|
|
7545
7573
|
me as TableViewOptions,
|
|
7546
7574
|
wa as TwoFactorPopup,
|