@alfadocs/ui-kit 1.139.0 → 1.140.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/{anamnesis-summary-rows-BgfBnjp0.js → anamnesis-summary-rows-YJGs2uWD.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CRrIv2hy.js → balance-badge-cell-CRStPNDd.js} +2 -2
- package/dist/_chunks/{bill-line-table-DCqxhode.js → bill-line-table-DTqXdBED.js} +2 -2
- package/dist/_chunks/{bmi-calculator-rri5vvMt.js → bmi-calculator-rq3ZsKp0.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-GdnaPIOV.js → calendar-appointment-editor-dialog-BBrJlmyd.js} +4 -4
- package/dist/_chunks/{calendar-waiting-list-panel-CkZBAv_E.js → calendar-waiting-list-panel-Cdg9YssA.js} +2 -2
- package/dist/_chunks/{calendar.sheets-B0jP2Yt0.js → calendar.sheets-DbMOO7YV.js} +2 -2
- package/dist/_chunks/{cycle-calculator-WFhMfJHt.js → cycle-calculator-Cb66X2Pf.js} +2 -2
- package/dist/_chunks/{data-grid-bQ6iFm10.js → data-grid-CRUSZcVT.js} +2 -2
- package/dist/_chunks/{default-tabs-Dm_vk6hd.js → default-tabs-CRbVCDSU.js} +3 -3
- package/dist/_chunks/{due-date-calculator-CALlODZe.js → due-date-calculator-Dlqegxx9.js} +2 -2
- package/dist/_chunks/{fetal-weight-D0KofJJw.js → fetal-weight-DWj-_ME8.js} +2 -2
- package/dist/_chunks/{hcg-doubling-Dhdt3Jyd.js → hcg-doubling-Dqbj6PQj.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-Dz3CXHPP.js → invoice-upload-list-BR6vycF7.js} +3 -3
- package/dist/_chunks/{kit-extensions-BB_ksnVl.js → kit-extensions-QddOSnIq.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-CSA0KKPe.js → link-cell-renderer-hAJplRFF.js} +2 -2
- package/dist/_chunks/medication-line-BohqbCYD.js +238 -0
- package/dist/_chunks/{number-input-DUSvP7Dq.js → number-input-Bi5Yk6PX.js} +135 -133
- package/dist/_chunks/{optical-prescription-C4jpDFOE.js → optical-prescription-GzeK_2cf.js} +2 -2
- package/dist/_chunks/{patient-details-DQTxSWY4.js → patient-details-D0PjzALT.js} +2 -2
- package/dist/_chunks/{patient-field-row-CXuWQeQJ.js → patient-field-row-DlpIModg.js} +2 -2
- package/dist/_chunks/{patient-summary-card-j5u7c5Us.js → patient-summary-card-BP_K7g_q.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-C-3NLI6K.js → pregnancy-dating-a6WIg4oy.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-DkGcEc_l.js → pregnancy-weight-gain-DmrVHk9y.js} +2 -2
- package/dist/_chunks/prescription-history-Bp_JHhdF.js +1719 -0
- package/dist/_chunks/{print-sheet-CSeqkM3_.js → print-sheet-gaxObGcm.js} +110 -100
- package/dist/_chunks/{toolbar-Dz_hAUIZ.js → toolbar-B7UHCMSr.js} +2 -2
- package/dist/_chunks/{unit-converter-CBy7S4Tl.js → unit-converter-OBhSDXee.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CBSpX4DI.js → use-appointment-details-read-DeQnmmZw.js} +2 -2
- package/dist/agent-catalog.json +8 -14
- package/dist/agent-i18n/en.json +3 -3
- package/dist/appointment-editor-panel/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/medication-line/index.js +1 -1
- package/dist/components/medication-line/medication-line.d.ts +6 -0
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/print-sheet/index.js +1 -1
- package/dist/components/print-sheet/print-sheet.d.ts +7 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +6 -1
- package/dist/i18n/locales/ar.d.ts +27 -10
- package/dist/i18n/locales/ar.js +32 -15
- package/dist/i18n/locales/de.d.ts +27 -10
- package/dist/i18n/locales/de.js +32 -15
- package/dist/i18n/locales/el.d.ts +27 -10
- package/dist/i18n/locales/el.js +32 -15
- package/dist/i18n/locales/en.d.ts +27 -10
- package/dist/i18n/locales/en.js +32 -15
- package/dist/i18n/locales/es.d.ts +27 -10
- package/dist/i18n/locales/es.js +32 -15
- package/dist/i18n/locales/fr.d.ts +27 -10
- package/dist/i18n/locales/fr.js +32 -15
- package/dist/i18n/locales/hi.d.ts +27 -10
- package/dist/i18n/locales/hi.js +32 -15
- package/dist/i18n/locales/it.d.ts +27 -10
- package/dist/i18n/locales/it.js +32 -15
- package/dist/i18n/locales/ja.d.ts +27 -10
- package/dist/i18n/locales/ja.js +32 -15
- package/dist/i18n/locales/nl.d.ts +27 -10
- package/dist/i18n/locales/nl.js +32 -15
- package/dist/i18n/locales/pl.d.ts +27 -10
- package/dist/i18n/locales/pl.js +32 -15
- package/dist/i18n/locales/pt.d.ts +27 -10
- package/dist/i18n/locales/pt.js +32 -15
- package/dist/i18n/locales/ro.d.ts +27 -10
- package/dist/i18n/locales/ro.js +32 -15
- package/dist/i18n/locales/ru.d.ts +27 -10
- package/dist/i18n/locales/ru.js +32 -15
- package/dist/i18n/locales/sq.d.ts +27 -10
- package/dist/i18n/locales/sq.js +32 -15
- package/dist/i18n/locales/sv.d.ts +27 -10
- package/dist/i18n/locales/sv.js +32 -15
- package/dist/i18n/locales/tr.d.ts +27 -10
- package/dist/i18n/locales/tr.js +32 -15
- package/dist/i18n/locales/zh.d.ts +27 -10
- package/dist/i18n/locales/zh.js +32 -15
- package/dist/index.js +27 -27
- package/dist/locales/ar.json +32 -15
- package/dist/locales/de.json +32 -15
- package/dist/locales/el.json +32 -15
- package/dist/locales/en.json +32 -15
- package/dist/locales/es.json +32 -15
- package/dist/locales/fr.json +32 -15
- package/dist/locales/hi.json +32 -15
- package/dist/locales/it.json +32 -15
- package/dist/locales/ja.json +32 -15
- package/dist/locales/nl.json +32 -15
- package/dist/locales/pl.json +32 -15
- package/dist/locales/pt.json +32 -15
- package/dist/locales/ro.json +32 -15
- package/dist/locales/ru.json +32 -15
- package/dist/locales/sq.json +32 -15
- package/dist/locales/sv.json +32 -15
- package/dist/locales/tr.json +32 -15
- package/dist/locales/zh.json +32 -15
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +2 -2
- package/dist/patterns/prescription/index.d.ts +1 -1
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/prescription/prescription-composer-item.d.ts +8 -1
- package/dist/patterns/prescription/prescription-composer.d.ts +14 -9
- package/dist/patterns/prescription/prescription-sheet.d.ts +23 -4
- package/dist/patterns/prescription/prescription-types.d.ts +35 -10
- package/dist/patterns/prescription/prescription-validation.d.ts +17 -11
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/medication-line-CHdlh-F7.js +0 -222
- package/dist/_chunks/prescription-history-748qDVwZ.js +0 -1544
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as S, a as T, b as a, c as I, d as B, e as s, f as A, g as E, h as O, i as l, j as D, k as N, l as e, m as U, u as R } from "../../_chunks/default-tabs-
|
|
1
|
+
import { B as S, a as T, b as a, c as I, d as B, e as s, f as A, g as E, h as O, i as l, j as D, k as N, l as e, m as U, u as R } from "../../_chunks/default-tabs-CRbVCDSU.js";
|
|
2
2
|
export {
|
|
3
3
|
S as BILL_ACTION_DISABLED_REASONS,
|
|
4
4
|
T as BILL_COUNTERPARTY_KINDS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as m } from "../../_chunks/bmi-calculator-
|
|
1
|
+
import { B as m } from "../../_chunks/bmi-calculator-rq3ZsKp0.js";
|
|
2
2
|
import { b as e, a as t, c as r, d as T, e as c, f as i, i as b, k as n, l as f } from "../../_chunks/bmi-BxD-tFzU.js";
|
|
3
3
|
export {
|
|
4
4
|
m as BmiCalculator,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as _, a as D, b as r, c as E, d as I, e as T, f as G } from "../../_chunks/data-grid-
|
|
2
|
-
import { D as s, a as R } from "../../_chunks/toolbar-
|
|
1
|
+
import { D as _, a as D, b as r, c as E, d as I, e as T, f as G } from "../../_chunks/data-grid-CRUSZcVT.js";
|
|
2
|
+
import { D as s, a as R } from "../../_chunks/toolbar-B7UHCMSr.js";
|
|
3
3
|
export {
|
|
4
4
|
_ as DATA_GRID_DEFAULT_PAGE_SIZE,
|
|
5
5
|
D as DATA_GRID_MAX_SORT_LEVELS,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-CnLfOwxg.js";
|
|
2
2
|
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as f, r as m, u as E, w as h } from "../../_chunks/editable-currency-cell-renderer-CZMQ5xRT.js";
|
|
3
|
-
import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-
|
|
3
|
+
import { D as S, a as A, b as I, I as y, L, N, c as P, S as W, d as B, e as U, T as _, f as k, g as v, U as H } from "../../_chunks/link-cell-renderer-hAJplRFF.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-C-l_ppP6.js";
|
|
5
5
|
export {
|
|
6
6
|
X as ActionsCellRenderer,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e } from "../../_chunks/due-date-calculator-
|
|
1
|
+
import { D as e } from "../../_chunks/due-date-calculator-Dlqegxx9.js";
|
|
2
2
|
import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-XHbig8On.js";
|
|
3
3
|
export {
|
|
4
4
|
r as CRL_DATING_MAX_MM,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as O, a, b as L, c as N, d as s, i as S } from "../../_chunks/invoice-upload-list-
|
|
1
|
+
import { I as O, a, b as L, c as N, d as s, i as S } from "../../_chunks/invoice-upload-list-BR6vycF7.js";
|
|
2
2
|
export {
|
|
3
3
|
O as INVOICE_DOCUMENT_KINDS,
|
|
4
4
|
a as INVOICE_SUPPLIER_KINDS,
|
|
@@ -10,6 +10,12 @@ export interface MedicationLineProps extends Omit<HTMLAttributes<HTMLElement>, '
|
|
|
10
10
|
dosage: string;
|
|
11
11
|
/** Optional free-text notes. */
|
|
12
12
|
notes?: string;
|
|
13
|
+
/** Number of packs, shown as a labelled value. Omitted: nothing is shown. */
|
|
14
|
+
quantity?: number;
|
|
15
|
+
/** Duration of therapy as the prescriber wrote it, for example "6 days". */
|
|
16
|
+
duration?: string;
|
|
17
|
+
/** True: shows the statement "Not substitutable", as text in a neutral badge. */
|
|
18
|
+
notSubstitutable?: boolean;
|
|
13
19
|
/**
|
|
14
20
|
* Short label printed before `medication.code`, for example "AIC". Not
|
|
15
21
|
* translated by the kit. Falls back to `medicationSearch.codeFallbackLabel`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-
|
|
1
|
+
import { A as S, a as r, b as A, c as e, d as I, e as _, C as t, f as E, g as o, D as M, h as i, E as P, L as N, O as R, P as m, i as D, j as n, k as f, l, R as X, S as C, m as d, n as p, o as T, p as c, q as L, r as O, s as Y, t as g, u as x, v as B, w as u, x as w, y, z as H, B as b, F as h } from "../../_chunks/optical-prescription-GzeK_2cf.js";
|
|
2
2
|
export {
|
|
3
3
|
S as ADD_MAX,
|
|
4
4
|
r as ADD_MIN,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-
|
|
1
|
+
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-CRStPNDd.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-
|
|
1
|
+
import { P as n, R as s, T as i, a as g, p as r, r as t } from "../../_chunks/pregnancy-weight-gain-DmrVHk9y.js";
|
|
2
2
|
export {
|
|
3
3
|
n as PregnancyWeightGain,
|
|
4
4
|
s as RATE_BANDS,
|
|
@@ -47,6 +47,13 @@ export interface PrintSheetProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
|
|
|
47
47
|
*/
|
|
48
48
|
'aria-label'?: string;
|
|
49
49
|
id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Register this sheet with the agent runtime. Default true. A pattern that
|
|
52
|
+
* wraps the sheet and has its own print rules (a prescription that must not
|
|
53
|
+
* be printed by the kit) passes false, so the runtime cannot print around
|
|
54
|
+
* them.
|
|
55
|
+
*/
|
|
56
|
+
registerAgent?: boolean;
|
|
50
57
|
/** The body of the document. */
|
|
51
58
|
children: ReactNode;
|
|
52
59
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { R as i, r as o, w as a } from "../../_chunks/rich-text-editor-DFsH5RAj.js";
|
|
2
|
-
import { k as s } from "../../_chunks/kit-extensions-
|
|
2
|
+
import { k as s } from "../../_chunks/kit-extensions-QddOSnIq.js";
|
|
3
3
|
export {
|
|
4
4
|
i as RichTextEditor,
|
|
5
5
|
s as kitEditorExtensions,
|