@artstesh/maps 5.0.10 → 5.0.11
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/esm2022/map/helpers/polygon-style.helper.mjs +19 -2
- package/dist/esm2022/map/map-plate/map-plate.component.mjs +4 -1
- package/dist/esm2022/map/messages/commands/cancel-feature-modification.command.mjs +8 -0
- package/dist/esm2022/map/messages/commands/modify-feature.command.mjs +18 -0
- package/dist/esm2022/map/messages/executors/filter-features-in-area.executor.mjs +15 -0
- package/dist/esm2022/map/messages/executors/generate-draw.executor.mjs +17 -0
- package/dist/esm2022/map/messages/index.mjs +3 -1
- package/dist/esm2022/map/models/drawing-type.enum.mjs +2 -1
- package/dist/esm2022/map/services/drawing/drawing-generation.service.mjs +16 -22
- package/dist/esm2022/map/services/drawing/drawing.service.mjs +8 -12
- package/dist/esm2022/map/services/drawing/feature-modification.service.mjs +103 -0
- package/dist/esm2022/map/services/feature.service.mjs +4 -18
- package/dist/esm2022/map/services/map-management.service.mjs +5 -13
- package/dist/esm2022/map/services/message-registrator.service.mjs +19 -11
- package/dist/esm2022/src/map/helpers/polygon-style.helper.mjs +19 -2
- package/dist/esm2022/src/map/map-plate/map-plate.component.mjs +4 -1
- package/dist/esm2022/src/map/messages/commands/cancel-feature-modification.command.mjs +8 -0
- package/dist/esm2022/src/map/messages/commands/modify-feature.command.mjs +18 -0
- package/dist/esm2022/src/map/messages/executors/filter-features-in-area.executor.mjs +15 -0
- package/dist/esm2022/src/map/messages/executors/generate-draw.executor.mjs +17 -0
- package/dist/esm2022/src/map/messages/index.mjs +3 -1
- package/dist/esm2022/src/map/models/drawing-type.enum.mjs +2 -1
- package/dist/esm2022/src/map/services/drawing/drawing-generation.service.mjs +16 -22
- package/dist/esm2022/src/map/services/drawing/drawing.service.mjs +8 -12
- package/dist/esm2022/src/map/services/drawing/feature-modification.service.mjs +103 -0
- package/dist/esm2022/src/map/services/feature.service.mjs +4 -18
- package/dist/esm2022/src/map/services/map-management.service.mjs +5 -13
- package/dist/esm2022/src/map/services/message-registrator.service.mjs +19 -11
- package/dist/fesm2022/maps-components-src-map.mjs +201 -85
- package/dist/fesm2022/maps-components-src-map.mjs.map +1 -1
- package/dist/fesm2022/maps-components.mjs +201 -85
- package/dist/fesm2022/maps-components.mjs.map +1 -1
- package/dist/map/helpers/polygon-style.helper.d.ts +1 -0
- package/dist/map/messages/commands/cancel-feature-modification.command.d.ts +5 -0
- package/dist/map/messages/commands/modify-feature.command.d.ts +11 -0
- package/dist/map/messages/{queries/filter-features-in-area.query.d.ts → executors/filter-features-in-area.executor.d.ts} +2 -2
- package/dist/map/messages/{queries/generate-draw.query.d.ts → executors/generate-draw.executor.d.ts} +2 -2
- package/dist/map/messages/index.d.ts +2 -0
- package/dist/map/models/drawing-type.enum.d.ts +2 -1
- package/dist/map/services/drawing/drawing-generation.service.d.ts +5 -9
- package/dist/map/services/drawing/feature-modification.service.d.ts +22 -0
- package/dist/map/services/feature.service.d.ts +6 -9
- package/dist/map/services/message-registrator.service.d.ts +3 -3
- package/dist/package.json +1 -1
- package/dist/src/map/helpers/polygon-style.helper.d.ts +1 -0
- package/dist/src/map/messages/commands/cancel-feature-modification.command.d.ts +5 -0
- package/dist/src/map/messages/commands/modify-feature.command.d.ts +11 -0
- package/dist/src/map/messages/{queries/filter-features-in-area.query.d.ts → executors/filter-features-in-area.executor.d.ts} +2 -2
- package/dist/src/map/messages/{queries/generate-draw.query.d.ts → executors/generate-draw.executor.d.ts} +2 -2
- package/dist/src/map/messages/index.d.ts +2 -0
- package/dist/src/map/models/drawing-type.enum.d.ts +2 -1
- package/dist/src/map/services/drawing/drawing-generation.service.d.ts +5 -9
- package/dist/src/map/services/drawing/feature-modification.service.d.ts +22 -0
- package/dist/src/map/services/feature.service.d.ts +6 -9
- package/dist/src/map/services/message-registrator.service.d.ts +3 -3
- package/package.json +2 -2
- package/dist/esm2022/map/messages/queries/filter-features-in-area.query.mjs +0 -15
- package/dist/esm2022/map/messages/queries/generate-draw.query.mjs +0 -17
- package/dist/esm2022/src/map/messages/queries/filter-features-in-area.query.mjs +0 -15
- package/dist/esm2022/src/map/messages/queries/generate-draw.query.mjs +0 -17
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
+
import { FeatureOutputFormat, PolygonModel } from '../../models';
|
|
3
|
+
import Style from 'ol/style/Style';
|
|
4
|
+
export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string | null> {
|
|
5
|
+
model: PolygonModel;
|
|
6
|
+
style: Style;
|
|
7
|
+
format: FeatureOutputFormat;
|
|
8
|
+
static readonly ID: string;
|
|
9
|
+
constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat);
|
|
10
|
+
get id(): string;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Feature } from 'ol';
|
|
3
3
|
import { Geometry } from 'ol/geom';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FilterFeaturesInAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
5
5
|
area: Geometry;
|
|
6
6
|
features: Feature<Geometry>[];
|
|
7
7
|
static readonly ID: string;
|
package/dist/map/messages/{queries/generate-draw.query.d.ts → executors/generate-draw.executor.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Vector as Layer } from 'ol/layer';
|
|
3
3
|
import VectorSource from 'ol/source/Vector';
|
|
4
4
|
import { Draw } from 'ol/interaction';
|
|
5
5
|
import { DrawingType } from '../../models';
|
|
6
6
|
import Style from 'ol/style/Style';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class GenerateDrawExecutor extends PostboyExecutor<Draw> {
|
|
8
8
|
layer: Layer<VectorSource<any>>;
|
|
9
9
|
style: Style;
|
|
10
10
|
type: DrawingType;
|
|
@@ -5,3 +5,5 @@ export * from './commands/close-tooltip.command';
|
|
|
5
5
|
export * from './commands/start-drawing.command';
|
|
6
6
|
export * from './commands/cancel-drawing.command';
|
|
7
7
|
export * from './commands/draw-selection-area.command';
|
|
8
|
+
export * from './commands/modify-feature.command';
|
|
9
|
+
export * from './commands/cancel-feature-modification.command';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
private
|
|
6
|
-
constructor(postboy: MapPostboyService);
|
|
7
|
-
up(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingGenerationService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DrawingGenerationService>;
|
|
1
|
+
import { Draw } from 'ol/interaction';
|
|
2
|
+
import { GenerateDrawExecutor } from '../../messages/executors/generate-draw.executor';
|
|
3
|
+
export declare class DrawingGenerationService {
|
|
4
|
+
static getDraw(ev: GenerateDrawExecutor): Draw;
|
|
5
|
+
private static geometryFunc;
|
|
10
6
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FeatureModificationService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private modify?;
|
|
7
|
+
private translate?;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
private observeModification;
|
|
12
|
+
private initFeature;
|
|
13
|
+
private addModify;
|
|
14
|
+
private addDragging;
|
|
15
|
+
private onModified;
|
|
16
|
+
private observeMapRender;
|
|
17
|
+
private defineLayer;
|
|
18
|
+
private observeCancelation;
|
|
19
|
+
private clearInteraction;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureModificationService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureModificationService>;
|
|
22
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
export declare class FeatureService
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
up(): void;
|
|
1
|
+
import { Geometry } from 'ol/geom';
|
|
2
|
+
import { Feature } from 'ol';
|
|
3
|
+
import { FilterFeaturesInAreaExecutor } from '../messages/executors/filter-features-in-area.executor';
|
|
4
|
+
export declare class FeatureService {
|
|
5
|
+
constructor();
|
|
6
|
+
static filterFeaturesInArea(query: FilterFeaturesInAreaExecutor): Feature<Geometry>[];
|
|
8
7
|
private static booleanIntersects;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureService>;
|
|
11
8
|
}
|
|
@@ -5,12 +5,12 @@ import { MapStateService } from './map-state.service';
|
|
|
5
5
|
import { MapClickService } from './map-click.service';
|
|
6
6
|
import { MapFeatureService } from './map-feature.service';
|
|
7
7
|
import { DrawingService } from './drawing/drawing.service';
|
|
8
|
-
import {
|
|
9
|
-
import { FeatureService } from './feature.service';
|
|
8
|
+
import { FeatureModificationService } from './drawing/feature-modification.service';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
12
|
-
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService,
|
|
11
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService, featureModification: FeatureModificationService);
|
|
13
12
|
protected _up(): void;
|
|
13
|
+
private setExecutors;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
16
16
|
}
|
package/dist/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
+
import { FeatureOutputFormat, PolygonModel } from '../../models';
|
|
3
|
+
import Style from 'ol/style/Style';
|
|
4
|
+
export declare class ModifyFeatureCommand extends PostboyCallbackMessage<string | null> {
|
|
5
|
+
model: PolygonModel;
|
|
6
|
+
style: Style;
|
|
7
|
+
format: FeatureOutputFormat;
|
|
8
|
+
static readonly ID: string;
|
|
9
|
+
constructor(model: PolygonModel, style: Style, format?: FeatureOutputFormat);
|
|
10
|
+
get id(): string;
|
|
11
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Feature } from 'ol';
|
|
3
3
|
import { Geometry } from 'ol/geom';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class FilterFeaturesInAreaExecutor extends PostboyExecutor<Feature<Geometry>[]> {
|
|
5
5
|
area: Geometry;
|
|
6
6
|
features: Feature<Geometry>[];
|
|
7
7
|
static readonly ID: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostboyExecutor } from '@artstesh/postboy';
|
|
2
2
|
import { Vector as Layer } from 'ol/layer';
|
|
3
3
|
import VectorSource from 'ol/source/Vector';
|
|
4
4
|
import { Draw } from 'ol/interaction';
|
|
5
5
|
import { DrawingType } from '../../models';
|
|
6
6
|
import Style from 'ol/style/Style';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class GenerateDrawExecutor extends PostboyExecutor<Draw> {
|
|
8
8
|
layer: Layer<VectorSource<any>>;
|
|
9
9
|
style: Style;
|
|
10
10
|
type: DrawingType;
|
|
@@ -5,3 +5,5 @@ export * from './commands/close-tooltip.command';
|
|
|
5
5
|
export * from './commands/start-drawing.command';
|
|
6
6
|
export * from './commands/cancel-drawing.command';
|
|
7
7
|
export * from './commands/draw-selection-area.command';
|
|
8
|
+
export * from './commands/modify-feature.command';
|
|
9
|
+
export * from './commands/cancel-feature-modification.command';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
private
|
|
6
|
-
constructor(postboy: MapPostboyService);
|
|
7
|
-
up(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrawingGenerationService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DrawingGenerationService>;
|
|
1
|
+
import { Draw } from 'ol/interaction';
|
|
2
|
+
import { GenerateDrawExecutor } from '../../messages/executors/generate-draw.executor';
|
|
3
|
+
export declare class DrawingGenerationService {
|
|
4
|
+
static getDraw(ev: GenerateDrawExecutor): Draw;
|
|
5
|
+
private static geometryFunc;
|
|
10
6
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPostboyDependingService } from '@artstesh/postboy';
|
|
2
|
+
import { MapPostboyService } from '../map-postboy.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FeatureModificationService implements IPostboyDependingService {
|
|
5
|
+
private postboy;
|
|
6
|
+
private modify?;
|
|
7
|
+
private translate?;
|
|
8
|
+
private map?;
|
|
9
|
+
constructor(postboy: MapPostboyService);
|
|
10
|
+
up(): void;
|
|
11
|
+
private observeModification;
|
|
12
|
+
private initFeature;
|
|
13
|
+
private addModify;
|
|
14
|
+
private addDragging;
|
|
15
|
+
private onModified;
|
|
16
|
+
private observeMapRender;
|
|
17
|
+
private defineLayer;
|
|
18
|
+
private observeCancelation;
|
|
19
|
+
private clearInteraction;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureModificationService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureModificationService>;
|
|
22
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
export declare class FeatureService
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
up(): void;
|
|
1
|
+
import { Geometry } from 'ol/geom';
|
|
2
|
+
import { Feature } from 'ol';
|
|
3
|
+
import { FilterFeaturesInAreaExecutor } from '../messages/executors/filter-features-in-area.executor';
|
|
4
|
+
export declare class FeatureService {
|
|
5
|
+
constructor();
|
|
6
|
+
static filterFeaturesInArea(query: FilterFeaturesInAreaExecutor): Feature<Geometry>[];
|
|
8
7
|
private static booleanIntersects;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureService>;
|
|
11
8
|
}
|
|
@@ -5,12 +5,12 @@ import { MapStateService } from './map-state.service';
|
|
|
5
5
|
import { MapClickService } from './map-click.service';
|
|
6
6
|
import { MapFeatureService } from './map-feature.service';
|
|
7
7
|
import { DrawingService } from './drawing/drawing.service';
|
|
8
|
-
import {
|
|
9
|
-
import { FeatureService } from './feature.service';
|
|
8
|
+
import { FeatureModificationService } from './drawing/feature-modification.service';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class MessageRegistratorService extends PostboyAbstractRegistrator {
|
|
12
|
-
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService,
|
|
11
|
+
constructor(service: MapPostboyService, management: MapManagementService, state: MapStateService, mapFeature: MapFeatureService, interaction: MapClickService, drawing: DrawingService, featureModification: FeatureModificationService);
|
|
13
12
|
protected _up(): void;
|
|
13
|
+
private setExecutors;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageRegistratorService, never>;
|
|
15
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageRegistratorService>;
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artstesh/maps",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.11",
|
|
4
4
|
"author": "artstesh",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Let's draw a map ;)",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"zone.js": "~0.13.0",
|
|
45
45
|
"ol-geocoder": "^4.0.0",
|
|
46
46
|
"ol": "^6.9.0",
|
|
47
|
-
"@artstesh/postboy": "
|
|
47
|
+
"@artstesh/postboy": "1.0.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@angular-builders/custom-webpack": "^16.0.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class FilterFeaturesInAreaQuery extends PostboyCallbackMessage {
|
|
3
|
-
area;
|
|
4
|
-
features;
|
|
5
|
-
static ID = '36bb2d94-8028-4512-90dd-2386af3fc67c';
|
|
6
|
-
constructor(area, features) {
|
|
7
|
-
super();
|
|
8
|
-
this.area = area;
|
|
9
|
-
this.features = features;
|
|
10
|
-
}
|
|
11
|
-
get id() {
|
|
12
|
-
return FilterFeaturesInAreaQuery.ID;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWZlYXR1cmVzLWluLWFyZWEucXVlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9tZXNzYWdlcy9xdWVyaWVzL2ZpbHRlci1mZWF0dXJlcy1pbi1hcmVhLnF1ZXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQ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17 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class GenerateDrawQuery extends PostboyCallbackMessage {
|
|
3
|
-
layer;
|
|
4
|
-
style;
|
|
5
|
-
type;
|
|
6
|
-
static ID = 'f01c99ba-0953-4ab5-82f9-04e6fbb678c1';
|
|
7
|
-
constructor(layer, style, type) {
|
|
8
|
-
super();
|
|
9
|
-
this.layer = layer;
|
|
10
|
-
this.style = style;
|
|
11
|
-
this.type = type;
|
|
12
|
-
}
|
|
13
|
-
get id() {
|
|
14
|
-
return GenerateDrawQuery.ID;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGUtZHJhdy5xdWVyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hcHMtY29tcG9uZW50cy9zcmMvbWFwL21lc3NhZ2VzL3F1ZXJpZXMvZ2VuZXJhdGUtZHJhdy5xdWVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQU8zRCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsc0JBQTRCO0lBRzlDO0lBQXdDO0lBQXFCO0lBRnpFLE1BQU0sQ0FBVSxFQUFFLEdBQVcsc0NBQXNDLENBQUM7SUFFM0UsWUFBbUIsS0FBK0IsRUFBUyxLQUFZLEVBQVMsSUFBaUI7UUFDL0YsS0FBSyxFQUFFLENBQUM7UUFEUyxVQUFLLEdBQUwsS0FBSyxDQUEwQjtRQUFTLFVBQUssR0FBTCxLQUFLLENBQU87UUFBUyxTQUFJLEdBQUosSUFBSSxDQUFhO0lBRWpHLENBQUM7SUFFRCxJQUFXLEVBQUU7UUFDWCxPQUFPLGlCQUFpQixDQUFDLEVBQUUsQ0FBQztJQUM5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUG9zdGJveUNhbGxiYWNrTWVzc2FnZSB9IGZyb20gJ0BhcnRzdGVzaC9wb3N0Ym95JztcbmltcG9ydCB7IFZlY3RvciBhcyBMYXllciB9IGZyb20gJ29sL2xheWVyJztcbmltcG9ydCBWZWN0b3JTb3VyY2UgZnJvbSAnb2wvc291cmNlL1ZlY3Rvcic7XG5pbXBvcnQgeyBEcmF3IH0gZnJvbSAnb2wvaW50ZXJhY3Rpb24nO1xuaW1wb3J0IHsgRHJhd2luZ1R5cGUgfSBmcm9tICcuLi8uLi9tb2RlbHMnO1xuaW1wb3J0IFN0eWxlIGZyb20gJ29sL3N0eWxlL1N0eWxlJztcblxuZXhwb3J0IGNsYXNzIEdlbmVyYXRlRHJhd1F1ZXJ5IGV4dGVuZHMgUG9zdGJveUNhbGxiYWNrTWVzc2FnZTxEcmF3PiB7XG4gIHB1YmxpYyBzdGF0aWMgcmVhZG9ubHkgSUQ6IHN0cmluZyA9ICdmMDFjOTliYS0wOTUzLTRhYjUtODJmOS0wNGU2ZmJiNjc4YzEnO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBsYXllcjogTGF5ZXI8VmVjdG9yU291cmNlPGFueT4+LCBwdWJsaWMgc3R5bGU6IFN0eWxlLCBwdWJsaWMgdHlwZTogRHJhd2luZ1R5cGUpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgcHVibGljIGdldCBpZCgpOiBzdHJpbmcge1xuICAgIHJldHVybiBHZW5lcmF0ZURyYXdRdWVyeS5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class FilterFeaturesInAreaQuery extends PostboyCallbackMessage {
|
|
3
|
-
area;
|
|
4
|
-
features;
|
|
5
|
-
static ID = '36bb2d94-8028-4512-90dd-2386af3fc67c';
|
|
6
|
-
constructor(area, features) {
|
|
7
|
-
super();
|
|
8
|
-
this.area = area;
|
|
9
|
-
this.features = features;
|
|
10
|
-
}
|
|
11
|
-
get id() {
|
|
12
|
-
return FilterFeaturesInAreaQuery.ID;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWZlYXR1cmVzLWluLWFyZWEucXVlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBzLWNvbXBvbmVudHMvc3JjL21hcC9tZXNzYWdlcy9xdWVyaWVzL2ZpbHRlci1mZWF0dXJlcy1pbi1hcmVhLnF1ZXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBSTNELE1BQU0sT0FBTyx5QkFBMEIsU0FBUSxzQkFBMkM7SUFHckU7SUFBdUI7SUFGbkMsTUFBTSxDQUFVLEVBQUUsR0FBVyxzQ0FBc0MsQ0FBQztJQUUzRSxZQUFtQixJQUFjLEVBQVMsUUFBNkI7UUFDckUsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFVO1FBQVMsYUFBUSxHQUFSLFFBQVEsQ0FBcUI7SUFFdkUsQ0FBQztJQUVELElBQVcsRUFBRTtRQUNYLE9BQU8seUJBQXlCLENBQUMsRUFBRSxDQUFDO0lBQ3RDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQb3N0Ym95Q2FsbGJhY2tNZXNzYWdlIH0gZnJvbSAnQGFydHN0ZXNoL3Bvc3Rib3knO1xuaW1wb3J0IHsgRmVhdHVyZSB9IGZyb20gJ29sJztcbmltcG9ydCB7IEdlb21ldHJ5IH0gZnJvbSAnb2wvZ2VvbSc7XG5cbmV4cG9ydCBjbGFzcyBGaWx0ZXJGZWF0dXJlc0luQXJlYVF1ZXJ5IGV4dGVuZHMgUG9zdGJveUNhbGxiYWNrTWVzc2FnZTxGZWF0dXJlPEdlb21ldHJ5PltdPiB7XG4gIHB1YmxpYyBzdGF0aWMgcmVhZG9ubHkgSUQ6IHN0cmluZyA9ICczNmJiMmQ5NC04MDI4LTQ1MTItOTBkZC0yMzg2YWYzZmM2N2MnO1xuXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBhcmVhOiBHZW9tZXRyeSwgcHVibGljIGZlYXR1cmVzOiBGZWF0dXJlPEdlb21ldHJ5PltdKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgaWQoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gRmlsdGVyRmVhdHVyZXNJbkFyZWFRdWVyeS5JRDtcbiAgfVxufVxuIl19
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from '@artstesh/postboy';
|
|
2
|
-
export class GenerateDrawQuery extends PostboyCallbackMessage {
|
|
3
|
-
layer;
|
|
4
|
-
style;
|
|
5
|
-
type;
|
|
6
|
-
static ID = 'f01c99ba-0953-4ab5-82f9-04e6fbb678c1';
|
|
7
|
-
constructor(layer, style, type) {
|
|
8
|
-
super();
|
|
9
|
-
this.layer = layer;
|
|
10
|
-
this.style = style;
|
|
11
|
-
this.type = type;
|
|
12
|
-
}
|
|
13
|
-
get id() {
|
|
14
|
-
return GenerateDrawQuery.ID;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGUtZHJhdy5xdWVyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hcHMtY29tcG9uZW50cy9zcmMvbWFw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