@forgebuild/hotal-ui 0.23.152 → 0.23.156
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/hotal-ui.js +3657 -3616
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -423,6 +423,7 @@ export interface SpaBookingWidgetStrings {
|
|
|
423
423
|
eveningLabel: string;
|
|
424
424
|
pickDayHint: string;
|
|
425
425
|
noSlotsForDay: string;
|
|
426
|
+
noChangeHint: string;
|
|
426
427
|
therapistFilterLabel: string;
|
|
427
428
|
anyTherapistLabel: string;
|
|
428
429
|
staffRowLabel: string;
|
|
@@ -475,6 +476,13 @@ export interface SpaBookingWidgetElement extends HTMLElement {
|
|
|
475
476
|
* treatment's name matches this, once treatments have loaded. Re-fires on
|
|
476
477
|
* every change, even mid-flow on a different service or step. */
|
|
477
478
|
initialTreatmentTitle?: string;
|
|
479
|
+
/** The booking's *current* date (YYYY-MM-DD) and time (HH:MM), for
|
|
480
|
+
* skipDetailsStep/reschedule mode only -- disables the confirm button
|
|
481
|
+
* when the visitor lands back on the exact slot this booking already
|
|
482
|
+
* has, instead of letting them submit a no-op change. No effect
|
|
483
|
+
* without skipDetailsStep. */
|
|
484
|
+
initialDate?: string;
|
|
485
|
+
initialTime?: string;
|
|
478
486
|
/** Pre-fills the matching contact-details field once a (truthy) value is
|
|
479
487
|
* available, but only while that field is still empty -- never overwrites
|
|
480
488
|
* something the visitor already typed. Applied once per field, no re-fire
|
|
@@ -657,6 +665,7 @@ export interface LiveSpaBooking {
|
|
|
657
665
|
duration_minutes: number;
|
|
658
666
|
price?: string | number | null;
|
|
659
667
|
status: string;
|
|
668
|
+
payment_status?: string | null;
|
|
660
669
|
created_at: string;
|
|
661
670
|
}
|
|
662
671
|
|