simpo-component-library 2.1.96 → 2.1.98
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/sections/navbar-section/navbar-section.component.mjs +9 -3
- package/esm2022/lib/sections/property-component/property-component.component.mjs +78 -7
- package/esm2022/lib/sections/property-component/property-component.modal.mjs +1 -1
- package/esm2022/lib/sections/property-detail/property-detail.component.mjs +94 -0
- package/esm2022/lib/sections/property-detail/property-detail.model.mjs +2 -0
- package/esm2022/lib/sections/property-list/property-list.component.mjs +102 -48
- package/esm2022/lib/sections/signup-signin/signup-signin.component.mjs +161 -0
- package/esm2022/lib/sections/signup-signin/signup-signin.model.mjs +2 -0
- package/esm2022/lib/services/events.service.mjs +2 -1
- package/esm2022/lib/services/rest.service.mjs +25 -3
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +417 -96
- 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/elements/index.d.ts +2 -3
- 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/property-component/property-component.component.d.ts +24 -4
- package/lib/sections/property-component/property-component.modal.d.ts +11 -18
- package/lib/sections/property-detail/property-detail.component.d.ts +24 -0
- package/lib/sections/property-detail/property-detail.model.d.ts +5 -0
- package/lib/sections/property-list/property-list.component.d.ts +7 -1
- package/lib/sections/signup-signin/signup-signin.component.d.ts +39 -0
- package/lib/sections/signup-signin/signup-signin.model.d.ts +10 -0
- package/lib/services/events.service.d.ts +1 -0
- package/lib/services/rest.service.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-2.1.98.tgz +0 -0
- package/esm2022/lib/elements/property/property.component.mjs +0 -41
- package/lib/elements/property/property.component.d.ts +0 -8
- package/simpo-component-library-2.1.96.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
|
}
|
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 "./portfolio/portfolio.component";
|
12
|
+
import * as i11 from "./portfolio/portfolio.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.PortfolioComponent], [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.PortfolioComponent]>;
|
17
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
|
18
17
|
}
|
@@ -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(): "#000000" | "#ffffff";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
@@ -1,10 +1,30 @@
|
|
1
|
-
import { PropertyContentModel, PropertySectionModel } from './property-component.modal';
|
1
|
+
import { PropertyContentModel, PropertySectionModel, PropertyStylesModel } from './property-component.modal';
|
2
|
+
import BaseSection from '../BaseSection';
|
3
|
+
import { BackgroundModel, LayOutModel } from '../../styles/style.model';
|
4
|
+
import { RestService } from '../../services/rest.service';
|
5
|
+
import { Router } from '@angular/router';
|
6
|
+
import { EventsService } from '../../services/events.service';
|
7
|
+
import { Subscription } from 'rxjs';
|
2
8
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class PropertyComponentComponent {
|
9
|
+
export declare class PropertyComponentComponent extends BaseSection {
|
10
|
+
private restService;
|
11
|
+
private router;
|
12
|
+
private eventsService;
|
13
|
+
constructor(restService: RestService, router: Router, eventsService: EventsService);
|
4
14
|
data?: PropertySectionModel;
|
5
|
-
content?: PropertyContentModel;
|
6
15
|
index?: number;
|
16
|
+
edit?: boolean;
|
17
|
+
delete?: boolean;
|
18
|
+
nextComponentColor?: BackgroundModel;
|
19
|
+
content?: PropertyContentModel;
|
20
|
+
styles?: PropertyStylesModel;
|
21
|
+
propertyListEventSubscription?: Subscription;
|
7
22
|
ngOnInit(): void;
|
23
|
+
ngOnDestroy(): void;
|
24
|
+
getPropertyList(): void;
|
25
|
+
propertyList: any[];
|
26
|
+
get stylesLayout(): LayOutModel;
|
27
|
+
redirectToPropertyDetails(propertyId: string): void;
|
8
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponentComponent, never>;
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponentComponent, "simpo-property-component", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponentComponent, "simpo-property-component", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
10
30
|
}
|
@@ -1,28 +1,21 @@
|
|
1
|
-
import {
|
1
|
+
import { Corners } from './../../styles/index';
|
2
|
+
import { AnimationModel, BackgroundModel, BorderModel, DeviderModel, InputTextModel, LayOutModel } from './../../styles/style.model';
|
2
3
|
export interface PropertySectionModel {
|
3
4
|
id: string;
|
4
5
|
sectionType: string;
|
5
6
|
sectionName: string;
|
6
7
|
content: PropertyContentModel;
|
8
|
+
styles: PropertyStylesModel;
|
7
9
|
}
|
8
10
|
export interface PropertyContentModel {
|
9
11
|
inputText: InputTextModel[];
|
10
|
-
|
12
|
+
propertyIds: number[];
|
11
13
|
}
|
12
|
-
export interface
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
}
|
20
|
-
export interface Property {
|
21
|
-
heading: string;
|
22
|
-
location: Location;
|
23
|
-
latitude: string;
|
24
|
-
longitude: string;
|
25
|
-
minInvestment: string;
|
26
|
-
features: Feature[];
|
27
|
-
backgroundImageUrl: string;
|
14
|
+
export interface PropertyStylesModel {
|
15
|
+
layout: LayOutModel;
|
16
|
+
background: BackgroundModel;
|
17
|
+
animation: AnimationModel;
|
18
|
+
border: BorderModel;
|
19
|
+
devider: DeviderModel;
|
20
|
+
corners: Corners;
|
28
21
|
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { PropertyDetailModel } from './property-detail.model';
|
2
|
+
import { RestService } from '../../services/rest.service';
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PropertyDetailComponent {
|
6
|
+
private restService;
|
7
|
+
private activatedRoute;
|
8
|
+
data?: PropertyDetailModel;
|
9
|
+
constructor(restService: RestService, activatedRoute: ActivatedRoute);
|
10
|
+
propertyId: string;
|
11
|
+
propertyDetails: any;
|
12
|
+
ngOnInit(): void;
|
13
|
+
getPropertyDetails(): void;
|
14
|
+
index: number;
|
15
|
+
propertyNumbers: any;
|
16
|
+
aboutText: string;
|
17
|
+
keyValue: any;
|
18
|
+
investmentCards: any;
|
19
|
+
pdfCards: any;
|
20
|
+
sqft: number;
|
21
|
+
noOfSqft: number;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDetailComponent, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyDetailComponent, "simpo-property-detail", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
24
|
+
}
|
@@ -3,20 +3,26 @@ import { PropertyListContentModal, PropertyListModal, PropertyListStylesModal }
|
|
3
3
|
import { LayOutModel } from '../../styles/style.model';
|
4
4
|
import BaseSection from '../BaseSection';
|
5
5
|
import { SPACING } from '../../styles/index';
|
6
|
+
import { RestService } from '../../services/rest.service';
|
7
|
+
import { Router } from '@angular/router';
|
6
8
|
import * as i0 from "@angular/core";
|
7
9
|
export declare class PropertyListComponent extends BaseSection implements OnInit {
|
10
|
+
private restService;
|
11
|
+
private router;
|
8
12
|
data?: PropertyListModal;
|
9
13
|
index?: number;
|
10
14
|
edit?: boolean;
|
11
15
|
delete?: boolean;
|
12
16
|
customClass?: string;
|
13
|
-
constructor();
|
17
|
+
constructor(restService: RestService, router: Router);
|
14
18
|
styles?: PropertyListStylesModal;
|
15
19
|
content?: PropertyListContentModal;
|
16
20
|
ngOnInit(): void;
|
21
|
+
getPropertyList(): void;
|
17
22
|
propertyList: any[];
|
18
23
|
get stylesLayout(): LayOutModel;
|
19
24
|
get headingSpace(): SPACING;
|
25
|
+
redirectToPropertyDetails(propertyId: string): void;
|
20
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyListComponent, never>;
|
21
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyListComponent, "simpo-property-list", 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; }; }, {}, never, never, true, never>;
|
22
28
|
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { SignUpSignInModel } from './signup-signin.model';
|
2
|
+
import BaseSection from '../BaseSection';
|
3
|
+
import { EventsService } from './../../services/events.service';
|
4
|
+
import { RestService } from '../../services/rest.service';
|
5
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
6
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class SignupSigninComponent extends BaseSection {
|
9
|
+
private _eventService;
|
10
|
+
private restService;
|
11
|
+
private router;
|
12
|
+
private snackBar;
|
13
|
+
private activatedRoute;
|
14
|
+
data?: SignUpSignInModel;
|
15
|
+
index?: number;
|
16
|
+
edit?: boolean;
|
17
|
+
delete?: boolean;
|
18
|
+
constructor(_eventService: EventsService, restService: RestService, router: Router, snackBar: MatSnackBar, activatedRoute: ActivatedRoute);
|
19
|
+
ngOnInit(): void;
|
20
|
+
currentPage: 'LOGIN' | 'SIGN_UP' | 'OTP' | 'FORGOT_PASSWORD' | 'OTP_VERIFY';
|
21
|
+
backgroundImage: any;
|
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;
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignupSigninComponent, never>;
|
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>;
|
39
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { CardStyles, StylesModel } from "./../../styles/style.model";
|
2
|
+
export interface SignUpSignInModel {
|
3
|
+
id: string;
|
4
|
+
sectionType: string;
|
5
|
+
sectionName: string;
|
6
|
+
content: {};
|
7
|
+
styles: SignInSignUpStylesModel;
|
8
|
+
}
|
9
|
+
export interface SignInSignUpStylesModel extends StylesModel, CardStyles {
|
10
|
+
}
|
@@ -43,6 +43,7 @@ export declare class EventsService implements OnInit {
|
|
43
43
|
environmentType: EventEmitter<string>;
|
44
44
|
categoryProductList: EventEmitter<string>;
|
45
45
|
collectionsListEvent: EventEmitter<string[]>;
|
46
|
+
propertyListEvent: EventEmitter<string>;
|
46
47
|
categoryListEvent: EventEmitter<string>;
|
47
48
|
showLoadingScreen: EventEmitter<boolean>;
|
48
49
|
cashFreeEvent: EventEmitter<unknown>;
|
@@ -79,6 +79,13 @@ export declare class RestService implements OnDestroy {
|
|
79
79
|
getAllDocument(payload: any): Observable<Object>;
|
80
80
|
getLeadById(leadId: any): Observable<Object>;
|
81
81
|
getRegistrationList(payload: any): Observable<Object>;
|
82
|
+
getFeaturedProperty(propertyIds: number[]): Observable<Object>;
|
83
|
+
getPropertyList(): Observable<Object>;
|
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>;
|
82
89
|
getFieldsToDisplay(fieldsList: any[]): any;
|
83
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
84
91
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -36,6 +36,8 @@ export * from './lib/sections/registration-form/registration-form.component';
|
|
36
36
|
export * from './lib/sections/property-component/property-component.component';
|
37
37
|
export * from './lib/sections/usp-video-section/usp-video-section.component';
|
38
38
|
export * from './lib/sections/property-list/property-list.component';
|
39
|
+
export * from './lib/sections/property-detail/property-detail.component';
|
40
|
+
export * from './lib/sections/signup-signin/signup-signin.component';
|
39
41
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
40
42
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
41
43
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
Binary file
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { CommonModule, NgFor, NgStyle } from '@angular/common';
|
2
|
-
import { Component, Input } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class PropertyComponent {
|
5
|
-
constructor() {
|
6
|
-
this.obj = {
|
7
|
-
heading: "Anata One",
|
8
|
-
location: {
|
9
|
-
city: "Hyderabad",
|
10
|
-
state: "Telangana"
|
11
|
-
},
|
12
|
-
latitude: "",
|
13
|
-
longitude: "",
|
14
|
-
minInvestment: "5 Lac",
|
15
|
-
features: [
|
16
|
-
{
|
17
|
-
key: "Annual Returns",
|
18
|
-
value: "10%"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
key: "IRR",
|
22
|
-
value: "18%"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
key: "Guaranteed capital growth",
|
26
|
-
value: "5%"
|
27
|
-
}
|
28
|
-
],
|
29
|
-
backgroundImageUrl: "https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/607923c1737627077005image%20%284%29.png"
|
30
|
-
};
|
31
|
-
}
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PropertyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: PropertyComponent, isStandalone: true, selector: "simpo-property", inputs: { element: "element" }, ngImport: i0, template: "<div class=\"main-container w-100\" [ngStyle]=\"{ 'background-image': 'url(' + obj.backgroundImageUrl + ')' }\">\r\n <div class=\"data p-3 w-100\">\r\n <div class=\"top-data d-flex justify-content-between\">\r\n <div class=\"top-left d-flex g-10\">\r\n <img src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/697059c1737627380633Rectangle%2034625906.png\"\r\n alt=\"logo-text\">\r\n <div class=\"top-left-text text-left d-flex flex-column justify-content-center\">\r\n <div class=\"text-heading clr-white\">{{obj.heading}}</div>\r\n <div class=\"d-flex sub-text\"><img\r\n src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/384275c1737629729545location_on.png\">{{obj.location.city\r\n + \", \" + obj.location.state}}</div>\r\n </div>\r\n </div>\r\n <div class=\"top-right text-right\">\r\n <div class=\"xl-text mb-10\">{{obj.minInvestment}}</div>\r\n <div class=\"nrml-text\">Min.Investment</div>\r\n </div>\r\n </div>\r\n <div class=\"bottom-data d-flex justify-content-between align-items-center\">\r\n <div class=\"key-value d-flex flex-column\" *ngFor=\"let ele of obj.features\">\r\n <div class=\"text-heading clr-grey\">{{ele.value}}</div>\r\n <div class=\"text-heading clr-grey\">{{ele.key}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [".main-container{background-repeat:no-repeat;background-size:cover;height:40vh;position:relative}.data{position:absolute;bottom:0}.g-10{gap:10px}.mb-10{margin-bottom:10px}.text-heading{font-weight:700;font-size:18px}.clr-white{color:#fff}.clr-grey{color:#000000b3}.sub-text{font-weight:600;font-size:17px;color:#ffffffb3}.xl-text{font-size:28px;line-height:17px;font-weight:700;color:#f09819}.nrml-text{font-size:16px;font-weight:500;color:#fff6}.bottom-data{background:#fff;padding:10px;border-radius:8px;margin-top:10px}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: CommonModule }] }); }
|
34
|
-
}
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PropertyComponent, decorators: [{
|
36
|
-
type: Component,
|
37
|
-
args: [{ selector: 'simpo-property', standalone: true, imports: [NgStyle, NgFor, CommonModule], template: "<div class=\"main-container w-100\" [ngStyle]=\"{ 'background-image': 'url(' + obj.backgroundImageUrl + ')' }\">\r\n <div class=\"data p-3 w-100\">\r\n <div class=\"top-data d-flex justify-content-between\">\r\n <div class=\"top-left d-flex g-10\">\r\n <img src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/697059c1737627380633Rectangle%2034625906.png\"\r\n alt=\"logo-text\">\r\n <div class=\"top-left-text text-left d-flex flex-column justify-content-center\">\r\n <div class=\"text-heading clr-white\">{{obj.heading}}</div>\r\n <div class=\"d-flex sub-text\"><img\r\n src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/384275c1737629729545location_on.png\">{{obj.location.city\r\n + \", \" + obj.location.state}}</div>\r\n </div>\r\n </div>\r\n <div class=\"top-right text-right\">\r\n <div class=\"xl-text mb-10\">{{obj.minInvestment}}</div>\r\n <div class=\"nrml-text\">Min.Investment</div>\r\n </div>\r\n </div>\r\n <div class=\"bottom-data d-flex justify-content-between align-items-center\">\r\n <div class=\"key-value d-flex flex-column\" *ngFor=\"let ele of obj.features\">\r\n <div class=\"text-heading clr-grey\">{{ele.value}}</div>\r\n <div class=\"text-heading clr-grey\">{{ele.key}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [".main-container{background-repeat:no-repeat;background-size:cover;height:40vh;position:relative}.data{position:absolute;bottom:0}.g-10{gap:10px}.mb-10{margin-bottom:10px}.text-heading{font-weight:700;font-size:18px}.clr-white{color:#fff}.clr-grey{color:#000000b3}.sub-text{font-weight:600;font-size:17px;color:#ffffffb3}.xl-text{font-size:28px;line-height:17px;font-weight:700;color:#f09819}.nrml-text{font-size:16px;font-weight:500;color:#fff6}.bottom-data{background:#fff;padding:10px;border-radius:8px;margin-top:10px}\n"] }]
|
38
|
-
}], propDecorators: { element: [{
|
39
|
-
type: Input
|
40
|
-
}] } });
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydHkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lbGVtZW50cy9wcm9wZXJ0eS9wcm9wZXJ0eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2VsZW1lbnRzL3Byb3BlcnR5L3Byb3BlcnR5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVdqRCxNQUFNLE9BQU8saUJBQWlCO0lBUDlCO1FBYUUsUUFBRyxHQUFTO1lBQ1YsT0FBTyxFQUFHLFdBQVc7WUFDckIsUUFBUSxFQUFHO2dCQUNULElBQUksRUFBRyxXQUFXO2dCQUNsQixLQUFLLEVBQUcsV0FBVzthQUNwQjtZQUNELFFBQVEsRUFBRyxFQUFFO1lBQ2IsU0FBUyxFQUFFLEVBQUU7WUFDYixhQUFhLEVBQUcsT0FBTztZQUN2QixRQUFRLEVBQUc7Z0JBQ1Q7b0JBQ0UsR0FBRyxFQUFHLGdCQUFnQjtvQkFDdEIsS0FBSyxFQUFHLEtBQUs7aUJBQ2Q7Z0JBQ0Q7b0JBQ0UsR0FBRyxFQUFHLEtBQUs7b0JBQ1gsS0FBSyxFQU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F0ZX19PC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0b3AtcmlnaHQgdGV4dC1yaWdodFwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInhsLXRleHQgbWItMTBcIj57e29iai5taW5JbnZlc3RtZW50fX08L2Rpdj5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJucm1sLXRleHRcIj5NaW4uSW52ZXN0bWVudDwvZGl2PlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8ZGl2IGNsYXNzPVwiYm90dG9tLWRhdGEgZC1mbGV4IGp1c3RpZnktY29udGVudC1iZXR3ZWVuIGFsaWduLWl0ZW1zLWNlbnRlclwiPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwia2V5LXZhbHVlIGQtZmxleCBmbGV4LWNvbHVtblwiICpuZ0Zvcj1cImxldCBlbGUgb2Ygb2JqLmZlYXR1cmVzXCI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidGV4dC1oZWFkaW5nIGNsci1ncmV5XCI+e3tlbGUudmFsdWV9fTwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHQtaGVhZGluZyBjbHItZ3JleVwiPnt7ZWxlLmtleX19PC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Property } from '@simpo-ui/sections/property-component/property-component.modal';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class PropertyComponent {
|
4
|
-
element?: Property;
|
5
|
-
obj: any;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponent, never>;
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponent, "simpo-property", never, { "element": { "alias": "element"; "required": false; }; }, {}, never, never, true, never>;
|
8
|
-
}
|
Binary file
|