@propbinder/mobile-design 0.2.54 → 0.2.55
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<"md" | "sm" | "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>;
|
|
@@ -6061,7 +6061,7 @@ interface BookingResult {
|
|
|
6061
6061
|
* const result = await modal.onWillDismiss<BookingResult>();
|
|
6062
6062
|
* ```
|
|
6063
6063
|
*/
|
|
6064
|
-
declare class DsMobileBookingModalComponent implements AfterViewInit {
|
|
6064
|
+
declare class DsMobileBookingModalComponent implements AfterViewInit, OnInit {
|
|
6065
6065
|
private modalController;
|
|
6066
6066
|
facilityId: string;
|
|
6067
6067
|
facilityTitle: string;
|
|
@@ -6074,6 +6074,7 @@ declare class DsMobileBookingModalComponent implements AfterViewInit {
|
|
|
6074
6074
|
confirmBookingText: string;
|
|
6075
6075
|
availableDates?: DateOption[];
|
|
6076
6076
|
availableTimeSlots?: Record<string, TimeSlot[]>;
|
|
6077
|
+
useMockData: boolean;
|
|
6077
6078
|
swiperComponent?: DsMobileSwiperComponent;
|
|
6078
6079
|
dateOptions: _angular_core.WritableSignal<DateOption[]>;
|
|
6079
6080
|
timeSlots: _angular_core.WritableSignal<TimeSlot[]>;
|
|
@@ -6082,6 +6083,7 @@ declare class DsMobileBookingModalComponent implements AfterViewInit {
|
|
|
6082
6083
|
isConfirming: _angular_core.WritableSignal<boolean>;
|
|
6083
6084
|
canConfirm: _angular_core.Signal<boolean>;
|
|
6084
6085
|
constructor(modalController: ModalController);
|
|
6086
|
+
ngOnInit(): void;
|
|
6085
6087
|
/**
|
|
6086
6088
|
* After view init - force swiper update to fix initial positioning
|
|
6087
6089
|
*/
|
|
@@ -6101,13 +6103,13 @@ declare class DsMobileBookingModalComponent implements AfterViewInit {
|
|
|
6101
6103
|
*/
|
|
6102
6104
|
dateDisabledFn: _angular_core.Signal<(date: Date) => boolean>;
|
|
6103
6105
|
/**
|
|
6104
|
-
*
|
|
6106
|
+
* Initialize date and time data or optionally use mock data for testing
|
|
6105
6107
|
*/
|
|
6106
|
-
private
|
|
6108
|
+
private initializeData;
|
|
6107
6109
|
/**
|
|
6108
6110
|
* Generate time slots based on selected date and dynamic available timeslots
|
|
6109
6111
|
*/
|
|
6110
|
-
private
|
|
6112
|
+
private initializeTimeSlots;
|
|
6111
6113
|
/**
|
|
6112
6114
|
* Handle date selection
|
|
6113
6115
|
*/
|
|
@@ -6130,7 +6132,7 @@ declare class DsMobileBookingModalComponent implements AfterViewInit {
|
|
|
6130
6132
|
*/
|
|
6131
6133
|
handleClose(): Promise<void>;
|
|
6132
6134
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsMobileBookingModalComponent, never>;
|
|
6133
|
-
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; }; }, {}, never, never, true, 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>;
|
|
6134
6136
|
}
|
|
6135
6137
|
|
|
6136
6138
|
/**
|
|
@@ -6159,6 +6161,7 @@ interface BookingModalOptions {
|
|
|
6159
6161
|
daysAhead?: number;
|
|
6160
6162
|
availableDates?: DateOption[];
|
|
6161
6163
|
availableTimeSlots?: Record<string, TimeSlot[]>;
|
|
6164
|
+
useMockData?: boolean;
|
|
6162
6165
|
labels?: {
|
|
6163
6166
|
selectFromCalendar?: string;
|
|
6164
6167
|
confirmBooking?: string;
|
|
@@ -6698,6 +6701,8 @@ interface FacilityDetailData {
|
|
|
6698
6701
|
availableDates?: DateOption[];
|
|
6699
6702
|
/** Available time slots mapping */
|
|
6700
6703
|
availableTimeSlots?: Record<string, TimeSlot[]>;
|
|
6704
|
+
/** Fallback to mock data for testing */
|
|
6705
|
+
useMockData?: boolean;
|
|
6701
6706
|
}
|
|
6702
6707
|
/**
|
|
6703
6708
|
* DsMobileFacilityDetailModalComponent
|
|
@@ -7298,7 +7303,7 @@ declare class DsMobileFabComponent implements AfterViewInit, OnDestroy {
|
|
|
7298
7303
|
* Note: FAB is always 56px circular, but this affects the icon size
|
|
7299
7304
|
* @default 'md'
|
|
7300
7305
|
*/
|
|
7301
|
-
size: _angular_core.InputSignal<"
|
|
7306
|
+
size: _angular_core.InputSignal<"md" | "sm" | "lg">;
|
|
7302
7307
|
/**
|
|
7303
7308
|
* ARIA label for accessibility
|
|
7304
7309
|
* @required - Always provide a descriptive label
|