simpo-component-library 3.6.512 → 3.6.515
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/letters-only.directive.mjs +28 -0
- package/esm2022/lib/directive/numbers-only.directive.mjs +28 -0
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +5 -5
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +47 -1
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +477 -0
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +27 -28
- package/esm2022/lib/services/rest.service.mjs +4 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +583 -30
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/letters-only.directive.d.ts +9 -0
- package/lib/directive/numbers-only.directive.d.ts +9 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +2 -0
- package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +86 -0
- package/lib/sections/appointment-form/appointment-form.component.d.ts +3 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-3.6.515.tgz +0 -0
- package/simpo-component-library-3.6.512.tgz +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class LettersOnlyDirective {
|
4
|
+
private el;
|
5
|
+
constructor(el: ElementRef);
|
6
|
+
onInputChange(event: Event): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LettersOnlyDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LettersOnlyDirective, "[simpoLettersOnly]", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class NumbersOnlyDirective {
|
4
|
+
private el;
|
5
|
+
constructor(el: ElementRef);
|
6
|
+
onInputChange(event: Event): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumbersOnlyDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumbersOnlyDirective, "[simpoNumbersOnly]", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -114,7 +114,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
114
114
|
getTextColor(color: any): "#000000" | "#ffffff";
|
115
115
|
languages: string[];
|
116
116
|
selectedLang: string;
|
117
|
-
getClass(map: any): "col-
|
117
|
+
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
118
118
|
onFindInStore(id: string): void;
|
119
119
|
onBookAppointment(): void;
|
120
120
|
isDetails: boolean;
|
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
|
|
21
21
|
get stylesLayout(): LayOutModel;
|
22
22
|
get spacingLayout(): SpacingModel;
|
23
23
|
getParentClass(): "" | "overflow-scroll flex-nowrap";
|
24
|
-
getClass(index: number): "col-
|
24
|
+
getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
|
25
25
|
showSchemeDetails(scheme: any): void;
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -28,12 +28,14 @@ export declare class VerifyComponent extends BaseSection implements OnInit {
|
|
28
28
|
private API_COUNT;
|
29
29
|
private MAX_API_COUNT;
|
30
30
|
private PASSBOOK_API_COUNT;
|
31
|
+
private APPOINTMENT_API_COUNT;
|
31
32
|
private MAX_PASSBOOK_API_COUNT;
|
32
33
|
ngOnInit(): void;
|
33
34
|
get getImageUrl(): string | undefined;
|
34
35
|
get isMobile(): boolean;
|
35
36
|
checkPaymentStatus(): void;
|
36
37
|
checkPassbookPaymentStatus(): void;
|
38
|
+
checkAppointmentPaymentStatus(): void;
|
37
39
|
editSection(): void;
|
38
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyComponent, never>;
|
39
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyComponent, "simpo-verify-payment", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import { RestService } from '../../../../services/rest.service';
|
2
|
+
import { EventsService } from '../../../../services/events.service';
|
3
|
+
import { Router } from '@angular/router';
|
4
|
+
import { BannerContentModel, BannerSectionModel } from '../../appointment-form.model';
|
5
|
+
import { BackgroundModel, BannerStylesModel } from '../../../../styles/style.model';
|
6
|
+
import { MessageService } from 'primeng/api';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class AppointmentBookingComponent {
|
9
|
+
private restService;
|
10
|
+
private _eventService;
|
11
|
+
private readonly router;
|
12
|
+
private readonly messageService;
|
13
|
+
constructor(restService: RestService, _eventService: EventsService, router: Router, messageService: MessageService);
|
14
|
+
data?: BannerSectionModel;
|
15
|
+
index?: number;
|
16
|
+
content?: BannerContentModel;
|
17
|
+
edit?: boolean;
|
18
|
+
delete?: boolean;
|
19
|
+
customClass?: string;
|
20
|
+
nextComponentColor?: BackgroundModel;
|
21
|
+
styles?: BannerStylesModel;
|
22
|
+
ngOnInit(): void;
|
23
|
+
screenWidth: number;
|
24
|
+
getScreenSize(): void;
|
25
|
+
closeOnOutsideClick(): void;
|
26
|
+
accessedTabs: {
|
27
|
+
serviceListing: boolean;
|
28
|
+
locationListing: boolean;
|
29
|
+
staffListing: boolean;
|
30
|
+
};
|
31
|
+
skeletonLoader: boolean;
|
32
|
+
businessName: string | null;
|
33
|
+
businessId: any;
|
34
|
+
activeButton: boolean;
|
35
|
+
selectedTab: string;
|
36
|
+
barWidth: string;
|
37
|
+
showCancellationPolicy: boolean;
|
38
|
+
showReducingPolicy: boolean;
|
39
|
+
selectedService: any;
|
40
|
+
selectedLocation: any;
|
41
|
+
homeAddress: string;
|
42
|
+
instructions: string;
|
43
|
+
Object: ObjectConstructor;
|
44
|
+
showCalendar: boolean;
|
45
|
+
selectedDate: Date | null;
|
46
|
+
selectedDateStr: string;
|
47
|
+
userDetails: {
|
48
|
+
name: string;
|
49
|
+
email: string;
|
50
|
+
mobileNumber: string;
|
51
|
+
};
|
52
|
+
dateFilter: (d: Date | null) => boolean;
|
53
|
+
toggleCalendar(event?: Event): void;
|
54
|
+
onDateSelected(date: any): void;
|
55
|
+
private formatDate;
|
56
|
+
selectService(service: any): void;
|
57
|
+
selectLocation(location: any): void;
|
58
|
+
selectedStaff: any;
|
59
|
+
selectStaff(staff: any): void;
|
60
|
+
nextStep(): void;
|
61
|
+
previousStep(): void;
|
62
|
+
serviceData: any[];
|
63
|
+
getAllServices(): void;
|
64
|
+
locationData: any[];
|
65
|
+
getAllLocations(): void;
|
66
|
+
staffPayload: any;
|
67
|
+
staffData: any[];
|
68
|
+
getAllStaff(): void;
|
69
|
+
convertTo24Hour(time: string): string;
|
70
|
+
slotsPayload: any;
|
71
|
+
locationTiming: any[];
|
72
|
+
loader: boolean;
|
73
|
+
getAvailableSlots(): void;
|
74
|
+
selectedTime: any;
|
75
|
+
selectTimeSlot(time: any): void;
|
76
|
+
termsAndConditions: boolean;
|
77
|
+
checkRequiredValues(): void;
|
78
|
+
appointmentPayload: any;
|
79
|
+
checkPayment(): void;
|
80
|
+
apiStatus: boolean;
|
81
|
+
createAppointment(): void;
|
82
|
+
paymentBookingAppointment(): void;
|
83
|
+
goBack(): void;
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, never>;
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "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>;
|
86
|
+
}
|
@@ -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;
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
25
25
|
redirectTo(): void;
|
26
|
-
getClass(): "col-
|
26
|
+
getClass(): "col-4" | "col-12" | "col-6" | "col-3";
|
27
27
|
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -130,6 +130,7 @@ export declare class RestService implements OnDestroy {
|
|
130
130
|
getSchemeDetails(schemeId: any): Observable<Object>;
|
131
131
|
getMetalPrice(storeId: any): Observable<Object>;
|
132
132
|
createLead(payload: any): Observable<Object>;
|
133
|
+
getAppointmentPaymentStatus(orderId: any): Observable<Object>;
|
133
134
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
134
135
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
135
136
|
}
|
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
|