@snmt-react-ui/city-select 2.8.14 → 2.8.16
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/city-select.js +63 -63
- package/dist/index.css +1 -1
- package/package.json +4 -4
package/dist/city-select.js
CHANGED
|
@@ -4,10 +4,10 @@ var T1 = (i, e, t) => w2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as i1, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as L2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { forwardRef as d1, useState as
|
|
7
|
+
import { forwardRef as d1, useState as A, useRef as $, useCallback as K, useEffect as S, useMemo as k2, useImperativeHandle as k1, useContext as r1, createContext as C1 } from "react";
|
|
8
8
|
import { Select as v2, Tag as N2, Flex as R2, Checkbox as x2, Avatar as _2, Typography as G1, Popover as M2 } from "antd";
|
|
9
9
|
var b2 = Object.defineProperty, y2 = (i, e, t) => e in i ? b2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, H2 = (i, e, t) => y2(i, e + "", t), E2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
-
function
|
|
10
|
+
function V2() {
|
|
11
11
|
if (console && console.warn) {
|
|
12
12
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
13
13
|
e[t] = arguments[t];
|
|
@@ -18,7 +18,7 @@ const K1 = {};
|
|
|
18
18
|
function I1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
n1(e[0]) && K1[e[0]] || (n1(e[0]) && (K1[e[0]] = /* @__PURE__ */ new Date()),
|
|
21
|
+
n1(e[0]) && K1[e[0]] || (n1(e[0]) && (K1[e[0]] = /* @__PURE__ */ new Date()), V2(...e));
|
|
22
22
|
}
|
|
23
23
|
const o2 = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
@@ -37,7 +37,7 @@ const o2 = (i, e) => () => {
|
|
|
37
37
|
n1(t) && (t = [t]), t.forEach((s) => {
|
|
38
38
|
i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
|
|
39
39
|
}), i.loadLanguages(e, o2(i, n));
|
|
40
|
-
},
|
|
40
|
+
}, A2 = function(i, e) {
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
42
|
const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
43
43
|
if (n.toLowerCase() === "cimode") return !0;
|
|
@@ -53,7 +53,7 @@ const o2 = (i, e) => () => {
|
|
|
53
53
|
precheck: (n, s) => {
|
|
54
54
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !s(n.isLanguageChangingTo, i)) return !1;
|
|
55
55
|
}
|
|
56
|
-
}) :
|
|
56
|
+
}) : A2(i, e, t);
|
|
57
57
|
}, n1 = (i) => typeof i == "string", O2 = (i) => typeof i == "object" && i !== null, S2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Z2 = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
@@ -128,7 +128,7 @@ const $2 = (i, e) => {
|
|
|
128
128
|
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = n1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => I2(p, o, c)), h = F2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] =
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => I2(p, o, c)), h = F2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = A(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
134
|
const b = $2(m), y = $(!0);
|
|
@@ -192,7 +192,7 @@ const $2 = (i, e) => {
|
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
194
|
};
|
|
195
|
-
var U = /* @__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.
|
|
195
|
+
var U = /* @__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))(U || {});
|
|
196
196
|
const D1 = C1({
|
|
197
197
|
locale: "en",
|
|
198
198
|
theme: "light"
|
|
@@ -217,7 +217,7 @@ const { Title: z2, Text: J2 } = G1, q2 = {
|
|
|
217
217
|
}, C) => {
|
|
218
218
|
const d = $(null);
|
|
219
219
|
k1(C, () => d.current);
|
|
220
|
-
const [l, h] =
|
|
220
|
+
const [l, h] = A(!1);
|
|
221
221
|
S(() => {
|
|
222
222
|
var v;
|
|
223
223
|
if (!a) return;
|
|
@@ -255,7 +255,7 @@ const { Title: z2, Text: J2 } = G1, q2 = {
|
|
|
255
255
|
disabled: s = !1,
|
|
256
256
|
disableUncheck: o = !1
|
|
257
257
|
}) => {
|
|
258
|
-
const [c, a] =
|
|
258
|
+
const [c, a] = A(i), [C, d] = A(e);
|
|
259
259
|
S(() => {
|
|
260
260
|
a(i), d(e);
|
|
261
261
|
}, [i, e]);
|
|
@@ -281,7 +281,7 @@ const { Title: z2, Text: J2 } = G1, q2 = {
|
|
|
281
281
|
}
|
|
282
282
|
);
|
|
283
283
|
};
|
|
284
|
-
var L = /* @__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.
|
|
284
|
+
var L = /* @__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))(L || {});
|
|
285
285
|
const l2 = C1({
|
|
286
286
|
locale: "en",
|
|
287
287
|
theme: "light"
|
|
@@ -1369,7 +1369,7 @@ const e5 = ({
|
|
|
1369
1369
|
)
|
|
1370
1370
|
]
|
|
1371
1371
|
}
|
|
1372
|
-
),
|
|
1372
|
+
), V5 = ({
|
|
1373
1373
|
width: i = 10,
|
|
1374
1374
|
height: e = 10,
|
|
1375
1375
|
color: t = "#001E52",
|
|
@@ -1398,7 +1398,7 @@ const e5 = ({
|
|
|
1398
1398
|
)
|
|
1399
1399
|
]
|
|
1400
1400
|
}
|
|
1401
|
-
),
|
|
1401
|
+
), A5 = ({
|
|
1402
1402
|
width: i = 10,
|
|
1403
1403
|
height: e = 10,
|
|
1404
1404
|
color: t = "#001E52",
|
|
@@ -2544,7 +2544,7 @@ const e5 = ({
|
|
|
2544
2544
|
disabled: o = !1,
|
|
2545
2545
|
onClick: c
|
|
2546
2546
|
}) => {
|
|
2547
|
-
const [a, C] =
|
|
2547
|
+
const [a, C] = A(s), { theme: d } = r1(l2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : n, h = o ? void 0 : c;
|
|
2548
2548
|
return S(() => {
|
|
2549
2549
|
if (s) {
|
|
2550
2550
|
h && !o && C(`${s} clickable`);
|
|
@@ -2654,9 +2654,9 @@ const e5 = ({
|
|
|
2654
2654
|
onClick: h
|
|
2655
2655
|
});
|
|
2656
2656
|
case "sortUp":
|
|
2657
|
-
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2658
|
-
case "sortDown":
|
|
2659
2657
|
return V5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2658
|
+
case "sortDown":
|
|
2659
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2660
2660
|
case "search":
|
|
2661
2661
|
return I5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2662
2662
|
case "arrowUpFilled":
|
|
@@ -2746,7 +2746,7 @@ const e5 = ({
|
|
|
2746
2746
|
}, C) => {
|
|
2747
2747
|
const d = $(null);
|
|
2748
2748
|
k1(C, () => d.current);
|
|
2749
|
-
const [l, h] =
|
|
2749
|
+
const [l, h] = A(!1);
|
|
2750
2750
|
S(() => {
|
|
2751
2751
|
var v;
|
|
2752
2752
|
if (!a) return;
|
|
@@ -2777,7 +2777,7 @@ const e5 = ({
|
|
|
2777
2777
|
return g ? /* @__PURE__ */ r(ce, { level: Ce[e], ...w, children: n }) : /* @__PURE__ */ r(de, { ...w, children: n });
|
|
2778
2778
|
}
|
|
2779
2779
|
);
|
|
2780
|
-
var k = /* @__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.
|
|
2780
|
+
var k = /* @__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))(k || {});
|
|
2781
2781
|
const h2 = C1({
|
|
2782
2782
|
locale: "en",
|
|
2783
2783
|
theme: "light"
|
|
@@ -3388,7 +3388,7 @@ const ue = ({
|
|
|
3388
3388
|
)
|
|
3389
3389
|
]
|
|
3390
3390
|
}
|
|
3391
|
-
),
|
|
3391
|
+
), Ve = ({
|
|
3392
3392
|
width: i = 20,
|
|
3393
3393
|
height: e = 20,
|
|
3394
3394
|
color: t = k.GREY_DARK_5,
|
|
@@ -3435,7 +3435,7 @@ const ue = ({
|
|
|
3435
3435
|
)
|
|
3436
3436
|
]
|
|
3437
3437
|
}
|
|
3438
|
-
),
|
|
3438
|
+
), Ae = ({
|
|
3439
3439
|
width: i = 20,
|
|
3440
3440
|
height: e = 20,
|
|
3441
3441
|
color: t = k.GREY_DARK_5,
|
|
@@ -5040,7 +5040,7 @@ const ue = ({
|
|
|
5040
5040
|
disabled: o = !1,
|
|
5041
5041
|
onClick: c
|
|
5042
5042
|
}) => {
|
|
5043
|
-
const [a, C] =
|
|
5043
|
+
const [a, C] = A(s), { theme: d } = r1(h2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : n, h = o ? void 0 : c;
|
|
5044
5044
|
return S(() => {
|
|
5045
5045
|
if (s) {
|
|
5046
5046
|
h && !o && C(`${s} clickable`);
|
|
@@ -5086,9 +5086,9 @@ const ue = ({
|
|
|
5086
5086
|
onClick: h
|
|
5087
5087
|
});
|
|
5088
5088
|
case "skills":
|
|
5089
|
-
return
|
|
5089
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5090
5090
|
case "skillsMatrices":
|
|
5091
|
-
return
|
|
5091
|
+
return Ae({
|
|
5092
5092
|
width: e,
|
|
5093
5093
|
height: t,
|
|
5094
5094
|
color: l,
|
|
@@ -5224,7 +5224,7 @@ const ue = ({
|
|
|
5224
5224
|
}
|
|
5225
5225
|
})() });
|
|
5226
5226
|
};
|
|
5227
|
-
var m1 = /* @__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.
|
|
5227
|
+
var m1 = /* @__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))(m1 || {});
|
|
5228
5228
|
const _t = C1({
|
|
5229
5229
|
locale: "en",
|
|
5230
5230
|
theme: "light"
|
|
@@ -5287,7 +5287,7 @@ const c2 = ({
|
|
|
5287
5287
|
}, C) => {
|
|
5288
5288
|
const d = $(null);
|
|
5289
5289
|
k1(C, () => d.current);
|
|
5290
|
-
const [l, h] =
|
|
5290
|
+
const [l, h] = A(!1);
|
|
5291
5291
|
S(() => {
|
|
5292
5292
|
var v;
|
|
5293
5293
|
if (!a) return;
|
|
@@ -5326,7 +5326,7 @@ const c2 = ({
|
|
|
5326
5326
|
noPadding: o = !1,
|
|
5327
5327
|
trigger: c = "click"
|
|
5328
5328
|
}) => {
|
|
5329
|
-
const [a, C] =
|
|
5329
|
+
const [a, C] = A(!1);
|
|
5330
5330
|
return /* @__PURE__ */ r(
|
|
5331
5331
|
M2,
|
|
5332
5332
|
{
|
|
@@ -5343,7 +5343,7 @@ const c2 = ({
|
|
|
5343
5343
|
}
|
|
5344
5344
|
);
|
|
5345
5345
|
};
|
|
5346
|
-
var
|
|
5346
|
+
var Vt = { exports: {} };
|
|
5347
5347
|
(function(i, e) {
|
|
5348
5348
|
(function(t, n) {
|
|
5349
5349
|
i.exports = n();
|
|
@@ -5353,8 +5353,8 @@ var At = { exports: {} };
|
|
|
5353
5353
|
return "[" + t + (n[(s - 20) % 10] || n[s] || n[0]) + "]";
|
|
5354
5354
|
} };
|
|
5355
5355
|
});
|
|
5356
|
-
})(
|
|
5357
|
-
const
|
|
5356
|
+
})(Vt);
|
|
5357
|
+
const At = ({
|
|
5358
5358
|
values: i,
|
|
5359
5359
|
onTagClose: e,
|
|
5360
5360
|
maxWidth: t,
|
|
@@ -5363,7 +5363,7 @@ const Vt = ({
|
|
|
5363
5363
|
options: o,
|
|
5364
5364
|
extraOptions: c
|
|
5365
5365
|
}) => {
|
|
5366
|
-
const { locale: a } = r1(D1), { t: C } = W2("common", { lng: a }), [d, l] =
|
|
5366
|
+
const { locale: a } = r1(D1), { t: C } = W2("common", { lng: a }), [d, l] = A(!1);
|
|
5367
5367
|
if (S(() => {
|
|
5368
5368
|
i.length || l(!1);
|
|
5369
5369
|
}, [i]), !i.length)
|
|
@@ -5435,12 +5435,12 @@ const Vt = ({
|
|
|
5435
5435
|
readOnly: p,
|
|
5436
5436
|
error: N
|
|
5437
5437
|
}, _) => {
|
|
5438
|
-
const [R,
|
|
5438
|
+
const [R, V] = A(!1), [G, T] = A(!1), [Y, Q] = A(!0), [I, P] = A(i), z = $(null);
|
|
5439
5439
|
S(() => {
|
|
5440
5440
|
P(i);
|
|
5441
5441
|
}, [i]);
|
|
5442
5442
|
const q = (x) => {
|
|
5443
|
-
|
|
5443
|
+
V(x), g && g(x);
|
|
5444
5444
|
}, X = (x, H) => {
|
|
5445
5445
|
var Z;
|
|
5446
5446
|
return !!((Z = H == null ? void 0 : H.label) != null && Z.toString().toLowerCase().includes(x.toLowerCase()));
|
|
@@ -5497,7 +5497,7 @@ const Vt = ({
|
|
|
5497
5497
|
(x) => {
|
|
5498
5498
|
var H;
|
|
5499
5499
|
return /* @__PURE__ */ r(
|
|
5500
|
-
|
|
5500
|
+
At,
|
|
5501
5501
|
{
|
|
5502
5502
|
values: x,
|
|
5503
5503
|
onTagClose: t1,
|
|
@@ -5576,7 +5576,7 @@ const Vt = ({
|
|
|
5576
5576
|
name: "selectArrowIcon",
|
|
5577
5577
|
color: a ? U.GREY_DARK_1 : U.GREY_DARK_5,
|
|
5578
5578
|
className: R ? "select-arrow-rotated" : "select-arrow",
|
|
5579
|
-
onClick: () =>
|
|
5579
|
+
onClick: () => V(!R)
|
|
5580
5580
|
}
|
|
5581
5581
|
)
|
|
5582
5582
|
] }) }),
|
|
@@ -5678,9 +5678,9 @@ const E1 = 100, l1 = {
|
|
|
5678
5678
|
required: b = !1,
|
|
5679
5679
|
error: y
|
|
5680
5680
|
}, E) => {
|
|
5681
|
-
const [p, N] =
|
|
5681
|
+
const [p, N] = A(), [_, R] = A(l1), [V, G] = A(!1), [T, Y] = A(), [Q, I] = A(!1), [P, z] = A(
|
|
5682
5682
|
h ?? []
|
|
5683
|
-
), q = $1(_.offset), X = $1(T), [D, F] =
|
|
5683
|
+
), q = $1(_.offset), X = $1(T), [D, F] = A(!1), j = $(!1), e1 = K(
|
|
5684
5684
|
async ({
|
|
5685
5685
|
limit: O = E1,
|
|
5686
5686
|
offset: W,
|
|
@@ -5713,12 +5713,12 @@ const E1 = 100, l1 = {
|
|
|
5713
5713
|
[t1]
|
|
5714
5714
|
), v1 = K(
|
|
5715
5715
|
async (O) => {
|
|
5716
|
-
|
|
5716
|
+
V || O && _.count && _.count > ((p == null ? void 0 : p.length) ?? 0) && R((W) => ({
|
|
5717
5717
|
...W,
|
|
5718
5718
|
offset: W.offset + E1
|
|
5719
5719
|
}));
|
|
5720
5720
|
},
|
|
5721
|
-
[
|
|
5721
|
+
[V, p == null ? void 0 : p.length, _.count]
|
|
5722
5722
|
), N1 = K(
|
|
5723
5723
|
(O) => {
|
|
5724
5724
|
I(O), !O && T && (Y(void 0), R(l1), F(!0)), g == null || g(O);
|
|
@@ -5726,8 +5726,8 @@ const E1 = 100, l1 = {
|
|
|
5726
5726
|
[g, T]
|
|
5727
5727
|
);
|
|
5728
5728
|
S(() => {
|
|
5729
|
-
!j.current ||
|
|
5730
|
-
}, [D, Q, _.offset, T, q, X, p,
|
|
5729
|
+
!j.current || V || (D || Q && (q !== _.offset || X !== T || !p)) && (e1({ offset: _.offset, limit: E1, search: T }), D && F(!1));
|
|
5730
|
+
}, [D, Q, _.offset, T, q, X, p, V]), S(() => {
|
|
5731
5731
|
(d || l) && e1(l1), j.current = !0;
|
|
5732
5732
|
}, []), S(() => {
|
|
5733
5733
|
h && z((O) => {
|
|
@@ -5774,7 +5774,7 @@ const E1 = 100, l1 = {
|
|
|
5774
5774
|
onScrollToEnd: v1,
|
|
5775
5775
|
disabled: o,
|
|
5776
5776
|
extraOptions: P,
|
|
5777
|
-
isLoading:
|
|
5777
|
+
isLoading: V,
|
|
5778
5778
|
optionRender: f,
|
|
5779
5779
|
dropdownRender: w,
|
|
5780
5780
|
readOnly: v,
|
|
@@ -5796,7 +5796,7 @@ const E1 = 100, l1 = {
|
|
|
5796
5796
|
v1,
|
|
5797
5797
|
o,
|
|
5798
5798
|
P,
|
|
5799
|
-
|
|
5799
|
+
V,
|
|
5800
5800
|
f,
|
|
5801
5801
|
w,
|
|
5802
5802
|
v,
|
|
@@ -6182,12 +6182,12 @@ class y1 extends H1 {
|
|
|
6182
6182
|
const p = Array.isArray(g), N = p ? [] : {}, _ = p ? w : f;
|
|
6183
6183
|
for (const R in g)
|
|
6184
6184
|
if (Object.prototype.hasOwnProperty.call(g, R)) {
|
|
6185
|
-
const
|
|
6186
|
-
N[R] = this.translate(
|
|
6185
|
+
const V = `${_}${o}${R}`;
|
|
6186
|
+
N[R] = this.translate(V, {
|
|
6187
6187
|
...t,
|
|
6188
6188
|
joinArrays: !1,
|
|
6189
6189
|
ns: a
|
|
6190
|
-
}), N[R] ===
|
|
6190
|
+
}), N[R] === V && (N[R] = g[R]);
|
|
6191
6191
|
}
|
|
6192
6192
|
g = N;
|
|
6193
6193
|
}
|
|
@@ -6195,9 +6195,9 @@ class y1 extends H1 {
|
|
|
6195
6195
|
g = g.join(b), g && (g = this.extendTranslation(g, e, t, n));
|
|
6196
6196
|
else {
|
|
6197
6197
|
let p = !1, N = !1;
|
|
6198
|
-
const _ = t.count !== void 0 && !M(t.count), R = y1.hasDefaultValue(t),
|
|
6198
|
+
const _ = t.count !== void 0 && !M(t.count), R = y1.hasDefaultValue(t), V = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", G = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
|
|
6199
6199
|
ordinal: !1
|
|
6200
|
-
}) : "", T = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), Y = T && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${
|
|
6200
|
+
}) : "", T = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), Y = T && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${V}`] || t[`defaultValue${G}`] || t.defaultValue;
|
|
6201
6201
|
!this.isValidLookup(g) && R && (p = !0, g = Y), this.isValidLookup(g) || (N = !0, g = c);
|
|
6202
6202
|
const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : g, P = R && Y !== g && this.options.updateMissing;
|
|
6203
6203
|
if (N || p || P) {
|
|
@@ -6344,7 +6344,7 @@ class y1 extends H1 {
|
|
|
6344
6344
|
return !1;
|
|
6345
6345
|
}
|
|
6346
6346
|
}
|
|
6347
|
-
const
|
|
6347
|
+
const V1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
6348
6348
|
class Q1 {
|
|
6349
6349
|
constructor(e) {
|
|
6350
6350
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
|
|
@@ -6369,7 +6369,7 @@ class Q1 {
|
|
|
6369
6369
|
}
|
|
6370
6370
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
6371
6371
|
let n = e.split("-");
|
|
6372
|
-
return this.options.lowerCaseLng ? n = n.map((s) => s.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] =
|
|
6372
|
+
return this.options.lowerCaseLng ? n = n.map((s) => s.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = V1(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = V1(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = V1(n[2].toLowerCase()))), n.join("-");
|
|
6373
6373
|
}
|
|
6374
6374
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
6375
6375
|
}
|
|
@@ -6611,7 +6611,7 @@ class Qt {
|
|
|
6611
6611
|
const e2 = function(i, e, t) {
|
|
6612
6612
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = Tt(i, e, t);
|
|
6613
6613
|
return !o && s && M(t) && (o = O1(i, t, n), o === void 0 && (o = O1(e, t, n))), o;
|
|
6614
|
-
},
|
|
6614
|
+
}, A1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6615
6615
|
class Xt {
|
|
6616
6616
|
constructor() {
|
|
6617
6617
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -6672,10 +6672,10 @@ class Xt {
|
|
|
6672
6672
|
const l = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, h = s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6673
6673
|
return [{
|
|
6674
6674
|
regex: this.regexpUnescape,
|
|
6675
|
-
safeValue: (f) =>
|
|
6675
|
+
safeValue: (f) => A1(f)
|
|
6676
6676
|
}, {
|
|
6677
6677
|
regex: this.regexp,
|
|
6678
|
-
safeValue: (f) => this.escapeValue ?
|
|
6678
|
+
safeValue: (f) => this.escapeValue ? A1(this.escape(f)) : A1(f)
|
|
6679
6679
|
}].forEach((f) => {
|
|
6680
6680
|
for (a = 0; o = f.regex.exec(e); ) {
|
|
6681
6681
|
const w = o[1].trim();
|
|
@@ -7436,7 +7436,7 @@ const k7 = (i, e) => {
|
|
|
7436
7436
|
} = c;
|
|
7437
7437
|
let d = i;
|
|
7438
7438
|
d = s1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
7439
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => a7(p, o, c)), h = v7(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => f2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] =
|
|
7439
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => a7(p, o, c)), h = v7(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => f2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = A(g);
|
|
7440
7440
|
let m = d.join();
|
|
7441
7441
|
e.lng && (m = `${e.lng}${m}`);
|
|
7442
7442
|
const b = k7(m), y = $(!0);
|
|
@@ -7489,9 +7489,9 @@ B.use(m7).init({
|
|
|
7489
7489
|
});
|
|
7490
7490
|
const O7 = d1(
|
|
7491
7491
|
({ width: i, selectedCountry: e, onChange: t, value: n, id: s, disabled: o, clearable: c }, a) => {
|
|
7492
|
-
const [C, d] =
|
|
7492
|
+
const [C, d] = A(
|
|
7493
7493
|
[]
|
|
7494
|
-
), [l, h] =
|
|
7494
|
+
), [l, h] = A(!1), { locale: g, axiosPeople: f } = r1(L2), w = $(!1), v = $(null), m = $(C), b = b7(e);
|
|
7495
7495
|
if (!f)
|
|
7496
7496
|
throw new Error(
|
|
7497
7497
|
`CitySelect requires "axiosPeople" to fetch cities.
|
|
@@ -7503,17 +7503,17 @@ const O7 = d1(
|
|
|
7503
7503
|
if (_)
|
|
7504
7504
|
return [_];
|
|
7505
7505
|
try {
|
|
7506
|
-
const
|
|
7506
|
+
const V = (await f.post("v1/cities/search", {
|
|
7507
7507
|
filters: {
|
|
7508
7508
|
geoNameId: [N],
|
|
7509
7509
|
countryId: [e]
|
|
7510
7510
|
}
|
|
7511
7511
|
})).data.data;
|
|
7512
|
-
if (!
|
|
7512
|
+
if (!V.length)
|
|
7513
7513
|
return t(null), [];
|
|
7514
7514
|
const G = {
|
|
7515
|
-
value:
|
|
7516
|
-
label:
|
|
7515
|
+
value: V[0].geoNameId,
|
|
7516
|
+
label: V[0].name
|
|
7517
7517
|
};
|
|
7518
7518
|
return m.current = [...m.current, G], [G];
|
|
7519
7519
|
} catch (R) {
|
|
@@ -7540,13 +7540,13 @@ const O7 = d1(
|
|
|
7540
7540
|
}) => {
|
|
7541
7541
|
try {
|
|
7542
7542
|
h(!0);
|
|
7543
|
-
const
|
|
7543
|
+
const V = {
|
|
7544
7544
|
offset: _,
|
|
7545
7545
|
limit: N,
|
|
7546
7546
|
includeCount: !0
|
|
7547
7547
|
};
|
|
7548
|
-
|
|
7549
|
-
const G = await f.post("v1/cities/search",
|
|
7548
|
+
V.filters = {}, e && e.length > 0 && (V.filters.countryId = [e]), R && (V.search = R);
|
|
7549
|
+
const G = await f.post("v1/cities/search", V), T = (G == null ? void 0 : G.data.data) || [], Y = G == null ? void 0 : G.data.metadata.count;
|
|
7550
7550
|
return {
|
|
7551
7551
|
options: T.map((I) => ({
|
|
7552
7552
|
value: I.geoNameId,
|
|
@@ -7555,8 +7555,8 @@ const O7 = d1(
|
|
|
7555
7555
|
count: Y,
|
|
7556
7556
|
limit: N
|
|
7557
7557
|
};
|
|
7558
|
-
} catch (
|
|
7559
|
-
return console.error("CitySelect. loadOptions error",
|
|
7558
|
+
} catch (V) {
|
|
7559
|
+
return console.error("CitySelect. loadOptions error", V), {
|
|
7560
7560
|
options: [],
|
|
7561
7561
|
count: 0,
|
|
7562
7562
|
limit: N
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";.snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{border:0;background-color:var(--grey-dark-5);color:var(--grey-light-0);font-family:Montserrat,sans-serif}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{border-color:var(--grey-light-4);border-radius:5px}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-primary);border-color:var(--blue-primary)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--grey-dark-2)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-primary)!important;border-color:var(--blue-primary)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1.5px solid var(--grey-light-0);transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{border-color:var(--blue-dark-1)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-hover);border-color:var(--blue-hover)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border-color:var(--blue-hover)!important}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-dark-4);border:1px solid var(--grey-dark-4)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked):hover .ant-checkbox-inner{background-color:var(--grey-dark-3);border:1px solid var(--grey-dark-3)}.snmt-checkbox-dark .ant-checkbox+span{color:var(--grey-light-2)}.snmt-tag{display:flex;align-items:center;justify-content:center;border-radius:4px;border:none;margin-inline-end:0;padding:2px 6px;height:20px;background:var(--grey-light-2)}.snmt-tag .ant-tag-close-icon{display:flex;align-items:center;margin-inline-start:6px}.snmt-tag:not(.disabled) .ant-tag-close-icon:hover>path{fill:var(--blue-primary);transition:fill .2s ease-in-out}.snmt-tag.medium{padding:4px 8px;height:28px}.snmt-tag.medium .ant-tag-close-icon{margin-inline-start:7.75px}.snmt-tag.disabled{background:var(--grey-light-3)}.clickable{cursor:pointer}:root{--grey-light-0: #ffffff;--grey-light-0-5: #fcfcfd;--grey-light-1: #f7f7f8;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-dark-1: #babac4;--grey-dark-2: #8b8b9d;--grey-dark-3: #6f6f83;--grey-dark-4: #35353f;--grey-dark-5: #131314;--blue-primary: #004ed7;--blue-hover: #003899;--blue-light-0-5: #f5f8ff;--blue-light-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f9f0ff;--purple-dark: #531dab;--cyan-light: #e6fffb;--cyan-dark: #08979c;--magenta-light: #fff0f6;--magenta-dark: #c41d7f;--gold-light: #fefed2;--gold-dark: #faad14;--notification-warning-light: #fff4e8;--notification-warning-dark: #d17100;--notification-success-light: #e0ffdb;--notification-success-dark: #0f6e00;--notification-error-light: #ffecec;--notification-error-dark: #d20000;--notification-error-dark-mode: #e50f00}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.snmt-typography.ant-typography{color:var(--blue-dark-3);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.snmt-typography-h1{font-size:29px;font-weight:700;line-height:110%}.snmt-typography.snmt-typography-h2{font-size:25px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-h3{font-size:21px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-h4{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-align-center{text-align:center}.snmt-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.snmt-typography-align-left{text-align:left}.snmt-typography.snmt-typography-align-right{text-align:right}.snmt-typography.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.snmt-tooltip.ant-tooltip>.ant-tooltip-arrow:before{background-color:var(--grey-dark-4);bottom:-1px}.snmt-tooltip.ant-tooltip>.ant-tooltip-content>.ant-tooltip-inner{background-color:var(--grey-dark-4);padding:12.5px 12px;border-radius:8px;color:var(--grey-light-0);font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;line-height:12px}.snmt-popover:has(.snmt-popover-from-select){z-index:1050!important}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag{font-family:Montserrat,sans-serif}.ant-select-selection-overflow>:nth-last-child(2):hover .snmt-tag{background:var(--blue-light-1)}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag:has(.ant-popover-open){color:var(--blue-primary);background:var(--blue-light-2)}.snmt-popover .ant-popover-inner{padding:0}.snmt-popover.padding .ant-popover-inner{padding:16px}.wrapper{cursor:pointer}.snmt-select-1-15-6{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select-1-15-6 .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select-1-15-6 .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select-1-15-6 .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select-1-15-6 .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select-1-15-6 .ant-select-selector{pointer-events:all;border:1px solid var(--grey-light-4)!important;border-radius:8px!important;height:100%!important;padding:8px 16px!important}.snmt-select-1-15-6 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select-1-15-6 .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select-1-15-6 .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select-1-15-6 .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select-1-15-6 .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select-1-15-6 .ant-select-disabled .snmt-select-1-15-6 .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);font-size:16px}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selector{padding:9px 48px 9px 16px!important}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500;font-size:12px;margin-inline-end:6px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin:0 3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item{margin-inline-start:3px;margin-inline-end:0;margin-block:0;padding-inline-start:0;padding-inline-end:0;height:22px;background:transparent}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item:first-of-type .tag-wrapper{margin-left:0;margin-right:3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow .custom-placeholder{position:absolute;top:50%;transform:translateY(-50%);transition:all .3s;font-size:16px;font-weight:500;color:var(--grey-dark-2);font-family:Montserrat,sans-serif;text-align:left}.snmt-select-1-15-6 .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select-1-15-6 .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select-1-15-6 .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select-1-15-6>label{position:absolute;top:calc(50% - 10px);left:18px;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:16px;font-style:normal;font-weight:500;line-height:normal;-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--grey-dark-2);transition:top .2s cubic-bezier(0,0,.2,1) 0ms,font-size .2s cubic-bezier(0,0,.2,1) 0ms}.snmt-select-1-15-6>label.label-floating{top:-7px;font-size:12px}.snmt-select-1-15-6>label.label-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6>label.label-loading{padding-left:30px}.snmt-select-1-15-6>label.label-loading.label-floating{padding-left:0}.snmt-select-1-15-6 fieldset{position:absolute;min-width:0;margin:0;padding:0 11px;top:-6px;right:0;bottom:0;left:0;border:1px solid var(--grey-light-4);border-radius:8px;text-align:left;pointer-events:none}.snmt-select-1-15-6 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select-1-15-6 fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select-1-15-6 fieldset.fieldset-focused>legend,.snmt-select-1-15-6 fieldset.fieldset-filled>legend,.snmt-select-1-15-6 fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select-1-15-6 fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select-1-15-6 fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select-1-15-6 fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select-1-15-6 fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-error,.snmt-select-1-15-6 fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only)>label.label-floating:not(.label-disabled):not(.label-focused):not(.label-error){color:var(--blue-dark-1)}.snmt-select-1-15-6.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select-1-15-6.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select-1-15-6.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select-1-15-6.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select-1-15-6.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select-1-15-6>label.label-floating.label-error:not(.label-disabled){color:var(--notification-error-dark)}.ant-select-dropdown{padding:0}.ant-select-dropdown .ant-select-item{border-radius:0}.ant-select-dropdown .ant-select-item-option{padding:14px 16px}.ant-select-dropdown .ant-select-item-option-state{display:none}.ant-select-dropdown .ant-select-item-option-active{background-color:var(--blue-light-1)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content span{color:var(--grey-light-4)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content img{filter:opacity(.5)}.ant-select-dropdown .ant-select-item-option-content span{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:transparent}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content span{font-weight:500!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector{background:var(--grey-light-2);border:none!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item{color:var(--grey-dark-1)!important}.ant-select-dropdown .rc-virtual-list-holder{overflow-y:auto!important}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar{width:6px}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb{background:var(--grey-light-4);border-radius:10px}.ant-select-dropdown .rc-virtual-list-scrollbar-vertical{visibility:hidden!important}.dropdown-read-only .rc-virtual-list{pointer-events:none}.dropdown-container{position:relative;display:block}.dropdown-container .dropdown-menu{position:relative;z-index:0}.dropdown-container .loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:var(--grey-light-1);opacity:.9;display:flex;align-items:center;justify-content:center;pointer-events:none}.snmt-select-container .snmt-flex{margin-top:6px}.snmt-loader{display:inline-block;aspect-ratio:1;animation:loader 1s infinite linear}@keyframes loader{33%{background-position:0% 50%,50% 100%,100% 100%}50%{background-position:0% 0%,50% 50%,100% 100%}66%{background-position:0% 0%,50% 0%,100% 50%}to{background-position:0% 0%,50% 0%,100% 0%}}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap";.snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{border:0;background-color:var(--grey-dark-5);color:var(--grey-light-0);font-family:Montserrat,sans-serif}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{border-color:var(--grey-light-4);border-radius:5px}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-primary);border-color:var(--blue-primary)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--grey-dark-2)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-primary)!important;border-color:var(--blue-primary)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1.5px solid var(--grey-light-0);transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{border-color:var(--blue-dark-1)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-hover);border-color:var(--blue-hover)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border-color:var(--blue-hover)!important}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-dark-4);border:1px solid var(--grey-dark-4)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked):hover .ant-checkbox-inner{background-color:var(--grey-dark-3);border:1px solid var(--grey-dark-3)}.snmt-checkbox-dark .ant-checkbox+span{color:var(--grey-light-2)}.snmt-tag{display:flex;align-items:center;justify-content:center;border-radius:4px;border:none;margin-inline-end:0;padding:2px 6px;height:20px;background:var(--grey-light-2)}.snmt-tag .ant-tag-close-icon{display:flex;align-items:center;margin-inline-start:6px}.snmt-tag:not(.disabled) .ant-tag-close-icon:hover>path{fill:var(--blue-primary);transition:fill .2s ease-in-out}.snmt-tag.medium{padding:4px 8px;height:28px}.snmt-tag.medium .ant-tag-close-icon{margin-inline-start:7.75px}.snmt-tag.disabled{background:var(--grey-light-3)}.clickable{cursor:pointer}:root{--grey-light-0: #ffffff;--grey-light-0-5: #fcfcfd;--grey-light-1: #f7f7f8;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-dark-1: #babac4;--grey-dark-2: #8b8b9d;--grey-dark-3: #6f6f83;--grey-dark-4: #35353f;--grey-dark-5: #131314;--blue-primary: #004ed7;--blue-hover: #003899;--blue-light-0-5: #f5f8ff;--blue-light-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--purple-light: #f9f0ff;--purple-dark: #531dab;--cyan-light: #e6fffb;--cyan-dark: #08979c;--magenta-light: #fff0f6;--magenta-dark: #c41d7f;--gold-light: #fefed2;--gold-dark: #faad14;--notification-warning-light: #fff4e8;--notification-warning-dark: #d17100;--notification-success-light: #e0ffdb;--notification-success-dark: #0f6e00;--notification-error-light: #ffecec;--notification-error-dark: #d20000;--notification-error-dark-mode: #e50f00}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.snmt-typography.ant-typography{color:var(--grey-dark-5);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.snmt-typography-h1{font-size:25px;font-weight:700;line-height:128%}.snmt-typography.snmt-typography-h2{font-size:21px;font-weight:600;line-height:132%}.snmt-typography.snmt-typography-h3{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-h4,.snmt-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:150%}.snmt-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-link1{font-size:16px;font-weight:500;line-height:124%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-link2{font-size:14px;font-weight:500;line-height:124%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-align-center{text-align:center}.snmt-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.snmt-typography-align-left{text-align:left}.snmt-typography.snmt-typography-align-right{text-align:right}.snmt-typography.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.snmt-tooltip.ant-tooltip>.ant-tooltip-arrow:before{background-color:var(--grey-dark-4);bottom:-1px}.snmt-tooltip.ant-tooltip>.ant-tooltip-content>.ant-tooltip-inner{background-color:var(--grey-dark-4);padding:12.5px 12px;border-radius:8px;color:var(--grey-light-0);font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;line-height:12px}.snmt-popover:has(.snmt-popover-from-select){z-index:1050!important}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag{font-family:Montserrat,sans-serif}.ant-select-selection-overflow>:nth-last-child(2):hover .snmt-tag{background:var(--blue-light-1)}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag:has(.ant-popover-open){color:var(--blue-primary);background:var(--blue-light-2)}.snmt-popover .ant-popover-inner{padding:0}.snmt-popover.padding .ant-popover-inner{padding:16px}.wrapper{cursor:pointer}.snmt-select-1-15-6{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select-1-15-6 .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select-1-15-6 .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select-1-15-6 .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select-1-15-6 .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select-1-15-6 .ant-select-selector{pointer-events:all;border:1px solid var(--grey-light-4)!important;border-radius:8px!important;height:100%!important;padding:8px 16px!important}.snmt-select-1-15-6 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select-1-15-6 .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select-1-15-6 .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select-1-15-6 .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select-1-15-6 .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select-1-15-6 .ant-select-disabled .snmt-select-1-15-6 .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);font-size:16px}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selector{padding:9px 48px 9px 16px!important}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500;font-size:12px;margin-inline-end:6px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin:0 3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item{margin-inline-start:3px;margin-inline-end:0;margin-block:0;padding-inline-start:0;padding-inline-end:0;height:22px;background:transparent}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item:first-of-type .tag-wrapper{margin-left:0;margin-right:3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow .custom-placeholder{position:absolute;top:50%;transform:translateY(-50%);transition:all .3s;font-size:16px;font-weight:500;color:var(--grey-dark-2);font-family:Montserrat,sans-serif;text-align:left}.snmt-select-1-15-6 .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select-1-15-6 .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select-1-15-6 .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select-1-15-6>label{position:absolute;top:calc(50% - 10px);left:18px;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:16px;font-style:normal;font-weight:500;line-height:normal;-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--grey-dark-2);transition:top .2s cubic-bezier(0,0,.2,1) 0ms,font-size .2s cubic-bezier(0,0,.2,1) 0ms}.snmt-select-1-15-6>label.label-floating{top:-7px;font-size:12px}.snmt-select-1-15-6>label.label-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6>label.label-loading{padding-left:30px}.snmt-select-1-15-6>label.label-loading.label-floating{padding-left:0}.snmt-select-1-15-6 fieldset{position:absolute;min-width:0;margin:0;padding:0 11px;top:-6px;right:0;bottom:0;left:0;border:1px solid var(--grey-light-4);border-radius:8px;text-align:left;pointer-events:none}.snmt-select-1-15-6 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select-1-15-6 fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select-1-15-6 fieldset.fieldset-focused>legend,.snmt-select-1-15-6 fieldset.fieldset-filled>legend,.snmt-select-1-15-6 fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select-1-15-6 fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select-1-15-6 fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select-1-15-6 fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select-1-15-6 fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-error,.snmt-select-1-15-6 fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only)>label.label-floating:not(.label-disabled):not(.label-focused):not(.label-error){color:var(--blue-dark-1)}.snmt-select-1-15-6.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select-1-15-6.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select-1-15-6.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select-1-15-6.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select-1-15-6.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select-1-15-6>label.label-floating.label-error:not(.label-disabled){color:var(--notification-error-dark)}.ant-select-dropdown{padding:0}.ant-select-dropdown .ant-select-item{border-radius:0}.ant-select-dropdown .ant-select-item-option{padding:14px 16px}.ant-select-dropdown .ant-select-item-option-state{display:none}.ant-select-dropdown .ant-select-item-option-active{background-color:var(--blue-light-1)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content span{color:var(--grey-light-4)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content img{filter:opacity(.5)}.ant-select-dropdown .ant-select-item-option-content span{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:transparent}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content span{font-weight:500!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector{background:var(--grey-light-2);border:none!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item{color:var(--grey-dark-1)!important}.ant-select-dropdown .rc-virtual-list-holder{overflow-y:auto!important}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar{width:6px}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb{background:var(--grey-light-4);border-radius:10px}.ant-select-dropdown .rc-virtual-list-scrollbar-vertical{visibility:hidden!important}.dropdown-read-only .rc-virtual-list{pointer-events:none}.dropdown-container{position:relative;display:block}.dropdown-container .dropdown-menu{position:relative;z-index:0}.dropdown-container .loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:var(--grey-light-1);opacity:.9;display:flex;align-items:center;justify-content:center;pointer-events:none}.snmt-select-container .snmt-flex{margin-top:6px}.snmt-loader{display:inline-block;aspect-ratio:1;animation:loader 1s infinite linear}@keyframes loader{33%{background-position:0% 50%,50% 100%,100% 100%}50%{background-position:0% 0%,50% 50%,100% 100%}66%{background-position:0% 0%,50% 0%,100% 50%}to{background-position:0% 0%,50% 0%,100% 0%}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snmt-react-ui/city-select",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.16",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/city-select.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@snmt-react-ui/async-select": "^1.10.
|
|
22
|
-
"@snmt-react-ui/core": "^2.
|
|
21
|
+
"@snmt-react-ui/async-select": "^1.10.16",
|
|
22
|
+
"@snmt-react-ui/core": "^2.8.0",
|
|
23
23
|
"i18next": "^23.11.5",
|
|
24
24
|
"react-i18next": "^14.1.1",
|
|
25
25
|
"uuid": "^10.0.0"
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"antd": "^5.22.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "6fff5067eeb51bc04a40a70cee141697337e20c2"
|
|
31
31
|
}
|