@alfadocs/ui-kit 1.54.1 → 1.54.3

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 (154) hide show
  1. package/dist/_chunks/{address-fields-1pD-8hML.js → address-fields-BaClzQLM.js} +5 -5
  2. package/dist/_chunks/{anamnesis-summary-rows-BMjSBqhS.js → anamnesis-summary-rows-Brru7JrH.js} +3 -3
  3. package/dist/_chunks/{balance-badge-cell-BDX1Krdv.js → balance-badge-cell-C5hmahoB.js} +2 -2
  4. package/dist/_chunks/{bishop-score-CGAVpIWL.js → bishop-score-BzvVol-u.js} +2 -2
  5. package/dist/_chunks/{bmi-calculator-g_wjo4nq.js → bmi-calculator-CDmQk0b5.js} +2 -2
  6. package/dist/_chunks/{booking-BN7TXe27.js → booking-BGY3LUi8.js} +5 -5
  7. package/dist/_chunks/{calendar-workspace-BbZIx2PT.js → calendar-workspace-BJPhMb2c.js} +8 -8
  8. package/dist/_chunks/{city-input-DyxVWSRQ.js → city-input-BL5WsGJ3.js} +2 -2
  9. package/dist/_chunks/{cycle-calculator-CwDEdmda.js → cycle-calculator-LjsQd9Gl.js} +2 -2
  10. package/dist/_chunks/{data-table-DeUoJzNn.js → data-table-BErtJzaT.js} +2 -2
  11. package/dist/_chunks/{data-table-tabs-BfEmXvUk.js → data-table-tabs-D5nFZKxg.js} +2 -2
  12. package/dist/_chunks/{due-date-calculator-_0Dz_d7n.js → due-date-calculator-mDvGKmRV.js} +2 -2
  13. package/dist/_chunks/{email-input-Cmeo4zdT.js → email-input-DQixfopu.js} +2 -2
  14. package/dist/_chunks/error-page-C15GfNEj.js +312 -0
  15. package/dist/_chunks/{error-page-illustration-QGJAvuFB.js → error-page-illustration-bFti0VEc.js} +73 -56
  16. package/dist/_chunks/{face-scheme-pZgT26gB.js → face-scheme-Doodi6A6.js} +2 -2
  17. package/dist/_chunks/{fetal-weight-CbE61Uyk.js → fetal-weight-DBgEaMoJ.js} +2 -2
  18. package/dist/_chunks/{file-manager-DdsAd4TQ.js → file-manager-BDNSnr7f.js} +3 -3
  19. package/dist/_chunks/{forgot-password-form-DVVOBEGj.js → forgot-password-form-Duu3pZDU.js} +3 -3
  20. package/dist/_chunks/{form-field-D9WfDpYB.js → form-field-Db0liyI8.js} +72 -63
  21. package/dist/_chunks/{gestational-age-calculator-BMkoLJGR.js → gestational-age-calculator-BVBz_5dm.js} +2 -2
  22. package/dist/_chunks/{hcg-doubling-BtW2pBJX.js → hcg-doubling-BECrAUu3.js} +2 -2
  23. package/dist/_chunks/{help-me-write-templates-Cy-iO5AU.js → help-me-write-templates-B4Y8dBv1.js} +3 -3
  24. package/dist/_chunks/{icon-picker-CSViTQL9.js → icon-picker-JZzs1ol_.js} +2 -2
  25. package/dist/_chunks/{kit-extensions-Kca1tkfP.js → kit-extensions-GQHKTLWI.js} +6 -6
  26. package/dist/_chunks/{login-dev-card-C7wo-Hv1.js → login-dev-card-DletSsX3.js} +5 -5
  27. package/dist/_chunks/{notes-panel-BPb-2ZnJ.js → notes-panel-DWJY3WV8.js} +2 -2
  28. package/dist/_chunks/{password-input-B7pQTk7l.js → password-input-6Yl6x1IO.js} +2 -2
  29. package/dist/_chunks/{patient-details-BP9r_lNS.js → patient-details-D7QlsGK1.js} +2 -2
  30. package/dist/_chunks/{patient-field-row-BK9JjbzA.js → patient-field-row-Dr-ndtG8.js} +5 -5
  31. package/dist/_chunks/{patient-summary-card-DGbRLzF1.js → patient-summary-card-A3WhxFwp.js} +2 -2
  32. package/dist/_chunks/{postal-code-input-BmbqjkfD.js → postal-code-input-lCk8me6K.js} +2 -2
  33. package/dist/_chunks/{pregnancy-dating-DV3o2PPl.js → pregnancy-dating-BEmsMys4.js} +2 -2
  34. package/dist/_chunks/{pregnancy-weight-gain-BLjWgtS9.js → pregnancy-weight-gain-DMVPvM3a.js} +2 -2
  35. package/dist/_chunks/{radiograph-panel.agent-C4j6eoQn.js → radiograph-panel.agent-rS3Tegx6.js} +2 -2
  36. package/dist/_chunks/{registration-form-CBDeXzlk.js → registration-form-Lz9iKrKo.js} +246 -235
  37. package/dist/_chunks/{rich-text-editor-CCCSEPlG.js → rich-text-editor-DmnWavgl.js} +2 -2
  38. package/dist/_chunks/{search-bar-D695TCDH.js → search-bar-ORcfuK9A.js} +2 -2
  39. package/dist/_chunks/{search-input-Tl-RkS5x.js → search-input-6SoR2Rf4.js} +2 -2
  40. package/dist/_chunks/{task-editor-Dl27rI3J.js → task-editor-i-juLk76.js} +3 -3
  41. package/dist/_chunks/{text-input-lZ2-t-p2.js → text-input-rzLEKhRU.js} +145 -97
  42. package/dist/_chunks/{transcript-panel-CLgtyVbR.js → transcript-panel-jOCW4Ycl.js} +2 -2
  43. package/dist/_chunks/{unit-converter-CXNr5P4J.js → unit-converter-Bvhj9r3m.js} +2 -2
  44. package/dist/_chunks/{use-appointment-details-read-BEbLseXW.js → use-appointment-details-read-B6dBBgDa.js} +3 -3
  45. package/dist/_chunks/{widget-picker-BCbwD5Z1.js → widget-picker-Ck8HTsil.js} +2 -2
  46. package/dist/agent-catalog.json +5 -1
  47. package/dist/components/address-fields/index.js +1 -1
  48. package/dist/components/appointment-details-panel/index.js +1 -1
  49. package/dist/components/bishop-score/index.js +1 -1
  50. package/dist/components/bmi-calculator/index.js +1 -1
  51. package/dist/components/booking/index.js +1 -1
  52. package/dist/components/city-input/index.js +1 -1
  53. package/dist/components/cycle-calculator/index.js +1 -1
  54. package/dist/components/data-table/index.js +1 -1
  55. package/dist/components/data-table-tabs/index.js +1 -1
  56. package/dist/components/due-date-calculator/index.js +1 -1
  57. package/dist/components/email-input/index.js +1 -1
  58. package/dist/components/face-scheme/index.js +1 -1
  59. package/dist/components/fetal-weight/index.js +1 -1
  60. package/dist/components/file-manager/index.js +1 -1
  61. package/dist/components/form-field/form-field-context.d.ts +5 -0
  62. package/dist/components/form-field/index.js +1 -1
  63. package/dist/components/gestational-age-calculator/index.js +1 -1
  64. package/dist/components/hcg-doubling/index.js +1 -1
  65. package/dist/components/icon-picker/index.js +1 -1
  66. package/dist/components/notes-panel/index.js +1 -1
  67. package/dist/components/password-input/index.js +1 -1
  68. package/dist/components/patient-details/index.js +1 -1
  69. package/dist/components/patient-summary-card/index.js +1 -1
  70. package/dist/components/patient-table/index.js +1 -1
  71. package/dist/components/postal-code-input/index.js +1 -1
  72. package/dist/components/pregnancy-dating/index.js +1 -1
  73. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  74. package/dist/components/radiograph-panel/index.js +1 -1
  75. package/dist/components/rich-text-editor/index.js +2 -2
  76. package/dist/components/search-bar/index.js +1 -1
  77. package/dist/components/search-input/index.js +1 -1
  78. package/dist/components/task-editor/index.js +1 -1
  79. package/dist/components/text-input/index.js +1 -1
  80. package/dist/components/text-input/text-input.d.ts +13 -0
  81. package/dist/components/transcript-panel/index.js +1 -1
  82. package/dist/components/unit-converter/index.js +1 -1
  83. package/dist/components/widget-picker/index.js +1 -1
  84. package/dist/hooks/use-field-match.d.ts +3 -2
  85. package/dist/i18n/locales/ar.d.ts +4 -0
  86. package/dist/i18n/locales/ar.js +4 -0
  87. package/dist/i18n/locales/de.d.ts +4 -0
  88. package/dist/i18n/locales/de.js +4 -0
  89. package/dist/i18n/locales/el.d.ts +4 -0
  90. package/dist/i18n/locales/el.js +4 -0
  91. package/dist/i18n/locales/en.d.ts +4 -0
  92. package/dist/i18n/locales/en.js +4 -0
  93. package/dist/i18n/locales/es.d.ts +4 -0
  94. package/dist/i18n/locales/es.js +4 -0
  95. package/dist/i18n/locales/fr.d.ts +4 -0
  96. package/dist/i18n/locales/fr.js +4 -0
  97. package/dist/i18n/locales/hi.d.ts +4 -0
  98. package/dist/i18n/locales/hi.js +4 -0
  99. package/dist/i18n/locales/it.d.ts +4 -0
  100. package/dist/i18n/locales/it.js +4 -0
  101. package/dist/i18n/locales/ja.d.ts +4 -0
  102. package/dist/i18n/locales/ja.js +4 -0
  103. package/dist/i18n/locales/nl.d.ts +4 -0
  104. package/dist/i18n/locales/nl.js +4 -0
  105. package/dist/i18n/locales/pl.d.ts +4 -0
  106. package/dist/i18n/locales/pl.js +4 -0
  107. package/dist/i18n/locales/pt.d.ts +4 -0
  108. package/dist/i18n/locales/pt.js +4 -0
  109. package/dist/i18n/locales/ro.d.ts +4 -0
  110. package/dist/i18n/locales/ro.js +4 -0
  111. package/dist/i18n/locales/ru.d.ts +4 -0
  112. package/dist/i18n/locales/ru.js +4 -0
  113. package/dist/i18n/locales/sq.d.ts +4 -0
  114. package/dist/i18n/locales/sq.js +4 -0
  115. package/dist/i18n/locales/sv.d.ts +4 -0
  116. package/dist/i18n/locales/sv.js +4 -0
  117. package/dist/i18n/locales/tr.d.ts +4 -0
  118. package/dist/i18n/locales/tr.js +4 -0
  119. package/dist/i18n/locales/zh.d.ts +4 -0
  120. package/dist/i18n/locales/zh.js +4 -0
  121. package/dist/index.js +167 -165
  122. package/dist/locales/ar.json +4 -0
  123. package/dist/locales/de.json +4 -0
  124. package/dist/locales/el.json +4 -0
  125. package/dist/locales/en.json +4 -0
  126. package/dist/locales/es.json +4 -0
  127. package/dist/locales/fr.json +4 -0
  128. package/dist/locales/hi.json +4 -0
  129. package/dist/locales/it.json +4 -0
  130. package/dist/locales/ja.json +4 -0
  131. package/dist/locales/nl.json +4 -0
  132. package/dist/locales/pl.json +4 -0
  133. package/dist/locales/pt.json +4 -0
  134. package/dist/locales/ro.json +4 -0
  135. package/dist/locales/ru.json +4 -0
  136. package/dist/locales/sq.json +4 -0
  137. package/dist/locales/sv.json +4 -0
  138. package/dist/locales/tr.json +4 -0
  139. package/dist/locales/zh.json +4 -0
  140. package/dist/patterns/anamnesis/index.js +1 -1
  141. package/dist/patterns/calendar/index.js +1 -1
  142. package/dist/patterns/error-page/error-page-illustration.d.ts +3 -1
  143. package/dist/patterns/error-page/error-page.d.ts +34 -2
  144. package/dist/patterns/error-page/index.d.ts +2 -1
  145. package/dist/patterns/error-page/index.js +7 -5
  146. package/dist/patterns/forgot-password-form/index.js +1 -1
  147. package/dist/patterns/help-me-write-templates/index.js +1 -1
  148. package/dist/patterns/login-form/index.js +1 -1
  149. package/dist/patterns/registration-form/index.d.ts +1 -1
  150. package/dist/patterns/registration-form/index.js +1 -1
  151. package/dist/patterns/registration-form/registration-form.d.ts +16 -0
  152. package/dist/tokens.css +1 -1
  153. package/package.json +1 -1
  154. package/dist/_chunks/error-page-CKFJlekz.js +0 -275
@@ -4,10 +4,10 @@ import { c as O } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as B } from "react-i18next";
5
5
  import { C as H } from "./country-select-r3QC7cVA.js";
6
6
  import { P as K } from "./province-select-DtF2ukoC.js";
7
- import { P as M } from "./postal-code-input-BmbqjkfD.js";
8
- import { C as U } from "./city-input-DyxVWSRQ.js";
9
- import { T as W } from "./text-input-lZ2-t-p2.js";
10
- import { F as p } from "./form-field-D9WfDpYB.js";
7
+ import { P as M } from "./postal-code-input-lCk8me6K.js";
8
+ import { C as U } from "./city-input-BL5WsGJ3.js";
9
+ import { T as W } from "./text-input-rzLEKhRU.js";
10
+ import { F as p } from "./form-field-Db0liyI8.js";
11
11
  import { A as Y } from "./address-autocomplete-BBZ0u_U1.js";
12
12
  import { u as z } from "./registry-DvAUVLHh.js";
13
13
  const G = {
@@ -289,4 +289,4 @@ export {
289
289
  ee as A,
290
290
  J as a
291
291
  };
292
- //# sourceMappingURL=address-fields-1pD-8hML.js.map
292
+ //# sourceMappingURL=address-fields-BaClzQLM.js.map
@@ -6,7 +6,7 @@ import { I as de } from "./icon-button-mKIvw90h.js";
6
6
  import { C as le } from "./card-DPmk26CL.js";
7
7
  import { C as Zt, b as Yt, a as Jt } from "./collapsible-CTjxzGuF.js";
8
8
  import { E as Xe } from "./empty-state-CgvmPPvW.js";
9
- import { F as M } from "./form-field-D9WfDpYB.js";
9
+ import { F as M } from "./form-field-Db0liyI8.js";
10
10
  import { M as ln } from "./multi-select-CVb6PJOK.js";
11
11
  import { N as ga } from "./number-input-DRDRYZJg.js";
12
12
  import { R as ze } from "./radio-BBbMdbE_.js";
@@ -14,7 +14,7 @@ import { R as ma } from "./radio-group-BT97ty7o.js";
14
14
  import { S as Me } from "./select-DHPmASkG.js";
15
15
  import { T as Q } from "./tabs-yIY-RySP.js";
16
16
  import { T as na } from "./text-area-CDuItrvL.js";
17
- import { T as ae } from "./text-input-lZ2-t-p2.js";
17
+ import { T as ae } from "./text-input-rzLEKhRU.js";
18
18
  import { T as Ze } from "./timestamp-DPLDWdxA.js";
19
19
  import { D as sn } from "./date-picker-BnhBmcH6.js";
20
20
  import { A as Ue } from "./alert-BhCstf2h.js";
@@ -20923,4 +20923,4 @@ export {
20923
20923
  Vi as t,
20924
20924
  td as u
20925
20925
  };
20926
- //# sourceMappingURL=anamnesis-summary-rows-BMjSBqhS.js.map
20926
+ //# sourceMappingURL=anamnesis-summary-rows-Brru7JrH.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as C, jsxs as M } from "react/jsx-runtime";
2
2
  import { createElement as G, useRef as k, useEffect as ae, useCallback as K, forwardRef as be, useState as ie, useImperativeHandle as ge, useMemo as X } from "react";
3
3
  import { useTranslation as Y } from "react-i18next";
4
- import { a as b, T as g, D as S, d as Ce } from "./data-table-DeUoJzNn.js";
4
+ import { a as b, T as g, D as S, d as Ce } from "./data-table-BErtJzaT.js";
5
5
  import { A as ve, a as re } from "./actions-cell-renderer-CjzSqMgn.js";
6
6
  import { S as Te } from "./select-DHPmASkG.js";
7
7
  import { u as we } from "./registry-DvAUVLHh.js";
@@ -1179,4 +1179,4 @@ export {
1179
1179
  se as g,
1180
1180
  nt as u
1181
1181
  };
1182
- //# sourceMappingURL=balance-badge-cell-BDX1Krdv.js.map
1182
+ //# sourceMappingURL=balance-badge-cell-C5hmahoB.js.map
@@ -3,7 +3,7 @@ import { forwardRef as $, useState as C, useMemo as N, useEffect as I, useRef as
3
3
  import { c as A } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as K } from "react-i18next";
5
5
  import { u as L } from "./registry-DvAUVLHh.js";
6
- import { F } from "./form-field-D9WfDpYB.js";
6
+ import { F } from "./form-field-Db0liyI8.js";
7
7
  import { S as H } from "./select-DHPmASkG.js";
8
8
  import { C as O } from "./card-DPmk26CL.js";
9
9
  import { B as M } from "./badge-hnBt8o7n.js";
@@ -301,4 +301,4 @@ export {
301
301
  V as d,
302
302
  G as e
303
303
  };
304
- //# sourceMappingURL=bishop-score-CGAVpIWL.js.map
304
+ //# sourceMappingURL=bishop-score-BzvVol-u.js.map
@@ -5,7 +5,7 @@ import { useTranslation as oe } from "react-i18next";
5
5
  import { u as ce } from "./registry-DvAUVLHh.js";
6
6
  import { R as E } from "./radio-BBbMdbE_.js";
7
7
  import { R as ue } from "./radio-group-BT97ty7o.js";
8
- import { F as G } from "./form-field-D9WfDpYB.js";
8
+ import { F as G } from "./form-field-Db0liyI8.js";
9
9
  import { N as L } from "./number-input-DRDRYZJg.js";
10
10
  import { C as j } from "./card-DPmk26CL.js";
11
11
  import { B as me } from "./badge-hnBt8o7n.js";
@@ -431,4 +431,4 @@ we.displayName = "BmiCalculator";
431
431
  export {
432
432
  we as B
433
433
  };
434
- //# sourceMappingURL=bmi-calculator-g_wjo4nq.js.map
434
+ //# sourceMappingURL=bmi-calculator-CDmQk0b5.js.map
@@ -8,12 +8,12 @@ import { B as Xe } from "./button-CYPx2xFq.js";
8
8
  import { C as rt } from "./checkbox--ndmyokr.js";
9
9
  import { C as Ks } from "./checkbox-group-B0oZHNT3.js";
10
10
  import { D as zs } from "./date-picker-BnhBmcH6.js";
11
- import { E as js } from "./email-input-Cmeo4zdT.js";
12
- import { F as Ue } from "./form-field-D9WfDpYB.js";
11
+ import { E as js } from "./email-input-DQixfopu.js";
12
+ import { F as Ue } from "./form-field-Db0liyI8.js";
13
13
  import { P as Us } from "./phone-input-BzeUr49H.js";
14
14
  import { T as Gs } from "./text-area-CDuItrvL.js";
15
- import { T as Dt } from "./text-input-lZ2-t-p2.js";
16
- import { A as Hs } from "./address-fields-1pD-8hML.js";
15
+ import { T as Dt } from "./text-input-rzLEKhRU.js";
16
+ import { A as Hs } from "./address-fields-BaClzQLM.js";
17
17
  import { S as ps } from "./spinner-a0FTYX9Q.js";
18
18
  import { a as yt } from "./format-price-DAbh61Lz.js";
19
19
  import { C as Js } from "./credit-card-D9XZsHGA.js";
@@ -3717,4 +3717,4 @@ export {
3717
3717
  Ce as O,
3718
3718
  En as b
3719
3719
  };
3720
- //# sourceMappingURL=booking-BN7TXe27.js.map
3720
+ //# sourceMappingURL=booking-BGY3LUi8.js.map
@@ -10,10 +10,10 @@ import { S as $t, C as di } from "./skeleton-B1KTdJ4N.js";
10
10
  import { G as qa, h as Er, c as co, A as lo, C as li } from "./color-picker-Bu0wM8xv.js";
11
11
  import { s as uo, S as po } from "./signature-status-chip-DP3qRijv.js";
12
12
  import { b as ho } from "./appointment-workflow-status-DrWCNLbB.js";
13
- import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-BEbLseXW.js";
13
+ import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-B6dBBgDa.js";
14
14
  import { A as Rr, a as mi } from "./entity-card-D1Yrh9wf.js";
15
15
  import { S as xs } from "./stethoscope-sZXGC43m.js";
16
- import { T as Do, P as wo, E as gi, S as To } from "./task-editor-Dl27rI3J.js";
16
+ import { T as Do, P as wo, E as gi, S as To } from "./task-editor-i-juLk76.js";
17
17
  import { C as Lo, a as Ao, u as vi, d as Eo } from "./control-room-rail-g4vNSPFi.js";
18
18
  import { S as ir } from "./scroll-area-BZOvUhwQ.js";
19
19
  import { d as vn, c as Mr, b as aa } from "./toast-UMUvXFsA.js";
@@ -24,18 +24,18 @@ import { V as pa } from "./visually-hidden-BHxEUGyT.js";
24
24
  import { createPortal as Ro } from "react-dom";
25
25
  import { R as xn } from "./radio-BBbMdbE_.js";
26
26
  import { R as Ca } from "./radio-group-BT97ty7o.js";
27
- import { N as Mo } from "./notes-panel-BPb-2ZnJ.js";
27
+ import { N as Mo } from "./notes-panel-DWJY3WV8.js";
28
28
  import { E as or } from "./empty-state-CgvmPPvW.js";
29
29
  import { P as ls } from "./panel-header-D_mTdhUp.js";
30
30
  import { P as fi } from "./panel-subview-D8HGXaUa.js";
31
- import { F as Se } from "./form-field-D9WfDpYB.js";
31
+ import { F as Se } from "./form-field-Db0liyI8.js";
32
32
  import { C as cr } from "./combobox-DppVSuUm.js";
33
- import { T as Wo } from "./text-input-lZ2-t-p2.js";
33
+ import { T as Wo } from "./text-input-rzLEKhRU.js";
34
34
  import { T as bi } from "./text-area-CDuItrvL.js";
35
35
  import { N as Wr } from "./number-input-DRDRYZJg.js";
36
36
  import { T as _o } from "./time-picker-DKKmpFh3.js";
37
37
  import { a as Ss } from "./whatsapp-button-DV9JFmtq.js";
38
- import { D as Po } from "./data-table-DeUoJzNn.js";
38
+ import { D as Po } from "./data-table-BErtJzaT.js";
39
39
  import { C as Bt } from "./checkbox--ndmyokr.js";
40
40
  import { T as us } from "./tag-CS5cXpfx.js";
41
41
  import { D as K } from "./dropdown-menu-B5mgV1kV.js";
@@ -81,7 +81,7 @@ import { c as Xa } from "./createLucideIcon-DhHxpK9K.js";
81
81
  import { U as wi } from "./user-cog-BTn98Arm.js";
82
82
  import { S as Yo } from "./settings-d25ju_6L.js";
83
83
  import { R as js } from "./rotate-ccw-BBQnIVTr.js";
84
- import { H as Ra } from "./patient-field-row-BK9JjbzA.js";
84
+ import { H as Ra } from "./patient-field-row-Dr-ndtG8.js";
85
85
  import { C as Xo } from "./calendar-BwF5nQuW.js";
86
86
  import { C as hs } from "./card-DPmk26CL.js";
87
87
  import { K as Jo } from "./kbd-BLovyx1R.js";
@@ -10605,4 +10605,4 @@ export {
10605
10605
  Dh as r,
10606
10606
  zt as u
10607
10607
  };
10608
- //# sourceMappingURL=calendar-workspace-BbZIx2PT.js.map
10608
+ //# sourceMappingURL=calendar-workspace-BJPhMb2c.js.map
@@ -2,7 +2,7 @@ import { jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as H, useRef as N, useEffect as _, useMemo as W, useCallback as q } from "react";
3
3
  import { useTranslation as B } from "react-i18next";
4
4
  import { A as F } from "./autocomplete-BXm1rnT0.js";
5
- import { T as G } from "./text-input-lZ2-t-p2.js";
5
+ import { T as G } from "./text-input-rzLEKhRU.js";
6
6
  import { u as J } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as L } from "./registry-DvAUVLHh.js";
8
8
  const O = {
@@ -167,4 +167,4 @@ export {
167
167
  Q as C,
168
168
  O as c
169
169
  };
170
- //# sourceMappingURL=city-input-DyxVWSRQ.js.map
170
+ //# sourceMappingURL=city-input-BL5WsGJ3.js.map
@@ -3,7 +3,7 @@ import { forwardRef as G, useState as N, useMemo as x, useEffect as K, useRef as
3
3
  import { c as q } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as z } from "react-i18next";
5
5
  import { u as B } from "./registry-DvAUVLHh.js";
6
- import { F as S } from "./form-field-D9WfDpYB.js";
6
+ import { F as S } from "./form-field-Db0liyI8.js";
7
7
  import { D as Y } from "./date-picker-BnhBmcH6.js";
8
8
  import { N as H } from "./number-input-DRDRYZJg.js";
9
9
  import { C as M } from "./card-DPmk26CL.js";
@@ -422,4 +422,4 @@ export {
422
422
  ie as L,
423
423
  se as p
424
424
  };
425
- //# sourceMappingURL=cycle-calculator-CwDEdmda.js.map
425
+ //# sourceMappingURL=cycle-calculator-LjsQd9Gl.js.map
@@ -11,7 +11,7 @@ import { B as de } from "./button-CYPx2xFq.js";
11
11
  import { I as ie } from "./icon-button-mKIvw90h.js";
12
12
  import { P as he } from "./popover-9_v-7fJc.js";
13
13
  import { C as Ut } from "./checkbox--ndmyokr.js";
14
- import { T as Fe } from "./text-input-lZ2-t-p2.js";
14
+ import { T as Fe } from "./text-input-rzLEKhRU.js";
15
15
  import { T as $e } from "./tag-CS5cXpfx.js";
16
16
  import { D as ye } from "./dropdown-menu-B5mgV1kV.js";
17
17
  import { X as Ue } from "./x-B5YnXwCz.js";
@@ -1986,4 +1986,4 @@ export {
1986
1986
  Tr as g,
1987
1987
  $ as i
1988
1988
  };
1989
- //# sourceMappingURL=data-table-DeUoJzNn.js.map
1989
+ //# sourceMappingURL=data-table-BErtJzaT.js.map
@@ -5,7 +5,7 @@ import { a as ne, c as ke } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Ae } from "react-i18next";
6
6
  import { I as le } from "./icon-button-mKIvw90h.js";
7
7
  import { P as ue } from "./popover-9_v-7fJc.js";
8
- import { T as ze } from "./text-input-lZ2-t-p2.js";
8
+ import { T as ze } from "./text-input-rzLEKhRU.js";
9
9
  import { u as Ke } from "./use-direction-Dp8h70PP.js";
10
10
  import { u as Me } from "./registry-DvAUVLHh.js";
11
11
  import { u as Ie } from "./use-controllable-state-BiY4xTzM.js";
@@ -725,4 +725,4 @@ export {
725
725
  $e as b,
726
726
  Le as d
727
727
  };
728
- //# sourceMappingURL=data-table-tabs-BfEmXvUk.js.map
728
+ //# sourceMappingURL=data-table-tabs-D5nFZKxg.js.map
@@ -5,7 +5,7 @@ import { useTranslation as ie } from "react-i18next";
5
5
  import { u as de } from "./registry-DvAUVLHh.js";
6
6
  import { R as C } from "./radio-BBbMdbE_.js";
7
7
  import { R as z } from "./radio-group-BT97ty7o.js";
8
- import { F as w } from "./form-field-D9WfDpYB.js";
8
+ import { F as w } from "./form-field-Db0liyI8.js";
9
9
  import { D as T } from "./date-picker-BnhBmcH6.js";
10
10
  import { N as Y } from "./number-input-DRDRYZJg.js";
11
11
  import { C as U } from "./card-DPmk26CL.js";
@@ -568,4 +568,4 @@ Ae.displayName = "DueDateCalculator";
568
568
  export {
569
569
  Ae as D
570
570
  };
571
- //# sourceMappingURL=due-date-calculator-_0Dz_d7n.js.map
571
+ //# sourceMappingURL=due-date-calculator-mDvGKmRV.js.map
@@ -2,7 +2,7 @@ import { jsxs as W, jsx as C } from "react/jsx-runtime";
2
2
  import { forwardRef as se, useRef as K, useId as oe, useState as X, useMemo as Q, useEffect as fe, useCallback as Z } from "react";
3
3
  import { useTranslation as ce } from "react-i18next";
4
4
  import { g as de } from "./_commonjsHelpers-DaMA6jEr.js";
5
- import { T as me } from "./text-input-lZ2-t-p2.js";
5
+ import { T as me } from "./text-input-rzLEKhRU.js";
6
6
  import { u as pe } from "./form-field-context-DtiROUJV.js";
7
7
  import { c as ve } from "./compose-refs-C0k0tdqF.js";
8
8
  import { u as _e } from "./registry-DvAUVLHh.js";
@@ -396,4 +396,4 @@ export {
396
396
  Ee as e,
397
397
  ne as i
398
398
  };
399
- //# sourceMappingURL=email-input-Cmeo4zdT.js.map
399
+ //# sourceMappingURL=email-input-DQixfopu.js.map
@@ -0,0 +1,312 @@
1
+ import { jsx as r, jsxs as E } from "react/jsx-runtime";
2
+ import { forwardRef as ee, useMemo as re, useState as I, useEffect as T, useRef as z } from "react";
3
+ import { useTranslation as oe } from "react-i18next";
4
+ import { c as ae } from "./index-D2ZczOXr.js";
5
+ import { B as L } from "./button-CYPx2xFq.js";
6
+ import { L as te } from "./logo-CuaqxTGK.js";
7
+ import { i as ne } from "./safe-href-5dbsfbQn.js";
8
+ import { a as se } from "./error-page-illustration-bFti0VEc.js";
9
+ import { loadLocale as ie, LOCALES_WITH_BUNDLES as de } from "../i18n/config.js";
10
+ import { R as ce } from "./rotate-ccw-BBQnIVTr.js";
11
+ import { L as le } from "./log-in-OQUEoGhX.js";
12
+ import { c as M } from "./createLucideIcon-DhHxpK9K.js";
13
+ /**
14
+ * @license lucide-react v1.22.0 - ISC
15
+ *
16
+ * This source code is licensed under the ISC license.
17
+ * See the LICENSE file in the root directory of this source tree.
18
+ */
19
+ const me = [
20
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
21
+ ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
22
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
23
+ ], ue = M("circle-question-mark", me);
24
+ /**
25
+ * @license lucide-react v1.22.0 - ISC
26
+ *
27
+ * This source code is licensed under the ISC license.
28
+ * See the LICENSE file in the root directory of this source tree.
29
+ */
30
+ const ge = [
31
+ ["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
32
+ [
33
+ "path",
34
+ {
35
+ d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
36
+ key: "r6nss1"
37
+ }
38
+ ]
39
+ ], pe = M("house", ge), fe = [
40
+ 400,
41
+ 401,
42
+ 403,
43
+ 404,
44
+ 405,
45
+ 410,
46
+ 419,
47
+ 429,
48
+ 500,
49
+ 502,
50
+ 503,
51
+ 504,
52
+ "offline",
53
+ "maintenance"
54
+ ], A = {
55
+ 400: { key: "badRequest", mood: "jumbled", primary: "home" },
56
+ 401: { key: "unauthorised", mood: "locked", primary: "login" },
57
+ 403: { key: "forbidden", mood: "roped", primary: "home" },
58
+ 404: { key: "notFound", mood: "lost", primary: "home" },
59
+ 405: { key: "methodNotAllowed", mood: "wrong-way", primary: "home" },
60
+ 410: { key: "gone", mood: "vanished", primary: "home" },
61
+ 419: { key: "expired", mood: "asleep", primary: "login" },
62
+ 429: { key: "tooManyRequests", mood: "melt", primary: "retry" },
63
+ 500: { key: "serverError", mood: "patched", primary: "retry" },
64
+ 502: { key: "badGateway", mood: "unplugged", primary: "retry" },
65
+ 503: { key: "maintenance", mood: "rebuild", primary: "retry" },
66
+ 504: { key: "timeout", mood: "snail", primary: "retry" },
67
+ offline: { key: "offline", mood: "adrift", primary: "retry" },
68
+ maintenance: { key: "maintenance", mood: "rebuild", primary: "retry" },
69
+ generic: { key: "generic", mood: "puzzled", primary: "home" }
70
+ };
71
+ function ye(e) {
72
+ return fe.includes(e) ? A[e] : A.generic;
73
+ }
74
+ const he = "alfadocs-ui.locale", ve = "it", ke = (e) => {
75
+ if (!e) return;
76
+ const o = e.toLowerCase().replaceAll("_", "-").split("-")[0], a = o === "cn" ? "zh" : o;
77
+ return de.includes(a) ? a : void 0;
78
+ }, be = () => {
79
+ try {
80
+ return window.localStorage.getItem(he);
81
+ } catch {
82
+ return null;
83
+ }
84
+ };
85
+ function xe(e = {}) {
86
+ var f;
87
+ const o = typeof window < "u", a = e.saved !== void 0 ? e.saved : o ? be() : null, d = e.browser ?? (o && typeof navigator < "u" ? (f = navigator.languages) != null && f.length ? navigator.languages : [navigator.language] : []), p = e.document ?? (typeof document < "u" ? document.documentElement.lang : ""), v = [
88
+ e.locale,
89
+ a,
90
+ ...d,
91
+ e.hostLocaleIsDefault ? void 0 : p
92
+ ];
93
+ for (const k of v) {
94
+ const y = ke(k);
95
+ if (y) return y;
96
+ }
97
+ return ve;
98
+ }
99
+ const B = (e, o) => ie(e, o), we = ae(
100
+ "ds:flex ds:flex-col ds:items-center ds:justify-center ds:bg-[var(--background)] ds:text-[var(--foreground)] ds:px-[var(--spacing-md)] ds:py-[var(--spacing-2xl)]",
101
+ {
102
+ variants: {
103
+ layout: {
104
+ /** Fills the viewport: the whole page is the error. */
105
+ page: "ds:min-h-screen",
106
+ /** Fills its container, under the host's own header. */
107
+ embedded: "ds:[min-block-size:100%]"
108
+ },
109
+ surface: {
110
+ /** The page background. */
111
+ background: "",
112
+ /** A card's surface, for a page set inside a `Card`. The mark
113
+ * cuts its holes with `--background`, so that is re-pointed too. */
114
+ card: "ds:[--background:var(--card)] ds:[--foreground:var(--card-foreground)]"
115
+ }
116
+ },
117
+ defaultVariants: { layout: "page", surface: "background" }
118
+ }
119
+ ), Ee = /* @__PURE__ */ new Set(["ar"]), Le = 1500;
120
+ function Ne(e, o) {
121
+ const a = e instanceof Date ? e : new Date(e);
122
+ if (Number.isNaN(a.getTime())) return;
123
+ const d = /* @__PURE__ */ new Date(), p = d.toDateString() === a.toDateString() ? {} : {
124
+ day: "numeric",
125
+ month: "short",
126
+ ...d.getFullYear() === a.getFullYear() ? {} : { year: "numeric" }
127
+ };
128
+ return new Intl.DateTimeFormat(o === "en" ? "en-GB" : o, {
129
+ ...p,
130
+ hour: "2-digit",
131
+ minute: "2-digit"
132
+ }).format(a);
133
+ }
134
+ const D = (e, o) => !!e.getResource(o, "ui", "errorPage"), F = (e) => ne(e) ? e : "#", Se = ee(
135
+ ({
136
+ status: e,
137
+ homeHref: o = "/",
138
+ loginHref: a,
139
+ supportHref: d,
140
+ onRetry: p,
141
+ requestId: v,
142
+ backAt: f,
143
+ locale: k,
144
+ hostLocaleIsDefault: y = !1,
145
+ title: G,
146
+ message: j,
147
+ primaryAction: s,
148
+ mood: O,
149
+ showStatusLabel: $ = !0,
150
+ showLogo: H = !0,
151
+ as: U = "main",
152
+ focusHeading: P = !0,
153
+ headingLevel: V = 1,
154
+ layout: Y,
155
+ surface: q,
156
+ className: K,
157
+ ...Q
158
+ }, W) => {
159
+ const { i18n: g } = oe("ui"), c = re(
160
+ () => xe({ locale: k, hostLocaleIsDefault: y }),
161
+ [k, y]
162
+ ), [n, b] = I(
163
+ () => D(g, c) ? c : null
164
+ ), [, J] = I(0);
165
+ T(() => {
166
+ let t = !0;
167
+ const u = D(g, c);
168
+ b(u ? c : null);
169
+ const w = () => t && J((h) => h + 1);
170
+ B("en", g).then(w).catch(() => {
171
+ });
172
+ const S = u ? void 0 : setTimeout(
173
+ () => t && b((h) => h ?? "en"),
174
+ Le
175
+ );
176
+ return B(c, g).then(() => {
177
+ t && (b(c), w());
178
+ }).catch(() => t && b((h) => h ?? "en")), () => {
179
+ t = !1, clearTimeout(S);
180
+ };
181
+ }, [g, c]);
182
+ const i = g.getFixedT(
183
+ n && n !== "en" ? [n, "en"] : "en",
184
+ "ui"
185
+ ), l = ye(e), R = l.key === "maintenance" && f ? Ne(f, n ?? "en") : void 0, C = z(null), _ = z(null);
186
+ T(() => {
187
+ var u;
188
+ const t = String(e);
189
+ !n || !P || _.current === t || (_.current = t, (u = C.current) == null || u.focus({ preventScroll: !0 }));
190
+ }, [n, P, e]);
191
+ const X = ["h1", "h2", "h3"][V - 1], Z = p ?? (() => window.location.reload()), x = l.primary === "login" && !a ? "retry" : l.primary, N = (t, u, w, S) => /* @__PURE__ */ r(
192
+ L,
193
+ {
194
+ intent: S,
195
+ size: "lg",
196
+ flipIconInRtl: t === "login",
197
+ asChild: !0,
198
+ startIcon: w,
199
+ "data-action": t,
200
+ children: /* @__PURE__ */ r("a", { href: F(u), children: i(`errorPage.actions.${t}`) })
201
+ },
202
+ t
203
+ ), m = [];
204
+ return s ? m.push(
205
+ typeof s.href == "string" ? /* @__PURE__ */ r(
206
+ L,
207
+ {
208
+ intent: "primary",
209
+ size: "lg",
210
+ asChild: !0,
211
+ startIcon: s.icon,
212
+ "data-action": "custom",
213
+ children: /* @__PURE__ */ r("a", { href: F(s.href), children: s.label })
214
+ },
215
+ "custom"
216
+ ) : /* @__PURE__ */ r(
217
+ L,
218
+ {
219
+ intent: "primary",
220
+ size: "lg",
221
+ startIcon: s.icon,
222
+ onClick: s.onClick,
223
+ "data-action": "custom",
224
+ children: s.label
225
+ },
226
+ "custom"
227
+ )
228
+ ) : x === "retry" ? m.push(
229
+ /* @__PURE__ */ r(
230
+ L,
231
+ {
232
+ intent: "primary",
233
+ size: "lg",
234
+ startIcon: /* @__PURE__ */ r(ce, { "aria-hidden": "true" }),
235
+ onClick: Z,
236
+ "data-action": "retry",
237
+ children: i("errorPage.actions.retry")
238
+ },
239
+ "retry"
240
+ )
241
+ ) : x === "login" && a && m.push(
242
+ N("login", a, /* @__PURE__ */ r(le, { "aria-hidden": "true" }), "primary")
243
+ ), e !== "offline" && l.key !== "maintenance" && !(s && x === "home") && m.push(
244
+ N(
245
+ "home",
246
+ o,
247
+ /* @__PURE__ */ r(pe, { "aria-hidden": "true" }),
248
+ x === "home" ? "primary" : "secondary"
249
+ )
250
+ ), d && m.push(
251
+ N(
252
+ "support",
253
+ d,
254
+ /* @__PURE__ */ r(ue, { "aria-hidden": "true" }),
255
+ "ghost"
256
+ )
257
+ ), /* @__PURE__ */ r(
258
+ U,
259
+ {
260
+ ref: W,
261
+ "data-component": "error-page",
262
+ "data-status": String(e),
263
+ lang: n ?? void 0,
264
+ "aria-busy": n ? void 0 : !0,
265
+ dir: n && Ee.has(n) ? "rtl" : "ltr",
266
+ className: we({ layout: Y, surface: q, className: K }),
267
+ ...Q,
268
+ children: /* @__PURE__ */ E(
269
+ "div",
270
+ {
271
+ className: n ? "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center ds:[max-inline-size:32rem]" : "ds:invisible",
272
+ children: [
273
+ /* @__PURE__ */ r(se, { mood: O ?? l.mood }),
274
+ /* @__PURE__ */ E("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
275
+ /* @__PURE__ */ E(
276
+ X,
277
+ {
278
+ ref: C,
279
+ tabIndex: -1,
280
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:outline-none",
281
+ children: [
282
+ $ && typeof e == "number" && /* @__PURE__ */ r("span", { className: "type-label ds:text-[var(--muted-foreground)]", children: i("errorPage.statusLabel", { status: e }) }),
283
+ /* @__PURE__ */ r("span", { className: "type-title-page", children: G ?? i(`errorPage.status.${l.key}.title`) })
284
+ ]
285
+ }
286
+ ),
287
+ /* @__PURE__ */ r("p", { className: "type-body ds:text-[var(--muted-foreground)]", children: j ?? i(`errorPage.status.${l.key}.message`) }),
288
+ R && /* @__PURE__ */ r("p", { className: "type-body ds:font-semibold", children: i("errorPage.backAt", { time: R }) })
289
+ ] }),
290
+ m.length > 0 && /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]", children: m }),
291
+ v && /* @__PURE__ */ E("p", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: [
292
+ i("errorPage.reference", { id: v }),
293
+ /* @__PURE__ */ r("br", {}),
294
+ i("errorPage.referenceHint")
295
+ ] }),
296
+ H && /* @__PURE__ */ r(te, { decorative: !0, size: "sm", className: "ds:opacity-70" })
297
+ ]
298
+ }
299
+ )
300
+ }
301
+ );
302
+ }
303
+ );
304
+ Se.displayName = "ErrorPage";
305
+ export {
306
+ ve as E,
307
+ fe as a,
308
+ Se as b,
309
+ ye as e,
310
+ xe as r
311
+ };
312
+ //# sourceMappingURL=error-page-C15GfNEj.js.map