simpo-component-library 3.6.195 → 3.6.197
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 +4 -4
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +35 -4
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +16 -8
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +13 -4
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +23 -16
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +69 -16
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +25 -4
- package/esm2022/lib/ecommerce/sections/scheme-selection/scheme-selection.component.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +14 -4
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +18 -9
- package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +180 -8
- package/esm2022/lib/pipes/gender.pipe.mjs +5 -1
- package/esm2022/lib/sections/header-section/header-section.component.mjs +12 -3
- package/esm2022/lib/services/rest.service.mjs +2 -4
- package/fesm2022/simpo-component-library.mjs +453 -118
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/address/address.component.d.ts +5 -0
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +1 -0
- package/lib/ecommerce/sections/cart/cart.component.d.ts +3 -1
- package/lib/ecommerce/sections/enrollment-form/enrollment-form.component.d.ts +1 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +26 -1
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +3 -0
- package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -0
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +3 -1
- package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +29 -1
- package/lib/sections/header-section/header-section.component.d.ts +2 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.197.tgz +0 -0
- package/simpo-component-library-3.6.195.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
|
}
|
@@ -48,6 +48,7 @@ export declare class BookAppointmentComponent extends BaseSection implements OnI
|
|
48
48
|
loader: boolean;
|
49
49
|
constructor(storageService: StorageServiceService, restService: RestService, router: Router, messageService: MessageService);
|
50
50
|
ngOnInit(): void;
|
51
|
+
checkAvailability(day: any): void;
|
51
52
|
getTrialCart(): void;
|
52
53
|
getTrialCartIndexDBData(): void;
|
53
54
|
getNextSevenDays(): void;
|
@@ -105,12 +105,14 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
105
105
|
scroll(e: WheelEvent): void;
|
106
106
|
selectedRedmpationData: any;
|
107
107
|
selectScheme(): void;
|
108
|
-
scheduleVideoCall(): void;
|
108
|
+
scheduleVideoCall(items: any): void;
|
109
109
|
getButtonId(index: number): string;
|
110
110
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
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>;
|
@@ -132,7 +132,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
132
132
|
closeModal(): void;
|
133
133
|
getButtonId(index: number): string;
|
134
134
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
135
|
-
|
135
|
+
openDialogBox(template: TemplateRef<HTMLDivElement>): void;
|
136
|
+
matCloseDialog(): void;
|
136
137
|
closeDialog(): void;
|
137
138
|
getRatings(noofratings: any): any;
|
138
139
|
addToTrialCart(): void;
|
@@ -118,6 +118,31 @@ export declare class ProductListComponent extends BaseSection {
|
|
118
118
|
applyProductWidth(): boolean;
|
119
119
|
getProductWidth(): string;
|
120
120
|
proceedToProductDesc(productId: any): void;
|
121
|
+
ringSizes: {
|
122
|
+
size: string;
|
123
|
+
status: boolean;
|
124
|
+
}[];
|
125
|
+
productTypesData: {
|
126
|
+
size: string;
|
127
|
+
status: boolean;
|
128
|
+
}[];
|
129
|
+
shopForData: {
|
130
|
+
size: string;
|
131
|
+
status: boolean;
|
132
|
+
}[];
|
133
|
+
materialSizeData: {
|
134
|
+
size: string;
|
135
|
+
status: boolean;
|
136
|
+
}[];
|
137
|
+
metalSizeData: {
|
138
|
+
size: string;
|
139
|
+
status: boolean;
|
140
|
+
}[];
|
141
|
+
toggleMetalSize(size: any): void;
|
142
|
+
toggleShopSize(size: any): void;
|
143
|
+
toggleSize(size: any): void;
|
144
|
+
toggleProductSize(size: any): void;
|
145
|
+
toggleMaterialSize(size: any): void;
|
121
146
|
clearFilter(): void;
|
122
147
|
filterScroll: ElementRef;
|
123
148
|
isSyncing: boolean;
|
@@ -152,7 +177,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
152
177
|
toggleCollections(): void;
|
153
178
|
addToTrialCart(product: Product): Promise<void>;
|
154
179
|
productName: string;
|
155
|
-
|
180
|
+
openDialogBox(template: TemplateRef<HTMLDivElement>, productName: any): void;
|
156
181
|
matCloseDialog(): void;
|
157
182
|
otherLanguage: string;
|
158
183
|
videoCallPayload: any;
|
@@ -5,8 +5,11 @@ 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;
|
12
|
+
getDueDate(paymentDate: string | Date): number | null;
|
10
13
|
goBack(): void;
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
12
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
|
@@ -37,6 +37,7 @@ export declare class StoreListComponent extends BaseSection {
|
|
37
37
|
openWhatsapp(phone: string): void;
|
38
38
|
viewStore(storeId: string): void;
|
39
39
|
getTime(storeHours: any, type: string): any;
|
40
|
+
getRGBA(bgColor: any, opacity: number): any;
|
40
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreListComponent, never>;
|
41
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<StoreListComponent, "simpo-store-list", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
42
43
|
}
|
@@ -12,6 +12,7 @@ import { CookieService } from 'ngx-cookie-service';
|
|
12
12
|
import { MessageService } from 'primeng/api';
|
13
13
|
import { OrderedItems } from '../../styles/OrderedItems.modal';
|
14
14
|
import { CartService } from '../../../services/cart.service';
|
15
|
+
import { ActivatedRoute } from '@angular/router';
|
15
16
|
import * as i0 from "@angular/core";
|
16
17
|
export declare class UserProfileComponent extends BaseSection implements OnInit {
|
17
18
|
private readonly router;
|
@@ -23,7 +24,8 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
23
24
|
private readonly matBottomSheet;
|
24
25
|
private readonly cookieService;
|
25
26
|
private readonly messageService;
|
26
|
-
|
27
|
+
private route;
|
28
|
+
constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService, route: ActivatedRoute);
|
27
29
|
data?: UserProfileModal;
|
28
30
|
index?: number;
|
29
31
|
edit?: boolean;
|
@@ -1,5 +1,33 @@
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { MessageService } from 'primeng/api';
|
4
|
+
import { RestService } from '../../services/rest.service';
|
1
5
|
import * as i0 from "@angular/core";
|
2
|
-
export declare class ScheduleVideoCallComponent {
|
6
|
+
export declare class ScheduleVideoCallComponent implements OnInit {
|
7
|
+
private readonly dialogRef;
|
8
|
+
private matDialog;
|
9
|
+
private readonly messageService;
|
10
|
+
private readonly restService;
|
11
|
+
responseData: any;
|
12
|
+
constructor(dialogRef: MatDialogRef<ScheduleVideoCallComponent>, matDialog: MatDialog, messageService: MessageService, restService: RestService, responseData: any);
|
13
|
+
ngOnInit(): void;
|
14
|
+
selectedProducts: any[];
|
15
|
+
languages: string[];
|
16
|
+
selectedLang: string;
|
17
|
+
otherLanguage: string;
|
18
|
+
orderedItems: any[];
|
19
|
+
isSubmitting: boolean;
|
20
|
+
goBack(): void;
|
21
|
+
openScheduleCall(template: TemplateRef<HTMLDivElement>): void;
|
22
|
+
closeDialog(): void;
|
23
|
+
get isMobile(): boolean;
|
24
|
+
validationErrors: any;
|
25
|
+
videoCallPayload: any;
|
26
|
+
onInputChange(field: any): void;
|
27
|
+
scheduled: boolean;
|
28
|
+
resetValidationErrors(): void;
|
29
|
+
scheduleVideoCall(): void;
|
30
|
+
selectedItems(item: any): void;
|
3
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleVideoCallComponent, never>;
|
4
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScheduleVideoCallComponent, "simpo-schedule-video-call", never, {}, {}, never, never, true, never>;
|
5
33
|
}
|
@@ -93,6 +93,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
93
93
|
pinError: boolean;
|
94
94
|
setPincode(): void;
|
95
95
|
showLogin: boolean;
|
96
|
+
goToSchemes(): void;
|
97
|
+
getRGBA(bgColor: any, opacity: number): any;
|
96
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
97
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>;
|
98
100
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|