Events
Events follows the Event type of back-kit:
type Event<P, M> = {
label: string
payload: P
meta?: M
}
ExportForm
The event to open an ck-export-form modal.
Label:
export-formPayload:
{}
TherapyModal
The event to open an ck-therapy-modal modal.
Label:
therapy-modalPayload:
{}
TherapyConfig
Event sent by the the ck-therapy-select to configure the contant and behavior of the ck-therapy-modal.
Label:
therapy-configPayload:
{
planId: string
planType: string
prototypeId: string
}
ThresholdModal
The event to open an ck-threshold-modal modal.
Label:
threshold-modalPayload:
{}
AddPlanModal
The event to open an ck-add-plan-modal modal.
Label:
add-plan-modalPayload:
{}
ChartFilters
The event to open contains filters used by the ck-chart component.
Label:
add-plan-modalPayload:
Filters[]
BookSlotModal
The event to open an ck-book-slot-modal modal.
Label:
book-slot-modalPayload:
{}