@maplander/components 0.19.14 → 0.20.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/_theming.scss +4 -0
- package/bundles/maplander-components.umd.js +171 -39
- package/bundles/maplander-components.umd.js.map +1 -1
- package/bundles/maplander-components.umd.min.js +2 -2
- package/bundles/maplander-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/filters/filters.component.js +8 -5
- package/esm2015/lib/components/filters/filters.module.js +3 -1
- package/esm2015/lib/components/property/components/details/details.component.js +3 -3
- package/esm2015/lib/components/property/components/editor/editor.component.js +13 -3
- package/esm2015/lib/components/property/components/multimedia-uploader/multimedia-uploader.component.js +7 -1
- package/esm2015/lib/components/property/components/property/property.component.js +12 -4
- package/esm2015/lib/components/property/validators/currency-filter-validator.js +36 -0
- package/esm2015/lib/components/property-card/property-card.component.js +70 -3
- package/esm5/lib/components/filters/filters.component.js +8 -5
- package/esm5/lib/components/filters/filters.module.js +3 -1
- package/esm5/lib/components/property/components/details/details.component.js +3 -3
- package/esm5/lib/components/property/components/editor/editor.component.js +13 -3
- package/esm5/lib/components/property/components/multimedia-uploader/multimedia-uploader.component.js +7 -1
- package/esm5/lib/components/property/components/property/property.component.js +12 -4
- package/esm5/lib/components/property/validators/currency-filter-validator.js +36 -0
- package/esm5/lib/components/property-card/property-card.component.js +84 -3
- package/fesm2015/maplander-components.js +158 -40
- package/fesm2015/maplander-components.js.map +1 -1
- package/fesm5/maplander-components.js +172 -40
- package/fesm5/maplander-components.js.map +1 -1
- package/lib/components/property/components/editor/editor.component.d.ts +1 -0
- package/lib/components/property/components/property/property.component.d.ts +3 -1
- package/lib/components/property/validators/currency-filter-validator.d.ts +2 -0
- package/lib/components/property-card/property-card.component.d.ts +7 -2
- package/maplander-components.metadata.json +1 -1
- package/package.json +12 -12
|
@@ -23,6 +23,7 @@ export declare class EditorComponent implements OnInit, OnChanges, AfterViewInit
|
|
|
23
23
|
private readonly REGEX_ONLY_INTEGERS;
|
|
24
24
|
private readonly REGEX_MIDDLE_NUMBER;
|
|
25
25
|
private readonly REGEX_WEBSITE;
|
|
26
|
+
private readonly REGEX_ALPHA_NUMBER;
|
|
26
27
|
private readonly _subscription;
|
|
27
28
|
private readonly _validators;
|
|
28
29
|
private _property;
|
|
@@ -28,7 +28,8 @@ export declare enum PropertyEventType {
|
|
|
28
28
|
POSTER = "POSTER",
|
|
29
29
|
CLIENTS = "CLIENTS",
|
|
30
30
|
BACK = "BACK",
|
|
31
|
-
SHOW_AGENTS = "SHOW_AGENTS"
|
|
31
|
+
SHOW_AGENTS = "SHOW_AGENTS",
|
|
32
|
+
TARPS = "TARPS"
|
|
32
33
|
}
|
|
33
34
|
export interface PropertyEventChange {
|
|
34
35
|
type: PropertyEventType;
|
|
@@ -60,6 +61,7 @@ export declare class PropertyComponent implements OnInit, OnChanges {
|
|
|
60
61
|
currency: string;
|
|
61
62
|
price: number;
|
|
62
63
|
};
|
|
64
|
+
userUrl: string;
|
|
63
65
|
change: EventEmitter<PropertyEventChange>;
|
|
64
66
|
modeChange: EventEmitter<'detail' | 'record' | 'add'>;
|
|
65
67
|
multimedia: PFile[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges, OnInit } from '@angular/core';
|
|
2
2
|
import { Marker } from '../../utils/models/marker';
|
|
3
3
|
import { PropertyCardInfo } from '../../utils/models/property-card-info';
|
|
4
|
-
export declare class PropertyCardComponent implements OnChanges {
|
|
4
|
+
export declare class PropertyCardComponent implements OnChanges, OnInit {
|
|
5
5
|
isOPI: boolean;
|
|
6
6
|
marker: Marker;
|
|
7
7
|
href: string;
|
|
@@ -12,6 +12,7 @@ export declare class PropertyCardComponent implements OnChanges {
|
|
|
12
12
|
state: {
|
|
13
13
|
[k: string]: any;
|
|
14
14
|
};
|
|
15
|
+
positionLatLng: any;
|
|
15
16
|
isFavorite: boolean;
|
|
16
17
|
currency: string;
|
|
17
18
|
showDiscard: boolean;
|
|
@@ -20,10 +21,14 @@ export declare class PropertyCardComponent implements OnChanges {
|
|
|
20
21
|
favoriteChanged: EventEmitter<string>;
|
|
21
22
|
propertyDiscarded: EventEmitter<string>;
|
|
22
23
|
info: PropertyCardInfo;
|
|
24
|
+
distance: any;
|
|
23
25
|
constructor(isOPI: boolean);
|
|
26
|
+
ngOnInit(): void;
|
|
24
27
|
ngOnChanges(changes: SimpleChanges): void;
|
|
25
28
|
onFrontImageOver(): void;
|
|
26
29
|
onFrontImageLeave(): void;
|
|
27
30
|
favorite(): void;
|
|
28
31
|
discard(): void;
|
|
32
|
+
private deg2rad;
|
|
33
|
+
private latLng;
|
|
29
34
|
}
|