@alfadocs/ui-kit 1.7.0 → 1.9.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.
- package/dist/_chunks/{actions-cell-renderer-ALEAGO3j.js → actions-cell-renderer-B2pw6iH8.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-F-cCmFAn.js → anamnesis-summary-rows-d44s_whc.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-BjlF2rTz.js → antenatal-schedule-timeline-B1k8QkA6.js} +3 -3
- package/dist/_chunks/{appointment-card-BhcPJpXh.js → appointment-card-Dzr3GeVz.js} +73 -90
- package/dist/_chunks/{appointment-timeline-CMPvzlGZ.js → appointment-timeline-0mwtpErq.js} +3 -3
- package/dist/_chunks/{appointment-tray-3c_FLxXJ.js → appointment-tray-4FUu_5NX.js} +2 -2
- package/dist/_chunks/armchair-BaLDW6Hz.js +23 -0
- package/dist/_chunks/{booking-CQMJUFG-.js → booking-DHkKcUIl.js} +4 -4
- package/dist/_chunks/{calendar-4dXTvsCz.js → calendar-B4Gnyu1C.js} +553 -437
- package/dist/_chunks/calendar-event-card-Bjdbik8G.js +425 -0
- package/dist/_chunks/{care-plan-card-DQjVRDxO.js → care-plan-card-aDN4oem9.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CMpoeNkb.js → care-plan-entry-card-BEhANdBE.js} +2 -2
- package/dist/_chunks/{care-plan-header-CxYoq23f.js → care-plan-header-CkpPyQqG.js} +2 -2
- package/dist/_chunks/{color-picker-D-tUwxxT.js → color-picker-oZ6zYks8.js} +164 -151
- package/dist/_chunks/control-room-rail-Cj2iX9h_.js +337 -0
- package/dist/_chunks/{cycle-calculator-DzgO1vzP.js → cycle-calculator-DmtYGhqq.js} +3 -3
- package/dist/_chunks/{date-picker-Bp64zk2p.js → date-picker-CepI_oI2.js} +77 -74
- package/dist/_chunks/{date-picker-variants-pKAJfnWr.js → date-picker-variants-DfuooXEK.js} +7 -2
- package/dist/_chunks/{date-range-picker-CDrZ8Zh0.js → date-range-picker-BD8P_rJq.js} +46 -45
- package/dist/_chunks/{date-time-picker-DVETwpzc.js → date-time-picker-3I2vVKGV.js} +2 -2
- package/dist/_chunks/{due-date-calculator-wK8Tajzz.js → due-date-calculator-BF_Ikofx.js} +4 -4
- package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-DmrgYSEX.js} +4 -4
- package/dist/_chunks/{file-manager-Cc_upjZX.js → file-manager-Crg5dKez.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-C_uDAeP_.js → gestational-age-calculator-CxZelpu2.js} +5 -5
- package/dist/_chunks/{hcg-doubling-BaXkJhT-.js → hcg-doubling-CpU7H5rQ.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-DH4JYpKU.js → link-cell-renderer-BZQtsuFz.js} +2 -2
- package/dist/_chunks/{notes-panel-DlnENphf.js → notes-panel-e9cJWVRg.js} +2 -2
- package/dist/_chunks/{operator-hero-CCDnIa1S.js → operator-hero-BnFv-Uef.js} +2 -2
- package/dist/_chunks/{parse-JqixfsU0.js → parse-MN9bGkrY.js} +2 -2
- package/dist/_chunks/{patient-details-qnsqYBGQ.js → patient-details-xrqe13az.js} +160 -159
- package/dist/_chunks/{patient-table-DwshfVsQ.js → patient-table-ChXM2K7H.js} +11 -7
- package/dist/_chunks/{payment-automation-upsell-BBIG7NFL.js → payment-automation-upsell-DwQW2fRp.js} +52 -63
- package/dist/_chunks/{payment-request-card-BjjBMdsp.js → payment-request-card-YVCcCZ25.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-BVS_9YU2.js → pregnancy-dating-DtToyMyc.js} +5 -5
- package/dist/_chunks/{radiograph-panel.agent-CiHwgISa.js → radiograph-panel.agent-C3trfWqB.js} +3 -3
- package/dist/_chunks/repeat-CvQa5rZt.js +17 -0
- package/dist/_chunks/resource-chip-DYTG0IQQ.js +83 -0
- package/dist/_chunks/{rich-text-editor-DARnq_6N.js → rich-text-editor-BDfFtK4H.js} +2 -2
- package/dist/_chunks/subDays-BLl3y3pd.js +8 -0
- package/dist/agent-catalog.json +2 -2
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +138 -12
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +48 -11
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +4 -3
- package/dist/components/color-picker/palettes.d.ts +10 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +9 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/date-picker.d.ts +11 -0
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-details/patient-details.d.ts +8 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/patient-table/patient-table.d.ts +5 -4
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/resource-chip/index.d.ts +3 -0
- package/dist/components/resource-chip/index.js +5 -0
- package/dist/components/resource-chip/resource-chip.d.ts +26 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +4 -0
- package/dist/i18n/locales/de.d.ts +4 -0
- package/dist/i18n/locales/de.js +4 -0
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +4 -0
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.js +4 -0
- package/dist/i18n/locales/es.d.ts +4 -0
- package/dist/i18n/locales/es.js +4 -0
- package/dist/i18n/locales/fr.d.ts +4 -0
- package/dist/i18n/locales/fr.js +4 -0
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +4 -0
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +4 -0
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +4 -0
- package/dist/i18n/locales/nl.d.ts +4 -0
- package/dist/i18n/locales/nl.js +4 -0
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +4 -0
- package/dist/i18n/locales/pt.d.ts +4 -0
- package/dist/i18n/locales/pt.js +4 -0
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +4 -0
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +4 -0
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +4 -0
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +4 -0
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +4 -0
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +4 -0
- package/dist/index.js +961 -958
- package/dist/locales/ar.json +4 -0
- package/dist/locales/de.json +4 -0
- package/dist/locales/el.json +4 -0
- package/dist/locales/en.json +4 -0
- package/dist/locales/es.json +4 -0
- package/dist/locales/fr.json +4 -0
- package/dist/locales/hi.json +4 -0
- package/dist/locales/it.json +4 -0
- package/dist/locales/ja.json +4 -0
- package/dist/locales/nl.json +4 -0
- package/dist/locales/pl.json +4 -0
- package/dist/locales/pt.json +4 -0
- package/dist/locales/ro.json +4 -0
- package/dist/locales/ru.json +4 -0
- package/dist/locales/sq.json +4 -0
- package/dist/locales/sv.json +4 -0
- package/dist/locales/tr.json +4 -0
- package/dist/locales/zh.json +4 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/tokens.css +41 -24
- package/package.json +5 -1
- package/dist/_chunks/calendar-event-card-C6qGtywL.js +0 -257
- package/dist/_chunks/control-room-rail-IH1eBjrK.js +0 -333
- package/dist/_chunks/subDays-CAUv47M1.js +0 -8
|
@@ -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 { 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-
|
|
11
|
-
import { f as k, s as Ye, d as ve, b as Ue, i as
|
|
12
|
-
import { s as F } from "./subDays-
|
|
13
|
-
import { C as
|
|
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-DfuooXEK.js";
|
|
11
|
+
import { f as k, s as Ye, d as ve, b as Ue, i as oa } from "./format-4HNwNGrN.js";
|
|
12
|
+
import { s as F } from "./subDays-BLl3y3pd.js";
|
|
13
|
+
import { C as ia } from "./calendar-days-BGWklvE-.js";
|
|
14
14
|
import { C as da } from "./check-DrFSN__t.js";
|
|
15
|
-
import { p as la } from "./parse-
|
|
15
|
+
import { p as la } from "./parse-MN9bGkrY.js";
|
|
16
16
|
function ca(s, l, g) {
|
|
17
17
|
return jt(s, -1, g);
|
|
18
18
|
}
|
|
@@ -246,15 +246,15 @@ const ua = {
|
|
|
246
246
|
size: be = "md",
|
|
247
247
|
chrome: st = "input",
|
|
248
248
|
disabled: nt,
|
|
249
|
-
placeholder:
|
|
250
|
-
className:
|
|
249
|
+
placeholder: ot,
|
|
250
|
+
className: it,
|
|
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 = Bt(ke.language), ut =
|
|
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 = ot ?? n("inputs.dateRangePicker.placeholder", "Select date range"), [pt, xe] = me({
|
|
254
254
|
value: s,
|
|
255
255
|
defaultValue: l ?? {},
|
|
256
256
|
onChange: g
|
|
257
|
-
}),
|
|
257
|
+
}), i = pt ?? {}, [O, R] = b(!1), [a, T] = b(i), [ft, re] = b(i.from ?? /* @__PURE__ */ new Date()), [Pe, Ne] = b(""), [De, Se] = b(""), [G, L] = b(!1), [V, $] = b(!1), q = ye !== void 0 || he !== void 0, _ = X && X.length > 0 ? X : void 0, we = _ ? Qe.filter(
|
|
258
258
|
(e) => _.includes(e.value)
|
|
259
259
|
) : Qe, W = (e) => {
|
|
260
260
|
var t;
|
|
@@ -277,7 +277,7 @@ const ua = {
|
|
|
277
277
|
[xe]
|
|
278
278
|
), ht = zt(Z, ee), bt = (e) => (Z ? na(e, Z) : !1) || (ee ? ge(e, ee) : !1);
|
|
279
279
|
je(() => {
|
|
280
|
-
O && (T(
|
|
280
|
+
O && (T(i), E(C ?? !1), L(!1), $(!1), D.current = !1);
|
|
281
281
|
}, [O]), je(() => {
|
|
282
282
|
G || Ne(
|
|
283
283
|
a.from ? k(a.from, m, { locale: u }) : ""
|
|
@@ -338,19 +338,19 @@ const ua = {
|
|
|
338
338
|
to: /* @__PURE__ */ new Date()
|
|
339
339
|
})
|
|
340
340
|
}
|
|
341
|
-
],
|
|
341
|
+
], oe = te ? rt ? [...Ce, ...te] : te : Ce, Ee = (() => {
|
|
342
342
|
const e = [], t = /* @__PURE__ */ new Map();
|
|
343
|
-
for (const d of
|
|
344
|
-
const
|
|
345
|
-
t.has(
|
|
343
|
+
for (const d of oe) {
|
|
344
|
+
const o = d.group ?? "";
|
|
345
|
+
t.has(o) || (t.set(o, []), e.push(o)), t.get(o).push(d);
|
|
346
346
|
}
|
|
347
347
|
return e.map((d) => ({ group: d, presets: t.get(d) }));
|
|
348
348
|
})(), kt = Ee.some((e) => e.group !== ""), y = (e, t = Ie) => {
|
|
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 = ve(e.to, e.from),
|
|
353
|
-
return { from: F(
|
|
352
|
+
const d = ve(e.to, e.from), o = F(e.from, 1);
|
|
353
|
+
return { from: F(o, d), to: o };
|
|
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;
|
|
356
356
|
const e = h.from, t = h.to, d = {
|
|
@@ -366,32 +366,32 @@ const ua = {
|
|
|
366
366
|
gt(t), Y && p === "auto" && (f == null || f(!0, y(a, t)));
|
|
367
367
|
}, Pt = (e) => {
|
|
368
368
|
E(e), p === "auto" && (z(e), f == null || f(e, e ? y(a) : void 0));
|
|
369
|
-
},
|
|
369
|
+
}, ie = We(
|
|
370
370
|
(e) => {
|
|
371
371
|
T(e), p === "auto" && e.from && e.to && x(e);
|
|
372
372
|
},
|
|
373
373
|
[p, x]
|
|
374
374
|
), Nt = (e) => {
|
|
375
|
-
L(!1), $(!1),
|
|
375
|
+
L(!1), $(!1), ie({ from: e == null ? void 0 : e.from, to: e == null ? void 0 : e.to });
|
|
376
376
|
}, Dt = (e) => {
|
|
377
377
|
const t = e.range();
|
|
378
378
|
L(!1), $(!1), T(t), re(t.from), p === "auto" && (x(t), w == null || w(t, Fe(t)), D.current = !0, R(!1));
|
|
379
379
|
}, de = (e, t) => {
|
|
380
380
|
const d = e === "from" ? L : $;
|
|
381
381
|
if (t.trim() === "") {
|
|
382
|
-
d(!1),
|
|
382
|
+
d(!1), ie(
|
|
383
383
|
e === "from" ? { from: void 0, to: a.to } : { from: a.from, to: void 0 }
|
|
384
384
|
);
|
|
385
385
|
return;
|
|
386
386
|
}
|
|
387
|
-
const
|
|
388
|
-
if (!
|
|
387
|
+
const o = la(t, m, /* @__PURE__ */ new Date(), { locale: u });
|
|
388
|
+
if (!oa(o) || bt(o)) {
|
|
389
389
|
d(!0);
|
|
390
390
|
return;
|
|
391
391
|
}
|
|
392
392
|
d(!1);
|
|
393
393
|
let P;
|
|
394
|
-
e === "from" ? P = a.to && ge(
|
|
394
|
+
e === "from" ? P = a.to && ge(o, a.to) ? { from: o, to: void 0 } : { from: o, to: a.to } : P = a.from && ge(a.from, o) ? { from: o, to: void 0 } : { from: a.from, to: o }, re(o), ie(P);
|
|
395
395
|
}, Ke = (e) => (t) => {
|
|
396
396
|
t.key === "Enter" && (t.preventDefault(), de(e, e === "from" ? Pe : De));
|
|
397
397
|
}, St = () => {
|
|
@@ -404,42 +404,42 @@ const ua = {
|
|
|
404
404
|
}, Ot = () => {
|
|
405
405
|
D.current = !0, R(!1);
|
|
406
406
|
}, ce = () => {
|
|
407
|
-
p === "apply" && (I == null || I()), T(
|
|
407
|
+
p === "apply" && (I == null || I()), T(i), E(C ?? !1), R(!1);
|
|
408
408
|
}, Tt = (e) => {
|
|
409
409
|
if (e) {
|
|
410
410
|
D.current = !1, R(!0);
|
|
411
411
|
return;
|
|
412
412
|
}
|
|
413
|
-
p === "apply" && !D.current && (I == null || I()), T(
|
|
413
|
+
p === "apply" && !D.current && (I == null || I()), T(i), E(C ?? !1), D.current = !1, R(!1);
|
|
414
414
|
}, Gt = (e) => {
|
|
415
|
-
if (!
|
|
415
|
+
if (!i.from || !i.to) return !1;
|
|
416
416
|
const t = e.range();
|
|
417
|
-
return Ue(t.from,
|
|
418
|
-
}, S =
|
|
419
|
-
if (
|
|
420
|
-
const e = k(
|
|
417
|
+
return Ue(t.from, i.from) && Ue(t.to, i.to);
|
|
418
|
+
}, S = oe.find(Gt), Le = (() => {
|
|
419
|
+
if (i.from && i.to) {
|
|
420
|
+
const e = k(i.from, m, { locale: u }), t = k(i.to, m, { locale: u });
|
|
421
421
|
return `${e} – ${t}`;
|
|
422
422
|
}
|
|
423
|
-
return
|
|
423
|
+
return i.from ? k(i.from, m, { locale: u }) : "";
|
|
424
424
|
})(), U = a.from ? a.to ? null : "end" : "start", Vt = (() => {
|
|
425
425
|
if (!a.from)
|
|
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 = ve(a.to, a.from) + 1, t = k(a.from, m, { locale: u }), d = k(a.to, m, { locale: u }),
|
|
430
|
-
return `${t} – ${d} · ${
|
|
429
|
+
const e = ve(a.to, a.from) + 1, t = k(a.from, m, { locale: u }), d = k(a.to, m, { locale: u }), o = n("inputs.dateRangePicker.days", { count: e });
|
|
430
|
+
return `${t} – ${d} · ${o}`;
|
|
431
431
|
})(), v = fe({
|
|
432
|
-
currentValue:
|
|
432
|
+
currentValue: i,
|
|
433
433
|
open: O,
|
|
434
434
|
getGranularity: () => q ? B : void 0,
|
|
435
435
|
setGranularity: (e) => se(W(e)),
|
|
436
|
-
getCompareRange: () => Me ? y(
|
|
436
|
+
getCompareRange: () => Me ? y(i) : 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
440
|
E(e), z(e), f == null || f(
|
|
441
441
|
e,
|
|
442
|
-
e ? y(
|
|
442
|
+
e ? y(i) : void 0
|
|
443
443
|
);
|
|
444
444
|
},
|
|
445
445
|
getActivePreset: () => S == null ? void 0 : S.label,
|
|
@@ -448,15 +448,15 @@ const ua = {
|
|
|
448
448
|
cancel: () => ce()
|
|
449
449
|
});
|
|
450
450
|
v.current = {
|
|
451
|
-
currentValue:
|
|
451
|
+
currentValue: i,
|
|
452
452
|
open: O,
|
|
453
453
|
getGranularity: () => q ? B : void 0,
|
|
454
454
|
setGranularity: (e) => se(W(e)),
|
|
455
|
-
getCompareRange: () => Me ? y(
|
|
455
|
+
getCompareRange: () => Me ? y(i) : void 0,
|
|
456
456
|
setCompare: (e) => {
|
|
457
457
|
E(e), z(e), f == null || f(
|
|
458
458
|
e,
|
|
459
|
-
e ? y(
|
|
459
|
+
e ? y(i) : void 0
|
|
460
460
|
);
|
|
461
461
|
},
|
|
462
462
|
getActivePreset: () => S == null ? void 0 : S.label,
|
|
@@ -488,7 +488,7 @@ const ua = {
|
|
|
488
488
|
return /* @__PURE__ */ r(H.Root, { open: O, onOpenChange: Tt, children: /* @__PURE__ */ c(
|
|
489
489
|
"div",
|
|
490
490
|
{
|
|
491
|
-
className:
|
|
491
|
+
className: it,
|
|
492
492
|
"data-component": "date-range-picker",
|
|
493
493
|
"data-component-id": ae,
|
|
494
494
|
children: [
|
|
@@ -525,7 +525,7 @@ const ua = {
|
|
|
525
525
|
{
|
|
526
526
|
"aria-hidden": "true",
|
|
527
527
|
className: Qt({ size: be }),
|
|
528
|
-
children: /* @__PURE__ */ r(
|
|
528
|
+
children: /* @__PURE__ */ r(ia, {})
|
|
529
529
|
}
|
|
530
530
|
)
|
|
531
531
|
]
|
|
@@ -541,6 +541,7 @@ const ua = {
|
|
|
541
541
|
"inputs.dateRangePicker.title",
|
|
542
542
|
"Select date range"
|
|
543
543
|
),
|
|
544
|
+
"data-component": "date-range-picker-content",
|
|
544
545
|
className: sa(),
|
|
545
546
|
children: /* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
546
547
|
/* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
@@ -663,8 +664,8 @@ const ua = {
|
|
|
663
664
|
) : null
|
|
664
665
|
] }),
|
|
665
666
|
/* @__PURE__ */ c("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
|
|
666
|
-
|
|
667
|
-
const d = `${Oe}-pg${t}`,
|
|
667
|
+
oe.length > 0 ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: Ee.map((e, t) => {
|
|
668
|
+
const d = `${Oe}-pg${t}`, o = e.presets.map((P) => {
|
|
668
669
|
const pe = P === S;
|
|
669
670
|
return /* @__PURE__ */ c(
|
|
670
671
|
"button",
|
|
@@ -702,11 +703,11 @@ const ua = {
|
|
|
702
703
|
children: e.group
|
|
703
704
|
}
|
|
704
705
|
),
|
|
705
|
-
|
|
706
|
+
o
|
|
706
707
|
]
|
|
707
708
|
},
|
|
708
709
|
e.group
|
|
709
|
-
) : /* @__PURE__ */ r(Kt, { children:
|
|
710
|
+
) : /* @__PURE__ */ r(Kt, { children: o }, e.group || "_ungrouped");
|
|
710
711
|
}) }) : null,
|
|
711
712
|
/* @__PURE__ */ c("div", { role: "region", "aria-labelledby": Ve, children: [
|
|
712
713
|
/* @__PURE__ */ r("span", { id: Ve, className: "ds:sr-only", children: n("inputs.dateRangePicker.gridLabel", "Calendar") }),
|
|
@@ -846,4 +847,4 @@ export {
|
|
|
846
847
|
fa as D,
|
|
847
848
|
ua as d
|
|
848
849
|
};
|
|
849
|
-
//# sourceMappingURL=date-range-picker-
|
|
850
|
+
//# sourceMappingURL=date-range-picker-BD8P_rJq.js.map
|
|
@@ -7,7 +7,7 @@ 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-D0RS391l.js";
|
|
9
9
|
import { u as ge } from "./registry-DvAUVLHh.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-
|
|
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-DfuooXEK.js";
|
|
11
11
|
import { t as A, f as xe } from "./format-4HNwNGrN.js";
|
|
12
12
|
import { C as Oe } from "./calendar-days-BGWklvE-.js";
|
|
13
13
|
function K(e, t, r) {
|
|
@@ -333,4 +333,4 @@ export {
|
|
|
333
333
|
Ie as D,
|
|
334
334
|
Ne as d
|
|
335
335
|
};
|
|
336
|
-
//# sourceMappingURL=date-time-picker-
|
|
336
|
+
//# sourceMappingURL=date-time-picker-3I2vVKGV.js.map
|
|
@@ -6,13 +6,13 @@ import { u as de } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { R as C } from "./radio-TWf9Q-mp.js";
|
|
7
7
|
import { R as z } from "./radio-group-rXDJADzW.js";
|
|
8
8
|
import { F as w } from "./form-field-CahJzTxp.js";
|
|
9
|
-
import { D as T } from "./date-picker-
|
|
9
|
+
import { D as T } from "./date-picker-CepI_oI2.js";
|
|
10
10
|
import { N as Y } from "./number-input-Cgu2TtA8.js";
|
|
11
11
|
import { C as U } from "./card-DPmk26CL.js";
|
|
12
12
|
import { B as W } from "./badge-sTusUqZD.js";
|
|
13
13
|
import { I as ce } from "./insert-result-LCNTskNJ.js";
|
|
14
|
-
import { D as x, r as ue, c as me, e as pe, f as he, A as ge, h as fe, i as ye } from "./antenatal-schedule-timeline-
|
|
15
|
-
import { c as J } from "./date-picker-variants-
|
|
14
|
+
import { D as x, r as ue, c as me, e as pe, f as he, A as ge, h as fe, i as ye } from "./antenatal-schedule-timeline-B1k8QkA6.js";
|
|
15
|
+
import { c as J } from "./date-picker-variants-DfuooXEK.js";
|
|
16
16
|
import { p as De } from "./parseISO-fOGpHKXm.js";
|
|
17
17
|
import { f as be } from "./format-4HNwNGrN.js";
|
|
18
18
|
const y = "Superseded by the `pregnancy-dating` adapter.", R = {
|
|
@@ -568,4 +568,4 @@ Ae.displayName = "DueDateCalculator";
|
|
|
568
568
|
export {
|
|
569
569
|
Ae as D
|
|
570
570
|
};
|
|
571
|
-
//# sourceMappingURL=due-date-calculator-
|
|
571
|
+
//# sourceMappingURL=due-date-calculator-BF_Ikofx.js.map
|
|
@@ -16,7 +16,7 @@ import { F as Nt, a as Tt } from "./file-Cwe9VC1A.js";
|
|
|
16
16
|
import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
17
17
|
import { F as At } from "./file-spreadsheet-DmwyfV4O.js";
|
|
18
18
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
19
|
-
import { A as Rt, d as It, D as Te } from "./actions-cell-renderer-
|
|
19
|
+
import { A as Rt, d as It, D as Te } from "./actions-cell-renderer-B2pw6iH8.js";
|
|
20
20
|
import { B as $e } from "./badge-sTusUqZD.js";
|
|
21
21
|
import { D as Ge } from "./download-CfYKJO_j.js";
|
|
22
22
|
import { P as zt } from "./pen-line-D0De5zdl.js";
|
|
@@ -1756,4 +1756,4 @@ export {
|
|
|
1756
1756
|
yn as F,
|
|
1757
1757
|
Gt as f
|
|
1758
1758
|
};
|
|
1759
|
-
//# sourceMappingURL=file-manager-
|
|
1759
|
+
//# sourceMappingURL=file-manager-Crg5dKez.js.map
|
|
@@ -6,15 +6,15 @@ import { u as ue } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { R as d } from "./radio-TWf9Q-mp.js";
|
|
7
7
|
import { R as S } from "./radio-group-rXDJADzW.js";
|
|
8
8
|
import { F as k } from "./form-field-CahJzTxp.js";
|
|
9
|
-
import { D as _ } from "./date-picker-
|
|
9
|
+
import { D as _ } from "./date-picker-CepI_oI2.js";
|
|
10
10
|
import { S as me } from "./select-BW5ecXlX.js";
|
|
11
11
|
import { S as ge } from "./switch-OILsBLWo.js";
|
|
12
12
|
import { C as E } from "./card-DPmk26CL.js";
|
|
13
13
|
import { B as G } from "./badge-sTusUqZD.js";
|
|
14
14
|
import { I as pe } from "./insert-result-LCNTskNJ.js";
|
|
15
|
-
import { c as he, g as fe, e as ye, f as ve, A as be, h as Ae, i as De, G as Ce } from "./antenatal-schedule-timeline-
|
|
16
|
-
import { s as we } from "./subDays-
|
|
17
|
-
import { c as j } from "./date-picker-variants-
|
|
15
|
+
import { c as he, g as fe, e as ye, f as ve, A as be, h as Ae, i as De, G as Ce } from "./antenatal-schedule-timeline-B1k8QkA6.js";
|
|
16
|
+
import { s as we } from "./subDays-BLl3y3pd.js";
|
|
17
|
+
import { c as j } from "./date-picker-variants-DfuooXEK.js";
|
|
18
18
|
import { p as Se } from "./parseISO-fOGpHKXm.js";
|
|
19
19
|
import { f as ke } from "./format-4HNwNGrN.js";
|
|
20
20
|
const x = "Superseded by the `pregnancy-dating` adapter.", F = {
|
|
@@ -485,4 +485,4 @@ Re.displayName = "GestationalAgeCalculator";
|
|
|
485
485
|
export {
|
|
486
486
|
Re as G
|
|
487
487
|
};
|
|
488
|
-
//# sourceMappingURL=gestational-age-calculator-
|
|
488
|
+
//# sourceMappingURL=gestational-age-calculator-CxZelpu2.js.map
|
|
@@ -5,11 +5,11 @@ import { useTranslation as J } from "react-i18next";
|
|
|
5
5
|
import { u as Q } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F as S } from "./form-field-CahJzTxp.js";
|
|
7
7
|
import { N as P } from "./number-input-Cgu2TtA8.js";
|
|
8
|
-
import { D as G } from "./date-time-picker-
|
|
8
|
+
import { D as G } from "./date-time-picker-3I2vVKGV.js";
|
|
9
9
|
import { C as B } from "./card-DPmk26CL.js";
|
|
10
10
|
import { B as X } from "./badge-sTusUqZD.js";
|
|
11
11
|
import { I as ee } from "./insert-result-LCNTskNJ.js";
|
|
12
|
-
import { c as te } from "./date-picker-variants-
|
|
12
|
+
import { c as te } from "./date-picker-variants-DfuooXEK.js";
|
|
13
13
|
import { p as ne } from "./parseISO-fOGpHKXm.js";
|
|
14
14
|
import { t as se, e as h } from "./format-4HNwNGrN.js";
|
|
15
15
|
function ae(e, l) {
|
|
@@ -309,4 +309,4 @@ export {
|
|
|
309
309
|
re as M,
|
|
310
310
|
oe as a
|
|
311
311
|
};
|
|
312
|
-
//# sourceMappingURL=hcg-doubling-
|
|
312
|
+
//# sourceMappingURL=hcg-doubling-CpU7H5rQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c, jsxs as O } from "react/jsx-runtime";
|
|
2
2
|
import { useState as k, useEffect as w, useCallback as U, useMemo as z, useRef as J } from "react";
|
|
3
3
|
import { useGridFilter as A } from "ag-grid-react";
|
|
4
|
-
import { D as H } from "./date-range-picker-
|
|
4
|
+
import { D as H } from "./date-range-picker-BD8P_rJq.js";
|
|
5
5
|
import { useTranslation as L } from "react-i18next";
|
|
6
6
|
import { C as Q } from "./checkbox-BuZ1u__2.js";
|
|
7
7
|
import { B as P } from "./button-nJaPh_HC.js";
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
Ae as f,
|
|
770
770
|
qe as g
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
772
|
+
//# sourceMappingURL=link-cell-renderer-BZQtsuFz.js.map
|
|
@@ -4,7 +4,7 @@ import { c as pe } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as fe } from "react-i18next";
|
|
5
5
|
import { u as me } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { C as ge } from "./clinical-note-card-BBgFd2nB.js";
|
|
7
|
-
import { R as he } from "./rich-text-editor-
|
|
7
|
+
import { R as he } from "./rich-text-editor-BDfFtK4H.js";
|
|
8
8
|
import { T as be } from "./text-area-Bt3p7Pt0.js";
|
|
9
9
|
import { B as ve } from "./button-nJaPh_HC.js";
|
|
10
10
|
import { C as ye } from "./checkbox-BuZ1u__2.js";
|
|
@@ -348,4 +348,4 @@ const Se = se(
|
|
|
348
348
|
export {
|
|
349
349
|
Se as N
|
|
350
350
|
};
|
|
351
|
-
//# sourceMappingURL=notes-panel-
|
|
351
|
+
//# sourceMappingURL=notes-panel-e9cJWVRg.js.map
|
|
@@ -8,7 +8,7 @@ import { C as T } from "./card-DPmk26CL.js";
|
|
|
8
8
|
import { R as B } from "./rating-BYbUowdK.js";
|
|
9
9
|
import { u as F } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
10
10
|
import { u as K } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import {
|
|
11
|
+
import { b as S } from "./entity-card-DmrgYSEX.js";
|
|
12
12
|
const V = {
|
|
13
13
|
id: "operator-hero",
|
|
14
14
|
// Purely observable hero region — no interactive affordances and no
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
M as O,
|
|
200
200
|
V as o
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=operator-hero-
|
|
202
|
+
//# sourceMappingURL=operator-hero-BnFv-Uef.js.map
|
|
@@ -2,7 +2,7 @@ var re = Object.defineProperty;
|
|
|
2
2
|
var te = (s, n, e) => n in s ? re(s, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[n] = e;
|
|
3
3
|
var i = (s, n, e) => te(s, typeof n != "symbol" ? n + "" : n, e);
|
|
4
4
|
import { o as K, t as k, c as p, m as se, a as ne, p as ae, q as ie, s as H, r as $, u as oe, v as ce, w as V, x as ue, y as z, z as le, A as Z, B as de } from "./format-4HNwNGrN.js";
|
|
5
|
-
import { a as j } from "./date-picker-variants-
|
|
5
|
+
import { a as j } from "./date-picker-variants-DfuooXEK.js";
|
|
6
6
|
function we() {
|
|
7
7
|
return Object.assign({}, K());
|
|
8
8
|
}
|
|
@@ -1598,4 +1598,4 @@ function cr(s) {
|
|
|
1598
1598
|
export {
|
|
1599
1599
|
wr as p
|
|
1600
1600
|
};
|
|
1601
|
-
//# sourceMappingURL=parse-
|
|
1601
|
+
//# sourceMappingURL=parse-MN9bGkrY.js.map
|