@alfadocs/ui-kit 0.35.0 → 0.37.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 (109) hide show
  1. package/dist/_chunks/{ar-CEpIJtcO.js → ar-D1RwVZFj.js} +2 -2
  2. package/dist/_chunks/bmi-calculator-DQD5_nE-.js +214 -0
  3. package/dist/_chunks/{booking-eM0y0NIR.js → booking-DqXsd1Mv.js} +4 -4
  4. package/dist/_chunks/chart-DnHvmiDX.js +312 -0
  5. package/dist/_chunks/{date-picker-B94HAV4A.js → date-picker-CXFpu-qY.js} +2 -2
  6. package/dist/_chunks/{date-range-picker-D8CHNYQT.js → date-range-picker-I-q5rifj.js} +3 -3
  7. package/dist/_chunks/{date-time-picker-D1GEzf8p.js → date-time-picker-CqpGPlcH.js} +2 -2
  8. package/dist/_chunks/{de-Dfbeau59.js → de-HTQ4b4-J.js} +2 -2
  9. package/dist/_chunks/due-date-calculator-kf9U_g7O.js +173 -0
  10. package/dist/_chunks/{editable-currency-cell-renderer-CZcVWBPo.js → editable-currency-cell-renderer-DnjwZNZP.js} +2 -2
  11. package/dist/_chunks/{el-Dro3J7CP.js → el-Dr1pjuDq.js} +2 -2
  12. package/dist/_chunks/{es-Dvg8u70B.js → es-CvyTjLS0.js} +2 -2
  13. package/dist/_chunks/{fr-VOGjBSPP.js → fr-CS7aqaFR.js} +2 -2
  14. package/dist/_chunks/{hi-BSDxWU_y.js → hi-3uy8KpsH.js} +2 -2
  15. package/dist/_chunks/{isSameWeek-Dfzu29cW.js → isSameWeek-DRpMibi9.js} +2 -2
  16. package/dist/_chunks/{it-CuonvcI_.js → it-B_RF5VSw.js} +3 -3
  17. package/dist/_chunks/{ja-DO57gIOT.js → ja-C1mEYy35.js} +2 -2
  18. package/dist/_chunks/marketplace-app-shell-DXHxy9dj.js +295 -0
  19. package/dist/_chunks/{nl-DjPaaWaW.js → nl-Dl7lO2t3.js} +2 -2
  20. package/dist/_chunks/{pl-Cl4lOx2N.js → pl-Dgsogljx.js} +3 -3
  21. package/dist/_chunks/{pt-D7qO5CzD.js → pt-Dm2JF4bc.js} +2 -2
  22. package/dist/_chunks/{react-day-picker-DsjfS7uI.js → react-day-picker-DYDdR8Vv.js} +22 -22
  23. package/dist/_chunks/{ro-CP2-VJ_O.js → ro-BXFZ_xIX.js} +2 -2
  24. package/dist/_chunks/{ru-RPn9_Lpq.js → ru-BPQkNRRV.js} +3 -3
  25. package/dist/_chunks/{sq-AQvefouo.js → sq-ChTlGFcJ.js} +2 -2
  26. package/dist/_chunks/subDays-D-WYRpdW.js +8 -0
  27. package/dist/_chunks/{sv-zkx9eBtD.js → sv-Do_gs6ir.js} +2 -2
  28. package/dist/_chunks/{tr-Dmr412Ac.js → tr-da_UnkYH.js} +2 -2
  29. package/dist/_chunks/{zh-CN-DxVt64Zk.js → zh-CN-C9qi5oak.js} +3 -3
  30. package/dist/agent-catalog.json +1 -1
  31. package/dist/components/bmi-calculator/bmi-calculator.d.ts +24 -0
  32. package/dist/components/bmi-calculator/bmi.d.ts +37 -0
  33. package/dist/components/bmi-calculator/index.d.ts +4 -0
  34. package/dist/components/bmi-calculator/index.js +14 -0
  35. package/dist/components/booking/index.js +1 -1
  36. package/dist/components/chart/chart.d.ts +7 -0
  37. package/dist/components/chart/index.js +1 -1
  38. package/dist/components/data-table/index.js +1 -1
  39. package/dist/components/date-picker/index.js +1 -1
  40. package/dist/components/date-range-picker/index.js +1 -1
  41. package/dist/components/date-time-picker/index.js +1 -1
  42. package/dist/components/due-date-calculator/due-date-calculator.d.ts +18 -0
  43. package/dist/components/due-date-calculator/gestation.d.ts +44 -0
  44. package/dist/components/due-date-calculator/index.d.ts +4 -0
  45. package/dist/components/due-date-calculator/index.js +10 -0
  46. package/dist/components/index.d.ts +3 -0
  47. package/dist/components/skeleton/skeleton.d.ts +1 -1
  48. package/dist/i18n/locales/ar.d.ts +64 -0
  49. package/dist/i18n/locales/ar.js +58 -0
  50. package/dist/i18n/locales/de.d.ts +64 -0
  51. package/dist/i18n/locales/de.js +58 -0
  52. package/dist/i18n/locales/el.d.ts +64 -0
  53. package/dist/i18n/locales/el.js +58 -0
  54. package/dist/i18n/locales/en.d.ts +64 -0
  55. package/dist/i18n/locales/en.js +58 -0
  56. package/dist/i18n/locales/es.d.ts +64 -0
  57. package/dist/i18n/locales/es.js +58 -0
  58. package/dist/i18n/locales/fr.d.ts +64 -0
  59. package/dist/i18n/locales/fr.js +58 -0
  60. package/dist/i18n/locales/hi.d.ts +64 -0
  61. package/dist/i18n/locales/hi.js +58 -0
  62. package/dist/i18n/locales/it.d.ts +64 -0
  63. package/dist/i18n/locales/it.js +58 -0
  64. package/dist/i18n/locales/ja.d.ts +64 -0
  65. package/dist/i18n/locales/ja.js +58 -0
  66. package/dist/i18n/locales/nl.d.ts +64 -0
  67. package/dist/i18n/locales/nl.js +58 -0
  68. package/dist/i18n/locales/pl.d.ts +64 -0
  69. package/dist/i18n/locales/pl.js +58 -0
  70. package/dist/i18n/locales/pt.d.ts +64 -0
  71. package/dist/i18n/locales/pt.js +58 -0
  72. package/dist/i18n/locales/ro.d.ts +64 -0
  73. package/dist/i18n/locales/ro.js +58 -0
  74. package/dist/i18n/locales/ru.d.ts +64 -0
  75. package/dist/i18n/locales/ru.js +58 -0
  76. package/dist/i18n/locales/sq.d.ts +64 -0
  77. package/dist/i18n/locales/sq.js +58 -0
  78. package/dist/i18n/locales/sv.d.ts +64 -0
  79. package/dist/i18n/locales/sv.js +58 -0
  80. package/dist/i18n/locales/tr.d.ts +64 -0
  81. package/dist/i18n/locales/tr.js +58 -0
  82. package/dist/i18n/locales/zh.d.ts +64 -0
  83. package/dist/i18n/locales/zh.js +58 -0
  84. package/dist/index.js +543 -600
  85. package/dist/locales/ar.json +64 -0
  86. package/dist/locales/de.json +64 -0
  87. package/dist/locales/el.json +64 -0
  88. package/dist/locales/en.json +64 -0
  89. package/dist/locales/es.json +64 -0
  90. package/dist/locales/fr.json +64 -0
  91. package/dist/locales/hi.json +64 -0
  92. package/dist/locales/it.json +64 -0
  93. package/dist/locales/ja.json +64 -0
  94. package/dist/locales/nl.json +64 -0
  95. package/dist/locales/pl.json +64 -0
  96. package/dist/locales/pt.json +64 -0
  97. package/dist/locales/ro.json +64 -0
  98. package/dist/locales/ru.json +64 -0
  99. package/dist/locales/sq.json +64 -0
  100. package/dist/locales/sv.json +64 -0
  101. package/dist/locales/tr.json +64 -0
  102. package/dist/locales/zh.json +64 -0
  103. package/dist/patterns/marketplace-app-shell/index.d.ts +3 -0
  104. package/dist/patterns/marketplace-app-shell/index.js +6 -0
  105. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +111 -0
  106. package/dist/tokens.css +1 -1
  107. package/package.json +19 -7
  108. package/dist/_chunks/chart-DLkVn_ex.js +0 -292
  109. package/dist/_chunks/subDays-CANHP9hz.js +0 -8
@@ -1,4 +1,4 @@
1
- import { o as m, q as t, r as n, v as s } from "./react-day-picker-DsjfS7uI.js";
1
+ import { o as m, q as t, r as n, v as s } from "./react-day-picker-DYDdR8Vv.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  one: "mai puțin de o secundă",
@@ -358,4 +358,4 @@ const d = {
358
358
  export {
359
359
  N as ro
360
360
  };
361
- //# sourceMappingURL=ro-CP2-VJ_O.js.map
361
+ //# sourceMappingURL=ro-BXFZ_xIX.js.map
@@ -1,5 +1,5 @@
1
- import { o as s, q as u, r as o, v as g } from "./react-day-picker-DsjfS7uI.js";
2
- import { i as d } from "./isSameWeek-Dfzu29cW.js";
1
+ import { o as s, q as u, r as o, v as g } from "./react-day-picker-DYDdR8Vv.js";
2
+ import { i as d } from "./isSameWeek-DRpMibi9.js";
3
3
  function l(e, t) {
4
4
  if (e.one !== void 0 && t === 1)
5
5
  return e.one;
@@ -558,4 +558,4 @@ const P = {
558
558
  export {
559
559
  B as ru
560
560
  };
561
- //# sourceMappingURL=ru-RPn9_Lpq.js.map
561
+ //# sourceMappingURL=ru-BPQkNRRV.js.map
@@ -1,4 +1,4 @@
1
- import { o as s, q as r, r as i, v as m } from "./react-day-picker-DsjfS7uI.js";
1
+ import { o as s, q as r, r as i, v as m } from "./react-day-picker-DYDdR8Vv.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  one: "më pak se një sekondë",
@@ -352,4 +352,4 @@ const d = {
352
352
  export {
353
353
  T as sq
354
354
  };
355
- //# sourceMappingURL=sq-AQvefouo.js.map
355
+ //# sourceMappingURL=sq-ChTlGFcJ.js.map
@@ -0,0 +1,8 @@
1
+ import { a as o } from "./react-day-picker-DYDdR8Vv.js";
2
+ function n(a, s, r) {
3
+ return o(a, -s, r);
4
+ }
5
+ export {
6
+ n as s
7
+ };
8
+ //# sourceMappingURL=subDays-D-WYRpdW.js.map
@@ -1,4 +1,4 @@
1
- import { o as d, q as r, r as i, v as m } from "./react-day-picker-DsjfS7uI.js";
1
+ import { o as d, q as r, r as i, v as m } from "./react-day-picker-DYDdR8Vv.js";
2
2
  const s = {
3
3
  lessThanXSeconds: {
4
4
  one: "mindre än en sekund",
@@ -373,4 +373,4 @@ const s = {
373
373
  export {
374
374
  q as sv
375
375
  };
376
- //# sourceMappingURL=sv-zkx9eBtD.js.map
376
+ //# sourceMappingURL=sv-Do_gs6ir.js.map
@@ -1,4 +1,4 @@
1
- import { o, q as n, r as i, v as m } from "./react-day-picker-DsjfS7uI.js";
1
+ import { o, q as n, r as i, v as m } from "./react-day-picker-DYDdR8Vv.js";
2
2
  const d = {
3
3
  lessThanXSeconds: {
4
4
  one: "bir saniyeden az",
@@ -375,4 +375,4 @@ const d = {
375
375
  export {
376
376
  O as tr
377
377
  };
378
- //# sourceMappingURL=tr-Dmr412Ac.js.map
378
+ //# sourceMappingURL=tr-da_UnkYH.js.map
@@ -1,5 +1,5 @@
1
- import { o as s, q as i, r as o, v as m } from "./react-day-picker-DsjfS7uI.js";
2
- import { i as u } from "./isSameWeek-Dfzu29cW.js";
1
+ import { o as s, q as i, r as o, v as m } from "./react-day-picker-DYDdR8Vv.js";
2
+ import { i as u } from "./isSameWeek-DRpMibi9.js";
3
3
  const c = {
4
4
  lessThanXSeconds: {
5
5
  one: "不到 1 秒",
@@ -385,4 +385,4 @@ const b = {
385
385
  export {
386
386
  Q as zhCN
387
387
  };
388
- //# sourceMappingURL=zh-CN-DxVt64Zk.js.map
388
+ //# sourceMappingURL=zh-CN-C9qi5oak.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.35.0",
3
+ "packageVersion": "0.37.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -0,0 +1,24 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { type UnitSystem, type BmiCategory } from './bmi';
3
+ export interface BmiResult {
4
+ /** BMI in kg/m². */
5
+ bmi: number;
6
+ /** WHO category the BMI falls into. */
7
+ category: BmiCategory;
8
+ }
9
+ declare const rootVariants: (props?: ({
10
+ width?: "auto" | "full" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
+ export interface BmiCalculatorProps extends VariantProps<typeof rootVariants> {
13
+ /** Initial unit system. Defaults to `'metric'`. */
14
+ defaultUnitSystem?: UnitSystem;
15
+ /** Fires whenever a valid BMI can be computed (and with `null` when it can't). */
16
+ onResultChange?: (result: BmiResult | null) => void;
17
+ /** Opaque instance id, emitted as `data-component-id`. */
18
+ id?: string;
19
+ /** Extra class names on the wrapper. */
20
+ className?: string;
21
+ }
22
+ export declare const BmiCalculator: import("react").ForwardRefExoticComponent<BmiCalculatorProps & import("react").RefAttributes<HTMLDivElement>>;
23
+ export {};
24
+ //# sourceMappingURL=bmi-calculator.d.ts.map
@@ -0,0 +1,37 @@
1
+ export type UnitSystem = 'metric' | 'imperial';
2
+ /** WHO adult BMI categories (kg/m²). Order = ascending BMI. */
3
+ export type BmiCategory = 'underweight' | 'normal' | 'overweight' | 'obese';
4
+ /** 1 lb = 0.45359237 kg (international avoirdupois pound, exact). */
5
+ export declare const KG_PER_LB = 0.45359237;
6
+ /** 1 inch = 2.54 cm (exact). */
7
+ export declare const CM_PER_IN = 2.54;
8
+ /** Inches per foot. */
9
+ export declare const IN_PER_FT = 12;
10
+ export declare const lbToKg: (lb: number) => number;
11
+ export declare const kgToLb: (kg: number) => number;
12
+ export declare const inToCm: (inches: number) => number;
13
+ export declare const cmToIn: (cm: number) => number;
14
+ /** Split a height in centimetres into whole feet + remaining inches. */
15
+ export declare function cmToFtIn(cm: number): {
16
+ ft: number;
17
+ in: number;
18
+ };
19
+ /** Combine feet + inches into centimetres. */
20
+ export declare const ftInToCm: (ft: number, inches: number) => number;
21
+ /**
22
+ * Body mass index in kg/m². Returns `null` when either input is missing or
23
+ * non-positive (height of 0 would divide by zero).
24
+ */
25
+ export declare function computeBmi(weightKg: number | null, heightCm: number | null): number | null;
26
+ /** WHO adult cut-offs. Boundaries follow WHO: <18.5, <25, <30, ≥30. */
27
+ export declare function bmiCategory(bmi: number): BmiCategory;
28
+ /**
29
+ * Clinically meaningful display range for the gauge arc. Values below/above
30
+ * are clamped so the ring still reads. 12–40 spans severe-thinness through
31
+ * obesity without wasting the dial on impossible extremes.
32
+ */
33
+ export declare const BMI_GAUGE_MIN = 12;
34
+ export declare const BMI_GAUGE_MAX = 40;
35
+ /** Map a BMI onto a 0–100 arc-fill percent for the radialBar gauge. */
36
+ export declare function bmiToGaugePercent(bmi: number): number;
37
+ //# sourceMappingURL=bmi.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { BmiCalculator } from './bmi-calculator';
2
+ export type { BmiCalculatorProps, BmiResult } from './bmi-calculator';
3
+ export { computeBmi, bmiCategory, bmiToGaugePercent, lbToKg, kgToLb, inToCm, cmToIn, cmToFtIn, ftInToCm, type UnitSystem, type BmiCategory, } from './bmi';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { B as m, b as s, a as e, c as t, d as T, e as c, f as i, i as b, k as n, l as r } from "../../_chunks/bmi-calculator-DQD5_nE-.js";
2
+ export {
3
+ m as BmiCalculator,
4
+ s as bmiCategory,
5
+ e as bmiToGaugePercent,
6
+ t as cmToFtIn,
7
+ T as cmToIn,
8
+ c as computeBmi,
9
+ i as ftInToCm,
10
+ b as inToCm,
11
+ n as kgToLb,
12
+ r as lbToKg
13
+ };
14
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-eM0y0NIR.js";
1
+ import { B as A, C as R, O as a, b as s } from "../../_chunks/booking-DqXsd1Mv.js";
2
2
  export {
3
3
  A as Booking,
4
4
  R as CONFIRMATION_CHANNEL_ORDER,
@@ -33,6 +33,13 @@ export interface ChartProps extends VariantProps<typeof chartVariants> {
33
33
  toolbar?: boolean;
34
34
  /** Locale override — defaults to the active i18next language. */
35
35
  locale?: string;
36
+ /**
37
+ * radialBar only. Formats the value printed in the ring centre. Use when the
38
+ * gauge represents a non-percentage figure: pass the arc fill (0–100) as the
39
+ * single `series` value and return the real figure here (e.g. `(_, ) => '22.4'`).
40
+ * Ignored for every other chart type. Defaults to ApexCharts' `${value}%`.
41
+ */
42
+ radialValueFormatter?: (value: number) => string;
36
43
  /** Extra class names on the wrapper. */
37
44
  className?: string;
38
45
  }
@@ -1,4 +1,4 @@
1
- import { C as t, c as s, a as c } from "../../_chunks/chart-DLkVn_ex.js";
1
+ import { C as t, c as s, a as c } from "../../_chunks/chart-DnHvmiDX.js";
2
2
  export {
3
3
  t as Chart,
4
4
  s as chartAgent,
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-CZcVWBPo.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-DnjwZNZP.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-B94HAV4A.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-CXFpu-qY.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-D8CHNYQT.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-I-q5rifj.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-D1GEzf8p.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-CqpGPlcH.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -0,0 +1,18 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { type DueDateMethod, type DueDateResult } from './gestation';
3
+ declare const rootVariants: (props?: ({
4
+ width?: "auto" | "full" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface DueDateCalculatorProps extends VariantProps<typeof rootVariants> {
7
+ /** Initial dating method. Defaults to `'lmp'`. */
8
+ defaultMethod?: DueDateMethod;
9
+ /** Fires whenever a due date can be computed (and with `null` when it can't). */
10
+ onResultChange?: (result: DueDateResult | null) => void;
11
+ /** Opaque instance id, emitted as `data-component-id`. */
12
+ id?: string;
13
+ /** Extra class names on the wrapper. */
14
+ className?: string;
15
+ }
16
+ export declare const DueDateCalculator: import("react").ForwardRefExoticComponent<DueDateCalculatorProps & import("react").RefAttributes<HTMLDivElement>>;
17
+ export {};
18
+ //# sourceMappingURL=due-date-calculator.d.ts.map
@@ -0,0 +1,44 @@
1
+ export type DueDateMethod = 'lmp' | 'conception' | 'ivf';
2
+ /** Embryo age at transfer, in days (cleavage vs blastocyst). */
3
+ export type EmbryoAge = 3 | 5;
4
+ export type Trimester = 'preconception' | 'first' | 'second' | 'third' | 'postterm';
5
+ /** Naegele's rule: a term pregnancy is 280 days from the LMP. */
6
+ export declare const GESTATION_DAYS = 280;
7
+ /** Ovulation/conception sits ~14 days after the LMP in a 28-day cycle. */
8
+ export declare const CONCEPTION_OFFSET_DAYS = 14;
9
+ /** A term pregnancy is 266 days from conception. */
10
+ export declare const TERM_FROM_CONCEPTION_DAYS = 266;
11
+ /** Standard menstrual-cycle length Naegele assumes. */
12
+ export declare const DEFAULT_CYCLE_LENGTH = 28;
13
+ export interface DueDateInput {
14
+ method: DueDateMethod;
15
+ /** The reference date for the chosen method (LMP / conception / transfer). */
16
+ date: Date;
17
+ /** LMP only — average cycle length in days. Defaults to 28. */
18
+ cycleLength?: number;
19
+ /** IVF only — embryo age at transfer in days. Defaults to 5 (blastocyst). */
20
+ embryoAge?: EmbryoAge;
21
+ }
22
+ export interface GestationalAge {
23
+ weeks: number;
24
+ days: number;
25
+ totalDays: number;
26
+ }
27
+ export interface DueDateResult {
28
+ /** Estimated date of delivery. */
29
+ dueDate: Date;
30
+ /** GA day-0 anchor (notional LMP) the trimester maths counts from. */
31
+ gestationalStart: Date;
32
+ /** Gestational age as of `today`; `null` before conception. */
33
+ gestationalAge: GestationalAge | null;
34
+ trimester: Trimester;
35
+ }
36
+ /** Classify gestational age (in completed weeks) into a trimester. */
37
+ export declare function trimesterForWeeks(totalDays: number): Trimester;
38
+ /**
39
+ * Resolve the gestational start (notional LMP) and due date for a method.
40
+ * `cycleLength` shifts a longer/shorter cycle's ovulation, moving the due
41
+ * date while GA stays counted from the LMP — the standard convention.
42
+ */
43
+ export declare function computeDueDate(input: DueDateInput, today: Date): DueDateResult;
44
+ //# sourceMappingURL=gestation.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { DueDateCalculator } from './due-date-calculator';
2
+ export type { DueDateCalculatorProps } from './due-date-calculator';
3
+ export { computeDueDate, trimesterForWeeks, GESTATION_DAYS, TERM_FROM_CONCEPTION_DAYS, DEFAULT_CYCLE_LENGTH, type DueDateMethod, type EmbryoAge, type Trimester, type DueDateInput, type DueDateResult, type GestationalAge, } from './gestation';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { D as s, a as t, G as D, T, c as r, t as E } from "../../_chunks/due-date-calculator-kf9U_g7O.js";
2
+ export {
3
+ s as DEFAULT_CYCLE_LENGTH,
4
+ t as DueDateCalculator,
5
+ D as GESTATION_DAYS,
6
+ T as TERM_FROM_CONCEPTION_DAYS,
7
+ r as computeDueDate,
8
+ E as trimesterForWeeks
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -18,6 +18,7 @@ export * from './copy-field';
18
18
  export * from './date-picker';
19
19
  export * from './date-range-picker';
20
20
  export * from './date-time-picker';
21
+ export * from './due-date-calculator';
21
22
  export * from './email-input';
22
23
  export * from './file-upload';
23
24
  export * from './form-field';
@@ -40,6 +41,7 @@ export * from './accordion';
40
41
  export * from './avatar';
41
42
  export * from './badge';
42
43
  export * from './benefit-card';
44
+ export * from './bmi-calculator';
43
45
  export * from './card';
44
46
  export * from './carousel';
45
47
  export * from './contact-card';
@@ -134,4 +136,5 @@ export * from './whatsapp-button';
134
136
  export * from './workflow';
135
137
  export * from '../patterns/alia-assistant';
136
138
  export * from '../patterns/patient-shell';
139
+ export * from '../patterns/marketplace-app-shell';
137
140
  //# sourceMappingURL=index.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const skeletonVariants: (props?: ({
4
- variant?: "text" | "rounded" | "rectangular" | "circular" | null | undefined;
4
+ variant?: "text" | "rectangular" | "rounded" | "circular" | null | undefined;
5
5
  size?: "sm" | "md" | "lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export interface SkeletonProps extends Omit<HTMLAttributes<HTMLDivElement>, 'aria-hidden' | 'style'>, VariantProps<typeof skeletonVariants> {
@@ -1618,6 +1618,70 @@ export declare const arUi: {
1618
1618
  readonly opens_in_new_tab: "(يُفتح في نافذة جديدة)";
1619
1619
  };
1620
1620
  };
1621
+ readonly bmiCalculator: {
1622
+ readonly unitSystem: {
1623
+ readonly label: "الوحدات";
1624
+ readonly metric: "متري (كجم، سم)";
1625
+ readonly imperial: "إمبراطوري (رطل، قدم/بوصة)";
1626
+ };
1627
+ readonly height: "الطول";
1628
+ readonly weight: "الوزن";
1629
+ readonly feet: "أقدام";
1630
+ readonly inches: "بوصات";
1631
+ readonly units: {
1632
+ readonly cm: "سم";
1633
+ readonly kg: "كجم";
1634
+ readonly lb: "رطل";
1635
+ readonly ft: "قدم";
1636
+ readonly in: "بوصة";
1637
+ };
1638
+ readonly category: {
1639
+ readonly label: "الفئة";
1640
+ readonly underweight: "نقص الوزن";
1641
+ readonly normal: "وزن طبيعي";
1642
+ readonly overweight: "زيادة الوزن";
1643
+ readonly obese: "سمنة";
1644
+ };
1645
+ readonly range: {
1646
+ readonly underweight: "أقل من 18.5";
1647
+ readonly normal: "18.5 – 24.9";
1648
+ readonly overweight: "25.0 – 29.9";
1649
+ readonly obese: "30.0 فأكثر";
1650
+ };
1651
+ readonly gaugeAria: "مؤشر كتلة الجسم {{bmi}}، {{category}}";
1652
+ readonly empty: "أدخل الطول والوزن لحساب مؤشر كتلة الجسم.";
1653
+ };
1654
+ readonly dueDateCalculator: {
1655
+ readonly method: {
1656
+ readonly label: "طريقة الحساب";
1657
+ readonly lmp: "آخر دورة شهرية";
1658
+ readonly conception: "تاريخ الإخصاب";
1659
+ readonly ivf: "تاريخ نقل الأجنة";
1660
+ };
1661
+ readonly lmpDate: "أول يوم في آخر دورة شهرية";
1662
+ readonly conceptionDate: "تاريخ الإخصاب";
1663
+ readonly transferDate: "تاريخ نقل الجنين";
1664
+ readonly cycleLength: "طول الدورة";
1665
+ readonly cycleLengthHint: "متوسط عدد الأيام بين الدورات. المعيار هو 28.";
1666
+ readonly embryoAge: "عمر الجنين عند النقل";
1667
+ readonly day3: "اليوم 3";
1668
+ readonly day5: "اليوم 5 (الكيسة الأريمية)";
1669
+ readonly days: "أيام";
1670
+ readonly result: {
1671
+ readonly dueDateLabel: "تاريخ الولادة المتوقع";
1672
+ readonly gestationLabel: "عمر الحمل اليوم";
1673
+ readonly trimesterLabel: "الثلث";
1674
+ readonly gestation: "{{weeks}} أسبوع {{days}} يوم";
1675
+ };
1676
+ readonly trimester: {
1677
+ readonly preconception: "قبل الإخصاب";
1678
+ readonly first: "الثلث الأول";
1679
+ readonly second: "الثلث الثاني";
1680
+ readonly third: "الثلث الثالث";
1681
+ readonly postterm: "بعد الموعد";
1682
+ };
1683
+ readonly empty: "اختر طريقة وتاريخًا لتقدير تاريخ الولادة المتوقع.";
1684
+ };
1621
1685
  readonly languages: {
1622
1686
  readonly en: "الإنجليزية";
1623
1687
  readonly it: "الإيطالية";
@@ -1601,6 +1601,64 @@ const e = {
1601
1601
  opens_in_new_tab: "(يُفتح في نافذة جديدة)"
1602
1602
  }
1603
1603
  },
1604
+ bmiCalculator: {
1605
+ unitSystem: {
1606
+ label: "الوحدات",
1607
+ metric: "متري (كجم، سم)",
1608
+ imperial: "إمبراطوري (رطل، قدم/بوصة)"
1609
+ },
1610
+ height: "الطول",
1611
+ weight: "الوزن",
1612
+ feet: "أقدام",
1613
+ inches: "بوصات",
1614
+ units: { cm: "سم", kg: "كجم", lb: "رطل", ft: "قدم", in: "بوصة" },
1615
+ category: {
1616
+ label: "الفئة",
1617
+ underweight: "نقص الوزن",
1618
+ normal: "وزن طبيعي",
1619
+ overweight: "زيادة الوزن",
1620
+ obese: "سمنة"
1621
+ },
1622
+ range: {
1623
+ underweight: "أقل من 18.5",
1624
+ normal: "18.5 – 24.9",
1625
+ overweight: "25.0 – 29.9",
1626
+ obese: "30.0 فأكثر"
1627
+ },
1628
+ gaugeAria: "مؤشر كتلة الجسم {{bmi}}، {{category}}",
1629
+ empty: "أدخل الطول والوزن لحساب مؤشر كتلة الجسم."
1630
+ },
1631
+ dueDateCalculator: {
1632
+ method: {
1633
+ label: "طريقة الحساب",
1634
+ lmp: "آخر دورة شهرية",
1635
+ conception: "تاريخ الإخصاب",
1636
+ ivf: "تاريخ نقل الأجنة"
1637
+ },
1638
+ lmpDate: "أول يوم في آخر دورة شهرية",
1639
+ conceptionDate: "تاريخ الإخصاب",
1640
+ transferDate: "تاريخ نقل الجنين",
1641
+ cycleLength: "طول الدورة",
1642
+ cycleLengthHint: "متوسط عدد الأيام بين الدورات. المعيار هو 28.",
1643
+ embryoAge: "عمر الجنين عند النقل",
1644
+ day3: "اليوم 3",
1645
+ day5: "اليوم 5 (الكيسة الأريمية)",
1646
+ days: "أيام",
1647
+ result: {
1648
+ dueDateLabel: "تاريخ الولادة المتوقع",
1649
+ gestationLabel: "عمر الحمل اليوم",
1650
+ trimesterLabel: "الثلث",
1651
+ gestation: "{{weeks}} أسبوع {{days}} يوم"
1652
+ },
1653
+ trimester: {
1654
+ preconception: "قبل الإخصاب",
1655
+ first: "الثلث الأول",
1656
+ second: "الثلث الثاني",
1657
+ third: "الثلث الثالث",
1658
+ postterm: "بعد الموعد"
1659
+ },
1660
+ empty: "اختر طريقة وتاريخًا لتقدير تاريخ الولادة المتوقع."
1661
+ },
1604
1662
  /* Language display names — keyed by ISO 639-1 code. Used by
1605
1663
  ContactProfileCard / PatientSearch / PracticeResults to
1606
1664
  auto-resolve a consumer-passed languages={['it','en',...]}
@@ -1618,6 +1618,70 @@ export declare const deUi: {
1618
1618
  readonly opens_in_new_tab: "(öffnet in neuem Tab)";
1619
1619
  };
1620
1620
  };
1621
+ readonly bmiCalculator: {
1622
+ readonly unitSystem: {
1623
+ readonly label: "Einheiten";
1624
+ readonly metric: "Metrisch (kg, cm)";
1625
+ readonly imperial: "Imperial (lb, ft/in)";
1626
+ };
1627
+ readonly height: "Größe";
1628
+ readonly weight: "Gewicht";
1629
+ readonly feet: "Fuß";
1630
+ readonly inches: "Zoll";
1631
+ readonly units: {
1632
+ readonly cm: "cm";
1633
+ readonly kg: "kg";
1634
+ readonly lb: "lb";
1635
+ readonly ft: "ft";
1636
+ readonly in: "in";
1637
+ };
1638
+ readonly category: {
1639
+ readonly label: "Kategorie";
1640
+ readonly underweight: "Untergewicht";
1641
+ readonly normal: "Normalgewicht";
1642
+ readonly overweight: "Übergewicht";
1643
+ readonly obese: "Adipositas";
1644
+ };
1645
+ readonly range: {
1646
+ readonly underweight: "Unter 18,5";
1647
+ readonly normal: "18,5 – 24,9";
1648
+ readonly overweight: "25,0 – 29,9";
1649
+ readonly obese: "30,0 und mehr";
1650
+ };
1651
+ readonly gaugeAria: "Body-Mass-Index {{bmi}}, {{category}}";
1652
+ readonly empty: "Größe und Gewicht eingeben, um den BMI zu berechnen.";
1653
+ };
1654
+ readonly dueDateCalculator: {
1655
+ readonly method: {
1656
+ readonly label: "Berechnungsmethode";
1657
+ readonly lmp: "Letzte Periode";
1658
+ readonly conception: "Empfängnisdatum";
1659
+ readonly ivf: "Datum des Embryotransfers";
1660
+ };
1661
+ readonly lmpDate: "Erster Tag der letzten Periode";
1662
+ readonly conceptionDate: "Datum der Empfängnis";
1663
+ readonly transferDate: "Datum des Embryotransfers";
1664
+ readonly cycleLength: "Zykluslänge";
1665
+ readonly cycleLengthHint: "Durchschnittliche Tage zwischen den Perioden. Standard ist 28.";
1666
+ readonly embryoAge: "Embryonenalter beim Transfer";
1667
+ readonly day3: "Tag 3";
1668
+ readonly day5: "Tag 5 (Blastozyste)";
1669
+ readonly days: "Tage";
1670
+ readonly result: {
1671
+ readonly dueDateLabel: "Voraussichtlicher Geburtstermin";
1672
+ readonly gestationLabel: "Schwangerschaftsalter heute";
1673
+ readonly trimesterLabel: "Trimester";
1674
+ readonly gestation: "{{weeks}} W {{days}} T";
1675
+ };
1676
+ readonly trimester: {
1677
+ readonly preconception: "Vor der Empfängnis";
1678
+ readonly first: "Erstes Trimester";
1679
+ readonly second: "Zweites Trimester";
1680
+ readonly third: "Drittes Trimester";
1681
+ readonly postterm: "Übertragung";
1682
+ };
1683
+ readonly empty: "Methode und Datum wählen, um den Geburtstermin zu schätzen.";
1684
+ };
1621
1685
  readonly languages: {
1622
1686
  readonly en: "Englisch";
1623
1687
  readonly it: "Italienisch";
@@ -1600,6 +1600,64 @@ const e = {
1600
1600
  opens_in_new_tab: "(öffnet in neuem Tab)"
1601
1601
  }
1602
1602
  },
1603
+ bmiCalculator: {
1604
+ unitSystem: {
1605
+ label: "Einheiten",
1606
+ metric: "Metrisch (kg, cm)",
1607
+ imperial: "Imperial (lb, ft/in)"
1608
+ },
1609
+ height: "Größe",
1610
+ weight: "Gewicht",
1611
+ feet: "Fuß",
1612
+ inches: "Zoll",
1613
+ units: { cm: "cm", kg: "kg", lb: "lb", ft: "ft", in: "in" },
1614
+ category: {
1615
+ label: "Kategorie",
1616
+ underweight: "Untergewicht",
1617
+ normal: "Normalgewicht",
1618
+ overweight: "Übergewicht",
1619
+ obese: "Adipositas"
1620
+ },
1621
+ range: {
1622
+ underweight: "Unter 18,5",
1623
+ normal: "18,5 – 24,9",
1624
+ overweight: "25,0 – 29,9",
1625
+ obese: "30,0 und mehr"
1626
+ },
1627
+ gaugeAria: "Body-Mass-Index {{bmi}}, {{category}}",
1628
+ empty: "Größe und Gewicht eingeben, um den BMI zu berechnen."
1629
+ },
1630
+ dueDateCalculator: {
1631
+ method: {
1632
+ label: "Berechnungsmethode",
1633
+ lmp: "Letzte Periode",
1634
+ conception: "Empfängnisdatum",
1635
+ ivf: "Datum des Embryotransfers"
1636
+ },
1637
+ lmpDate: "Erster Tag der letzten Periode",
1638
+ conceptionDate: "Datum der Empfängnis",
1639
+ transferDate: "Datum des Embryotransfers",
1640
+ cycleLength: "Zykluslänge",
1641
+ cycleLengthHint: "Durchschnittliche Tage zwischen den Perioden. Standard ist 28.",
1642
+ embryoAge: "Embryonenalter beim Transfer",
1643
+ day3: "Tag 3",
1644
+ day5: "Tag 5 (Blastozyste)",
1645
+ days: "Tage",
1646
+ result: {
1647
+ dueDateLabel: "Voraussichtlicher Geburtstermin",
1648
+ gestationLabel: "Schwangerschaftsalter heute",
1649
+ trimesterLabel: "Trimester",
1650
+ gestation: "{{weeks}} W {{days}} T"
1651
+ },
1652
+ trimester: {
1653
+ preconception: "Vor der Empfängnis",
1654
+ first: "Erstes Trimester",
1655
+ second: "Zweites Trimester",
1656
+ third: "Drittes Trimester",
1657
+ postterm: "Übertragung"
1658
+ },
1659
+ empty: "Methode und Datum wählen, um den Geburtstermin zu schätzen."
1660
+ },
1603
1661
  /* Language display names — keyed by ISO 639-1 code. Used by
1604
1662
  ContactProfileCard / PatientSearch / PracticeResults to
1605
1663
  auto-resolve a consumer-passed languages={['it','en',...]}