maz-ui 3.47.2-beta.6 → 3.47.2-beta.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.
Files changed (173) hide show
  1. package/components/MazAccordion.mjs +91 -98
  2. package/components/MazAnimatedCounter.mjs +26 -26
  3. package/components/MazBottomSheet.mjs +1 -1
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.mjs +18 -22
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazCheckbox.mjs +74 -70
  9. package/components/MazChecklist.mjs +1 -1
  10. package/components/MazCircularProgressBar.mjs +48 -48
  11. package/components/MazDialog.mjs +1 -1
  12. package/components/MazDialogPromise.mjs +1 -1
  13. package/components/MazDrawer.mjs +1 -1
  14. package/components/MazDropdown.mjs +1 -1
  15. package/components/MazExpandAnimation.mjs +22 -25
  16. package/components/MazGallery.mjs +1 -1
  17. package/components/MazIcon.mjs +1 -1
  18. package/components/MazInput.mjs +1 -1
  19. package/components/MazInputCode.mjs +36 -39
  20. package/components/MazInputNumber.mjs +1 -1
  21. package/components/MazInputPrice.mjs +1 -1
  22. package/components/MazInputTags.mjs +1 -1
  23. package/components/MazLink.mjs +1 -1
  24. package/components/MazLoadingBar.mjs +31 -27
  25. package/components/MazPagination.mjs +1 -1
  26. package/components/MazPhoneNumberInput.mjs +1 -1
  27. package/components/MazPicker.d.ts +2 -0
  28. package/components/MazPicker.mjs +1 -1
  29. package/components/MazRadio.mjs +31 -36
  30. package/components/MazSelect.mjs +1 -1
  31. package/components/MazStepper.mjs +1 -1
  32. package/components/MazSwitch.mjs +20 -23
  33. package/components/MazTable.d.ts +6 -0
  34. package/components/MazTable.mjs +3 -2
  35. package/components/MazTableCell.mjs +12 -12
  36. package/components/MazTableRow.mjs +16 -16
  37. package/components/MazTableTitle.mjs +18 -18
  38. package/components/MazTabsBar.mjs +1 -1
  39. package/components/MazTabsContent.mjs +4 -4
  40. package/components/MazTabsContentItem.mjs +7 -7
  41. package/components/assets/MazAccordion.css +1 -1
  42. package/components/assets/MazAnimatedCounter.css +1 -1
  43. package/components/assets/MazCardSpotlight.css +1 -1
  44. package/components/assets/MazCheckbox.css +1 -1
  45. package/components/assets/MazChecklist.css +1 -1
  46. package/components/assets/MazCircularProgressBar.css +1 -1
  47. package/components/assets/MazDropdown.css +1 -1
  48. package/components/assets/MazExpandAnimation.css +1 -1
  49. package/components/assets/MazGallery.css +1 -1
  50. package/components/assets/MazInputCode.css +1 -1
  51. package/components/assets/MazLoadingBar.css +1 -1
  52. package/components/assets/MazPhoneNumberInput.css +1 -1
  53. package/components/assets/MazPicker.css +1 -1
  54. package/components/assets/MazRadio.css +1 -1
  55. package/components/assets/MazSelect.css +1 -1
  56. package/components/assets/MazStepper.css +1 -1
  57. package/components/assets/MazSwitch.css +1 -1
  58. package/components/assets/MazTable.css +1 -1
  59. package/components/assets/MazTableCell.css +1 -1
  60. package/components/assets/MazTableRow.css +1 -1
  61. package/components/assets/MazTableTitle.css +1 -1
  62. package/components/assets/MazTabsBar.css +1 -1
  63. package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-qdgVtKdQ.mjs} +1 -1
  64. package/components/chunks/{MazBottomSheet-C9GWCGys.mjs → MazBottomSheet-DX3dl16f.mjs} +1 -1
  65. package/components/chunks/{MazBtn-CMyQNKuk.mjs → MazBtn-B1DhLzSq.mjs} +2 -2
  66. package/components/chunks/{MazBtn-DA2lg-5s.mjs → MazBtn-B6xyipje.mjs} +1 -1
  67. package/components/chunks/{MazBtn-D7tI764y.mjs → MazBtn-BE_bHLkT.mjs} +2 -2
  68. package/components/chunks/MazBtn-Blj3kViZ.mjs +105 -0
  69. package/components/chunks/{MazBtn-BBb9-9O6.mjs → MazBtn-BtmrmjP3.mjs} +2 -2
  70. package/components/chunks/{MazBtn-CfUZ9QSO.mjs → MazBtn-C0fZIwfM.mjs} +2 -2
  71. package/components/chunks/MazBtn-CFf5L0DS.mjs +105 -0
  72. package/components/chunks/MazBtn-CiiCndWt.mjs +105 -0
  73. package/components/chunks/{MazBtn-DHfi8M3z.mjs → MazBtn-DMcVZ1r9.mjs} +2 -2
  74. package/components/chunks/{MazBtn-DZb-6vcl.mjs → MazBtn-DWVb9GQ3.mjs} +1 -1
  75. package/components/chunks/{MazBtn-VU3XSEv8.mjs → MazBtn-DanmhP4R.mjs} +1 -1
  76. package/components/chunks/{MazBtn-DKyz5Hc0.mjs → MazBtn-DzheqNTG.mjs} +2 -2
  77. package/components/chunks/MazBtn-FtH-ADjY.mjs +105 -0
  78. package/components/chunks/{MazBtn-DER-sPjl.mjs → MazBtn-pNpaQRRG.mjs} +2 -2
  79. package/components/chunks/{MazCard-CAPZoSqv.mjs → MazCard-DMDzDjHR.mjs} +1 -1
  80. package/components/chunks/{MazCarousel-CSv4VpC9.mjs → MazCarousel-BjBQQBFN.mjs} +1 -1
  81. package/components/chunks/{MazCheckbox-DwAd7p8o.mjs → MazCheckbox-9R4fuM8t.mjs} +63 -58
  82. package/components/chunks/{MazCheckbox-IhiWZ8D0.mjs → MazCheckbox-DXcpsRU4.mjs} +63 -59
  83. package/components/chunks/{MazCheckbox-BI2um2gY.mjs → MazCheckbox-Dgn0lw5f.mjs} +63 -60
  84. package/components/chunks/{MazChecklist-Bqd7qTO1.mjs → MazChecklist-D_IebAis.mjs} +116 -116
  85. package/components/chunks/{MazDialog-xPCkmhrE.mjs → MazDialog-Cyo_BtT4.mjs} +1 -1
  86. package/components/chunks/{MazDialogPromise-dIHWE8dO.mjs → MazDialogPromise-CHyri_Q5.mjs} +2 -2
  87. package/components/chunks/{MazDropdown-7WqbXnPN.mjs → MazDropdown-urkh4dW3.mjs} +87 -103
  88. package/components/chunks/MazExpandAnimation-CWDhei53.mjs +54 -0
  89. package/components/chunks/{MazGallery-CRY5X5zS.mjs → MazGallery-DNN_xBeg.mjs} +39 -42
  90. package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-ndO4hRUh.mjs} +38 -41
  91. package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-B4CDdmqe.mjs} +1 -1
  92. package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-B7Mn8F75.mjs} +1 -1
  93. package/components/chunks/MazIcon-BK45d_-V.mjs +4 -0
  94. package/components/chunks/{MazIcon-D3TB52NM.mjs → MazIcon-BSgK89NE.mjs} +1 -1
  95. package/components/chunks/{MazInput-DG-grU7m.mjs → MazInput-CyWYuOsl.mjs} +1 -1
  96. package/components/chunks/{MazInput-ROgC-JLt.mjs → MazInput-DFDzf7C1.mjs} +2 -2
  97. package/components/chunks/{MazInput-rW-KBJGJ.mjs → MazInput-LS_VhQAg.mjs} +2 -2
  98. package/components/chunks/{MazInputNumber-DoeT5Lcu.mjs → MazInputNumber-qQ6MrK-y.mjs} +2 -2
  99. package/components/chunks/{MazInputPrice-CZiypHp3.mjs → MazInputPrice-C207E4RH.mjs} +1 -1
  100. package/components/chunks/{MazInputTags-DGAglIQb.mjs → MazInputTags-a57ZPojk.mjs} +2 -2
  101. package/components/chunks/{MazLink-yKgOtTlk.mjs → MazLink-Ch-w_Lf_.mjs} +1 -1
  102. package/components/chunks/MazLoadingBar-rusnhtnI.mjs +36 -0
  103. package/components/chunks/{MazPagination-eJFyS5Nn.mjs → MazPagination-CJEC7Y4E.mjs} +1 -1
  104. package/components/chunks/{MazPhoneNumberInput-Bbr0zHPZ.mjs → MazPhoneNumberInput-BUe2kgX6.mjs} +92 -97
  105. package/components/chunks/{MazPicker-EMOuyWJy.mjs → MazPicker-DteyWEwr.mjs} +279 -277
  106. package/components/chunks/{MazPickerMonthSwitcher-DJGgb6BT.mjs → MazPickerMonthSwitcher-D46P6nV5.mjs} +1 -1
  107. package/components/chunks/{MazPickerShortcuts-Cg1uqryw.mjs → MazPickerShortcuts-C50DAlfT.mjs} +1 -1
  108. package/components/chunks/{MazPickerYearSwitcher-BLUXEs0G.mjs → MazPickerYearSwitcher-5EW9ebYR.mjs} +1 -1
  109. package/components/chunks/{MazSelect-BUETsREx.mjs → MazSelect-C0rk6m_5.mjs} +85 -90
  110. package/components/chunks/{MazSelect-BDMOrVry.mjs → MazSelect-CJnsMuMG.mjs} +40 -45
  111. package/components/chunks/MazSpinner-B2mZYoLS.mjs +34 -0
  112. package/components/chunks/{MazSpinner-CQpzVTYF.mjs → MazSpinner-BxlN_quv.mjs} +1 -1
  113. package/components/chunks/{MazSpinner-CLlK6hHp.mjs → MazSpinner-CAR4Mm9l.mjs} +1 -1
  114. package/components/chunks/{MazSpinner-C0PBSYpC.mjs → MazSpinner-CQAyxmwJ.mjs} +1 -1
  115. package/components/chunks/{MazSpinner-BODHZQ9h.mjs → MazSpinner-CbuG6vB-.mjs} +1 -1
  116. package/components/chunks/MazSpinner-Cef473zM.mjs +34 -0
  117. package/components/chunks/{MazSpinner--fscjBdL.mjs → MazSpinner-CkOG2EM9.mjs} +1 -1
  118. package/components/chunks/MazSpinner-CksMqwXP.mjs +34 -0
  119. package/components/chunks/{MazSpinner-BdOKUqKA.mjs → MazSpinner-CqpyUTWh.mjs} +1 -1
  120. package/components/chunks/MazSpinner-CtZfuEKt.mjs +34 -0
  121. package/components/chunks/{MazSpinner-DJM02T-b.mjs → MazSpinner-CyvYTwaV.mjs} +1 -1
  122. package/components/chunks/{MazSpinner-CEgSruvD.mjs → MazSpinner-DCBUvJ_o.mjs} +1 -1
  123. package/components/chunks/MazSpinner-DPdh6vtw.mjs +34 -0
  124. package/components/chunks/MazSpinner-D_6j7BO6.mjs +34 -0
  125. package/components/chunks/{MazSpinner-B8vOa-3i.mjs → MazSpinner-DqZc3-_U.mjs} +1 -1
  126. package/components/chunks/MazSpinner-XikQHrkW.mjs +34 -0
  127. package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-a80KrraB.mjs} +1 -1
  128. package/components/chunks/MazSpinner-q-AqkAjI.mjs +34 -0
  129. package/components/chunks/MazStepper-BWyXIppj.mjs +218 -0
  130. package/components/chunks/{MazTable-CWsaB02U.mjs → MazTable-BpIXKltC.mjs} +85 -81
  131. package/components/chunks/MazTableCell-DQAaVtw4.mjs +23 -0
  132. package/components/chunks/MazTableRow-CN415w3y.mjs +30 -0
  133. package/components/chunks/{MazTableTitle-C8P3v8b6.mjs → MazTableTitle-DbCN1l2O.mjs} +4 -4
  134. package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar-jlclO5zk.mjs} +61 -77
  135. package/components/chunks/{MazTransitionExpand-BCgH8NZP.mjs → MazTransitionExpand-B2jKLvyg.mjs} +1 -1
  136. package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
  137. package/css/main.css +1 -1
  138. package/modules/chunks/{MazBtn-SZHtOzgz.cjs → MazBtn-BLjl_mR0.cjs} +1 -1
  139. package/modules/chunks/{MazBtn-y5LW9A2T.mjs → MazBtn-D6K3B6XM.mjs} +2 -2
  140. package/modules/chunks/{MazIcon-BpVDZGXl.cjs → MazIcon--UTNvIe4.cjs} +1 -1
  141. package/modules/chunks/{MazIcon-Dj66ziAh.mjs → MazIcon-BRGZkufX.mjs} +1 -1
  142. package/modules/chunks/{MazSpinner-uMrdk_99.mjs → MazSpinner-9EkSWhvP.mjs} +1 -1
  143. package/modules/chunks/{MazSpinner-CPT6UF2e.cjs → MazSpinner-B82Q3oFJ.cjs} +1 -1
  144. package/modules/chunks/{index-BG6gPie5.mjs → index-7UZ6u--K.mjs} +5 -5
  145. package/modules/chunks/index-fosopmwd.cjs +124 -0
  146. package/modules/index.cjs +1 -1
  147. package/modules/index.mjs +1 -1
  148. package/nuxt/index.json +1 -1
  149. package/package.json +1 -1
  150. package/tailwindcss/variables/colors.ts +2 -0
  151. package/types/components/MazPicker.vue.d.ts +2 -0
  152. package/types/components/MazTable.vue.d.ts +6 -0
  153. package/types/modules/helpers/inject-strict.d.ts +2 -1
  154. package/types/tailwindcss/variables/colors.d.ts +2 -0
  155. package/components/chunks/MazBtn-DhEO9uvT.mjs +0 -105
  156. package/components/chunks/MazBtn-DpFjxnMy.mjs +0 -105
  157. package/components/chunks/MazBtn-IPfW92RY.mjs +0 -105
  158. package/components/chunks/MazBtn-Lsac2Q0p.mjs +0 -105
  159. package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
  160. package/components/chunks/MazIcon-B3gy-jQ6.mjs +0 -4
  161. package/components/chunks/MazLoadingBar-D8a5KF29.mjs +0 -32
  162. package/components/chunks/MazSpinner-CMMBCwk2.mjs +0 -34
  163. package/components/chunks/MazSpinner-ChqoF_fX.mjs +0 -34
  164. package/components/chunks/MazSpinner-D5ciNjTR.mjs +0 -34
  165. package/components/chunks/MazSpinner-DebSlkVT.mjs +0 -34
  166. package/components/chunks/MazSpinner-RzOGVi6V.mjs +0 -34
  167. package/components/chunks/MazSpinner-VN2Vol2B.mjs +0 -34
  168. package/components/chunks/MazSpinner-dm4RUkiD.mjs +0 -34
  169. package/components/chunks/MazSpinner-oLVdOGaR.mjs +0 -34
  170. package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
  171. package/components/chunks/MazTableCell-CgiGF3bL.mjs +0 -23
  172. package/components/chunks/MazTableRow-6KrQQQbm.mjs +0 -30
  173. package/modules/chunks/index-BTegnVLg.cjs +0 -124
@@ -0,0 +1,36 @@
1
+ import { defineComponent as n, computed as t, openBlock as i, createElementBlock as c, normalizeStyle as m, createElementVNode as d } from "vue";
2
+ import { _ as p } from "./MazTable-BpIXKltC.mjs";
3
+ import '../assets/MazLoadingBar.css';const s = /* @__PURE__ */ n({
4
+ __name: "MazLoadingBar",
5
+ props: {
6
+ color: { default: "primary" },
7
+ height: { default: "0.125rem" }
8
+ },
9
+ setup(e) {
10
+ const a = e, o = t(() => ({
11
+ alpha: `var(--maz-color-${a.color}-alpha-20)`,
12
+ main: `var(--maz-color-${a.color})`
13
+ }));
14
+ return (l, r) => (i(), c(
15
+ "div",
16
+ {
17
+ class: "m-loading-bar",
18
+ style: m([{ "--loading-bar-height": l.height, "--loading-bar-color": o.value.alpha, "--loading-bar-main-color": o.value.main }])
19
+ },
20
+ r[0] || (r[0] = [
21
+ d(
22
+ "div",
23
+ null,
24
+ null,
25
+ -1
26
+ /* HOISTED */
27
+ )
28
+ ]),
29
+ 4
30
+ /* STYLE */
31
+ ));
32
+ }
33
+ }), f = /* @__PURE__ */ p(s, [["__scopeId", "data-v-ada02d7b"]]);
34
+ export {
35
+ f as default
36
+ };
@@ -27,7 +27,7 @@ import '../assets/MazPagination.css';const Q = {
27
27
  justify: { default: "center" }
28
28
  },
29
29
  setup(y) {
30
- const l = y, e = A(() => import("./MazSpinner-oLVdOGaR.mjs")), f = A(() => import("./MazIcon-BbvBov5G.mjs")), { href: P, to: N } = H(), C = o(() => P ? "a" : N ? "router-link" : "button"), O = o(
30
+ const l = y, e = A(() => import("./MazSpinner-CksMqwXP.mjs")), f = A(() => import("./MazIcon-B4CDdmqe.mjs")), { href: P, to: N } = H(), C = o(() => P ? "a" : N ? "router-link" : "button"), O = o(
31
31
  () => l.pastel ? `--${l.color}-pastel` : l.outline ? `--${l.color}-outline` : `--${l.color}`
32
32
  ), i = o(
33
33
  () => (l.loading || l.disabled) && C.value === "button"
@@ -1,8 +1,8 @@
1
1
  import '../assets/MazPhoneNumberInput.css';var Ge = Object.defineProperty;
2
2
  var Je = (a, o, e) => o in a ? Ge(a, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[o] = e;
3
3
  var _ = (a, o, e) => Je(a, typeof o != "symbol" ? o + "" : o, e);
4
- import { useId as Ze, computed as h, inject as Xe, defineComponent as se, defineAsyncComponent as q, withDirectives as ze, openBlock as b, createElementBlock as E, normalizeClass as F, normalizeStyle as ee, Fragment as be, renderList as Be, createElementVNode as j, mergeProps as oe, createVNode as H, unref as P, createCommentVNode as $, renderSlot as N, ref as k, onMounted as Ie, useSlots as xe, createBlock as U, resolveDynamicComponent as Pe, toHandlers as _e, vModelDynamic as eo, createTextVNode as oo, toDisplayString as ue, withModifiers as ae, withCtx as G, useCssVars as to, onBeforeMount as lo, nextTick as ie, Transition as ao, mergeModels as ke, useModel as so, provide as no, watch as he } from "vue";
5
- import { getCountries as Oe, getCountryCallingCode as ce, isSupportedCountry as ro, parsePhoneNumberFromString as io, AsYouType as uo, getExampleNumber as co } from "libphonenumber-js";
4
+ import { useId as Ze, computed as h, inject as Xe, defineComponent as se, defineAsyncComponent as q, withDirectives as ze, openBlock as b, createElementBlock as E, normalizeClass as F, normalizeStyle as ee, Fragment as be, renderList as Be, createElementVNode as j, mergeProps as oe, createVNode as H, unref as P, createCommentVNode as $, renderSlot as N, ref as k, onMounted as Ie, useSlots as xe, createBlock as U, resolveDynamicComponent as Pe, toHandlers as _e, vModelDynamic as eo, createTextVNode as oo, toDisplayString as ue, withModifiers as ae, withCtx as G, onBeforeMount as to, nextTick as ie, Transition as lo, mergeModels as ke, useModel as ao, provide as so, watch as he } from "vue";
5
+ import { getCountries as Oe, getCountryCallingCode as ce, isSupportedCountry as no, parsePhoneNumberFromString as ro, AsYouType as io, getExampleNumber as uo } from "libphonenumber-js";
6
6
  function Ae({
7
7
  componentName: a,
8
8
  providedId: o
@@ -16,13 +16,13 @@ function Ee(a, o = "20x15") {
16
16
  function Me(a, o) {
17
17
  const e = Xe(a, o);
18
18
  if (!e)
19
- throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${a}`);
19
+ throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${a.toString()}`);
20
20
  return e;
21
21
  }
22
- function mo(a) {
22
+ function co(a) {
23
23
  return !!a;
24
24
  }
25
- const fo = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", po = {
25
+ const mo = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", fo = {
26
26
  baseClass: "m-lazy-img",
27
27
  loadedClass: "m-lazy-loaded",
28
28
  loadingClass: "m-lazy-loading",
@@ -36,10 +36,10 @@ const fo = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAA
36
36
  threshold: 0.1
37
37
  }
38
38
  };
39
- class ho {
39
+ class po {
40
40
  constructor(o = {}) {
41
41
  _(this, "observers", []);
42
- _(this, "defaultOptions", po);
42
+ _(this, "defaultOptions", fo);
43
43
  _(this, "options");
44
44
  _(this, "onImgLoadedCallback");
45
45
  _(this, "onImgErrorCallback");
@@ -177,7 +177,7 @@ class ho {
177
177
  async add(o, e) {
178
178
  if (this.hasBgImgMode(e) && this.isPictureElement(o))
179
179
  throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);
180
- setTimeout(() => this.setBaseClass(o), 0), o.getAttribute("src") || this.setImgSrc(o, fo), await this.bindUpdateHandler(o, e, "bind");
180
+ setTimeout(() => this.setBaseClass(o), 0), o.getAttribute("src") || this.setImgSrc(o, mo), await this.bindUpdateHandler(o, e, "bind");
181
181
  }
182
182
  async update(o, e) {
183
183
  e.value !== e.oldValue && (this.hasImgLoaded = !1, this.removeAllStateClasses(o), await this.bindUpdateHandler(o, e, "update"));
@@ -190,10 +190,10 @@ class ho {
190
190
  }
191
191
  }
192
192
  let de;
193
- const vo = {
193
+ const ho = {
194
194
  created(a, o) {
195
195
  const e = typeof o.value == "object" ? o.value : {};
196
- de = new ho(e), de.add(a, o);
196
+ de = new po(e), de.add(a, o);
197
197
  },
198
198
  updated(a, o) {
199
199
  de.update(a, o);
@@ -201,10 +201,10 @@ const vo = {
201
201
  unmounted(a, o) {
202
202
  de.remove(a, o);
203
203
  }
204
- }, yo = ["data-lazy-srcset", "media"], go = ["alt"], bo = {
204
+ }, vo = ["data-lazy-srcset", "media"], yo = ["alt"], go = {
205
205
  key: 0,
206
206
  class: "m-lazy-img-component-loader"
207
- }, Co = /* @__PURE__ */ se({
207
+ }, bo = /* @__PURE__ */ se({
208
208
  inheritAttrs: !1,
209
209
  __name: "MazLazyImg",
210
210
  props: {
@@ -225,7 +225,7 @@ const vo = {
225
225
  },
226
226
  emits: ["intersecting", "loading", "loaded", "error"],
227
227
  setup(a) {
228
- const o = a, e = q(() => import("./MazSpinner-DebSlkVT.mjs")), t = h(() => o.image || o.src), r = h(() => {
228
+ const o = a, e = q(() => import("./MazSpinner-B2mZYoLS.mjs")), t = h(() => o.image || o.src), r = h(() => {
229
229
  var u;
230
230
  return typeof t.value == "string" ? [{ srcset: t.value }] : (u = t.value) == null ? void 0 : u.sources;
231
231
  });
@@ -243,7 +243,7 @@ const vo = {
243
243
  key: L,
244
244
  "data-lazy-srcset": f,
245
245
  media: O
246
- }, null, 8, yo))),
246
+ }, null, 8, vo))),
247
247
  128
248
248
  /* KEYED_FRAGMENT */
249
249
  )),
@@ -252,8 +252,8 @@ const vo = {
252
252
  loading: "lazy",
253
253
  alt: u.alt,
254
254
  class: u.imgClass
255
- }), null, 16, go),
256
- u.noLoader ? $("v-if", !0) : (b(), E("div", bo, [
255
+ }), null, 16, yo),
256
+ u.noLoader ? $("v-if", !0) : (b(), E("div", go, [
257
257
  H(P(e), { size: "2em" })
258
258
  ])),
259
259
  N(u.$slots, "default", {}, void 0, !0)
@@ -261,7 +261,7 @@ const vo = {
261
261
  6
262
262
  /* CLASS, STYLE */
263
263
  )), [
264
- [P(vo), {
264
+ [P(ho), {
265
265
  noPhoto: u.noPhoto,
266
266
  loadOnce: u.loadOnce,
267
267
  observerOptions: u.observerOptions,
@@ -279,7 +279,7 @@ const vo = {
279
279
  for (const [t, r] of o)
280
280
  e[t] = r;
281
281
  return e;
282
- }, Le = /* @__PURE__ */ ne(Co, [["__scopeId", "data-v-83e40430"]]), zo = {
282
+ }, Le = /* @__PURE__ */ ne(bo, [["__scopeId", "data-v-83e40430"]]), Co = {
283
283
  removeAccents: !0,
284
284
  caseSensitive: !1,
285
285
  replaceSpaces: !0,
@@ -290,7 +290,7 @@ const vo = {
290
290
  customNormalizationForms: ["NFC", "NFKD"]
291
291
  };
292
292
  function me(a, o) {
293
- const e = { ...zo, ...o }, t = {
293
+ const e = { ...Co, ...o }, t = {
294
294
  À: "A",
295
295
  Á: "A",
296
296
  Â: "A",
@@ -345,7 +345,7 @@ function me(a, o) {
345
345
  r = r.normalize(u);
346
346
  return r;
347
347
  }
348
- function Io(a, o) {
348
+ function zo(a, o) {
349
349
  const e = a.length, t = o.length, r = [];
350
350
  for (let u = 0; u <= e; u++)
351
351
  r[u] = [u];
@@ -363,10 +363,10 @@ function Io(a, o) {
363
363
  return r[e][t];
364
364
  }
365
365
  function Te(a, o) {
366
- const e = Io(a, o), t = Math.max(a.length, o.length);
366
+ const e = zo(a, o), t = Math.max(a.length, o.length);
367
367
  return 1 - e / t;
368
368
  }
369
- function Ao(a, o, e = 0.75) {
369
+ function Io(a, o, e = 0.75) {
370
370
  return Te(a, o) >= e;
371
371
  }
372
372
  function ve(a, o, e = 0.75) {
@@ -377,7 +377,7 @@ function ve(a, o, e = 0.75) {
377
377
  ), u = h(() => typeof e == "number" ? e : e.value), v = h(() => Te(t.value, r.value));
378
378
  return {
379
379
  isMatching: h(
380
- () => Ao(t.value, r.value, u.value)
380
+ () => Io(t.value, r.value, u.value)
381
381
  ),
382
382
  score: v
383
383
  };
@@ -399,11 +399,11 @@ function Fe(a, o, e) {
399
399
  function Ne() {
400
400
  return document.ontouchstart === null ? "touchstart" : "click";
401
401
  }
402
- function wo(a, o) {
402
+ function Ao(a, o) {
403
403
  const e = Ne();
404
404
  document.removeEventListener(e, (t) => Fe(t, a, o));
405
405
  }
406
- function So(a, o) {
406
+ function wo(a, o) {
407
407
  if (typeof o.value != "function" && typeof o.value == "object" && typeof o.value.handler != "function") {
408
408
  console.error("[maz-ui](vClosable) v-closable directive requires a handler function");
409
409
  return;
@@ -411,11 +411,11 @@ function So(a, o) {
411
411
  const e = Ne();
412
412
  document.addEventListener(e, (t) => Fe(t, a, o));
413
413
  }
414
- const Vo = {
415
- mounted: So,
416
- unmounted: wo
414
+ const So = {
415
+ mounted: wo,
416
+ unmounted: Ao
417
417
  };
418
- function Po(a, o) {
418
+ function Vo(a, o) {
419
419
  let e;
420
420
  return function(...t) {
421
421
  clearTimeout(e), e = setTimeout(() => {
@@ -424,16 +424,16 @@ function Po(a, o) {
424
424
  };
425
425
  }
426
426
  let ye = null;
427
- function ko(a, o) {
427
+ function Po(a, o) {
428
428
  ye && clearTimeout(ye), ye = setTimeout(a, o);
429
429
  }
430
- const Eo = {
430
+ const ko = {
431
431
  key: 0,
432
432
  class: "m-input-wrapper-left"
433
- }, Lo = { class: "m-input-wrapper-input" }, $o = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], Bo = { key: 0 }, Oo = {
433
+ }, Eo = { class: "m-input-wrapper-input" }, Lo = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], $o = { key: 0 }, Bo = {
434
434
  key: 1,
435
435
  class: "m-input-wrapper-right"
436
- }, Mo = /* @__PURE__ */ se({
436
+ }, Oo = /* @__PURE__ */ se({
437
437
  inheritAttrs: !1,
438
438
  __name: "MazInput",
439
439
  props: {
@@ -471,7 +471,7 @@ const Eo = {
471
471
  },
472
472
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
473
473
  setup(a, { emit: o }) {
474
- const e = a, t = o, r = q(() => import("./MazBtn-D7tI764y.mjs")), u = q(() => import("./MazIcon-D3TB52NM.mjs")), v = q(() => import("./eye-slash-BoO00xzs.mjs")), f = q(() => import("./eye-f8zAUc30.mjs")), O = q(() => import("./check-C9Q_W85g.mjs")), L = k(!1), y = k(!1), V = k(), i = Ae({
474
+ const e = a, t = o, r = q(() => import("./MazBtn-BE_bHLkT.mjs")), u = q(() => import("./MazIcon-BSgK89NE.mjs")), v = q(() => import("./eye-slash-BoO00xzs.mjs")), f = q(() => import("./eye-f8zAUc30.mjs")), O = q(() => import("./check-C9Q_W85g.mjs")), L = k(!1), y = k(!1), V = k(), i = Ae({
475
475
  componentName: "MazInput",
476
476
  providedId: e.id
477
477
  });
@@ -511,7 +511,7 @@ const Eo = {
511
511
  const { required: n, placeholder: M } = e;
512
512
  if (M)
513
513
  return n ? `${M} *` : M;
514
- }), J = h(() => C.value !== void 0 && C.value !== ""), g = Po(
514
+ }), J = h(() => C.value !== void 0 && C.value !== ""), g = Vo(
515
515
  (n) => {
516
516
  t("update:model-value", n);
517
517
  },
@@ -575,7 +575,7 @@ const Eo = {
575
575
  ]])
576
576
  },
577
577
  [
578
- A() ? (b(), E("div", Eo, [
578
+ A() ? (b(), E("div", ko, [
579
579
  n.$slots["left-icon"] || n.leftIcon ? N(n.$slots, "left-icon", { key: 0 }, () => [
580
580
  typeof n.leftIcon == "string" ? (b(), U(P(u), {
581
581
  key: 0,
@@ -587,7 +587,7 @@ const Eo = {
587
587
  })) : $("v-if", !0)
588
588
  ], !0) : $("v-if", !0)
589
589
  ])) : $("v-if", !0),
590
- j("div", Lo, [
590
+ j("div", Eo, [
591
591
  ze(j("input", oe({
592
592
  id: P(i),
593
593
  ref_key: "input",
@@ -610,7 +610,7 @@ const Eo = {
610
610
  input: X
611
611
  }, !0), {
612
612
  onClick: M[1] || (M[1] = (x) => n.$emit("click", x))
613
- }), null, 16, $o), [
613
+ }), null, 16, Lo), [
614
614
  [eo, C.value]
615
615
  ]),
616
616
  n.label || n.hint ? (b(), E(
@@ -631,13 +631,13 @@ const Eo = {
631
631
  1
632
632
  /* TEXT */
633
633
  ),
634
- n.required ? (b(), E("sup", Bo, "*")) : $("v-if", !0)
634
+ n.required ? (b(), E("sup", $o, "*")) : $("v-if", !0)
635
635
  ],
636
636
  2
637
637
  /* CLASS */
638
638
  )) : $("v-if", !0)
639
639
  ]),
640
- s() ? (b(), E("div", Oo, [
640
+ s() ? (b(), E("div", Bo, [
641
641
  n.$slots["right-icon"] || n.rightIcon ? N(n.$slots, "right-icon", { key: 0 }, () => [
642
642
  typeof n.rightIcon == "string" ? (b(), U(P(u), {
643
643
  key: 0,
@@ -694,11 +694,11 @@ const Eo = {
694
694
  /* CLASS, STYLE */
695
695
  ));
696
696
  }
697
- }), Ce = /* @__PURE__ */ ne(Mo, [["__scopeId", "data-v-c42aaa7f"]]), To = ["aria-label"], Fo = { class: "m-select-list__no-results" }, No = {
697
+ }), Ce = /* @__PURE__ */ ne(Oo, [["__scopeId", "data-v-c42aaa7f"]]), Mo = ["aria-label"], To = { class: "m-select-list__no-results" }, Fo = {
698
698
  key: 2,
699
699
  class: "m-select-list__scroll-wrapper",
700
700
  tabindex: "-1"
701
- }, Ko = { class: "m-select-list-optgroup" }, Uo = ["onClick"], Ho = /* @__PURE__ */ se({
701
+ }, No = { class: "m-select-list-optgroup" }, Ko = ["onClick"], Uo = /* @__PURE__ */ se({
702
702
  inheritAttrs: !1,
703
703
  __name: "MazSelect",
704
704
  props: {
@@ -731,12 +731,7 @@ const Eo = {
731
731
  },
732
732
  emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
733
733
  setup(a, { expose: o, emit: e }) {
734
- to((l) => ({
735
- fba4bd7a: z.value,
736
- "2796b77c": i.value,
737
- d1bcc1ac: p.value
738
- }));
739
- const t = a, r = e, u = q(() => import("./MazCheckbox-IhiWZ8D0.mjs")), v = q(() => import("./magnifying-glass--nBiyXot.mjs")), f = q(() => import("./chevron-down-BkvtON3b.mjs")), O = q(() => import("./no-symbol-CIgKzsrB.mjs"));
734
+ const t = a, r = e, u = q(() => import("./MazCheckbox-DXcpsRU4.mjs")), v = q(() => import("./magnifying-glass--nBiyXot.mjs")), f = q(() => import("./chevron-down-BkvtON3b.mjs")), O = q(() => import("./no-symbol-CIgKzsrB.mjs"));
740
735
  o({
741
736
  /** Method to open the option list */
742
737
  openList: re,
@@ -789,7 +784,7 @@ const Eo = {
789
784
  return ((l = g.value) == null ? void 0 : l.filter((d) => t.multiple ? Array.isArray(t.modelValue) ? t.modelValue.includes(d[t.optionValueKey]) && !A(d[t.optionValueKey]) : !1 : t.modelValue === d[t.optionValueKey] && !A(d[t.optionValueKey]))) ?? [];
790
785
  }
791
786
  );
792
- lo(() => {
787
+ to(() => {
793
788
  var l;
794
789
  (l = t.options) != null && l.length || console.warn("[maz-ui](MazSelect) you must provide options"), pe();
795
790
  });
@@ -865,7 +860,7 @@ const Eo = {
865
860
  const d = x(n.value);
866
861
  d != null && d.length && (y.value = (m = Q.value) == null ? void 0 : m.findIndex(
867
862
  (c) => c[t.optionValueKey] === d[0][t.optionValueKey]
868
- ), typeof y.value == "number" && y.value >= 0 && fe(y.value)), ko(() => {
863
+ ), typeof y.value == "number" && y.value >= 0 && fe(y.value)), Po(() => {
869
864
  n.value = "";
870
865
  }, 1e3);
871
866
  }
@@ -939,7 +934,7 @@ const Eo = {
939
934
  t.class,
940
935
  `--${l.size}`
941
936
  ]]),
942
- style: ee(l.style)
937
+ style: ee([l.style, { "--keyboard-selected-bg-color": z.value, "--selected-bg-color": p.value, "--selected-text-color": i.value }])
943
938
  },
944
939
  [
945
940
  H(Ce, oe({
@@ -972,12 +967,12 @@ const Eo = {
972
967
  onClick: ae(Re, ["stop"])
973
968
  }, [
974
969
  H(P(f), { class: "m-select-chevron maz-text-xl" })
975
- ], 8, To)
970
+ ], 8, Mo)
976
971
  ]),
977
972
  _: 1
978
973
  /* STABLE */
979
974
  }, 16, ["id", "required", "border-active", "color", "model-value", "size", "autocomplete", "disabled"]),
980
- H(ao, { name: te.value }, {
975
+ H(lo, { name: te.value }, {
981
976
  default: G(() => [
982
977
  w.value ? (b(), E(
983
978
  "div",
@@ -1020,10 +1015,10 @@ const Eo = {
1020
1015
  onKeydown: d[3] || (d[3] = (c) => Se(c, !1))
1021
1016
  }, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : $("v-if", !0),
1022
1017
  !Q.value || Q.value.length <= 0 ? N(l.$slots, "no-results", { key: 1 }, () => [
1023
- j("span", Fo, [
1018
+ j("span", To, [
1024
1019
  H(P(O), { class: "maz-h-6 maz-w-6 maz-text-normal" })
1025
1020
  ])
1026
- ], !0) : (b(), E("div", No, [
1021
+ ], !0) : (b(), E("div", Fo, [
1027
1022
  (b(!0), E(
1028
1023
  be,
1029
1024
  null,
@@ -1037,7 +1032,7 @@ const Eo = {
1037
1032
  }, () => [
1038
1033
  j(
1039
1034
  "span",
1040
- Ko,
1035
+ No,
1041
1036
  ue(c.label),
1042
1037
  1
1043
1038
  /* TEXT */
@@ -1075,7 +1070,7 @@ const Eo = {
1075
1070
  /* TEXT */
1076
1071
  )
1077
1072
  ], !0)
1078
- ], 14, Uo))
1073
+ ], 14, Ko))
1079
1074
  ],
1080
1075
  64
1081
1076
  /* STABLE_FRAGMENT */
@@ -1096,14 +1091,14 @@ const Eo = {
1096
1091
  6
1097
1092
  /* CLASS, STYLE */
1098
1093
  )), [
1099
- [P(Vo), {
1094
+ [P(So), {
1100
1095
  exclude: (m = l.excludeSelectors) != null && m.length ? l.excludeSelectors : [],
1101
1096
  handler: le
1102
1097
  }]
1103
1098
  ]);
1104
1099
  };
1105
1100
  }
1106
- }), Do = /* @__PURE__ */ ne(Ho, [["__scopeId", "data-v-3b483b12"]]);
1101
+ }), Ho = /* @__PURE__ */ ne(Uo, [["__scopeId", "data-v-27ad6cb9"]]);
1107
1102
  function Ke() {
1108
1103
  if (typeof window > "u")
1109
1104
  return;
@@ -1117,15 +1112,15 @@ function Ke() {
1117
1112
  };
1118
1113
  }
1119
1114
  let ge, $e;
1120
- function Ro(a, o, e) {
1115
+ function Do(a, o, e) {
1121
1116
  return e != null && e[o] ? e[o] : (($e !== a || !ge) && ($e = a, ge = new Intl.DisplayNames([a], { type: "region" })), ge.of(o));
1122
1117
  }
1123
- function qo(a, o) {
1118
+ function Ro(a, o) {
1124
1119
  var r;
1125
1120
  const e = [], t = Oe();
1126
1121
  a = a ?? ((r = Ke()) == null ? void 0 : r.browserLocale) ?? "en-US";
1127
1122
  for (const u of t) {
1128
- const v = Ro(a, u, o);
1123
+ const v = Do(a, u, o);
1129
1124
  if (v)
1130
1125
  try {
1131
1126
  const f = ce(u);
@@ -1140,7 +1135,7 @@ function qo(a, o) {
1140
1135
  }
1141
1136
  return e;
1142
1137
  }
1143
- async function jo() {
1138
+ async function qo() {
1144
1139
  try {
1145
1140
  const a = await fetch("https://ipwho.is"), { country_code: o } = await a.json();
1146
1141
  return o;
@@ -1148,7 +1143,7 @@ async function jo() {
1148
1143
  throw new Error(`[MazPhoneNumberInput](fetchCountryCode) ${a}`);
1149
1144
  }
1150
1145
  }
1151
- function Yo(a) {
1146
+ function jo(a) {
1152
1147
  if (!a)
1153
1148
  return "";
1154
1149
  const o = new RegExp(/[^\d ()+-]/g);
@@ -1156,16 +1151,16 @@ function Yo(a) {
1156
1151
  }
1157
1152
  function Ue() {
1158
1153
  return {
1159
- sanitizePhoneNumber: Yo,
1160
- fetchCountryCode: jo,
1154
+ sanitizePhoneNumber: jo,
1155
+ fetchCountryCode: qo,
1161
1156
  getBrowserLocale: Ke,
1162
- getCountriesList: qo
1157
+ getCountriesList: Ro
1163
1158
  };
1164
1159
  }
1165
- const Wo = ["id"], Qo = {
1160
+ const Yo = ["id"], Wo = {
1166
1161
  key: 0,
1167
1162
  class: "m-country-selector__select__item__flag-container"
1168
- }, Go = /* @__PURE__ */ se({
1163
+ }, Qo = /* @__PURE__ */ se({
1169
1164
  __name: "CountrySelector",
1170
1165
  props: {
1171
1166
  style: { default: void 0 },
@@ -1228,7 +1223,7 @@ const Wo = ["id"], Qo = {
1228
1223
  ...p,
1229
1224
  dialCode: `+${p.dialCode}`
1230
1225
  } : void 0
1231
- ).filter(mo);
1226
+ ).filter(co);
1232
1227
  }
1233
1228
  );
1234
1229
  async function V() {
@@ -1261,8 +1256,8 @@ const Wo = ["id"], Qo = {
1261
1256
  "img-class": "maz-w-5 maz-h-4 maz-rounded-sm"
1262
1257
  }, null, 8, ["src", "alt"])
1263
1258
  ], !0)
1264
- ], 10, Wo)) : $("v-if", !0),
1265
- H(Do, oe({
1259
+ ], 10, Yo)) : $("v-if", !0),
1260
+ H(Ho, oe({
1266
1261
  id: `country-selector-${i.id}`,
1267
1262
  ref_key: "CountrySelectorRef",
1268
1263
  ref: t,
@@ -1305,7 +1300,7 @@ const Wo = ["id"], Qo = {
1305
1300
  }])
1306
1301
  },
1307
1302
  [
1308
- !i.noFlags && typeof z.iso2 == "string" ? (b(), E("span", Qo, [
1303
+ !i.noFlags && typeof z.iso2 == "string" ? (b(), E("span", Wo, [
1309
1304
  N(i.$slots, "country-list-flag", {
1310
1305
  countryCode: z.iso2,
1311
1306
  option: z,
@@ -1352,7 +1347,7 @@ const Wo = ["id"], Qo = {
1352
1347
  /* CLASS, STYLE */
1353
1348
  ));
1354
1349
  }
1355
- }), Jo = /* @__PURE__ */ ne(Go, [["__scopeId", "data-v-382b69af"]]), Zo = {
1350
+ }), Go = /* @__PURE__ */ ne(Qo, [["__scopeId", "data-v-382b69af"]]), Jo = {
1356
1351
  countrySelector: {
1357
1352
  placeholder: "Country code",
1358
1353
  error: "Choose country",
@@ -1363,15 +1358,15 @@ const Wo = ["id"], Qo = {
1363
1358
  example: "Example:"
1364
1359
  }
1365
1360
  };
1366
- function Xo(a) {
1361
+ function Zo(a) {
1367
1362
  try {
1368
- const o = ro(a);
1363
+ const o = no(a);
1369
1364
  return o || (console.error(`[maz-ui](MazPhoneNumberInput) The code country "${a}" is not available`), !1);
1370
1365
  } catch (o) {
1371
1366
  return console.error(`[maz-ui](MazPhoneNumberInput) ${o}`), !1;
1372
1367
  }
1373
1368
  }
1374
- function xo({
1369
+ function Xo({
1375
1370
  phoneNumber: a,
1376
1371
  countryCode: o
1377
1372
  }) {
@@ -1381,7 +1376,7 @@ function xo({
1381
1376
  isValid: !1,
1382
1377
  countryCode: o
1383
1378
  };
1384
- const e = io(a, o);
1379
+ const e = ro(a, o);
1385
1380
  return {
1386
1381
  countryCode: (e == null ? void 0 : e.country) ?? o,
1387
1382
  isValid: (e == null ? void 0 : e.isValid()) ?? !1,
@@ -1400,21 +1395,21 @@ function xo({
1400
1395
  throw new Error(`[MazPhoneNumberInput](getResultsFromPhoneNumber) ${e}`);
1401
1396
  }
1402
1397
  }
1403
- function _o(a, o) {
1398
+ function xo(a, o) {
1404
1399
  try {
1405
- return o ? new uo(a).input(o) : "";
1400
+ return o ? new io(a).input(o) : "";
1406
1401
  } catch (e) {
1407
1402
  throw new Error(`[MazPhoneNumberInput](getAsYouTypeFormat) ${e}`);
1408
1403
  }
1409
1404
  }
1410
- async function et() {
1405
+ async function _o() {
1411
1406
  const { default: a } = await import("./examples.mobile.json-JpNGylGv.mjs");
1412
1407
  return a;
1413
1408
  }
1414
- function ot(a, o) {
1409
+ function et(a, o) {
1415
1410
  var e;
1416
1411
  try {
1417
- return a && o ? (e = co(o, a)) == null ? void 0 : e.formatNational() : void 0;
1412
+ return a && o ? (e = uo(o, a)) == null ? void 0 : e.formatNational() : void 0;
1418
1413
  } catch (t) {
1419
1414
  console.error(`[maz-ui](MazPhoneNumberInput) ${t}`);
1420
1415
  }
@@ -1424,17 +1419,17 @@ function He() {
1424
1419
  return ce(o) === ce(e);
1425
1420
  }
1426
1421
  return {
1427
- getAsYouTypeFormat: _o,
1428
- getPhoneNumberResults: xo,
1429
- getPhoneNumberExamplesFile: et,
1430
- getPhoneNumberExample: ot,
1422
+ getAsYouTypeFormat: xo,
1423
+ getPhoneNumberResults: Xo,
1424
+ getPhoneNumberExamplesFile: _o,
1425
+ getPhoneNumberExample: et,
1431
1426
  isSameCountryCallingCode: a,
1432
- isCountryAvailable: Xo,
1427
+ isCountryAvailable: Zo,
1433
1428
  getCountries: Oe,
1434
1429
  getCountryCallingCode: ce
1435
1430
  };
1436
1431
  }
1437
- const tt = /* @__PURE__ */ se({
1432
+ const ot = /* @__PURE__ */ se({
1438
1433
  __name: "PhoneInput",
1439
1434
  props: /* @__PURE__ */ ke({
1440
1435
  id: {},
@@ -1456,7 +1451,7 @@ const tt = /* @__PURE__ */ se({
1456
1451
  }),
1457
1452
  emits: /* @__PURE__ */ ke(["update:model-value"], ["update:modelValue"]),
1458
1453
  setup(a, { emit: o }) {
1459
- const e = a, t = o, r = so(a, "modelValue"), { getPhoneNumberExamplesFile: u, getPhoneNumberExample: v } = He(), { selectionRange: f, results: O, selectedCountry: L } = Me("data"), y = k(), V = k(!1);
1454
+ const e = a, t = o, r = ao(a, "modelValue"), { getPhoneNumberExamplesFile: u, getPhoneNumberExample: v } = He(), { selectionRange: f, results: O, selectedCountry: L } = Me("data"), y = k(), V = k(!1);
1460
1455
  function i(g, S) {
1461
1456
  const C = v(g, S);
1462
1457
  return C ? `${e.locales.phoneInput.example} ${C}` : void 0;
@@ -1518,7 +1513,7 @@ const tt = /* @__PURE__ */ se({
1518
1513
  "onUpdate:modelValue": S[2] || (S[2] = (C) => Y(C))
1519
1514
  }), null, 16, ["id", "model-value", "disabled", "color", "error", "size", "success", "class"]));
1520
1515
  }
1521
- }), lt = /* @__PURE__ */ ne(tt, [["__scopeId", "data-v-ebe8f08f"]]), at = /* @__PURE__ */ se({
1516
+ }), tt = /* @__PURE__ */ ne(ot, [["__scopeId", "data-v-ebe8f08f"]]), lt = /* @__PURE__ */ se({
1522
1517
  name: "MazPhoneNumberInput",
1523
1518
  inheritAttrs: !1,
1524
1519
  __name: "MazPhoneNumberInput",
@@ -1584,14 +1579,14 @@ const tt = /* @__PURE__ */ se({
1584
1579
  end: 0,
1585
1580
  cursorAtEnd: !0
1586
1581
  });
1587
- no("data", {
1582
+ so("data", {
1588
1583
  selectedCountry: i,
1589
1584
  phoneNumber: V,
1590
1585
  results: p,
1591
1586
  selectionRange: w
1592
1587
  });
1593
1588
  const D = h(() => ({
1594
- ...Zo,
1589
+ ...Jo,
1595
1590
  ...e.translations
1596
1591
  }));
1597
1592
  Ie(async () => {
@@ -1698,7 +1693,7 @@ const tt = /* @__PURE__ */ se({
1698
1693
  style: ee(s.style)
1699
1694
  },
1700
1695
  [
1701
- s.noCountrySelector ? $("v-if", !0) : (b(), U(Jo, oe({
1696
+ s.noCountrySelector ? $("v-if", !0) : (b(), U(Go, oe({
1702
1697
  key: 0,
1703
1698
  id: P(y)
1704
1699
  }, s.countrySelectAttributes, {
@@ -1740,7 +1735,7 @@ const tt = /* @__PURE__ */ se({
1740
1735
  _: 3
1741
1736
  /* FORWARDED */
1742
1737
  }, 16, ["id", "model-value", "color", "size", "country-locale", "country-selector-display-name", "custom-countries-list", "ignored-countries", "list-position", "no-flags", "no-search", "exclude-selectors", "error", "success", "locales", "disabled", "search-threshold", "show-code-on-list", "only-countries", "preferred-countries", "width"])),
1743
- H(lt, oe({
1738
+ H(tt, oe({
1744
1739
  id: P(y),
1745
1740
  ref_key: "PhoneInputRef",
1746
1741
  ref: Y,
@@ -1770,9 +1765,9 @@ const tt = /* @__PURE__ */ se({
1770
1765
  );
1771
1766
  };
1772
1767
  }
1773
- }), it = /* @__PURE__ */ ne(at, [["__scopeId", "data-v-420d6d4a"]]);
1768
+ }), rt = /* @__PURE__ */ ne(lt, [["__scopeId", "data-v-420d6d4a"]]);
1774
1769
  export {
1775
- it as M,
1770
+ rt as M,
1776
1771
  ne as _,
1777
1772
  Me as i,
1778
1773
  Ae as u