simpo-component-library 1.5.36 → 1.5.39
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/category-product/category-product.component.mjs +20 -8
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -1
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +9 -5
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +4 -3
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +7 -5
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +14 -3
- package/esm2022/lib/styles/index.mjs +6 -1
- package/fesm2022/simpo-component-library.mjs +123 -90
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/category-product/category-product.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -0
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +2 -1
- package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +1 -0
- package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +1 -0
- package/lib/styles/index.d.ts +4 -0
- package/package.json +1 -1
- package/simpo-component-library-1.5.38.tgz +0 -0
- package/simpo-component-library-1.5.39.tgz +0 -0
- package/simpo-component-library-1.5.31.tgz +0 -0
- package/simpo-component-library-1.5.32.tgz +0 -0
- package/simpo-component-library-1.5.34.tgz +0 -0
- package/simpo-component-library-1.5.35.tgz +0 -0
- package/simpo-component-library-1.5.36.tgz +0 -0
@@ -35,10 +35,10 @@ export declare class CategoryProductComponent extends BaseSection implements OnI
|
|
35
35
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
36
36
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
37
37
|
getPercentage(product: Product): string;
|
38
|
+
getSupportingColor(color: string): string;
|
38
39
|
scrollLeft(): void;
|
39
40
|
showRightArrow: boolean;
|
40
41
|
showLeftArrow: boolean;
|
41
|
-
isFirstTime: boolean;
|
42
42
|
updateArrows(): void;
|
43
43
|
editSection(): void;
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryProductComponent, never>;
|
@@ -10,6 +10,7 @@ import { CartService } from '../../../services/cart.service';
|
|
10
10
|
import { StorageServiceService } from '../../../services/storage.service';
|
11
11
|
import { MessageService } from 'primeng/api';
|
12
12
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
13
|
+
import { ProductCardTheme } from '../../../styles/index';
|
13
14
|
import * as i0 from "@angular/core";
|
14
15
|
export declare class FeaturedProductsComponent extends BaseSection implements OnInit, OnDestroy, OnChanges {
|
15
16
|
private platformId;
|
@@ -37,6 +38,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
37
38
|
screenWidth: number;
|
38
39
|
private USER_CART;
|
39
40
|
private USER_WISHLIST;
|
41
|
+
theme: typeof ProductCardTheme;
|
40
42
|
getScreenSize(): void;
|
41
43
|
ngOnInit(): void;
|
42
44
|
ngOnChanges(changes: SimpleChanges): void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { InputTextModel, StylesModel, ImageStyle, ActionModel } from "../../../styles/style.model";
|
2
|
-
import { Corners } from "../../.././styles/index";
|
2
|
+
import { Corners, ProductCardTheme } from "../../.././styles/index";
|
3
3
|
export declare class FeaturedProductModal {
|
4
4
|
id: string;
|
5
5
|
sectionType: string;
|
@@ -28,5 +28,6 @@ export interface FeaturedProductStylesModel extends StylesModel {
|
|
28
28
|
maximumProduct: number;
|
29
29
|
elementInRow: number;
|
30
30
|
mobileColumn: number;
|
31
|
+
theme: ProductCardTheme;
|
31
32
|
direction: "ROW" | "COLUMN";
|
32
33
|
}
|
@@ -10,6 +10,7 @@ export declare class SmallProductListingComponent {
|
|
10
10
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
11
11
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
12
12
|
getPercentage(product: Product): string;
|
13
|
+
getSupportingColor(color: string): string;
|
13
14
|
get currency(): string;
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmallProductListingComponent, never>;
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmallProductListingComponent, "simpo-small-product-listing", never, { "product": { "alias": "product"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
package/lib/styles/index.d.ts
CHANGED
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|