simpo-component-library 1.4.210 → 1.4.212
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +9 -14
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +6 -4
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +22 -10
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +44 -42
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +6 -3
- package/esm2022/lib/services/rest.service.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +90 -76
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +6 -2
- package/lib/sections/navbar-section/navbar-section.component.d.ts +1 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.4.211.tgz +0 -0
- package/simpo-component-library-1.4.212.tgz +0 -0
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
15
15
|
applyButtonStyleChanges(): void;
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
18
|
-
getTextColor(bgColor: string): "#
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
19
19
|
buttonStyleSubscription?: Subscription;
|
20
20
|
buttonStyleChangeCheck(): void;
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -43,7 +43,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
|
|
43
43
|
getSliceParameters(): number[];
|
44
44
|
getFeatureProduct(): void;
|
45
45
|
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
46
|
-
toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
|
46
|
+
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
47
47
|
proceedToProductDesc(product: Product): void;
|
48
48
|
togglePreviewImage(product: Product, idx: number): void;
|
49
49
|
isItemOutOfStock(product: Product): boolean;
|
@@ -42,6 +42,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
42
42
|
pricingMin: number;
|
43
43
|
pricingMax: number;
|
44
44
|
sortBy: string | null;
|
45
|
+
searchText: string;
|
45
46
|
private USER_CART;
|
46
47
|
private USER_WISHLIST;
|
47
48
|
minProductPrice: number;
|
@@ -67,8 +68,9 @@ export declare class ProductListComponent extends BaseSection {
|
|
67
68
|
getProductWidth(): string;
|
68
69
|
proceedToProductDesc(productId: any): void;
|
69
70
|
clearFilter(): void;
|
70
|
-
toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
|
71
|
-
addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
71
|
+
toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
|
72
|
+
addItemToCart(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'SUBSTRACT'): void;
|
73
|
+
searchProduct(): void;
|
72
74
|
categories: BaseModel[];
|
73
75
|
collections: BaseModel[];
|
74
76
|
applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
|
@@ -78,6 +80,8 @@ export declare class ProductListComponent extends BaseSection {
|
|
78
80
|
openSorting(SortingSection: any): void;
|
79
81
|
paginationChange(page: number): void;
|
80
82
|
closeDialog(): void;
|
83
|
+
isItemOutOfStock(product: Product): boolean;
|
84
|
+
get isMobile(): boolean;
|
81
85
|
get currency(): string;
|
82
86
|
get minSize(): number;
|
83
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
15
15
|
style?: PricingSectionStylesModel;
|
16
16
|
constructor(_eventService: EventsService);
|
17
17
|
ngOnInit(): void;
|
18
|
-
getTextColor(): "#
|
18
|
+
getTextColor(): "#000000" | "#ffffff";
|
19
19
|
get headingSpace(): SPACING;
|
20
20
|
editSection(): void;
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|