simpo-component-library 1.5.36 → 1.5.38
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 +20 -8
- 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 +3 -3
- 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 +116 -86
- 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/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/small-product-listing/small-product-listing.component.d.ts +1 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- 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.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
@@ -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
|
}
|
@@ -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 '@simpo-ui/styles';
|
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>;
|
@@ -23,8 +23,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
23
23
|
get stylesLayout(): LayOutModel;
|
24
24
|
get getBlurValue(): OverlayValue | undefined;
|
25
25
|
get getBackgroundColor(): BackgroundModel;
|
26
|
-
get getBackgroundOpacity(): "0" | "0.
|
27
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
26
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
27
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
28
|
editSection(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", 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>;
|
@@ -23,7 +23,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
23
23
|
get canMergeNavbar(): boolean | undefined;
|
24
24
|
get isBorderlessImage(): boolean | undefined;
|
25
25
|
get getPositionLayout(): PositionLayoutModal;
|
26
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
26
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
27
27
|
editSection(): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", 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>;
|
@@ -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/lib/styles/index.d.ts
CHANGED
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|