@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
@@ -7,12 +7,12 @@ import { u as me } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as Lt } from "./form-field-context-B3APVHKx.js";
8
8
  import { S as $t } from "./switch-OILsBLWo.js";
9
9
  import { u as Wt } from "./registry-DvAUVLHh.js";
10
- import { l as jt, m as qt, u as _t, g as zt, b as Bt, f as k, n as qe, s as _e, o as Yt, q as Ut, k as ge, a as Ht, d as Qt, t as Jt, r as ze, v as Be, w as Ye, p as Xt, x as Zt, D as ea, C as ta, y as aa, e as ra, z as J, h as sa, j as na, i as ve, c as ia } from "./date-picker-variants-eL6HjWvw.js";
11
- import { s as F } from "./subDays-BcNi04uf.js";
10
+ import { h as jt, j as qt, u as _t, g as Bt, b as zt, k as qe, l as Yt, s as Ut, a as Ht, d as Qt, t as Jt, m as _e, n as Be, r as ze, p as Xt, o as Zt, D as ea, C as ta, q as aa, e as ra, v as J, f as sa, c as ge, i as na } from "./date-picker-variants-pKAJfnWr.js";
11
+ import { f as k, s as Ye, d as ve, b as Ue, i as ia } from "./format-4HNwNGrN.js";
12
+ import { s as F } from "./subDays-CAUv47M1.js";
12
13
  import { C as oa } from "./calendar-days-BGWklvE-.js";
13
14
  import { C as da } from "./check-DrFSN__t.js";
14
- import { i as Ue } from "./isSameDay-DUEiAT0G.js";
15
- import { p as la } from "./parse-DvA97ro9.js";
15
+ import { p as la } from "./parse-JqixfsU0.js";
16
16
  function ca(s, l, g) {
17
17
  return jt(s, -1, g);
18
18
  }
@@ -250,7 +250,7 @@ const ua = {
250
250
  className: ot,
251
251
  id: dt
252
252
  }, lt) => {
253
- const { t: n, i18n: ke } = At(), A = Lt(), ae = dt ?? A.id, Re = A.disabled || nt, ct = A.invalid ? "error" : "default", u = _t(ke.language), m = zt(ke.language), ut = it ?? n("inputs.dateRangePicker.placeholder", "Select date range"), [pt, xe] = me({
253
+ const { t: n, i18n: ke } = At(), A = Lt(), ae = dt ?? A.id, Re = A.disabled || nt, ct = A.invalid ? "error" : "default", u = _t(ke.language), m = Bt(ke.language), ut = it ?? n("inputs.dateRangePicker.placeholder", "Select date range"), [pt, xe] = me({
254
254
  value: s,
255
255
  defaultValue: l ?? {},
256
256
  onChange: g
@@ -263,7 +263,7 @@ const ua = {
263
263
  value: ye,
264
264
  defaultValue: W(he ?? "day"),
265
265
  onChange: Ze
266
- }), z = W(mt ?? "day"), [C, B] = me({
266
+ }), B = W(mt ?? "day"), [C, z] = me({
267
267
  value: et,
268
268
  defaultValue: tt
269
269
  // onCompareChange needs the resolved range as its 2nd arg, so it is
@@ -275,7 +275,7 @@ const ua = {
275
275
  xe(e);
276
276
  },
277
277
  [xe]
278
- ), ht = Bt(Z, ee), bt = (e) => (Z ? ia(e, Z) : !1) || (ee ? ve(e, ee) : !1);
278
+ ), ht = zt(Z, ee), bt = (e) => (Z ? na(e, Z) : !1) || (ee ? ge(e, ee) : !1);
279
279
  je(() => {
280
280
  O && (T(o), E(C ?? !1), L(!1), $(!1), D.current = !1);
281
281
  }, [O]), je(() => {
@@ -310,7 +310,7 @@ const ua = {
310
310
  range: () => ({
311
311
  // `weekStartsOn` (when set) overrides the locale's first day; when
312
312
  // undefined date-fns falls back to the locale.
313
- from: _e(/* @__PURE__ */ new Date(), { locale: u, weekStartsOn: K }),
313
+ from: Ye(/* @__PURE__ */ new Date(), { locale: u, weekStartsOn: K }),
314
314
  to: qe(/* @__PURE__ */ new Date(), { locale: u, weekStartsOn: K })
315
315
  })
316
316
  },
@@ -319,7 +319,7 @@ const ua = {
319
319
  range: () => {
320
320
  const e = ca(/* @__PURE__ */ new Date());
321
321
  return {
322
- from: _e(e, { locale: u, weekStartsOn: K }),
322
+ from: Ye(e, { locale: u, weekStartsOn: K }),
323
323
  to: qe(e, { locale: u, weekStartsOn: K })
324
324
  };
325
325
  }
@@ -349,7 +349,7 @@ const ua = {
349
349
  if (!e.from || !e.to) return;
350
350
  if (t === "lastYear")
351
351
  return { from: He(e.from), to: He(e.to) };
352
- const d = ge(e.to, e.from), i = F(e.from, 1);
352
+ const d = ve(e.to, e.from), i = F(e.from, 1);
353
353
  return { from: F(i, d), to: i };
354
354
  }, Y = j && N, Me = j && (C ?? !1), h = Y ? y(a) : void 0, Rt = (() => {
355
355
  if (!(h != null && h.from) || !h.to) return;
@@ -357,15 +357,15 @@ const ua = {
357
357
  compareStart: e,
358
358
  compareEnd: t
359
359
  };
360
- return ge(t, e) >= 2 && (d.compareMiddle = { from: Ht(e, 1), to: F(t, 1) }), d;
360
+ return ve(t, e) >= 2 && (d.compareMiddle = { from: Ht(e, 1), to: F(t, 1) }), d;
361
361
  })(), Fe = (e) => {
362
362
  const t = {};
363
- return q && (t.granularity = z), Y && (t.compareRange = y(e)), t.granularity || t.compareRange ? t : void 0;
363
+ return q && (t.granularity = B), Y && (t.compareRange = y(e)), t.granularity || t.compareRange ? t : void 0;
364
364
  }, xt = (e) => {
365
365
  const t = e;
366
366
  gt(t), Y && p === "auto" && (f == null || f(!0, y(a, t)));
367
367
  }, Pt = (e) => {
368
- E(e), p === "auto" && (B(e), f == null || f(e, e ? y(a) : void 0));
368
+ E(e), p === "auto" && (z(e), f == null || f(e, e ? y(a) : void 0));
369
369
  }, oe = We(
370
370
  (e) => {
371
371
  T(e), p === "auto" && e.from && e.to && x(e);
@@ -385,19 +385,19 @@ const ua = {
385
385
  return;
386
386
  }
387
387
  const i = la(t, m, /* @__PURE__ */ new Date(), { locale: u });
388
- if (!na(i) || bt(i)) {
388
+ if (!ia(i) || bt(i)) {
389
389
  d(!0);
390
390
  return;
391
391
  }
392
392
  d(!1);
393
393
  let P;
394
- e === "from" ? P = a.to && ve(i, a.to) ? { from: i, to: void 0 } : { from: i, to: a.to } : P = a.from && ve(a.from, i) ? { from: i, to: void 0 } : { from: a.from, to: i }, re(i), oe(P);
394
+ e === "from" ? P = a.to && ge(i, a.to) ? { from: i, to: void 0 } : { from: i, to: a.to } : P = a.from && ge(a.from, i) ? { from: i, to: void 0 } : { from: a.from, to: i }, re(i), oe(P);
395
395
  }, Ke = (e) => (t) => {
396
396
  t.key === "Enter" && (t.preventDefault(), de(e, e === "from" ? Pe : De));
397
397
  }, St = () => {
398
398
  T({}), L(!1), $(!1), p === "auto" && x({});
399
399
  }, wt = !!(a.from && a.to), It = !a.from && !a.to, Ae = (wt || It) && !G && !V, le = () => {
400
- Ae && (x(a), j && N !== (C ?? !1) && (B(N), f == null || f(
400
+ Ae && (x(a), j && N !== (C ?? !1) && (z(N), f == null || f(
401
401
  N,
402
402
  N ? y(a) : void 0
403
403
  )), w == null || w(a, Fe(a))), D.current = !0, R(!1);
@@ -426,18 +426,18 @@ const ua = {
426
426
  return n("inputs.dateRangePicker.selectStart", "Select start date");
427
427
  if (!a.to)
428
428
  return n("inputs.dateRangePicker.selectEnd", "Select end date");
429
- const e = ge(a.to, a.from) + 1, t = k(a.from, m, { locale: u }), d = k(a.to, m, { locale: u }), i = n("inputs.dateRangePicker.days", { count: e });
429
+ const e = ve(a.to, a.from) + 1, t = k(a.from, m, { locale: u }), d = k(a.to, m, { locale: u }), i = n("inputs.dateRangePicker.days", { count: e });
430
430
  return `${t} – ${d} · ${i}`;
431
431
  })(), v = fe({
432
432
  currentValue: o,
433
433
  open: O,
434
- getGranularity: () => q ? z : void 0,
434
+ getGranularity: () => q ? B : void 0,
435
435
  setGranularity: (e) => se(W(e)),
436
436
  getCompareRange: () => Me ? y(o) : void 0,
437
437
  // Imperative/agent path commits directly (like setRange/clear), so
438
438
  // toggle_compare reflects in getCompareRange immediately — not a draft.
439
439
  setCompare: (e) => {
440
- E(e), B(e), f == null || f(
440
+ E(e), z(e), f == null || f(
441
441
  e,
442
442
  e ? y(o) : void 0
443
443
  );
@@ -450,11 +450,11 @@ const ua = {
450
450
  v.current = {
451
451
  currentValue: o,
452
452
  open: O,
453
- getGranularity: () => q ? z : void 0,
453
+ getGranularity: () => q ? B : void 0,
454
454
  setGranularity: (e) => se(W(e)),
455
455
  getCompareRange: () => Me ? y(o) : void 0,
456
456
  setCompare: (e) => {
457
- E(e), B(e), f == null || f(
457
+ E(e), z(e), f == null || f(
458
458
  e,
459
459
  e ? y(o) : void 0
460
460
  );
@@ -556,7 +556,7 @@ const ua = {
556
556
  q ? /* @__PURE__ */ r(
557
557
  Q.Root,
558
558
  {
559
- value: z,
559
+ value: B,
560
560
  onValueChange: (e) => se(
561
561
  W(e)
562
562
  ),
@@ -569,7 +569,7 @@ const ua = {
569
569
  Q.Item,
570
570
  {
571
571
  value: e.value,
572
- className: ze(),
572
+ className: _e(),
573
573
  children: n(
574
574
  `inputs.dateRangePicker.granularity.${e.value}`,
575
575
  e.fallback
@@ -603,7 +603,7 @@ const ua = {
603
603
  onChange: (e) => Ne(e.target.value),
604
604
  onBlur: (e) => de("from", e.target.value),
605
605
  onKeyDown: Ke("from"),
606
- className: Ye({
606
+ className: ze({
607
607
  state: $e("from")
608
608
  })
609
609
  }
@@ -639,7 +639,7 @@ const ua = {
639
639
  onChange: (e) => Se(e.target.value),
640
640
  onBlur: (e) => de("to", e.target.value),
641
641
  onKeyDown: Ke("to"),
642
- className: Ye({
642
+ className: ze({
643
643
  state: $e("to")
644
644
  })
645
645
  }
@@ -771,7 +771,7 @@ const ua = {
771
771
  Q.Item,
772
772
  {
773
773
  value: e.value,
774
- className: ze(),
774
+ className: _e(),
775
775
  children: n(
776
776
  `inputs.dateRangePicker.compareMode.${e.value}`,
777
777
  e.fallback
@@ -846,4 +846,4 @@ export {
846
846
  fa as D,
847
847
  ua as d
848
848
  };
849
- //# sourceMappingURL=date-range-picker-pEG3Ln3i.js.map
849
+ //# sourceMappingURL=date-range-picker-CDrZ8Zh0.js.map
@@ -7,9 +7,9 @@ import { u as me } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as pe } from "./form-field-context-B3APVHKx.js";
8
8
  import { T as fe } from "./time-picker-BPlJWm8w.js";
9
9
  import { u as ge } from "./registry-DvAUVLHh.js";
10
- import { u as he, b as ve, c as be, i as ye, f as Te, d as ke, t as we, D as Ce, C as De, e as Pe, h as xe } from "./date-picker-variants-eL6HjWvw.js";
10
+ import { u as he, b as ve, i as be, c as ye, d as Te, t as ke, D as we, C as Ce, e as De, f as Pe } from "./date-picker-variants-pKAJfnWr.js";
11
+ import { t as A, f as xe } from "./format-4HNwNGrN.js";
11
12
  import { C as Oe } from "./calendar-days-BGWklvE-.js";
12
- import { t as A } from "./isSameDay-DUEiAT0G.js";
13
13
  function K(e, t, r) {
14
14
  const i = A(e, r == null ? void 0 : r.in);
15
15
  return i.setHours(t), i;
@@ -203,7 +203,7 @@ const Ve = ce(
203
203
  }
204
204
  b(o), v(!1), (a = L.current) == null || a.focus();
205
205
  }
206
- }, H = n ? Te(n, "MMM d, yyyy HH:mm", { locale: M }) : "", re = l("inputs.datePicker.gridLabel", "Calendar"), ie = l("inputs.timePicker.groupLabel", "Time"), x = de(
206
+ }, H = n ? xe(n, "MMM d, yyyy HH:mm", { locale: M }) : "", re = l("inputs.datePicker.gridLabel", "Calendar"), ie = l("inputs.timePicker.groupLabel", "Time"), x = de(
207
207
  () => ({
208
208
  getValue: () => n,
209
209
  setValue: (a) => b(a),
@@ -235,7 +235,7 @@ const Ve = ce(
235
235
  "aria-invalid": c.invalid || void 0,
236
236
  "aria-haspopup": "dialog",
237
237
  "aria-expanded": h,
238
- className: we({ size: f, tone: q }),
238
+ className: ke({ size: f, tone: q }),
239
239
  children: [
240
240
  /* @__PURE__ */ s(
241
241
  "span",
@@ -248,7 +248,7 @@ const Ve = ce(
248
248
  "span",
249
249
  {
250
250
  "aria-hidden": "true",
251
- className: ke({ size: f }),
251
+ className: Te({ size: f }),
252
252
  children: /* @__PURE__ */ s(Oe, {})
253
253
  }
254
254
  )
@@ -260,10 +260,10 @@ const Ve = ce(
260
260
  {
261
261
  sideOffset: 4,
262
262
  align: "start",
263
- className: xe(),
263
+ className: Pe(),
264
264
  children: /* @__PURE__ */ y("div", { className: "ds:flex ds:flex-col ds:sm:flex-row ds:gap-[var(--spacing-md)]", children: [
265
265
  /* @__PURE__ */ s("div", { role: "region", "aria-label": re, children: /* @__PURE__ */ s(
266
- Ce,
266
+ we,
267
267
  {
268
268
  mode: "single",
269
269
  selected: o,
@@ -274,8 +274,8 @@ const Ve = ce(
274
274
  locale: M,
275
275
  showOutsideDays: !0,
276
276
  fixedWeeks: !0,
277
- classNames: Pe,
278
- components: { Chevron: De }
277
+ classNames: De,
278
+ components: { Chevron: Ce }
279
279
  }
280
280
  ) }),
281
281
  /* @__PURE__ */ y(
@@ -333,4 +333,4 @@ export {
333
333
  Ie as D,
334
334
  Ne as d
335
335
  };
336
- //# sourceMappingURL=date-time-picker-695QvBGj.js.map
336
+ //# sourceMappingURL=date-time-picker-DafkGDGO.js.map
@@ -1,4 +1,4 @@
1
- import { A as s, B as n, E as o, F as u } from "./date-picker-variants-eL6HjWvw.js";
1
+ import { g as s, h as n, j as o, k as u } from "./format-4HNwNGrN.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  standalone: {
@@ -353,7 +353,7 @@ const d = {
353
353
  formattingValues: W,
354
354
  defaultFormattingWidth: "wide"
355
355
  })
356
- }, D = /^(\d+)(\.)?/i, k = /\d+/i, z = {
356
+ }, k = /^(\d+)(\.)?/i, D = /\d+/i, z = {
357
357
  narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
358
358
  abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
359
359
  wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
@@ -424,8 +424,8 @@ const d = {
424
424
  }
425
425
  }, T = {
426
426
  ordinalNumber: u({
427
- matchPattern: D,
428
- parsePattern: k,
427
+ matchPattern: k,
428
+ parsePattern: D,
429
429
  valueCallback: (t) => parseInt(t)
430
430
  }),
431
431
  era: o({
@@ -459,7 +459,7 @@ const d = {
459
459
  parsePatterns: V,
460
460
  defaultParseWidth: "any"
461
461
  })
462
- }, E = {
462
+ }, O = {
463
463
  code: "de",
464
464
  formatDistance: m,
465
465
  formatLong: M,
@@ -472,6 +472,6 @@ const d = {
472
472
  }
473
473
  };
474
474
  export {
475
- E as de
475
+ O as de
476
476
  };
477
- //# sourceMappingURL=de-DmZ-8rTN.js.map
477
+ //# sourceMappingURL=de-3iM4rGqo.js.map
@@ -6,7 +6,7 @@ import { B as b } from "./badge-DCOqV9mI.js";
6
6
  import { C as B } from "./card-DPmk26CL.js";
7
7
  import { E as G } from "./empty-state-CrLsi0XI.js";
8
8
  import { P as Y } from "./panel-header-D313n_9-.js";
9
- import { P as J } from "./pdf-viewer-Ddx-T053.js";
9
+ import { P as J } from "./pdf-viewer-DUIsV9s5.js";
10
10
  import { T as O, b as Q, c as X, a as Z } from "./tabs-CBb2AidH.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { F as ie, a as te } from "./file-Cwe9VC1A.js";
@@ -287,4 +287,4 @@ export {
287
287
  ue as D,
288
288
  de as d
289
289
  };
290
- //# sourceMappingURL=document-preview-D3gg4MXB.js.map
290
+ //# sourceMappingURL=document-preview-DOrsqiN1.js.map