simpo-component-library 3.6.485 → 3.6.486
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/esm2022/lib/directive/background-directive.mjs +31 -36
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +38 -165
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +409 -0
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +27 -28
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
- package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +3 -3
- package/esm2022/lib/sections/new-services/new-services.component.mjs +5 -18
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +568 -321
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +0 -1
- package/lib/elements/text-editor/text-editor.component.d.ts +0 -10
- package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +69 -0
- package/lib/sections/appointment-form/appointment-form.component.d.ts +3 -1
- package/lib/sections/new-services/new-services.component.d.ts +0 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-3.6.486.tgz +0 -0
- package/simpo-component-library-3.6.485.tgz +0 -0
@@ -8,7 +8,6 @@ export declare class BackgroundDirective implements OnChanges {
|
|
8
8
|
simpoBackground?: BackgroundModel;
|
9
9
|
scrollValue?: number;
|
10
10
|
eventEmmitter: any;
|
11
|
-
videoElementId: string;
|
12
11
|
constructor(el: ElementRef, eventService: EventsService);
|
13
12
|
ngOnDestroy(): void;
|
14
13
|
ngOnChanges(change: SimpleChanges): void;
|
@@ -10,7 +10,6 @@ export declare class TextEditorComponent {
|
|
10
10
|
colorPicker: ElementRef;
|
11
11
|
parentElement: ElementRef;
|
12
12
|
suggestion: ElementRef;
|
13
|
-
private lastGradientSpan;
|
14
13
|
value: string;
|
15
14
|
valueChange: EventEmitter<string>;
|
16
15
|
editable: boolean;
|
@@ -28,18 +27,9 @@ export declare class TextEditorComponent {
|
|
28
27
|
constructor(editorService: ElementServiceService, platformId: Object, ngZone: NgZone);
|
29
28
|
ngOnInit(): void;
|
30
29
|
ngOnDestroy(): void;
|
31
|
-
private selectRange;
|
32
|
-
private markSelection;
|
33
|
-
private restoreSelectionFromMarkers;
|
34
30
|
showToolbar(event: MouseEvent): void;
|
35
|
-
rememberSelection(e: MouseEvent): void;
|
36
|
-
private getActiveRange;
|
37
|
-
setColorMode(mode: 'SOLID' | 'GRADIENT'): void;
|
38
|
-
private wrapRangeWithGradient;
|
39
|
-
private unwrapGradientInRange;
|
40
31
|
hideToolbar(event: MouseEvent): void;
|
41
32
|
formatText(command: string, value?: string): void;
|
42
|
-
updateFSforOL(): void;
|
43
33
|
private setStyleWithCSS;
|
44
34
|
private toLegacyFontStep;
|
45
35
|
private normalizeFontSizeToCss;
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { RestService } from '@simpo-ui/services/rest.service';
|
2
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
4
|
+
import { EventsService } from '../../../../services/events.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class AppointmentBookingComponent {
|
7
|
+
private restService;
|
8
|
+
private _eventService;
|
9
|
+
private readonly matDialog;
|
10
|
+
private snackBar;
|
11
|
+
constructor(restService: RestService, _eventService: EventsService, matDialog: MatDialog, snackBar: MatSnackBar);
|
12
|
+
ngOnInit(): void;
|
13
|
+
closeOnOutsideClick(): void;
|
14
|
+
accessedTabs: {
|
15
|
+
serviceListing: boolean;
|
16
|
+
locationListing: boolean;
|
17
|
+
staffListing: boolean;
|
18
|
+
};
|
19
|
+
businessName: string;
|
20
|
+
businessId: string;
|
21
|
+
activeButton: boolean;
|
22
|
+
selectedTab: string;
|
23
|
+
barWidth: string;
|
24
|
+
showCancellationPolicy: boolean;
|
25
|
+
showReducingPolicy: boolean;
|
26
|
+
selectedService: any;
|
27
|
+
selectedLocation: any;
|
28
|
+
Object: ObjectConstructor;
|
29
|
+
showCalendar: boolean;
|
30
|
+
selectedDate: Date | null;
|
31
|
+
selectedDateStr: string;
|
32
|
+
userDetails: {
|
33
|
+
name: string;
|
34
|
+
email: string;
|
35
|
+
mobileNumber: string;
|
36
|
+
};
|
37
|
+
toggleCalendar(event?: Event): void;
|
38
|
+
onDateSelected(date: Date): void;
|
39
|
+
private formatDate;
|
40
|
+
selectService(service: any): void;
|
41
|
+
selectLocation(location: any): void;
|
42
|
+
selectedStaff: any;
|
43
|
+
selectStaff(staff: any): void;
|
44
|
+
nextStep(): void;
|
45
|
+
previousStep(): void;
|
46
|
+
serviceData: any[];
|
47
|
+
getAllServices(): void;
|
48
|
+
locationData: any[];
|
49
|
+
getAllLocations(): void;
|
50
|
+
staffPayload: any;
|
51
|
+
staffData: any[];
|
52
|
+
getAllStaff(): void;
|
53
|
+
convertTo24Hour(time: string): string;
|
54
|
+
slotsPayload: any;
|
55
|
+
locationTiming: any[];
|
56
|
+
loader: boolean;
|
57
|
+
getAvailableSlots(): void;
|
58
|
+
selectedTime: any;
|
59
|
+
selectTimeSlot(time: any): void;
|
60
|
+
checkRequiredValues(): void;
|
61
|
+
appointmentPayload: any;
|
62
|
+
checkPayment(): void;
|
63
|
+
apiStatus: boolean;
|
64
|
+
createAppointment(): void;
|
65
|
+
paymentBookingAppointment(): void;
|
66
|
+
goBack(): void;
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, never>;
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, {}, {}, never, never, true, never>;
|
69
|
+
}
|
@@ -8,6 +8,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
8
8
|
import { RestService } from '../../services/rest.service';
|
9
9
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
10
10
|
import { StorageLike } from '../../services/storage-like';
|
11
|
+
import { Router } from '@angular/router';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class AppointmentFormComponent extends BaseSection implements OnInit {
|
13
14
|
private _eventService;
|
@@ -15,6 +16,7 @@ export declare class AppointmentFormComponent extends BaseSection implements OnI
|
|
15
16
|
private appointmentService;
|
16
17
|
private snackbar;
|
17
18
|
private datePipe;
|
19
|
+
private readonly router;
|
18
20
|
private storage;
|
19
21
|
data?: BannerSectionModel;
|
20
22
|
index?: number;
|
@@ -24,7 +26,7 @@ export declare class AppointmentFormComponent extends BaseSection implements OnI
|
|
24
26
|
customClass?: string;
|
25
27
|
nextComponentColor?: BackgroundModel;
|
26
28
|
styles?: BannerStylesModel;
|
27
|
-
constructor(_eventService: EventsService, matDialog: MatDialog, appointmentService: RestService, snackbar: MatSnackBar, datePipe: DatePipe, storage: StorageLike);
|
29
|
+
constructor(_eventService: EventsService, matDialog: MatDialog, appointmentService: RestService, snackbar: MatSnackBar, datePipe: DatePipe, router: Router, storage: StorageLike);
|
28
30
|
screenWidth: number;
|
29
31
|
getScreenSize(): void;
|
30
32
|
businessId: any;
|
@@ -25,8 +25,6 @@ export declare class NewServicesComponent extends BaseSection {
|
|
25
25
|
screenWidth: any;
|
26
26
|
getScreenSize(): void;
|
27
27
|
getGradientDirection(direction: any): any;
|
28
|
-
onResize(event: UIEvent): void;
|
29
|
-
private updateScreenWidth;
|
30
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewServicesComponent, never>;
|
31
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewServicesComponent, "simpo-new-services", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
32
30
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -66,6 +66,7 @@ export * from './lib/ecommerce/sections/store-page/store-page.component';
|
|
66
66
|
export * from './lib/ecommerce/sections/enrollment-form/enrollment-form.component';
|
67
67
|
export * from './lib/ecommerce/sections/returns-calculator/returns-calculator.component';
|
68
68
|
export * from './lib/ecommerce/sections/book-appointment/book-appointment.component';
|
69
|
+
export * from './lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component';
|
69
70
|
export * from './lib/services/events.service';
|
70
71
|
export * from './lib/services/endUser.service';
|
71
72
|
export * from './lib/services/sanitizeHtml';
|
Binary file
|
Binary file
|