@alfadocs/ui-kit 1.11.0 → 1.12.4
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-xfSYiTXQ.js → actions-cell-renderer-BCEjn3-f.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-d44s_whc.js → anamnesis-summary-rows-BfhxWPO3.js} +1421 -1418
- package/dist/_chunks/appointment-timeline-DCn0Jx55.js +403 -0
- package/dist/_chunks/{balance-badge-cell-C_Qz76x7.js → balance-badge-cell-BrlikHfT.js} +317 -290
- package/dist/_chunks/{chart-Bkr1Sh4o.js → chart-C6eHTxkO.js} +2 -2
- package/dist/_chunks/{control-room-rail-Cj2iX9h_.js → control-room-rail-iO_BCaq1.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-zLf_bXvL.js → editable-currency-cell-renderer-B7TVZ5ZJ.js} +2 -2
- package/dist/_chunks/{face-scheme-BfDi4YkW.js → face-scheme-CZaKm6fG.js} +2 -2
- package/dist/_chunks/{file-manager-Df6hyUYg.js → file-manager-Moc7sUFj.js} +3 -3
- package/dist/_chunks/{header-settings-CVC_davE.js → header-settings-J-ZCAfir.js} +2 -2
- package/dist/_chunks/{icon-button-group-D6SVMteH.js → icon-button-group-VCCod3Hz.js} +154 -145
- package/dist/_chunks/{link-cell-renderer-Cp2MSlJl.js → link-cell-renderer-CenJx-_7.js} +197 -181
- package/dist/_chunks/{marketplace-app-shell-Chfdia7m.js → marketplace-app-shell-DDQXQ8hX.js} +2 -2
- package/dist/_chunks/{notes-panel-e9cJWVRg.js → notes-panel-CymneXtl.js} +93 -91
- package/dist/_chunks/{signature-request-CW30B77U.js → signature-request-DVDTKLjM.js} +2 -2
- package/dist/_chunks/{theme-toggle-DuMhQNFS.js → theme-toggle-uEwoKjl3.js} +2 -2
- package/dist/_chunks/{tool-rail-CHyUmulN.js → tool-rail-8Scslq3X.js} +2 -2
- package/dist/_chunks/{whatsapp-button-Ca9towA4.js → whatsapp-button-CuFIHJzG.js} +27 -19
- package/dist/agent-catalog.json +2 -2
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +8 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-table/filters/date-range-filter.d.ts +22 -0
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +6 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +1 -1
- package/dist/components/whatsapp-button/index.js +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/index.js +16 -16
- package/dist/patterns/anamnesis/anamnesis-config.d.ts +18 -7
- package/dist/patterns/anamnesis/anamnesis-types.d.ts +8 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-0mwtpErq.js +0 -388
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as r, D as l, E as t, T as s, a as d, b as n, c as o, d as i, e as R, f as C, g as T, i as F, h as g } from "../../_chunks/actions-cell-renderer-
|
|
2
|
-
import { B as b, C as c, a as u, E as x, b as p, R as E, T as m, c as f, r as h, u as S } from "../../_chunks/editable-currency-cell-renderer-
|
|
3
|
-
import { D as w, a as y, b as I, I as L, L as N, N as P, c as W, S as B, d as U, e as _, T as k, f as v, g as O, U as X } from "../../_chunks/link-cell-renderer-
|
|
1
|
+
import { A as r, D as l, E as t, T as s, a as d, b as n, c as o, d as i, e as R, f as C, g as T, i as F, h as g } from "../../_chunks/actions-cell-renderer-BCEjn3-f.js";
|
|
2
|
+
import { B as b, C as c, a as u, E as x, b as p, R as E, T as m, c as f, r as h, u as S } from "../../_chunks/editable-currency-cell-renderer-B7TVZ5ZJ.js";
|
|
3
|
+
import { D as w, a as y, b as I, I as L, L as N, N as P, c as W, S as B, d as U, e as _, T as k, f as v, g as O, U as X } from "../../_chunks/link-cell-renderer-CenJx-_7.js";
|
|
4
4
|
export {
|
|
5
5
|
r as ActionsCellRenderer,
|
|
6
6
|
b as BalanceCellRenderer,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-
|
|
1
|
+
import { A as e, F as o, a as n, b as A, c as i, d as f, e as t, I, f as N, g as T, h as F, i as _, j as E, k as c, l as h, m as r, n as p, o as O, p as S, q as m, r as l, s as d, t as C, u as D } from "../../_chunks/face-scheme-CZaKm6fG.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ANNOTATION_TOOL_KIND,
|
|
4
4
|
o as FACE_ANNOTATION_TOOLS,
|
|
@@ -122,6 +122,12 @@ export interface NotesPanelProps extends Omit<HTMLAttributes<HTMLElement>, 'titl
|
|
|
122
122
|
onTogglePin?: (id: string) => void;
|
|
123
123
|
/** Toggle a note's flagged state — renders an inline flag button per note. */
|
|
124
124
|
onToggleFlag?: (id: string) => void;
|
|
125
|
+
/**
|
|
126
|
+
* Host-owned actions rendered under each note (edit, delete, share…),
|
|
127
|
+
* aligned to the inline end. The host supplies labelled controls and owns
|
|
128
|
+
* what they do — the panel stays a timeline and never edits a note itself.
|
|
129
|
+
*/
|
|
130
|
+
noteActions?: (note: NotesPanelNote) => ReactNode;
|
|
125
131
|
/** Panel heading. Defaults to the localised "Notes". */
|
|
126
132
|
title?: string;
|
|
127
133
|
/** Composer placeholder. */
|
|
@@ -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-BrlikHfT.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -92,7 +92,7 @@ export interface ToolRailProps extends VariantProps<typeof railVariants> {
|
|
|
92
92
|
* Opt-in resize affordance for the open tool panel. Renders a
|
|
93
93
|
* `role="separator"` drag handle on the panel's inner edge (the edge
|
|
94
94
|
* facing the main content). The committed width is written to
|
|
95
|
-
* `--tool-rail-panel-inline-size` on the panel element (288–
|
|
95
|
+
* `--tool-rail-panel-inline-size` on the panel element (288–880px);
|
|
96
96
|
* Enter / double-click resets to the token-driven default. Default `false`.
|
|
97
97
|
*/
|
|
98
98
|
resizablePanel?: boolean;
|
package/dist/host-compat.css
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
/* ───────────────────────────────────────────────────────────────────────
|
|
43
43
|
SECTION A — design tokens (custom properties). UNLAYERED.
|
|
44
|
-
|
|
44
|
+
95 declarations across 73 token names and 25 selectors.
|
|
45
45
|
|
|
46
46
|
Unlayered normal declarations outrank every layered one regardless of
|
|
47
47
|
source order and specificity, so this block beats the kit's own
|
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
.ds\:\[--carousel-item-inline-size\:28rem\] {
|
|
88
88
|
--carousel-item-inline-size:448px;
|
|
89
89
|
}
|
|
90
|
+
.ds\:\[--inc1-nav-block-size\:3\.5rem\] {
|
|
91
|
+
--inc1-nav-block-size:56px;
|
|
92
|
+
}
|
|
90
93
|
.ds\:\[--map-block-size\:14rem\] {
|
|
91
94
|
--map-block-size:224px;
|
|
92
95
|
}
|
|
@@ -117,6 +120,9 @@
|
|
|
117
120
|
.ds\:\[--tool-rail-panel-inline-size\:26rem\] {
|
|
118
121
|
--tool-rail-panel-inline-size:416px;
|
|
119
122
|
}
|
|
123
|
+
.ds\:\[--tool-rail-panel-inline-size\:34rem\] {
|
|
124
|
+
--tool-rail-panel-inline-size:544px;
|
|
125
|
+
}
|
|
120
126
|
:root,.theme-light {
|
|
121
127
|
--spacing:4px;
|
|
122
128
|
--spacing-2xs:2px;
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { I } from "./_chunks/icon-button-DA2CAGHZ.js";
|
|
|
9
9
|
import { b as R } from "./_chunks/button.agent-BuGZBktn.js";
|
|
10
10
|
import { B as _ } from "./_chunks/button-group-CaxRJsNG.js";
|
|
11
11
|
import { F as h } from "./_chunks/floating-action-button-pojvb9gG.js";
|
|
12
|
-
import { I as O } from "./_chunks/icon-button-group-
|
|
12
|
+
import { I as O } from "./_chunks/icon-button-group-VCCod3Hz.js";
|
|
13
13
|
import { S as L } from "./_chunks/sign-in-with-alfadocs-button-BLe_quy5.js";
|
|
14
14
|
import { SafeHtml as y, sanitiseHtml as k } from "./safe-html/index.js";
|
|
15
15
|
import { A as G, a as H, p as v } from "./_chunks/address-autocomplete-Bq-1n1UX.js";
|
|
@@ -75,14 +75,14 @@ import { C as Hr, c as vr } from "./_chunks/carousel.agent-CLxdHEBP.js";
|
|
|
75
75
|
import { C as Ur, c as Vr } from "./_chunks/connection-status-DRZIcMqM.js";
|
|
76
76
|
import { C as Kr } from "./_chunks/contact-card-0hnFJwrz.js";
|
|
77
77
|
import { C as Xr } from "./_chunks/counter-dRlTNC_y.js";
|
|
78
|
-
import { A as zr, D as jr, E as Qr, T as Jr, a as Zr, b as $r, c as ao, d as eo, e as so, f as ro, g as oo, i as to, h as no } from "./_chunks/actions-cell-renderer-
|
|
79
|
-
import { B as po, C as mo, a as lo, E as Ao, b as co, R as fo, T as go, c as So, r as Co, u as To } from "./_chunks/editable-currency-cell-renderer-
|
|
80
|
-
import { D as uo, a as Po, b as Io, I as Eo, L as Ro, N as bo, c as _o, S as No, d as ho, e as Do, T as Oo, f as Fo, g as Lo, U as Mo } from "./_chunks/link-cell-renderer-
|
|
78
|
+
import { A as zr, D as jr, E as Qr, T as Jr, a as Zr, b as $r, c as ao, d as eo, e as so, f as ro, g as oo, i as to, h as no } from "./_chunks/actions-cell-renderer-BCEjn3-f.js";
|
|
79
|
+
import { B as po, C as mo, a as lo, E as Ao, b as co, R as fo, T as go, c as So, r as Co, u as To } from "./_chunks/editable-currency-cell-renderer-B7TVZ5ZJ.js";
|
|
80
|
+
import { D as uo, a as Po, b as Io, I as Eo, L as Ro, N as bo, c as _o, S as No, d as ho, e as Do, T as Oo, f as Fo, g as Lo, U as Mo } from "./_chunks/link-cell-renderer-CenJx-_7.js";
|
|
81
81
|
import { D as ko, d as Bo, a as Go, b as Ho } from "./_chunks/data-table-tabs-D24qj89A.js";
|
|
82
82
|
import { C as wo, c as Uo } from "./_chunks/clinical-note-card-BBgFd2nB.js";
|
|
83
83
|
import { D as Wo } from "./_chunks/description-list-CjJqR8WK.js";
|
|
84
84
|
import { E as Yo } from "./_chunks/empty-state-X0sVPfVo.js";
|
|
85
|
-
import { F as qo, f as zo } from "./_chunks/file-manager-
|
|
85
|
+
import { F as qo, f as zo } from "./_chunks/file-manager-Moc7sUFj.js";
|
|
86
86
|
import { F as Qo, a as Jo, h as Zo } from "./_chunks/flag-DVBE6DnB.js";
|
|
87
87
|
import { K as at, k as et } from "./_chunks/kbd-D855ZXIW.js";
|
|
88
88
|
import { K as rt, a as ot } from "./_chunks/key-value-pair-BubG4fUa.js";
|
|
@@ -97,7 +97,7 @@ import { S as Et } from "./_chunks/stat-Bs80Z6Yv.js";
|
|
|
97
97
|
import { T as bt } from "./_chunks/tag-3wgkwwDB.js";
|
|
98
98
|
import { T as Nt, t as ht } from "./_chunks/timeline-r-8IUoBS.js";
|
|
99
99
|
import { T as Ot } from "./_chunks/timestamp-BV2lC-wV.js";
|
|
100
|
-
import { C as Lt, a as Mt, c as yt, u as kt, b as Bt, d as Gt } from "./_chunks/control-room-rail-
|
|
100
|
+
import { C as Lt, a as Mt, c as yt, u as kt, b as Bt, d as Gt } from "./_chunks/control-room-rail-iO_BCaq1.js";
|
|
101
101
|
import { B as vt, a as wt, b as Ut, c as Vt, d as Wt, e as Kt, f as Yt } from "./_chunks/breadcrumb-agut0PwN.js";
|
|
102
102
|
import { C as qt, a as zt, b as jt, c as Qt, d as Jt, e as Zt, f as $t, g as an, h as en, i as sn, j as rn, k as on, u as tn } from "./_chunks/command-palette-DQl_SNEv.js";
|
|
103
103
|
import { H as pn, a as mn, b as ln, c as dn, d as An, e as cn, f as fn, g as gn } from "./_chunks/header-DUXRIPyM.js";
|
|
@@ -115,7 +115,7 @@ import { s as hi } from "./_chunks/stepper-accordion.agent-cmEguIdx.js";
|
|
|
115
115
|
import { S as Oi, s as Fi } from "./_chunks/stepper-progress-Bv0njx4g.js";
|
|
116
116
|
import { T as Mi } from "./_chunks/tab-bar-DvFJIQfL.js";
|
|
117
117
|
import { T as ki, a as Bi, b as Gi, c as Hi, t as vi } from "./_chunks/tabs-CBb2AidH.js";
|
|
118
|
-
import { T as Ui, t as Vi } from "./_chunks/theme-toggle-
|
|
118
|
+
import { T as Ui, t as Vi } from "./_chunks/theme-toggle-uEwoKjl3.js";
|
|
119
119
|
import { A as Ki } from "./_chunks/agenda-card-pdN49pMu.js";
|
|
120
120
|
import { a as Xi } from "./_chunks/agenda-card.agent-Cb5tuEh3.js";
|
|
121
121
|
import { i as zi, i as ji, i as Qi, i as Ji } from "./_chunks/is-safe-url-DkETxeHz.js";
|
|
@@ -124,7 +124,7 @@ import { A as sp, a as rp } from "./_chunks/ai-consent-banner-OggpS5hW.js";
|
|
|
124
124
|
import { A as tp } from "./_chunks/alert-CiJT540z.js";
|
|
125
125
|
import { A as ip } from "./_chunks/appointment-card-Dzr3GeVz.js";
|
|
126
126
|
import { A as mp, a as lp, b as dp } from "./_chunks/appointment-tray-4FUu_5NX.js";
|
|
127
|
-
import { A as cp, a as fp } from "./_chunks/appointment-timeline-
|
|
127
|
+
import { A as cp, a as fp } from "./_chunks/appointment-timeline-DCn0Jx55.js";
|
|
128
128
|
import { D as Sp, d as Cp } from "./_chunks/dialog-UbKJCi1X.js";
|
|
129
129
|
import { D as xp, d as up } from "./_chunks/dropdown-menu-DU-Hrf33.js";
|
|
130
130
|
import { F as Ip } from "./_chunks/finished-terminal-Br61Ip4e.js";
|
|
@@ -137,7 +137,7 @@ import { M as kp, m as Bp } from "./_chunks/message-tray-CGIRQjx5.js";
|
|
|
137
137
|
import { N as Hp, i as vp } from "./_chunks/notification-card-CtrzoTUO.js";
|
|
138
138
|
import { n as Up } from "./_chunks/notification-card.agent-DxGBZb8T.js";
|
|
139
139
|
import { N as Wp, n as Kp } from "./_chunks/notification-tray-BiRzXHDf.js";
|
|
140
|
-
import { N as Xp } from "./_chunks/notes-panel-
|
|
140
|
+
import { N as Xp } from "./_chunks/notes-panel-CymneXtl.js";
|
|
141
141
|
import { P as zp, p as jp } from "./_chunks/popover-Cqcjx-Ny.js";
|
|
142
142
|
import { R as Jp, I as Zp, r as $p } from "./_chunks/radiograph-panel.agent-C3trfWqB.js";
|
|
143
143
|
import { P as em, R as sm, T as rm, a as om, p as tm, r as nm } from "./_chunks/pregnancy-weight-gain-CJwbs9W-.js";
|
|
@@ -163,7 +163,7 @@ import { S as Pl } from "./_chunks/separator-CYU_bGFn.js";
|
|
|
163
163
|
import { T as El } from "./_chunks/theme-root-BOO73p5t.js";
|
|
164
164
|
import { C as bl, U as _l, a as Nl, b as hl, c as Dl } from "./_chunks/unit-converter-BPumXMA6.js";
|
|
165
165
|
import { V as Fl } from "./_chunks/visually-hidden-BHxEUGyT.js";
|
|
166
|
-
import { C as Ml, c as yl, a as kl } from "./_chunks/chart-
|
|
166
|
+
import { C as Ml, c as yl, a as kl } from "./_chunks/chart-C6eHTxkO.js";
|
|
167
167
|
import { A as Gl, a as Hl } from "./_chunks/ai-prompt-input-DnbfEJnr.js";
|
|
168
168
|
import { A as wl, a as Ul } from "./_chunks/audio-recorder-EWBCNIsd.js";
|
|
169
169
|
import { A as Wl } from "./_chunks/audio-visualiser-l6zPd0AG.js";
|
|
@@ -193,7 +193,7 @@ import { P as WA, p as KA } from "./_chunks/patient-details-xrqe13az.js";
|
|
|
193
193
|
import { P as XA, p as qA } from "./_chunks/patient-search-D5ufYoRc.js";
|
|
194
194
|
import { P as jA, p as QA } from "./_chunks/patient-summary-card-CBfuDvJ5.js";
|
|
195
195
|
import { A as ZA, a as $A } from "./_chunks/anamnesis-summary-card-DGVKBQoq.js";
|
|
196
|
-
import { B as ec, C as sc, N as rc, P as oc, a as tc, T as nc, b as ic, g as pc, u as mc } from "./_chunks/balance-badge-cell-
|
|
196
|
+
import { B as ec, C as sc, N as rc, P as oc, a as tc, T as nc, b as ic, g as pc, u as mc } from "./_chunks/balance-badge-cell-BrlikHfT.js";
|
|
197
197
|
import { B as dc, M as Ac, P as cc, a as fc, b as gc, c as Sc, d as Cc, S as Tc, e as xc, f as uc, g as Pc, h as Ic, p as Ec, i as Rc, j as bc, k as _c, s as Nc, t as hc, l as Dc } from "./_chunks/periodontal-chart-BatZEFar.js";
|
|
198
198
|
import { P as Fc, a as Lc, p as Mc } from "./_chunks/periodontal-chart-card-BBpY_rBc.js";
|
|
199
199
|
import { D as kc, P as Bc, a as Gc, b as Hc, c as vc, S as wc, e as Uc, i as Vc, p as Wc } from "./_chunks/periodontal-diagnosis-HrFsVi-C.js";
|
|
@@ -211,18 +211,18 @@ import { S as yf, s as kf } from "./_chunks/signature-field-0rFODJlW.js";
|
|
|
211
211
|
import { S as Gf, s as Hf } from "./_chunks/signature-status-chip-DqrPIJtH.js";
|
|
212
212
|
import { S as wf, s as Uf } from "./_chunks/sign-document-jF4fZDJ5.js";
|
|
213
213
|
import { S as Wf, f as Kf, i as Yf, s as Xf } from "./_chunks/slot-grid-BuZOKfcd.js";
|
|
214
|
-
import { A as zf, F as jf, a as Qf, b as Jf, c as Zf, d as $f, e as ag, I as eg, f as sg, g as rg, h as og, i as tg, j as ng, k as ig, l as pg, m as mg, n as lg, o as dg, p as Ag, q as cg, r as fg, s as gg, t as Sg, u as Cg } from "./_chunks/face-scheme-
|
|
214
|
+
import { A as zf, F as jf, a as Qf, b as Jf, c as Zf, d as $f, e as ag, I as eg, f as sg, g as rg, h as og, i as tg, j as ng, k as ig, l as pg, m as mg, n as lg, o as dg, p as Ag, q as cg, r as fg, s as gg, t as Sg, u as Cg } from "./_chunks/face-scheme-CZaKm6fG.js";
|
|
215
215
|
import { T as xg, t as ug, r as Pg } from "./_chunks/tooth-scheme-WdyVymQ1.js";
|
|
216
216
|
import { C as Eg, a as Rg, b as bg, c as _g, d as Ng, e as hg, F as Dg, f as Og, g as Fg, h as Lg, I as Mg, P as yg, i as kg, S as Bg, j as Gg, k as Hg, l as vg, m as wg, n as Ug, T as Vg, o as Wg, p as Kg, q as Yg, r as Xg, s as qg, t as zg, u as jg, v as Qg, w as Jg, x as Zg, y as $g, z as aS, A as eS, B as sS, D as rS, E as oS, G as tS, H as nS, J as iS, K as pS, L as mS, M as lS, N as dS, O as AS, Q as cS, R as fS, U as gS, V as SS, W as CS, X as TS, Y as xS, Z as uS, _ as PS, $ as IS } from "./_chunks/tooth-data-DR8Kdnup.js";
|
|
217
217
|
import { C as RS, D as bS, T as _S, t as NS, a as hS } from "./_chunks/tooth-finding-palette-vqC-D2Ye.js";
|
|
218
218
|
import { T as OS } from "./_chunks/transaction-chip-DJCstquX.js";
|
|
219
|
-
import { W as LS, a as MS } from "./_chunks/whatsapp-button-
|
|
219
|
+
import { W as LS, a as MS } from "./_chunks/whatsapp-button-CuFIHJzG.js";
|
|
220
220
|
import { C as kS, W as BS, a as GS, b as HS, c as vS, i as wS, l as US, m as VS, r as WS, w as KS, d as YS, e as XS, f as qS } from "./_chunks/workflow-map-DE_ribRM.js";
|
|
221
221
|
import { A as jS, a as QS, b as JS, c as ZS } from "./_chunks/alia-sidebar-BWcWZivN.js";
|
|
222
|
-
import { A as aC, a as eC, L as sC, P as rC, S as oC, T as tC, b as nC, c as iC, d as pC, e as mC, f as lC, g as dC, h as AC, i as cC, j as fC, k as gC, l as SC, m as CC, n as TC, o as xC, p as uC, r as PC, q as IC, s as EC, t as RC, u as bC } from "./_chunks/anamnesis-summary-rows-
|
|
223
|
-
import { C as NC, M as hC, P as DC } from "./_chunks/marketplace-app-shell-
|
|
222
|
+
import { A as aC, a as eC, L as sC, P as rC, S as oC, T as tC, b as nC, c as iC, d as pC, e as mC, f as lC, g as dC, h as AC, i as cC, j as fC, k as gC, l as SC, m as CC, n as TC, o as xC, p as uC, r as PC, q as IC, s as EC, t as RC, u as bC } from "./_chunks/anamnesis-summary-rows-BfhxWPO3.js";
|
|
223
|
+
import { C as NC, M as hC, P as DC } from "./_chunks/marketplace-app-shell-DDQXQ8hX.js";
|
|
224
224
|
import { P as FC } from "./_chunks/payment-automation-upsell-DwQW2fRp.js";
|
|
225
|
-
import { S as MC } from "./_chunks/signature-request-
|
|
225
|
+
import { S as MC } from "./_chunks/signature-request-DVDTKLjM.js";
|
|
226
226
|
import { D as kC, d as BC } from "./_chunks/dependent-selector-cJlJFAKD.js";
|
|
227
227
|
import { D as HC, d as vC } from "./_chunks/document-preview-oyx9RhCo.js";
|
|
228
228
|
import { D as UC, d as VC } from "./_chunks/document-scanner-C5Vrbu21.js";
|
|
@@ -4,14 +4,25 @@ import type { IntakeFieldDef, IntakeSectionDef, NumericParameterDef, ParameterGr
|
|
|
4
4
|
export declare const LOCKED_PARAMETER_KEYS: ReadonlySet<string>;
|
|
5
5
|
/** Whether a numeric parameter is locked against archiving / deletion. */
|
|
6
6
|
export declare function isParameterLocked(key: string): boolean;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
/** Whether a per-patient target can be set for this parameter. Decided by the
|
|
8
|
+
* definition, not by a fixed list: its own `targetable` flag, or `goal` — a
|
|
9
|
+
* goal the practice tracks is targetable by definition. Not every number is
|
|
10
|
+
* one: a height is a fact about the patient, and a blood test carries a
|
|
11
|
+
* population reference range rather than a target. The kit seeds `targetable`
|
|
12
|
+
* on the four figures the nutrition plan is written in — weight, BMI, daily
|
|
13
|
+
* energy, protein — plus waist, which practices have long set a goal for; a
|
|
14
|
+
* host sets it (or `goal`) on any numeric question a practice marks as a
|
|
15
|
+
* goal. */
|
|
16
|
+
export declare function isParameterTargetable(def: NumericParameterDef): boolean;
|
|
17
|
+
/** @deprecated Pass the `NumericParameterDef`. A bare key answers for the
|
|
18
|
+
* kit's seeded catalogue only — it cannot see a practice's own vocabulary, so
|
|
19
|
+
* a parameter the practice added is never targetable through this form. */
|
|
14
20
|
export declare function isParameterTargetable(key: string): boolean;
|
|
21
|
+
/** The kit's seeded targetable parameters — weight, BMI, waist, daily energy,
|
|
22
|
+
* protein. Derived from the catalogue, so it describes the seed and is not the
|
|
23
|
+
* rule: a practice's own vocabulary is answered by `isParameterTargetable`
|
|
24
|
+
* on the definition. */
|
|
25
|
+
export declare const TARGETABLE_PARAMETER_KEYS: ReadonlySet<string>;
|
|
15
26
|
/** A practice's anamnesis vocabulary. Every list is optional: an omitted list
|
|
16
27
|
* falls back to the kit-seeded catalogue, so `undefined` is a fully working
|
|
17
28
|
* configuration and every existing mount keeps rendering unchanged. */
|
|
@@ -184,6 +184,14 @@ export interface NumericParameterDef extends ConfigurableDescriptor {
|
|
|
184
184
|
* current-vs-target status there. Seeded `true` for the plan's four
|
|
185
185
|
* figures; toggleable per practice like `enabled` and `order`. */
|
|
186
186
|
goal?: boolean;
|
|
187
|
+
/** A per-patient target may be set for this parameter — on its tile in the
|
|
188
|
+
* goals strip when `goal` is also true, otherwise from its capture block.
|
|
189
|
+
* Not every number is one: a height is a fact about the patient, and a
|
|
190
|
+
* blood test carries a population reference range rather than a target.
|
|
191
|
+
* The kit seeds it on weight, BMI, waist, daily energy and protein; a host
|
|
192
|
+
* sets it (or `goal`) on any numeric question a practice marks as a goal.
|
|
193
|
+
* A tracked goal is targetable whether or not this is set. */
|
|
194
|
+
targetable?: boolean;
|
|
187
195
|
}
|
|
188
196
|
/** One numeric parameter's value at one visit, stored by key. The reference
|
|
189
197
|
* range + out-of-range flag are derived by joining to the parameter definition,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-
|
|
1
|
+
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-BfhxWPO3.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Anamnesis,
|
|
4
4
|
i as AnamnesisConfigEditor,
|