simpo-component-library 3.6.830 → 3.6.832
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 +15 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +115 -117
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +37 -38
- package/esm2022/lib/sections/header-section/header-section.component.mjs +9 -3
- package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
- package/esm2022/lib/services/storage.service.mjs +72 -17
- package/fesm2022/simpo-component-library.mjs +385 -315
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -3
- package/lib/sections/header-section/header-section.component.d.ts +1 -0
- package/lib/sections/header-section/header-section.model.d.ts +1 -0
- package/lib/services/storage.service.d.ts +4 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.832.tgz +0 -0
- package/simpo-component-library-3.6.830.tgz +0 -0
|
@@ -76,6 +76,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
|
76
76
|
getBtnStyle(index: number): any;
|
|
77
77
|
getBtnData(index: number): any;
|
|
78
78
|
redirectTo(data: any): void;
|
|
79
|
+
getJustifyContent(): "center" | "flex-start" | "flex-end";
|
|
79
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
|
|
80
81
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, { "changeDetailProduct": "changeDetailProduct"; }, never, never, true, never>;
|
|
81
82
|
}
|
|
@@ -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;
|
|
@@ -98,6 +98,7 @@ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, On
|
|
|
98
98
|
get shouldShowMobileCategoryHeader(): boolean;
|
|
99
99
|
get showMobileHomeIcon(): boolean;
|
|
100
100
|
get getCartItemsCount(): number;
|
|
101
|
+
get getWishlistItemsCount(): number;
|
|
101
102
|
get getCartTotalAmount(): number;
|
|
102
103
|
get getHeaderStyling(): Header_Type | undefined;
|
|
103
104
|
get isMobile(): boolean;
|
|
@@ -18,6 +18,10 @@ export declare class StorageServiceService {
|
|
|
18
18
|
private totalCartItems;
|
|
19
19
|
getCartTotalAmount: number;
|
|
20
20
|
get getTotalCartItems(): number;
|
|
21
|
+
private totalWishlistItems;
|
|
22
|
+
get getTotalWishlistItems(): number;
|
|
23
|
+
calculateCartTotals(): void;
|
|
24
|
+
calculateWishlistTotals(): void;
|
|
21
25
|
databaseName: string;
|
|
22
26
|
databaseVersion: number;
|
|
23
27
|
cartCollectionName: string;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|