simpo-component-library 1.5.40 → 1.5.42
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +6 -5
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +8 -4
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +5 -3
- 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 +3 -3
- package/fesm2022/simpo-component-library.mjs +25 -19
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/category-product/category-product.component.d.ts +2 -0
- package/lib/ecommerce/sections/product-category-list/product-category-list.component.d.ts +2 -0
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +2 -0
- package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +2 -1
- package/package.json +1 -1
- package/simpo-component-library-1.5.40.tgz +0 -0
- package/simpo-component-library-1.5.41.tgz +0 -0
- package/simpo-component-library-1.5.42.tgz +0 -0
@@ -8,6 +8,7 @@ import { FeaturedProductModal } from '../featured-products/featured-products.mod
|
|
8
8
|
import { CartService } from '../../../services/cart.service';
|
9
9
|
import BaseSection from '../../../sections/BaseSection';
|
10
10
|
import { ActivatedRoute } from '@angular/router';
|
11
|
+
import { LayOutModel } from '../../../styles/style.model';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class CategoryProductComponent extends BaseSection implements OnInit {
|
13
14
|
private readonly restService;
|
@@ -41,6 +42,7 @@ export declare class CategoryProductComponent extends BaseSection implements OnI
|
|
41
42
|
showLeftArrow: boolean;
|
42
43
|
updateArrows(): void;
|
43
44
|
editSection(): void;
|
45
|
+
get getSpacingLayout(): LayOutModel;
|
44
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryProductComponent, never>;
|
45
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<CategoryProductComponent, "simpo-category-product", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
46
48
|
}
|
@@ -8,6 +8,7 @@ import { CartService } from '../../../services/cart.service';
|
|
8
8
|
import { ActivatedRoute } from '@angular/router';
|
9
9
|
import { ProductCategoryListModal, ProductCategoryListStylesModal } from './product-category-list.model';
|
10
10
|
import { SPACING } from '../../../styles/index';
|
11
|
+
import { LayOutModel } from '../../../styles/style.model';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class ProductCategoryListComponent extends BaseSection implements OnInit, OnDestroy {
|
13
14
|
private readonly restService;
|
@@ -33,6 +34,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
|
|
33
34
|
getItemVarient(product: Product, varientId: string): ItemVariant | null;
|
34
35
|
getPercentage(product: Product): string;
|
35
36
|
getSupportingColor(color: string): string;
|
37
|
+
get getSpacingLayout(): LayOutModel;
|
36
38
|
get headingSpace(): SPACING;
|
37
39
|
get currency(): string;
|
38
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryListComponent, never>;
|
@@ -10,6 +10,7 @@ import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
10
10
|
import { MatDialog } from '@angular/material/dialog';
|
11
11
|
import { CartService } from '../../../services/cart.service';
|
12
12
|
import { MenuItem, MessageService } from 'primeng/api';
|
13
|
+
import { ProductCardTheme } from '../../../styles/index';
|
13
14
|
import * as i0 from "@angular/core";
|
14
15
|
interface BaseModel {
|
15
16
|
option: string;
|
@@ -62,6 +63,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
62
63
|
size: number;
|
63
64
|
searchTxt: string;
|
64
65
|
filterLoading: boolean;
|
66
|
+
theme: typeof ProductCardTheme;
|
65
67
|
ngOnInit(): void;
|
66
68
|
filterByCategoryCollectionParam(qCategories: any, qCollections: any): void;
|
67
69
|
getAllCategories(): void;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ProductCardTheme } from "../../../styles/index";
|
1
2
|
import { ActionModel, AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
|
2
3
|
export interface ProductListModal {
|
3
4
|
id: string;
|
@@ -15,7 +16,7 @@ export interface ProductListStylesModal {
|
|
15
16
|
maxPrice: number;
|
16
17
|
minPrice: number;
|
17
18
|
animation: AnimationModel;
|
18
|
-
theme:
|
19
|
+
theme: ProductCardTheme;
|
19
20
|
}
|
20
21
|
export interface ProductListContentModal {
|
21
22
|
display: Display;
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|