@alfadocs/ui-kit 1.3.13 → 1.4.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 (185) hide show
  1. package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js +28 -0
  2. package/dist/_chunks/{alia-sidebar-DzNz1gDf.js → alia-sidebar-DSBZMick.js} +3 -3
  3. package/dist/_chunks/{anamnesis-i18n-CfC0qYzy.js → anamnesis-i18n-BA631X4t.js} +2209 -2144
  4. package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js → antenatal-schedule-timeline-u8TsS2QJ.js} +27 -26
  5. package/dist/_chunks/{appointment-timeline-B630OT_J.js → appointment-timeline-Bqf1sTU5.js} +2 -2
  6. package/dist/_chunks/{ar-THMLfSoN.js → ar-BR1FGFP2.js} +14 -14
  7. package/dist/_chunks/{bmi-calculator-CM0-G2mg.js → bmi-calculator-CpyY13MV.js} +2 -2
  8. package/dist/_chunks/{booking-DjNbd7C1.js → booking-BjsA7j1-.js} +699 -688
  9. package/dist/_chunks/calculator-dialog-12d3Sxaz.js +48 -0
  10. package/dist/_chunks/{care-plan-card-1G_f4I5s.js → care-plan-card-BvQy366X.js} +3 -3
  11. package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js → care-plan-entry-card-apk_5B3O.js} +2 -2
  12. package/dist/_chunks/{chat-container-HlFnoEIl.js → chat-container-CYYego1W.js} +105 -81
  13. package/dist/_chunks/cycle-calculator-B7fyH-h4.js +425 -0
  14. package/dist/_chunks/{date-picker-ZHejTVAJ.js → date-picker-Bp64zk2p.js} +19 -19
  15. package/dist/_chunks/date-picker-variants-pKAJfnWr.js +2089 -0
  16. package/dist/_chunks/{date-range-picker-pEG3Ln3i.js → date-range-picker-CDrZ8Zh0.js} +27 -27
  17. package/dist/_chunks/{date-time-picker-695QvBGj.js → date-time-picker-DafkGDGO.js} +10 -10
  18. package/dist/_chunks/{de-DmZ-8rTN.js → de-3iM4rGqo.js} +7 -7
  19. package/dist/_chunks/{document-preview-D3gg4MXB.js → document-preview-DOrsqiN1.js} +2 -2
  20. package/dist/_chunks/due-date-calculator-CnkbbAej.js +571 -0
  21. package/dist/_chunks/{editor-overlay-DE3esyio.js → editor-overlay-B1tr2i7B.js} +22 -21
  22. package/dist/_chunks/{el-Bela9mxs.js → el-C96rGJvU.js} +2 -2
  23. package/dist/_chunks/{es-BNncHKex.js → es-Cxiqjx8r.js} +12 -12
  24. package/dist/_chunks/fetal-weight-avlj-l-S.js +223 -0
  25. package/dist/_chunks/format-4HNwNGrN.js +1315 -0
  26. package/dist/_chunks/{fr-CH8ADfhN.js → fr-Bhr6SYKj.js} +21 -21
  27. package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js → freemium-paywall-DRDdWuOg.js} +3 -3
  28. package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js +488 -0
  29. package/dist/_chunks/hcg-doubling-Cv_vH61p.js +312 -0
  30. package/dist/_chunks/header-settings-Cn5fPXCE.js +335 -0
  31. package/dist/_chunks/{hi-Bppfxp8l.js → hi-BxXX26d_.js} +12 -12
  32. package/dist/_chunks/isSameWeek-B73MagWB.js +13 -0
  33. package/dist/_chunks/{it-B4ySaRyK.js → it-Xmjomvyj.js} +24 -24
  34. package/dist/_chunks/{ja-CGF6Io9P.js → ja-mfZvt1ZV.js} +16 -16
  35. package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js → link-cell-renderer-CJ_gk7gl.js} +3 -3
  36. package/dist/_chunks/{locale-picker-BfBUdT1m.js → locale-picker-D9Kv2zrK.js} +153 -132
  37. package/dist/_chunks/map-view-2yZCQW2l.js +445 -0
  38. package/dist/_chunks/{marketplace-app-shell-DwcFMxzp.js → marketplace-app-shell-BLRvg-M0.js} +49 -40
  39. package/dist/_chunks/{nl-DuShqwuV.js → nl-DDs-KEnD.js} +15 -15
  40. package/dist/_chunks/{notes-panel-DPsgB4Mv.js → notes-panel-CiFN3sLW.js} +2 -2
  41. package/dist/_chunks/{number-input-DrozbZAU.js → number-input-DOe5VYei.js} +64 -64
  42. package/dist/_chunks/{optical-prescription-BDHJr8Zz.js → optical-prescription-CRemE8fL.js} +2 -2
  43. package/dist/_chunks/{parse-DvA97ro9.js → parse-JqixfsU0.js} +43 -43
  44. package/dist/_chunks/parseISO-fOGpHKXm.js +120 -0
  45. package/dist/_chunks/{patient-details-DqjjwPmt.js → patient-details-CpunD0qx.js} +3 -3
  46. package/dist/_chunks/{patient-table-BmIDrLIS.js → patient-table-2eWx-Rrk.js} +2 -2
  47. package/dist/_chunks/{payment-form-h-BZ8onk.js → payment-form-Ds1I9KqB.js} +308 -231
  48. package/dist/_chunks/{pdf-viewer-Ddx-T053.js → pdf-viewer-DUIsV9s5.js} +429 -369
  49. package/dist/_chunks/{pl-CKQwX9Fk.js → pl-BYYMnEWP.js} +18 -18
  50. package/dist/_chunks/{practice-results-B-HPc13W.js → practice-results-SjCniMd2.js} +2 -2
  51. package/dist/_chunks/pregnancy-dating-BmpHScZ0.js +770 -0
  52. package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js +553 -0
  53. package/dist/_chunks/progress-CK8otcQ-.js +343 -0
  54. package/dist/_chunks/{pt-_njpXyOZ.js → pt-BSPnVrQ7.js} +20 -20
  55. package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js → radiograph-panel.agent-CtFtNMzk.js} +3 -3
  56. package/dist/_chunks/{rich-text-editor-CfeXPPWs.js → rich-text-editor-BedTpWzL.js} +2 -2
  57. package/dist/_chunks/{ro-3X6_4FcN.js → ro-BbiylGmG.js} +14 -14
  58. package/dist/_chunks/{ru-bAcgmnS-.js → ru-BX_qsV67.js} +14 -14
  59. package/dist/_chunks/{session-countdown-Bc70VXN1.js → session-countdown-BL-Psg8u.js} +2 -2
  60. package/dist/_chunks/{sign-document-CW_ByDUh.js → sign-document-jF4fZDJ5.js} +2 -2
  61. package/dist/_chunks/slot-grid-DNiUcXy2.js +640 -0
  62. package/dist/_chunks/{sparkline-BTY4B5tv.js → sparkline-BmGcEyZO.js} +209 -164
  63. package/dist/_chunks/{sq-jYFqr4Ga.js → sq-i9UOk4P7.js} +10 -10
  64. package/dist/_chunks/subDays-CAUv47M1.js +8 -0
  65. package/dist/_chunks/{sv-BSGEJ-8B.js → sv-CpTdtmDQ.js} +8 -8
  66. package/dist/_chunks/{tab-bar-Axhk6xzx.js → tab-bar-BYESZINM.js} +83 -77
  67. package/dist/_chunks/task-card.agent-CF2N_uu4.js +29 -0
  68. package/dist/_chunks/{tr-CTpgUtw6.js → tr-DXG2QN1K.js} +17 -17
  69. package/dist/_chunks/{unit-converter-COgkN7YP.js → unit-converter-CHPDuV7W.js} +2 -2
  70. package/dist/_chunks/{warning-stack-BtjmJChC.js → warning-stack-B7t_8jRE.js} +42 -37
  71. package/dist/_chunks/{zh-CN-BgM0Io2O.js → zh-CN-vPkPEK6H.js} +18 -18
  72. package/dist/agent-catalog.json +6426 -3382
  73. package/dist/agent-i18n/en.json +234 -15
  74. package/dist/components/agenda-card/index.js +1 -1
  75. package/dist/components/appointment-timeline/index.js +1 -1
  76. package/dist/components/bmi-calculator/index.js +1 -1
  77. package/dist/components/booking/index.js +1 -1
  78. package/dist/components/calculator-dialog/index.js +1 -1
  79. package/dist/components/care-plan-card/index.js +1 -1
  80. package/dist/components/care-plan-entry-card/index.js +1 -1
  81. package/dist/components/chat-container/chat-container.d.ts +14 -0
  82. package/dist/components/chat-container/index.js +1 -1
  83. package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts +4 -0
  84. package/dist/components/cycle-calculator/cycle-calculator.d.ts +42 -0
  85. package/dist/components/cycle-calculator/index.d.ts +1 -1
  86. package/dist/components/cycle-calculator/index.js +1 -1
  87. package/dist/components/data-table/index.js +1 -1
  88. package/dist/components/date-picker/index.js +1 -1
  89. package/dist/components/date-range-picker/index.js +1 -1
  90. package/dist/components/date-time-picker/index.js +1 -1
  91. package/dist/components/document-preview/index.js +1 -1
  92. package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts +4 -0
  93. package/dist/components/due-date-calculator/due-date-calculator.d.ts +61 -1
  94. package/dist/components/due-date-calculator/index.d.ts +1 -1
  95. package/dist/components/due-date-calculator/index.js +2 -2
  96. package/dist/components/editor-overlay/editor-overlay.d.ts +7 -1
  97. package/dist/components/editor-overlay/index.js +1 -1
  98. package/dist/components/fetal-weight/fetal-weight.agent.d.ts +4 -0
  99. package/dist/components/fetal-weight/fetal-weight.d.ts +26 -0
  100. package/dist/components/fetal-weight/index.d.ts +1 -1
  101. package/dist/components/fetal-weight/index.js +1 -1
  102. package/dist/components/freemium-paywall/index.js +1 -1
  103. package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts +4 -0
  104. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +44 -2
  105. package/dist/components/gestational-age-calculator/index.d.ts +1 -1
  106. package/dist/components/gestational-age-calculator/index.js +1 -1
  107. package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts +4 -0
  108. package/dist/components/hcg-doubling/hcg-doubling.d.ts +30 -0
  109. package/dist/components/hcg-doubling/index.d.ts +1 -1
  110. package/dist/components/hcg-doubling/index.js +1 -1
  111. package/dist/components/header-settings/header-settings.d.ts +13 -1
  112. package/dist/components/header-settings/index.js +1 -1
  113. package/dist/components/locale-picker/index.js +1 -1
  114. package/dist/components/locale-picker/locale-picker.d.ts +9 -0
  115. package/dist/components/map-view/index.js +1 -1
  116. package/dist/components/map-view/map-view.d.ts +22 -0
  117. package/dist/components/notes-panel/index.js +1 -1
  118. package/dist/components/number-input/index.js +1 -1
  119. package/dist/components/number-input/number-input.d.ts +2 -1
  120. package/dist/components/optical-prescription/index.js +1 -1
  121. package/dist/components/patient-details/index.js +1 -1
  122. package/dist/components/patient-table/index.js +1 -1
  123. package/dist/components/payment-form/index.d.ts +1 -1
  124. package/dist/components/payment-form/index.js +1 -1
  125. package/dist/components/payment-form/payment-form.d.ts +32 -1
  126. package/dist/components/pdf-viewer/index.js +1 -1
  127. package/dist/components/pdf-viewer/pdf-viewer.d.ts +13 -0
  128. package/dist/components/practice-results/index.js +1 -1
  129. package/dist/components/pregnancy-dating/index.d.ts +1 -1
  130. package/dist/components/pregnancy-dating/index.js +1 -1
  131. package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts +4 -0
  132. package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +65 -1
  133. package/dist/components/pregnancy-weight-gain/index.d.ts +2 -1
  134. package/dist/components/pregnancy-weight-gain/index.js +6 -5
  135. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts +4 -0
  136. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +35 -0
  137. package/dist/components/progress/index.js +1 -1
  138. package/dist/components/progress/progress.d.ts +13 -0
  139. package/dist/components/radiograph-panel/index.js +1 -1
  140. package/dist/components/rich-text-editor/index.js +1 -1
  141. package/dist/components/session-countdown/index.js +1 -1
  142. package/dist/components/sign-document/index.js +1 -1
  143. package/dist/components/slot-grid/index.d.ts +2 -1
  144. package/dist/components/slot-grid/index.js +5 -4
  145. package/dist/components/slot-grid/slot-grid.agent.d.ts +4 -0
  146. package/dist/components/slot-grid/slot-grid.d.ts +34 -0
  147. package/dist/components/sparkline/index.js +1 -1
  148. package/dist/components/sparkline/sparkline.d.ts +10 -0
  149. package/dist/components/tab-bar/index.js +1 -1
  150. package/dist/components/tab-bar/tab-bar.d.ts +13 -0
  151. package/dist/components/task-card/index.js +1 -1
  152. package/dist/components/unit-converter/index.js +1 -1
  153. package/dist/components/warning-stack/index.js +1 -1
  154. package/dist/index.js +630 -627
  155. package/dist/patterns/alia-assistant/index.js +1 -1
  156. package/dist/patterns/anamnesis/anamnesis-derive.d.ts +27 -8
  157. package/dist/patterns/anamnesis/anamnesis-format.d.ts +11 -3
  158. package/dist/patterns/anamnesis/anamnesis-highlight.d.ts +6 -0
  159. package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +23 -9
  160. package/dist/patterns/anamnesis/anamnesis-types.d.ts +7 -0
  161. package/dist/patterns/anamnesis/anamnesis.d.ts +16 -7
  162. package/dist/patterns/anamnesis/index.d.ts +3 -2
  163. package/dist/patterns/anamnesis/index.js +7 -6
  164. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  165. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +6 -0
  166. package/dist/tokens.css +1 -1
  167. package/package.json +1 -1
  168. package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js +0 -27
  169. package/dist/_chunks/calculator-dialog-DuXMQSdm.js +0 -40
  170. package/dist/_chunks/cycle-calculator-BwqYVPB4.js +0 -252
  171. package/dist/_chunks/date-picker-variants-eL6HjWvw.js +0 -3363
  172. package/dist/_chunks/due-date-calculator-CwfsFd3T.js +0 -256
  173. package/dist/_chunks/fetal-weight-ePlLjJPc.js +0 -122
  174. package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js +0 -311
  175. package/dist/_chunks/hcg-doubling-BBqD2wI2.js +0 -170
  176. package/dist/_chunks/header-settings--pjYOe6g.js +0 -284
  177. package/dist/_chunks/isSameDay-DUEiAT0G.js +0 -39
  178. package/dist/_chunks/isSameWeek-CK4HS9lH.js +0 -14
  179. package/dist/_chunks/map-view-CsaHfoo6.js +0 -378
  180. package/dist/_chunks/pregnancy-dating-DzYTlBkT.js +0 -421
  181. package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js +0 -322
  182. package/dist/_chunks/progress-DA413-zn.js +0 -299
  183. package/dist/_chunks/slot-grid-CQSULZjd.js +0 -502
  184. package/dist/_chunks/subDays-BcNi04uf.js +0 -8
  185. package/dist/_chunks/task-card.agent-Bt14CzUd.js +0 -25
@@ -1,4 +1,4 @@
1
- import { jsxs as u, jsx as e, Fragment as an } from "react/jsx-runtime";
1
+ import { jsxs as u, jsx as e, Fragment as on } from "react/jsx-runtime";
2
2
  import { forwardRef as cn, useId as P, useState as y, useEffect as f, useMemo as U, useRef as N, useCallback as b } from "react";
3
3
  import { c as dn } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ln } from "react-i18next";
@@ -43,27 +43,27 @@ function xn() {
43
43
  const i = window.getComputedStyle(document.documentElement).getPropertyValue("--animation-duration").trim(), l = parseFloat(i);
44
44
  return Number.isFinite(l) ? i.endsWith("ms") ? l : l * 1e3 : 200;
45
45
  }
46
- function kn(a, i) {
46
+ function kn(o, i) {
47
47
  return [
48
48
  "ds:grid ds:transition-[grid-template-rows]",
49
49
  "ds:duration-[var(--animation-duration)]",
50
50
  "ds:motion-reduce:transition-none",
51
- a ? "ds:grid-rows-[0fr]" : "ds:grid-rows-[1fr]",
51
+ o ? "ds:grid-rows-[0fr]" : "ds:grid-rows-[1fr]",
52
52
  i ? "ds:h-full ds:self-stretch" : ""
53
53
  ].filter(Boolean).join(" ");
54
54
  }
55
- function yn(a, i) {
55
+ function yn(o, i) {
56
56
  return [
57
57
  "ds:min-h-0",
58
58
  "ds:transition-opacity ds:duration-[var(--animation-duration)]",
59
59
  "ds:motion-reduce:transition-none",
60
- a ? "ds:opacity-0 ds:overflow-hidden" : "ds:opacity-100",
60
+ o ? "ds:opacity-0 ds:overflow-hidden" : "ds:opacity-100",
61
61
  i ? "ds:pointer-events-none" : ""
62
62
  ].filter(Boolean).join(" ");
63
63
  }
64
64
  const Nn = cn(
65
65
  ({
66
- items: a,
66
+ items: o,
67
67
  title: i,
68
68
  description: l,
69
69
  maxVisible: m = 2,
@@ -84,13 +84,13 @@ const Nn = cn(
84
84
  f(() => {
85
85
  j((n) => {
86
86
  if (n.size === 0) return n;
87
- const t = new Set(a.map((c) => c.id)), o = new Set([...n].filter((c) => t.has(c)));
88
- return o.size === n.size ? n : o;
87
+ const t = new Set(o.map((c) => c.id)), a = new Set([...n].filter((c) => t.has(c)));
88
+ return a.size === n.size ? n : a;
89
89
  });
90
- }, [a]);
90
+ }, [o]);
91
91
  const r = U(
92
- () => a.filter((n) => !R.has(n.id)),
93
- [a, R]
92
+ () => o.filter((n) => !R.has(n.id)),
93
+ [o, R]
94
94
  ), v = m !== void 0 && r.length > m, [h, Y] = y(V), L = N(null), z = N(r.length);
95
95
  f(() => {
96
96
  if (!L.current) return;
@@ -128,20 +128,20 @@ const Nn = cn(
128
128
  k.current = null;
129
129
  const t = q.current;
130
130
  if (!t) return;
131
- const o = Array.from(
131
+ const a = Array.from(
132
132
  t.querySelectorAll("[data-alert-dismiss]")
133
- ), c = o[Math.min(n, o.length - 1)];
133
+ ), c = a[Math.min(n, a.length - 1)];
134
134
  c ? c.focus() : F && t.focus();
135
135
  });
136
136
  const tn = b(
137
- (n, t) => (o) => {
138
- o || (k.current = t, j((c) => new Set(c).add(n.id)), p == null || p(n));
137
+ (n, t) => (a) => {
138
+ a || (k.current = t, j((c) => new Set(c).add(n.id)), p == null || p(n));
139
139
  },
140
140
  [p]
141
141
  ), en = b(() => {
142
142
  j((n) => {
143
143
  const t = new Set(n);
144
- for (const o of r) t.add(o.id);
144
+ for (const a of r) t.add(a.id);
145
145
  return t;
146
146
  }), w == null || w();
147
147
  }, [r, w]), sn = b(() => Y((n) => !n), []), rn = J ?? d("warningStack.regionLabel", "Warnings"), G = i ? /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
@@ -154,7 +154,7 @@ const Nn = cn(
154
154
  }
155
155
  ),
156
156
  l ? /* @__PURE__ */ e("p", { className: "ds:text-start type-body-sm ds:text-[var(--muted-foreground)]", children: l }) : null
157
- ] }) : /* @__PURE__ */ e("h2", { id: I, className: "ds:sr-only", children: rn }), on = X && A ? /* @__PURE__ */ u("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
157
+ ] }) : /* @__PURE__ */ e("h2", { id: I, className: "ds:sr-only", children: rn }), an = X && A ? /* @__PURE__ */ u("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
158
158
  G,
159
159
  /* @__PURE__ */ e(
160
160
  mn,
@@ -186,7 +186,7 @@ const Nn = cn(
186
186
  className: [pn({ stretch: M }), K].filter(Boolean).join(" "),
187
187
  ...Q,
188
188
  children: [
189
- on,
189
+ an,
190
190
  F ? null : /* @__PURE__ */ e(
191
191
  "div",
192
192
  {
@@ -196,7 +196,7 @@ const Nn = cn(
196
196
  className: "ds:sr-only"
197
197
  }
198
198
  ),
199
- A ? /* @__PURE__ */ u(an, { children: [
199
+ A ? /* @__PURE__ */ u(on, { children: [
200
200
  /* @__PURE__ */ e("div", { className: "ds:@container/warning-stack", children: /* @__PURE__ */ e(
201
201
  "ul",
202
202
  {
@@ -204,23 +204,28 @@ const Nn = cn(
204
204
  className: wn,
205
205
  "aria-label": d("warningStack.listLabel", "Notices"),
206
206
  children: Z.map((n, t) => {
207
- const o = n.variant ?? "warning";
208
- return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ u(
209
- C,
210
- {
211
- variant: o,
212
- dismissible: n.dismissible,
213
- icon: n.icon,
214
- onOpenChange: tn(n, t),
215
- clamp: !0,
216
- className: "ds:h-full",
217
- children: [
218
- /* @__PURE__ */ e(C.Title, { as: "h3", children: n.title }),
219
- n.description ? /* @__PURE__ */ e(C.Description, { children: n.description }) : null,
220
- n.actions ? /* @__PURE__ */ e(C.Action, { children: n.actions }) : null
221
- ]
222
- }
223
- ) }, n.id);
207
+ const a = n.variant ?? "warning";
208
+ return (
209
+ // `data-warning-id` is the per-notice agent hook: it
210
+ // makes one warning addressable in the DOM, and its
211
+ // dismiss control is the nested `[data-alert-dismiss]`.
212
+ /* @__PURE__ */ e("li", { "data-warning-id": n.id, children: /* @__PURE__ */ u(
213
+ C,
214
+ {
215
+ variant: a,
216
+ dismissible: n.dismissible,
217
+ icon: n.icon,
218
+ onOpenChange: tn(n, t),
219
+ clamp: !0,
220
+ className: "ds:h-full",
221
+ children: [
222
+ /* @__PURE__ */ e(C.Title, { as: "h3", children: n.title }),
223
+ n.description ? /* @__PURE__ */ e(C.Description, { children: n.description }) : null,
224
+ n.actions ? /* @__PURE__ */ e(C.Action, { children: n.actions }) : null
225
+ ]
226
+ }
227
+ ) }, n.id)
228
+ );
224
229
  })
225
230
  }
226
231
  ) }),
@@ -265,4 +270,4 @@ Nn.displayName = "WarningStack";
265
270
  export {
266
271
  Nn as W
267
272
  };
268
- //# sourceMappingURL=warning-stack-BtjmJChC.js.map
273
+ //# sourceMappingURL=warning-stack-B7t_8jRE.js.map
@@ -1,5 +1,5 @@
1
- import { A as s, B as i, E as o, F as m } from "./date-picker-variants-eL6HjWvw.js";
2
- import { i as u } from "./isSameWeek-CK4HS9lH.js";
1
+ import { g as s, h as i, j as o, k as m } from "./format-4HNwNGrN.js";
2
+ import { i as u } from "./isSameWeek-B73MagWB.js";
3
3
  const c = {
4
4
  lessThanXSeconds: {
5
5
  one: "不到 1 秒",
@@ -229,7 +229,7 @@ const b = {
229
229
  evening: "晚上",
230
230
  night: "夜间"
231
231
  }
232
- }, F = (e, n) => {
232
+ }, S = (e, n) => {
233
233
  const t = Number(e);
234
234
  switch (n == null ? void 0 : n.unit) {
235
235
  case "date":
@@ -243,8 +243,8 @@ const b = {
243
243
  default:
244
244
  return "第 " + t.toString();
245
245
  }
246
- }, S = {
247
- ordinalNumber: F,
246
+ }, x = {
247
+ ordinalNumber: S,
248
248
  era: i({
249
249
  values: w,
250
250
  defaultWidth: "wide"
@@ -268,7 +268,7 @@ const b = {
268
268
  formattingValues: k,
269
269
  defaultFormattingWidth: "wide"
270
270
  })
271
- }, x = /^(第\s*)?\d+(日|时|分|秒)?/i, z = /\d+/i, D = {
271
+ }, z = /^(第\s*)?\d+(日|时|分|秒)?/i, F = /\d+/i, D = {
272
272
  narrow: /^(前)/i,
273
273
  abbreviated: /^(前)/i,
274
274
  wide: /^(公元前|公元)/i
@@ -278,13 +278,13 @@ const b = {
278
278
  narrow: /^[1234]/i,
279
279
  abbreviated: /^第[一二三四]刻/i,
280
280
  wide: /^第[一二三四]刻钟/i
281
- }, E = {
282
- any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
283
281
  }, N = {
282
+ any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
283
+ }, C = {
284
284
  narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
285
285
  abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
286
286
  wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i
287
- }, C = {
287
+ }, E = {
288
288
  narrow: [
289
289
  /^一/i,
290
290
  /^二/i,
@@ -335,8 +335,8 @@ const b = {
335
335
  }
336
336
  }, O = {
337
337
  ordinalNumber: m({
338
- matchPattern: x,
339
- parsePattern: z,
338
+ matchPattern: z,
339
+ parsePattern: F,
340
340
  valueCallback: (e) => parseInt(e, 10)
341
341
  }),
342
342
  era: o({
@@ -348,14 +348,14 @@ const b = {
348
348
  quarter: o({
349
349
  matchPatterns: X,
350
350
  defaultMatchWidth: "wide",
351
- parsePatterns: E,
351
+ parsePatterns: N,
352
352
  defaultParseWidth: "any",
353
353
  valueCallback: (e) => e + 1
354
354
  }),
355
355
  month: o({
356
- matchPatterns: N,
356
+ matchPatterns: C,
357
357
  defaultMatchWidth: "wide",
358
- parsePatterns: C,
358
+ parsePatterns: E,
359
359
  defaultParseWidth: "any"
360
360
  }),
361
361
  day: o({
@@ -370,12 +370,12 @@ const b = {
370
370
  parsePatterns: q,
371
371
  defaultParseWidth: "any"
372
372
  })
373
- }, H = {
373
+ }, Q = {
374
374
  code: "zh-CN",
375
375
  formatDistance: h,
376
376
  formatLong: P,
377
377
  formatRelative: y,
378
- localize: S,
378
+ localize: x,
379
379
  match: O,
380
380
  options: {
381
381
  weekStartsOn: 1,
@@ -383,6 +383,6 @@ const b = {
383
383
  }
384
384
  };
385
385
  export {
386
- H as zhCN
386
+ Q as zhCN
387
387
  };
388
- //# sourceMappingURL=zh-CN-BgM0Io2O.js.map
388
+ //# sourceMappingURL=zh-CN-vPkPEK6H.js.map