@snmt-react-ui/async-select 1.12.0 → 1.12.2
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/async-select.js +287 -281
- package/package.json +3 -3
package/dist/async-select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
2
|
import { jsx as o, Fragment as J, jsxs as C } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as t1, useState as Z, useRef as P, useEffect as K, useCallback as F, useContext as r1, createContext as Q, useImperativeHandle as a1, useMemo as G1 } from "react";
|
|
4
|
-
import { Select as z1, Tag as A1, Flex as J1, Checkbox as q1, Avatar as Q1, Typography as
|
|
4
|
+
import { Select as z1, Tag as A1, Flex as J1, Checkbox as q1, Avatar as Q1, Typography as m1, Popover as X1 } from "antd";
|
|
5
5
|
var e2 = Object.defineProperty, l2 = (i, l, e) => l in i ? e2(i, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[l] = e, i2 = (i, l, e) => l2(i, l + "", e), o2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function t2() {
|
|
7
7
|
if (console && console.warn) {
|
|
@@ -85,7 +85,7 @@ let d2 = {
|
|
|
85
85
|
const w2 = () => d2;
|
|
86
86
|
let g2;
|
|
87
87
|
const L2 = () => g2, k2 = Q();
|
|
88
|
-
class
|
|
88
|
+
class m2 {
|
|
89
89
|
constructor() {
|
|
90
90
|
i2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
91
91
|
}
|
|
@@ -95,7 +95,7 @@ class p2 {
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
const
|
|
98
|
+
const p2 = (i, l) => {
|
|
99
99
|
const e = P();
|
|
100
100
|
return K(() => {
|
|
101
101
|
e.current = i;
|
|
@@ -108,7 +108,7 @@ const m2 = (i, l) => {
|
|
|
108
108
|
i18n: t,
|
|
109
109
|
defaultNS: r
|
|
110
110
|
} = r1(k2) || {}, a = e || t || L2();
|
|
111
|
-
if (a && !a.reportNamespaces && (a.reportNamespaces = new
|
|
111
|
+
if (a && !a.reportNamespaces && (a.reportNamespaces = new m2()), !a) {
|
|
112
112
|
Z1("You will need to pass in an i18next instance by using initReactI18next");
|
|
113
113
|
const G = (I, H) => o1(H) ? H : s2(H) && o1(H.defaultValue) ? H.defaultValue : Array.isArray(I) ? I[I.length - 1] : I, _ = [G, {}, !1];
|
|
114
114
|
return _.t = G, _.i18n = {}, _.ready = !1, _;
|
|
@@ -124,22 +124,22 @@ const m2 = (i, l) => {
|
|
|
124
124
|
} = d;
|
|
125
125
|
let n = i;
|
|
126
126
|
n = o1(n) ? [n] : n || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(n);
|
|
127
|
-
const s = (a.isInitialized || a.initializedStoreOnce) && n.every((G) => n2(G, a, d)), V = v2(a, l.lng || null, d.nsMode === "fallback" ? n : n[0], h), x = () => V,
|
|
127
|
+
const s = (a.isInitialized || a.initializedStoreOnce) && n.every((G) => n2(G, a, d)), V = v2(a, l.lng || null, d.nsMode === "fallback" ? n : n[0], h), x = () => V, p = () => b1(a, l.lng || null, d.nsMode === "fallback" ? n : n[0], h), [N, v] = Z(x);
|
|
128
128
|
let f = n.join();
|
|
129
129
|
l.lng && (f = `${l.lng}${f}`);
|
|
130
|
-
const u =
|
|
130
|
+
const u = p2(f), D = P(!0);
|
|
131
131
|
K(() => {
|
|
132
132
|
const {
|
|
133
133
|
bindI18n: G,
|
|
134
134
|
bindI18nStore: _
|
|
135
135
|
} = d;
|
|
136
136
|
D.current = !0, !s && !c && (l.lng ? T1(a, l.lng, n, () => {
|
|
137
|
-
D.current && v(
|
|
137
|
+
D.current && v(p);
|
|
138
138
|
}) : D1(a, n, () => {
|
|
139
|
-
D.current && v(
|
|
140
|
-
})), s && u && u !== f && D.current && v(
|
|
139
|
+
D.current && v(p);
|
|
140
|
+
})), s && u && u !== f && D.current && v(p);
|
|
141
141
|
const I = () => {
|
|
142
|
-
D.current && v(
|
|
142
|
+
D.current && v(p);
|
|
143
143
|
};
|
|
144
144
|
return G && a && a.on(G, I), _ && a && a.store.on(_, I), () => {
|
|
145
145
|
D.current = !1, G && a && G.split(" ").forEach((H) => a.off(H, I)), _ && a && _.split(" ").forEach((H) => a.store.off(H, I));
|
|
@@ -174,7 +174,7 @@ const m2 = (i, l) => {
|
|
|
174
174
|
style: { padding: c },
|
|
175
175
|
children: i
|
|
176
176
|
}
|
|
177
|
-
), { Title: N2, Text: _2 } =
|
|
177
|
+
), { Title: N2, Text: _2 } = m1, f2 = {
|
|
178
178
|
h1: 1,
|
|
179
179
|
h2: 2,
|
|
180
180
|
h3: 3,
|
|
@@ -207,10 +207,10 @@ const m2 = (i, l) => {
|
|
|
207
207
|
};
|
|
208
208
|
}, [c]);
|
|
209
209
|
const x = l === "h1" || l === "h2" || l === "h3" || l === "h4";
|
|
210
|
-
let
|
|
211
|
-
i && i !== "inherit" && (
|
|
210
|
+
let p = `snmt-typography snmt-typography-${l}`;
|
|
211
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed");
|
|
212
212
|
const N = {
|
|
213
|
-
className:
|
|
213
|
+
className: p,
|
|
214
214
|
style: { color: e, whiteSpace: c ? "nowrap" : d, display: c ? "block" : "" },
|
|
215
215
|
onClick: r,
|
|
216
216
|
ref: n,
|
|
@@ -280,7 +280,7 @@ const E1 = Q({
|
|
|
280
280
|
theme: "light"
|
|
281
281
|
});
|
|
282
282
|
E1.Provider;
|
|
283
|
-
const { Title: H2, Text: x2 } =
|
|
283
|
+
const { Title: H2, Text: x2 } = m1, Z2 = {
|
|
284
284
|
h1: 1,
|
|
285
285
|
h2: 2,
|
|
286
286
|
h3: 3,
|
|
@@ -313,10 +313,10 @@ const { Title: H2, Text: x2 } = p1, Z2 = {
|
|
|
313
313
|
};
|
|
314
314
|
}, [c]);
|
|
315
315
|
const x = l === "h1" || l === "h2" || l === "h3" || l === "h4";
|
|
316
|
-
let
|
|
317
|
-
i && i !== "inherit" && (
|
|
316
|
+
let p = `snmt-typography snmt-typography-${l}`;
|
|
317
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed");
|
|
318
318
|
const N = {
|
|
319
|
-
className:
|
|
319
|
+
className: p,
|
|
320
320
|
style: { color: e, whiteSpace: c ? "nowrap" : d, display: c ? "block" : "" },
|
|
321
321
|
onClick: r,
|
|
322
322
|
ref: n,
|
|
@@ -1725,7 +1725,7 @@ const E2 = ({
|
|
|
1725
1725
|
)
|
|
1726
1726
|
]
|
|
1727
1727
|
}
|
|
1728
|
-
),
|
|
1728
|
+
), m5 = ({
|
|
1729
1729
|
className: i,
|
|
1730
1730
|
color: l = g.GREY_DARK_5,
|
|
1731
1731
|
height: e = 24,
|
|
@@ -1752,7 +1752,7 @@ const E2 = ({
|
|
|
1752
1752
|
}
|
|
1753
1753
|
)
|
|
1754
1754
|
}
|
|
1755
|
-
),
|
|
1755
|
+
), p5 = ({
|
|
1756
1756
|
className: i,
|
|
1757
1757
|
color: l = g.GREY_DARK_5,
|
|
1758
1758
|
height: e = 24,
|
|
@@ -2750,13 +2750,13 @@ const E2 = ({
|
|
|
2750
2750
|
case "link":
|
|
2751
2751
|
return L5({ width: l, height: e, color: h, className: s, onClick: n });
|
|
2752
2752
|
case "telegram":
|
|
2753
|
-
return
|
|
2753
|
+
return m5({ width: l, height: e, color: h, className: s, onClick: n });
|
|
2754
2754
|
case "mail":
|
|
2755
2755
|
return v5({ width: l, height: e, color: h, className: s, onClick: n });
|
|
2756
2756
|
case "github":
|
|
2757
2757
|
return k5({ width: l, height: e, color: h, className: s, onClick: n });
|
|
2758
2758
|
case "linkedIn":
|
|
2759
|
-
return
|
|
2759
|
+
return p5({ width: l, height: e, color: h, className: s, onClick: n });
|
|
2760
2760
|
case "emptyStateIcon":
|
|
2761
2761
|
return u5({ width: l, height: e, color: h, className: s, onClick: n });
|
|
2762
2762
|
case "filtersIcon":
|
|
@@ -2803,7 +2803,7 @@ const E2 = ({
|
|
|
2803
2803
|
return /* @__PURE__ */ o(J, { children: "No Icon provided" });
|
|
2804
2804
|
}
|
|
2805
2805
|
})() });
|
|
2806
|
-
}, { Title: O5, Text: W5 } =
|
|
2806
|
+
}, { Title: O5, Text: W5 } = m1, j5 = {
|
|
2807
2807
|
h1: 1,
|
|
2808
2808
|
h2: 2,
|
|
2809
2809
|
h3: 3,
|
|
@@ -2836,10 +2836,10 @@ const E2 = ({
|
|
|
2836
2836
|
};
|
|
2837
2837
|
}, [c]);
|
|
2838
2838
|
const x = l === "h1" || l === "h2" || l === "h3" || l === "h4";
|
|
2839
|
-
let
|
|
2840
|
-
i && i !== "inherit" && (
|
|
2839
|
+
let p = `snmt-typography snmt-typography-${l}`;
|
|
2840
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed");
|
|
2841
2841
|
const N = {
|
|
2842
|
-
className:
|
|
2842
|
+
className: p,
|
|
2843
2843
|
style: { color: e, whiteSpace: c ? "nowrap" : d, display: c ? "block" : "" },
|
|
2844
2844
|
onClick: r,
|
|
2845
2845
|
ref: n,
|
|
@@ -3789,7 +3789,7 @@ const F5 = ({
|
|
|
3789
3789
|
)
|
|
3790
3790
|
]
|
|
3791
3791
|
}
|
|
3792
|
-
),
|
|
3792
|
+
), m7 = ({
|
|
3793
3793
|
width: i = 20,
|
|
3794
3794
|
height: l = 20,
|
|
3795
3795
|
color: e = "#070739",
|
|
@@ -3819,7 +3819,7 @@ const F5 = ({
|
|
|
3819
3819
|
/* @__PURE__ */ o("circle", { cx: "10", cy: "10", r: "2.375", stroke: e, strokeWidth: "1.25" })
|
|
3820
3820
|
]
|
|
3821
3821
|
}
|
|
3822
|
-
),
|
|
3822
|
+
), p7 = ({
|
|
3823
3823
|
width: i = 20,
|
|
3824
3824
|
height: l = 20,
|
|
3825
3825
|
color: e = "#070739",
|
|
@@ -5180,7 +5180,7 @@ const F5 = ({
|
|
|
5180
5180
|
case "cancelCircle":
|
|
5181
5181
|
return k7({ width: l, height: e, color: h, className: s, onClick: n });
|
|
5182
5182
|
case "visibilityIcon":
|
|
5183
|
-
return
|
|
5183
|
+
return m7({
|
|
5184
5184
|
width: l,
|
|
5185
5185
|
height: e,
|
|
5186
5186
|
color: h,
|
|
@@ -5188,7 +5188,7 @@ const F5 = ({
|
|
|
5188
5188
|
onClick: n
|
|
5189
5189
|
});
|
|
5190
5190
|
case "visibilityOffIcon":
|
|
5191
|
-
return
|
|
5191
|
+
return p7({
|
|
5192
5192
|
width: l,
|
|
5193
5193
|
height: e,
|
|
5194
5194
|
color: h,
|
|
@@ -5338,7 +5338,7 @@ const j1 = ({
|
|
|
5338
5338
|
) : i
|
|
5339
5339
|
}
|
|
5340
5340
|
);
|
|
5341
|
-
}, { Title: o0, Text: t0 } =
|
|
5341
|
+
}, { Title: o0, Text: t0 } = m1, r0 = {
|
|
5342
5342
|
h1: 1,
|
|
5343
5343
|
h2: 2,
|
|
5344
5344
|
h3: 3,
|
|
@@ -5371,10 +5371,10 @@ const j1 = ({
|
|
|
5371
5371
|
};
|
|
5372
5372
|
}, [c]);
|
|
5373
5373
|
const x = l === "h1" || l === "h2" || l === "h3" || l === "h4";
|
|
5374
|
-
let
|
|
5375
|
-
i && i !== "inherit" && (
|
|
5374
|
+
let p = `snmt-typography snmt-typography-${l}`;
|
|
5375
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed");
|
|
5376
5376
|
const N = {
|
|
5377
|
-
className:
|
|
5377
|
+
className: p,
|
|
5378
5378
|
style: { color: e, whiteSpace: c ? "nowrap" : d, display: c ? "block" : "" },
|
|
5379
5379
|
onClick: r,
|
|
5380
5380
|
ref: n,
|
|
@@ -5412,7 +5412,7 @@ const j1 = ({
|
|
|
5412
5412
|
children: /* @__PURE__ */ o("div", { className: "wrapper", children: i })
|
|
5413
5413
|
}
|
|
5414
5414
|
);
|
|
5415
|
-
}, { Title: h0, Text: C0 } =
|
|
5415
|
+
}, { Title: h0, Text: C0 } = m1, a0 = {
|
|
5416
5416
|
h1: 1,
|
|
5417
5417
|
h2: 2,
|
|
5418
5418
|
h3: 3,
|
|
@@ -5445,10 +5445,10 @@ const j1 = ({
|
|
|
5445
5445
|
};
|
|
5446
5446
|
}, [c]);
|
|
5447
5447
|
const x = l === "h1" || l === "h2" || l === "h3" || l === "h4";
|
|
5448
|
-
let
|
|
5449
|
-
i && i !== "inherit" && (
|
|
5448
|
+
let p = `snmt-typography snmt-typography-${l}`;
|
|
5449
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed");
|
|
5450
5450
|
const N = {
|
|
5451
|
-
className:
|
|
5451
|
+
className: p,
|
|
5452
5452
|
style: { color: e, whiteSpace: c ? "nowrap" : d, display: c ? "block" : "" },
|
|
5453
5453
|
onClick: r,
|
|
5454
5454
|
ref: n,
|
|
@@ -5627,7 +5627,7 @@ const d0 = ({
|
|
|
5627
5627
|
}
|
|
5628
5628
|
)
|
|
5629
5629
|
}
|
|
5630
|
-
),
|
|
5630
|
+
), m0 = ({
|
|
5631
5631
|
width: i = 20,
|
|
5632
5632
|
height: l = 20,
|
|
5633
5633
|
color: e = k.GREY_DARK_5,
|
|
@@ -5654,7 +5654,7 @@ const d0 = ({
|
|
|
5654
5654
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ o("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
5655
5655
|
]
|
|
5656
5656
|
}
|
|
5657
|
-
),
|
|
5657
|
+
), p0 = ({
|
|
5658
5658
|
width: i = 20,
|
|
5659
5659
|
height: l = 20,
|
|
5660
5660
|
color: e = k.GREY_DARK_5,
|
|
@@ -7562,7 +7562,7 @@ const d0 = ({
|
|
|
7562
7562
|
}
|
|
7563
7563
|
)
|
|
7564
7564
|
}
|
|
7565
|
-
),
|
|
7565
|
+
), m9 = ({
|
|
7566
7566
|
width: i = 24,
|
|
7567
7567
|
height: l = 24,
|
|
7568
7568
|
color: e = "#131314",
|
|
@@ -7595,7 +7595,7 @@ const d0 = ({
|
|
|
7595
7595
|
)
|
|
7596
7596
|
]
|
|
7597
7597
|
}
|
|
7598
|
-
),
|
|
7598
|
+
), p9 = ({
|
|
7599
7599
|
width: i = 20,
|
|
7600
7600
|
height: l = 20,
|
|
7601
7601
|
color: e = k.GREY_DARK_5,
|
|
@@ -7849,9 +7849,9 @@ const d0 = ({
|
|
|
7849
7849
|
case "arrow2Right":
|
|
7850
7850
|
return k0({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7851
7851
|
case "arrow2Down":
|
|
7852
|
-
return p0({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7853
|
-
case "arrow2Left":
|
|
7854
7852
|
return m0({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7853
|
+
case "arrow2Left":
|
|
7854
|
+
return p0({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7855
7855
|
case "link":
|
|
7856
7856
|
return J0({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7857
7857
|
case "telegram":
|
|
@@ -7895,9 +7895,9 @@ const d0 = ({
|
|
|
7895
7895
|
case "projects":
|
|
7896
7896
|
return k9({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7897
7897
|
case "user":
|
|
7898
|
-
return m9({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7899
|
-
case "exit":
|
|
7900
7898
|
return p9({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7899
|
+
case "exit":
|
|
7900
|
+
return m9({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7901
7901
|
case "openPointCircle":
|
|
7902
7902
|
return v9({ width: l, height: e, color: h, className: s, onClick: n });
|
|
7903
7903
|
case "community":
|
|
@@ -8010,18 +8010,18 @@ const M9 = ({
|
|
|
8010
8010
|
i.length || V(!1);
|
|
8011
8011
|
}, [i]), !i.length)
|
|
8012
8012
|
return null;
|
|
8013
|
-
const x = (
|
|
8013
|
+
const x = (p) => {
|
|
8014
8014
|
var N, v;
|
|
8015
|
-
return ((N = a == null ? void 0 : a.find((u) => u.value ===
|
|
8015
|
+
return ((N = a == null ? void 0 : a.find((u) => u.value === p)) == null ? void 0 : N.label) || ((v = d == null ? void 0 : d.find((u) => u.value === p)) == null ? void 0 : v.label) || p;
|
|
8016
8016
|
};
|
|
8017
8017
|
return /* @__PURE__ */ C(
|
|
8018
8018
|
s0,
|
|
8019
8019
|
{
|
|
8020
8020
|
content: (
|
|
8021
8021
|
// 90: paddings + margins + gaps and so on
|
|
8022
|
-
/* @__PURE__ */ o("div", { style: { maxWidth: e - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ o(L1, { gap: 6, flexWrap: "wrap", children: i.map(({ value:
|
|
8022
|
+
/* @__PURE__ */ o("div", { style: { maxWidth: e - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ o(L1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: p }) => {
|
|
8023
8023
|
const N = c === "badge" && a.find(
|
|
8024
|
-
(v) => v.label === x(
|
|
8024
|
+
(v) => v.label === x(p)
|
|
8025
8025
|
);
|
|
8026
8026
|
return c === "badge" ? /* @__PURE__ */ o(
|
|
8027
8027
|
S1,
|
|
@@ -8029,18 +8029,18 @@ const M9 = ({
|
|
|
8029
8029
|
variant: "regular",
|
|
8030
8030
|
size: "small",
|
|
8031
8031
|
color: N ? N.color : void 0,
|
|
8032
|
-
text: x(
|
|
8032
|
+
text: x(p)
|
|
8033
8033
|
},
|
|
8034
|
-
|
|
8034
|
+
p
|
|
8035
8035
|
) : /* @__PURE__ */ o(
|
|
8036
8036
|
j1,
|
|
8037
8037
|
{
|
|
8038
|
-
onClose: () => l(
|
|
8038
|
+
onClose: () => l(p),
|
|
8039
8039
|
closable: t,
|
|
8040
8040
|
disabled: r,
|
|
8041
|
-
children: x(
|
|
8041
|
+
children: x(p)
|
|
8042
8042
|
},
|
|
8043
|
-
|
|
8043
|
+
p
|
|
8044
8044
|
);
|
|
8045
8045
|
}) }) })
|
|
8046
8046
|
),
|
|
@@ -8067,7 +8067,7 @@ const M9 = ({
|
|
|
8067
8067
|
};
|
|
8068
8068
|
return /* @__PURE__ */ o("span", { className: "snmt-loader", style: r });
|
|
8069
8069
|
};
|
|
8070
|
-
var
|
|
8070
|
+
var m = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_0_5 = "var(--blue-light-0-5)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(m || {});
|
|
8071
8071
|
const P1 = Q({
|
|
8072
8072
|
locale: "en",
|
|
8073
8073
|
theme: "light"
|
|
@@ -8103,7 +8103,7 @@ const x9 = ({
|
|
|
8103
8103
|
), Z9 = ({
|
|
8104
8104
|
width: i = 20,
|
|
8105
8105
|
height: l = 20,
|
|
8106
|
-
color: e =
|
|
8106
|
+
color: e = m.GREY_DARK_5,
|
|
8107
8107
|
className: t,
|
|
8108
8108
|
onClick: r
|
|
8109
8109
|
}) => /* @__PURE__ */ C(
|
|
@@ -8178,7 +8178,7 @@ const x9 = ({
|
|
|
8178
8178
|
), A9 = ({
|
|
8179
8179
|
width: i = 20,
|
|
8180
8180
|
height: l = 20,
|
|
8181
|
-
color: e =
|
|
8181
|
+
color: e = m.GREY_DARK_5,
|
|
8182
8182
|
className: t,
|
|
8183
8183
|
onClick: r
|
|
8184
8184
|
}) => /* @__PURE__ */ C(
|
|
@@ -8205,7 +8205,7 @@ const x9 = ({
|
|
|
8205
8205
|
), E9 = ({
|
|
8206
8206
|
width: i = 20,
|
|
8207
8207
|
height: l = 20,
|
|
8208
|
-
color: e =
|
|
8208
|
+
color: e = m.GREY_DARK_5,
|
|
8209
8209
|
className: t,
|
|
8210
8210
|
onClick: r
|
|
8211
8211
|
}) => /* @__PURE__ */ o(
|
|
@@ -8229,7 +8229,7 @@ const x9 = ({
|
|
|
8229
8229
|
), G9 = ({
|
|
8230
8230
|
width: i = 20,
|
|
8231
8231
|
height: l = 20,
|
|
8232
|
-
color: e =
|
|
8232
|
+
color: e = m.GREY_DARK_5,
|
|
8233
8233
|
className: t,
|
|
8234
8234
|
onClick: r
|
|
8235
8235
|
}) => /* @__PURE__ */ C(
|
|
@@ -8256,7 +8256,7 @@ const x9 = ({
|
|
|
8256
8256
|
), I9 = ({
|
|
8257
8257
|
width: i = 20,
|
|
8258
8258
|
height: l = 20,
|
|
8259
|
-
color: e =
|
|
8259
|
+
color: e = m.GREY_DARK_5,
|
|
8260
8260
|
className: t,
|
|
8261
8261
|
onClick: r
|
|
8262
8262
|
}) => /* @__PURE__ */ o(
|
|
@@ -8280,7 +8280,7 @@ const x9 = ({
|
|
|
8280
8280
|
), D9 = ({
|
|
8281
8281
|
width: i = 20,
|
|
8282
8282
|
height: l = 20,
|
|
8283
|
-
color: e =
|
|
8283
|
+
color: e = m.GREY_DARK_5,
|
|
8284
8284
|
className: t,
|
|
8285
8285
|
onClick: r
|
|
8286
8286
|
}) => /* @__PURE__ */ C(
|
|
@@ -8327,7 +8327,7 @@ const x9 = ({
|
|
|
8327
8327
|
), T9 = ({
|
|
8328
8328
|
width: i = 20,
|
|
8329
8329
|
height: l = 20,
|
|
8330
|
-
color: e =
|
|
8330
|
+
color: e = m.GREY_DARK_5,
|
|
8331
8331
|
className: t,
|
|
8332
8332
|
onClick: r
|
|
8333
8333
|
}) => /* @__PURE__ */ o(
|
|
@@ -8351,7 +8351,7 @@ const x9 = ({
|
|
|
8351
8351
|
), K9 = ({
|
|
8352
8352
|
width: i = 20,
|
|
8353
8353
|
height: l = 20,
|
|
8354
|
-
color: e =
|
|
8354
|
+
color: e = m.GREY_DARK_5,
|
|
8355
8355
|
className: t,
|
|
8356
8356
|
onClick: r
|
|
8357
8357
|
}) => /* @__PURE__ */ o(
|
|
@@ -8375,7 +8375,7 @@ const x9 = ({
|
|
|
8375
8375
|
), Y9 = ({
|
|
8376
8376
|
width: i = 20,
|
|
8377
8377
|
height: l = 20,
|
|
8378
|
-
color: e =
|
|
8378
|
+
color: e = m.GREY_DARK_5,
|
|
8379
8379
|
className: t,
|
|
8380
8380
|
onClick: r
|
|
8381
8381
|
}) => /* @__PURE__ */ o(
|
|
@@ -8399,7 +8399,7 @@ const x9 = ({
|
|
|
8399
8399
|
), B9 = ({
|
|
8400
8400
|
width: i = 20,
|
|
8401
8401
|
height: l = 20,
|
|
8402
|
-
color: e =
|
|
8402
|
+
color: e = m.GREY_DARK_5,
|
|
8403
8403
|
className: t,
|
|
8404
8404
|
onClick: r
|
|
8405
8405
|
}) => /* @__PURE__ */ C(
|
|
@@ -8460,7 +8460,7 @@ const x9 = ({
|
|
|
8460
8460
|
), y9 = ({
|
|
8461
8461
|
width: i = 20,
|
|
8462
8462
|
height: l = 20,
|
|
8463
|
-
color: e =
|
|
8463
|
+
color: e = m.GREY_DARK_5,
|
|
8464
8464
|
className: t,
|
|
8465
8465
|
onClick: r
|
|
8466
8466
|
}) => /* @__PURE__ */ C(
|
|
@@ -8507,7 +8507,7 @@ const x9 = ({
|
|
|
8507
8507
|
), b9 = ({
|
|
8508
8508
|
width: i = 20,
|
|
8509
8509
|
height: l = 20,
|
|
8510
|
-
color: e =
|
|
8510
|
+
color: e = m.GREY_DARK_5,
|
|
8511
8511
|
className: t,
|
|
8512
8512
|
onClick: r
|
|
8513
8513
|
}) => /* @__PURE__ */ C(
|
|
@@ -8547,7 +8547,7 @@ const x9 = ({
|
|
|
8547
8547
|
), O9 = ({
|
|
8548
8548
|
width: i = 20,
|
|
8549
8549
|
height: l = 20,
|
|
8550
|
-
color: e =
|
|
8550
|
+
color: e = m.GREY_DARK_5,
|
|
8551
8551
|
className: t,
|
|
8552
8552
|
onClick: r
|
|
8553
8553
|
}) => /* @__PURE__ */ C(
|
|
@@ -8587,7 +8587,7 @@ const x9 = ({
|
|
|
8587
8587
|
), W9 = ({
|
|
8588
8588
|
width: i = 20,
|
|
8589
8589
|
height: l = 20,
|
|
8590
|
-
color: e =
|
|
8590
|
+
color: e = m.GREY_DARK_5,
|
|
8591
8591
|
className: t,
|
|
8592
8592
|
onClick: r
|
|
8593
8593
|
}) => /* @__PURE__ */ C(
|
|
@@ -8634,7 +8634,7 @@ const x9 = ({
|
|
|
8634
8634
|
), j9 = ({
|
|
8635
8635
|
width: i = 20,
|
|
8636
8636
|
height: l = 20,
|
|
8637
|
-
color: e =
|
|
8637
|
+
color: e = m.GREY_DARK_5,
|
|
8638
8638
|
className: t,
|
|
8639
8639
|
onClick: r
|
|
8640
8640
|
}) => /* @__PURE__ */ C(
|
|
@@ -8681,7 +8681,7 @@ const x9 = ({
|
|
|
8681
8681
|
), U9 = ({
|
|
8682
8682
|
width: i = 20,
|
|
8683
8683
|
height: l = 20,
|
|
8684
|
-
color: e =
|
|
8684
|
+
color: e = m.GREY_DARK_5,
|
|
8685
8685
|
className: t,
|
|
8686
8686
|
onClick: r
|
|
8687
8687
|
}) => /* @__PURE__ */ C(
|
|
@@ -8728,7 +8728,7 @@ const x9 = ({
|
|
|
8728
8728
|
), F9 = ({
|
|
8729
8729
|
width: i = 20,
|
|
8730
8730
|
height: l = 20,
|
|
8731
|
-
color: e =
|
|
8731
|
+
color: e = m.GREY_DARK_5,
|
|
8732
8732
|
className: t,
|
|
8733
8733
|
onClick: r
|
|
8734
8734
|
}) => /* @__PURE__ */ C(
|
|
@@ -8768,7 +8768,7 @@ const x9 = ({
|
|
|
8768
8768
|
), S9 = ({
|
|
8769
8769
|
width: i = 20,
|
|
8770
8770
|
height: l = 20,
|
|
8771
|
-
color: e =
|
|
8771
|
+
color: e = m.GREY_DARK_5,
|
|
8772
8772
|
className: t,
|
|
8773
8773
|
onClick: r
|
|
8774
8774
|
}) => /* @__PURE__ */ C(
|
|
@@ -8801,7 +8801,7 @@ const x9 = ({
|
|
|
8801
8801
|
), P9 = ({
|
|
8802
8802
|
width: i = 20,
|
|
8803
8803
|
height: l = 20,
|
|
8804
|
-
color: e =
|
|
8804
|
+
color: e = m.GREY_DARK_5,
|
|
8805
8805
|
className: t,
|
|
8806
8806
|
onClick: r
|
|
8807
8807
|
}) => /* @__PURE__ */ C(
|
|
@@ -8834,7 +8834,7 @@ const x9 = ({
|
|
|
8834
8834
|
), $9 = ({
|
|
8835
8835
|
width: i = 20,
|
|
8836
8836
|
height: l = 20,
|
|
8837
|
-
color: e =
|
|
8837
|
+
color: e = m.GREY_DARK_5,
|
|
8838
8838
|
className: t,
|
|
8839
8839
|
onClick: r
|
|
8840
8840
|
}) => /* @__PURE__ */ C(
|
|
@@ -8867,7 +8867,7 @@ const x9 = ({
|
|
|
8867
8867
|
), z9 = ({
|
|
8868
8868
|
width: i = 20,
|
|
8869
8869
|
height: l = 20,
|
|
8870
|
-
color: e =
|
|
8870
|
+
color: e = m.GREY_DARK_5,
|
|
8871
8871
|
className: t,
|
|
8872
8872
|
onClick: r
|
|
8873
8873
|
}) => /* @__PURE__ */ C(
|
|
@@ -8900,7 +8900,7 @@ const x9 = ({
|
|
|
8900
8900
|
), J9 = ({
|
|
8901
8901
|
width: i = 20,
|
|
8902
8902
|
height: l = 20,
|
|
8903
|
-
color: e =
|
|
8903
|
+
color: e = m.GREY_DARK_5,
|
|
8904
8904
|
className: t,
|
|
8905
8905
|
onClick: r
|
|
8906
8906
|
}) => /* @__PURE__ */ C(
|
|
@@ -8940,7 +8940,7 @@ const x9 = ({
|
|
|
8940
8940
|
), q9 = ({
|
|
8941
8941
|
width: i = 20,
|
|
8942
8942
|
height: l = 20,
|
|
8943
|
-
color: e =
|
|
8943
|
+
color: e = m.GREY_DARK_5,
|
|
8944
8944
|
className: t,
|
|
8945
8945
|
onClick: r
|
|
8946
8946
|
}) => /* @__PURE__ */ C(
|
|
@@ -8973,7 +8973,7 @@ const x9 = ({
|
|
|
8973
8973
|
), Q9 = ({
|
|
8974
8974
|
width: i = 20,
|
|
8975
8975
|
height: l = 20,
|
|
8976
|
-
color: e =
|
|
8976
|
+
color: e = m.GREY_DARK_5,
|
|
8977
8977
|
className: t,
|
|
8978
8978
|
onClick: r
|
|
8979
8979
|
}) => /* @__PURE__ */ C(
|
|
@@ -9223,7 +9223,7 @@ const x9 = ({
|
|
|
9223
9223
|
}
|
|
9224
9224
|
), n4 = ({
|
|
9225
9225
|
className: i,
|
|
9226
|
-
color: l =
|
|
9226
|
+
color: l = m.GREY_DARK_5,
|
|
9227
9227
|
height: e = 20,
|
|
9228
9228
|
width: t = 20,
|
|
9229
9229
|
onClick: r
|
|
@@ -9256,7 +9256,7 @@ const x9 = ({
|
|
|
9256
9256
|
}
|
|
9257
9257
|
), s4 = ({
|
|
9258
9258
|
className: i,
|
|
9259
|
-
color: l =
|
|
9259
|
+
color: l = m.GREY_DARK_5,
|
|
9260
9260
|
height: e = 20,
|
|
9261
9261
|
width: t = 20,
|
|
9262
9262
|
onClick: r
|
|
@@ -9283,7 +9283,7 @@ const x9 = ({
|
|
|
9283
9283
|
}
|
|
9284
9284
|
), h4 = ({
|
|
9285
9285
|
className: i,
|
|
9286
|
-
color: l =
|
|
9286
|
+
color: l = m.GREY_DARK_5,
|
|
9287
9287
|
height: e = 20,
|
|
9288
9288
|
width: t = 20,
|
|
9289
9289
|
onClick: r
|
|
@@ -9310,7 +9310,7 @@ const x9 = ({
|
|
|
9310
9310
|
}
|
|
9311
9311
|
), C4 = ({
|
|
9312
9312
|
className: i,
|
|
9313
|
-
color: l =
|
|
9313
|
+
color: l = m.GREY_DARK_5,
|
|
9314
9314
|
height: e = 5,
|
|
9315
9315
|
width: t = 10,
|
|
9316
9316
|
onClick: r
|
|
@@ -9334,7 +9334,7 @@ const x9 = ({
|
|
|
9334
9334
|
}
|
|
9335
9335
|
), a4 = ({
|
|
9336
9336
|
className: i,
|
|
9337
|
-
color: l =
|
|
9337
|
+
color: l = m.GREY_DARK_5,
|
|
9338
9338
|
height: e = 5,
|
|
9339
9339
|
width: t = 10,
|
|
9340
9340
|
onClick: r
|
|
@@ -9359,7 +9359,7 @@ const x9 = ({
|
|
|
9359
9359
|
}
|
|
9360
9360
|
), c4 = ({
|
|
9361
9361
|
className: i,
|
|
9362
|
-
color: l =
|
|
9362
|
+
color: l = m.GREY_DARK_5,
|
|
9363
9363
|
height: e = 20,
|
|
9364
9364
|
width: t = 20,
|
|
9365
9365
|
onClick: r
|
|
@@ -9392,7 +9392,7 @@ const x9 = ({
|
|
|
9392
9392
|
}
|
|
9393
9393
|
), d4 = ({
|
|
9394
9394
|
className: i,
|
|
9395
|
-
color: l =
|
|
9395
|
+
color: l = m.GREY_DARK_5,
|
|
9396
9396
|
height: e = 24,
|
|
9397
9397
|
width: t = 24,
|
|
9398
9398
|
onClick: r
|
|
@@ -9431,7 +9431,7 @@ const x9 = ({
|
|
|
9431
9431
|
}
|
|
9432
9432
|
), w4 = ({
|
|
9433
9433
|
className: i,
|
|
9434
|
-
color: l =
|
|
9434
|
+
color: l = m.GREY_DARK_5,
|
|
9435
9435
|
height: e = 24,
|
|
9436
9436
|
width: t = 24,
|
|
9437
9437
|
onClick: r
|
|
@@ -9458,7 +9458,7 @@ const x9 = ({
|
|
|
9458
9458
|
}
|
|
9459
9459
|
), g4 = ({
|
|
9460
9460
|
className: i,
|
|
9461
|
-
color: l =
|
|
9461
|
+
color: l = m.GREY_DARK_5,
|
|
9462
9462
|
height: e = 24,
|
|
9463
9463
|
width: t = 24,
|
|
9464
9464
|
onClick: r
|
|
@@ -9517,7 +9517,7 @@ const x9 = ({
|
|
|
9517
9517
|
}
|
|
9518
9518
|
), L4 = ({
|
|
9519
9519
|
className: i,
|
|
9520
|
-
color: l =
|
|
9520
|
+
color: l = m.GREY_DARK_5,
|
|
9521
9521
|
height: e = 24,
|
|
9522
9522
|
width: t = 24,
|
|
9523
9523
|
onClick: r
|
|
@@ -9554,7 +9554,7 @@ const x9 = ({
|
|
|
9554
9554
|
}
|
|
9555
9555
|
), k4 = ({
|
|
9556
9556
|
className: i,
|
|
9557
|
-
color: l =
|
|
9557
|
+
color: l = m.GREY_DARK_3,
|
|
9558
9558
|
height: e = 14,
|
|
9559
9559
|
width: t = 14,
|
|
9560
9560
|
onClick: r
|
|
@@ -9589,9 +9589,9 @@ const x9 = ({
|
|
|
9589
9589
|
)
|
|
9590
9590
|
]
|
|
9591
9591
|
}
|
|
9592
|
-
),
|
|
9592
|
+
), m4 = ({
|
|
9593
9593
|
className: i,
|
|
9594
|
-
color: l =
|
|
9594
|
+
color: l = m.GREY_DARK_5,
|
|
9595
9595
|
height: e = 18,
|
|
9596
9596
|
onClick: t,
|
|
9597
9597
|
width: r = 18
|
|
@@ -9616,9 +9616,9 @@ const x9 = ({
|
|
|
9616
9616
|
}
|
|
9617
9617
|
)
|
|
9618
9618
|
}
|
|
9619
|
-
),
|
|
9619
|
+
), p4 = ({
|
|
9620
9620
|
className: i,
|
|
9621
|
-
color: l =
|
|
9621
|
+
color: l = m.GREY_DARK_5,
|
|
9622
9622
|
height: e = 24,
|
|
9623
9623
|
width: t = 24,
|
|
9624
9624
|
onClick: r
|
|
@@ -9670,7 +9670,7 @@ const x9 = ({
|
|
|
9670
9670
|
}
|
|
9671
9671
|
), v4 = ({
|
|
9672
9672
|
className: i,
|
|
9673
|
-
color: l =
|
|
9673
|
+
color: l = m.GREY_DARK_5,
|
|
9674
9674
|
height: e = 24,
|
|
9675
9675
|
width: t = 24,
|
|
9676
9676
|
onClick: r
|
|
@@ -9707,7 +9707,7 @@ const x9 = ({
|
|
|
9707
9707
|
}
|
|
9708
9708
|
), u4 = ({
|
|
9709
9709
|
className: i,
|
|
9710
|
-
color: l =
|
|
9710
|
+
color: l = m.NOTIFICATION_WARNING_DARK,
|
|
9711
9711
|
height: e = 37,
|
|
9712
9712
|
width: t = 36,
|
|
9713
9713
|
onClick: r
|
|
@@ -9746,7 +9746,7 @@ const x9 = ({
|
|
|
9746
9746
|
}
|
|
9747
9747
|
), N4 = ({
|
|
9748
9748
|
className: i,
|
|
9749
|
-
color: l =
|
|
9749
|
+
color: l = m.GREY_DARK_5,
|
|
9750
9750
|
height: e = 24,
|
|
9751
9751
|
width: t = 24,
|
|
9752
9752
|
onClick: r
|
|
@@ -9772,7 +9772,7 @@ const x9 = ({
|
|
|
9772
9772
|
}
|
|
9773
9773
|
), _4 = ({
|
|
9774
9774
|
className: i,
|
|
9775
|
-
color: l =
|
|
9775
|
+
color: l = m.GREY_DARK_5,
|
|
9776
9776
|
height: e = 24,
|
|
9777
9777
|
width: t = 24,
|
|
9778
9778
|
onClick: r
|
|
@@ -9811,7 +9811,7 @@ const x9 = ({
|
|
|
9811
9811
|
}
|
|
9812
9812
|
), f4 = ({
|
|
9813
9813
|
className: i,
|
|
9814
|
-
color: l =
|
|
9814
|
+
color: l = m.GREY_DARK_5,
|
|
9815
9815
|
height: e = 20,
|
|
9816
9816
|
width: t = 20,
|
|
9817
9817
|
onClick: r
|
|
@@ -9844,7 +9844,7 @@ const x9 = ({
|
|
|
9844
9844
|
}
|
|
9845
9845
|
), R4 = ({
|
|
9846
9846
|
className: i,
|
|
9847
|
-
color: l =
|
|
9847
|
+
color: l = m.GREY_DARK_5,
|
|
9848
9848
|
height: e = 24,
|
|
9849
9849
|
width: t = 24,
|
|
9850
9850
|
onClick: r
|
|
@@ -9913,7 +9913,7 @@ const x9 = ({
|
|
|
9913
9913
|
}
|
|
9914
9914
|
), M4 = ({
|
|
9915
9915
|
className: i,
|
|
9916
|
-
color: l =
|
|
9916
|
+
color: l = m.GREY_DARK_5,
|
|
9917
9917
|
height: e = 24,
|
|
9918
9918
|
width: t = 24,
|
|
9919
9919
|
onClick: r
|
|
@@ -9970,7 +9970,7 @@ const x9 = ({
|
|
|
9970
9970
|
}
|
|
9971
9971
|
), H4 = ({
|
|
9972
9972
|
className: i,
|
|
9973
|
-
color: l =
|
|
9973
|
+
color: l = m.GREY_DARK_5,
|
|
9974
9974
|
height: e = 24,
|
|
9975
9975
|
width: t = 24,
|
|
9976
9976
|
onClick: r
|
|
@@ -10019,7 +10019,7 @@ const x9 = ({
|
|
|
10019
10019
|
}
|
|
10020
10020
|
), x4 = ({
|
|
10021
10021
|
className: i,
|
|
10022
|
-
color: l =
|
|
10022
|
+
color: l = m.GREY_DARK_5,
|
|
10023
10023
|
height: e = 24,
|
|
10024
10024
|
width: t = 24,
|
|
10025
10025
|
onClick: r
|
|
@@ -10046,7 +10046,7 @@ const x9 = ({
|
|
|
10046
10046
|
}
|
|
10047
10047
|
), Z4 = ({
|
|
10048
10048
|
className: i,
|
|
10049
|
-
color: l =
|
|
10049
|
+
color: l = m.GREY_DARK_5,
|
|
10050
10050
|
height: e = 20,
|
|
10051
10051
|
width: t = 20,
|
|
10052
10052
|
onClick: r
|
|
@@ -10061,7 +10061,7 @@ const x9 = ({
|
|
|
10061
10061
|
fill: "none",
|
|
10062
10062
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10063
10063
|
children: [
|
|
10064
|
-
/* @__PURE__ */ o("rect", { width: "20", height: "20", rx: "4", fill:
|
|
10064
|
+
/* @__PURE__ */ o("rect", { width: "20", height: "20", rx: "4", fill: m.GREY_LIGHT_2 }),
|
|
10065
10065
|
/* @__PURE__ */ o(
|
|
10066
10066
|
"path",
|
|
10067
10067
|
{
|
|
@@ -10140,7 +10140,7 @@ const x9 = ({
|
|
|
10140
10140
|
), E4 = ({
|
|
10141
10141
|
width: i = 20,
|
|
10142
10142
|
height: l = 20,
|
|
10143
|
-
color: e =
|
|
10143
|
+
color: e = m.GREY_DARK_5,
|
|
10144
10144
|
className: t,
|
|
10145
10145
|
onClick: r
|
|
10146
10146
|
}) => /* @__PURE__ */ o(
|
|
@@ -10197,7 +10197,7 @@ const x9 = ({
|
|
|
10197
10197
|
), I4 = ({
|
|
10198
10198
|
width: i = 20,
|
|
10199
10199
|
height: l = 20,
|
|
10200
|
-
color: e =
|
|
10200
|
+
color: e = m.GREY_DARK_5,
|
|
10201
10201
|
className: t,
|
|
10202
10202
|
onClick: r
|
|
10203
10203
|
}) => /* @__PURE__ */ C(
|
|
@@ -10230,7 +10230,7 @@ const x9 = ({
|
|
|
10230
10230
|
), D4 = ({
|
|
10231
10231
|
width: i = 24,
|
|
10232
10232
|
height: l = 24,
|
|
10233
|
-
color: e =
|
|
10233
|
+
color: e = m.GREY_DARK_2,
|
|
10234
10234
|
className: t,
|
|
10235
10235
|
onClick: r
|
|
10236
10236
|
}) => /* @__PURE__ */ C(
|
|
@@ -10270,7 +10270,7 @@ const x9 = ({
|
|
|
10270
10270
|
), T4 = ({
|
|
10271
10271
|
width: i = 24,
|
|
10272
10272
|
height: l = 24,
|
|
10273
|
-
color: e =
|
|
10273
|
+
color: e = m.GREY_DARK_2,
|
|
10274
10274
|
className: t,
|
|
10275
10275
|
onClick: r
|
|
10276
10276
|
}) => /* @__PURE__ */ o(
|
|
@@ -10297,7 +10297,7 @@ const x9 = ({
|
|
|
10297
10297
|
), K4 = ({
|
|
10298
10298
|
width: i = 24,
|
|
10299
10299
|
height: l = 24,
|
|
10300
|
-
color: e =
|
|
10300
|
+
color: e = m.GREY_DARK_2,
|
|
10301
10301
|
className: t,
|
|
10302
10302
|
onClick: r
|
|
10303
10303
|
}) => /* @__PURE__ */ o(
|
|
@@ -10330,7 +10330,7 @@ const x9 = ({
|
|
|
10330
10330
|
disabled: a = !1,
|
|
10331
10331
|
onClick: d
|
|
10332
10332
|
}) => {
|
|
10333
|
-
const { theme: c } = r1(P1), h = a ? c && c === "dark" ?
|
|
10333
|
+
const { theme: c } = r1(P1), h = a ? c && c === "dark" ? m.GREY_LIGHT_4 : m.GREY_DARK_1 : t, n = a ? void 0 : d, s = d && !a ? `${r || ""} clickable` : r;
|
|
10334
10334
|
return /* @__PURE__ */ o(J, { children: (() => {
|
|
10335
10335
|
switch (i) {
|
|
10336
10336
|
case "nextIcon":
|
|
@@ -10464,9 +10464,9 @@ const x9 = ({
|
|
|
10464
10464
|
case "emptyStateIcon":
|
|
10465
10465
|
return k4({ width: l, height: e, color: h, className: s, onClick: n });
|
|
10466
10466
|
case "filtersIcon":
|
|
10467
|
-
return p4({ width: l, height: e, color: h, className: s, onClick: n });
|
|
10468
|
-
case "dotMenuIcon":
|
|
10469
10467
|
return m4({ width: l, height: e, color: h, className: s, onClick: n });
|
|
10468
|
+
case "dotMenuIcon":
|
|
10469
|
+
return p4({ width: l, height: e, color: h, className: s, onClick: n });
|
|
10470
10470
|
case "plusCircle":
|
|
10471
10471
|
return v4({ width: l, height: e, color: h, className: s, onClick: n });
|
|
10472
10472
|
case "warning":
|
|
@@ -10551,7 +10551,7 @@ const O4 = t1((i, l) => {
|
|
|
10551
10551
|
required: s = !1,
|
|
10552
10552
|
clearable: V = !0,
|
|
10553
10553
|
scrollThresholdValue: x = 50,
|
|
10554
|
-
onSearchChange:
|
|
10554
|
+
onSearchChange: p,
|
|
10555
10555
|
onDropdownVisibleChange: N,
|
|
10556
10556
|
onScrollToEnd: v,
|
|
10557
10557
|
onPopupScroll: f,
|
|
@@ -10563,28 +10563,28 @@ const O4 = t1((i, l) => {
|
|
|
10563
10563
|
readOnly: I,
|
|
10564
10564
|
error: H,
|
|
10565
10565
|
selectedItemVariant: Y = "default",
|
|
10566
|
-
variant:
|
|
10566
|
+
variant: b = "outlined"
|
|
10567
10567
|
} = i;
|
|
10568
10568
|
let n1;
|
|
10569
10569
|
a && a !== "single" && (n1 = i.overflowBehaviour ?? "responsive");
|
|
10570
|
-
const [j, X] = Z(!1), [e1,
|
|
10570
|
+
const [j, X] = Z(!1), [e1, p1] = Z(!1), [z, c1] = Z(!1), [d1, s1] = Z(!0), [E, l1] = Z(e), w1 = P(null);
|
|
10571
10571
|
K(() => {
|
|
10572
10572
|
l1(e);
|
|
10573
10573
|
}, [e]);
|
|
10574
10574
|
const v1 = (w) => {
|
|
10575
10575
|
X(w), N && N(w);
|
|
10576
10576
|
}, u1 = (w, M) => {
|
|
10577
|
-
var
|
|
10578
|
-
return !!((
|
|
10577
|
+
var W;
|
|
10578
|
+
return !!((W = M == null ? void 0 : M.label) != null && W.toString().toLowerCase().includes(w.toLowerCase()));
|
|
10579
10579
|
}, N1 = () => {
|
|
10580
|
-
|
|
10580
|
+
p1(!0);
|
|
10581
10581
|
}, _1 = () => {
|
|
10582
|
-
|
|
10582
|
+
p1(!1);
|
|
10583
10583
|
}, q = F(
|
|
10584
10584
|
(w) => {
|
|
10585
10585
|
if (l1(w), a && a !== "single") {
|
|
10586
|
-
const
|
|
10587
|
-
t == null || t(
|
|
10586
|
+
const W = w;
|
|
10587
|
+
t == null || t(W);
|
|
10588
10588
|
return;
|
|
10589
10589
|
}
|
|
10590
10590
|
let M = null;
|
|
@@ -10601,7 +10601,7 @@ const O4 = t1((i, l) => {
|
|
|
10601
10601
|
}
|
|
10602
10602
|
}, [n, q, a, I]), i1 = F(
|
|
10603
10603
|
(w) => {
|
|
10604
|
-
const M = E.filter((
|
|
10604
|
+
const M = E.filter((W) => W !== w);
|
|
10605
10605
|
q(M), l1(M);
|
|
10606
10606
|
},
|
|
10607
10607
|
[q, E]
|
|
@@ -10619,19 +10619,19 @@ const O4 = t1((i, l) => {
|
|
|
10619
10619
|
M.scrollTop + M.offsetHeight >= M.scrollHeight - x && (v == null || v(!0)), f && await f(w);
|
|
10620
10620
|
}, S = F(
|
|
10621
10621
|
(w) => {
|
|
10622
|
-
var M,
|
|
10623
|
-
return ((M = c.find((h1) => h1.value === w)) == null ? void 0 : M.label) || ((
|
|
10622
|
+
var M, W;
|
|
10623
|
+
return ((M = c.find((h1) => h1.value === w)) == null ? void 0 : M.label) || ((W = D == null ? void 0 : D.find((h1) => h1.value === w)) == null ? void 0 : W.label) || w;
|
|
10624
10624
|
},
|
|
10625
10625
|
[D, c]
|
|
10626
10626
|
), B = F(
|
|
10627
10627
|
(w, M = "default") => {
|
|
10628
|
-
var
|
|
10628
|
+
var W;
|
|
10629
10629
|
return /* @__PURE__ */ o(
|
|
10630
10630
|
M9,
|
|
10631
10631
|
{
|
|
10632
10632
|
values: w,
|
|
10633
10633
|
onTagClose: i1,
|
|
10634
|
-
maxWidth: ((
|
|
10634
|
+
maxWidth: ((W = w1.current) == null ? void 0 : W.clientWidth) || 0,
|
|
10635
10635
|
disabled: n,
|
|
10636
10636
|
closable: !I,
|
|
10637
10637
|
options: c,
|
|
@@ -10641,9 +10641,9 @@ const O4 = t1((i, l) => {
|
|
|
10641
10641
|
);
|
|
10642
10642
|
},
|
|
10643
10643
|
[n, D, i1, c, I]
|
|
10644
|
-
),
|
|
10645
|
-
({ label: w, value: M, mode:
|
|
10646
|
-
if (
|
|
10644
|
+
), O = F(
|
|
10645
|
+
({ label: w, value: M, mode: W }) => {
|
|
10646
|
+
if (W === "filter")
|
|
10647
10647
|
return R1(M);
|
|
10648
10648
|
{
|
|
10649
10649
|
const H1 = Y === "badge" && c.find(($1) => $1.label === w), h1 = typeof w == "object" ? w : S(M);
|
|
@@ -10660,147 +10660,153 @@ const O4 = t1((i, l) => {
|
|
|
10660
10660
|
},
|
|
10661
10661
|
[n, S, i1, R1, Y, c]
|
|
10662
10662
|
), U = Array.isArray(E) && E.length > 0 || !!E && typeof E == "string" && E.trim() !== "";
|
|
10663
|
-
return /* @__PURE__ */ C(
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
{
|
|
10667
|
-
|
|
10663
|
+
return /* @__PURE__ */ C(
|
|
10664
|
+
"div",
|
|
10665
|
+
{
|
|
10666
|
+
className: `snmt-select-container ${b === "borderless" ? "snmt-select-container-borderless" : ""}`,
|
|
10667
|
+
children: [
|
|
10668
|
+
/* @__PURE__ */ C(
|
|
10669
|
+
"div",
|
|
10670
|
+
{
|
|
10671
|
+
className: `snmt-select ${e1 ? "snmt-select-focused" : ""}
|
|
10668
10672
|
${a ? "" : "snmt-select-single"}
|
|
10669
10673
|
${I ? "snmt-select-read-only" : ""}
|
|
10670
10674
|
${n1 === "static" ? "snmt-select-static" : ""}
|
|
10671
|
-
${
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
{
|
|
10713
|
-
onClick: f1,
|
|
10714
|
-
style: {
|
|
10715
|
-
cursor: n ? "not-allowed" : "pointer"
|
|
10716
|
-
},
|
|
10717
|
-
children: /* @__PURE__ */ o(
|
|
10718
|
-
g1,
|
|
10675
|
+
${b === "borderless" ? "snmt-select-borderless" : ""}`,
|
|
10676
|
+
ref: w1,
|
|
10677
|
+
style: { width: h },
|
|
10678
|
+
children: [
|
|
10679
|
+
/* @__PURE__ */ o(
|
|
10680
|
+
z1,
|
|
10681
|
+
{
|
|
10682
|
+
className: "snmt-select-blank",
|
|
10683
|
+
popupClassName: I ? "dropdown-read-only" : "",
|
|
10684
|
+
id: u,
|
|
10685
|
+
ref: l,
|
|
10686
|
+
showSearch: !!d,
|
|
10687
|
+
filterOption: d && u1,
|
|
10688
|
+
onDropdownVisibleChange: v1,
|
|
10689
|
+
disabled: n,
|
|
10690
|
+
value: E || void 0,
|
|
10691
|
+
labelRender: (w) => {
|
|
10692
|
+
const M = S(w.value);
|
|
10693
|
+
return n ? /* @__PURE__ */ o("span", { style: { color: y.GREY_DARK_1 }, children: M }) : M;
|
|
10694
|
+
},
|
|
10695
|
+
mode: W4(a, Y),
|
|
10696
|
+
variant: b,
|
|
10697
|
+
onChange: q,
|
|
10698
|
+
onFocus: N1,
|
|
10699
|
+
onBlur: _1,
|
|
10700
|
+
onMouseEnter: () => c1(!0),
|
|
10701
|
+
onMouseLeave: () => c1(!1),
|
|
10702
|
+
onSearch: (w) => {
|
|
10703
|
+
s1(!w), p && p(w);
|
|
10704
|
+
},
|
|
10705
|
+
onSelect: () => s1(!0),
|
|
10706
|
+
onDeselect: () => s1(!0),
|
|
10707
|
+
tagRender: (w) => O({ ...w, mode: a }),
|
|
10708
|
+
maxTagCount: n1 === "responsive" ? "responsive" : void 0,
|
|
10709
|
+
maxCount: a === "single" && Y === "badge" ? 1 : void 0,
|
|
10710
|
+
maxTagPlaceholder: (w) => B(w, Y),
|
|
10711
|
+
onPopupScroll: T,
|
|
10712
|
+
prefix: _ && /* @__PURE__ */ o(Y1, { size: "small" }),
|
|
10713
|
+
suffixIcon: /* @__PURE__ */ o("div", { className: "wrapper-suffix-icon", children: a !== "filter" && /* @__PURE__ */ C(J, { children: [
|
|
10714
|
+
E && !!E.length && V && /* @__PURE__ */ o(
|
|
10715
|
+
"div",
|
|
10719
10716
|
{
|
|
10720
|
-
|
|
10721
|
-
|
|
10717
|
+
onClick: f1,
|
|
10718
|
+
style: {
|
|
10719
|
+
cursor: n ? "not-allowed" : "pointer"
|
|
10720
|
+
},
|
|
10721
|
+
children: /* @__PURE__ */ o(
|
|
10722
|
+
g1,
|
|
10723
|
+
{
|
|
10724
|
+
name: "cancel",
|
|
10725
|
+
color: n ? y.GREY_DARK_1 : y.GREY_DARK_2
|
|
10726
|
+
}
|
|
10727
|
+
)
|
|
10722
10728
|
}
|
|
10723
|
-
)
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
W === "borderless" && (z || e1) && /* @__PURE__ */ o(
|
|
10727
|
-
B4,
|
|
10728
|
-
{
|
|
10729
|
-
isActive: j,
|
|
10730
|
-
onClick: () => X(!j)
|
|
10731
|
-
}
|
|
10732
|
-
),
|
|
10733
|
-
W === "outlined" && /* @__PURE__ */ o(
|
|
10734
|
-
g1,
|
|
10735
|
-
{
|
|
10736
|
-
name: "selectArrowIcon",
|
|
10737
|
-
color: n ? y.GREY_DARK_1 : y.GREY_DARK_5,
|
|
10738
|
-
className: j ? "select-arrow-rotated" : "select-arrow",
|
|
10739
|
-
onClick: () => X(!j)
|
|
10740
|
-
}
|
|
10741
|
-
)
|
|
10742
|
-
] }) }),
|
|
10743
|
-
removeIcon: /* @__PURE__ */ o(g1, { name: "cancelCircle", color: y.GREY_DARK_1 }),
|
|
10744
|
-
options: c,
|
|
10745
|
-
optionRender: (w) => G ? G(w.data) : /* @__PURE__ */ C(L1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
10746
|
-
/* @__PURE__ */ C(L1, { alignItems: "center", gap: 12, children: [
|
|
10747
|
-
a && /* @__PURE__ */ o(
|
|
10748
|
-
A2,
|
|
10749
|
-
{
|
|
10750
|
-
checked: !!(E != null && E.includes(w.value))
|
|
10751
|
-
}
|
|
10752
|
-
),
|
|
10753
|
-
/* @__PURE__ */ C(L1, { alignItems: "center", gap: 8, children: [
|
|
10754
|
-
w.data.image !== void 0 && /* @__PURE__ */ o(
|
|
10755
|
-
M2,
|
|
10729
|
+
),
|
|
10730
|
+
b === "borderless" && (z || e1) && /* @__PURE__ */ o(
|
|
10731
|
+
B4,
|
|
10756
10732
|
{
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
fallbackText: w.data.imageFallbackText ? w.data.imageFallbackText : ""
|
|
10733
|
+
isActive: j,
|
|
10734
|
+
onClick: () => X(!j)
|
|
10760
10735
|
}
|
|
10761
10736
|
),
|
|
10762
|
-
/* @__PURE__ */ o(
|
|
10737
|
+
b === "outlined" && /* @__PURE__ */ o(
|
|
10738
|
+
g1,
|
|
10739
|
+
{
|
|
10740
|
+
name: "selectArrowIcon",
|
|
10741
|
+
color: n ? y.GREY_DARK_1 : y.GREY_DARK_5,
|
|
10742
|
+
className: j ? "select-arrow-rotated" : "select-arrow",
|
|
10743
|
+
onClick: () => X(!j)
|
|
10744
|
+
}
|
|
10745
|
+
)
|
|
10746
|
+
] }) }),
|
|
10747
|
+
removeIcon: /* @__PURE__ */ o(g1, { name: "cancelCircle", color: y.GREY_DARK_1 }),
|
|
10748
|
+
options: c,
|
|
10749
|
+
optionRender: (w) => G ? G(w.data) : /* @__PURE__ */ C(L1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
10750
|
+
/* @__PURE__ */ C(L1, { alignItems: "center", gap: 12, children: [
|
|
10751
|
+
a && /* @__PURE__ */ o(
|
|
10752
|
+
A2,
|
|
10753
|
+
{
|
|
10754
|
+
checked: !!(E != null && E.includes(w.value))
|
|
10755
|
+
}
|
|
10756
|
+
),
|
|
10757
|
+
/* @__PURE__ */ C(L1, { alignItems: "center", gap: 8, children: [
|
|
10758
|
+
w.data.image !== void 0 && /* @__PURE__ */ o(
|
|
10759
|
+
M2,
|
|
10760
|
+
{
|
|
10761
|
+
src: w.data.image,
|
|
10762
|
+
variant: "xsmall",
|
|
10763
|
+
fallbackText: w.data.imageFallbackText ? w.data.imageFallbackText : ""
|
|
10764
|
+
}
|
|
10765
|
+
),
|
|
10766
|
+
/* @__PURE__ */ o("span", { children: w.label })
|
|
10767
|
+
] })
|
|
10768
|
+
] }),
|
|
10769
|
+
!a && E === w.value && /* @__PURE__ */ o(g1, { name: "check", color: y.BLUE_DARK_1 })
|
|
10770
|
+
] }),
|
|
10771
|
+
dropdownRender: (w) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
|
|
10772
|
+
/* @__PURE__ */ o("div", { className: "dropdown-menu", children: $ ? $(w) : w }),
|
|
10773
|
+
_ && /* @__PURE__ */ o("div", { className: "loading-overlay", children: /* @__PURE__ */ o(Y1, {}) })
|
|
10763
10774
|
] })
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10775
|
+
}
|
|
10776
|
+
),
|
|
10777
|
+
r && b !== "borderless" && /* @__PURE__ */ o(
|
|
10778
|
+
"label",
|
|
10779
|
+
{
|
|
10780
|
+
className: `${e1 || U ? "label-floating" : ""} ${n ? "label-disabled" : ""} ${e1 ? "label-focused" : ""} ${_ ? "label-loading" : ""} ${H ? "label-error" : ""}`,
|
|
10781
|
+
children: s ? `${r}*` : r
|
|
10782
|
+
}
|
|
10783
|
+
),
|
|
10784
|
+
/* @__PURE__ */ o(
|
|
10785
|
+
"fieldset",
|
|
10786
|
+
{
|
|
10787
|
+
className: `${e1 ? "fieldset-focused" : ""} ${n ? "fieldset-disabled" : ""} ${U ? "fieldset-filled" : ""} ${H ? "fieldset-error" : ""}
|
|
10788
|
+
${z ? "fieldset-hovered" : ""}`,
|
|
10789
|
+
children: /* @__PURE__ */ o("legend", { children: r && b !== "borderless" && /* @__PURE__ */ o("span", { children: s ? `${r}*` : r }) })
|
|
10790
|
+
}
|
|
10791
|
+
)
|
|
10792
|
+
]
|
|
10793
|
+
}
|
|
10794
|
+
),
|
|
10795
|
+
H && /* @__PURE__ */ C(L1, { justifyContent: "flex-start", gap: 6, children: [
|
|
10780
10796
|
/* @__PURE__ */ o(
|
|
10781
|
-
|
|
10797
|
+
g1,
|
|
10782
10798
|
{
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10799
|
+
name: "attention",
|
|
10800
|
+
color: y.NOTIFICATION_ERROR_DARK,
|
|
10801
|
+
height: 16,
|
|
10802
|
+
width: 16
|
|
10786
10803
|
}
|
|
10787
|
-
)
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
g1,
|
|
10794
|
-
{
|
|
10795
|
-
name: "attention",
|
|
10796
|
-
color: y.NOTIFICATION_ERROR_DARK,
|
|
10797
|
-
height: 16,
|
|
10798
|
-
width: 16
|
|
10799
|
-
}
|
|
10800
|
-
),
|
|
10801
|
-
typeof H == "string" ? /* @__PURE__ */ o(n0, { color: y.NOTIFICATION_ERROR_DARK, variant: "body4", children: H }) : H
|
|
10802
|
-
] })
|
|
10803
|
-
] });
|
|
10804
|
+
),
|
|
10805
|
+
typeof H == "string" ? /* @__PURE__ */ o(n0, { color: y.NOTIFICATION_ERROR_DARK, variant: "body4", children: H }) : H
|
|
10806
|
+
] })
|
|
10807
|
+
]
|
|
10808
|
+
}
|
|
10809
|
+
);
|
|
10804
10810
|
});
|
|
10805
10811
|
function W4(i, l) {
|
|
10806
10812
|
return i === "filter" || i === "single" && l === "badge" ? "multiple" : i === "single" ? void 0 : i;
|
|
@@ -10837,7 +10843,7 @@ const x1 = 100, C1 = {
|
|
|
10837
10843
|
loadOnClosedState: s,
|
|
10838
10844
|
preloadOptions: V,
|
|
10839
10845
|
extraOptions: x,
|
|
10840
|
-
onDropdownVisibleChange:
|
|
10846
|
+
onDropdownVisibleChange: p,
|
|
10841
10847
|
optionRender: N,
|
|
10842
10848
|
dropdownRender: v,
|
|
10843
10849
|
readOnly: f,
|
|
@@ -10845,7 +10851,7 @@ const x1 = 100, C1 = {
|
|
|
10845
10851
|
required: D = !1,
|
|
10846
10852
|
error: $,
|
|
10847
10853
|
variant: G = "outlined"
|
|
10848
|
-
} = i, [_, I] = Z(), [H, Y] = Z(C1), [
|
|
10854
|
+
} = i, [_, I] = Z(), [H, Y] = Z(C1), [b, n1] = Z(!1), [j, X] = Z(), [e1, p1] = Z(!1), [z, c1] = Z(
|
|
10849
10855
|
x ?? []
|
|
10850
10856
|
), d1 = B1(H.offset), s1 = B1(j), [E, l1] = Z(!1), w1 = P(!1), v1 = F(
|
|
10851
10857
|
async ({
|
|
@@ -10861,9 +10867,9 @@ const x1 = 100, C1 = {
|
|
|
10861
10867
|
search: S
|
|
10862
10868
|
});
|
|
10863
10869
|
I(
|
|
10864
|
-
(
|
|
10865
|
-
), Y((
|
|
10866
|
-
...
|
|
10870
|
+
(O) => T === 0 ? B.options : [...O ?? [], ...B.options]
|
|
10871
|
+
), Y((O) => ({
|
|
10872
|
+
...O,
|
|
10867
10873
|
count: B.count
|
|
10868
10874
|
}));
|
|
10869
10875
|
} catch (B) {
|
|
@@ -10880,22 +10886,22 @@ const x1 = 100, C1 = {
|
|
|
10880
10886
|
[u1]
|
|
10881
10887
|
), _1 = F(
|
|
10882
10888
|
async (R) => {
|
|
10883
|
-
|
|
10889
|
+
b || R && H.count && H.count > ((_ == null ? void 0 : _.length) ?? 0) && Y((T) => ({
|
|
10884
10890
|
...T,
|
|
10885
10891
|
offset: T.offset + x1
|
|
10886
10892
|
}));
|
|
10887
10893
|
},
|
|
10888
|
-
[
|
|
10894
|
+
[b, _ == null ? void 0 : _.length, H.count]
|
|
10889
10895
|
), q = F(
|
|
10890
10896
|
(R) => {
|
|
10891
|
-
|
|
10897
|
+
p1(R), !R && j && (X(void 0), Y(C1), l1(!0)), p == null || p(R);
|
|
10892
10898
|
},
|
|
10893
|
-
[
|
|
10899
|
+
[p, j]
|
|
10894
10900
|
);
|
|
10895
10901
|
K(() => {
|
|
10896
|
-
if (!w1.current ||
|
|
10902
|
+
if (!w1.current || b) return;
|
|
10897
10903
|
(E || e1 && (d1 !== H.offset || s1 !== j || !_)) && (v1({ offset: H.offset, limit: x1, search: j }), E && l1(!1));
|
|
10898
|
-
}, [E, e1, H.offset, j, d1, s1, _,
|
|
10904
|
+
}, [E, e1, H.offset, j, d1, s1, _, b]), K(() => {
|
|
10899
10905
|
(s || V) && v1(C1), w1.current = !0;
|
|
10900
10906
|
}, []), K(() => {
|
|
10901
10907
|
x && c1((R) => {
|
|
@@ -10911,15 +10917,15 @@ const x1 = 100, C1 = {
|
|
|
10911
10917
|
let T = [];
|
|
10912
10918
|
if (n ? T = Array.isArray(R) ? R : [] : T = R ? [R] : [], j) {
|
|
10913
10919
|
const S = T.filter(
|
|
10914
|
-
(B) => !(z != null && z.some((
|
|
10920
|
+
(B) => !(z != null && z.some((O) => O.value === B))
|
|
10915
10921
|
);
|
|
10916
10922
|
S.length > 0 && c1((B = []) => [
|
|
10917
10923
|
...B,
|
|
10918
|
-
...S.map((
|
|
10919
|
-
const U = _ == null ? void 0 : _.find((w) => w.value ===
|
|
10924
|
+
...S.map((O) => {
|
|
10925
|
+
const U = _ == null ? void 0 : _.find((w) => w.value === O);
|
|
10920
10926
|
return {
|
|
10921
|
-
value:
|
|
10922
|
-
label: (U == null ? void 0 : U.label) ??
|
|
10927
|
+
value: O,
|
|
10928
|
+
label: (U == null ? void 0 : U.label) ?? O,
|
|
10923
10929
|
imageFallbackText: (U == null ? void 0 : U.imageFallbackText) ?? "",
|
|
10924
10930
|
image: (U == null ? void 0 : U.image) ?? void 0
|
|
10925
10931
|
};
|
|
@@ -10941,7 +10947,7 @@ const x1 = 100, C1 = {
|
|
|
10941
10947
|
scrollThresholdValue: c,
|
|
10942
10948
|
onScrollToEnd: _1,
|
|
10943
10949
|
disabled: d,
|
|
10944
|
-
isLoading:
|
|
10950
|
+
isLoading: b,
|
|
10945
10951
|
optionRender: N,
|
|
10946
10952
|
dropdownRender: v,
|
|
10947
10953
|
readOnly: f,
|
|
@@ -10961,7 +10967,7 @@ const x1 = 100, C1 = {
|
|
|
10961
10967
|
c,
|
|
10962
10968
|
_1,
|
|
10963
10969
|
d,
|
|
10964
|
-
|
|
10970
|
+
b,
|
|
10965
10971
|
N,
|
|
10966
10972
|
v,
|
|
10967
10973
|
f,
|
|
@@ -10977,10 +10983,10 @@ const x1 = 100, C1 = {
|
|
|
10977
10983
|
}
|
|
10978
10984
|
}));
|
|
10979
10985
|
const R1 = G1(() => {
|
|
10980
|
-
const R = n && n !== "single", T = i.selectedItemVariant === "badge", S = T ? _ || [] : _ || [], B = z,
|
|
10986
|
+
const R = n && n !== "single", T = i.selectedItemVariant === "badge", S = T ? _ || [] : _ || [], B = z, O = i, w = R ? {
|
|
10981
10987
|
mode: n,
|
|
10982
|
-
overflowBehaviour:
|
|
10983
|
-
value:
|
|
10988
|
+
overflowBehaviour: O.overflowBehaviour,
|
|
10989
|
+
value: O.value
|
|
10984
10990
|
} : {
|
|
10985
10991
|
mode: n,
|
|
10986
10992
|
value: i.value
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snmt-react-ui/async-select",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.12.
|
|
4
|
+
"version": "1.12.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/async-select.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@snmt-react-ui/select": "^1.26.
|
|
21
|
+
"@snmt-react-ui/select": "^1.26.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"antd": "^5.18.3"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "42d20da0aeaaa5f031b320255ef5d879870f8989"
|
|
27
27
|
}
|