simpo-component-library 2.1.97 → 2.1.99
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/sections/navbar-section/navbar-section.component.mjs +9 -3
- package/esm2022/lib/sections/property-detail/property-detail.component.mjs +3 -3
- package/esm2022/lib/sections/signup-signin/signup-signin.component.mjs +112 -10
- package/esm2022/lib/services/rest.service.mjs +13 -1
- package/fesm2022/simpo-component-library.mjs +125 -10
- 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/authentication-required/authentication-required.component.d.ts +1 -1
- 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/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
- package/lib/sections/navbar-section/navbar-section.component.d.ts +2 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/signup-signin/signup-signin.component.d.ts +23 -2
- package/lib/services/rest.service.d.ts +4 -0
- package/package.json +1 -1
- package/simpo-component-library-2.1.99.tgz +0 -0
- package/simpo-component-library-2.1.97.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): "#ffffff" | "#000000" | "#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): "#ffffff" | "#000000" | "#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(): "#ffffff" | "#000000" | "#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
|
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -45,7 +45,7 @@ export declare class AuthenticationRequiredComponent {
|
|
45
45
|
validateNumber(event: KeyboardEvent): void;
|
46
46
|
validateOTP(event: KeyboardEvent): void;
|
47
47
|
checkStrength(): void;
|
48
|
-
getStrengthColor(index: number): "
|
48
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
49
49
|
get isEmailValid(): boolean;
|
50
50
|
get isPasswordValid(): boolean;
|
51
51
|
get isMobile(): boolean;
|
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
26
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
27
27
|
get getBackgroundColor(): BackgroundModel;
|
28
|
-
get getBackgroundOpacity(): "0" | "0.
|
29
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
28
|
+
get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
29
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
30
30
|
editSection(): void;
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
32
32
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
25
25
|
get canMergeNavbar(): boolean | undefined;
|
26
26
|
get isBorderlessImage(): boolean | undefined;
|
27
27
|
get getPositionLayout(): PositionLayoutModal;
|
28
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
28
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
31
31
|
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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -20,8 +20,8 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
20
20
|
constructor(_eventService: EventsService);
|
21
21
|
ngOnInit(): void;
|
22
22
|
get canMergeNavbar(): boolean | undefined;
|
23
|
-
get getBackgroundOpacity(): "1" | "0.
|
24
|
-
opacityValue(value: OverlayValue): "1" | "0.
|
23
|
+
get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
24
|
+
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
25
25
|
editSection(): void;
|
26
26
|
redirectTo(): void;
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
@@ -23,7 +23,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
23
23
|
constructor(_eventService: EventsService);
|
24
24
|
ngOnInit(): void;
|
25
25
|
get animationDuration(): logoSpeed;
|
26
|
-
get animationDirection(): "reverse" | "normal"
|
26
|
+
get animationDirection(): logoDirection.Left | "reverse" | "normal";
|
27
27
|
screenWidth: number;
|
28
28
|
getScreenSize(event?: number): void;
|
29
29
|
editSection(): void;
|
@@ -49,6 +49,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
49
49
|
get getParentHeight(): any;
|
50
50
|
get getDropdownLinks(): string[];
|
51
51
|
get isEcommerceWebsite(): boolean;
|
52
|
+
get isRealEstateWebsite(): boolean;
|
52
53
|
close(): void;
|
53
54
|
showEditors: boolean;
|
54
55
|
showEditTabs(isShow: boolean): void;
|
@@ -68,6 +69,7 @@ export declare class NavbarSectionComponent implements OnInit {
|
|
68
69
|
get getHeaderStyling(): HEADER_STYLING | undefined;
|
69
70
|
get isMobile(): boolean;
|
70
71
|
getKeys(object: any): string[];
|
72
|
+
get isLoggedIn(): boolean;
|
71
73
|
getValues(object: any): unknown[];
|
72
74
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
73
75
|
get getNavbarButton(): any[];
|
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
17
17
|
style?: PricingSectionStylesModel;
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
|
-
getTextColor(): "#
|
20
|
+
getTextColor(): "#ffffff" | "#000000";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
@@ -1,18 +1,39 @@
|
|
1
1
|
import { SignUpSignInModel } from './signup-signin.model';
|
2
2
|
import BaseSection from '../BaseSection';
|
3
3
|
import { EventsService } from './../../services/events.service';
|
4
|
+
import { RestService } from '../../services/rest.service';
|
5
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
6
|
+
import { MessageService } from 'primeng/api';
|
4
7
|
import * as i0 from "@angular/core";
|
5
8
|
export declare class SignupSigninComponent extends BaseSection {
|
6
9
|
private _eventService;
|
10
|
+
private restService;
|
11
|
+
private router;
|
12
|
+
private activatedRoute;
|
13
|
+
private readonly messageService;
|
7
14
|
data?: SignUpSignInModel;
|
8
15
|
index?: number;
|
9
16
|
edit?: boolean;
|
10
17
|
delete?: boolean;
|
11
|
-
constructor(_eventService: EventsService);
|
18
|
+
constructor(_eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, messageService: MessageService);
|
12
19
|
ngOnInit(): void;
|
13
|
-
currentPage: 'LOGIN' | 'SIGN_UP' | 'OTP' | 'FORGOT_PASSWORD';
|
20
|
+
currentPage: 'LOGIN' | 'SIGN_UP' | 'OTP' | 'FORGOT_PASSWORD' | 'OTP_VERIFY';
|
14
21
|
backgroundImage: any;
|
15
22
|
editSection(): void;
|
23
|
+
otpArray: any[];
|
24
|
+
move(event: any, idx: number): void;
|
25
|
+
loginOtpArray: any[];
|
26
|
+
moveLoginOtpCursor(event: any, idx: number): void;
|
27
|
+
loginEmail: string;
|
28
|
+
investor: any;
|
29
|
+
otpSent: boolean;
|
30
|
+
buttonClickedEvent(): void;
|
31
|
+
signUp(): void;
|
32
|
+
sendOtp(): void;
|
33
|
+
loginWithPassword(): void;
|
34
|
+
sendOtpForLogin(): void;
|
35
|
+
verifyOtp(): void;
|
36
|
+
isValidEmail(email: string): boolean;
|
16
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignupSigninComponent, never>;
|
17
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<SignupSigninComponent, "simpo-signup-signin", 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>;
|
18
39
|
}
|
@@ -82,6 +82,10 @@ export declare class RestService implements OnDestroy {
|
|
82
82
|
getFeaturedProperty(propertyIds: number[]): Observable<Object>;
|
83
83
|
getPropertyList(): Observable<Object>;
|
84
84
|
getPropertyDetails(propertyId: string): Observable<Object>;
|
85
|
+
signUp(investor: any): Observable<Object>;
|
86
|
+
sendOtp(email: any): Observable<Object>;
|
87
|
+
login(email: string, password: string, logInType?: string): Observable<Object>;
|
88
|
+
verifyOtp(email: string, otp: string): Observable<Object>;
|
85
89
|
getFieldsToDisplay(fieldsList: any[]): any;
|
86
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
87
91
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/package.json
CHANGED
Binary file
|
Binary file
|