simpo-component-library 1.4.236 → 1.4.241
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +14 -9
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +4 -4
- package/esm2022/lib/ecommerce/styles/product.modal.mjs +6 -6
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- package/esm2022/lib/pipes/gender.pipe.mjs +36 -0
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +8 -6
- package/esm2022/lib/services/rest.service.mjs +8 -4
- package/fesm2022/simpo-component-library.mjs +68 -25
- 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/user-profile/user-profile.component.d.ts +1 -1
- package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +1 -0
- package/lib/ecommerce/styles/user.modal.d.ts +1 -1
- package/lib/pipes/gender.pipe.d.ts +8 -0
- package/lib/sections/navbar-section/navbar-section.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.4.240.tgz +0 -0
- package/simpo-component-library-1.4.241.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
|
}
|
@@ -61,7 +61,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
61
61
|
toggleSidepanelTab(tab: Tabs): void;
|
62
62
|
get getUserDetails(): User | null;
|
63
63
|
get isMobile(): boolean;
|
64
|
-
get
|
64
|
+
get userGender(): import("../../styles/user.modal").GENDER | null;
|
65
65
|
get getCardBGColor(): string;
|
66
66
|
private getComplementColor;
|
67
67
|
private convertHEX;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { GENDER } from '../ecommerce/styles/user.modal';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class GenderIcon implements PipeTransform {
|
5
|
+
transform(gender: GENDER | string | null): string;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenderIcon, never>;
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GenderIcon, "genderIcon", true>;
|
8
|
+
}
|
@@ -54,7 +54,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
54
54
|
get getCartItemsCount(): number;
|
55
55
|
getKeys(object: any): string[];
|
56
56
|
getValues(object: any): unknown[];
|
57
|
-
get
|
57
|
+
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
|
59
59
|
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>;
|
60
60
|
}
|
@@ -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
|