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-form
Payload:
{}
TherapyModal
The event to open an ck-therapy-modal modal.
Label:
therapy-modal
Payload:
{}
TherapyConfig
Event sent by the the ck-therapy-select to configure the contant and behavior of the ck-therapy-modal.
Label:
therapy-config
Payload:
{
planId: string
planType: string
prototypeId: string
}
ThresholdModal
The event to open an ck-threshold-modal modal.
Label:
threshold-modal
Payload:
{}
AddPlanModal
The event to open an ck-add-plan-modal modal.
Label:
add-plan-modal
Payload:
{}
ChartFilters
The event to open contains filters used by the ck-chart component.
Label:
add-plan-modal
Payload:
Filters[]
BookSlotModal
The event to open an ck-book-slot-modal modal.
Label:
book-slot-modal
Payload:
{}