maz-ui 3.23.4 → 3.24.0

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.
Files changed (151) hide show
  1. package/components/MazAvatar.mjs +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +3 -3
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCarousel.mjs +1 -1
  7. package/components/MazCheckbox.mjs +9 -9
  8. package/components/MazDialog.mjs +1 -1
  9. package/components/MazDialogPromise.d.ts +6 -6
  10. package/components/MazDialogPromise.mjs +1 -1
  11. package/components/MazDrawer.mjs +1 -1
  12. package/components/MazDropdown.d.ts +4 -0
  13. package/components/MazDropdown.mjs +1 -1
  14. package/components/MazInput.mjs +1 -1
  15. package/components/MazInputNumber.mjs +1 -1
  16. package/components/MazInputPrice.mjs +1 -1
  17. package/components/MazInputTags.d.ts +1 -0
  18. package/components/MazInputTags.mjs +1 -1
  19. package/components/MazPhoneNumberInput.mjs +1 -1
  20. package/components/MazPicker.mjs +1 -1
  21. package/components/MazRadioButtons.mjs +49 -38
  22. package/components/MazSelect.mjs +1 -1
  23. package/components/MazSlider.mjs +1 -1
  24. package/components/MazTabsBar.mjs +1 -1
  25. package/components/assets/MazAvatar.css +1 -1
  26. package/components/assets/MazBtn.css +1 -1
  27. package/components/assets/MazCard.css +1 -1
  28. package/components/assets/MazCheckbox.css +1 -1
  29. package/components/assets/MazDropdown.css +1 -1
  30. package/components/assets/MazInput.css +1 -1
  31. package/components/assets/MazInputPrice.css +1 -1
  32. package/components/assets/MazInputTags.css +1 -1
  33. package/components/assets/MazPhoneNumberInput.css +1 -1
  34. package/components/assets/MazPicker.css +1 -1
  35. package/components/assets/MazPickerCalendar.css +1 -1
  36. package/components/assets/MazRadioButtons.css +1 -1
  37. package/components/assets/MazSelect.css +1 -1
  38. package/components/assets/MazSlider.css +1 -1
  39. package/components/chunks/{MazAvatar-1636f58b.mjs → MazAvatar-a0310614.mjs} +7 -7
  40. package/components/chunks/{MazBottomSheet-c24f92f8.mjs → MazBottomSheet-656778f3.mjs} +1 -1
  41. package/components/chunks/{MazBtn-2d1d1ba5.mjs → MazBtn-1abd74e1.mjs} +3 -3
  42. package/components/chunks/{MazBtn-683effc1.mjs → MazBtn-1b5325b4.mjs} +3 -3
  43. package/components/chunks/{MazBtn-5e426592.mjs → MazBtn-28eb4f51.mjs} +3 -3
  44. package/components/chunks/{MazBtn-1e61862b.mjs → MazBtn-4242d8bf.mjs} +3 -3
  45. package/components/chunks/MazBtn-54c46d7a.mjs +153 -0
  46. package/components/chunks/MazBtn-55bdce06.mjs +153 -0
  47. package/components/chunks/MazBtn-5b3c390b.mjs +153 -0
  48. package/components/chunks/{MazBtn-3d74f737.mjs → MazBtn-5c7f35e9.mjs} +3 -3
  49. package/components/chunks/{MazBtn-4a447126.mjs → MazBtn-6df3ecd9.mjs} +3 -3
  50. package/components/chunks/{MazBtn-7706b2da.mjs → MazBtn-7313b190.mjs} +9 -9
  51. package/components/chunks/{MazBtn-555928ed.mjs → MazBtn-8d15228e.mjs} +3 -3
  52. package/components/chunks/{MazBtn-6ce4cfd3.mjs → MazBtn-ab3967b5.mjs} +1 -1
  53. package/components/chunks/{MazBtn-124f3700.mjs → MazBtn-edeb8105.mjs} +3 -3
  54. package/components/chunks/MazBtn-fbc2b2c9.mjs +153 -0
  55. package/components/chunks/{MazCard-bcc36489.mjs → MazCard-cb88998a.mjs} +3 -3
  56. package/components/chunks/{MazCarousel-6da75122.mjs → MazCarousel-4a1f2f1b.mjs} +1 -1
  57. package/components/chunks/{MazCheckbox-3a2b48b4.mjs → MazCheckbox-0df95780.mjs} +6 -6
  58. package/components/chunks/{MazCheckbox-040dc2c4.mjs → MazCheckbox-4ccd0b53.mjs} +6 -6
  59. package/components/chunks/{MazDialog-44eda544.mjs → MazDialog-e80585a6.mjs} +1 -1
  60. package/components/chunks/{MazDialogPromise-eec5acde.mjs → MazDialogPromise-0769de39.mjs} +2 -2
  61. package/components/chunks/{MazDrawer-b628b37e.mjs → MazDrawer-ff505fb8.mjs} +1 -1
  62. package/components/chunks/MazDropdown-0dea4e44.mjs +352 -0
  63. package/components/chunks/{MazGallery-6b8ecedf.mjs → MazGallery-eb620533.mjs} +1 -1
  64. package/components/chunks/{MazIcon-95e31ff8.mjs → MazIcon-b0ad5b4c.mjs} +1 -1
  65. package/components/chunks/{MazInput-1ed4f946.mjs → MazInput-14d96bc3.mjs} +2 -2
  66. package/components/chunks/{MazInput-c51881ea.mjs → MazInput-a4884812.mjs} +2 -2
  67. package/components/chunks/{MazInput-8a217995.mjs → MazInput-d0d28579.mjs} +3 -3
  68. package/components/chunks/{MazInputPrice-cd348d46.mjs → MazInputPrice-a94b17c3.mjs} +2 -2
  69. package/components/chunks/MazInputTags-d8514b7b.mjs +595 -0
  70. package/components/chunks/{MazLazyImg-47d3449a.mjs → MazLazyImg-632c3f0c.mjs} +2 -2
  71. package/components/chunks/{MazPhoneNumberInput-e1bf46f9.mjs → MazPhoneNumberInput-b32334b7.mjs} +138 -135
  72. package/components/chunks/{MazPicker-e4620d8b.mjs → MazPicker-9b2f5212.mjs} +49 -49
  73. package/components/chunks/{MazPickerCalendar-da62262c.mjs → MazPickerCalendar-fd08a0bd.mjs} +7 -7
  74. package/components/chunks/{MazPickerHeader-a2e041eb.mjs → MazPickerHeader-b353cef2.mjs} +1 -1
  75. package/components/chunks/{MazPickerMonthSwitcher-5bf8bd08.mjs → MazPickerMonthSwitcher-ec404758.mjs} +2 -2
  76. package/components/chunks/{MazPickerShortcuts-7f95430e.mjs → MazPickerShortcuts-e9c8b46e.mjs} +2 -2
  77. package/components/chunks/{MazPickerTime-717402ae.mjs → MazPickerTime-a94a2ad1.mjs} +2 -2
  78. package/components/chunks/{MazPickerYearSwitcher-85f97b6d.mjs → MazPickerYearSwitcher-4ab742f7.mjs} +3 -3
  79. package/components/chunks/{MazSelect-6ff6bb96.mjs → MazSelect-a0d29d46.mjs} +3 -3
  80. package/components/chunks/{MazSpinner-51aa73ca.mjs → MazSpinner-05b867f0.mjs} +1 -1
  81. package/components/chunks/MazSpinner-151ca8af.mjs +39 -0
  82. package/components/chunks/{MazSpinner-059ee1d2.mjs → MazSpinner-37cda5f1.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-6d1d24d5.mjs → MazSpinner-38548063.mjs} +1 -1
  84. package/components/chunks/MazSpinner-3b9cd6bd.mjs +39 -0
  85. package/components/chunks/MazSpinner-691d6fe4.mjs +39 -0
  86. package/components/chunks/MazSpinner-70afb16b.mjs +39 -0
  87. package/components/chunks/MazSpinner-8ecee924.mjs +39 -0
  88. package/components/chunks/MazSpinner-9fc0d858.mjs +39 -0
  89. package/components/chunks/{MazSpinner-13403729.mjs → MazSpinner-a936fb87.mjs} +1 -1
  90. package/components/chunks/MazSpinner-d37b29f0.mjs +39 -0
  91. package/components/chunks/{MazSpinner-054f948c.mjs → MazSpinner-ea39af30.mjs} +1 -1
  92. package/components/chunks/{MazSpinner-452a1534.mjs → MazSpinner-ef90ca5e.mjs} +1 -1
  93. package/components/chunks/{MazSpinner-4c02cfd2.mjs → MazSpinner-f54688d1.mjs} +1 -1
  94. package/components/chunks/MazSpinner-fa0d644a.mjs +39 -0
  95. package/components/chunks/{MazSpinner-d9ef329f.mjs → MazSpinner-fa796159.mjs} +1 -1
  96. package/components/chunks/{MazTabsBar-27965f16.mjs → MazTabsBar-3fc93e3c.mjs} +1 -1
  97. package/components/chunks/{MazTransitionExpand-cd24498f.mjs → MazTransitionExpand-9d45da0e.mjs} +1 -1
  98. package/css/main.css +1 -1
  99. package/modules/assets/MazBtn.css +1 -1
  100. package/modules/assets/index.css +1 -1
  101. package/modules/chunks/{MazBtn-760c3b29.mjs → MazBtn-6d482774.mjs} +3 -3
  102. package/modules/chunks/{MazBtn-2f302422.cjs → MazBtn-9e80b611.cjs} +1 -1
  103. package/modules/chunks/{MazIcon-599a907f.cjs → MazIcon-84d2e299.cjs} +1 -1
  104. package/modules/chunks/{MazIcon-0bd6b78e.mjs → MazIcon-c59e858b.mjs} +1 -1
  105. package/modules/chunks/{MazSpinner-6ffa8db1.cjs → MazSpinner-108d3dc0.cjs} +1 -1
  106. package/modules/chunks/{MazSpinner-03bd76bd.mjs → MazSpinner-dcb0164b.mjs} +1 -1
  107. package/modules/chunks/check-circle-59c383ed.mjs +30 -0
  108. package/modules/chunks/check-circle-8c27a70a.cjs +1 -0
  109. package/modules/chunks/exclamation-circle-a33311d2.cjs +1 -0
  110. package/modules/chunks/exclamation-circle-e2620aab.mjs +30 -0
  111. package/modules/chunks/exclamation-triangle-21bf116a.mjs +30 -0
  112. package/modules/chunks/exclamation-triangle-df9f85b0.cjs +1 -0
  113. package/modules/chunks/index-4ffeaf8e.cjs +124 -0
  114. package/modules/chunks/{index-6a90ef88.mjs → index-67003347.mjs} +598 -508
  115. package/modules/chunks/information-circle-9fe4430a.cjs +1 -0
  116. package/modules/chunks/information-circle-b8051b19.mjs +30 -0
  117. package/modules/index.cjs +1 -1
  118. package/modules/index.mjs +18 -17
  119. package/nuxt/index.d.mts +5 -0
  120. package/nuxt/index.d.ts +5 -0
  121. package/nuxt/index.json +1 -1
  122. package/nuxt/index.mjs +14 -0
  123. package/nuxt/runtime/plugins/maz-icon-path.mjs +2 -1
  124. package/package.json +4 -4
  125. package/tailwindcss/tailwind.config.ts +0 -1
  126. package/types/components/MazBtn.vue.d.ts +3 -3
  127. package/types/components/MazDialogPromise.vue.d.ts +6 -6
  128. package/types/components/MazDropdown.vue.d.ts +4 -0
  129. package/types/components/MazInputTags.vue.d.ts +1 -0
  130. package/types/modules/composables/index.d.ts +1 -0
  131. package/types/modules/composables/use-timer.d.ts +12 -0
  132. package/types/modules/plugins/aos/index.d.ts +12 -12
  133. package/types/modules/plugins/toaster/MazToast.vue.d.ts +6 -6
  134. package/types/modules/plugins/toaster/toaster-handler.d.ts +2 -1
  135. package/components/chunks/MazBtn-571454f6.mjs +0 -153
  136. package/components/chunks/MazBtn-6905cc39.mjs +0 -153
  137. package/components/chunks/MazBtn-74656d5b.mjs +0 -153
  138. package/components/chunks/MazBtn-a7a913dd.mjs +0 -153
  139. package/components/chunks/MazBtn-fb3c7af8.mjs +0 -153
  140. package/components/chunks/MazDropdown-6f2248b0.mjs +0 -345
  141. package/components/chunks/MazInputTags-aa95fae7.mjs +0 -446
  142. package/components/chunks/MazSpinner-6e7c4705.mjs +0 -39
  143. package/components/chunks/MazSpinner-7895f54f.mjs +0 -39
  144. package/components/chunks/MazSpinner-7eee202e.mjs +0 -39
  145. package/components/chunks/MazSpinner-805e14a6.mjs +0 -39
  146. package/components/chunks/MazSpinner-85080b43.mjs +0 -39
  147. package/components/chunks/MazSpinner-c67b05bb.mjs +0 -39
  148. package/components/chunks/MazSpinner-caa33afc.mjs +0 -39
  149. package/components/chunks/MazSpinner-cb8fbe9a.mjs +0 -39
  150. package/modules/chunks/index-794680d2.cjs +0 -124
  151. package/types/modules/plugins/toaster/timer.d.ts +0 -11
@@ -3,7 +3,7 @@ var f = (a, e, s) => e in a ? u(a, e, { enumerable: !0, configurable: !0, writab
3
3
  var i = (a, e, s) => (f(a, typeof e != "symbol" ? e + "" : e, s), s);
4
4
  import "../assets/MazLazyImg.css";
5
5
  import { defineComponent as p, defineAsyncComponent as v, computed as A, withDirectives as I, openBlock as d, createElementBlock as c, normalizeClass as b, Fragment as y, renderList as C, createElementVNode as E, mergeProps as L, createVNode as O, unref as h, createCommentVNode as z, renderSlot as P } from "vue";
6
- import { _ as w } from "./MazAvatar-1636f58b.mjs";
6
+ import { _ as w } from "./MazAvatar-a0310614.mjs";
7
7
  const B = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", S = {
8
8
  baseClass: "m-lazy-img",
9
9
  loadedClass: "m-lazy-loaded",
@@ -201,7 +201,7 @@ const M = {
201
201
  },
202
202
  emits: ["intersecting", "loading", "loaded", "error"],
203
203
  setup(a) {
204
- const e = v(() => import("./MazSpinner-7895f54f.mjs")), s = a, t = A(() => {
204
+ const e = v(() => import("./MazSpinner-9fc0d858.mjs")), s = a, t = A(() => {
205
205
  var o;
206
206
  return typeof s.image == "string" ? [{ srcset: s.image }] : (o = s.image) == null ? void 0 : o.sources;
207
207
  });
@@ -1,14 +1,14 @@
1
1
  import "../assets/MazPhoneNumberInput.css";
2
- import { computed as c, defineComponent as xe, defineAsyncComponent as U, ref as m, getCurrentInstance as Ie, onMounted as Be, useSlots as Fe, openBlock as v, createElementBlock as C, normalizeClass as E, normalizeStyle as ee, createElementVNode as H, renderSlot as J, createVNode as L, unref as z, createCommentVNode as h, withDirectives as Ee, mergeProps as ke, toHandlers as Ne, vModelDynamic as Ke, createTextVNode as Ce, toDisplayString as _, createBlock as ue, withModifiers as re, withCtx as te, useCssVars as Me, onBeforeMount as Te, Transition as De, Fragment as Ue, renderList as Oe, nextTick as G, reactive as Re, watch as ve } from "vue";
3
- import { isSupportedCountry as qe, getCountryCallingCode as Se, getExampleNumber as He, getCountries as je, parsePhoneNumberFromString as We, AsYouType as Ye } from "libphonenumber-js";
4
- function Qe(e) {
2
+ import { computed as c, defineComponent as xe, defineAsyncComponent as U, ref as m, getCurrentInstance as Ie, onMounted as Be, useSlots as Ee, openBlock as v, createElementBlock as C, normalizeClass as E, normalizeStyle as ee, createElementVNode as H, renderSlot as J, createVNode as L, unref as z, createCommentVNode as h, withDirectives as Ne, mergeProps as ke, toHandlers as Ke, vModelDynamic as Me, createTextVNode as Ce, toDisplayString as _, createBlock as ue, withModifiers as re, withCtx as te, useCssVars as Te, onBeforeMount as De, Transition as Ue, Fragment as Oe, renderList as Re, nextTick as G, reactive as qe, watch as ve } from "vue";
3
+ import { isSupportedCountry as He, getCountryCallingCode as Se, getExampleNumber as je, getCountries as We, parsePhoneNumberFromString as Ye, AsYouType as Qe } from "libphonenumber-js";
4
+ function Le(e) {
5
5
  return !!e;
6
6
  }
7
7
  const Pe = ({
8
8
  componentName: e,
9
9
  instance: u,
10
- providedId: n
11
- }) => c(() => n ?? `${e}-${u == null ? void 0 : u.uid}`), Ge = {
10
+ providedId: a
11
+ }) => c(() => a ?? `${e}-${u == null ? void 0 : u.uid}`), Ge = {
12
12
  countrySelector: {
13
13
  placeholder: "Country code",
14
14
  error: "Choose country",
@@ -20,11 +20,14 @@ const Pe = ({
20
20
  }
21
21
  };
22
22
  function Ae(e) {
23
- return [...e].map((n) => n.charCodeAt(0) % 32 + 127461).map((n) => String.fromCodePoint(n)).join("");
23
+ return [...e].map((u) => {
24
+ const a = u.codePointAt(0);
25
+ return a ? a % 32 + 127461 : void 0;
26
+ }).filter(Le).map((u) => String.fromCodePoint(u)).join("");
24
27
  }
25
28
  let ge;
26
- function Je(e, u, n) {
27
- return n != null && n[u] ? n[u] : (ge || (ge = new Intl.DisplayNames([e], { type: "region" })), ge.of(u));
29
+ function Je(e, u, a) {
30
+ return a != null && a[u] ? a[u] : (ge || (ge = new Intl.DisplayNames([e], { type: "region" })), ge.of(u));
28
31
  }
29
32
  const Xe = /^[\d ().-]+$/, Ze = /^[^a-z]+$/i;
30
33
  let Ve;
@@ -38,26 +41,26 @@ function et(e, u) {
38
41
  function tt(e) {
39
42
  var u;
40
43
  try {
41
- return e ? (u = He(e, Ve)) == null ? void 0 : u.formatNational() : void 0;
42
- } catch (n) {
43
- console.error(`[maz-ui](MazPhoneNumberInput) ${n}`);
44
+ return e ? (u = je(e, Ve)) == null ? void 0 : u.formatNational() : void 0;
45
+ } catch (a) {
46
+ console.error(`[maz-ui](MazPhoneNumberInput) ${a}`);
44
47
  }
45
48
  }
46
49
  function ot(e) {
47
50
  if (!e)
48
51
  return "";
49
- const u = Ze.test(e), n = Xe.test(e);
50
- return !u && !n ? e.replaceAll(/[^\d.]/g, "") : e;
52
+ const u = Ze.test(e), a = Xe.test(e);
53
+ return !u && !a ? e.replaceAll(/[^\d.]/g, "") : e;
51
54
  }
52
55
  function lt(e, u) {
53
- const n = [], P = je();
54
- e = e ?? Le().browserLocale ?? "en-US";
56
+ const a = [], P = We();
57
+ e = e ?? Fe().browserLocale ?? "en-US";
55
58
  for (const x of P) {
56
59
  const O = Je(e, x, u);
57
60
  if (O)
58
61
  try {
59
62
  const N = Se(x);
60
- n.push({
63
+ a.push({
61
64
  iso2: x,
62
65
  dialCode: N,
63
66
  name: O
@@ -66,9 +69,9 @@ function lt(e, u) {
66
69
  console.error(`[MazPhoneNumberInput](getCountryCallingCode) ${N}`);
67
70
  }
68
71
  }
69
- return n;
72
+ return a;
70
73
  }
71
- function Le() {
74
+ function Fe() {
72
75
  if (typeof window > "u")
73
76
  return {};
74
77
  const e = window.navigator.language;
@@ -79,13 +82,13 @@ function Le() {
79
82
  }
80
83
  function be(e) {
81
84
  try {
82
- const u = qe(e);
85
+ const u = He(e);
83
86
  return u || (console.error(`[maz-ui](MazPhoneNumberInput) The code country "${e}" is not available`), !1);
84
87
  } catch (u) {
85
88
  return console.error(`[maz-ui](MazPhoneNumberInput) ${u}`), !1;
86
89
  }
87
90
  }
88
- const at = ({
91
+ const nt = ({
89
92
  phoneNumber: e,
90
93
  countryCode: u
91
94
  }) => {
@@ -95,29 +98,29 @@ const at = ({
95
98
  isValid: !1,
96
99
  countryCode: u
97
100
  };
98
- const n = We(e, u);
101
+ const a = Ye(e, u);
99
102
  return {
100
- isValid: (n == null ? void 0 : n.isValid()) ?? !1,
101
- isPossible: n == null ? void 0 : n.isPossible(),
102
- countryCode: n == null ? void 0 : n.country,
103
- countryCallingCode: n == null ? void 0 : n.countryCallingCode,
104
- nationalNumber: n == null ? void 0 : n.nationalNumber,
105
- type: n == null ? void 0 : n.getType(),
106
- formatInternational: n == null ? void 0 : n.formatInternational(),
107
- formatNational: n == null ? void 0 : n.formatNational(),
108
- uri: n == null ? void 0 : n.getURI(),
109
- e164: n == null ? void 0 : n.format("E.164"),
110
- rfc3966: n == null ? void 0 : n.format("RFC3966")
103
+ isValid: (a == null ? void 0 : a.isValid()) ?? !1,
104
+ isPossible: a == null ? void 0 : a.isPossible(),
105
+ countryCode: a == null ? void 0 : a.country,
106
+ countryCallingCode: a == null ? void 0 : a.countryCallingCode,
107
+ nationalNumber: a == null ? void 0 : a.nationalNumber,
108
+ type: a == null ? void 0 : a.getType(),
109
+ formatInternational: a == null ? void 0 : a.formatInternational(),
110
+ formatNational: a == null ? void 0 : a.formatNational(),
111
+ uri: a == null ? void 0 : a.getURI(),
112
+ e164: a == null ? void 0 : a.format("E.164"),
113
+ rfc3966: a == null ? void 0 : a.format("RFC3966")
111
114
  };
112
- } catch (n) {
113
- throw new Error(`[MazPhoneNumberInput](getResultsFromPhoneNumber) ${n}`);
115
+ } catch (a) {
116
+ throw new Error(`[MazPhoneNumberInput](getResultsFromPhoneNumber) ${a}`);
114
117
  }
115
118
  };
116
- function nt(e, u) {
119
+ function at(e, u) {
117
120
  try {
118
- return u ? new Ye(e).input(u) : void 0;
119
- } catch (n) {
120
- throw new Error(`[MazPhoneNumberInput](getAsYouTypeFormat) ${n}`);
121
+ return u ? new Qe(e).input(u) : void 0;
122
+ } catch (a) {
123
+ throw new Error(`[MazPhoneNumberInput](getAsYouTypeFormat) ${a}`);
121
124
  }
122
125
  }
123
126
  async function rt() {
@@ -131,20 +134,20 @@ async function rt() {
131
134
  function ut() {
132
135
  return {
133
136
  fetchCountryCode: rt,
134
- getAsYouTypeFormat: nt,
135
- getResultsFromPhoneNumber: at,
137
+ getAsYouTypeFormat: at,
138
+ getResultsFromPhoneNumber: nt,
136
139
  loadPhoneNumberExamplesFile: _e,
137
140
  getPhoneNumberExample: tt,
138
141
  sanitizePhoneNumber: ot,
139
142
  getCountriesList: lt,
140
- browserLocale: Le,
143
+ browserLocale: Fe,
141
144
  isSameCountryCallingCode: et
142
145
  };
143
146
  }
144
147
  function it(e, u) {
145
- let n;
148
+ let a;
146
149
  return function(...P) {
147
- clearTimeout(n), n = setTimeout(() => {
150
+ clearTimeout(a), a = setTimeout(() => {
148
151
  e.apply(this, P);
149
152
  }, u);
150
153
  };
@@ -216,7 +219,7 @@ const st = {
216
219
  },
217
220
  emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
218
221
  setup(e, { emit: u }) {
219
- const n = U(() => import("./MazBtn-2d1d1ba5.mjs")), P = U(() => import("./MazIcon-52a76873.mjs")), x = U(() => import("./eye-slash-fa42a017.mjs")), O = U(() => import("./eye-dc12ce09.mjs")), N = U(() => import("./check-31d7ba2f.mjs")), o = e, S = u, I = m(!1), f = m(!1), s = m(), oe = Ie(), le = Pe({
222
+ const a = U(() => import("./MazBtn-1abd74e1.mjs")), P = U(() => import("./MazIcon-52a76873.mjs")), x = U(() => import("./eye-slash-fa42a017.mjs")), O = U(() => import("./eye-dc12ce09.mjs")), N = U(() => import("./check-31d7ba2f.mjs")), o = e, S = u, I = m(!1), f = m(!1), s = m(), oe = Ie(), le = Pe({
220
223
  componentName: "MazInput",
221
224
  instance: oe,
222
225
  providedId: o.id
@@ -253,14 +256,14 @@ const st = {
253
256
  }
254
257
  return "--default-border";
255
258
  }
256
- }), B = Fe(), Z = c(() => {
259
+ }), B = Ee(), Z = c(() => {
257
260
  const { required: i, placeholder: g } = o;
258
261
  if (g)
259
262
  return i ? `${g} *` : g;
260
263
  }), R = c(() => o.modelValue !== void 0 && o.modelValue !== ""), q = c({
261
264
  get: () => o.modelValue,
262
265
  set: (i) => A(i)
263
- }), K = c(() => (!!o.label || !!o.hint) && (f.value || !!R.value || !!o.placeholder || ["date", "month", "week"].includes(o.type))), j = c(() => !!o.label || !!o.hint), ae = () => !!B["right-icon"] || $.value || !!B["valid-button"] || o.validButton || !!o.rightIcon, M = () => !!B["left-icon"] || !!o.leftIcon, T = (i) => {
266
+ }), K = c(() => (!!o.label || !!o.hint) && (f.value || !!R.value || !!o.placeholder || ["date", "month", "week"].includes(o.type))), j = c(() => !!o.label || !!o.hint), ne = () => !!B["right-icon"] || $.value || !!B["valid-button"] || o.validButton || !!o.rightIcon, M = () => !!B["left-icon"] || !!o.leftIcon, T = (i) => {
264
267
  S("focus", i), f.value = !0;
265
268
  }, w = (i) => {
266
269
  S("blur", i), f.value = !1;
@@ -306,7 +309,7 @@ const st = {
306
309
  ], !0) : h("v-if", !0)
307
310
  ])) : h("v-if", !0),
308
311
  H("div", ct, [
309
- Ee(H("input", ke({
312
+ Ne(H("input", ke({
310
313
  id: z(le),
311
314
  ref_key: "input",
312
315
  ref: s,
@@ -320,14 +323,14 @@ const st = {
320
323
  readonly: e.readonly,
321
324
  required: e.required,
322
325
  class: "m-input-input"
323
- }, Ne({
326
+ }, Ke({
324
327
  blur: w,
325
328
  focus: T,
326
329
  change: W
327
330
  }, !0), {
328
331
  onClick: g[1] || (g[1] = (p) => i.$emit("click", p))
329
332
  }), null, 16, dt), [
330
- [Ke, q.value]
333
+ [Me, q.value]
331
334
  ]),
332
335
  e.label || e.hint ? (v(), C(
333
336
  "span",
@@ -354,14 +357,14 @@ const st = {
354
357
  /* CLASS */
355
358
  )) : h("v-if", !0)
356
359
  ]),
357
- ae() ? (v(), C("div", mt, [
360
+ ne() ? (v(), C("div", mt, [
358
361
  i.$slots["right-icon"] || e.rightIcon ? J(i.$slots, "right-icon", { key: 0 }, () => [
359
362
  L(z(P), {
360
363
  name: e.rightIcon,
361
364
  class: "maz-text-xl maz-text-muted"
362
365
  }, null, 8, ["name"])
363
366
  ], !0) : h("v-if", !0),
364
- $.value ? (v(), ue(z(n), {
367
+ $.value ? (v(), ue(z(a), {
365
368
  key: 1,
366
369
  color: "transparent",
367
370
  tabindex: "-1",
@@ -381,7 +384,7 @@ const st = {
381
384
  /* STABLE */
382
385
  })) : h("v-if", !0),
383
386
  i.$slots["valid-button"] || e.validButton ? J(i.$slots, "valid-button", { key: 2 }, () => [
384
- L(z(n), {
387
+ L(z(a), {
385
388
  color: "transparent",
386
389
  disabled: e.disabled,
387
390
  tabindex: "-1",
@@ -409,11 +412,11 @@ const st = {
409
412
  }
410
413
  });
411
414
  const $e = (e, u) => {
412
- const n = e.__vccOpts || e;
415
+ const a = e.__vccOpts || e;
413
416
  for (const [P, x] of u)
414
- n[P] = x;
415
- return n;
416
- }, we = /* @__PURE__ */ $e(yt, [["__scopeId", "data-v-32fa5093"]]);
417
+ a[P] = x;
418
+ return a;
419
+ }, we = /* @__PURE__ */ $e(yt, [["__scopeId", "data-v-4ef81f77"]]);
417
420
  m("system");
418
421
  m("system");
419
422
  m();
@@ -489,12 +492,12 @@ const pt = ["onClick"], ht = {
489
492
  "selected-option"
490
493
  ],
491
494
  setup(e, { emit: u }) {
492
- Me((a) => ({
495
+ Te((n) => ({
493
496
  "1e2ca234": X.value,
494
497
  a001241a: oe.value,
495
498
  "75c5211b": le.value
496
499
  }));
497
- const n = U(() => import("./MazCheckbox-040dc2c4.mjs")), P = U(() => import("./magnifying-glass-908981c0.mjs")), x = U(() => import("./chevron-down-2b60111a.mjs")), O = U(() => import("./no-symbol-87477ad0.mjs")), N = Ie(), o = e, S = u, I = m(!1), f = m(), s = c(
500
+ const a = U(() => import("./MazCheckbox-4ccd0b53.mjs")), P = U(() => import("./magnifying-glass-908981c0.mjs")), x = U(() => import("./chevron-down-2b60111a.mjs")), O = U(() => import("./no-symbol-87477ad0.mjs")), N = Ie(), o = e, S = u, I = m(!1), f = m(), s = c(
498
501
  () => ["black", "transparent", "white"].includes(o.color)
499
502
  ), oe = c(
500
503
  () => s.value ? "var(--maz-color-black)" : `var(--maz-color-${o.color}-800)`
@@ -508,126 +511,126 @@ const pt = ["onClick"], ht = {
508
511
  providedId: o.id
509
512
  }), F = c(
510
513
  () => {
511
- var a;
512
- return ((a = o.options) == null ? void 0 : a.filter((t) => o.multiple ? Array.isArray(o.modelValue) ? o.modelValue.includes(t[o.optionValueKey]) && !K(t[o.optionValueKey]) : !1 : o.modelValue === t[o.optionValueKey] && !K(t[o.optionValueKey]))) ?? [];
514
+ var n;
515
+ return ((n = o.options) == null ? void 0 : n.filter((t) => o.multiple ? Array.isArray(o.modelValue) ? o.modelValue.includes(t[o.optionValueKey]) && !K(t[o.optionValueKey]) : !1 : o.modelValue === t[o.optionValueKey] && !K(t[o.optionValueKey]))) ?? [];
513
516
  }
514
517
  );
515
- Te(() => {
516
- var a;
517
- (a = o.options) != null && a.length || console.warn("[maz-ui](MazSelect) you must provide options"), Q();
518
+ De(() => {
519
+ var n;
520
+ (n = o.options) != null && n.length || console.warn("[maz-ui](MazSelect) you must provide options"), Q();
518
521
  });
519
- const B = m(), Z = m(), R = m(), q = m(), K = (a) => a == null;
520
- function j(a) {
522
+ const B = m(), Z = m(), R = m(), q = m(), K = (n) => n == null;
523
+ function j(n) {
521
524
  var l;
522
525
  return (((l = F.value) == null ? void 0 : l.some(
523
- (r) => r[o.optionValueKey] === a[o.optionValueKey]
524
- )) ?? !1) && !K(a[o.optionValueKey]);
526
+ (r) => r[o.optionValueKey] === n[o.optionValueKey]
527
+ )) ?? !1) && !K(n[o.optionValueKey]);
525
528
  }
526
- const ae = c(() => {
527
- var a, t;
529
+ const ne = c(() => {
530
+ var n, t;
528
531
  return o.multiple && o.modelValue && Array.isArray(o.modelValue) ? o.modelValue.map(
529
532
  (l) => {
530
533
  var r, d;
531
534
  return (d = (r = o.options) == null ? void 0 : r.find((b) => b[o.optionValueKey] === l)) == null ? void 0 : d[o.optionInputValueKey];
532
535
  }
533
- ).join(", ") : (t = (a = o.options) == null ? void 0 : a.find((l) => l[o.optionValueKey] === o.modelValue)) == null ? void 0 : t[o.optionInputValueKey];
536
+ ).join(", ") : (t = (n = o.options) == null ? void 0 : n.find((l) => l[o.optionValueKey] === o.modelValue)) == null ? void 0 : t[o.optionInputValueKey];
534
537
  }), M = c(
535
538
  () => o.listPosition.includes("bottom") ? "maz-slide" : "maz-slideinvert"
536
539
  ), T = m(""), w = m("");
537
- function W(a) {
538
- return a.normalize("NFD").replaceAll(/[\u0300-\u036F]/g, "").replaceAll(/[^\dA-Za-z\u0400-\u04FF]/g, "");
540
+ function W(n) {
541
+ return n.normalize("NFD").replaceAll(/[\u0300-\u036F]/g, "").replaceAll(/[^\dA-Za-z\u0400-\u04FF]/g, "");
539
542
  }
540
- const y = (a, t) => t && a && W(a.toString().toLocaleLowerCase().trim()).includes(
543
+ const y = (n, t) => t && n && W(n.toString().toLocaleLowerCase().trim()).includes(
541
544
  W(t.toLocaleLowerCase().trim())
542
545
  );
543
- function A(a) {
546
+ function A(n) {
544
547
  var t;
545
- return a ? (t = o.options) == null ? void 0 : t.filter((l) => {
548
+ return n ? (t = o.options) == null ? void 0 : t.filter((l) => {
546
549
  const r = l[o.optionLabelKey], d = l[o.optionValueKey], b = l[o.optionInputValueKey];
547
- return y(r, a) || y(d, a) || y(b, a);
550
+ return y(r, n) || y(d, n) || y(b, n);
548
551
  }) : o.options;
549
552
  }
550
- const i = c(() => A(T.value)), g = async (a) => {
553
+ const i = c(() => A(T.value)), g = async (n) => {
551
554
  var t;
552
- if (a && ("relatedTarget" in a && ((t = B.value) != null && t.contains(a.relatedTarget)) || a.type === "keydown"))
553
- return a.preventDefault();
554
- await G(), I.value = !1, f.value = 0, S("close", a);
555
- }, p = async (a) => {
556
- o.disabled || $.value || (a == null || a.preventDefault(), I.value = !0, await ne(), S("focus", a), S("open", I.value));
555
+ if (n && ("relatedTarget" in n && ((t = B.value) != null && t.contains(n.relatedTarget)) || n.type === "keydown"))
556
+ return n.preventDefault();
557
+ await G(), I.value = !1, f.value = 0, S("close", n);
558
+ }, p = async (n) => {
559
+ o.disabled || $.value || (n == null || n.preventDefault(), I.value = !0, await ae(), S("focus", n), S("open", I.value));
557
560
  };
558
561
  function ie() {
559
- var a, t;
560
- (t = ((a = Z.value) == null ? void 0 : a.$el).querySelector("input")) == null || t.focus();
562
+ var n, t;
563
+ (t = ((n = Z.value) == null ? void 0 : n.$el).querySelector("input")) == null || t.focus();
561
564
  }
562
- function pe(a) {
563
- I.value ? g(a) : ie();
565
+ function pe(n) {
566
+ I.value ? g(n) : ie();
564
567
  }
565
- function he(a) {
568
+ function he(n) {
566
569
  var t, l;
567
- T.value = a, (l = ((t = R.value) == null ? void 0 : t.$el).querySelector("input")) == null || l.focus();
570
+ T.value = n, (l = ((t = R.value) == null ? void 0 : t.$el).querySelector("input")) == null || l.focus();
568
571
  }
569
- function se(a) {
572
+ function se(n) {
570
573
  var l;
571
- a === "Backspace" && w.value.length > 0 ? w.value = w.value.slice(0, -1) : w.value += a;
574
+ n === "Backspace" && w.value.length > 0 ? w.value = w.value.slice(0, -1) : w.value += n;
572
575
  const t = A(w.value);
573
576
  t != null && t.length && (f.value = (l = i.value) == null ? void 0 : l.findIndex(
574
577
  (r) => r[o.optionValueKey] === t[0][o.optionValueKey]
575
- ), typeof f.value == "number" && f.value >= 0 && ne(f.value)), vt(() => {
578
+ ), typeof f.value == "number" && f.value >= 0 && ae(f.value)), vt(() => {
576
579
  w.value = "";
577
580
  }, 1e3);
578
581
  }
579
- const ce = (a) => {
580
- const t = a.key;
581
- /^[\dA-Za-z\u0400-\u04FF]$/.test(t) ? (a.preventDefault(), p(a), o.search ? he(t) : se(t)) : de(a);
582
- }, de = (a) => {
583
- const t = a.code, l = ["ArrowUp", "ArrowDown"].includes(t), r = ["Enter", "Space"].includes(t), d = t === "Escape" && $.value;
584
- l ? Y(a, f.value) : r ? fe(a, f.value) : d && g();
585
- }, Y = (a, t) => {
582
+ const ce = (n) => {
583
+ const t = n.key;
584
+ /^[\dA-Za-z\u0400-\u04FF]$/.test(t) ? (n.preventDefault(), p(n), o.search ? he(t) : se(t)) : de(n);
585
+ }, de = (n) => {
586
+ const t = n.code, l = ["ArrowUp", "ArrowDown"].includes(t), r = ["Enter", "Space"].includes(t), d = t === "Escape" && $.value;
587
+ l ? Y(n, f.value) : r ? fe(n, f.value) : d && g();
588
+ }, Y = (n, t) => {
586
589
  var d;
587
- a.preventDefault();
588
- const l = a.code;
589
- $.value || p(a);
590
+ n.preventDefault();
591
+ const l = n.code;
592
+ $.value || p(n);
590
593
  const r = (d = i.value) == null ? void 0 : d.length;
591
- r && (typeof t == "number" ? t === r - 1 && l === "ArrowDown" ? f.value = 0 : t === 0 && l === "ArrowUp" ? f.value = r - 1 : f.value = l === "ArrowDown" ? t + 1 : t - 1 : f.value = l === "ArrowDown" ? 0 : r - 1, ne(f.value));
592
- }, fe = (a, t) => {
594
+ r && (typeof t == "number" ? t === r - 1 && l === "ArrowDown" ? f.value = 0 : t === 0 && l === "ArrowUp" ? f.value = r - 1 : f.value = l === "ArrowDown" ? t + 1 : t - 1 : f.value = l === "ArrowDown" ? 0 : r - 1, ae(f.value));
595
+ }, fe = (n, t) => {
593
596
  var r, d, b;
594
- if (a.preventDefault(), !$.value)
595
- return p(a);
597
+ if (n.preventDefault(), !$.value)
598
+ return p(n);
596
599
  const l = t ? ((r = i.value) == null ? void 0 : r[t]) ?? ((d = i.value) == null ? void 0 : d[0]) : (b = i.value) == null ? void 0 : b[0];
597
600
  K(l) || me(l);
598
601
  };
599
- async function ne(a) {
602
+ async function ae(n) {
600
603
  var l, r;
601
- await G(), typeof a != "number" && Q();
602
- const t = a ?? f.value;
604
+ await G(), typeof n != "number" && Q();
605
+ const t = n ?? f.value;
603
606
  typeof t == "number" && t >= 0 && ((r = (l = q.value) == null ? void 0 : l.querySelectorAll(".m-select-list-item")[t]) == null || r.scrollIntoView({
604
607
  behavior: "auto",
605
608
  block: "nearest",
606
609
  inline: "start"
607
610
  }));
608
611
  }
609
- function Q(a) {
612
+ function Q(n) {
610
613
  var l;
611
614
  const t = (l = i.value) == null ? void 0 : l.findIndex((r) => {
612
615
  var d, b;
613
- return o.multiple && Array.isArray(o.modelValue) ? a ? a[o.optionValueKey] === r[o.optionValueKey] : [...o.modelValue].reverse()[0] === r[o.optionValueKey] : ((b = (d = F.value) == null ? void 0 : d[0]) == null ? void 0 : b[o.optionValueKey]) === r[o.optionValueKey];
616
+ return o.multiple && Array.isArray(o.modelValue) ? n ? n[o.optionValueKey] === r[o.optionValueKey] : [...o.modelValue].reverse()[0] === r[o.optionValueKey] : ((b = (d = F.value) == null ? void 0 : d[0]) == null ? void 0 : b[o.optionValueKey]) === r[o.optionValueKey];
614
617
  });
615
618
  f.value = t && t >= 0 ? t : 0;
616
619
  }
617
- const me = (a, t = !0) => {
620
+ const me = (n, t = !0) => {
618
621
  var b;
619
622
  t && !o.multiple && G(() => g()), T.value = "";
620
623
  const l = (b = F.value) == null ? void 0 : b.some(
621
- (D) => D[o.optionValueKey] === a[o.optionValueKey]
624
+ (D) => D[o.optionValueKey] === n[o.optionValueKey]
622
625
  );
623
626
  let r = F.value;
624
627
  l && o.multiple ? r = r == null ? void 0 : r.filter(
625
- (D) => D[o.optionValueKey] !== a[o.optionValueKey]
626
- ) : o.multiple ? r.push(a) : r = [a];
628
+ (D) => D[o.optionValueKey] !== n[o.optionValueKey]
629
+ ) : o.multiple ? r.push(n) : r = [n];
627
630
  const d = r.map((D) => D[o.optionValueKey]);
628
- S("update:model-value", o.multiple ? d : d[0]), S("selected-option", a), Q(a), ie();
631
+ S("update:model-value", o.multiple ? d : d[0]), S("selected-option", n), Q(n), ie();
629
632
  };
630
- return (a, t) => (v(), C(
633
+ return (n, t) => (v(), C(
631
634
  "div",
632
635
  {
633
636
  ref_key: "mazSelectElement",
@@ -642,11 +645,11 @@ const pt = ["onClick"], ht = {
642
645
  ref_key: "mazInputComponent",
643
646
  ref: Z,
644
647
  class: "m-select-input"
645
- }, a.$attrs, {
648
+ }, n.$attrs, {
646
649
  required: e.required,
647
650
  "border-active": I.value,
648
651
  color: e.color,
649
- "model-value": ae.value,
652
+ "model-value": ne.value,
650
653
  autocomplete: "off",
651
654
  size: e.size,
652
655
  disabled: e.disabled,
@@ -668,7 +671,7 @@ const pt = ["onClick"], ht = {
668
671
  _: 1
669
672
  /* STABLE */
670
673
  }, 16, ["id", "required", "border-active", "color", "model-value", "size", "disabled", "onFocus", "onClick"]),
671
- L(De, { name: M.value }, {
674
+ L(Ue, { name: M.value }, {
672
675
  default: te(() => [
673
676
  $.value ? (v(), C(
674
677
  "div",
@@ -716,15 +719,15 @@ const pt = ["onClick"], ht = {
716
719
  h(`
717
720
  @slot No results slot - Displayed when no results corresponding with seeach query
718
721
  `),
719
- !i.value || i.value.length <= 0 ? J(a.$slots, "no-results", { key: 1 }, () => [
722
+ !i.value || i.value.length <= 0 ? J(n.$slots, "no-results", { key: 1 }, () => [
720
723
  H("span", gt, [
721
724
  L(z(O), { class: "maz-h-6 maz-w-6 maz-text-normal" })
722
725
  ])
723
726
  ], !0) : (v(), C("div", bt, [
724
727
  (v(!0), C(
725
- Ue,
728
+ Oe,
726
729
  null,
727
- Oe(i.value, (l, r) => (v(), C("button", {
730
+ Re(i.value, (l, r) => (v(), C("button", {
728
731
  key: r,
729
732
  tabindex: "-1",
730
733
  type: "button",
@@ -738,7 +741,7 @@ const pt = ["onClick"], ht = {
738
741
  style: ee({ minHeight: `${e.itemHeight}px` }),
739
742
  onClick: re((d) => me(l), ["prevent", "stop"])
740
743
  }, [
741
- e.multiple ? (v(), ue(z(n), {
744
+ e.multiple ? (v(), ue(z(a), {
742
745
  key: 0,
743
746
  tabindex: "-1",
744
747
  "model-value": j(l),
@@ -750,7 +753,7 @@ const pt = ["onClick"], ht = {
750
753
  @binding {Object} option
751
754
  @binding {Boolean} is-selected
752
755
  `),
753
- J(a.$slots, "default", {
756
+ J(n.$slots, "default", {
754
757
  option: l,
755
758
  isSelected: j(l)
756
759
  }, () => [
@@ -901,7 +904,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
901
904
  ],
902
905
  setup(e, { emit: u }) {
903
906
  const {
904
- fetchCountryCode: n,
907
+ fetchCountryCode: a,
905
908
  browserLocale: P,
906
909
  getResultsFromPhoneNumber: x,
907
910
  getAsYouTypeFormat: O,
@@ -913,7 +916,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
913
916
  componentName: "MazPhoneNumberInput",
914
917
  instance: oe,
915
918
  providedId: s.id
916
- }), X = m(), $ = m(), V = Re({
919
+ }), X = m(), $ = m(), V = qe({
917
920
  start: 0,
918
921
  end: 0,
919
922
  cursorAtEnd: !0
@@ -937,12 +940,12 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
937
940
  var r;
938
941
  return !((r = s.preferredCountries) != null && r.includes(l.iso2));
939
942
  });
940
- }), j = c(() => s.preferredCountries ? [...q.value ?? [], ...K.value ?? []] : s.onlyCountries ? q.value : R.value), ae = c(() => {
943
+ }), j = c(() => s.preferredCountries ? [...q.value ?? [], ...K.value ?? []] : s.onlyCountries ? q.value : R.value), ne = c(() => {
941
944
  var t;
942
945
  return (t = j.value) == null ? void 0 : t.map((l) => l ? {
943
946
  ...l,
944
947
  dialCode: `+${l.dialCode}`
945
- } : void 0).filter(Qe);
948
+ } : void 0).filter(Le);
946
949
  }), M = c(() => ({
947
950
  ...Ge,
948
951
  ...s.translations
@@ -973,7 +976,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
973
976
  })
974
977
  ), g = m(), p = c(() => s.noFormattingAsYouType ? A.value ?? "" : g.value ?? A.value ?? "");
975
978
  async function ie() {
976
- const t = await n();
979
+ const t = await a();
977
980
  t && Y(t);
978
981
  }
979
982
  async function pe() {
@@ -1041,7 +1044,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
1041
1044
  }
1042
1045
  function Y(t, l = !1) {
1043
1046
  try {
1044
- be(t) && (y.value = t, l && a());
1047
+ be(t) && (y.value = t, l && n());
1045
1048
  } catch (r) {
1046
1049
  console.error(`[maz-ui](MazPhoneNumberInput) ${r}`);
1047
1050
  }
@@ -1050,9 +1053,9 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
1050
1053
  se(t, y.value), await G(), s.noFormattingAsYouType ? A.value = p.value : g.value = V.cursorAtEnd || i.value.isValid ? A.value = O(
1051
1054
  i.value.countryCode ?? y.value,
1052
1055
  i.value.formatNational ?? A.value
1053
- ) : A.value, await G(), ne(i.value);
1056
+ ) : A.value, await G(), ae(i.value);
1054
1057
  }
1055
- function ne(t) {
1058
+ function ae(t) {
1056
1059
  t.countryCode && y.value !== t.countryCode && Y(t.countryCode);
1057
1060
  }
1058
1061
  function Q() {
@@ -1063,7 +1066,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
1063
1066
  var t, l;
1064
1067
  (l = (t = $.value) == null ? void 0 : t.$el.querySelector("input")) == null || l.focus();
1065
1068
  }
1066
- async function a() {
1069
+ async function n() {
1067
1070
  var t;
1068
1071
  await G(), (t = Q()) == null || t.focus();
1069
1072
  }
@@ -1114,7 +1117,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
1114
1117
  "list-position": e.listPosition,
1115
1118
  search: !e.noSearch,
1116
1119
  "search-placeholder": M.value.countrySelector.searchPlaceholder,
1117
- options: ae.value,
1120
+ options: ne.value,
1118
1121
  error: e.error || (e.noValidationError ? !1 : !!p.value && !y.value),
1119
1122
  hint: p.value && !y.value ? M.value.countrySelector.error : void 0,
1120
1123
  label: M.value.countrySelector.placeholder,
@@ -1208,7 +1211,7 @@ const St = /* @__PURE__ */ $e(Ct, [["__scopeId", "data-v-441d5cd5"]]), Vt = ["id
1208
1211
  };
1209
1212
  }
1210
1213
  });
1211
- const $t = /* @__PURE__ */ $e(xt, [["__scopeId", "data-v-13c350c6"]]);
1214
+ const $t = /* @__PURE__ */ $e(xt, [["__scopeId", "data-v-7937c31a"]]);
1212
1215
  export {
1213
1216
  $t as M,
1214
1217
  $e as _,