barsa-develop-components 1.0.303 → 1.0.304
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/esm2020/lib/barsa-develop-components.module.mjs +1 -1
- package/esm2020/lib/barsa-geographic-location/barsa-geographic-location.component.mjs +38 -35
- package/esm2020/lib/geographic-location/geographic-location.component.mjs +17 -14
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/barsa-develop-components.mjs +53 -47
- package/fesm2015/barsa-develop-components.mjs.map +1 -1
- package/fesm2020/barsa-develop-components.mjs +53 -47
- package/fesm2020/barsa-develop-components.mjs.map +1 -1
- package/lib/barsa-geographic-location/barsa-geographic-location.component.d.ts +13 -11
- package/lib/geographic-location/geographic-location.component.d.ts +12 -4
- package/package.json +1 -1
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
2
|
import { BaseComponent } from 'barsa-novin-ray-core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BarsaGeographicLocationComponent extends BaseComponent implements AfterViewInit
|
|
4
|
+
export declare class BarsaGeographicLocationComponent extends BaseComponent implements AfterViewInit {
|
|
5
5
|
private _el;
|
|
6
6
|
disableOrReadonly: boolean;
|
|
7
|
-
currentLocation: number[];
|
|
8
7
|
setAutomaticLocation: boolean;
|
|
9
8
|
showLocationButton: boolean;
|
|
10
9
|
showFullscreenButton: boolean;
|
|
11
10
|
showExitFullscreenButton: boolean;
|
|
12
11
|
draggable: boolean;
|
|
13
12
|
defaultLocation: number[];
|
|
13
|
+
latitude: number;
|
|
14
|
+
longitude: number;
|
|
14
15
|
move: EventEmitter<any>;
|
|
15
16
|
moveEnd: EventEmitter<any>;
|
|
16
17
|
fullscreen: EventEmitter<any>;
|
|
17
18
|
exitFullscreen: EventEmitter<any>;
|
|
18
19
|
error: EventEmitter<any>;
|
|
20
|
+
markerChange: EventEmitter<{
|
|
21
|
+
latitude: any;
|
|
22
|
+
longitude: any;
|
|
23
|
+
}>;
|
|
19
24
|
private _map;
|
|
20
25
|
private _navigatorOptions;
|
|
21
26
|
private _marker;
|
|
22
27
|
constructor(_el: ElementRef);
|
|
23
28
|
ngAfterViewInit(): void;
|
|
24
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
25
29
|
onCurrentLocation(): void;
|
|
26
30
|
onFullscreen(): void;
|
|
27
31
|
onExitFullscreen(): void;
|
|
28
32
|
protected _addMarkers(disableOrReadonly: boolean, pos: number[]): void;
|
|
29
|
-
protected _setGeoLocation(position: {
|
|
30
|
-
coords: {
|
|
31
|
-
latitude: any;
|
|
32
|
-
longitude: any;
|
|
33
|
-
};
|
|
34
|
-
}, disableOrReadonly?: boolean, setView?: boolean): void;
|
|
35
33
|
protected _initilaize(): void;
|
|
36
34
|
protected _onErrorNavigatorLocation(err: any): void;
|
|
35
|
+
protected _setGeoLocation(position: {
|
|
36
|
+
latitude: any;
|
|
37
|
+
longitude: any;
|
|
38
|
+
}, disableOrReadonly?: boolean, setView?: boolean, fireEvent?: boolean): void;
|
|
37
39
|
protected _getNavigatorCurrentPosition(): void;
|
|
38
40
|
protected _createMarker(id: any, mo: any, lat: any, lng: any, text: any, icon: any, draggable: any): any;
|
|
39
41
|
protected _onMove(e: any): void;
|
|
40
42
|
protected _onMoveEnd(e: any): void;
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaGeographicLocationComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaGeographicLocationComponent, "bdc-barsa-geographic-location", never, { "disableOrReadonly": "disableOrReadonly"; "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarsaGeographicLocationComponent, "bdc-barsa-geographic-location", never, { "disableOrReadonly": "disableOrReadonly"; "setAutomaticLocation": "setAutomaticLocation"; "showLocationButton": "showLocationButton"; "showFullscreenButton": "showFullscreenButton"; "showExitFullscreenButton": "showExitFullscreenButton"; "draggable": "draggable"; "defaultLocation": "defaultLocation"; "latitude": "latitude"; "longitude": "longitude"; }, { "move": "move"; "moveEnd": "moveEnd"; "fullscreen": "fullscreen"; "exitFullscreen": "exitFullscreen"; "error": "error"; "markerChange": "markerChange"; }, never, never, false>;
|
|
43
45
|
}
|
|
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class GeographicLocationComponent extends UiMoInfoSubFormUiComponent implements OnInit {
|
|
5
5
|
dialogTemplate: TemplateRef<any>;
|
|
6
6
|
fullscreen: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
longitude: number;
|
|
7
|
+
latValue: any;
|
|
8
|
+
lngValue: any;
|
|
10
9
|
customFormPanelUi: any;
|
|
10
|
+
private _movePos;
|
|
11
11
|
get latitudeUi(): any;
|
|
12
12
|
get longitudeUi(): any;
|
|
13
13
|
openDialog(dialog: TemplateRef<any>): void;
|
|
@@ -18,7 +18,15 @@ export declare class GeographicLocationComponent extends UiMoInfoSubFormUiCompon
|
|
|
18
18
|
onErrorNavigatorLocation(err: any): void;
|
|
19
19
|
onMove(e: any): void;
|
|
20
20
|
onMoveEnd(e: any): void;
|
|
21
|
-
|
|
21
|
+
onMarkerChange(e: {
|
|
22
|
+
latitude: any;
|
|
23
|
+
longitude: any;
|
|
24
|
+
}): void;
|
|
25
|
+
protected _handleMarkerChange(e: {
|
|
26
|
+
latitude: any;
|
|
27
|
+
longitude: any;
|
|
28
|
+
}): void;
|
|
29
|
+
protected _setDefaultLatAndLong(lat: number, lng: number): void;
|
|
22
30
|
protected _valueChanged(): void;
|
|
23
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<GeographicLocationComponent, never>;
|
|
24
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<GeographicLocationComponent, "bdc-geographic-location", never, {}, {}, never, never, false>;
|