@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 { A as s, B as r, E as i, F as m } from "./date-picker-variants-eL6HjWvw.js";
1
+ import { g as s, h as r, j as i, k as m } from "./format-4HNwNGrN.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  one: "më pak se një sekondë",
@@ -143,7 +143,7 @@ const d = {
143
143
  short: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
144
144
  abbreviated: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Sht"],
145
145
  wide: ["Dielë", "Hënë", "Martë", "Mërkurë", "Enjte", "Premte", "Shtunë"]
146
- }, v = {
146
+ }, k = {
147
147
  narrow: {
148
148
  am: "p",
149
149
  pm: "m",
@@ -174,7 +174,7 @@ const d = {
174
174
  evening: "mbrëmje",
175
175
  night: "natë"
176
176
  }
177
- }, k = {
177
+ }, v = {
178
178
  narrow: {
179
179
  am: "p",
180
180
  pm: "m",
@@ -228,9 +228,9 @@ const d = {
228
228
  defaultWidth: "wide"
229
229
  }),
230
230
  dayPeriod: r({
231
- values: v,
231
+ values: k,
232
232
  defaultWidth: "wide",
233
- formattingValues: k,
233
+ formattingValues: v,
234
234
  defaultFormattingWidth: "wide"
235
235
  })
236
236
  }, W = /^(\d+)(-rë|-të|t|)?/i, D = /\d+/i, S = {
@@ -239,11 +239,11 @@ const d = {
239
239
  wide: /^(para krishtit|mbas krishtit)/i
240
240
  }, q = {
241
241
  any: [/^b/i, /^(p|m)/i]
242
- }, E = {
242
+ }, x = {
243
243
  narrow: /^[1234]/i,
244
244
  abbreviated: /^q[1234]/i,
245
245
  wide: /^[1234]-mujori (i{1,3}|iv)/i
246
- }, x = {
246
+ }, E = {
247
247
  any: [/1/i, /2/i, /3/i, /4/i]
248
248
  }, F = {
249
249
  narrow: /^[jsmpqkftnd]/i,
@@ -313,9 +313,9 @@ const d = {
313
313
  defaultParseWidth: "any"
314
314
  }),
315
315
  quarter: i({
316
- matchPatterns: E,
316
+ matchPatterns: x,
317
317
  defaultMatchWidth: "wide",
318
- parsePatterns: x,
318
+ parsePatterns: E,
319
319
  defaultParseWidth: "any",
320
320
  valueCallback: (e) => e + 1
321
321
  }),
@@ -352,4 +352,4 @@ const d = {
352
352
  export {
353
353
  T as sq
354
354
  };
355
- //# sourceMappingURL=sq-jYFqr4Ga.js.map
355
+ //# sourceMappingURL=sq-i9UOk4P7.js.map
@@ -0,0 +1,8 @@
1
+ import { a as o } from "./date-picker-variants-pKAJfnWr.js";
2
+ function n(a, s, r) {
3
+ return o(a, -s, r);
4
+ }
5
+ export {
6
+ n as s
7
+ };
8
+ //# sourceMappingURL=subDays-CAUv47M1.js.map
@@ -1,4 +1,4 @@
1
- import { A as d, B as r, E as i, F as m } from "./date-picker-variants-eL6HjWvw.js";
1
+ import { g as d, h as r, j as i, k as m } from "./format-4HNwNGrN.js";
2
2
  const s = {
3
3
  lessThanXSeconds: {
4
4
  one: "mindre än en sekund",
@@ -256,13 +256,13 @@ const s = {
256
256
  formattingValues: M,
257
257
  defaultFormattingWidth: "wide"
258
258
  })
259
- }, E = /^(\d+)(:a|:e)?/i, D = /\d+/i, F = {
259
+ }, E = /^(\d+)(:a|:e)?/i, D = /\d+/i, K = {
260
260
  narrow: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
261
261
  abbreviated: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
262
262
  wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i
263
- }, K = {
264
- any: [/^f/i, /^[ev]/i]
265
263
  }, x = {
264
+ any: [/^f/i, /^[ev]/i]
265
+ }, F = {
266
266
  narrow: /^[1234]/i,
267
267
  abbreviated: /^q[1234]/i,
268
268
  wide: /^[1234](:a|:e)? kvartalet/i
@@ -328,13 +328,13 @@ const s = {
328
328
  valueCallback: (e) => parseInt(e, 10)
329
329
  }),
330
330
  era: i({
331
- matchPatterns: F,
331
+ matchPatterns: K,
332
332
  defaultMatchWidth: "wide",
333
- parsePatterns: K,
333
+ parsePatterns: x,
334
334
  defaultParseWidth: "any"
335
335
  }),
336
336
  quarter: i({
337
- matchPatterns: x,
337
+ matchPatterns: F,
338
338
  defaultMatchWidth: "wide",
339
339
  parsePatterns: H,
340
340
  defaultParseWidth: "any",
@@ -373,4 +373,4 @@ const s = {
373
373
  export {
374
374
  O as sv
375
375
  };
376
- //# sourceMappingURL=sv-BSGEJ-8B.js.map
376
+ //# sourceMappingURL=sv-CpTdtmDQ.js.map
@@ -1,30 +1,30 @@
1
- import { jsx as a, jsxs as g, Fragment as _ } from "react/jsx-runtime";
2
- import { useRef as S, useState as V, useCallback as F, forwardRef as O, Fragment as D } from "react";
1
+ import { jsx as a, jsxs as v, Fragment as S } from "react/jsx-runtime";
2
+ import { useRef as V, useState as F, useCallback as O, forwardRef as D, Fragment as M } from "react";
3
3
  import { c as C } from "./index-D2ZczOXr.js";
4
- import { useTranslation as M } from "react-i18next";
5
- import { B as L } from "./badge-DCOqV9mI.js";
4
+ import { useTranslation as L } from "react-i18next";
5
+ import { B as W } from "./badge-DCOqV9mI.js";
6
6
  import { D as b } from "./dropdown-menu-DU-Hrf33.js";
7
- import { u as W } from "./use-media-query-CcAx5SMM.js";
8
- import { u as P } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
- import { u as I } from "./use-overflow-collapse-BIOzKbni.js";
10
- import { C as Q } from "./chevron-down-DWE7GSq9.js";
11
- import { C as q } from "./check-DrFSN__t.js";
12
- import { C as G } from "./chevron-left-B8cOyH-V.js";
13
- import { C as H } from "./chevron-right-I9AeSxH2.js";
14
- function J(t = !0) {
15
- const c = S(null), [d, p] = V({ start: !1, end: !1 });
16
- P(() => {
7
+ import { u as P } from "./use-media-query-CcAx5SMM.js";
8
+ import { u as I } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
9
+ import { u as Q } from "./use-overflow-collapse-BIOzKbni.js";
10
+ import { C as q } from "./chevron-down-DWE7GSq9.js";
11
+ import { C as G } from "./check-DrFSN__t.js";
12
+ import { C as H } from "./chevron-left-B8cOyH-V.js";
13
+ import { C as J } from "./chevron-right-I9AeSxH2.js";
14
+ function K(d = !0) {
15
+ const c = V(null), [u, o] = F({ start: !1, end: !1 });
16
+ I(() => {
17
17
  const r = c.current;
18
- if (!r || !t) {
19
- p(
20
- (o) => o.start || o.end ? { start: !1, end: !1 } : o
18
+ if (!r || !d) {
19
+ o(
20
+ (t) => t.start || t.end ? { start: !1, end: !1 } : t
21
21
  );
22
22
  return;
23
23
  }
24
24
  const e = () => {
25
- const o = Math.abs(r.scrollLeft), f = r.scrollWidth - r.clientWidth, i = o > 1, m = f - o > 1;
26
- p(
27
- (v) => v.start === i && v.end === m ? v : { start: i, end: m }
25
+ const t = Math.abs(r.scrollLeft), f = r.scrollWidth - r.clientWidth, i = t > 1, m = f - t > 1;
26
+ o(
27
+ (p) => p.start === i && p.end === m ? p : { start: i, end: m }
28
28
  );
29
29
  };
30
30
  e(), r.addEventListener("scroll", e, { passive: !0 });
@@ -32,28 +32,28 @@ function J(t = !0) {
32
32
  return typeof ResizeObserver < "u" && (n = new ResizeObserver(e), n.observe(r), r.firstElementChild && n.observe(r.firstElementChild)), () => {
33
33
  r.removeEventListener("scroll", e), n == null || n.disconnect();
34
34
  };
35
- }, [t]);
36
- const u = F((r) => {
35
+ }, [d]);
36
+ const g = O((r) => {
37
37
  var i;
38
38
  const e = c.current;
39
39
  if (!e || typeof window > "u") return;
40
- const n = window.getComputedStyle(e).direction === "rtl", o = (i = window.matchMedia) == null ? void 0 : i.call(
40
+ const n = window.getComputedStyle(e).direction === "rtl", t = (i = window.matchMedia) == null ? void 0 : i.call(
41
41
  window,
42
42
  "(prefers-reduced-motion: reduce)"
43
43
  ).matches, f = e.clientWidth * 0.85 * r * (n ? -1 : 1);
44
- e.scrollBy({ left: f, behavior: o ? "auto" : "smooth" });
44
+ e.scrollBy({ left: f, behavior: t ? "auto" : "smooth" });
45
45
  }, []);
46
46
  return {
47
47
  ref: c,
48
- canScrollStart: d.start,
49
- canScrollEnd: d.end,
50
- scrollByPage: u
48
+ canScrollStart: u.start,
49
+ canScrollEnd: u.end,
50
+ scrollByPage: g
51
51
  };
52
52
  }
53
- function K(t) {
54
- return t > 99 ? "99+" : String(t);
53
+ function U(d) {
54
+ return d > 99 ? "99+" : String(d);
55
55
  }
56
- const U = C("ds:shrink-0", {
56
+ const X = C("ds:shrink-0", {
57
57
  variants: {
58
58
  position: {
59
59
  top: "ds:pt-[var(--spacing-md)]",
@@ -65,7 +65,7 @@ const U = C("ds:shrink-0", {
65
65
  }
66
66
  },
67
67
  defaultVariants: { position: "top", fill: !1 }
68
- }), X = "ds:rounded-[var(--radius-lg)] ds:border ds:border-[color:var(--card-border)] ds:bg-[var(--card)]/80 ds:backdrop-blur-md ds:shadow-[var(--shadow-md)]", Y = [
68
+ }), Y = "ds:rounded-[var(--radius-lg)] ds:border ds:border-[color:var(--card-border)] ds:bg-[var(--card)]/80 ds:backdrop-blur-md ds:shadow-[var(--shadow-md)]", Z = [
69
69
  "ds:flex ds:[justify-content:safe_center] ds:overflow-x-auto ds:py-[var(--spacing-xs)]",
70
70
  "ds:[--tabbar-mask-start:black] ds:[--tabbar-mask-end:black]",
71
71
  "ds:ltr:data-[fade-start=true]:[--tabbar-mask-start:transparent]",
@@ -76,7 +76,7 @@ const U = C("ds:shrink-0", {
76
76
  "ds:motion-reduce:[mask-image:none]",
77
77
  "ds:[.theme-accessible_&]:[mask-image:none]",
78
78
  "ds:forced-colors:[mask-image:none]"
79
- ].join(" "), Z = C(
79
+ ].join(" "), ss = C(
80
80
  "ds:flex ds:items-stretch ds:gap-[var(--spacing-xs)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
81
81
  {
82
82
  variants: {
@@ -99,36 +99,38 @@ const U = C("ds:shrink-0", {
99
99
  },
100
100
  defaultVariants: { fill: !1 }
101
101
  }
102
- ), E = "ds:inline-flex ds:items-center ds:text-[color:var(--accent)] ds:[&>svg]:size-4", ss = "ds:group-aria-[current=page]:underline ds:group-aria-[current=page]:decoration-2 ds:group-aria-[current=page]:decoration-[color:var(--accent)] ds:group-aria-[current=page]:underline-offset-[var(--spacing-xs)]", as = "ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)] ds:min-h-[var(--min-target-size)] ds:rounded-[var(--radius-sm)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:cursor-pointer ds:appearance-none ds:border-0 ds:bg-transparent ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-regular)] ds:text-[color:var(--foreground)] ds:hover:bg-[var(--muted)]/20 ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]", T = "ds:absolute ds:top-px ds:bottom-px ds:z-10 ds:flex ds:min-w-[var(--min-target-size)] ds:items-center ds:cursor-pointer ds:appearance-none ds:border-0 ds:bg-transparent ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]", rs = "ds:start-px ds:justify-start ds:ps-[var(--spacing-xs)]", es = "ds:end-px ds:justify-end ds:pe-[var(--spacing-xs)]", $ = "ds:size-4 ds:shrink-0 ds:text-[color:var(--accent)] ds:rtl:-scale-x-100", ns = O(
102
+ ), E = "ds:inline-flex ds:items-center ds:text-[color:var(--accent)] ds:[&>svg]:size-4", as = "ds:group-aria-[current=page]:underline ds:group-aria-[current=page]:decoration-2 ds:group-aria-[current=page]:decoration-[color:var(--accent)] ds:group-aria-[current=page]:underline-offset-[var(--spacing-xs)]", rs = "ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-sm)] ds:min-h-[var(--min-target-size)] ds:rounded-[var(--radius-sm)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:cursor-pointer ds:appearance-none ds:border-0 ds:bg-transparent ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-regular)] ds:text-[color:var(--foreground)] ds:hover:bg-[var(--muted)]/20 ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]", T = "ds:absolute ds:top-px ds:bottom-px ds:z-10 ds:flex ds:min-w-[var(--min-target-size)] ds:items-center ds:cursor-pointer ds:appearance-none ds:border-0 ds:bg-transparent ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]", es = "ds:start-px ds:justify-start ds:ps-[var(--spacing-xs)]", ns = "ds:end-px ds:justify-end ds:pe-[var(--spacing-xs)]", $ = "ds:size-4 ds:shrink-0 ds:text-[color:var(--accent)] ds:rtl:-scale-x-100", ts = D(
103
103
  ({
104
- items: t,
105
- ariaLabel: c,
106
- onSelect: d,
107
- renderLink: p,
108
- fill: u = !1,
109
- position: r = "top",
110
- collapseToMenu: e = !1,
111
- className: n
112
- }, o) => {
113
- const { t: f } = M(), i = W("(max-width: 640px)"), { containerRef: m, contentRef: v, isOverflowing: j } = I(e), w = e && (i || j), {
114
- ref: A,
104
+ items: d,
105
+ id: c,
106
+ ariaLabel: u,
107
+ onSelect: o,
108
+ renderLink: g,
109
+ fill: r = !1,
110
+ position: e = "top",
111
+ collapseToMenu: n = !1,
112
+ className: t
113
+ }, f) => {
114
+ const { t: i } = L(), m = P("(max-width: 640px)"), { containerRef: p, contentRef: j, isOverflowing: A } = Q(n), w = n && (m || A), {
115
+ ref: _,
115
116
  canScrollStart: k,
116
117
  canScrollEnd: N,
117
118
  scrollByPage: y
118
- } = J(!w), l = t.find((s) => s.isActive) ?? t[0];
119
+ } = K(!w), l = d.find((s) => s.isActive) ?? d[0];
119
120
  return /* @__PURE__ */ a(
120
121
  "div",
121
122
  {
122
- ref: o,
123
+ ref: f,
123
124
  "data-component": "tab-bar",
124
- className: `${U({ position: r, fill: u })}${n ? ` ${n}` : ""}`,
125
- children: /* @__PURE__ */ g("div", { className: "ds:relative", children: [
126
- /* @__PURE__ */ a("div", { ref: m, className: X, children: w ? /* @__PURE__ */ a("nav", { "aria-label": c, className: "ds:w-full", children: /* @__PURE__ */ g(b.Root, { children: [
127
- /* @__PURE__ */ g(b.Trigger, { className: as, children: [
125
+ "data-component-id": c,
126
+ className: `${X({ position: e, fill: r })}${t ? ` ${t}` : ""}`,
127
+ children: /* @__PURE__ */ v("div", { className: "ds:relative", children: [
128
+ /* @__PURE__ */ a("div", { ref: p, className: Y, children: w ? /* @__PURE__ */ a("nav", { "aria-label": u, className: "ds:w-full", children: /* @__PURE__ */ v(b.Root, { children: [
129
+ /* @__PURE__ */ v(b.Trigger, { className: rs, children: [
128
130
  l != null && l.icon ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: E, children: l.icon }) : null,
129
131
  /* @__PURE__ */ a("span", { className: "ds:flex-1 ds:truncate ds:text-start", children: l == null ? void 0 : l.label }),
130
132
  /* @__PURE__ */ a(
131
- Q,
133
+ q,
132
134
  {
133
135
  "aria-hidden": "true",
134
136
  className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
@@ -140,12 +142,13 @@ const U = C("ds:shrink-0", {
140
142
  {
141
143
  align: "start",
142
144
  className: "ds:min-w-[12rem]",
143
- children: t.map((s) => /* @__PURE__ */ a(
145
+ children: d.map((s) => /* @__PURE__ */ a(
144
146
  b.Item,
145
147
  {
148
+ "data-tab-id": s.id,
146
149
  startIcon: s.icon,
147
150
  endIcon: s.isActive ? /* @__PURE__ */ a(
148
- q,
151
+ G,
149
152
  {
150
153
  "aria-hidden": "true",
151
154
  className: "ds:text-[color:var(--accent)]"
@@ -153,7 +156,7 @@ const U = C("ds:shrink-0", {
153
156
  ) : void 0,
154
157
  "aria-current": s.isActive ? "page" : void 0,
155
158
  onSelect: () => {
156
- s.href ? window.location.assign(s.href) : d == null || d(s.id);
159
+ s.href ? window.location.assign(s.href) : o == null || o(s.id);
157
160
  },
158
161
  children: s.label
159
162
  },
@@ -164,36 +167,38 @@ const U = C("ds:shrink-0", {
164
167
  ] }) }) : /* @__PURE__ */ a(
165
168
  "div",
166
169
  {
167
- ref: A,
170
+ ref: _,
168
171
  "data-fade-start": k ? "true" : void 0,
169
172
  "data-fade-end": N ? "true" : void 0,
170
- className: Y,
173
+ className: Z,
171
174
  children: /* @__PURE__ */ a(
172
175
  "nav",
173
176
  {
174
- ref: v,
175
- "aria-label": c,
176
- className: Z({ fill: u }),
177
- children: t.map((s) => {
178
- const z = typeof s.badgeCount == "number" && s.badgeCount > 0 ? s.badgeCount : void 0, h = s.isActive ? "page" : void 0, x = /* @__PURE__ */ g(_, { children: [
177
+ ref: j,
178
+ "aria-label": u,
179
+ className: ss({ fill: r }),
180
+ children: d.map((s) => {
181
+ const z = typeof s.badgeCount == "number" && s.badgeCount > 0 ? s.badgeCount : void 0, h = s.isActive ? "page" : void 0, x = /* @__PURE__ */ v(S, { children: [
179
182
  s.icon ? /* @__PURE__ */ a("span", { "aria-hidden": "true", className: E, children: s.icon }) : null,
180
- /* @__PURE__ */ g("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
181
- /* @__PURE__ */ a("span", { className: ss, children: s.label }),
182
- z !== void 0 ? /* @__PURE__ */ a(L, { variant: "neutral", children: K(z) }) : null
183
+ /* @__PURE__ */ v("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
184
+ /* @__PURE__ */ a("span", { className: as, children: s.label }),
185
+ z !== void 0 ? /* @__PURE__ */ a(W, { variant: "neutral", children: U(z) }) : null
183
186
  ] })
184
187
  ] });
185
188
  if (s.href !== void 0) {
186
- const B = R({ fill: u });
187
- return p ? /* @__PURE__ */ a(D, { children: p({
189
+ const B = R({ fill: r });
190
+ return g ? /* @__PURE__ */ a(M, { children: g({
188
191
  href: s.href,
189
192
  className: B,
190
193
  children: x,
191
194
  "aria-current": h,
195
+ "data-tab-id": s.id,
192
196
  onClick: s.onClick
193
197
  }) }, s.id) : /* @__PURE__ */ a(
194
198
  "a",
195
199
  {
196
200
  href: s.href,
201
+ "data-tab-id": s.id,
197
202
  "aria-current": h,
198
203
  className: B,
199
204
  ...s.onClick ? { onClick: s.onClick } : {},
@@ -206,9 +211,10 @@ const U = C("ds:shrink-0", {
206
211
  "button",
207
212
  {
208
213
  type: "button",
214
+ "data-tab-id": s.id,
209
215
  "aria-current": h,
210
- className: R({ fill: u }),
211
- onClick: () => d == null ? void 0 : d(s.id),
216
+ className: R({ fill: r }),
217
+ onClick: () => o == null ? void 0 : o(s.id),
212
218
  children: x
213
219
  },
214
220
  s.id
@@ -222,11 +228,11 @@ const U = C("ds:shrink-0", {
222
228
  "button",
223
229
  {
224
230
  type: "button",
225
- "aria-label": f("navigation.tabBar.scrollBack"),
231
+ "aria-label": i("navigation.tabBar.scrollBack"),
226
232
  onClick: () => y(-1),
227
- className: `${T} ${rs}`,
233
+ className: `${T} ${es}`,
228
234
  children: /* @__PURE__ */ a(
229
- G,
235
+ H,
230
236
  {
231
237
  "aria-hidden": "true",
232
238
  className: $
@@ -238,11 +244,11 @@ const U = C("ds:shrink-0", {
238
244
  "button",
239
245
  {
240
246
  type: "button",
241
- "aria-label": f("navigation.tabBar.scrollForward"),
247
+ "aria-label": i("navigation.tabBar.scrollForward"),
242
248
  onClick: () => y(1),
243
- className: `${T} ${es}`,
249
+ className: `${T} ${ns}`,
244
250
  children: /* @__PURE__ */ a(
245
- H,
251
+ J,
246
252
  {
247
253
  "aria-hidden": "true",
248
254
  className: $
@@ -255,8 +261,8 @@ const U = C("ds:shrink-0", {
255
261
  );
256
262
  }
257
263
  );
258
- ns.displayName = "TabBar";
264
+ ts.displayName = "TabBar";
259
265
  export {
260
- ns as T
266
+ ts as T
261
267
  };
262
- //# sourceMappingURL=tab-bar-Axhk6xzx.js.map
268
+ //# sourceMappingURL=tab-bar-BYESZINM.js.map
@@ -0,0 +1,29 @@
1
+ const t = {
2
+ id: "task-card",
3
+ // Both capabilities are HOST-DELEGATED — the card exposes no imperative
4
+ // handle, so the hosting TaskTray performs them, addressing this card by its
5
+ // data-component-id:
6
+ // pick → task-tray.select_item (the card's own activation link/button,
7
+ // identical to AgendaCard / AppointmentCard, which declare `pick`
8
+ // for the same affordance)
9
+ // dismiss → task-tray.dismiss (removal from the queue)
10
+ capabilities: ["pick", "dismiss"],
11
+ state: {},
12
+ actions: {},
13
+ domHooks: {
14
+ root: {
15
+ attr: "data-component",
16
+ value: "task-card",
17
+ description: "Marks the element as a kit TaskCard. The card root also emits data-component-id sourced from item.id and data-status with the current lifecycle."
18
+ },
19
+ instanceId: {
20
+ attr: "data-component-id",
21
+ sourceProp: "item.id",
22
+ description: "Sourced from item.id — the stable task identifier."
23
+ }
24
+ }
25
+ };
26
+ export {
27
+ t
28
+ };
29
+ //# sourceMappingURL=task-card.agent-CF2N_uu4.js.map
@@ -1,4 +1,4 @@
1
- import { A as o, B as n, E as i, F as m } from "./date-picker-variants-eL6HjWvw.js";
1
+ import { g as o, h as n, j as i, k as m } from "./format-4HNwNGrN.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  one: "bir saniyeden az",
@@ -100,7 +100,7 @@ const d = {
100
100
  tomorrow: "'yarın saat' p",
101
101
  nextWeek: "eeee 'saat' p",
102
102
  other: "P"
103
- }, f = (a, r, e, t) => k[a], g = {
103
+ }, g = (a, r, e, t) => k[a], f = {
104
104
  narrow: ["MÖ", "MS"],
105
105
  abbreviated: ["MÖ", "MS"],
106
106
  wide: ["Milattan Önce", "Milattan Sonra"]
@@ -216,7 +216,7 @@ const d = {
216
216
  }, z = (a, r) => Number(a) + ".", v = {
217
217
  ordinalNumber: z,
218
218
  era: n({
219
- values: g,
219
+ values: f,
220
220
  defaultWidth: "wide"
221
221
  }),
222
222
  quarter: n({
@@ -238,13 +238,13 @@ const d = {
238
238
  formattingValues: w,
239
239
  defaultFormattingWidth: "wide"
240
240
  })
241
- }, W = /^(\d+)(\.)?/i, S = /\d+/i, E = {
241
+ }, W = /^(\d+)(\.)?/i, S = /\d+/i, H = {
242
242
  narrow: /^(mö|ms)/i,
243
243
  abbreviated: /^(mö|ms)/i,
244
244
  wide: /^(milattan önce|milattan sonra)/i
245
- }, H = {
246
- any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i]
247
245
  }, C = {
246
+ any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i]
247
+ }, E = {
248
248
  narrow: /^[1234]/i,
249
249
  abbreviated: /^[1234]ç/i,
250
250
  wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i
@@ -295,7 +295,7 @@ const d = {
295
295
  short: /^(pz|pt|sa|ça|pe|cu|ct)/i,
296
296
  abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i,
297
297
  wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i
298
- }, A = {
298
+ }, V = {
299
299
  narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i],
300
300
  any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i],
301
301
  wide: [
@@ -307,10 +307,10 @@ const d = {
307
307
  /^cuma(?!rtesi)/i,
308
308
  /^cumartesi/i
309
309
  ]
310
- }, V = {
310
+ }, X = {
311
311
  narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i,
312
312
  any: /^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i
313
- }, X = {
313
+ }, A = {
314
314
  any: {
315
315
  am: /^ö\.?ö\.?/i,
316
316
  pm: /^ö\.?s\.?/i,
@@ -330,13 +330,13 @@ const d = {
330
330
  }
331
331
  }),
332
332
  era: i({
333
- matchPatterns: E,
333
+ matchPatterns: H,
334
334
  defaultMatchWidth: "wide",
335
- parsePatterns: H,
335
+ parsePatterns: C,
336
336
  defaultParseWidth: "any"
337
337
  }),
338
338
  quarter: i({
339
- matchPatterns: C,
339
+ matchPatterns: E,
340
340
  defaultMatchWidth: "wide",
341
341
  parsePatterns: D,
342
342
  defaultParseWidth: "any",
@@ -351,20 +351,20 @@ const d = {
351
351
  day: i({
352
352
  matchPatterns: N,
353
353
  defaultMatchWidth: "wide",
354
- parsePatterns: A,
354
+ parsePatterns: V,
355
355
  defaultParseWidth: "any"
356
356
  }),
357
357
  dayPeriod: i({
358
- matchPatterns: V,
358
+ matchPatterns: X,
359
359
  defaultMatchWidth: "any",
360
- parsePatterns: X,
360
+ parsePatterns: A,
361
361
  defaultParseWidth: "any"
362
362
  })
363
363
  }, O = {
364
364
  code: "tr",
365
365
  formatDistance: l,
366
366
  formatLong: y,
367
- formatRelative: f,
367
+ formatRelative: g,
368
368
  localize: v,
369
369
  match: T,
370
370
  options: {
@@ -375,4 +375,4 @@ const d = {
375
375
  export {
376
376
  O as tr
377
377
  };
378
- //# sourceMappingURL=tr-CTpgUtw6.js.map
378
+ //# sourceMappingURL=tr-DXG2QN1K.js.map
@@ -4,7 +4,7 @@ import { c as z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as M } from "react-i18next";
5
5
  import { u as Y } from "./registry-DvAUVLHh.js";
6
6
  import { F as C } from "./form-field-M5UpX65Z.js";
7
- import { N as B } from "./number-input-DrozbZAU.js";
7
+ import { N as B } from "./number-input-DOe5VYei.js";
8
8
  import { S } from "./select-BW5ecXlX.js";
9
9
  import { I as D } from "./insert-result-D074GtHX.js";
10
10
  const L = [
@@ -334,4 +334,4 @@ export {
334
334
  ee as b,
335
335
  Q as c
336
336
  };
337
- //# sourceMappingURL=unit-converter-COgkN7YP.js.map
337
+ //# sourceMappingURL=unit-converter-CHPDuV7W.js.map