@artstesh/maps 1.0.2 → 1.0.4
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/dist/bundles/maps-components-src-map.umd.js +131 -71
- package/dist/bundles/maps-components-src-map.umd.js.map +1 -1
- package/dist/bundles/maps-components.umd.js +131 -71
- package/dist/bundles/maps-components.umd.js.map +1 -1
- package/dist/esm2015/map/map-plate/layers/tile-layer/tile-layer.component.js +1 -1
- package/dist/esm2015/map/map-plate/map-plate.component.js +12 -7
- package/dist/esm2015/map/messages/events/map-click.event.js +13 -0
- package/dist/esm2015/map/messages/index.js +2 -1
- package/dist/esm2015/map/models/marker-model.js +4 -7
- package/dist/esm2015/map/services/map-click.service.js +51 -0
- package/dist/esm2015/map/services/map-management.service.js +3 -1
- package/dist/esm2015/map/services/map-postboy.service.js +6 -17
- package/dist/esm2015/map/services/map-state.service.js +4 -2
- package/dist/esm2015/map/services/message-registrator.service.js +21 -12
- package/dist/esm2015/src/map/map-plate/layers/tile-layer/tile-layer.component.js +1 -1
- package/dist/esm2015/src/map/map-plate/map-plate.component.js +12 -7
- package/dist/esm2015/src/map/messages/events/map-click.event.js +13 -0
- package/dist/esm2015/src/map/messages/index.js +2 -1
- package/dist/esm2015/src/map/models/marker-model.js +4 -7
- package/dist/esm2015/src/map/services/map-click.service.js +51 -0
- package/dist/esm2015/src/map/services/map-management.service.js +3 -1
- package/dist/esm2015/src/map/services/map-postboy.service.js +6 -17
- package/dist/esm2015/src/map/services/map-state.service.js +4 -2
- package/dist/esm2015/src/map/services/message-registrator.service.js +21 -12
- package/dist/fesm2015/maps-components-src-map.js +111 -62
- package/dist/fesm2015/maps-components-src-map.js.map +1 -1
- package/dist/fesm2015/maps-components.js +111 -62
- package/dist/fesm2015/maps-components.js.map +1 -1
- package/dist/map/map-plate/map-plate.component.d.ts +4 -2
- package/dist/map/messages/events/map-click.event.d.ts +12 -0
- package/dist/map/messages/index.d.ts +1 -0
- package/dist/map/models/marker-model.d.ts +2 -2
- package/dist/map/services/map-click.service.d.ts +16 -0
- package/dist/map/services/map-management.service.d.ts +3 -1
- package/dist/map/services/map-postboy.service.d.ts +4 -7
- package/dist/map/services/map-state.service.d.ts +3 -1
- package/dist/map/services/message-registrator.service.d.ts +7 -2
- package/dist/package.json +2 -1
- package/dist/src/map/map-plate/map-plate.component.d.ts +4 -2
- package/dist/src/map/messages/events/map-click.event.d.ts +12 -0
- package/dist/src/map/messages/index.d.ts +1 -0
- package/dist/src/map/models/marker-model.d.ts +2 -2
- package/dist/src/map/services/map-click.service.d.ts +16 -0
- package/dist/src/map/services/map-management.service.d.ts +3 -1
- package/dist/src/map/services/map-postboy.service.d.ts +4 -7
- package/dist/src/map/services/map-state.service.d.ts +3 -1
- package/dist/src/map/services/message-registrator.service.d.ts +7 -2
- package/package.json +4 -3
- package/dist/esm2015/map/services/service.collector.js +0 -14
- package/dist/esm2015/src/map/services/service.collector.js +0 -14
- package/dist/map/services/service.collector.d.ts +0 -9
- package/dist/src/map/services/service.collector.d.ts +0 -9
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { MapPostboyService } from './map-postboy.service';
|
|
2
|
+
import { PostboyAbstractRegistrator } from '@artstesh/postboy';
|
|
3
|
+
import { MapManagementService } from './map-management.service';
|
|
4
|
+
import { MapStateService } from './map-state.service';
|
|
5
|
+
import { MapClickService } from './map-click.service';
|
|
2
6
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MessageRegistratorService {
|
|
4
|
-
constructor(service: MapPostboyService);
|
|
7
|
+
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
8
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, interaction: MapClickService);
|
|
9
|
+
protected _up(): void;
|
|
5
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
6
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
7
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artstesh/maps",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"author": "artstesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Let's draw a map ;)",
|
|
@@ -46,10 +46,11 @@
|
|
|
46
46
|
"tslib": "^2.2.0",
|
|
47
47
|
"zone.js": "^0.11.4",
|
|
48
48
|
"ol-geocoder": "^4.0.0",
|
|
49
|
-
"ol": "^6.9.0"
|
|
49
|
+
"ol": "^6.9.0",
|
|
50
|
+
"@artstesh/postboy": "^1.0.4"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@angular/forms": "^12.
|
|
53
|
+
"@angular/forms": "^12.1.3",
|
|
53
54
|
"@angular-builders/custom-webpack": "^12.1.3",
|
|
54
55
|
"@angular-devkit/build-angular": "^12.1.3",
|
|
55
56
|
"@angular-eslint/builder": "^12.7.0",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./message-registrator.service";
|
|
4
|
-
import * as i2 from "./map-management.service";
|
|
5
|
-
import * as i3 from "./map-state.service";
|
|
6
|
-
export class ServiceCollector {
|
|
7
|
-
constructor(registrator, management, state) { }
|
|
8
|
-
}
|
|
9
|
-
ServiceCollector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ServiceCollector, deps: [{ token: i1.MessageRegistratorService }, { token: i2.MapManagementService }, { token: i3.MapStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
-
ServiceCollector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ServiceCollector });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ServiceCollector, decorators: [{
|
|
12
|
-
type: Injectable
|
|
13
|
-
}], ctorParameters: function () { return [{ type: i1.MessageRegistratorService }, { type: i2.MapManagementService }, { type: i3.MapStateService }]; } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5jb2xsZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9zZXJ2aWNlcy9zZXJ2aWNlLmNvbGxlY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQU0zQyxNQUFNLE9BQU8sZ0JBQWdCO0lBQzNCLFlBQVksV0FBc0MsRUFBRSxVQUFnQyxFQUFFLEtBQXNCLElBQUcsQ0FBQzs7OEdBRHJHLGdCQUFnQjtrSEFBaEIsZ0JBQWdCOzRGQUFoQixnQkFBZ0I7a0JBRDVCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBNZXNzYWdlUmVnaXN0cmF0b3JTZXJ2aWNlIH0gZnJvbSAnLi9tZXNzYWdlLXJlZ2lzdHJhdG9yLnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwTWFuYWdlbWVudFNlcnZpY2UgfSBmcm9tICcuL21hcC1tYW5hZ2VtZW50LnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwU3RhdGVTZXJ2aWNlIH0gZnJvbSAnLi9tYXAtc3RhdGUuc2VydmljZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBTZXJ2aWNlQ29sbGVjdG9yIHtcbiAgY29uc3RydWN0b3IocmVnaXN0cmF0b3I6IE1lc3NhZ2VSZWdpc3RyYXRvclNlcnZpY2UsIG1hbmFnZW1lbnQ6IE1hcE1hbmFnZW1lbnRTZXJ2aWNlLCBzdGF0ZTogTWFwU3RhdGVTZXJ2aWNlKSB7fVxufVxuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./message-registrator.service";
|
|
4
|
-
import * as i2 from "./map-management.service";
|
|
5
|
-
import * as i3 from "./map-state.service";
|
|
6
|
-
export class ServiceCollector {
|
|
7
|
-
constructor(registrator, management, state) { }
|
|
8
|
-
}
|
|
9
|
-
ServiceCollector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ServiceCollector, deps: [{ token: i1.MessageRegistratorService }, { token: i2.MapManagementService }, { token: i3.MapStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
-
ServiceCollector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ServiceCollector });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ServiceCollector, decorators: [{
|
|
12
|
-
type: Injectable
|
|
13
|
-
}], ctorParameters: function () { return [{ type: i1.MessageRegistratorService }, { type: i2.MapManagementService }, { type: i3.MapStateService }]; } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5jb2xsZWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9zZXJ2aWNlcy9zZXJ2aWNlLmNvbGxlY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQU0zQyxNQUFNLE9BQU8sZ0JBQWdCO0lBQzNCLFlBQVksV0FBc0MsRUFBRSxVQUFnQyxFQUFFLEtBQXNCLElBQUcsQ0FBQzs7OEdBRHJHLGdCQUFnQjtrSEFBaEIsZ0JBQWdCOzRGQUFoQixnQkFBZ0I7a0JBRDVCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBNZXNzYWdlUmVnaXN0cmF0b3JTZXJ2aWNlIH0gZnJvbSAnLi9tZXNzYWdlLXJlZ2lzdHJhdG9yLnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwTWFuYWdlbWVudFNlcnZpY2UgfSBmcm9tICcuL21hcC1tYW5hZ2VtZW50LnNlcnZpY2UnO1xuaW1wb3J0IHsgTWFwU3RhdGVTZXJ2aWNlIH0gZnJvbSAnLi9tYXAtc3RhdGUuc2VydmljZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBTZXJ2aWNlQ29sbGVjdG9yIHtcbiAgY29uc3RydWN0b3IocmVnaXN0cmF0b3I6IE1lc3NhZ2VSZWdpc3RyYXRvclNlcnZpY2UsIG1hbmFnZW1lbnQ6IE1hcE1hbmFnZW1lbnRTZXJ2aWNlLCBzdGF0ZTogTWFwU3RhdGVTZXJ2aWNlKSB7fVxufVxuIl19
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MessageRegistratorService } from './message-registrator.service';
|
|
2
|
-
import { MapManagementService } from './map-management.service';
|
|
3
|
-
import { MapStateService } from './map-state.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ServiceCollector {
|
|
6
|
-
constructor(registrator: MessageRegistratorService, management: MapManagementService, state: MapStateService);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceCollector, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ServiceCollector>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MessageRegistratorService } from './message-registrator.service';
|
|
2
|
-
import { MapManagementService } from './map-management.service';
|
|
3
|
-
import { MapStateService } from './map-state.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ServiceCollector {
|
|
6
|
-
constructor(registrator: MessageRegistratorService, management: MapManagementService, state: MapStateService);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceCollector, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ServiceCollector>;
|
|
9
|
-
}
|