simpo-component-library 3.6.194 → 3.6.196
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/authentication-required/authentication-required.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +36 -4
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +6 -6
- 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 +18 -3
- package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +14 -4
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +14 -6
- package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +177 -8
- package/esm2022/lib/sections/header-section/header-section.component.mjs +6 -3
- package/esm2022/lib/services/rest.service.mjs +1 -3
- package/fesm2022/simpo-component-library.mjs +344 -57
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +1 -0
- package/lib/ecommerce/sections/cart/cart.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +3 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +26 -1
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +1 -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/pricing-s1/pricing-s1.component.d.ts +1 -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 +1 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.196.tgz +0 -0
- package/simpo-component-library-3.6.194.tgz +0 -0
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): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
66
66
|
emailDebounceTimer: any;
|
67
67
|
onEmailChange(): void;
|
68
68
|
emailCheck: boolean;
|
@@ -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,7 +105,7 @@ 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;
|
@@ -109,7 +109,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
109
109
|
getTextColor(color: any): "#000000" | "#ffffff";
|
110
110
|
languages: string[];
|
111
111
|
selectedLang: string;
|
112
|
-
getClass(map: any): "col-
|
112
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
113
113
|
onFindInStore(id: string): void;
|
114
114
|
onBookAppointment(): void;
|
115
115
|
isDetails: boolean;
|
@@ -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;
|
@@ -7,6 +7,7 @@ export declare class SchemeDetailsComponent implements OnInit {
|
|
7
7
|
ngOnInit(): void;
|
8
8
|
paymentData: any[];
|
9
9
|
getPaymentScheme(): void;
|
10
|
+
getDueDate(paymentDate: string | Date): number | null;
|
10
11
|
goBack(): void;
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
12
13
|
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;
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
15
15
|
editSection(): void;
|
16
16
|
getButtonId(): string;
|
17
17
|
redirectTo(): void;
|
18
|
-
getClass(): "col-4" | "col-
|
18
|
+
getClass(): "col-4" | "col-3" | "col-12" | "col-5";
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
21
21
|
}
|
@@ -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
|
+
languages: string[];
|
15
|
+
selectedLang: string;
|
16
|
+
otherLanguage: string;
|
17
|
+
orderedItems: any[];
|
18
|
+
isSubmitting: boolean;
|
19
|
+
goBack(): void;
|
20
|
+
openScheduleCall(template: TemplateRef<HTMLDivElement>): void;
|
21
|
+
closeDialog(): void;
|
22
|
+
get isMobile(): boolean;
|
23
|
+
validationErrors: any;
|
24
|
+
videoCallPayload: any;
|
25
|
+
onInputChange(field: any): void;
|
26
|
+
scheduled: boolean;
|
27
|
+
resetValidationErrors(): void;
|
28
|
+
scheduleVideoCall(): void;
|
29
|
+
selectedProducts: any[];
|
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,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
93
93
|
pinError: boolean;
|
94
94
|
setPincode(): void;
|
95
95
|
showLogin: boolean;
|
96
|
+
goToSchemes(): void;
|
96
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
97
98
|
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
99
|
}
|
@@ -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-6" | "col-4" | "col-3" | "col-12";
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
28
28
|
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>;
|
29
29
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|