simpo-component-library 3.6.901 → 3.6.903
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 +7 -1
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +24 -8
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +26 -16
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +5 -3
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
- package/esm2022/lib/sections/moving-text/moving-text.component.mjs +59 -14
- package/esm2022/lib/services/rest.service.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +117 -37
- 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 +1 -0
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +11 -3
- package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +1 -0
- 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/moving-text/moving-text.component.d.ts +5 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.903.tgz +0 -0
- package/simpo-component-library-3.6.901.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(): "#FFF" | "#000";
|
|
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
|
@@ -94,7 +94,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
|
94
94
|
validateNumber(event: KeyboardEvent): void;
|
|
95
95
|
validateOTP(event: KeyboardEvent): void;
|
|
96
96
|
checkStrength(): void;
|
|
97
|
-
getStrengthColor(index: number): "
|
|
97
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
|
98
98
|
emailDebounceTimer: any;
|
|
99
99
|
onEmailChange(): void;
|
|
100
100
|
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(): import("simpo-component-library").ALIGN | "
|
|
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(): import("simpo-component-library").ALIGN | "
|
|
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(): import("simpo-component-library").ALIGN | "
|
|
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
|
}
|
|
@@ -94,6 +94,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
94
94
|
changeImg(url: any): void;
|
|
95
95
|
getKeys(varient: Object): string[];
|
|
96
96
|
goToCart(): void;
|
|
97
|
+
buyNow(): void;
|
|
97
98
|
addToCart(type?: 'ADD' | 'SUBSTRACT'): void;
|
|
98
99
|
goToFilter(category: string): void;
|
|
99
100
|
addToFavourite(): void;
|
|
@@ -12,7 +12,6 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
12
12
|
import { CartService } from '../../../services/cart.service';
|
|
13
13
|
import { MenuItem, MessageService } from 'primeng/api';
|
|
14
14
|
import { ProductCardTheme } from '../../../styles/index';
|
|
15
|
-
import { AnalyticsService } from '../../../services/analytics.service';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
16
|
interface BaseModel {
|
|
18
17
|
option: string;
|
|
@@ -38,7 +37,6 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
38
37
|
private readonly cartService;
|
|
39
38
|
private readonly messageService;
|
|
40
39
|
private renderer;
|
|
41
|
-
private readonly analyticsService;
|
|
42
40
|
responseData?: Product[];
|
|
43
41
|
data?: ProductListModal;
|
|
44
42
|
index?: number;
|
|
@@ -92,7 +90,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
92
90
|
listScrollContainer: ElementRef<HTMLDivElement>;
|
|
93
91
|
getScreenSize(): void;
|
|
94
92
|
onWindowScroll(event: Event): void;
|
|
95
|
-
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2
|
|
93
|
+
constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2);
|
|
96
94
|
get stylesLayout(): LayOutModel;
|
|
97
95
|
isOpen: boolean;
|
|
98
96
|
toggleDropdown(): void;
|
|
@@ -119,6 +117,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
119
117
|
getEcommerceConfigs(): void;
|
|
120
118
|
toShowInJewellery: boolean;
|
|
121
119
|
IsEcommerce: boolean;
|
|
120
|
+
isMaterialBasedPricing: boolean;
|
|
122
121
|
ngOnInit(): void;
|
|
123
122
|
fetchAnalytics(): void;
|
|
124
123
|
getCategoriesAndCollection(): void;
|
|
@@ -210,6 +209,15 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
|
|
|
210
209
|
showAllCollections: boolean;
|
|
211
210
|
get displayedCollections(): BaseModel[];
|
|
212
211
|
toggleCollections(): void;
|
|
212
|
+
categoriesCollapsed: boolean;
|
|
213
|
+
collectionsCollapsed: boolean;
|
|
214
|
+
ratingsCollapsed: boolean;
|
|
215
|
+
priceCollapsed: boolean;
|
|
216
|
+
productTypeCollapsed: boolean;
|
|
217
|
+
shopForCollapsed: boolean;
|
|
218
|
+
materialCollapsed: boolean;
|
|
219
|
+
metalCollapsed: boolean;
|
|
220
|
+
ringStyleCollapsed: boolean;
|
|
213
221
|
addToTrialCart(product: Product): Promise<void>;
|
|
214
222
|
productName: string;
|
|
215
223
|
openDialogBox(template: TemplateRef<HTMLDivElement>, productName: any): void;
|
|
@@ -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(): import("simpo-component-library").ALIGN | "
|
|
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(): import("simpo-component-library").ALIGN | "
|
|
26
|
+
getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -3,6 +3,7 @@ import { EventsService } from '../../services/events.service';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MovingTextComponent extends BaseSection {
|
|
5
5
|
private _eventService;
|
|
6
|
+
private platformId;
|
|
6
7
|
data?: any;
|
|
7
8
|
edit?: boolean;
|
|
8
9
|
delete?: boolean;
|
|
@@ -15,11 +16,14 @@ export declare class MovingTextComponent extends BaseSection {
|
|
|
15
16
|
private interval;
|
|
16
17
|
private animationDuration;
|
|
17
18
|
private displayDuration;
|
|
18
|
-
constructor(_eventService: EventsService);
|
|
19
|
+
constructor(_eventService: EventsService, platformId: object);
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
ngOnDestroy(): void;
|
|
21
22
|
startAnimationCycle(): void;
|
|
22
23
|
private transitionToNext;
|
|
24
|
+
private restartAutoPlay;
|
|
25
|
+
goToPrev(): void;
|
|
26
|
+
goToNext(): void;
|
|
23
27
|
isItemVisible(index: number): boolean;
|
|
24
28
|
getItemClass(index: number): string;
|
|
25
29
|
getTextColor(bgColor: string): "#000000" | "#ffffff";
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|