@alfadocs/ui-kit 1.79.0 → 1.81.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 (127) hide show
  1. package/dist/_chunks/{address-fields-GnoSkvh6.js → address-fields-CfnXK8RT.js} +4 -4
  2. package/dist/_chunks/{ai-prompt-input-M6u29f87.js → ai-prompt-input-DH_rnV-F.js} +33 -26
  3. package/dist/_chunks/{anamnesis-summary-rows-lONg-zja.js → anamnesis-summary-rows-BYtpwCyn.js} +2 -2
  4. package/dist/_chunks/{autocomplete-DosDnGie.js → autocomplete-CnB1mHGc.js} +65 -64
  5. package/dist/_chunks/{balance-badge-cell-Dzd-Z_5W.js → balance-badge-cell-NoEPeFdj.js} +2 -2
  6. package/dist/_chunks/{benefit-card-BWBClvdF.js → benefit-card-BcPtRHgM.js} +37 -36
  7. package/dist/_chunks/{booking-BV2s2J3C.js → booking-CxrB0e6d.js} +1782 -1754
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-DhTTWgXw.js → calendar-appointment-editor-dialog-BuumJbcv.js} +4 -4
  9. package/dist/_chunks/{city-input-3J3bz9EO.js → city-input-CJVGswxp.js} +2 -2
  10. package/dist/_chunks/{combobox-vF9O-QoG.js → combobox-CDPm_n0p.js} +93 -92
  11. package/dist/_chunks/{command-palette-D9TBzmOG.js → command-palette-B3dVqm9D.js} +68 -68
  12. package/dist/_chunks/{contact-profile-card-DKk94l-d.js → contact-profile-card-Da1vmJQI.js} +115 -102
  13. package/dist/_chunks/{country-select-CSE2Zm_s.js → country-select-DQ8q7ypA.js} +2 -2
  14. package/dist/_chunks/{face-scheme-BIPJqw9f.js → face-scheme-BgJGFDTa.js} +2 -2
  15. package/dist/_chunks/{header-settings-BYpVmLip.js → header-settings-CifwJEKB.js} +2 -2
  16. package/dist/_chunks/{link-cell-renderer-B0riA_h_.js → link-cell-renderer-Dwp_DCYT.js} +3 -3
  17. package/dist/_chunks/{locale-picker-DzdGDSBI.js → locale-picker-QbT1p60X.js} +39 -38
  18. package/dist/_chunks/{map-view-C6MIVaqn.js → map-view-Bvi06RVh.js} +2 -2
  19. package/dist/_chunks/{marketplace-app-shell-mS7Q2-81.js → marketplace-app-shell-vON3WhD0.js} +2 -2
  20. package/dist/_chunks/{multi-select-BOad3za9.js → multi-select-IOVnOGlP.js} +106 -106
  21. package/dist/_chunks/{patient-details-B-I9Xkh9.js → patient-details-D0P5eog5.js} +2 -2
  22. package/dist/_chunks/{patient-field-row-Bn0z6lAZ.js → patient-field-row-R73dZJY6.js} +5 -5
  23. package/dist/_chunks/{patient-search-CxqNcth4.js → patient-search-Dy0sxcwv.js} +2 -2
  24. package/dist/_chunks/{patient-summary-card-bhDo0gVX.js → patient-summary-card-6U74-ivO.js} +2 -2
  25. package/dist/_chunks/{payment-automation-upsell-AQpHOS1X.js → payment-automation-upsell-D1YdO1xY.js} +2 -2
  26. package/dist/_chunks/{phone-input-C3NrD-nl.js → phone-input-DJ4BN8tG.js} +70 -63
  27. package/dist/_chunks/{practice-results-BnY2EkzI.js → practice-results-B61krlwu.js} +659 -615
  28. package/dist/_chunks/{province-select-CDjs5obD.js → province-select-CPdTwEob.js} +2 -2
  29. package/dist/_chunks/{registration-form-CNBfUduG.js → registration-form-e9oYscB7.js} +2 -2
  30. package/dist/_chunks/{send-registration-link-form-vTn1HxjA.js → send-registration-link-form-CZYOO7NO.js} +2 -2
  31. package/dist/_chunks/{task-editor-Cpw-NmND.js → task-editor-BOETWbjU.js} +2 -2
  32. package/dist/_chunks/{use-appointment-details-read-lFUL4kkd.js → use-appointment-details-read-CWN-nJCZ.js} +2 -2
  33. package/dist/agent-catalog.json +3 -3
  34. package/dist/components/address-fields/index.js +1 -1
  35. package/dist/components/ai-prompt-input/index.js +1 -1
  36. package/dist/components/appointment-details-panel/index.js +1 -1
  37. package/dist/components/autocomplete/index.js +1 -1
  38. package/dist/components/benefit-card/benefit-card.d.ts +7 -1
  39. package/dist/components/benefit-card/index.js +1 -1
  40. package/dist/components/booking/booking-types.d.ts +16 -1
  41. package/dist/components/booking/cascade.d.ts +3 -0
  42. package/dist/components/booking/details-form.d.ts +2 -0
  43. package/dist/components/booking/index.js +1 -1
  44. package/dist/components/city-input/index.js +1 -1
  45. package/dist/components/combobox/index.js +1 -1
  46. package/dist/components/command-palette/index.js +1 -1
  47. package/dist/components/contact-profile-card/contact-profile-card.d.ts +4 -1
  48. package/dist/components/contact-profile-card/index.js +1 -1
  49. package/dist/components/country-select/index.js +1 -1
  50. package/dist/components/data-table/index.js +1 -1
  51. package/dist/components/face-scheme/index.js +1 -1
  52. package/dist/components/header-settings/index.js +1 -1
  53. package/dist/components/locale-picker/index.js +1 -1
  54. package/dist/components/map-view/index.js +1 -1
  55. package/dist/components/multi-select/index.js +1 -1
  56. package/dist/components/patient-details/index.js +1 -1
  57. package/dist/components/patient-search/index.js +1 -1
  58. package/dist/components/patient-summary-card/index.js +1 -1
  59. package/dist/components/patient-table/index.js +1 -1
  60. package/dist/components/phone-input/index.js +1 -1
  61. package/dist/components/practice-results/index.js +1 -1
  62. package/dist/components/practice-results/practice-results.d.ts +19 -2
  63. package/dist/components/province-select/index.js +1 -1
  64. package/dist/components/task-editor/index.js +1 -1
  65. package/dist/i18n/locales/ar.d.ts +2 -0
  66. package/dist/i18n/locales/ar.js +3 -1
  67. package/dist/i18n/locales/de.d.ts +2 -0
  68. package/dist/i18n/locales/de.js +3 -1
  69. package/dist/i18n/locales/el.d.ts +2 -0
  70. package/dist/i18n/locales/el.js +3 -1
  71. package/dist/i18n/locales/en.d.ts +2 -0
  72. package/dist/i18n/locales/en.js +3 -1
  73. package/dist/i18n/locales/es.d.ts +2 -0
  74. package/dist/i18n/locales/es.js +3 -1
  75. package/dist/i18n/locales/fr.d.ts +2 -0
  76. package/dist/i18n/locales/fr.js +3 -1
  77. package/dist/i18n/locales/hi.d.ts +2 -0
  78. package/dist/i18n/locales/hi.js +3 -1
  79. package/dist/i18n/locales/it.d.ts +2 -0
  80. package/dist/i18n/locales/it.js +3 -1
  81. package/dist/i18n/locales/ja.d.ts +2 -0
  82. package/dist/i18n/locales/ja.js +3 -1
  83. package/dist/i18n/locales/nl.d.ts +2 -0
  84. package/dist/i18n/locales/nl.js +3 -1
  85. package/dist/i18n/locales/pl.d.ts +2 -0
  86. package/dist/i18n/locales/pl.js +3 -1
  87. package/dist/i18n/locales/pt.d.ts +2 -0
  88. package/dist/i18n/locales/pt.js +3 -1
  89. package/dist/i18n/locales/ro.d.ts +2 -0
  90. package/dist/i18n/locales/ro.js +3 -1
  91. package/dist/i18n/locales/ru.d.ts +2 -0
  92. package/dist/i18n/locales/ru.js +3 -1
  93. package/dist/i18n/locales/sq.d.ts +2 -0
  94. package/dist/i18n/locales/sq.js +3 -1
  95. package/dist/i18n/locales/sv.d.ts +2 -0
  96. package/dist/i18n/locales/sv.js +3 -1
  97. package/dist/i18n/locales/tr.d.ts +2 -0
  98. package/dist/i18n/locales/tr.js +3 -1
  99. package/dist/i18n/locales/zh.d.ts +2 -0
  100. package/dist/i18n/locales/zh.js +3 -1
  101. package/dist/index.js +29 -29
  102. package/dist/locales/ar.json +3 -1
  103. package/dist/locales/de.json +3 -1
  104. package/dist/locales/el.json +3 -1
  105. package/dist/locales/en.json +3 -1
  106. package/dist/locales/es.json +3 -1
  107. package/dist/locales/fr.json +3 -1
  108. package/dist/locales/hi.json +3 -1
  109. package/dist/locales/it.json +3 -1
  110. package/dist/locales/ja.json +3 -1
  111. package/dist/locales/nl.json +3 -1
  112. package/dist/locales/pl.json +3 -1
  113. package/dist/locales/pt.json +3 -1
  114. package/dist/locales/ro.json +3 -1
  115. package/dist/locales/ru.json +3 -1
  116. package/dist/locales/sq.json +3 -1
  117. package/dist/locales/sv.json +3 -1
  118. package/dist/locales/tr.json +3 -1
  119. package/dist/locales/zh.json +3 -1
  120. package/dist/patterns/anamnesis/index.js +1 -1
  121. package/dist/patterns/calendar/index.js +1 -1
  122. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  123. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  124. package/dist/patterns/registration-form/index.js +1 -1
  125. package/dist/patterns/send-registration-link-form/index.js +1 -1
  126. package/dist/tokens.css +1 -1
  127. package/package.json +1 -1
@@ -8,7 +8,7 @@ import { u as ot, f as rt } from "./non-modal-tab-exit-j3CPOuE3.js";
8
8
  import { R as at, _ as I } from "./index-4xgbg-sn.js";
9
9
  import { c as pe } from "./index-D2ZczOXr.js";
10
10
  import { useTranslation as it } from "react-i18next";
11
- import { getCountries as dt, parsePhoneNumberFromString as T, AsYouType as W, getCountryCallingCode as lt } from "libphonenumber-js/min";
11
+ import { getCountries as dt, parsePhoneNumberFromString as V, AsYouType as W, getCountryCallingCode as lt } from "libphonenumber-js/min";
12
12
  import { u as ut, F as ct, a as pt } from "./form-field-context-DtiROUJV.js";
13
13
  import { c as ft } from "./compose-refs-C0k0tdqF.js";
14
14
  import { n as le } from "./normalize-diacritics-BNGbFNlJ.js";
@@ -257,10 +257,10 @@ const Et = Xe(
257
257
  disabled: b,
258
258
  readOnly: x,
259
259
  placeholder: Se,
260
- popularCountries: V,
261
- allowedCountries: D,
260
+ popularCountries: D,
261
+ allowedCountries: L,
262
262
  className: Ee,
263
- id: L,
263
+ id: j,
264
264
  name: Y,
265
265
  nameFormat: ke = "national",
266
266
  required: Pe,
@@ -272,10 +272,10 @@ const Et = Xe(
272
272
  () => new Set(dt()),
273
273
  []
274
274
  ), p = v(() => {
275
- if (!D || D.length === 0) return null;
276
- const e = /* @__PURE__ */ new Set(), t = D.filter((n) => !h.has(n) || e.has(n) ? !1 : (e.add(n), !0));
275
+ if (!L || L.length === 0) return null;
276
+ const e = /* @__PURE__ */ new Set(), t = L.filter((n) => !h.has(n) || e.has(n) ? !1 : (e.add(n), !0));
277
277
  return t.length > 0 ? t : null;
278
- }, [D, h]), Ve = p !== null && p.length === 1, J = v(() => {
278
+ }, [L, h]), Ve = p !== null && p.length === 1, J = v(() => {
279
279
  const e = Re(
280
280
  o,
281
281
  h,
@@ -284,7 +284,7 @@ const Et = Xe(
284
284
  p
285
285
  ), t = a ?? c;
286
286
  if (t) {
287
- const n = T(t);
287
+ const n = V(t);
288
288
  return n != null && n.country ? !p || p.includes(n.country) ? {
289
289
  country: n.country,
290
290
  display: n.formatNational(),
@@ -298,11 +298,11 @@ const Et = Xe(
298
298
  } : { country: e, display: t, pinned: !1 };
299
299
  }
300
300
  return { country: e, display: "", pinned: !1 };
301
- }, []), [l, j] = G(J.country), [Q, g] = G(
301
+ }, []), [l, A] = G(J.country), [Q, g] = G(
302
302
  J.display
303
- ), [X, A] = G(!1), [De, fe] = G(""), me = a !== void 0, ee = y(""), B = y(null), $ = y(J.pinned), P = y(null), Le = ft(Te, P), je = st(P, Q), he = y(null), ge = y(null);
303
+ ), [X, B] = G(!1), [De, fe] = G(""), me = a !== void 0, ee = y(""), $ = y(null), H = y(J.pinned), P = y(null), Le = ft(Te, P), je = st(P, Q), he = y(null), ge = y(null);
304
304
  de(() => {
305
- if ($.current) return;
305
+ if (H.current) return;
306
306
  const e = Re(
307
307
  o,
308
308
  h,
@@ -310,7 +310,7 @@ const Et = Xe(
310
310
  E.language,
311
311
  p
312
312
  );
313
- j((t) => t === e ? t : e);
313
+ A((t) => t === e ? t : e);
314
314
  }, [
315
315
  E.language,
316
316
  o,
@@ -325,18 +325,18 @@ const Et = Xe(
325
325
  g("");
326
326
  return;
327
327
  }
328
- const t = T(e);
329
- t != null && t.country && (!p || p.includes(t.country)) ? ($.current = !0, j(t.country), g(t.formatNational())) : g(t ? t.formatNational() : e);
328
+ const t = V(e);
329
+ t != null && t.country && (!p || p.includes(t.country)) ? (H.current = !0, A(t.country), g(t.formatNational())) : g(t ? t.formatNational() : e);
330
330
  }, [a, me, p]), nt(() => {
331
- if (B.current == null) return;
332
- const e = B.current;
333
- B.current = null;
331
+ if ($.current == null) return;
332
+ const e = $.current;
333
+ $.current = null;
334
334
  const t = P.current;
335
335
  t && document.activeElement === t && t.setSelectionRange(e, e);
336
336
  });
337
337
  const N = U(
338
338
  (e, t) => {
339
- const n = T(e, t), u = (n == null ? void 0 : n.number) ?? "";
339
+ const n = V(e, t), u = (n == null ? void 0 : n.number) ?? "";
340
340
  ee.current = u, i == null || i(u, {
341
341
  country: t,
342
342
  isValid: (n == null ? void 0 : n.isValid()) ?? !1,
@@ -345,9 +345,9 @@ const Et = Xe(
345
345
  });
346
346
  },
347
347
  [i]
348
- ), Ae = pt(R, L), Be = L ?? (k ? Ae : void 0), te = (k ? R.disabled : !1) || !!b, $e = (k ? R.required : !1) || !!Pe, ve = k ? R.invalid : !1, He = ve ? "error" : C, Ke = k && R.describedBy ? R.describedBy : void 0, Me = Se ?? z("inputs.phone.placeholder", "Phone number"), H = y(Z);
349
- H.current = Z;
350
- const ne = y(!1), K = y(!1), M = U(
348
+ ), Ae = pt(R, j), Be = j ?? (k ? Ae : void 0), te = (k ? R.disabled : !1) || !!b, $e = (k ? R.required : !1) || !!Pe, ve = k ? R.invalid : !1, He = ve ? "error" : C, Ke = k && R.describedBy ? R.describedBy : void 0, Me = Se ?? z("inputs.phone.placeholder", "Phone number"), K = y(Z);
349
+ K.current = Z;
350
+ const ne = y(!1), M = y(!1), _ = U(
351
351
  (e) => {
352
352
  var t, n;
353
353
  return e instanceof Node && !!((t = he.current) != null && t.contains(e) || (n = ge.current) != null && n.contains(e));
@@ -355,31 +355,31 @@ const Et = Xe(
355
355
  []
356
356
  ), se = U(() => {
357
357
  var e;
358
- ne.current && (ne.current = !1, (e = H.current) == null || e.call(H));
358
+ ne.current && (ne.current = !1, (e = K.current) == null || e.call(K));
359
359
  }, []), _e = () => {
360
360
  ne.current = !0;
361
361
  }, qe = (e) => {
362
362
  const t = e.relatedTarget;
363
- M(t) || t === null && K.current || se();
363
+ _(t) || t === null && M.current || se();
364
364
  }, ye = Z !== void 0;
365
365
  de(() => {
366
366
  if (!ye) return;
367
367
  let e;
368
368
  const t = (u) => {
369
- K.current = M(u.target), !K.current && (e = window.setTimeout(() => {
370
- M(document.activeElement) || se();
369
+ M.current = _(u.target), !M.current && (e = window.setTimeout(() => {
370
+ _(document.activeElement) || se();
371
371
  }, 0));
372
372
  }, n = () => {
373
- K.current = !1;
373
+ M.current = !1;
374
374
  };
375
375
  return document.addEventListener("pointerdown", t, !0), document.addEventListener("pointerup", n, !0), document.addEventListener("pointercancel", n, !0), () => {
376
376
  window.clearTimeout(e), document.removeEventListener("pointerdown", t, !0), document.removeEventListener("pointerup", n, !0), document.removeEventListener("pointercancel", n, !0);
377
377
  };
378
- }, [ye, M, se]);
379
- const oe = ke === "e164" && Y !== void 0, Ge = oe ? ((Ne = T(Q, l)) == null ? void 0 : Ne.number) ?? "" : "", Ue = (e) => {
378
+ }, [ye, _, se]);
379
+ const oe = ke === "e164" && Y !== void 0, Ge = oe ? ((Ne = V(Q, l)) == null ? void 0 : Ne.number) ?? "" : "", Ue = (e) => {
380
380
  if (je(), x) return;
381
381
  const t = e.target, n = t.value, u = t.selectionStart ?? n.length, S = zt(n, u), ie = new W(l).input(n);
382
- B.current = Rt(ie, S), g(ie), N(ie, l);
382
+ $.current = Rt(ie, S), g(ie), N(ie, l);
383
383
  }, be = ee, Oe = v(
384
384
  () => ({
385
385
  getValue: () => be.current,
@@ -388,9 +388,9 @@ const Et = Xe(
388
388
  g(""), N("", l);
389
389
  return;
390
390
  }
391
- const t = T(e);
391
+ const t = V(e);
392
392
  if (t != null && t.country)
393
- $.current = !0, j(t.country), g(t.formatNational()), N(t.formatNational(), t.country);
393
+ H.current = !0, A(t.country), g(t.formatNational()), N(t.formatNational(), t.country);
394
394
  else {
395
395
  const u = new W(l).input(e);
396
396
  g(u), N(u, l);
@@ -406,17 +406,17 @@ const Et = Xe(
406
406
  }),
407
407
  [l, N, be]
408
408
  );
409
- tt(gt, Oe, L);
409
+ tt(gt, Oe, j);
410
410
  const We = ot(!0, {
411
411
  getAnchor: rt,
412
- onReturnToTrigger: () => A(!1)
412
+ onReturnToTrigger: () => B(!1)
413
413
  }), Ye = (e) => {
414
414
  if (e === l) {
415
- A(!1);
415
+ B(!1);
416
416
  return;
417
417
  }
418
418
  const t = Q.replace(/\D/g, ""), n = new W(e), u = t ? n.input(t) : "";
419
- $.current = !0, j(e), g(u), A(!1), fe(""), N(u, e), requestAnimationFrame(() => {
419
+ H.current = !0, A(e), g(u), B(!1), fe(""), N(u, e), requestAnimationFrame(() => {
420
420
  var S;
421
421
  (S = P.current) == null || S.focus();
422
422
  });
@@ -427,19 +427,19 @@ const Et = Xe(
427
427
  ),
428
428
  [E.language, h, p]
429
429
  ), F = v(() => {
430
- if (!V || V.length === 0) return [];
430
+ if (!D || D.length === 0) return [];
431
431
  const e = new Map(w.map((t) => [t.code, t]));
432
- return V.filter((t) => h.has(t)).map((t) => e.get(t)).filter((t) => !!t);
433
- }, [V, w, h]), re = v(
432
+ return D.filter((t) => h.has(t)).map((t) => e.get(t)).filter((t) => !!t);
433
+ }, [D, w, h]), re = v(
434
434
  () => new Set(F.map((e) => e.code)),
435
435
  [F]
436
436
  ), Ze = v(
437
437
  () => re.size > 0 ? w.filter((e) => !re.has(e.code)) : w,
438
438
  [w, re]
439
- ), _ = v(
439
+ ), q = v(
440
440
  () => w.find((e) => e.code === l),
441
441
  [w, l]
442
- ), ae = _ ? _.dialCode : "", Ce = _ ? _.name : l, q = z("inputs.phone.countryPickerLabel", "Country"), Je = `${q}: ${Ce}, +${ae}`, Qe = U(
442
+ ), ae = q ? q.dialCode : "", Ce = q ? q.name : l, T = z("inputs.phone.countryPickerLabel", "Country"), Je = `${T}: ${Ce}, +${ae}`, Qe = U(
443
443
  (e, t, n) => {
444
444
  const u = le(e), S = le(t), we = n == null ? void 0 : n.map(le);
445
445
  return at(
@@ -478,7 +478,7 @@ const Et = Xe(
478
478
  onFocus: _e,
479
479
  onBlur: qe,
480
480
  "data-component": "phone-input",
481
- "data-component-id": L,
481
+ "data-component-id": j,
482
482
  "data-slot": "phone-input",
483
483
  "data-read-only": x ? "" : void 0,
484
484
  className: vt({
@@ -493,7 +493,7 @@ const Et = Xe(
493
493
  "data-slot": "phone-country-fixed",
494
494
  className: `${Ie({ size: d })} ds:cursor-default ds:hover:bg-transparent`,
495
495
  children: [
496
- /* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${q}: ${Ce}` }),
496
+ /* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${T}: ${Ce}` }),
497
497
  /* @__PURE__ */ r(ue, { country: l, size: ce[d] }),
498
498
  /* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
499
499
  "+",
@@ -501,7 +501,7 @@ const Et = Xe(
501
501
  ] })
502
502
  ]
503
503
  }
504
- ) : /* @__PURE__ */ m(O.Root, { open: X, onOpenChange: A, children: [
504
+ ) : /* @__PURE__ */ m(O.Root, { open: X, onOpenChange: B, children: [
505
505
  /* @__PURE__ */ r(O.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
506
506
  "button",
507
507
  {
@@ -539,7 +539,7 @@ const Et = Xe(
539
539
  onKeyDown: We,
540
540
  sideOffset: 6,
541
541
  align: "start",
542
- "aria-label": q,
542
+ "aria-label": T,
543
543
  className: bt,
544
544
  children: /* @__PURE__ */ m(
545
545
  I,
@@ -547,7 +547,7 @@ const Et = Xe(
547
547
  filter: Qe,
548
548
  shouldFilter: !0,
549
549
  loop: !0,
550
- label: q,
550
+ label: T,
551
551
  children: [
552
552
  /* @__PURE__ */ r(
553
553
  I.Input,
@@ -572,23 +572,30 @@ const Et = Xe(
572
572
  )
573
573
  }
574
574
  ),
575
- /* @__PURE__ */ m(I.List, { className: xt, children: [
576
- /* @__PURE__ */ r(I.Empty, { className: wt, children: z("inputs.phone.noCountryFound", "No country found") }),
577
- F.length > 0 ? /* @__PURE__ */ r(
578
- I.Group,
579
- {
580
- heading: /* @__PURE__ */ r("span", { className: ze, children: z("inputs.phone.popularCountries", "Popular") }),
581
- children: F.map(xe)
582
- }
583
- ) : null,
584
- /* @__PURE__ */ r(
585
- I.Group,
586
- {
587
- heading: F.length > 0 ? /* @__PURE__ */ r("span", { className: ze, children: z("inputs.phone.allCountries", "All countries") }) : void 0,
588
- children: Ze.map(xe)
589
- }
590
- )
591
- ] })
575
+ /* @__PURE__ */ m(
576
+ I.List,
577
+ {
578
+ label: T,
579
+ className: xt,
580
+ children: [
581
+ /* @__PURE__ */ r(I.Empty, { className: wt, children: z("inputs.phone.noCountryFound", "No country found") }),
582
+ F.length > 0 ? /* @__PURE__ */ r(
583
+ I.Group,
584
+ {
585
+ heading: /* @__PURE__ */ r("span", { className: ze, children: z("inputs.phone.popularCountries", "Popular") }),
586
+ children: F.map(xe)
587
+ }
588
+ ) : null,
589
+ /* @__PURE__ */ r(
590
+ I.Group,
591
+ {
592
+ heading: F.length > 0 ? /* @__PURE__ */ r("span", { className: ze, children: z("inputs.phone.allCountries", "All countries") }) : void 0,
593
+ children: Ze.map(xe)
594
+ }
595
+ )
596
+ ]
597
+ }
598
+ )
592
599
  ]
593
600
  }
594
601
  )
@@ -636,4 +643,4 @@ export {
636
643
  Ie as c,
637
644
  vt as p
638
645
  };
639
- //# sourceMappingURL=phone-input-C3NrD-nl.js.map
646
+ //# sourceMappingURL=phone-input-DJ4BN8tG.js.map