barsa-develop-components 1.0.302 → 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
|
@@ -2947,6 +2947,7 @@ class BarsaGeographicLocationComponent extends BaseComponent {
|
|
|
2947
2947
|
this.fullscreen = new EventEmitter();
|
|
2948
2948
|
this.exitFullscreen = new EventEmitter();
|
|
2949
2949
|
this.error = new EventEmitter();
|
|
2950
|
+
this.markerChange = new EventEmitter();
|
|
2950
2951
|
this._navigatorOptions = {
|
|
2951
2952
|
enableHighAccuracy: true,
|
|
2952
2953
|
timeout: 5000,
|
|
@@ -2957,17 +2958,10 @@ class BarsaGeographicLocationComponent extends BaseComponent {
|
|
|
2957
2958
|
super.ngAfterViewInit();
|
|
2958
2959
|
this._initilaize();
|
|
2959
2960
|
}
|
|
2960
|
-
ngOnChanges(changes) {
|
|
2961
|
-
super.ngOnChanges(changes);
|
|
2962
|
-
const { disableOrReadonly, currentLocation } = changes;
|
|
2963
|
-
if (disableOrReadonly && !disableOrReadonly.firstChange) {
|
|
2964
|
-
this._addMarkers(disableOrReadonly.currentValue, this.currentLocation);
|
|
2965
|
-
}
|
|
2966
|
-
if (currentLocation && !currentLocation.firstChange) {
|
|
2967
|
-
this._addMarkers(this.disableOrReadonly, currentLocation.currentValue);
|
|
2968
|
-
}
|
|
2969
|
-
}
|
|
2970
2961
|
onCurrentLocation() {
|
|
2962
|
+
if (this.disableOrReadonly) {
|
|
2963
|
+
return;
|
|
2964
|
+
}
|
|
2971
2965
|
this._getNavigatorCurrentPosition();
|
|
2972
2966
|
}
|
|
2973
2967
|
onFullscreen() {
|
|
@@ -2977,14 +2971,33 @@ class BarsaGeographicLocationComponent extends BaseComponent {
|
|
|
2977
2971
|
this.exitFullscreen.emit();
|
|
2978
2972
|
}
|
|
2979
2973
|
_addMarkers(disableOrReadonly, pos) {
|
|
2980
|
-
this._setGeoLocation({
|
|
2974
|
+
this._setGeoLocation({ latitude: pos[0], longitude: pos[1] }, disableOrReadonly);
|
|
2975
|
+
}
|
|
2976
|
+
_initilaize() {
|
|
2977
|
+
this._map = L.map(this._el.nativeElement);
|
|
2978
|
+
const location = this.defaultLocation;
|
|
2979
|
+
if (this.latitude) {
|
|
2980
|
+
location[0] = Number(this.latitude);
|
|
2981
|
+
location[1] = Number(this.longitude);
|
|
2982
|
+
}
|
|
2983
|
+
this._setGeoLocation({
|
|
2984
|
+
latitude: location[0],
|
|
2985
|
+
longitude: location[1]
|
|
2986
|
+
}, this.disableOrReadonly, true, false);
|
|
2987
|
+
if (!this.disableOrReadonly && this.setAutomaticLocation && !this.latitude) {
|
|
2988
|
+
// درصورتی که از قبل مقدار نداشته باشد
|
|
2989
|
+
this._getNavigatorCurrentPosition();
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
_onErrorNavigatorLocation(err) {
|
|
2993
|
+
this.error.emit(err);
|
|
2981
2994
|
}
|
|
2982
|
-
_setGeoLocation(position, disableOrReadonly = false, setView = false) {
|
|
2995
|
+
_setGeoLocation(position, disableOrReadonly = false, setView = false, fireEvent = true) {
|
|
2983
2996
|
if (this._marker) {
|
|
2984
2997
|
this._map.removeLayer(this._marker);
|
|
2985
2998
|
this._marker = null;
|
|
2986
2999
|
}
|
|
2987
|
-
const {
|
|
3000
|
+
const { latitude, longitude } = position;
|
|
2988
3001
|
L.tileLayer('https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', {
|
|
2989
3002
|
attribution: '',
|
|
2990
3003
|
maxZoom: 18,
|
|
@@ -2999,27 +3012,13 @@ class BarsaGeographicLocationComponent extends BaseComponent {
|
|
|
2999
3012
|
const marker = this._createMarker('0', { mo: 'test' }, latitude, longitude, 'my location', '', !disableOrReadonly && this.draggable === true);
|
|
3000
3013
|
marker.addTo(this._map);
|
|
3001
3014
|
this._marker = marker;
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
this._map = L.map(this._el.nativeElement);
|
|
3005
|
-
const location = this.defaultLocation;
|
|
3006
|
-
if (this.currentLocation.length === 2) {
|
|
3007
|
-
location[0] = Number(this.currentLocation[0]);
|
|
3008
|
-
location[1] = Number(this.currentLocation[1]);
|
|
3009
|
-
}
|
|
3010
|
-
this._setGeoLocation({
|
|
3011
|
-
coords: { latitude: location[0], longitude: location[1] }
|
|
3012
|
-
}, this.disableOrReadonly, true);
|
|
3013
|
-
if (this.setAutomaticLocation && this.currentLocation.length === 0 && !this.disableOrReadonly) {
|
|
3014
|
-
this._getNavigatorCurrentPosition();
|
|
3015
|
+
if (!disableOrReadonly && fireEvent) {
|
|
3016
|
+
this.markerChange.emit({ latitude, longitude });
|
|
3015
3017
|
}
|
|
3016
3018
|
}
|
|
3017
|
-
_onErrorNavigatorLocation(err) {
|
|
3018
|
-
this.error.emit(err);
|
|
3019
|
-
}
|
|
3020
3019
|
_getNavigatorCurrentPosition() {
|
|
3021
3020
|
if (navigator.geolocation) {
|
|
3022
|
-
navigator.geolocation.getCurrentPosition((position) => this._setGeoLocation(position, this.disableOrReadonly, true), (err) => this._onErrorNavigatorLocation(err), this._navigatorOptions);
|
|
3021
|
+
navigator.geolocation.getCurrentPosition((position) => this._setGeoLocation({ latitude: position.coords.latitude, longitude: position.coords.longitude }, this.disableOrReadonly, true), (err) => this._onErrorNavigatorLocation(err), this._navigatorOptions);
|
|
3023
3022
|
}
|
|
3024
3023
|
}
|
|
3025
3024
|
_createMarker(id, mo, lat, lng, text, icon, draggable) {
|
|
@@ -3054,14 +3053,12 @@ class BarsaGeographicLocationComponent extends BaseComponent {
|
|
|
3054
3053
|
}
|
|
3055
3054
|
}
|
|
3056
3055
|
BarsaGeographicLocationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaGeographicLocationComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3057
|
-
BarsaGeographicLocationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: BarsaGeographicLocationComponent, selector: "bdc-barsa-geographic-location", inputs: { disableOrReadonly: "disableOrReadonly",
|
|
3056
|
+
BarsaGeographicLocationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: BarsaGeographicLocationComponent, selector: "bdc-barsa-geographic-location", inputs: { disableOrReadonly: "disableOrReadonly", setAutomaticLocation: "setAutomaticLocation", showLocationButton: "showLocationButton", showFullscreenButton: "showFullscreenButton", showExitFullscreenButton: "showExitFullscreenButton", draggable: "draggable", defaultLocation: "defaultLocation", latitude: "latitude", longitude: "longitude" }, outputs: { move: "move", moveEnd: "moveEnd", fullscreen: "fullscreen", exitFullscreen: "exitFullscreen", error: "error", markerChange: "markerChange" }, usesInheritance: true, ngImport: i0, template: "<div style=\"position: absolute; z-index: 1000; display: flex; flex-direction: column; row-gap: 5px; left: 0; bottom: 0\">\n <button *ngIf=\"showFullscreenButton\" fd-button glyph=\"resize\" fdType=\"positive\" (click)=\"onFullscreen()\"></button>\n <button\n *ngIf=\"showExitFullscreenButton\"\n fd-button\n glyph=\"exitfullscreen\"\n fdType=\"positive\"\n (click)=\"onExitFullscreen()\"\n ></button>\n <button\n *ngIf=\"showLocationButton || disableOrReadonly\"\n fd-button\n glyph=\"map\"\n fdType=\"positive\"\n (click)=\"onCurrentLocation()\"\n ></button>\n</div>\n", styles: [":host{display:block;min-height:300px;position:relative}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3058
3057
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaGeographicLocationComponent, decorators: [{
|
|
3059
3058
|
type: Component,
|
|
3060
|
-
args: [{ selector: 'bdc-barsa-geographic-location', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div style=\"position: absolute; z-index: 1000; display: flex; flex-direction: column; row-gap: 5px; left: 0; bottom: 0\">\n <button *ngIf=\"showFullscreenButton\" fd-button glyph=\"resize\" fdType=\"positive\" (click)=\"onFullscreen()\"></button>\n <button\n *ngIf=\"showExitFullscreenButton\"\n fd-button\n glyph=\"exitfullscreen\"\n fdType=\"positive\"\n (click)=\"onExitFullscreen()\"\n ></button>\n <button
|
|
3059
|
+
args: [{ selector: 'bdc-barsa-geographic-location', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div style=\"position: absolute; z-index: 1000; display: flex; flex-direction: column; row-gap: 5px; left: 0; bottom: 0\">\n <button *ngIf=\"showFullscreenButton\" fd-button glyph=\"resize\" fdType=\"positive\" (click)=\"onFullscreen()\"></button>\n <button\n *ngIf=\"showExitFullscreenButton\"\n fd-button\n glyph=\"exitfullscreen\"\n fdType=\"positive\"\n (click)=\"onExitFullscreen()\"\n ></button>\n <button\n *ngIf=\"showLocationButton || disableOrReadonly\"\n fd-button\n glyph=\"map\"\n fdType=\"positive\"\n (click)=\"onCurrentLocation()\"\n ></button>\n</div>\n", styles: [":host{display:block;min-height:300px;position:relative}\n"] }]
|
|
3061
3060
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { disableOrReadonly: [{
|
|
3062
3061
|
type: Input
|
|
3063
|
-
}], currentLocation: [{
|
|
3064
|
-
type: Input
|
|
3065
3062
|
}], setAutomaticLocation: [{
|
|
3066
3063
|
type: Input
|
|
3067
3064
|
}], showLocationButton: [{
|
|
@@ -3074,6 +3071,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
3074
3071
|
type: Input
|
|
3075
3072
|
}], defaultLocation: [{
|
|
3076
3073
|
type: Input
|
|
3074
|
+
}], latitude: [{
|
|
3075
|
+
type: Input
|
|
3076
|
+
}], longitude: [{
|
|
3077
|
+
type: Input
|
|
3077
3078
|
}], move: [{
|
|
3078
3079
|
type: Output
|
|
3079
3080
|
}], moveEnd: [{
|
|
@@ -3084,15 +3085,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
3084
3085
|
type: Output
|
|
3085
3086
|
}], error: [{
|
|
3086
3087
|
type: Output
|
|
3088
|
+
}], markerChange: [{
|
|
3089
|
+
type: Output
|
|
3087
3090
|
}] } });
|
|
3088
3091
|
|
|
3089
3092
|
class GeographicLocationComponent extends UiMoInfoSubFormUiComponent {
|
|
3090
3093
|
constructor() {
|
|
3091
3094
|
super(...arguments);
|
|
3092
3095
|
this.fullscreen = false;
|
|
3093
|
-
this.currentLocation = [];
|
|
3094
|
-
this.latitude = 35.7568;
|
|
3095
|
-
this.longitude = 51.412;
|
|
3096
3096
|
}
|
|
3097
3097
|
get latitudeUi() {
|
|
3098
3098
|
return this.customFormPanelUi._dictFieldUi.Latitude;
|
|
@@ -3113,7 +3113,7 @@ class GeographicLocationComponent extends UiMoInfoSubFormUiComponent {
|
|
|
3113
3113
|
ngOnInit() {
|
|
3114
3114
|
var _a, _b;
|
|
3115
3115
|
super.ngOnInit();
|
|
3116
|
-
this.
|
|
3116
|
+
this._setDefaultLatAndLong((_a = this.latitudeUi) === null || _a === void 0 ? void 0 : _a.value, (_b = this.longitudeUi) === null || _b === void 0 ? void 0 : _b.value);
|
|
3117
3117
|
}
|
|
3118
3118
|
onFullscreen() {
|
|
3119
3119
|
this.fullscreen = true;
|
|
@@ -3131,30 +3131,36 @@ class GeographicLocationComponent extends UiMoInfoSubFormUiComponent {
|
|
|
3131
3131
|
BarsaApi.Bw.Toast.Error(err2);
|
|
3132
3132
|
}
|
|
3133
3133
|
onMove(e) {
|
|
3134
|
-
this.
|
|
3135
|
-
this.longitude = e.latlng.lng;
|
|
3134
|
+
this._movePos = { latitude: e.latlng.lat, longitude: e.latlng.lng };
|
|
3136
3135
|
}
|
|
3137
3136
|
onMoveEnd(e) {
|
|
3137
|
+
this._handleMarkerChange(this._movePos);
|
|
3138
|
+
}
|
|
3139
|
+
onMarkerChange(e) {
|
|
3140
|
+
this._handleMarkerChange(e);
|
|
3141
|
+
}
|
|
3142
|
+
_handleMarkerChange(e) {
|
|
3143
|
+
const { latitude, longitude } = e;
|
|
3144
|
+
this.latitudeUi.value = latitude;
|
|
3145
|
+
this.longitudeUi.value = longitude;
|
|
3138
3146
|
this._valueChanged();
|
|
3139
3147
|
}
|
|
3140
|
-
|
|
3148
|
+
_setDefaultLatAndLong(lat, lng) {
|
|
3141
3149
|
if (lat && lng) {
|
|
3142
|
-
this.
|
|
3150
|
+
this.latValue = lat;
|
|
3151
|
+
this.lngValue = lng;
|
|
3143
3152
|
}
|
|
3144
3153
|
}
|
|
3145
3154
|
_valueChanged() {
|
|
3146
|
-
this.latitudeUi.value = this.latitude;
|
|
3147
|
-
this.longitudeUi.value = this.longitude;
|
|
3148
3155
|
this.latitudeUi.fireEvent('change', this.latitudeUi, this.latitudeUi.value);
|
|
3149
3156
|
this.longitudeUi.fireEvent('change', this.longitudeUi, this.longitudeUi.value);
|
|
3150
|
-
this._setCurrentLocation(this.latitude, this.longitude);
|
|
3151
3157
|
}
|
|
3152
3158
|
}
|
|
3153
3159
|
GeographicLocationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GeographicLocationComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3154
|
-
GeographicLocationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: GeographicLocationComponent, selector: "bdc-geographic-location", viewQueries: [{ propertyName: "dialogTemplate", first: true, predicate: ["confirmationDialog"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"customFormPanelUi\">\n <bnrc-form style=\"display: none\" *untilInView=\"el\" [customFormPanelUi]=\"customFormPanelUi\"></bnrc-form>\n</ng-container>\n\n<
|
|
3160
|
+
GeographicLocationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: GeographicLocationComponent, selector: "bdc-geographic-location", viewQueries: [{ propertyName: "dialogTemplate", first: true, predicate: ["confirmationDialog"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"customFormPanelUi\">\n <bnrc-form style=\"display: none\" *untilInView=\"el\" [customFormPanelUi]=\"customFormPanelUi\"></bnrc-form>\n</ng-container>\n\n<ng-container *ngIf=\"!fullscreen\">\n <ng-container *ngTemplateOutlet=\"map; context: { inDialog: false }\"></ng-container>\n</ng-container>\n\n<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #confirmationDialog>\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\n <fd-dialog-header>\n <h1 id=\"fd-dialog-header-10\" fd-title>{{ 'Map' | bbbTranslate }}</h1>\n </fd-dialog-header>\n <fd-dialog-body>\n <ng-container *ngTemplateOutlet=\"map; context: { inDialog: true, dialog: dialog }\"></ng-container>\n </fd-dialog-body>\n </fd-dialog>\n</ng-template>\n\n<ng-template #map let-inDialog=\"inDialog\" let-dialog=\"dialog\">\n <bdc-barsa-geographic-location\n [style.height]=\"inDialog ? 'height: 100% !important' : null\"\n [defaultLocation]=\"[35.7568, 51.412]\"\n [latitude]=\"latValue\"\n [longitude]=\"lngValue\"\n [showExitFullscreenButton]=\"true\"\n [showLocationButton]=\"customFieldInfo.ShowLocationButton\"\n [setAutomaticLocation]=\"customFieldInfo.GetCurrentLocation\"\n [disableOrReadonly]=\"(disableOrReadonly$ | async) === true\"\n [draggable]=\"customFieldInfo.Draggable === true\"\n (markerChange)=\"onMarkerChange($event)\"\n (move)=\"onMove($event)\"\n (error)=\"onErrorNavigatorLocation($event)\"\n (moveEnd)=\"onMoveEnd($event)\"\n (exitFullscreen)=\"onExistFullscreen(); dialog && dialog.close('Continue')\"\n ></bdc-barsa-geographic-location>\n</ng-template>\n", styles: [":host{display:block;position:relative}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1$2.FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "formPanelCtrlId"], outputs: ["titleChanged", "moChanged", "formClose", "formRendered"] }, { kind: "directive", type: i1$2.UntilInViewDirective, selector: "[untilInView]", inputs: ["untilInView", "intersectionDebounce"] }, { kind: "component", type: i5$1.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i5$1.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i5$1.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "component", type: i4$2.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "component", type: BarsaGeographicLocationComponent, selector: "bdc-barsa-geographic-location", inputs: ["disableOrReadonly", "setAutomaticLocation", "showLocationButton", "showFullscreenButton", "showExitFullscreenButton", "draggable", "defaultLocation", "latitude", "longitude"], outputs: ["move", "moveEnd", "fullscreen", "exitFullscreen", "error", "markerChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$2.BbbTranslatePipe, name: "bbbTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3155
3161
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: GeographicLocationComponent, decorators: [{
|
|
3156
3162
|
type: Component,
|
|
3157
|
-
args: [{ selector: 'bdc-geographic-location', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"customFormPanelUi\">\n <bnrc-form style=\"display: none\" *untilInView=\"el\" [customFormPanelUi]=\"customFormPanelUi\"></bnrc-form>\n</ng-container>\n\n<
|
|
3163
|
+
args: [{ selector: 'bdc-geographic-location', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"customFormPanelUi\">\n <bnrc-form style=\"display: none\" *untilInView=\"el\" [customFormPanelUi]=\"customFormPanelUi\"></bnrc-form>\n</ng-container>\n\n<ng-container *ngIf=\"!fullscreen\">\n <ng-container *ngTemplateOutlet=\"map; context: { inDialog: false }\"></ng-container>\n</ng-container>\n\n<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #confirmationDialog>\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\n <fd-dialog-header>\n <h1 id=\"fd-dialog-header-10\" fd-title>{{ 'Map' | bbbTranslate }}</h1>\n </fd-dialog-header>\n <fd-dialog-body>\n <ng-container *ngTemplateOutlet=\"map; context: { inDialog: true, dialog: dialog }\"></ng-container>\n </fd-dialog-body>\n </fd-dialog>\n</ng-template>\n\n<ng-template #map let-inDialog=\"inDialog\" let-dialog=\"dialog\">\n <bdc-barsa-geographic-location\n [style.height]=\"inDialog ? 'height: 100% !important' : null\"\n [defaultLocation]=\"[35.7568, 51.412]\"\n [latitude]=\"latValue\"\n [longitude]=\"lngValue\"\n [showExitFullscreenButton]=\"true\"\n [showLocationButton]=\"customFieldInfo.ShowLocationButton\"\n [setAutomaticLocation]=\"customFieldInfo.GetCurrentLocation\"\n [disableOrReadonly]=\"(disableOrReadonly$ | async) === true\"\n [draggable]=\"customFieldInfo.Draggable === true\"\n (markerChange)=\"onMarkerChange($event)\"\n (move)=\"onMove($event)\"\n (error)=\"onErrorNavigatorLocation($event)\"\n (moveEnd)=\"onMoveEnd($event)\"\n (exitFullscreen)=\"onExistFullscreen(); dialog && dialog.close('Continue')\"\n ></bdc-barsa-geographic-location>\n</ng-template>\n", styles: [":host{display:block;position:relative}\n"] }]
|
|
3158
3164
|
}], propDecorators: { dialogTemplate: [{
|
|
3159
3165
|
type: ViewChild,
|
|
3160
3166
|
args: ['confirmationDialog']
|