simpo-component-library 3.6.728 → 3.6.730
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 +6 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +29 -25
- 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 +2 -1
- 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/services/rest.service.mjs +14 -2
- package/fesm2022/simpo-component-library.mjs +204 -185
- 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/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -4
- 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 +1 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
- package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.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.730.tgz +0 -0
- package/simpo-component-library-3.6.728.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;
|
|
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
|
37
37
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
38
38
|
get stylesLayout(): LayOutModel;
|
|
39
39
|
get isMobile(): boolean;
|
|
40
|
-
getJustifyContent():
|
|
40
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
|
|
42
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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>;
|
|
43
43
|
}
|
|
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getJustifyContent():
|
|
35
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-collection", 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>;
|
|
38
38
|
}
|
|
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
35
|
getColor(color: any): "#000000" | "#ffffff";
|
|
36
|
-
getJustifyContent():
|
|
36
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", 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>;
|
|
39
39
|
}
|
|
@@ -14,7 +14,6 @@ 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';
|
|
18
17
|
import * as i0 from "@angular/core";
|
|
19
18
|
export declare class ProductDescComponent extends BaseSection {
|
|
20
19
|
private platformId;
|
|
@@ -30,7 +29,6 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
30
29
|
private readonly bottomSheet;
|
|
31
30
|
private renderer;
|
|
32
31
|
private matDialog;
|
|
33
|
-
private analyticsService;
|
|
34
32
|
reviewComponent: CustomerReviewComponent;
|
|
35
33
|
aboveHeight: ElementRef<HTMLDivElement>;
|
|
36
34
|
container: ElementRef<HTMLDivElement>;
|
|
@@ -54,7 +52,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
54
52
|
showReview: boolean;
|
|
55
53
|
selectedReview: any;
|
|
56
54
|
currentImageIndex: number;
|
|
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
|
|
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);
|
|
58
56
|
buttonId?: string;
|
|
59
57
|
button?: ButtonModel;
|
|
60
58
|
styles?: ProductDescStylesModal;
|
|
@@ -121,7 +119,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
121
119
|
getTextColor(color: any): "#000000" | "#ffffff";
|
|
122
120
|
languages: string[];
|
|
123
121
|
selectedLang: string;
|
|
124
|
-
getClass(map: any): "col-
|
|
122
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
|
125
123
|
onFindInStore(id: string): void;
|
|
126
124
|
onBookAppointment(): void;
|
|
127
125
|
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(product: Product): 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 ImageGridHotspotComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent():
|
|
26
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent():
|
|
26
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -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,6 +33,7 @@ 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>;
|
|
36
37
|
getCollectionByIds(collectionIds: string[]): Observable<any>;
|
|
37
38
|
getAllCategories(): Observable<any>;
|
|
38
39
|
getAllCollections(): Observable<any>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|