simpo-component-library 3.6.731 → 3.6.732
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 +4 -6
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +25 -29
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +9 -9
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -2
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
- package/esm2022/lib/sections/faq-columns-cards/faq-columns-cards.component.mjs +3 -3
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +2 -14
- package/fesm2022/simpo-component-library.mjs +187 -206
- 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/product-desc/product-desc.component.d.ts +4 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/ecommerce/styles/product.modal.d.ts +0 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +0 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.732.tgz +0 -0
- package/simpo-component-library-3.6.731.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
|
@@ -82,7 +82,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
82
82
|
validateNumber(event: KeyboardEvent): void;
|
|
83
83
|
validateOTP(event: KeyboardEvent): void;
|
|
84
84
|
checkStrength(): void;
|
|
85
|
-
getStrengthColor(index: number): "
|
|
85
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
|
86
86
|
emailDebounceTimer: any;
|
|
87
87
|
onEmailChange(): void;
|
|
88
88
|
emailCheck: boolean;
|
|
@@ -14,6 +14,7 @@ import { Meta, Title } from '@angular/platform-browser';
|
|
|
14
14
|
import { MatDialog } from '@angular/material/dialog';
|
|
15
15
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
16
16
|
import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
|
|
17
|
+
import { AnalyticsService } from '../../../services/analytics.service';
|
|
17
18
|
import * as i0 from "@angular/core";
|
|
18
19
|
export declare class ProductDescComponent extends BaseSection {
|
|
19
20
|
private platformId;
|
|
@@ -29,6 +30,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
29
30
|
private readonly bottomSheet;
|
|
30
31
|
private renderer;
|
|
31
32
|
private matDialog;
|
|
33
|
+
private analyticsService;
|
|
32
34
|
reviewComponent: CustomerReviewComponent;
|
|
33
35
|
aboveHeight: ElementRef<HTMLDivElement>;
|
|
34
36
|
container: ElementRef<HTMLDivElement>;
|
|
@@ -52,7 +54,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
52
54
|
showReview: boolean;
|
|
53
55
|
selectedReview: any;
|
|
54
56
|
currentImageIndex: number;
|
|
55
|
-
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);
|
|
57
|
+
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, analyticsService: AnalyticsService);
|
|
56
58
|
buttonId?: string;
|
|
57
59
|
button?: ButtonModel;
|
|
58
60
|
styles?: ProductDescStylesModal;
|
|
@@ -119,7 +121,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
119
121
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
120
122
|
languages: string[];
|
|
121
123
|
selectedLang: string;
|
|
122
|
-
getClass(map: any): "col-
|
|
124
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
|
123
125
|
onFindInStore(id: string): void;
|
|
124
126
|
onBookAppointment(): void;
|
|
125
127
|
isDetails: boolean;
|
|
@@ -129,7 +129,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
|
129
129
|
removeFilter(filter: any): void;
|
|
130
130
|
applyProductWidth(): boolean;
|
|
131
131
|
getProductWidth(): string;
|
|
132
|
-
proceedToProductDesc(
|
|
132
|
+
proceedToProductDesc(productId: any): void;
|
|
133
133
|
ringSizes: {
|
|
134
134
|
size: string;
|
|
135
135
|
status: 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-6" | "col-12" | "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>;
|
|
@@ -33,7 +33,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
33
33
|
get stylesLayout(): LayOutModel;
|
|
34
34
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
|
35
35
|
get getBackgroundColor(): BackgroundModel;
|
|
36
|
-
get getBackgroundOpacity(): "
|
|
36
|
+
get getBackgroundOpacity(): "0" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
37
37
|
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
|
|
38
38
|
editSection(): void;
|
|
39
39
|
getScreenSize(): number;
|
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
23
23
|
getButtonId(): string;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
redirectTo(data: any): void;
|
|
26
|
-
getClass(): "col-
|
|
26
|
+
getClass(): "col-6" | "col-4" | "col-3" | "col-12";
|
|
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>;
|
|
@@ -33,7 +33,6 @@ export declare class RestService implements OnDestroy {
|
|
|
33
33
|
getAllRedemptionSchemes(): Observable<Object>;
|
|
34
34
|
getAllProducts(payload: any): Observable<Object>;
|
|
35
35
|
getProductDetails(productId?: string | null): Observable<any>;
|
|
36
|
-
getProductDetailsV2(slugName?: string | null): Observable<any>;
|
|
37
36
|
getCollectionByIds(collectionIds: string[]): Observable<any>;
|
|
38
37
|
getAllCategories(): Observable<any>;
|
|
39
38
|
getAllCollections(): Observable<any>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|