@snmt-react-ui/country-select 2.7.6 → 2.7.8
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/country-select.js +144 -144
- package/dist/index.css +1 -1
- package/package.json +5 -5
package/dist/country-select.js
CHANGED
|
@@ -5,7 +5,7 @@ import "./index.css";
|
|
|
5
5
|
import { jsx as o, Fragment as F, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as u2 } from "@snmt-react-ui/core";
|
|
7
7
|
import { Select as p2, Tag as f2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as J1, Popover as k2 } from "antd";
|
|
8
|
-
import { forwardRef as w1, useState as I, useRef as J, useEffect as O, useCallback as
|
|
8
|
+
import { forwardRef as w1, useState as I, useRef as J, useEffect as O, useCallback as B, useContext as Q, createContext as t1, useImperativeHandle as Q1 } from "react";
|
|
9
9
|
var v2 = Object.defineProperty, N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, x2 = (i, e, t) => N2(i, e + "", t), R2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function M2() {
|
|
11
11
|
if (console && console.warn) {
|
|
@@ -88,8 +88,8 @@ let O2 = {
|
|
|
88
88
|
};
|
|
89
89
|
const A2 = () => O2;
|
|
90
90
|
let S2;
|
|
91
|
-
const Z2 = () => S2,
|
|
92
|
-
class
|
|
91
|
+
const Z2 = () => S2, T2 = t1();
|
|
92
|
+
class D2 {
|
|
93
93
|
constructor() {
|
|
94
94
|
x2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
95
95
|
}
|
|
@@ -99,20 +99,20 @@ class T2 {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const G2 = (i, e) => {
|
|
103
103
|
const t = J();
|
|
104
104
|
return O(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
107
|
-
}, X1 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
107
|
+
}, X1 = (i, e, t, s) => i.getFixedT(e, t, s), B2 = (i, e, t, s) => B(X1(i, e, t, s), [i, e, t, s]), K2 = function(i) {
|
|
108
108
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
109
109
|
const {
|
|
110
110
|
i18n: t
|
|
111
111
|
} = e, {
|
|
112
112
|
i18n: s,
|
|
113
113
|
defaultNS: n
|
|
114
|
-
} = Q(
|
|
115
|
-
if (r && !r.reportNamespaces && (r.reportNamespaces = new
|
|
114
|
+
} = Q(T2) || {}, r = t || s || Z2();
|
|
115
|
+
if (r && !r.reportNamespaces && (r.reportNamespaces = new D2()), !r) {
|
|
116
116
|
R1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
117
|
const f = (v, N) => U(N) ? N : _2(N) && U(N.defaultValue) ? N.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, b = [f, {}, !1];
|
|
118
118
|
return b.t = f, b.i18n = {}, b.ready = !1, b;
|
|
@@ -128,10 +128,10 @@ const B2 = (i, e) => {
|
|
|
128
128
|
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = U(d) ? [d] : d || ["translation"], r.reportNamespaces.addUsedNamespaces && r.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (r.isInitialized || r.initializedStoreOnce) && d.every((f) => y2(f, r, c)), h =
|
|
131
|
+
const l = (r.isInitialized || r.initializedStoreOnce) && d.every((f) => y2(f, r, c)), h = B2(r, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), C = () => h, p = () => X1(r, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), [w, k] = I(C);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
|
-
const _ =
|
|
134
|
+
const _ = G2(m), y = J(!0);
|
|
135
135
|
O(() => {
|
|
136
136
|
const {
|
|
137
137
|
bindI18n: f,
|
|
@@ -192,13 +192,13 @@ const B2 = (i, e) => {
|
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
194
|
};
|
|
195
|
-
var
|
|
195
|
+
var G = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-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.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(G || {});
|
|
196
196
|
const _1 = t1({
|
|
197
197
|
locale: "en",
|
|
198
198
|
theme: "light"
|
|
199
199
|
});
|
|
200
200
|
_1.Provider;
|
|
201
|
-
const
|
|
201
|
+
const P2 = ({
|
|
202
202
|
checked: i = !0,
|
|
203
203
|
indeterminate: e = !1,
|
|
204
204
|
children: t,
|
|
@@ -225,13 +225,13 @@ const W2 = ({
|
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
};
|
|
228
|
-
var R = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-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))(R || {});
|
|
228
|
+
var R = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-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.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(R || {});
|
|
229
229
|
const e2 = t1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
232
232
|
});
|
|
233
233
|
e2.Provider;
|
|
234
|
-
const
|
|
234
|
+
const W2 = ({
|
|
235
235
|
width: i = 20,
|
|
236
236
|
height: e = 20,
|
|
237
237
|
color: t = "#001E52",
|
|
@@ -258,7 +258,7 @@ const P2 = ({
|
|
|
258
258
|
}
|
|
259
259
|
)
|
|
260
260
|
}
|
|
261
|
-
),
|
|
261
|
+
), Y2 = ({
|
|
262
262
|
width: i = 20,
|
|
263
263
|
height: e = 20,
|
|
264
264
|
color: t = R.GREY_DARK_5,
|
|
@@ -298,7 +298,7 @@ const P2 = ({
|
|
|
298
298
|
)
|
|
299
299
|
]
|
|
300
300
|
}
|
|
301
|
-
),
|
|
301
|
+
), $2 = ({
|
|
302
302
|
width: i = 20,
|
|
303
303
|
height: e = 20,
|
|
304
304
|
color: t = "#001E52",
|
|
@@ -1893,7 +1893,7 @@ const P2 = ({
|
|
|
1893
1893
|
)
|
|
1894
1894
|
]
|
|
1895
1895
|
}
|
|
1896
|
-
),
|
|
1896
|
+
), Te = ({
|
|
1897
1897
|
className: i,
|
|
1898
1898
|
color: e = R.NOTIFICATION_WARNING_DARK,
|
|
1899
1899
|
height: t = 37,
|
|
@@ -1932,7 +1932,7 @@ const P2 = ({
|
|
|
1932
1932
|
)
|
|
1933
1933
|
]
|
|
1934
1934
|
}
|
|
1935
|
-
),
|
|
1935
|
+
), De = ({
|
|
1936
1936
|
className: i,
|
|
1937
1937
|
color: e = R.GREY_DARK_5,
|
|
1938
1938
|
height: t = 24,
|
|
@@ -1958,7 +1958,7 @@ const P2 = ({
|
|
|
1958
1958
|
}
|
|
1959
1959
|
)
|
|
1960
1960
|
}
|
|
1961
|
-
),
|
|
1961
|
+
), Ge = ({
|
|
1962
1962
|
className: i,
|
|
1963
1963
|
color: e = R.GREY_DARK_5,
|
|
1964
1964
|
height: t = 24,
|
|
@@ -1997,7 +1997,7 @@ const P2 = ({
|
|
|
1997
1997
|
)
|
|
1998
1998
|
]
|
|
1999
1999
|
}
|
|
2000
|
-
),
|
|
2000
|
+
), Be = ({
|
|
2001
2001
|
className: i,
|
|
2002
2002
|
color: e = R.GREY_DARK_5,
|
|
2003
2003
|
height: t = 20,
|
|
@@ -2156,7 +2156,7 @@ const P2 = ({
|
|
|
2156
2156
|
)
|
|
2157
2157
|
]
|
|
2158
2158
|
}
|
|
2159
|
-
),
|
|
2159
|
+
), Pe = ({
|
|
2160
2160
|
className: i,
|
|
2161
2161
|
color: e = R.GREY_DARK_5,
|
|
2162
2162
|
height: t = 24,
|
|
@@ -2205,7 +2205,7 @@ const P2 = ({
|
|
|
2205
2205
|
)
|
|
2206
2206
|
]
|
|
2207
2207
|
}
|
|
2208
|
-
),
|
|
2208
|
+
), We = ({
|
|
2209
2209
|
className: i,
|
|
2210
2210
|
color: e = R.GREY_DARK_5,
|
|
2211
2211
|
height: t = 24,
|
|
@@ -2232,7 +2232,7 @@ const P2 = ({
|
|
|
2232
2232
|
}
|
|
2233
2233
|
)
|
|
2234
2234
|
}
|
|
2235
|
-
),
|
|
2235
|
+
), Ye = ({
|
|
2236
2236
|
className: i,
|
|
2237
2237
|
color: e = R.GREY_DARK_5,
|
|
2238
2238
|
height: t = 20,
|
|
@@ -2261,7 +2261,7 @@ const P2 = ({
|
|
|
2261
2261
|
)
|
|
2262
2262
|
]
|
|
2263
2263
|
}
|
|
2264
|
-
),
|
|
2264
|
+
), $e = ({
|
|
2265
2265
|
className: i,
|
|
2266
2266
|
color: e = "#001E52",
|
|
2267
2267
|
height: t = 24,
|
|
@@ -2651,11 +2651,11 @@ const P2 = ({
|
|
|
2651
2651
|
case "prevIcon":
|
|
2652
2652
|
return Me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2653
2653
|
case "arrowDown":
|
|
2654
|
-
return
|
|
2654
|
+
return W2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2655
2655
|
case "info":
|
|
2656
|
-
return $2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2657
|
-
case "arrowRight":
|
|
2658
2656
|
return Y2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2657
|
+
case "arrowRight":
|
|
2658
|
+
return $2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2659
2659
|
case "calendar":
|
|
2660
2660
|
return F2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2661
2661
|
case "ok":
|
|
@@ -2789,25 +2789,25 @@ const P2 = ({
|
|
|
2789
2789
|
case "plusCircle":
|
|
2790
2790
|
return Ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2791
2791
|
case "warning":
|
|
2792
|
-
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2793
|
-
case "back":
|
|
2794
2792
|
return Te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2793
|
+
case "back":
|
|
2794
|
+
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2795
2795
|
case "bell":
|
|
2796
|
-
return Be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2797
|
-
case "copy":
|
|
2798
2796
|
return Ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2797
|
+
case "copy":
|
|
2798
|
+
return Be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2799
2799
|
case "contract":
|
|
2800
2800
|
return Ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2801
2801
|
case "resourceManager":
|
|
2802
2802
|
return je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2803
2803
|
case "image":
|
|
2804
|
-
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2805
|
-
case "edit":
|
|
2806
2804
|
return Pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2805
|
+
case "edit":
|
|
2806
|
+
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2807
2807
|
case "filledArrowRight":
|
|
2808
|
-
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2809
|
-
case "burgerMenu":
|
|
2810
2808
|
return Ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2809
|
+
case "burgerMenu":
|
|
2810
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2811
2811
|
case "signOut":
|
|
2812
2812
|
return Fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2813
2813
|
case "refresh":
|
|
@@ -2882,7 +2882,7 @@ const P2 = ({
|
|
|
2882
2882
|
return C ? /* @__PURE__ */ o(s5, { level: o5[e], ...w, children: s }) : /* @__PURE__ */ o(n5, { ...w, children: s });
|
|
2883
2883
|
}
|
|
2884
2884
|
);
|
|
2885
|
-
var M = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-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 || {});
|
|
2885
|
+
var M = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-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.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(M || {});
|
|
2886
2886
|
const t2 = t1({
|
|
2887
2887
|
locale: "en",
|
|
2888
2888
|
theme: "light"
|
|
@@ -3971,7 +3971,7 @@ const a5 = ({
|
|
|
3971
3971
|
)
|
|
3972
3972
|
]
|
|
3973
3973
|
}
|
|
3974
|
-
),
|
|
3974
|
+
), T5 = ({
|
|
3975
3975
|
width: i = 20,
|
|
3976
3976
|
height: e = 20,
|
|
3977
3977
|
color: t = "#004ED7",
|
|
@@ -4000,7 +4000,7 @@ const a5 = ({
|
|
|
4000
4000
|
)
|
|
4001
4001
|
]
|
|
4002
4002
|
}
|
|
4003
|
-
),
|
|
4003
|
+
), D5 = ({
|
|
4004
4004
|
width: i = 10,
|
|
4005
4005
|
height: e = 10,
|
|
4006
4006
|
color: t = "#001E52",
|
|
@@ -4029,7 +4029,7 @@ const a5 = ({
|
|
|
4029
4029
|
)
|
|
4030
4030
|
]
|
|
4031
4031
|
}
|
|
4032
|
-
),
|
|
4032
|
+
), G5 = ({
|
|
4033
4033
|
width: i = 10,
|
|
4034
4034
|
height: e = 10,
|
|
4035
4035
|
color: t = "#001E52",
|
|
@@ -4066,7 +4066,7 @@ const a5 = ({
|
|
|
4066
4066
|
)
|
|
4067
4067
|
]
|
|
4068
4068
|
}
|
|
4069
|
-
),
|
|
4069
|
+
), B5 = ({
|
|
4070
4070
|
className: i,
|
|
4071
4071
|
color: e = M.GREY_DARK_5,
|
|
4072
4072
|
height: t = 20,
|
|
@@ -4153,7 +4153,7 @@ const a5 = ({
|
|
|
4153
4153
|
}
|
|
4154
4154
|
)
|
|
4155
4155
|
}
|
|
4156
|
-
),
|
|
4156
|
+
), P5 = ({
|
|
4157
4157
|
className: i,
|
|
4158
4158
|
color: e = M.GREY_DARK_5,
|
|
4159
4159
|
height: t = 5,
|
|
@@ -4177,7 +4177,7 @@ const a5 = ({
|
|
|
4177
4177
|
}
|
|
4178
4178
|
)
|
|
4179
4179
|
}
|
|
4180
|
-
),
|
|
4180
|
+
), W5 = ({
|
|
4181
4181
|
className: i,
|
|
4182
4182
|
color: e = M.GREY_DARK_5,
|
|
4183
4183
|
height: t = 5,
|
|
@@ -4202,7 +4202,7 @@ const a5 = ({
|
|
|
4202
4202
|
}
|
|
4203
4203
|
)
|
|
4204
4204
|
}
|
|
4205
|
-
),
|
|
4205
|
+
), Y5 = ({
|
|
4206
4206
|
className: i,
|
|
4207
4207
|
color: e = M.GREY_DARK_5,
|
|
4208
4208
|
height: t = 20,
|
|
@@ -4235,7 +4235,7 @@ const a5 = ({
|
|
|
4235
4235
|
)
|
|
4236
4236
|
]
|
|
4237
4237
|
}
|
|
4238
|
-
),
|
|
4238
|
+
), $5 = ({
|
|
4239
4239
|
className: i,
|
|
4240
4240
|
color: e = M.GREY_DARK_5,
|
|
4241
4241
|
height: t = 24,
|
|
@@ -5410,7 +5410,7 @@ const a5 = ({
|
|
|
5410
5410
|
onClick: h
|
|
5411
5411
|
});
|
|
5412
5412
|
case "expandActiveArrowIcon":
|
|
5413
|
-
return
|
|
5413
|
+
return T5({
|
|
5414
5414
|
width: e,
|
|
5415
5415
|
height: t,
|
|
5416
5416
|
color: l,
|
|
@@ -5418,23 +5418,23 @@ const a5 = ({
|
|
|
5418
5418
|
onClick: h
|
|
5419
5419
|
});
|
|
5420
5420
|
case "sortUp":
|
|
5421
|
-
return
|
|
5421
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5422
5422
|
case "sortDown":
|
|
5423
|
-
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5424
|
-
case "search":
|
|
5425
5423
|
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5424
|
+
case "search":
|
|
5425
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5426
5426
|
case "arrowUpFilled":
|
|
5427
|
-
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5428
|
-
case "arrowDownFilled":
|
|
5429
5427
|
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5428
|
+
case "arrowDownFilled":
|
|
5429
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5430
5430
|
case "link":
|
|
5431
|
-
return
|
|
5431
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5432
5432
|
case "telegram":
|
|
5433
5433
|
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5434
5434
|
case "mail":
|
|
5435
5435
|
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5436
5436
|
case "github":
|
|
5437
|
-
return
|
|
5437
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5438
5438
|
case "linkedIn":
|
|
5439
5439
|
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5440
5440
|
case "emptyStateIcon":
|
|
@@ -5490,7 +5490,7 @@ const a5 = ({
|
|
|
5490
5490
|
}
|
|
5491
5491
|
})() });
|
|
5492
5492
|
};
|
|
5493
|
-
var r1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-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))(r1 || {});
|
|
5493
|
+
var r1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", 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_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.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-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.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(r1 || {});
|
|
5494
5494
|
const vt = t1({
|
|
5495
5495
|
locale: "en",
|
|
5496
5496
|
theme: "light"
|
|
@@ -5700,31 +5700,31 @@ const _t = ({
|
|
|
5700
5700
|
readOnly: f,
|
|
5701
5701
|
error: b
|
|
5702
5702
|
}, v) => {
|
|
5703
|
-
const [N,
|
|
5703
|
+
const [N, T] = I(!1), [j, i1] = I(!1), [Y, h1] = I(!0), [V, P] = I(i), $ = J(null);
|
|
5704
5704
|
O(() => {
|
|
5705
|
-
|
|
5705
|
+
P(i);
|
|
5706
5706
|
}, [i]);
|
|
5707
5707
|
const q = (x) => {
|
|
5708
|
-
|
|
5708
|
+
T(x), C && C(x);
|
|
5709
5709
|
}, c1 = (x, H) => {
|
|
5710
|
-
var
|
|
5711
|
-
return !!((
|
|
5710
|
+
var D;
|
|
5711
|
+
return !!((D = H == null ? void 0 : H.label) != null && D.toString().toLowerCase().includes(x.toLowerCase()));
|
|
5712
5712
|
}, S = () => {
|
|
5713
5713
|
i1(!0);
|
|
5714
|
-
},
|
|
5714
|
+
}, W = () => {
|
|
5715
5715
|
i1(!1);
|
|
5716
|
-
}, Z =
|
|
5716
|
+
}, Z = B(
|
|
5717
5717
|
(x) => {
|
|
5718
|
-
if (
|
|
5719
|
-
const
|
|
5720
|
-
e == null || e(
|
|
5718
|
+
if (P(x), s) {
|
|
5719
|
+
const D = x;
|
|
5720
|
+
e == null || e(D);
|
|
5721
5721
|
return;
|
|
5722
5722
|
}
|
|
5723
5723
|
const H = x;
|
|
5724
5724
|
e == null || e(H);
|
|
5725
5725
|
},
|
|
5726
5726
|
[s, e]
|
|
5727
|
-
), d1 =
|
|
5727
|
+
), d1 = B(() => {
|
|
5728
5728
|
if (!(f || a)) {
|
|
5729
5729
|
if (s) {
|
|
5730
5730
|
Z([]);
|
|
@@ -5732,33 +5732,33 @@ const _t = ({
|
|
|
5732
5732
|
}
|
|
5733
5733
|
Z("");
|
|
5734
5734
|
}
|
|
5735
|
-
}, [a, Z, s, f]), g1 =
|
|
5735
|
+
}, [a, Z, s, f]), g1 = B(
|
|
5736
5736
|
(x) => {
|
|
5737
|
-
const H = V.filter((
|
|
5738
|
-
Z(H),
|
|
5737
|
+
const H = V.filter((D) => D !== x);
|
|
5738
|
+
Z(H), P(H);
|
|
5739
5739
|
},
|
|
5740
5740
|
[Z, V]
|
|
5741
|
-
), H1 =
|
|
5741
|
+
), H1 = B(
|
|
5742
5742
|
(x) => (V == null ? void 0 : V.indexOf(x)) === 0 ? (
|
|
5743
5743
|
// if the search input is empty
|
|
5744
5744
|
// then display the placeholder, else do not display it
|
|
5745
|
-
/* @__PURE__ */ o("span", { className: "custom-placeholder", children:
|
|
5745
|
+
/* @__PURE__ */ o("span", { className: "custom-placeholder", children: Y ? t : "" })
|
|
5746
5746
|
) : /* @__PURE__ */ o(F, {}),
|
|
5747
|
-
[
|
|
5747
|
+
[Y, V, t]
|
|
5748
5748
|
), l2 = (x) => {
|
|
5749
5749
|
x.preventDefault(), x.stopPropagation();
|
|
5750
5750
|
}, h2 = async (x) => {
|
|
5751
5751
|
const { target: H } = x;
|
|
5752
5752
|
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (p == null || p(!0)), w && await w(x);
|
|
5753
|
-
}, k1 =
|
|
5753
|
+
}, k1 = B(
|
|
5754
5754
|
(x) => {
|
|
5755
|
-
var H,
|
|
5756
|
-
return ((H = r.find((v1) => v1.value === x)) == null ? void 0 : H.label) || ((
|
|
5755
|
+
var H, D;
|
|
5756
|
+
return ((H = r.find((v1) => v1.value === x)) == null ? void 0 : H.label) || ((D = m == null ? void 0 : m.find(
|
|
5757
5757
|
(v1) => v1.value === x
|
|
5758
|
-
)) == null ? void 0 :
|
|
5758
|
+
)) == null ? void 0 : D.label) || x;
|
|
5759
5759
|
},
|
|
5760
5760
|
[m, r]
|
|
5761
|
-
), c2 =
|
|
5761
|
+
), c2 = B(
|
|
5762
5762
|
(x) => {
|
|
5763
5763
|
var H;
|
|
5764
5764
|
return /* @__PURE__ */ o(
|
|
@@ -5766,7 +5766,7 @@ const _t = ({
|
|
|
5766
5766
|
{
|
|
5767
5767
|
values: x,
|
|
5768
5768
|
onTagClose: g1,
|
|
5769
|
-
maxWidth: ((H =
|
|
5769
|
+
maxWidth: ((H = $.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5770
5770
|
disabled: a,
|
|
5771
5771
|
closable: !f,
|
|
5772
5772
|
options: r,
|
|
@@ -5775,8 +5775,8 @@ const _t = ({
|
|
|
5775
5775
|
);
|
|
5776
5776
|
},
|
|
5777
5777
|
[a, m, g1, r, f]
|
|
5778
|
-
), d2 =
|
|
5779
|
-
({ label: x, value: H, mode:
|
|
5778
|
+
), d2 = B(
|
|
5779
|
+
({ label: x, value: H, mode: D }) => D === "filter" ? H1(H) : /* @__PURE__ */ o("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ o(i2, { onClose: () => g1(H), disabled: a, children: typeof x == "object" ? x : k1(H) }) }),
|
|
5780
5780
|
[a, k1, g1, H1]
|
|
5781
5781
|
), E1 = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
|
|
5782
5782
|
return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
|
|
@@ -5785,7 +5785,7 @@ const _t = ({
|
|
|
5785
5785
|
{
|
|
5786
5786
|
className: `snmt-select-1-15-6 ${j ? "snmt-select-focused" : ""}
|
|
5787
5787
|
${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
|
|
5788
|
-
ref:
|
|
5788
|
+
ref: $,
|
|
5789
5789
|
style: { width: c },
|
|
5790
5790
|
children: [
|
|
5791
5791
|
/* @__PURE__ */ o(
|
|
@@ -5802,12 +5802,12 @@ const _t = ({
|
|
|
5802
5802
|
value: V || void 0,
|
|
5803
5803
|
labelRender: (x) => {
|
|
5804
5804
|
const H = k1(x.value);
|
|
5805
|
-
return a ? /* @__PURE__ */ o("span", { style: { color:
|
|
5805
|
+
return a ? /* @__PURE__ */ o("span", { style: { color: G.GREY_DARK_1 }, children: H }) : H;
|
|
5806
5806
|
},
|
|
5807
5807
|
mode: s === "filter" ? "multiple" : s,
|
|
5808
5808
|
onChange: Z,
|
|
5809
5809
|
onFocus: S,
|
|
5810
|
-
onBlur:
|
|
5810
|
+
onBlur: W,
|
|
5811
5811
|
onSearch: (x) => {
|
|
5812
5812
|
h1(!x), h && h(x);
|
|
5813
5813
|
},
|
|
@@ -5830,7 +5830,7 @@ const _t = ({
|
|
|
5830
5830
|
s1,
|
|
5831
5831
|
{
|
|
5832
5832
|
name: "cancel",
|
|
5833
|
-
color: a ?
|
|
5833
|
+
color: a ? G.GREY_DARK_1 : G.GREY_DARK_5
|
|
5834
5834
|
}
|
|
5835
5835
|
)
|
|
5836
5836
|
}
|
|
@@ -5839,18 +5839,18 @@ const _t = ({
|
|
|
5839
5839
|
s1,
|
|
5840
5840
|
{
|
|
5841
5841
|
name: "selectArrowIcon",
|
|
5842
|
-
color: a ?
|
|
5842
|
+
color: a ? G.GREY_DARK_1 : G.GREY_DARK_5,
|
|
5843
5843
|
className: N ? "select-arrow-rotated" : "select-arrow",
|
|
5844
|
-
onClick: () =>
|
|
5844
|
+
onClick: () => T(!N)
|
|
5845
5845
|
}
|
|
5846
5846
|
)
|
|
5847
5847
|
] }) }),
|
|
5848
|
-
removeIcon: /* @__PURE__ */ o(s1, { name: "cancelCircle", color:
|
|
5848
|
+
removeIcon: /* @__PURE__ */ o(s1, { name: "cancelCircle", color: G.GREY_DARK_1 }),
|
|
5849
5849
|
options: r,
|
|
5850
5850
|
optionRender: (x) => y ? y(x.data) : /* @__PURE__ */ u(o1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5851
5851
|
/* @__PURE__ */ u(o1, { alignItems: "center", gap: 12, children: [
|
|
5852
5852
|
s && /* @__PURE__ */ o(
|
|
5853
|
-
|
|
5853
|
+
P2,
|
|
5854
5854
|
{
|
|
5855
5855
|
checked: !!(V != null && V.includes(x.value))
|
|
5856
5856
|
}
|
|
@@ -5864,7 +5864,7 @@ const _t = ({
|
|
|
5864
5864
|
s1,
|
|
5865
5865
|
{
|
|
5866
5866
|
name: "ok",
|
|
5867
|
-
color:
|
|
5867
|
+
color: G.BLUE_PRIMARY,
|
|
5868
5868
|
width: 16,
|
|
5869
5869
|
height: 16
|
|
5870
5870
|
}
|
|
@@ -5900,12 +5900,12 @@ const _t = ({
|
|
|
5900
5900
|
s1,
|
|
5901
5901
|
{
|
|
5902
5902
|
name: "attention",
|
|
5903
|
-
color:
|
|
5903
|
+
color: G.NOTIFICATION_ERROR_DARK,
|
|
5904
5904
|
height: 16,
|
|
5905
5905
|
width: 16
|
|
5906
5906
|
}
|
|
5907
5907
|
),
|
|
5908
|
-
typeof b == "string" ? /* @__PURE__ */ o(Mt, { color:
|
|
5908
|
+
typeof b == "string" ? /* @__PURE__ */ o(Mt, { color: G.NOTIFICATION_ERROR_DARK, variant: "body4", children: b }) : b
|
|
5909
5909
|
] })
|
|
5910
5910
|
] });
|
|
5911
5911
|
}
|
|
@@ -5919,19 +5919,19 @@ const _t = ({
|
|
|
5919
5919
|
i.forEach((s) => {
|
|
5920
5920
|
e[s] && (t[s] = e[s]);
|
|
5921
5921
|
});
|
|
5922
|
-
}, It = /###/g,
|
|
5922
|
+
}, It = /###/g, T1 = (i) => i && i.indexOf("###") > -1 ? i.replace(It, ".") : i, D1 = (i) => !i || L(i), a1 = (i, e, t) => {
|
|
5923
5923
|
const s = L(e) ? e.split(".") : e;
|
|
5924
5924
|
let n = 0;
|
|
5925
5925
|
for (; n < s.length - 1; ) {
|
|
5926
|
-
if (
|
|
5927
|
-
const r =
|
|
5926
|
+
if (D1(i)) return {};
|
|
5927
|
+
const r = T1(s[n]);
|
|
5928
5928
|
!i[r] && t && (i[r] = new t()), Object.prototype.hasOwnProperty.call(i, r) ? i = i[r] : i = {}, ++n;
|
|
5929
5929
|
}
|
|
5930
|
-
return
|
|
5930
|
+
return D1(i) ? {} : {
|
|
5931
5931
|
obj: i,
|
|
5932
|
-
k:
|
|
5932
|
+
k: T1(s[n])
|
|
5933
5933
|
};
|
|
5934
|
-
},
|
|
5934
|
+
}, G1 = (i, e, t) => {
|
|
5935
5935
|
const {
|
|
5936
5936
|
obj: s,
|
|
5937
5937
|
k: n
|
|
@@ -5974,7 +5974,7 @@ var St = {
|
|
|
5974
5974
|
"/": "/"
|
|
5975
5975
|
};
|
|
5976
5976
|
const Zt = (i) => L(i) ? i.replace(/[&<>"'\/]/g, (e) => St[e]) : i;
|
|
5977
|
-
class
|
|
5977
|
+
class Tt {
|
|
5978
5978
|
constructor(e) {
|
|
5979
5979
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5980
5980
|
}
|
|
@@ -5986,11 +5986,11 @@ class Dt {
|
|
|
5986
5986
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5987
5987
|
}
|
|
5988
5988
|
}
|
|
5989
|
-
const
|
|
5989
|
+
const Dt = [" ", ",", "?", "!", ";"], Gt = new Tt(20), Bt = (i, e, t) => {
|
|
5990
5990
|
e = e || "", t = t || "";
|
|
5991
|
-
const s =
|
|
5991
|
+
const s = Dt.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5992
5992
|
if (s.length === 0) return !0;
|
|
5993
|
-
const n =
|
|
5993
|
+
const n = Gt.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5994
5994
|
let r = !n.test(i);
|
|
5995
5995
|
if (!r) {
|
|
5996
5996
|
const c = i.indexOf(t);
|
|
@@ -6109,7 +6109,7 @@ class L1 {
|
|
|
6109
6109
|
});
|
|
6110
6110
|
}
|
|
6111
6111
|
}
|
|
6112
|
-
class
|
|
6112
|
+
class B1 extends L1 {
|
|
6113
6113
|
constructor(e) {
|
|
6114
6114
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
6115
6115
|
ns: ["translation"],
|
|
@@ -6138,7 +6138,7 @@ class G1 extends L1 {
|
|
|
6138
6138
|
};
|
|
6139
6139
|
const c = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
|
|
6140
6140
|
let a = [e, t];
|
|
6141
|
-
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t),
|
|
6141
|
+
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), G1(this.data, a, n), r.silent || this.emit("added", e, t, s, n);
|
|
6142
6142
|
}
|
|
6143
6143
|
addResources(e, t, s) {
|
|
6144
6144
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -6160,7 +6160,7 @@ class G1 extends L1 {
|
|
|
6160
6160
|
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(g, s, r) : g = {
|
|
6161
6161
|
...g,
|
|
6162
6162
|
...s
|
|
6163
|
-
},
|
|
6163
|
+
}, G1(this.data, a, g), c.silent || this.emit("added", e, t, s);
|
|
6164
6164
|
}
|
|
6165
6165
|
removeResourceBundle(e, t) {
|
|
6166
6166
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -6218,7 +6218,7 @@ class m1 extends L1 {
|
|
|
6218
6218
|
s === void 0 && (s = ":");
|
|
6219
6219
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
6220
6220
|
let r = t.ns || this.options.defaultNS || [];
|
|
6221
|
-
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
6221
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Bt(e, s, n);
|
|
6222
6222
|
if (c && !a) {
|
|
6223
6223
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
6224
6224
|
if (g && g.length > 0)
|
|
@@ -6280,12 +6280,12 @@ class m1 extends L1 {
|
|
|
6280
6280
|
const f = Array.isArray(C), b = f ? [] : {}, v = f ? w : p;
|
|
6281
6281
|
for (const N in C)
|
|
6282
6282
|
if (Object.prototype.hasOwnProperty.call(C, N)) {
|
|
6283
|
-
const
|
|
6284
|
-
b[N] = this.translate(
|
|
6283
|
+
const T = `${v}${r}${N}`;
|
|
6284
|
+
b[N] = this.translate(T, {
|
|
6285
6285
|
...t,
|
|
6286
6286
|
joinArrays: !1,
|
|
6287
6287
|
ns: a
|
|
6288
|
-
}), b[N] ===
|
|
6288
|
+
}), b[N] === T && (b[N] = C[N]);
|
|
6289
6289
|
}
|
|
6290
6290
|
C = b;
|
|
6291
6291
|
}
|
|
@@ -6293,35 +6293,35 @@ class m1 extends L1 {
|
|
|
6293
6293
|
C = C.join(_), C && (C = this.extendTranslation(C, e, t, s));
|
|
6294
6294
|
else {
|
|
6295
6295
|
let f = !1, b = !1;
|
|
6296
|
-
const v = t.count !== void 0 && !L(t.count), N = m1.hasDefaultValue(t),
|
|
6296
|
+
const v = t.count !== void 0 && !L(t.count), N = m1.hasDefaultValue(t), T = v ? this.pluralResolver.getSuffix(d, t.count, t) : "", j = t.ordinal && v ? this.pluralResolver.getSuffix(d, t.count, {
|
|
6297
6297
|
ordinal: !1
|
|
6298
|
-
}) : "", i1 = v && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
6299
|
-
!this.isValidLookup(C) && N && (f = !0, C =
|
|
6300
|
-
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && b ? void 0 : C,
|
|
6301
|
-
if (b || f ||
|
|
6302
|
-
if (this.logger.log(
|
|
6298
|
+
}) : "", i1 = v && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), Y = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${j}`] || t.defaultValue;
|
|
6299
|
+
!this.isValidLookup(C) && N && (f = !0, C = Y), this.isValidLookup(C) || (b = !0, C = c);
|
|
6300
|
+
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && b ? void 0 : C, P = N && Y !== C && this.options.updateMissing;
|
|
6301
|
+
if (b || f || P) {
|
|
6302
|
+
if (this.logger.log(P ? "updateKey" : "missingKey", d, g, c, P ? Y : C), r) {
|
|
6303
6303
|
const S = this.resolve(c, {
|
|
6304
6304
|
...t,
|
|
6305
6305
|
keySeparator: !1
|
|
6306
6306
|
});
|
|
6307
6307
|
S && S.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
6308
6308
|
}
|
|
6309
|
-
let
|
|
6309
|
+
let $ = [];
|
|
6310
6310
|
const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
6311
6311
|
if (this.options.saveMissingTo === "fallback" && q && q[0])
|
|
6312
6312
|
for (let S = 0; S < q.length; S++)
|
|
6313
|
-
|
|
6314
|
-
else this.options.saveMissingTo === "all" ?
|
|
6315
|
-
const c1 = (S,
|
|
6313
|
+
$.push(q[S]);
|
|
6314
|
+
else this.options.saveMissingTo === "all" ? $ = this.languageUtils.toResolveHierarchy(t.lng || this.language) : $.push(t.lng || this.language);
|
|
6315
|
+
const c1 = (S, W, Z) => {
|
|
6316
6316
|
const d1 = N && Z !== C ? Z : V;
|
|
6317
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(S, g,
|
|
6317
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(S, g, W, d1, P, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(S, g, W, d1, P, t), this.emit("missingKey", S, g, W, C);
|
|
6318
6318
|
};
|
|
6319
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && v ?
|
|
6320
|
-
const
|
|
6321
|
-
i1 && t[`defaultValue${this.options.pluralSeparator}zero`] &&
|
|
6322
|
-
c1([S], c + Z, t[`defaultValue${Z}`] ||
|
|
6319
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && v ? $.forEach((S) => {
|
|
6320
|
+
const W = this.pluralResolver.getSuffixes(S, t);
|
|
6321
|
+
i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && W.indexOf(`${this.options.pluralSeparator}zero`) < 0 && W.push(`${this.options.pluralSeparator}zero`), W.forEach((Z) => {
|
|
6322
|
+
c1([S], c + Z, t[`defaultValue${Z}`] || Y);
|
|
6323
6323
|
});
|
|
6324
|
-
}) : c1(
|
|
6324
|
+
}) : c1($, c, Y));
|
|
6325
6325
|
}
|
|
6326
6326
|
C = this.extendTranslation(C, e, t, h, s), b && C === c && this.options.appendNamespaceToMissingKey && (C = `${g}:${c}`), (b || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${g}:${c}` : c, f ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
|
|
6327
6327
|
}
|
|
@@ -6600,7 +6600,7 @@ let jt = [{
|
|
|
6600
6600
|
lngs: ["he", "iw"],
|
|
6601
6601
|
nr: [1, 2, 20, 21],
|
|
6602
6602
|
fc: 22
|
|
6603
|
-
}],
|
|
6603
|
+
}], Pt = {
|
|
6604
6604
|
1: (i) => +(i > 1),
|
|
6605
6605
|
2: (i) => +(i != 1),
|
|
6606
6606
|
3: (i) => 0,
|
|
@@ -6624,20 +6624,20 @@ let jt = [{
|
|
|
6624
6624
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6625
6625
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6626
6626
|
};
|
|
6627
|
-
const
|
|
6627
|
+
const Wt = ["v1", "v2", "v3"], Yt = ["v4"], P1 = {
|
|
6628
6628
|
zero: 0,
|
|
6629
6629
|
one: 1,
|
|
6630
6630
|
two: 2,
|
|
6631
6631
|
few: 3,
|
|
6632
6632
|
many: 4,
|
|
6633
6633
|
other: 5
|
|
6634
|
-
},
|
|
6634
|
+
}, $t = () => {
|
|
6635
6635
|
const i = {};
|
|
6636
6636
|
return jt.forEach((e) => {
|
|
6637
6637
|
e.lngs.forEach((t) => {
|
|
6638
6638
|
i[t] = {
|
|
6639
6639
|
numbers: e.nr,
|
|
6640
|
-
plurals:
|
|
6640
|
+
plurals: Pt[e.fc]
|
|
6641
6641
|
};
|
|
6642
6642
|
});
|
|
6643
6643
|
}), i;
|
|
@@ -6645,7 +6645,7 @@ const Pt = ["v1", "v2", "v3"], $t = ["v4"], W1 = {
|
|
|
6645
6645
|
class Ft {
|
|
6646
6646
|
constructor(e) {
|
|
6647
6647
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6648
|
-
this.languageUtils = e, this.options = t, this.logger = K.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6648
|
+
this.languageUtils = e, this.options = t, this.logger = K.create("pluralResolver"), (!this.options.compatibilityJSON || Yt.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = $t(), this.pluralRulesCache = {};
|
|
6649
6649
|
}
|
|
6650
6650
|
addRule(e, t) {
|
|
6651
6651
|
this.rules[e] = t;
|
|
@@ -6688,7 +6688,7 @@ class Ft {
|
|
|
6688
6688
|
getSuffixes(e) {
|
|
6689
6689
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6690
6690
|
const s = this.getRule(e, t);
|
|
6691
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, r) =>
|
|
6691
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, r) => P1[n] - P1[r]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
6692
6692
|
}
|
|
6693
6693
|
getSuffix(e, t) {
|
|
6694
6694
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -6703,10 +6703,10 @@ class Ft {
|
|
|
6703
6703
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : r() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? r() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
6704
6704
|
}
|
|
6705
6705
|
shouldUseIntlApi() {
|
|
6706
|
-
return !
|
|
6706
|
+
return !Wt.includes(this.options.compatibilityJSON);
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
|
6709
|
-
const
|
|
6709
|
+
const W1 = function(i, e, t) {
|
|
6710
6710
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = At(i, e, t);
|
|
6711
6711
|
return !r && n && L(t) && (r = M1(i, t, s), r === void 0 && (r = M1(e, t, s))), r;
|
|
6712
6712
|
}, x1 = (i) => i.replace(/\$/g, "$$$$");
|
|
@@ -6752,7 +6752,7 @@ class Ut {
|
|
|
6752
6752
|
let r, c, a;
|
|
6753
6753
|
const g = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
|
|
6754
6754
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
6755
|
-
const _ =
|
|
6755
|
+
const _ = W1(t, g, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6756
6756
|
return this.alwaysFormat ? this.format(_, void 0, s, {
|
|
6757
6757
|
...n,
|
|
6758
6758
|
...t,
|
|
@@ -6760,7 +6760,7 @@ class Ut {
|
|
|
6760
6760
|
}) : _;
|
|
6761
6761
|
}
|
|
6762
6762
|
const w = p.split(this.formatSeparator), k = w.shift().trim(), m = w.join(this.formatSeparator).trim();
|
|
6763
|
-
return this.format(
|
|
6763
|
+
return this.format(W1(t, g, k, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6764
6764
|
...n,
|
|
6765
6765
|
...t,
|
|
6766
6766
|
interpolationkey: k
|
|
@@ -7083,7 +7083,7 @@ class qt extends L1 {
|
|
|
7083
7083
|
}
|
|
7084
7084
|
}
|
|
7085
7085
|
}
|
|
7086
|
-
const
|
|
7086
|
+
const Y1 = () => ({
|
|
7087
7087
|
debug: !1,
|
|
7088
7088
|
initImmediate: !0,
|
|
7089
7089
|
ns: ["translation"],
|
|
@@ -7139,7 +7139,7 @@ const $1 = () => ({
|
|
|
7139
7139
|
maxReplaces: 1e3,
|
|
7140
7140
|
skipOnVariables: !0
|
|
7141
7141
|
}
|
|
7142
|
-
}),
|
|
7142
|
+
}), $1 = (i) => (L(i.ns) && (i.ns = [i.ns]), L(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), L(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), C1 = () => {
|
|
7143
7143
|
}, Xt = (i) => {
|
|
7144
7144
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
7145
7145
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
@@ -7148,7 +7148,7 @@ const $1 = () => ({
|
|
|
7148
7148
|
class l1 extends L1 {
|
|
7149
7149
|
constructor() {
|
|
7150
7150
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
7151
|
-
if (super(), this.options =
|
|
7151
|
+
if (super(), this.options = $1(e), this.services = {}, this.logger = K, this.modules = {
|
|
7152
7152
|
external: []
|
|
7153
7153
|
}, Xt(this), t && !this.isInitialized && !e.isClone) {
|
|
7154
7154
|
if (!this.options.initImmediate)
|
|
@@ -7162,11 +7162,11 @@ class l1 extends L1 {
|
|
|
7162
7162
|
var e = this;
|
|
7163
7163
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
7164
7164
|
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (L(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
7165
|
-
const n =
|
|
7165
|
+
const n = Y1();
|
|
7166
7166
|
this.options = {
|
|
7167
7167
|
...n,
|
|
7168
7168
|
...this.options,
|
|
7169
|
-
|
|
7169
|
+
...$1(t)
|
|
7170
7170
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
7171
7171
|
...n.interpolation,
|
|
7172
7172
|
...this.options.interpolation
|
|
@@ -7177,7 +7177,7 @@ class l1 extends L1 {
|
|
|
7177
7177
|
let l;
|
|
7178
7178
|
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = Jt);
|
|
7179
7179
|
const h = new j1(this.options);
|
|
7180
|
-
this.store = new
|
|
7180
|
+
this.store = new B1(this.options.resources, this.options);
|
|
7181
7181
|
const C = this.services;
|
|
7182
7182
|
C.logger = K, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new Ft(h, {
|
|
7183
7183
|
prepend: this.options.pluralSeparator,
|
|
@@ -7343,7 +7343,7 @@ class l1 extends L1 {
|
|
|
7343
7343
|
}
|
|
7344
7344
|
dir(e) {
|
|
7345
7345
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
7346
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new j1(
|
|
7346
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new j1(Y1());
|
|
7347
7347
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
7348
7348
|
}
|
|
7349
7349
|
static createInstance() {
|
|
@@ -7365,7 +7365,7 @@ class l1 extends L1 {
|
|
|
7365
7365
|
...this.services
|
|
7366
7366
|
}, r.services.utils = {
|
|
7367
7367
|
hasLoadedNamespace: r.hasLoadedNamespace.bind(r)
|
|
7368
|
-
}, s && (r.store = new
|
|
7368
|
+
}, s && (r.store = new B1(this.store.data, n), r.services.resourceStore = r.store), r.translator = new m1(r.services, n), r.translator.on("*", function(a) {
|
|
7369
7369
|
for (var g = arguments.length, d = new Array(g > 1 ? g - 1 : 0), l = 1; l < g; l++)
|
|
7370
7370
|
d[l - 1] = arguments[l];
|
|
7371
7371
|
r.emit(a, ...d);
|
|
@@ -7510,7 +7510,7 @@ const p0 = (i, e) => {
|
|
|
7510
7510
|
return O(() => {
|
|
7511
7511
|
t.current = i;
|
|
7512
7512
|
}, [i, e]), t.current;
|
|
7513
|
-
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), f0 = (i, e, t, s) =>
|
|
7513
|
+
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), f0 = (i, e, t, s) => B(a2(i, e, t, s), [i, e, t, s]), m0 = function(i) {
|
|
7514
7514
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7515
7515
|
const {
|
|
7516
7516
|
i18n: t
|
|
@@ -7598,7 +7598,7 @@ const H0 = w1(
|
|
|
7598
7598
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
|
7599
7599
|
Please provide it via SNMTUiContext.`
|
|
7600
7600
|
);
|
|
7601
|
-
const { t: E } = m0("common", { lng: _ }), f =
|
|
7601
|
+
const { t: E } = m0("common", { lng: _ }), f = B(async () => {
|
|
7602
7602
|
m(!0);
|
|
7603
7603
|
try {
|
|
7604
7604
|
const v = await y.post("v1/countries/search");
|
|
@@ -7614,14 +7614,14 @@ const H0 = w1(
|
|
|
7614
7614
|
}, []), O(() => {
|
|
7615
7615
|
if (e) {
|
|
7616
7616
|
const v = e.split("-")[1], N = p.filter(
|
|
7617
|
-
(
|
|
7617
|
+
(T) => T.name.includes(v)
|
|
7618
7618
|
);
|
|
7619
7619
|
if (N.length) {
|
|
7620
|
-
const
|
|
7620
|
+
const T = N.map((j) => ({
|
|
7621
7621
|
label: j.name,
|
|
7622
7622
|
value: j.name
|
|
7623
7623
|
}));
|
|
7624
|
-
s(
|
|
7624
|
+
s(T[0].value);
|
|
7625
7625
|
}
|
|
7626
7626
|
}
|
|
7627
7627
|
}, [e, p, s]), O(() => {
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.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;padding-inline-end:unset;font-family:Montserrat,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0;text-align:left}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-wrapper.delete .ant-checkbox-checked .ant-checkbox-inner:after{transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled+span{color:var(--grey-light-4)}.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-dark-1)!important;border-color:var(--blue-dark-1)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1px 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:1px solid 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:1px solid 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-checked.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border:1px solid 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-1: #fbfbfb;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-light-5: #bebec2;--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-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f2e5ff;--purple-dark: #6900d1;--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}.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
|
+
.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;padding-inline-end:unset;font-family:Montserrat,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0;text-align:left}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-wrapper.delete .ant-checkbox-checked .ant-checkbox-inner:after{transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled+span{color:var(--grey-light-4)}.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-dark-1)!important;border-color:var(--blue-dark-1)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1px 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:1px solid 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:1px solid 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-checked.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border:1px solid 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-1: #fbfbfb;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-light-5: #bebec2;--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-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f2e5ff;--purple-light-2: #f9f0ff;--purple-dark: #6900d1;--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;--cyan-light: #e6fffb;--gold-light: #fefed2}.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%}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snmt-react-ui/country-select",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/country-select.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@snmt-react-ui/city-select": "^2.7.
|
|
22
|
-
"@snmt-react-ui/core": "^2.
|
|
23
|
-
"@snmt-react-ui/flex": "^1.6.
|
|
21
|
+
"@snmt-react-ui/city-select": "^2.7.8",
|
|
22
|
+
"@snmt-react-ui/core": "^2.5.0",
|
|
23
|
+
"@snmt-react-ui/flex": "^1.6.1",
|
|
24
24
|
"i18next": "^23.11.5",
|
|
25
25
|
"react-i18next": "^14.1.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"antd": "^5.18.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "e1ad621d368ec939bb008b45f95baaa44417da37"
|
|
31
31
|
}
|