simpo-component-library 3.6.123 → 3.6.125
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/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +29 -11
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +14 -3
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +27 -4
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +3 -1
- package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +4 -2
- package/esm2022/lib/services/rest.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +91 -40
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +5 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -1
- package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +1 -0
- package/lib/ecommerce/styles/product.modal.d.ts +2 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.125.tgz +0 -0
- package/src/lib/styles/global-styles.css +3 -0
- package/simpo-component-library-3.6.123.tgz +0 -0
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
|
|
13
13
|
constructor(elementRef: ElementRef);
|
14
14
|
ngOnChanges(changes: SimpleChanges): void;
|
15
15
|
handleMoneyInput(event: any): void;
|
16
|
-
get getTextColor(): "#
|
16
|
+
get getTextColor(): "#000" | "#FFF";
|
17
17
|
interpolateColor(color1: string, color2: string, factor: number): string;
|
18
18
|
padZero(str: string, length: number): string;
|
19
19
|
generateColorBasedOnNumber(number: number): string;
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -58,7 +58,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
58
58
|
validateNumber(event: KeyboardEvent): void;
|
59
59
|
validateOTP(event: KeyboardEvent): void;
|
60
60
|
checkStrength(): void;
|
61
|
-
getStrengthColor(index: number): "
|
61
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
62
62
|
get isEmailValid(): boolean;
|
63
63
|
get isPasswordValid(): boolean;
|
64
64
|
get isMobile(): boolean;
|
@@ -2,10 +2,14 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { EventsService } from '../../../services/events.service';
|
3
3
|
import { ProfileStylesModal } from '../user-profile/user-profile.modal';
|
4
4
|
import { StorageServiceService } from '../../../services/storage.service';
|
5
|
+
import { RestService } from '../../../services/rest.service';
|
6
|
+
import { MessageService } from 'primeng/api';
|
5
7
|
import * as i0 from "@angular/core";
|
6
8
|
export declare class OrderDetailsComponent implements OnInit {
|
7
9
|
private readonly _eventService;
|
8
10
|
private storageService;
|
11
|
+
private restService;
|
12
|
+
private messageService;
|
9
13
|
responseData?: any;
|
10
14
|
data?: any;
|
11
15
|
index?: number;
|
@@ -16,7 +20,7 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
16
20
|
goBackEmitter: EventEmitter<void>;
|
17
21
|
isLoading: boolean;
|
18
22
|
styles?: ProfileStylesModal;
|
19
|
-
constructor(_eventService: EventsService, storageService: StorageServiceService);
|
23
|
+
constructor(_eventService: EventsService, storageService: StorageServiceService, restService: RestService, messageService: MessageService);
|
20
24
|
orderTimiline: any;
|
21
25
|
ngOnInit(): void;
|
22
26
|
private getIcon;
|
@@ -104,7 +104,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
104
104
|
getTextColor(color: any): "#000000" | "#ffffff";
|
105
105
|
languages: string[];
|
106
106
|
selectedLang: string;
|
107
|
-
getClass(map: any): "col-
|
107
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
108
108
|
onFindInStore(): void;
|
109
109
|
onBookAppointment(): void;
|
110
110
|
isDetails: boolean;
|
@@ -129,6 +129,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
129
129
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
130
130
|
opendailogbox(template: TemplateRef<HTMLDivElement>): void;
|
131
131
|
closeDialog(): void;
|
132
|
+
getRatings(noofratings: any): any;
|
132
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
133
134
|
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>;
|
134
135
|
}
|
@@ -25,6 +25,7 @@ export declare class SmallProductListingComponent implements OnInit {
|
|
25
25
|
getProductImages(product: any): any;
|
26
26
|
imageIndex: number;
|
27
27
|
changeImage(product: any, action: 'PREV' | 'NEXT'): Promise<void>;
|
28
|
+
getRatings(noofratings: any): any;
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmallProductListingComponent, never>;
|
29
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmallProductListingComponent, "simpo-small-product-listing", never, { "product": { "alias": "product"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isScrollable": { "alias": "isScrollable"; "required": false; }; "isCategoryProductList": { "alias": "isCategoryProductList"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
30
31
|
}
|
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
|
|
28
28
|
buttonStyles: any;
|
29
29
|
changeButtonStyle(): void;
|
30
30
|
backgroundType: string[];
|
31
|
-
setBorderRadius(): "0px" | "
|
31
|
+
setBorderRadius(): "0px" | "7px" | "99px";
|
32
32
|
setBorder(): string;
|
33
33
|
setColor(): any;
|
34
34
|
setBackground(): any;
|
@@ -97,6 +97,7 @@ export declare class RestService implements OnDestroy {
|
|
97
97
|
getAllStores(payload: any): Observable<Object>;
|
98
98
|
getStoreById(storeId: string): Observable<Object>;
|
99
99
|
postNewsLetter(email: any): Observable<Object>;
|
100
|
+
addReviewToProduct(payload: any): Observable<Object>;
|
100
101
|
getFieldsToDisplay(fieldsList: any[]): any;
|
101
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
102
103
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|