simpo-component-library 3.6.902 → 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/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 +39 -22
- 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/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 +266 -191
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +4 -1
- 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/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.902.tgz +0 -0
|
@@ -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;
|
|
@@ -92,6 +94,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
92
94
|
changeImg(url: any): void;
|
|
93
95
|
getKeys(varient: Object): string[];
|
|
94
96
|
goToCart(): void;
|
|
97
|
+
buyNow(): void;
|
|
95
98
|
addToCart(type?: 'ADD' | 'SUBSTRACT'): void;
|
|
96
99
|
goToFilter(category: string): void;
|
|
97
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;
|
|
@@ -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
|