@forgebuild/hotal-ui 0.23.204 → 0.23.205
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/components/live-spa-bookings-feed.js +1 -1
- package/dist/components/spa-booking-widget.js +207 -207
- package/dist/hotal-ui.js +9889 -9855
- package/dist/index.d.ts +9 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -505,6 +505,9 @@ export interface SpaBookingWidgetElement extends HTMLElement {
|
|
|
505
505
|
* a free service (e.g. a consultation call) where showing "£0.00"
|
|
506
506
|
* throughout would read oddly. */
|
|
507
507
|
hidePrice?: boolean;
|
|
508
|
+
/** Hides only prices that are exactly 0 (a free service in the list, and
|
|
509
|
+
* its summary/total), leaving every other price visible. */
|
|
510
|
+
hideZeroPrice?: boolean;
|
|
508
511
|
/** Skips the "Details" (name/email/phone/notes) step -- for editing an
|
|
509
512
|
* existing booking (a reschedule) rather than collecting a new guest's
|
|
510
513
|
* contact info. "Continue" on the datetime step submits directly using
|
|
@@ -515,9 +518,13 @@ export interface SpaBookingWidgetElement extends HTMLElement {
|
|
|
515
518
|
* e.g. `[2]` for a Tuesday closure. Visual hint only -- fetchAvailability
|
|
516
519
|
* is the real source of truth for what's bookable. */
|
|
517
520
|
closedWeekdays?: number[];
|
|
518
|
-
/** BCP 47 locale (e.g. "fr-FR") used to format month/weekday names
|
|
519
|
-
* defaults to the browser's own locale. */
|
|
521
|
+
/** BCP 47 locale (e.g. "fr-FR") used to format month/weekday names,
|
|
522
|
+
* dates and prices; defaults to the browser's own locale. */
|
|
520
523
|
locale?: string;
|
|
524
|
+
/** ISO 4217 code (e.g. "EUR") every price is formatted in, using
|
|
525
|
+
* `locale`. Default "GBP". The payment step's "due now" label uses the
|
|
526
|
+
* PaymentIntent's own currency instead. */
|
|
527
|
+
currency?: string;
|
|
521
528
|
/** Jumps straight to the calendar step, pre-selected to whichever
|
|
522
529
|
* treatment's name matches this, once treatments have loaded. Re-fires on
|
|
523
530
|
* every change, even mid-flow on a different service or step. */
|