simpo-component-library 3.6.196 → 3.6.198
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/ecommerce/sections/address/address.component.mjs +61 -48
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +13 -5
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +13 -4
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +47 -12
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +15 -3
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +11 -5
- package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +8 -7
- package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +7 -4
- package/esm2022/lib/pipes/gender.pipe.mjs +5 -1
- package/esm2022/lib/sections/header-section/header-section.component.mjs +9 -3
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +182 -88
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/address/address.component.d.ts +5 -0
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -0
- package/lib/ecommerce/sections/enrollment-form/enrollment-form.component.d.ts +1 -0
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +5 -2
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +4 -0
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +2 -0
- package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.198.tgz +0 -0
- package/simpo-component-library-3.6.196.tgz +0 -0
@@ -66,6 +66,11 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
|
|
66
66
|
editSection(): void;
|
67
67
|
get isEmailValid(): boolean;
|
68
68
|
get isMobile(): boolean;
|
69
|
+
setAddress(key: any): void;
|
70
|
+
debounceTimer: any;
|
71
|
+
validateForm(fieldType: string): void;
|
72
|
+
validater(fieldType: any): void;
|
73
|
+
validateObject: any;
|
69
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
70
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
71
76
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -62,7 +62,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
62
62
|
validateNumber(event: KeyboardEvent): void;
|
63
63
|
validateOTP(event: KeyboardEvent): void;
|
64
64
|
checkStrength(): void;
|
65
|
-
getStrengthColor(index: number): "
|
65
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
66
66
|
emailDebounceTimer: any;
|
67
67
|
onEmailChange(): void;
|
68
68
|
emailCheck: boolean;
|
@@ -111,6 +111,8 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
111
111
|
changeQuantity(event: any, item: OrderedItems): void;
|
112
112
|
removeTrialItem(item: OrderedItems): void;
|
113
113
|
bookAppointment(): void;
|
114
|
+
showReedemError: boolean;
|
115
|
+
vaildAmount: number;
|
114
116
|
redeemScheme(scheme: any, action: boolean): void;
|
115
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
116
118
|
static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -4,12 +4,14 @@ import { ProfileStylesModal } from '../user-profile/user-profile.modal';
|
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
5
5
|
import { RestService } from '../../../services/rest.service';
|
6
6
|
import { MessageService } from 'primeng/api';
|
7
|
+
import { ImageUplaodService } from '../../../services/image-upload-service.service';
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
export declare class OrderDetailsComponent implements OnInit {
|
9
10
|
private readonly _eventService;
|
10
11
|
private storageService;
|
11
12
|
private restService;
|
12
13
|
private messageService;
|
14
|
+
private imageUploadService;
|
13
15
|
responseData?: any;
|
14
16
|
data?: any;
|
15
17
|
index?: number;
|
@@ -20,7 +22,7 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
20
22
|
goBackEmitter: EventEmitter<void>;
|
21
23
|
isLoading: boolean;
|
22
24
|
styles?: ProfileStylesModal;
|
23
|
-
constructor(_eventService: EventsService, storageService: StorageServiceService, restService: RestService, messageService: MessageService);
|
25
|
+
constructor(_eventService: EventsService, storageService: StorageServiceService, restService: RestService, messageService: MessageService, imageUploadService: ImageUplaodService);
|
24
26
|
orderTimiline: any;
|
25
27
|
ngOnInit(): void;
|
26
28
|
private getIcon;
|
@@ -35,13 +37,14 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
35
37
|
get orderAddress(): string;
|
36
38
|
trackOrder(): void;
|
37
39
|
productReview: number;
|
38
|
-
submitReview(item: any): void
|
40
|
+
submitReview(item: any): Promise<void>;
|
39
41
|
sectionsVisible: {
|
40
42
|
billDetails: boolean;
|
41
43
|
deliveryDetails: boolean;
|
42
44
|
timeline: boolean;
|
43
45
|
};
|
44
46
|
toggleSection(section: keyof typeof this.sectionsVisible): void;
|
47
|
+
uploadImage(ev: any, item: any): void;
|
45
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
|
46
49
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", never, { "responseData": { "alias": "responseData"; "required": false; }; "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; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, { "goBackEmitter": "goBackEmitter"; }, never, never, true, never>;
|
47
50
|
}
|
@@ -47,6 +47,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
47
47
|
productReview: number;
|
48
48
|
totalReview: number;
|
49
49
|
showReview: boolean;
|
50
|
+
selectedReview: any;
|
51
|
+
currentImageIndex: number;
|
50
52
|
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
|
51
53
|
buttonId?: string;
|
52
54
|
button?: ButtonModel;
|
@@ -143,6 +145,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
143
145
|
loadMoreReviews(): void;
|
144
146
|
getReviews(productId: string): void;
|
145
147
|
getPercentage(rating: number): string;
|
148
|
+
getRGBA(bgColor: any, opacity: number): any;
|
149
|
+
showDetailReview(review: any): void;
|
146
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
147
151
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "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>;
|
148
152
|
}
|
@@ -5,6 +5,8 @@ export declare class SchemeDetailsComponent implements OnInit {
|
|
5
5
|
gotoSchemeOverview: EventEmitter<void>;
|
6
6
|
constructor();
|
7
7
|
ngOnInit(): void;
|
8
|
+
screenWidth: any;
|
9
|
+
getScreenSize(event?: any): void;
|
8
10
|
paymentData: any[];
|
9
11
|
getPaymentScheme(): void;
|
10
12
|
getDueDate(paymentDate: string | Date): number | null;
|
@@ -11,6 +11,7 @@ export declare class ScheduleVideoCallComponent implements OnInit {
|
|
11
11
|
responseData: any;
|
12
12
|
constructor(dialogRef: MatDialogRef<ScheduleVideoCallComponent>, matDialog: MatDialog, messageService: MessageService, restService: RestService, responseData: any);
|
13
13
|
ngOnInit(): void;
|
14
|
+
selectedProducts: any[];
|
14
15
|
languages: string[];
|
15
16
|
selectedLang: string;
|
16
17
|
otherLanguage: string;
|
@@ -26,7 +27,6 @@ export declare class ScheduleVideoCallComponent implements OnInit {
|
|
26
27
|
scheduled: boolean;
|
27
28
|
resetValidationErrors(): void;
|
28
29
|
scheduleVideoCall(): void;
|
29
|
-
selectedProducts: any[];
|
30
30
|
selectedItems(item: any): void;
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleVideoCallComponent, never>;
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScheduleVideoCallComponent, "simpo-schedule-video-call", never, {}, {}, never, never, true, never>;
|
@@ -94,6 +94,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
94
94
|
setPincode(): void;
|
95
95
|
showLogin: boolean;
|
96
96
|
goToSchemes(): void;
|
97
|
+
getRGBA(bgColor: any, opacity: number): any;
|
97
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
98
99
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
99
100
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|