@evergis/react 2.0.117 → 2.0.119

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.
@@ -1,5 +1,7 @@
1
+ import { H3Symbol } from "@evergis/sgis/es/symbols/H3Symbol";
1
2
  import { SGisImageSymbolType, SGisPointSymbolType, SGisPolygonSymbolType, SGisPolylineSymbolType, SGisSymbolType } from './types';
2
3
  export declare function isSGisPointSymbol(symbol: SGisSymbolType): symbol is SGisPointSymbolType;
3
4
  export declare function isSGisImageSymbol(symbol: SGisSymbolType): symbol is SGisImageSymbolType;
4
5
  export declare function isSGisPolygonSymbol(symbol: SGisSymbolType): symbol is SGisPolygonSymbolType;
5
6
  export declare function isSGisPolylineSymbol(symbol: SGisSymbolType): symbol is SGisPolylineSymbolType;
7
+ export declare function isSGisH3Symbol(symbol: SGisSymbolType): symbol is H3Symbol;
@@ -1,6 +1,7 @@
1
1
  import { PointFeature } from '@evergis/sgis/es/features/PointFeature';
2
2
  import { Polygon } from '@evergis/sgis/es/features/Polygon';
3
3
  import { Polyline } from '@evergis/sgis/es/features/Polyline';
4
+ import { H3Feature } from "@evergis/sgis/es/features/H3Feature";
4
5
  /**
5
6
  * Моки фич для отображения превью символа
6
7
  * http://cf.everpoint.ru/pages/viewpage.action?pageId=45024217
@@ -9,6 +10,7 @@ export declare const viewBoxSize = 100;
9
10
  export declare const pointFeature: PointFeature;
10
11
  export declare const lineFeature: Polyline;
11
12
  export declare const polygonFeature: Polygon;
13
+ export declare const h3Feature: H3Feature;
12
14
  export declare const lineLegendFeature: Polyline;
13
15
  export declare const polygonLegendFeature: Polygon;
14
16
  export declare const polygonMapLegendFeature: Polygon;
@@ -23,4 +25,5 @@ export declare const MOCK_FEATURES: {
23
25
  readonly point: PointFeature;
24
26
  readonly polyline: Polyline;
25
27
  readonly polygon: Polygon;
28
+ readonly h3: H3Feature;
26
29
  };
@@ -6,8 +6,9 @@ import { BrushFill } from '@evergis/sgis/es/symbols/polygon/BrushFill';
6
6
  import { MaskedImage } from '@evergis/sgis/es/symbols/point/MaskedImage';
7
7
  import { ImageFill } from '@evergis/sgis/es/symbols/polygon/ImageFill';
8
8
  import { PointSymbol } from '@evergis/sgis/es/symbols/point/Point';
9
+ import { H3Symbol } from "@evergis/sgis/es/symbols/H3Symbol";
9
10
  export declare type SGisPointSymbolType = PointSymbol | StaticImageSymbol | SquareSymbol | MaskedImage;
10
11
  export declare type SGisImageSymbolType = StaticImageSymbol | MaskedImage;
11
12
  export declare type SGisPolygonSymbolType = PolygonSymbol | BrushFill | ImageFill;
12
13
  export declare type SGisPolylineSymbolType = PolylineSymbol;
13
- export declare type SGisSymbolType = SGisPointSymbolType | SGisPolygonSymbolType | SGisPolylineSymbolType;
14
+ export declare type SGisSymbolType = SGisPointSymbolType | SGisPolygonSymbolType | SGisPolylineSymbolType | H3Symbol;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.117",
2
+ "version": "2.0.119",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -43,8 +43,8 @@
43
43
  "@babel/core": "^7.17.5",
44
44
  "@babel/plugin-transform-classes": "^7.16.7",
45
45
  "@babel/preset-env": "^7.16.11",
46
- "@evergis/api": "^3.0.124",
47
- "@evergis/sgis": "0.5.0-alpha.39",
46
+ "@evergis/api": "^3.0.125",
47
+ "@evergis/sgis": "0.5.0-alpha.42",
48
48
  "@storybook/addon-actions": "^6.4.18",
49
49
  "@storybook/addon-controls": "^6.4.18",
50
50
  "@storybook/addon-docs": "^6.4.18",
@@ -71,10 +71,10 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "@evergis/color": "^1.0.0-alpha.1",
74
- "@evergis/condition": "^1.2.54",
74
+ "@evergis/condition": "^1.2.55",
75
75
  "@evergis/ui": "^2.0.92",
76
76
  "punycode": "^2.1.1",
77
77
  "styled-components": "^5.3.5"
78
78
  },
79
- "gitHead": "76c47fe6e5c7ea654fd94e82665fb8830b5c4f53"
79
+ "gitHead": "584eb607a89c2506d3fe715c98b538117aef44ba"
80
80
  }