@alfadocs/ui-kit 1.72.0 → 1.73.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/{booking-DNJO0tnU.js → booking-C-hRVLPy.js} +1404 -1373
- package/dist/agent-catalog.json +1 -1
- package/dist/components/booking/booking-types.d.ts +8 -0
- package/dist/components/booking/details-form.d.ts +2 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/agent-catalog.json
CHANGED
|
@@ -355,6 +355,14 @@ export interface BookingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ari
|
|
|
355
355
|
* available).
|
|
356
356
|
*/
|
|
357
357
|
defaultConfirmationChannels?: ConfirmationChannel[];
|
|
358
|
+
/**
|
|
359
|
+
* The patient picks exactly one channel (a radio group) instead of any
|
|
360
|
+
* number (checkboxes), and the link goes only there. The default is the
|
|
361
|
+
* first channel of `defaultConfirmationChannels` the practice enabled,
|
|
362
|
+
* else the first enabled channel. Use it when the channel matters to the
|
|
363
|
+
* host: a link sent only by SMS proves the patient holds the phone.
|
|
364
|
+
*/
|
|
365
|
+
singleConfirmationChannel?: boolean;
|
|
358
366
|
value: BookingValue;
|
|
359
367
|
onChange: (next: BookingValue) => void;
|
|
360
368
|
onSubmit: (payload: BookingSubmitPayload) => void | BookingSubmitResult | Promise<void | BookingSubmitResult>;
|
|
@@ -49,6 +49,8 @@ export interface BookingDetailsFormProps {
|
|
|
49
49
|
confirmationChannels?: ConfirmationChannel[];
|
|
50
50
|
/** Pre-checked channels override; falls back to a smart default. */
|
|
51
51
|
defaultConfirmationChannels?: ConfirmationChannel[];
|
|
52
|
+
/** One channel only, picked with radios. See `BookingProps`. */
|
|
53
|
+
singleConfirmationChannel?: boolean;
|
|
52
54
|
/**
|
|
53
55
|
* Render an error Alert above the submit button. Set after an
|
|
54
56
|
* `onSubmit` rejection, clear before retrying. The kit doesn't
|
package/dist/index.js
CHANGED
|
@@ -217,7 +217,7 @@ import { V as rf, v as of } from "./_chunks/voice-control-panel-DQJwe6_Q.js";
|
|
|
217
217
|
import { A as nf } from "./_chunks/anamnesis-card-BcadMmEM.js";
|
|
218
218
|
import { D as mf, F as lf, a as df, M as Af, b as ff, e as cf, f as Sf, g as gf, c as Cf, m as xf, r as Tf, v as uf } from "./_chunks/muscle-scheme-C66WlCxG.js";
|
|
219
219
|
import { A as Ef, a as If, b as Rf, c as _f, d as bf, e as Nf, C as Df, f as Of, g as Ff, D as hf, h as Lf, E as Mf, L as yf, O as kf, P as Bf, i as vf, j as Gf, k as Hf, l as Wf, R as wf, S as Uf, m as Vf, n as Kf, o as Yf, p as Xf, q as qf, r as zf, s as jf, t as Qf, u as Zf, v as Jf, w as $f, x as ac, y as ec, z as sc, B as rc, F as oc } from "./_chunks/optical-prescription-CMM1Y6Xg.js";
|
|
220
|
-
import { B as nc, C as ic, O as pc, b as mc } from "./_chunks/booking-
|
|
220
|
+
import { B as nc, C as ic, O as pc, b as mc } from "./_chunks/booking-C-hRVLPy.js";
|
|
221
221
|
import { C as dc, c as Ac, r as fc } from "./_chunks/calendar-ClB-jWH1.js";
|
|
222
222
|
import { C as Sc } from "./_chunks/calendar-event-card-DXAYWH6k.js";
|
|
223
223
|
import { R as Cc, a as xc } from "./_chunks/resource-chip-DB5jDwUO.js";
|
package/package.json
CHANGED