@propbinder/mobile-design 0.2.55 → 0.2.57
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/index.d.ts
CHANGED
|
@@ -918,7 +918,7 @@ declare class WhitelabelService {
|
|
|
918
918
|
readonly logoUrl: _angular_core.Signal<string>;
|
|
919
919
|
readonly logoMarkUrl: _angular_core.Signal<string>;
|
|
920
920
|
readonly logoAlt: _angular_core.Signal<string>;
|
|
921
|
-
readonly logoSize: _angular_core.Signal<"
|
|
921
|
+
readonly logoSize: _angular_core.Signal<"sm" | "md" | "lg" | "xl">;
|
|
922
922
|
readonly logoHeight: _angular_core.Signal<number>;
|
|
923
923
|
readonly appIconSurface: _angular_core.Signal<string>;
|
|
924
924
|
readonly appIconContent: _angular_core.Signal<string>;
|
|
@@ -6075,6 +6075,7 @@ declare class DsMobileBookingModalComponent implements AfterViewInit, OnInit {
|
|
|
6075
6075
|
availableDates?: DateOption[];
|
|
6076
6076
|
availableTimeSlots?: Record<string, TimeSlot[]>;
|
|
6077
6077
|
useMockData: boolean;
|
|
6078
|
+
onSubmit?: (result: BookingResult) => Promise<void>;
|
|
6078
6079
|
swiperComponent?: DsMobileSwiperComponent;
|
|
6079
6080
|
dateOptions: _angular_core.WritableSignal<DateOption[]>;
|
|
6080
6081
|
timeSlots: _angular_core.WritableSignal<TimeSlot[]>;
|
|
@@ -6132,7 +6133,7 @@ declare class DsMobileBookingModalComponent implements AfterViewInit, OnInit {
|
|
|
6132
6133
|
*/
|
|
6133
6134
|
handleClose(): Promise<void>;
|
|
6134
6135
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileBookingModalComponent, never>;
|
|
6135
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileBookingModalComponent, "ds-mobile-booking-modal", never, { "facilityId": { "alias": "facilityId"; "required": false; }; "facilityTitle": { "alias": "facilityTitle"; "required": false; }; "daysAhead": { "alias": "daysAhead"; "required": false; }; "selectFromCalendarText": { "alias": "selectFromCalendarText"; "required": false; }; "confirmBookingText": { "alias": "confirmBookingText"; "required": false; }; "availableDates": { "alias": "availableDates"; "required": false; }; "availableTimeSlots": { "alias": "availableTimeSlots"; "required": false; }; "useMockData": { "alias": "useMockData"; "required": false; }; }, {}, never, never, true, never>;
|
|
6136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DsMobileBookingModalComponent, "ds-mobile-booking-modal", never, { "facilityId": { "alias": "facilityId"; "required": false; }; "facilityTitle": { "alias": "facilityTitle"; "required": false; }; "daysAhead": { "alias": "daysAhead"; "required": false; }; "selectFromCalendarText": { "alias": "selectFromCalendarText"; "required": false; }; "confirmBookingText": { "alias": "confirmBookingText"; "required": false; }; "availableDates": { "alias": "availableDates"; "required": false; }; "availableTimeSlots": { "alias": "availableTimeSlots"; "required": false; }; "useMockData": { "alias": "useMockData"; "required": false; }; "onSubmit": { "alias": "onSubmit"; "required": false; }; }, {}, never, never, true, never>;
|
|
6136
6137
|
}
|
|
6137
6138
|
|
|
6138
6139
|
/**
|
|
@@ -6162,6 +6163,7 @@ interface BookingModalOptions {
|
|
|
6162
6163
|
availableDates?: DateOption[];
|
|
6163
6164
|
availableTimeSlots?: Record<string, TimeSlot[]>;
|
|
6164
6165
|
useMockData?: boolean;
|
|
6166
|
+
onSubmit?: (result: BookingResult) => Promise<void>;
|
|
6165
6167
|
labels?: {
|
|
6166
6168
|
selectFromCalendar?: string;
|
|
6167
6169
|
confirmBooking?: string;
|
|
@@ -6703,6 +6705,8 @@ interface FacilityDetailData {
|
|
|
6703
6705
|
availableTimeSlots?: Record<string, TimeSlot[]>;
|
|
6704
6706
|
/** Fallback to mock data for testing */
|
|
6705
6707
|
useMockData?: boolean;
|
|
6708
|
+
/** Callback executed when booking is confirmed */
|
|
6709
|
+
onSubmit?: (result: BookingResult) => Promise<void>;
|
|
6706
6710
|
}
|
|
6707
6711
|
/**
|
|
6708
6712
|
* DsMobileFacilityDetailModalComponent
|
|
@@ -7303,7 +7307,7 @@ declare class DsMobileFabComponent implements AfterViewInit, OnDestroy {
|
|
|
7303
7307
|
* Note: FAB is always 56px circular, but this affects the icon size
|
|
7304
7308
|
* @default 'md'
|
|
7305
7309
|
*/
|
|
7306
|
-
size: _angular_core.InputSignal<"
|
|
7310
|
+
size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
7307
7311
|
/**
|
|
7308
7312
|
* ARIA label for accessibility
|
|
7309
7313
|
* @required - Always provide a descriptive label
|