simpo-component-library 1.3.1 → 1.3.2
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/product-desc/product-desc.component.mjs +22 -23
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +18 -7
- package/fesm2022/simpo-component-library.mjs +38 -28
- 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/product-desc/product-desc.component.d.ts +0 -3
- package/lib/sections/navbar-section/navbar-section.component.d.ts +4 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.3.2.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
|
}
|
|
@@ -29,9 +29,6 @@ export declare class ProductDescComponent extends BaseSection {
|
|
|
29
29
|
getScreenSize(): void;
|
|
30
30
|
currentImg: any;
|
|
31
31
|
changeImg(url: any): void;
|
|
32
|
-
addedQuantity: number;
|
|
33
|
-
changeQuantity(quantity: any): void;
|
|
34
|
-
addOrSubtractQuantity(type: 'ADD' | 'SUBSTRACT'): void;
|
|
35
32
|
addToCart(type?: 'ADD' | 'SUBSTRACT'): void;
|
|
36
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
|
37
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "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 NavbarSectionComponent implements OnInit {
|
|
|
23
23
|
searchProducts(): void;
|
|
24
24
|
goToAccount(): void;
|
|
25
25
|
goToCart(): void;
|
|
26
|
-
applyFilter(value: string): void;
|
|
26
|
+
applyFilter(value: any, type: string): void;
|
|
27
27
|
onScroll(event: any): void;
|
|
28
28
|
ngOnInit(): void;
|
|
29
29
|
screenWidth: number;
|
|
@@ -34,6 +34,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
|
34
34
|
close(): void;
|
|
35
35
|
showEditors: boolean;
|
|
36
36
|
showEditTabs(isShow: boolean): void;
|
|
37
|
+
goToHome(): void;
|
|
37
38
|
get isHeaderSticky(): boolean | undefined;
|
|
38
39
|
get backgroundInfo(): any;
|
|
39
40
|
get simpoColor(): any;
|
|
@@ -43,6 +44,8 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
|
43
44
|
get isComponentMerged(): any;
|
|
44
45
|
editSection(): void;
|
|
45
46
|
get getCartItemsCount(): number;
|
|
47
|
+
getKeys(object: any): string[];
|
|
48
|
+
getValues(object: any): unknown[];
|
|
46
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
|
|
47
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
|
48
51
|
}
|
|
@@ -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
|