@snmt-react-ui/city-select 2.7.7 → 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.
@@ -6,8 +6,8 @@ import { jsx as r, Fragment as i1, jsxs as C } from "react/jsx-runtime";
6
6
  import { SNMTUiContext as L2 } from "@snmt-react-ui/core";
7
7
  import { forwardRef as L1, useState as S, useRef as F, useCallback as B, useEffect as Z, useMemo as k2, useImperativeHandle as _1, useContext as r1, createContext as d1 } from "react";
8
8
  import { Select as v2, Tag as N2, Flex as x2, Checkbox as R2, Avatar as M2, Typography as r2, Popover as b2 } from "antd";
9
- var y2 = Object.defineProperty, _2 = (i, e, t) => e in i ? y2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, H2 = (i, e, t) => _2(i, e + "", t), V2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function E2() {
9
+ var y2 = Object.defineProperty, _2 = (i, e, t) => e in i ? y2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, H2 = (i, e, t) => _2(i, e + "", t), E2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
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 G1 = {};
18
18
  function O1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- s1(e[0]) && G1[e[0]] || (s1(e[0]) && (G1[e[0]] = /* @__PURE__ */ new Date()), E2(...e));
21
+ s1(e[0]) && G1[e[0]] || (s1(e[0]) && (G1[e[0]] = /* @__PURE__ */ new Date()), V2(...e));
22
22
  }
23
23
  const o2 = (i, e) => () => {
24
24
  if (i.isInitialized)
@@ -88,8 +88,8 @@ let G2 = {
88
88
  };
89
89
  const B2 = () => G2;
90
90
  let K2;
91
- const j2 = () => K2, W2 = d1();
92
- class P2 {
91
+ const j2 = () => K2, P2 = d1();
92
+ class W2 {
93
93
  constructor() {
94
94
  H2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
@@ -111,8 +111,8 @@ const $2 = (i, e) => {
111
111
  } = e, {
112
112
  i18n: s,
113
113
  defaultNS: n
114
- } = r1(W2) || {}, o = t || s || j2();
115
- if (o && !o.reportNamespaces && (o.reportNamespaces = new P2()), !o) {
114
+ } = r1(P2) || {}, o = t || s || j2();
115
+ if (o && !o.reportNamespaces && (o.reportNamespaces = new W2()), !o) {
116
116
  O1("You will need to pass in an i18next instance by using initReactI18next");
117
117
  const f = (x, k) => s1(k) ? k : S2(k) && s1(k.defaultValue) ? k.defaultValue : Array.isArray(x) ? x[x.length - 1] : x, L = [f, {}, !1];
118
118
  return L.t = f, L.i18n = {}, L.ready = !1, L;
@@ -151,8 +151,8 @@ const $2 = (i, e) => {
151
151
  }, [o, m]), Z(() => {
152
152
  y.current && l && v(u);
153
153
  }, [o, g, l]);
154
- const V = [w, o, l];
155
- if (V.t = w, V.i18n = o, V.ready = l, l || !l && !a) return V;
154
+ const E = [w, o, l];
155
+ if (E.t = w, E.i18n = o, E.ready = l, l || !l && !a) return E;
156
156
  throw new Promise((f) => {
157
157
  e.lng ? K1(o, e.lng, d, () => f()) : B1(o, d, () => f());
158
158
  });
@@ -192,7 +192,7 @@ const $2 = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
195
- var z = /* @__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))(z || {});
195
+ var z = /* @__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))(z || {});
196
196
  const T1 = d1({
197
197
  locale: "en",
198
198
  theme: "light"
@@ -225,7 +225,7 @@ const z2 = ({
225
225
  }
226
226
  );
227
227
  };
228
- 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 || {});
228
+ 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 || {});
229
229
  const l2 = d1({
230
230
  locale: "en",
231
231
  theme: "light"
@@ -1442,7 +1442,7 @@ const J2 = ({
1442
1442
  )
1443
1443
  ]
1444
1444
  }
1445
- ), Ve = ({
1445
+ ), Ee = ({
1446
1446
  className: i,
1447
1447
  color: e = M.GREY_DARK_5,
1448
1448
  height: t = 20,
@@ -1469,7 +1469,7 @@ const J2 = ({
1469
1469
  }
1470
1470
  )
1471
1471
  }
1472
- ), Ee = ({
1472
+ ), Ve = ({
1473
1473
  className: i,
1474
1474
  color: e = M.GREY_DARK_5,
1475
1475
  height: t = 20,
@@ -1893,7 +1893,7 @@ const J2 = ({
1893
1893
  )
1894
1894
  ]
1895
1895
  }
1896
- ), We = ({
1896
+ ), Pe = ({
1897
1897
  className: i,
1898
1898
  color: e = M.NOTIFICATION_WARNING_DARK,
1899
1899
  height: t = 37,
@@ -1932,7 +1932,7 @@ const J2 = ({
1932
1932
  )
1933
1933
  ]
1934
1934
  }
1935
- ), Pe = ({
1935
+ ), We = ({
1936
1936
  className: i,
1937
1937
  color: e = M.GREY_DARK_5,
1938
1938
  height: t = 24,
@@ -2647,9 +2647,9 @@ const J2 = ({
2647
2647
  }, [c, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
2648
2648
  switch (i) {
2649
2649
  case "nextIcon":
2650
- return Ve({ width: e, height: t, color: l, className: a, onClick: c });
2651
- case "prevIcon":
2652
2650
  return Ee({ width: e, height: t, color: l, className: a, onClick: c });
2651
+ case "prevIcon":
2652
+ return Ve({ width: e, height: t, color: l, className: a, onClick: c });
2653
2653
  case "arrowDown":
2654
2654
  return J2({ width: e, height: t, color: l, className: a, onClick: c });
2655
2655
  case "info":
@@ -2789,9 +2789,9 @@ const J2 = ({
2789
2789
  case "plusCircle":
2790
2790
  return je({ width: e, height: t, color: l, className: a, onClick: c });
2791
2791
  case "warning":
2792
- return We({ width: e, height: t, color: l, className: a, onClick: c });
2793
- case "back":
2794
2792
  return Pe({ width: e, height: t, color: l, className: a, onClick: c });
2793
+ case "back":
2794
+ return We({ width: e, height: t, color: l, className: a, onClick: c });
2795
2795
  case "bell":
2796
2796
  return $e({ width: e, height: t, color: l, className: a, onClick: c });
2797
2797
  case "copy":
@@ -2882,7 +2882,7 @@ const J2 = ({
2882
2882
  return u ? /* @__PURE__ */ r(c5, { level: d5[e], ...w, children: s }) : /* @__PURE__ */ r(h5, { ...w, children: s });
2883
2883
  }
2884
2884
  );
2885
- var b = /* @__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))(b || {});
2885
+ var b = /* @__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))(b || {});
2886
2886
  const c2 = d1({
2887
2887
  locale: "en",
2888
2888
  theme: "light"
@@ -3537,7 +3537,7 @@ const u5 = ({
3537
3537
  )
3538
3538
  ]
3539
3539
  }
3540
- ), V5 = ({
3540
+ ), E5 = ({
3541
3541
  width: i = 20,
3542
3542
  height: e = 20,
3543
3543
  color: t = b.GREY_DARK_5,
@@ -3570,7 +3570,7 @@ const u5 = ({
3570
3570
  )
3571
3571
  ]
3572
3572
  }
3573
- ), E5 = ({
3573
+ ), V5 = ({
3574
3574
  width: i = 20,
3575
3575
  height: e = 20,
3576
3576
  color: t = b.GREY_DARK_5,
@@ -3971,7 +3971,7 @@ const u5 = ({
3971
3971
  )
3972
3972
  ]
3973
3973
  }
3974
- ), W5 = ({
3974
+ ), P5 = ({
3975
3975
  width: i = 20,
3976
3976
  height: e = 20,
3977
3977
  color: t = "#004ED7",
@@ -4000,7 +4000,7 @@ const u5 = ({
4000
4000
  )
4001
4001
  ]
4002
4002
  }
4003
- ), P5 = ({
4003
+ ), W5 = ({
4004
4004
  width: i = 10,
4005
4005
  height: e = 10,
4006
4006
  color: t = "#001E52",
@@ -5354,9 +5354,9 @@ const u5 = ({
5354
5354
  case "logOut":
5355
5355
  return H5({ width: e, height: t, color: l, className: a, onClick: c });
5356
5356
  case "settings":
5357
- return V5({ width: e, height: t, color: l, className: a, onClick: c });
5358
- case "trash":
5359
5357
  return E5({ width: e, height: t, color: l, className: a, onClick: c });
5358
+ case "trash":
5359
+ return V5({ width: e, height: t, color: l, className: a, onClick: c });
5360
5360
  case "settings2":
5361
5361
  return I5({ width: e, height: t, color: l, className: a, onClick: c });
5362
5362
  case "success":
@@ -5410,7 +5410,7 @@ const u5 = ({
5410
5410
  onClick: c
5411
5411
  });
5412
5412
  case "expandActiveArrowIcon":
5413
- return W5({
5413
+ return P5({
5414
5414
  width: e,
5415
5415
  height: t,
5416
5416
  color: l,
@@ -5418,7 +5418,7 @@ const u5 = ({
5418
5418
  onClick: c
5419
5419
  });
5420
5420
  case "sortUp":
5421
- return P5({ width: e, height: t, color: l, className: a, onClick: c });
5421
+ return W5({ width: e, height: t, color: l, className: a, onClick: c });
5422
5422
  case "sortDown":
5423
5423
  return $5({ width: e, height: t, color: l, className: a, onClick: c });
5424
5424
  case "search":
@@ -5490,7 +5490,7 @@ const u5 = ({
5490
5490
  }
5491
5491
  })() });
5492
5492
  };
5493
- var f1 = /* @__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))(f1 || {});
5493
+ var f1 = /* @__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))(f1 || {});
5494
5494
  const yt = d1({
5495
5495
  locale: "en",
5496
5496
  theme: "light"
@@ -5534,12 +5534,12 @@ const h2 = ({
5534
5534
  ) : i
5535
5535
  }
5536
5536
  );
5537
- }, { Title: _t, Text: Ht } = r2, Vt = {
5537
+ }, { Title: _t, Text: Ht } = r2, Et = {
5538
5538
  h1: 1,
5539
5539
  h2: 2,
5540
5540
  h3: 3,
5541
5541
  h4: 4
5542
- }, Et = L1(
5542
+ }, Vt = L1(
5543
5543
  ({
5544
5544
  align: i = "inherit",
5545
5545
  variant: e = "body1",
@@ -5581,7 +5581,7 @@ const h2 = ({
5581
5581
  }
5582
5582
  } : void 0
5583
5583
  };
5584
- return u ? /* @__PURE__ */ r(_t, { level: Vt[e], ...w, children: s }) : /* @__PURE__ */ r(Ht, { ...w, children: s });
5584
+ return u ? /* @__PURE__ */ r(_t, { level: Et[e], ...w, children: s }) : /* @__PURE__ */ r(Ht, { ...w, children: s });
5585
5585
  }
5586
5586
  ), It = ({
5587
5587
  children: i,
@@ -5612,7 +5612,7 @@ var Ot = { exports: {} };
5612
5612
  (function(i, e) {
5613
5613
  (function(t, s) {
5614
5614
  i.exports = s();
5615
- })(V2, function() {
5615
+ })(E2, function() {
5616
5616
  return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
5617
5617
  var s = ["th", "st", "nd", "rd"], n = t % 100;
5618
5618
  return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
@@ -5675,7 +5675,7 @@ const St = ({
5675
5675
  backgroundSize: "20% calc(200% + 20px)"
5676
5676
  };
5677
5677
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
5678
- }, W1 = L1(
5678
+ }, P1 = L1(
5679
5679
  ({
5680
5680
  value: i,
5681
5681
  onChange: e,
@@ -5696,16 +5696,16 @@ const St = ({
5696
5696
  extraOptions: m,
5697
5697
  dropdownRender: _,
5698
5698
  optionRender: y,
5699
- isLoading: V,
5699
+ isLoading: E,
5700
5700
  readOnly: f,
5701
5701
  error: L
5702
5702
  }, x) => {
5703
- const [k, E] = S(!1), [T, G] = S(!1), [j, Q] = S(!0), [I, W] = S(i), U = F(null);
5703
+ const [k, V] = S(!1), [T, G] = S(!1), [j, Q] = S(!0), [I, P] = S(i), U = F(null);
5704
5704
  Z(() => {
5705
- W(i);
5705
+ P(i);
5706
5706
  }, [i]);
5707
5707
  const q = (N) => {
5708
- E(N), u && u(N);
5708
+ V(N), u && u(N);
5709
5709
  }, X = (N, H) => {
5710
5710
  var A;
5711
5711
  return !!((A = H == null ? void 0 : H.label) != null && A.toString().toLowerCase().includes(N.toLowerCase()));
@@ -5713,9 +5713,9 @@ const St = ({
5713
5713
  G(!0);
5714
5714
  }, $ = () => {
5715
5715
  G(!1);
5716
- }, P = B(
5716
+ }, W = B(
5717
5717
  (N) => {
5718
- if (W(N), s) {
5718
+ if (P(N), s) {
5719
5719
  const A = N;
5720
5720
  e == null || e(A);
5721
5721
  return;
@@ -5727,17 +5727,17 @@ const St = ({
5727
5727
  ), e1 = B(() => {
5728
5728
  if (!(f || a)) {
5729
5729
  if (s) {
5730
- P([]);
5730
+ W([]);
5731
5731
  return;
5732
5732
  }
5733
- P("");
5733
+ W("");
5734
5734
  }
5735
- }, [a, P, s, f]), t1 = B(
5735
+ }, [a, W, s, f]), t1 = B(
5736
5736
  (N) => {
5737
5737
  const H = I.filter((A) => A !== N);
5738
- P(H), W(H);
5738
+ W(H), P(H);
5739
5739
  },
5740
- [P, I]
5740
+ [W, I]
5741
5741
  ), g1 = B(
5742
5742
  (N) => (I == null ? void 0 : I.indexOf(N)) === 0 ? (
5743
5743
  // if the search input is empty
@@ -5805,7 +5805,7 @@ const St = ({
5805
5805
  return a ? /* @__PURE__ */ r("span", { style: { color: z.GREY_DARK_1 }, children: H }) : H;
5806
5806
  },
5807
5807
  mode: s === "filter" ? "multiple" : s,
5808
- onChange: P,
5808
+ onChange: W,
5809
5809
  onFocus: D,
5810
5810
  onBlur: $,
5811
5811
  onSearch: (N) => {
@@ -5817,7 +5817,7 @@ const St = ({
5817
5817
  maxTagCount: "responsive",
5818
5818
  maxTagPlaceholder: N1,
5819
5819
  onPopupScroll: v1,
5820
- prefix: V && /* @__PURE__ */ r(j1, { size: "small" }),
5820
+ prefix: E && /* @__PURE__ */ r(j1, { size: "small" }),
5821
5821
  suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(i1, { children: [
5822
5822
  I && !!I.length && (s || d) && /* @__PURE__ */ r(
5823
5823
  "div",
@@ -5841,7 +5841,7 @@ const St = ({
5841
5841
  name: "selectArrowIcon",
5842
5842
  color: a ? z.GREY_DARK_1 : z.GREY_DARK_5,
5843
5843
  className: k ? "select-arrow-rotated" : "select-arrow",
5844
- onClick: () => E(!k)
5844
+ onClick: () => V(!k)
5845
5845
  }
5846
5846
  )
5847
5847
  ] }) }),
@@ -5872,7 +5872,7 @@ const St = ({
5872
5872
  ] }),
5873
5873
  dropdownRender: (N) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
5874
5874
  /* @__PURE__ */ r("div", { className: "dropdown-menu", children: _ ? _(N) : N }),
5875
- V && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(j1, {}) })
5875
+ E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(j1, {}) })
5876
5876
  ] })
5877
5877
  }
5878
5878
  ),
@@ -5880,7 +5880,7 @@ const St = ({
5880
5880
  /* @__PURE__ */ r(
5881
5881
  "label",
5882
5882
  {
5883
- className: `${T || Y ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${T ? "label-focused" : ""} ${V ? "label-loading" : ""} ${L ? "label-error" : ""}`,
5883
+ className: `${T || Y ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${T ? "label-focused" : ""} ${E ? "label-loading" : ""} ${L ? "label-error" : ""}`,
5884
5884
  children: g ? `${t}*` : t
5885
5885
  }
5886
5886
  ),
@@ -5905,7 +5905,7 @@ const St = ({
5905
5905
  width: 16
5906
5906
  }
5907
5907
  ),
5908
- typeof L == "string" ? /* @__PURE__ */ r(Et, { color: z.NOTIFICATION_ERROR_DARK, variant: "body4", children: L }) : L
5908
+ typeof L == "string" ? /* @__PURE__ */ r(Vt, { color: z.NOTIFICATION_ERROR_DARK, variant: "body4", children: L }) : L
5909
5909
  ] })
5910
5910
  ] });
5911
5911
  }
@@ -5921,13 +5921,13 @@ function Zt(i, e = 500) {
5921
5921
  clearTimeout(t.current), t.current = n;
5922
5922
  };
5923
5923
  }
5924
- function P1(i) {
5924
+ function W1(i) {
5925
5925
  const e = F(i);
5926
5926
  return Z(() => {
5927
5927
  e.current = i;
5928
5928
  }, [i]), e.current;
5929
5929
  }
5930
- const V1 = 100, l1 = {
5930
+ const E1 = 100, l1 = {
5931
5931
  offset: 0
5932
5932
  }, Tt = L1(
5933
5933
  ({
@@ -5950,12 +5950,12 @@ const V1 = 100, l1 = {
5950
5950
  clearable: m = !1,
5951
5951
  required: _ = !1,
5952
5952
  error: y
5953
- }, V) => {
5954
- const [f, L] = S(), [x, k] = S(l1), [E, T] = S(!1), [G, j] = S(), [Q, I] = S(!1), [W, U] = S(
5953
+ }, E) => {
5954
+ const [f, L] = S(), [x, k] = S(l1), [V, T] = S(!1), [G, j] = S(), [Q, I] = S(!1), [P, U] = S(
5955
5955
  c ?? []
5956
- ), q = P1(x.offset), X = P1(G), [D, $] = S(!1), P = F(!1), e1 = B(
5956
+ ), q = W1(x.offset), X = W1(G), [D, $] = S(!1), W = F(!1), e1 = B(
5957
5957
  async ({
5958
- limit: O = V1,
5958
+ limit: O = E1,
5959
5959
  offset: Y,
5960
5960
  search: N
5961
5961
  }) => {
@@ -5986,12 +5986,12 @@ const V1 = 100, l1 = {
5986
5986
  [t1]
5987
5987
  ), k1 = B(
5988
5988
  async (O) => {
5989
- E || O && x.count && x.count > ((f == null ? void 0 : f.length) ?? 0) && k((Y) => ({
5989
+ V || O && x.count && x.count > ((f == null ? void 0 : f.length) ?? 0) && k((Y) => ({
5990
5990
  ...Y,
5991
- offset: Y.offset + V1
5991
+ offset: Y.offset + E1
5992
5992
  }));
5993
5993
  },
5994
- [E, f == null ? void 0 : f.length, x.count]
5994
+ [V, f == null ? void 0 : f.length, x.count]
5995
5995
  ), v1 = B(
5996
5996
  (O) => {
5997
5997
  I(O), !O && G && (j(void 0), k(l1), $(!0)), u == null || u(O);
@@ -5999,9 +5999,9 @@ const V1 = 100, l1 = {
5999
5999
  [u, G]
6000
6000
  );
6001
6001
  Z(() => {
6002
- !P.current || E || (D || Q && (q !== x.offset || X !== G || !f)) && (e1({ offset: x.offset, limit: V1, search: G }), D && $(!1));
6003
- }, [D, Q, x.offset, G, q, X, f, E]), Z(() => {
6004
- (d || l) && e1(l1), P.current = !0;
6002
+ !W.current || V || (D || Q && (q !== x.offset || X !== G || !f)) && (e1({ offset: x.offset, limit: E1, search: G }), D && $(!1));
6003
+ }, [D, Q, x.offset, G, q, X, f, V]), Z(() => {
6004
+ (d || l) && e1(l1), W.current = !0;
6005
6005
  }, []), Z(() => {
6006
6006
  c && U((O) => {
6007
6007
  const Y = c.filter(
@@ -6016,7 +6016,7 @@ const V1 = 100, l1 = {
6016
6016
  let Y = [];
6017
6017
  if (g ? Y = Array.isArray(O) ? O : [] : Y = O ? [O] : [], G) {
6018
6018
  const N = Y.filter(
6019
- (H) => !(W != null && W.some((A) => A.value === H))
6019
+ (H) => !(P != null && P.some((A) => A.value === H))
6020
6020
  );
6021
6021
  N.length > 0 && U((H = []) => [
6022
6022
  ...H,
@@ -6030,14 +6030,14 @@ const V1 = 100, l1 = {
6030
6030
  ]), j(void 0), k(l1), $(!0);
6031
6031
  }
6032
6032
  },
6033
- [t, G, g, f, W]
6033
+ [t, G, g, f, P]
6034
6034
  ), N1 = k2(
6035
6035
  () => ({
6036
6036
  id: n,
6037
6037
  width: e,
6038
6038
  options: f || [],
6039
6039
  onChange: o1,
6040
- ref: V,
6040
+ ref: E,
6041
6041
  placeholder: a,
6042
6042
  search: !0,
6043
6043
  value: s,
@@ -6046,8 +6046,8 @@ const V1 = 100, l1 = {
6046
6046
  scrollThresholdValue: h,
6047
6047
  onScrollToEnd: k1,
6048
6048
  disabled: o,
6049
- extraOptions: W,
6050
- isLoading: E,
6049
+ extraOptions: P,
6050
+ isLoading: V,
6051
6051
  optionRender: p,
6052
6052
  dropdownRender: w,
6053
6053
  readOnly: v,
@@ -6060,7 +6060,7 @@ const V1 = 100, l1 = {
6060
6060
  e,
6061
6061
  f,
6062
6062
  o1,
6063
- V,
6063
+ E,
6064
6064
  a,
6065
6065
  s,
6066
6066
  g1,
@@ -6068,8 +6068,8 @@ const V1 = 100, l1 = {
6068
6068
  h,
6069
6069
  k1,
6070
6070
  o,
6071
- W,
6072
- E,
6071
+ P,
6072
+ V,
6073
6073
  p,
6074
6074
  w,
6075
6075
  v,
@@ -6078,11 +6078,11 @@ const V1 = 100, l1 = {
6078
6078
  y
6079
6079
  ]
6080
6080
  );
6081
- return _1(V, () => ({
6081
+ return _1(E, () => ({
6082
6082
  refetchOptions: async () => {
6083
6083
  k(l1), j(void 0), $(!0);
6084
6084
  }
6085
- })), g ? /* @__PURE__ */ r(W1, { ...N1, value: s, mode: g }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(W1, { ...N1, value: s }) });
6085
+ })), g ? /* @__PURE__ */ r(P1, { ...N1, value: s, mode: g }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(P1, { ...N1, value: s }) });
6086
6086
  }
6087
6087
  ), R = (i) => typeof i == "string", C1 = () => {
6088
6088
  let i, e;
@@ -6148,8 +6148,8 @@ var jt = {
6148
6148
  "'": "&#39;",
6149
6149
  "/": "&#x2F;"
6150
6150
  };
6151
- const Wt = (i) => R(i) ? i.replace(/[&<>"'\/]/g, (e) => jt[e]) : i;
6152
- class Pt {
6151
+ const Pt = (i) => R(i) ? i.replace(/[&<>"'\/]/g, (e) => jt[e]) : i;
6152
+ class Wt {
6153
6153
  constructor(e) {
6154
6154
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
6155
6155
  }
@@ -6161,7 +6161,7 @@ class Pt {
6161
6161
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
6162
6162
  }
6163
6163
  }
6164
- const $t = [" ", ",", "?", "!", ";"], Yt = new Pt(20), Ft = (i, e, t) => {
6164
+ const $t = [" ", ",", "?", "!", ";"], Yt = new Wt(20), Ft = (i, e, t) => {
6165
6165
  e = e || "", t = t || "";
6166
6166
  const s = $t.filter((h) => e.indexOf(h) < 0 && t.indexOf(h) < 0);
6167
6167
  if (s.length === 0) return !0;
@@ -6441,8 +6441,8 @@ class y1 extends H1 {
6441
6441
  }
6442
6442
  const c = this.resolve(e, t);
6443
6443
  let u = c && c.res;
6444
- const p = c && c.usedKey || h, w = c && c.exactUsedKey || h, v = Object.prototype.toString.apply(u), m = ["[object Number]", "[object Function]", "[object RegExp]"], _ = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, V = !R(u) && typeof u != "boolean" && typeof u != "number";
6445
- if (y && u && V && m.indexOf(v) < 0 && !(R(_) && Array.isArray(u))) {
6444
+ const p = c && c.usedKey || h, w = c && c.exactUsedKey || h, v = Object.prototype.toString.apply(u), m = ["[object Number]", "[object Function]", "[object RegExp]"], _ = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !R(u) && typeof u != "boolean" && typeof u != "number";
6445
+ if (y && u && E && m.indexOf(v) < 0 && !(R(_) && Array.isArray(u))) {
6446
6446
  if (!t.returnObjects && !this.options.returnObjects) {
6447
6447
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
6448
6448
  const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
@@ -6455,12 +6455,12 @@ class y1 extends H1 {
6455
6455
  const f = Array.isArray(u), L = f ? [] : {}, x = f ? w : p;
6456
6456
  for (const k in u)
6457
6457
  if (Object.prototype.hasOwnProperty.call(u, k)) {
6458
- const E = `${x}${o}${k}`;
6459
- L[k] = this.translate(E, {
6458
+ const V = `${x}${o}${k}`;
6459
+ L[k] = this.translate(V, {
6460
6460
  ...t,
6461
6461
  joinArrays: !1,
6462
6462
  ns: a
6463
- }), L[k] === E && (L[k] = u[k]);
6463
+ }), L[k] === V && (L[k] = u[k]);
6464
6464
  }
6465
6465
  u = L;
6466
6466
  }
@@ -6468,13 +6468,13 @@ class y1 extends H1 {
6468
6468
  u = u.join(_), u && (u = this.extendTranslation(u, e, t, s));
6469
6469
  else {
6470
6470
  let f = !1, L = !1;
6471
- const x = t.count !== void 0 && !R(t.count), k = y1.hasDefaultValue(t), E = x ? this.pluralResolver.getSuffix(d, t.count, t) : "", T = t.ordinal && x ? this.pluralResolver.getSuffix(d, t.count, {
6471
+ const x = t.count !== void 0 && !R(t.count), k = y1.hasDefaultValue(t), V = x ? this.pluralResolver.getSuffix(d, t.count, t) : "", T = t.ordinal && x ? this.pluralResolver.getSuffix(d, t.count, {
6472
6472
  ordinal: !1
6473
- }) : "", G = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), j = G && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${E}`] || t[`defaultValue${T}`] || t.defaultValue;
6473
+ }) : "", G = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), j = G && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${V}`] || t[`defaultValue${T}`] || t.defaultValue;
6474
6474
  !this.isValidLookup(u) && k && (f = !0, u = j), this.isValidLookup(u) || (L = !0, u = h);
6475
- const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : u, W = k && j !== u && this.options.updateMissing;
6476
- if (L || f || W) {
6477
- if (this.logger.log(W ? "updateKey" : "missingKey", d, g, h, W ? j : u), o) {
6475
+ const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : u, P = k && j !== u && this.options.updateMissing;
6476
+ if (L || f || P) {
6477
+ if (this.logger.log(P ? "updateKey" : "missingKey", d, g, h, P ? j : u), o) {
6478
6478
  const D = this.resolve(h, {
6479
6479
  ...t,
6480
6480
  keySeparator: !1
@@ -6487,14 +6487,14 @@ class y1 extends H1 {
6487
6487
  for (let D = 0; D < q.length; D++)
6488
6488
  U.push(q[D]);
6489
6489
  else this.options.saveMissingTo === "all" ? U = this.languageUtils.toResolveHierarchy(t.lng || this.language) : U.push(t.lng || this.language);
6490
- const X = (D, $, P) => {
6491
- const e1 = k && P !== u ? P : I;
6492
- this.options.missingKeyHandler ? this.options.missingKeyHandler(D, g, $, e1, W, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(D, g, $, e1, W, t), this.emit("missingKey", D, g, $, u);
6490
+ const X = (D, $, W) => {
6491
+ const e1 = k && W !== u ? W : I;
6492
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(D, g, $, e1, P, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(D, g, $, e1, P, t), this.emit("missingKey", D, g, $, u);
6493
6493
  };
6494
6494
  this.options.saveMissing && (this.options.saveMissingPlurals && x ? U.forEach((D) => {
6495
6495
  const $ = this.pluralResolver.getSuffixes(D, t);
6496
- G && t[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((P) => {
6497
- X([D], h + P, t[`defaultValue${P}`] || j);
6496
+ G && t[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((W) => {
6497
+ X([D], h + W, t[`defaultValue${W}`] || j);
6498
6498
  });
6499
6499
  }) : X(U, h, j));
6500
6500
  }
@@ -6573,9 +6573,9 @@ class y1 extends H1 {
6573
6573
  y.push(k), u && (y.push(k + f), t.ordinal && f.indexOf(x) === 0 && y.push(k + f.replace(x, this.options.pluralSeparator)), p && y.push(k + L));
6574
6574
  }
6575
6575
  }
6576
- let V;
6577
- for (; V = y.pop(); )
6578
- this.isValidLookup(s) || (o = V, s = this.getResource(_, m, V, t));
6576
+ let E;
6577
+ for (; E = y.pop(); )
6578
+ this.isValidLookup(s) || (o = E, s = this.getResource(_, m, E, t));
6579
6579
  }));
6580
6580
  });
6581
6581
  }), {
@@ -6617,7 +6617,7 @@ class y1 extends H1 {
6617
6617
  return !1;
6618
6618
  }
6619
6619
  }
6620
- const E1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
6620
+ const V1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
6621
6621
  class q1 {
6622
6622
  constructor(e) {
6623
6623
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
@@ -6642,7 +6642,7 @@ class q1 {
6642
6642
  }
6643
6643
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
6644
6644
  let s = e.split("-");
6645
- return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = E1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = E1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = E1(s[2].toLowerCase()))), s.join("-");
6645
+ return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = V1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = V1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = V1(s[2].toLowerCase()))), s.join("-");
6646
6646
  }
6647
6647
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
6648
6648
  }
@@ -6914,7 +6914,7 @@ class t0 {
6914
6914
  maxReplaces: _,
6915
6915
  alwaysFormat: y
6916
6916
  } = e.interpolation;
6917
- this.escape = t !== void 0 ? t : Wt, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? c1(o) : h || "{{", this.suffix = a ? c1(a) : g || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = u ? c1(u) : p || c1("$t("), this.nestingSuffix = w ? c1(w) : v || c1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = _ || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
6917
+ this.escape = t !== void 0 ? t : Pt, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? c1(o) : h || "{{", this.suffix = a ? c1(a) : g || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = u ? c1(u) : p || c1("$t("), this.nestingSuffix = w ? c1(w) : v || c1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = _ || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
6918
6918
  }
6919
6919
  reset() {
6920
6920
  this.options && this.init(this.options);
@@ -7732,8 +7732,8 @@ const N0 = (i, e) => {
7732
7732
  }, [o, m]), Z(() => {
7733
7733
  y.current && l && v(u);
7734
7734
  }, [o, g, l]);
7735
- const V = [w, o, l];
7736
- if (V.t = w, V.i18n = o, V.ready = l, l || !l && !a) return V;
7735
+ const E = [w, o, l];
7736
+ if (E.t = w, E.i18n = o, E.ready = l, l || !l && !a) return E;
7737
7737
  throw new Promise((f) => {
7738
7738
  e.lng ? n2(o, e.lng, d, () => f()) : s2(o, d, () => f());
7739
7739
  });
@@ -7770,23 +7770,23 @@ const Z0 = L1(
7770
7770
  `CitySelect requires "axiosPeople" to fetch cities.
7771
7771
  Please provide it via SNMTUiContext.`
7772
7772
  );
7773
- const { t: y } = R0("common", { lng: u }), V = B(
7773
+ const { t: y } = R0("common", { lng: u }), E = B(
7774
7774
  async (L) => {
7775
7775
  const x = m.current.find((k) => k.value === L);
7776
7776
  if (x)
7777
7777
  return [x];
7778
7778
  try {
7779
- const E = (await p.post("v1/cities/search", {
7779
+ const V = (await p.post("v1/cities/search", {
7780
7780
  filters: {
7781
7781
  geoNameId: [L],
7782
7782
  countryId: [e]
7783
7783
  }
7784
7784
  })).data.data;
7785
- if (!E.length)
7785
+ if (!V.length)
7786
7786
  return t(null), [];
7787
7787
  const T = {
7788
- value: E[0].geoNameId,
7789
- label: E[0].name
7788
+ value: V[0].geoNameId,
7789
+ label: V[0].name
7790
7790
  };
7791
7791
  return m.current = [...m.current, T], [T];
7792
7792
  } catch (k) {
@@ -7798,7 +7798,7 @@ const Z0 = L1(
7798
7798
  Z(() => {
7799
7799
  (async () => {
7800
7800
  if (!s) return;
7801
- const x = await V(s);
7801
+ const x = await E(s);
7802
7802
  d(x);
7803
7803
  })();
7804
7804
  }, []), Z(() => {
@@ -7813,13 +7813,13 @@ const Z0 = L1(
7813
7813
  }) => {
7814
7814
  try {
7815
7815
  c(!0);
7816
- const E = {
7816
+ const V = {
7817
7817
  offset: x,
7818
7818
  limit: L,
7819
7819
  includeCount: !0
7820
7820
  };
7821
- E.filters = {}, e && e.length > 0 && (E.filters.countryId = [e]), k && (E.search = k);
7822
- const T = await p.post("v1/cities/search", E), G = (T == null ? void 0 : T.data.data) || [], j = T == null ? void 0 : T.data.metadata.count;
7821
+ V.filters = {}, e && e.length > 0 && (V.filters.countryId = [e]), k && (V.search = k);
7822
+ const T = await p.post("v1/cities/search", V), G = (T == null ? void 0 : T.data.data) || [], j = T == null ? void 0 : T.data.metadata.count;
7823
7823
  return {
7824
7824
  options: G.map((I) => ({
7825
7825
  value: I.geoNameId,
@@ -7828,8 +7828,8 @@ const Z0 = L1(
7828
7828
  count: j,
7829
7829
  limit: L
7830
7830
  };
7831
- } catch (E) {
7832
- return console.error("CitySelect. loadOptions error", E), {
7831
+ } catch (V) {
7832
+ return console.error("CitySelect. loadOptions error", V), {
7833
7833
  options: [],
7834
7834
  count: 0,
7835
7835
  limit: L
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/city-select",
3
3
  "private": false,
4
- "version": "2.7.7",
4
+ "version": "2.7.8",
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.9.7",
22
- "@snmt-react-ui/core": "^2.4.0",
21
+ "@snmt-react-ui/async-select": "^1.9.8",
22
+ "@snmt-react-ui/core": "^2.5.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": "a79be877d1e36023729e331b6c927105ce123f0c"
30
+ "gitHead": "e1ad621d368ec939bb008b45f95baaa44417da37"
31
31
  }