simpo-component-library 2.2.21 → 2.2.32
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/elements/index.mjs +5 -6
- package/esm2022/lib/elements/payment-confirmation/payment-confirmation.component.mjs +45 -14
- package/esm2022/lib/elements/portfolio/portfolio.component.mjs +27 -45
- package/esm2022/lib/elements/properties/properties.component.mjs +23 -58
- package/esm2022/lib/elements/property-view/property-view.component.mjs +46 -9
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
- package/esm2022/lib/sections/profile-section/profile-section.component.mjs +9 -32
- package/esm2022/lib/sections/property-component/property-component.component.mjs +15 -9
- package/esm2022/lib/sections/property-detail/property-detail.component.mjs +31 -8
- package/esm2022/lib/sections/property-list/property-list.component.mjs +10 -91
- package/esm2022/lib/sections/verify-property-payment/verify-property-payment.component.mjs +55 -0
- package/esm2022/lib/services/rest.service.mjs +43 -5
- package/esm2022/lib/styles/index.mjs +2 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/simpo-component-library.mjs +317 -304
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/elements/index.d.ts +2 -3
- package/lib/elements/payment-confirmation/payment-confirmation.component.d.ts +6 -1
- package/lib/elements/portfolio/portfolio.component.d.ts +10 -12
- package/lib/elements/properties/properties.component.d.ts +7 -4
- package/lib/elements/property-view/property-view.component.d.ts +9 -2
- package/lib/sections/profile-section/profile-section.component.d.ts +3 -10
- package/lib/sections/property-component/property-component.component.d.ts +1 -0
- package/lib/sections/property-detail/property-detail.component.d.ts +6 -1
- package/lib/sections/property-list/property-list.component.d.ts +2 -1
- package/lib/sections/verify-property-payment/verify-property-payment.component.d.ts +16 -0
- package/lib/services/rest.service.d.ts +10 -2
- package/lib/styles/index.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-2.2.32.tgz +0 -0
- package/simpo-component-library-2.2.21.tgz +0 -0
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): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
49
49
|
get isEmailValid(): boolean;
|
50
50
|
get isPasswordValid(): boolean;
|
51
51
|
get isMobile(): boolean;
|
package/lib/elements/index.d.ts
CHANGED
@@ -9,10 +9,9 @@ import * as i7 from "./simpo-button/simpo-button.component";
|
|
9
9
|
import * as i8 from "./socia-icons/socia-icons.component";
|
10
10
|
import * as i9 from "./card-skeleton-loader/card-skeleton-loader.component";
|
11
11
|
import * as i10 from "./svg-divider/svg-divider.component";
|
12
|
-
import * as i11 from "./
|
13
|
-
import * as i12 from "./payment-confirmation/payment-confirmation.component";
|
12
|
+
import * as i11 from "./payment-confirmation/payment-confirmation.component";
|
14
13
|
export declare class SimpoElementsModule {
|
15
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoElementsModule, never>;
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PaymentConfirmationComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent, typeof i11.PaymentConfirmationComponent]>;
|
17
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
|
18
17
|
}
|
@@ -1,20 +1,25 @@
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
2
2
|
import { RestService } from '../../services/rest.service';
|
3
|
+
import { EventsService } from '../../services/events.service';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export declare class PaymentConfirmationComponent {
|
5
6
|
dialogRef: MatDialogRef<PaymentConfirmationComponent>;
|
6
7
|
data: any;
|
7
8
|
private restService;
|
8
|
-
|
9
|
+
private _eventService;
|
10
|
+
constructor(dialogRef: MatDialogRef<PaymentConfirmationComponent>, data: any, restService: RestService, _eventService: EventsService);
|
9
11
|
propertyDetails: any;
|
10
12
|
sqFeetArea: number;
|
11
13
|
payload: any;
|
14
|
+
investorDetails: any;
|
15
|
+
tokenRequest: any;
|
12
16
|
ngOnInit(): void;
|
13
17
|
close(): void;
|
14
18
|
addOrRemoveProperty(): void;
|
15
19
|
addSqFeet(): void;
|
16
20
|
removeSqFeet(): void;
|
17
21
|
purchaseProperty(): void;
|
22
|
+
getInvestorDetails(): void;
|
18
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentConfirmationComponent, never>;
|
19
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<PaymentConfirmationComponent, "simpo-payment-confirmation", never, {}, {}, never, never, true, never>;
|
20
25
|
}
|
@@ -1,17 +1,15 @@
|
|
1
|
+
import { RestService } from './../../services/rest.service';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class PortfolioComponent {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
text: string;
|
13
|
-
count: string;
|
14
|
-
}[];
|
4
|
+
private restService;
|
5
|
+
constructor(restService: RestService);
|
6
|
+
growthAmount: number;
|
7
|
+
growthPercentage: number;
|
8
|
+
portFolioData: any;
|
9
|
+
ngOnInit(): void;
|
10
|
+
getPortfolioDetails(): void;
|
11
|
+
propertyDetails: any;
|
12
|
+
getPropertyDetails(): void;
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PortfolioComponent, never>;
|
16
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<PortfolioComponent, "simpo-portfolio", never, {}, {}, never, never, true, never>;
|
17
15
|
}
|
@@ -1,11 +1,14 @@
|
|
1
|
+
import { RestService } from './../../services/rest.service';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class PropertiesComponent {
|
3
|
-
|
4
|
+
private restService;
|
5
|
+
constructor(restService: RestService);
|
4
6
|
ngOnInit(): void;
|
5
|
-
investments: any;
|
6
|
-
activeTab: any;
|
7
|
-
tabs: any;
|
8
7
|
propertyDetails: any;
|
8
|
+
selectedId: any;
|
9
|
+
getPropertyDetails(): void;
|
10
|
+
screenWidth: any;
|
11
|
+
getScreenSize(): void;
|
9
12
|
viewTab: boolean;
|
10
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
|
11
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "simpo-properties", never, {}, {}, never, never, true, never>;
|
@@ -1,8 +1,15 @@
|
|
1
|
+
import { RestService } from './../../services/rest.service';
|
1
2
|
import * as i0 from "@angular/core";
|
2
3
|
export declare class PropertyViewComponent {
|
3
|
-
|
4
|
+
private restService;
|
5
|
+
id: any;
|
6
|
+
constructor(restService: RestService);
|
4
7
|
ngOnInit(): void;
|
5
8
|
propertyDetails: any;
|
9
|
+
srcHeight: any;
|
10
|
+
srcWidth: any;
|
11
|
+
getScreenSize(event?: any): void;
|
12
|
+
getPropertyDetails(id: any): void;
|
6
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewComponent, never>;
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyViewComponent, "simpo-property-view", never, { "
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyViewComponent, "simpo-property-view", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
8
15
|
}
|
@@ -1,23 +1,16 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
1
|
import { ProfileSectionModel } from './profile-section.modal';
|
3
2
|
import { RestService } from '../../services/rest.service';
|
4
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
5
3
|
import * as i0 from "@angular/core";
|
6
4
|
export declare class ProfileSectionComponent {
|
7
5
|
private restService;
|
8
|
-
private activatedRoute;
|
9
|
-
private router;
|
10
6
|
data?: ProfileSectionModel;
|
11
|
-
|
12
|
-
tabChanged: EventEmitter<void>;
|
13
|
-
constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router);
|
7
|
+
constructor(restService: RestService);
|
14
8
|
ngOnInit(): void;
|
9
|
+
selectedPanel: string;
|
15
10
|
sidePanelTabs: any[];
|
16
11
|
investorDetails: any;
|
17
12
|
getInvestorDetails(): void;
|
18
13
|
getInitials(): string;
|
19
|
-
get isMobile(): boolean;
|
20
|
-
changeTab(tab: any): void;
|
21
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfileSectionComponent, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSectionComponent, "simpo-profile-section", never, { "data": { "alias": "data"; "required": false; };
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSectionComponent, "simpo-profile-section", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
23
16
|
}
|
@@ -19,6 +19,7 @@ export declare class PropertyComponentComponent extends BaseSection {
|
|
19
19
|
content?: PropertyContentModel;
|
20
20
|
styles?: PropertyStylesModel;
|
21
21
|
propertyListEventSubscription?: Subscription;
|
22
|
+
skelLoader: boolean;
|
22
23
|
ngOnInit(): void;
|
23
24
|
ngOnDestroy(): void;
|
24
25
|
getPropertyList(): void;
|
@@ -3,18 +3,22 @@ import { RestService } from '../../services/rest.service';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
4
4
|
import { MatDialog } from '@angular/material/dialog';
|
5
5
|
import { Subscription } from 'rxjs';
|
6
|
+
import { MessageService } from 'primeng/api';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export declare class PropertyDetailComponent {
|
8
9
|
private restService;
|
9
10
|
private activatedRoute;
|
10
11
|
private router;
|
11
12
|
private readonly matDialog;
|
13
|
+
private readonly messageService;
|
12
14
|
data?: PropertyDetailModel;
|
13
|
-
constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router, matDialog: MatDialog);
|
15
|
+
constructor(restService: RestService, activatedRoute: ActivatedRoute, router: Router, matDialog: MatDialog, messageService: MessageService);
|
14
16
|
propertyId: string;
|
15
17
|
propertyDetails: any;
|
16
18
|
kycDetailsSubscription?: Subscription;
|
17
19
|
ngOnInit(): void;
|
20
|
+
skelLoader: boolean;
|
21
|
+
skelArray: any[];
|
18
22
|
ngOnDestroy(): void;
|
19
23
|
getPropertyDetails(): void;
|
20
24
|
index: number;
|
@@ -26,6 +30,7 @@ export declare class PropertyDetailComponent {
|
|
26
30
|
sqft: number;
|
27
31
|
noOfSqft: number;
|
28
32
|
purchaseProperty(): void;
|
33
|
+
checkMinInvestment(): boolean;
|
29
34
|
getKycDetails(): void;
|
30
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDetailComponent, never>;
|
31
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyDetailComponent, "simpo-property-detail", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -18,8 +18,9 @@ export declare class PropertyListComponent extends BaseSection implements OnInit
|
|
18
18
|
styles?: PropertyListStylesModal;
|
19
19
|
content?: PropertyListContentModal;
|
20
20
|
ngOnInit(): void;
|
21
|
+
skelLoader: boolean;
|
21
22
|
getPropertyList(): void;
|
22
|
-
propertyList: any
|
23
|
+
propertyList: any;
|
23
24
|
get stylesLayout(): LayOutModel;
|
24
25
|
get headingSpace(): SPACING;
|
25
26
|
redirectToPropertyDetails(propertyId: string): void;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { RestService } from '../../services/rest.service';
|
2
|
+
import { Router } from '@angular/router';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class VerifyPropertyPaymentComponent {
|
5
|
+
private restService;
|
6
|
+
private router;
|
7
|
+
paymentStatus: 'ONGOING' | 'SUCCESS' | 'FAILED';
|
8
|
+
private API_COUNT;
|
9
|
+
private MAX_API_COUNT;
|
10
|
+
constructor(restService: RestService, router: Router);
|
11
|
+
ngOnInit(): void;
|
12
|
+
checkPaymentStatus(): void;
|
13
|
+
redirectToPage(pageUrl: string): void;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyPropertyPaymentComponent, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyPropertyPaymentComponent, "simpo-verify-property-payment", never, {}, {}, never, never, true, never>;
|
16
|
+
}
|
@@ -11,9 +11,12 @@ export declare class RestService implements OnDestroy {
|
|
11
11
|
private readonly eventService;
|
12
12
|
private BASE_URL;
|
13
13
|
private ECOMMERCE_URL;
|
14
|
+
private PAYMENT_URL;
|
14
15
|
private CMIS_URL;
|
15
16
|
private environmentTypeSubscriber;
|
16
17
|
kycDetails: any;
|
18
|
+
investorDetail: any;
|
19
|
+
portfolioDetails: any;
|
17
20
|
constructor(http: HttpClient, eventService: EventsService);
|
18
21
|
ngOnDestroy(): void;
|
19
22
|
getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
|
@@ -91,9 +94,14 @@ export declare class RestService implements OnDestroy {
|
|
91
94
|
verifyPan(request: any): Observable<Object>;
|
92
95
|
sendAadharOtp(request: any): Observable<Object>;
|
93
96
|
verifyAadharOtp(request: any): Observable<Object>;
|
94
|
-
getInvesterById(): Observable<
|
95
|
-
|
97
|
+
getInvesterById(): Observable<any>;
|
98
|
+
createPropertyPaymentToken(payload: any): Observable<Object>;
|
99
|
+
verifyPropertyPaymentStatus(): Observable<Object>;
|
96
100
|
getKycDetails(): Observable<any>;
|
101
|
+
getPortfolioDetails(): Observable<any>;
|
102
|
+
propertyDetails: any;
|
103
|
+
getMyPropertyDetails(): Observable<any>;
|
104
|
+
getPropertyById(propertyId: any): Observable<Object>;
|
97
105
|
getFieldsToDisplay(fieldsList: any[]): any;
|
98
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
99
107
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/lib/styles/index.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -39,6 +39,7 @@ export * from './lib/sections/property-list/property-list.component';
|
|
39
39
|
export * from './lib/sections/property-detail/property-detail.component';
|
40
40
|
export * from './lib/sections/signup-signin/signup-signin.component';
|
41
41
|
export * from './lib/sections/profile-section/profile-section.component';
|
42
|
+
export * from './lib/sections/verify-property-payment/verify-property-payment.component';
|
42
43
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
43
44
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
44
45
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
Binary file
|
Binary file
|