@evergis/react 3.0.5 → 3.0.8
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/core/style/types/symbol.d.ts +6 -9
- package/dist/react.cjs.development.js +2 -5
- package/dist/react.cjs.development.js.map +1 -1
- package/dist/react.cjs.production.min.js +1 -1
- package/dist/react.cjs.production.min.js.map +1 -1
- package/dist/react.esm.js +3 -5
- package/dist/react.esm.js.map +1 -1
- package/dist/symbols/Evergis/SGisPolylineSymbol.d.ts +3 -3
- package/dist/utils/legend.d.ts +3 -3
- package/package.json +5 -5
|
@@ -3,11 +3,11 @@ import { Crs } from '@evergis/sgis/es/Crs';
|
|
|
3
3
|
import { Polyline } from '@evergis/sgis/es/features/Polyline';
|
|
4
4
|
import { Render } from '@evergis/sgis/es/renders/Render';
|
|
5
5
|
import { Coordinates } from '@evergis/sgis/es/baseTypes';
|
|
6
|
-
import {
|
|
6
|
+
import { SimplePolylineSymbol } from '../../core/style';
|
|
7
7
|
export declare const copyRings: (rings: Coordinates[][]) => Coordinates[][];
|
|
8
8
|
export declare class SGisPolylineSymbol extends sPolylineSymbol {
|
|
9
|
-
originalSymbol:
|
|
10
|
-
constructor(originalSymbol:
|
|
9
|
+
originalSymbol: SimplePolylineSymbol;
|
|
10
|
+
constructor(originalSymbol: SimplePolylineSymbol);
|
|
11
11
|
renderFunction(feature: Polyline, resolution: number, crs: Crs): Render[];
|
|
12
12
|
clone(): SGisPolylineSymbol;
|
|
13
13
|
}
|
package/dist/utils/legend.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttributeType, FeatureLayerServiceInfoDc, ServiceInfoDc, SimplePolylineSymbolDc, StyleDc } from '@evergis/api';
|
|
2
2
|
import { ClassifyParameter, LegendProps, LegendSectionItem, ParameterInfo } from '../components';
|
|
3
|
-
import { ClassificationClass, ClassificationCondition, ClassificationParameter, ClassificationParameterExtended, ClassifyAble, ImageSymbol, LabelType, LayerAttribute, LegendValueType, MaskedImageSymbol, ParameterByAttribute, ParameterByAttributeValue, ParameterValue, ParameterValueWithSymbol, PointSymbolType, PolygonSymbol,
|
|
3
|
+
import { ClassificationClass, ClassificationCondition, ClassificationParameter, ClassificationParameterExtended, ClassifyAble, ImageSymbol, LabelType, LayerAttribute, LegendValueType, MaskedImageSymbol, ParameterByAttribute, ParameterByAttributeValue, ParameterValue, ParameterValueWithSymbol, PointSymbolType, PolygonSymbol, SimplePolylineSymbol, RangeClass, SquareSymbol, StyleSymbolType, SvgPointSymbol, UniqueClass } from '../core';
|
|
4
4
|
export declare const isLayerService: (value?: unknown) => value is ServiceInfoDc;
|
|
5
5
|
export declare const getAttributeFromCondition: (condition: string) => string;
|
|
6
6
|
export declare const getExprFromCondition: (condition: string, partIndex?: number | undefined) => string[];
|
|
@@ -27,7 +27,7 @@ export declare const enum LegendSymbolTypes {
|
|
|
27
27
|
declare type LegendSymbolsMap = {
|
|
28
28
|
[LegendSymbolTypes.Point]: PointSymbolType;
|
|
29
29
|
[LegendSymbolTypes.ImagePoint]: MaskedImageSymbol;
|
|
30
|
-
[LegendSymbolTypes.Line]:
|
|
30
|
+
[LegendSymbolTypes.Line]: SimplePolylineSymbol;
|
|
31
31
|
[LegendSymbolTypes.Polygon]: PolygonSymbol;
|
|
32
32
|
};
|
|
33
33
|
export declare const DEFAULT_LEGEND_STYLES: LegendSymbolsMap;
|
|
@@ -48,7 +48,7 @@ export declare type ClassifiedListItem = ParameterByAttribute<ParameterValueWith
|
|
|
48
48
|
index?: number;
|
|
49
49
|
};
|
|
50
50
|
export declare type ClassifiedList = Partial<Record<ClassifyParameter, ClassifiedListItem>>;
|
|
51
|
-
export declare const classifyParamsReduce: (symbol?: import("../core").ClientSymbol<"svgPointSymbol", import("@evergis/api").SvgPointSymbolDc, never> | import("../core").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | SquareSymbol | import("../core").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("../core").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | PolygonSymbol<import("../core").FillBrushType, import("../core").StrokeBrushType> | import("../core").ClientSymbol<"
|
|
51
|
+
export declare const classifyParamsReduce: (symbol?: import("../core").ClientSymbol<"svgPointSymbol", import("@evergis/api").SvgPointSymbolDc, never> | import("../core").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | SquareSymbol | import("../core").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("../core").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | PolygonSymbol<import("../core").FillBrushType, import("../core").StrokeBrushType> | import("../core").ClientSymbol<"combinedPolylineSymbol", import("@evergis/api").CombinedPolylineSymbolDc, never> | import("../core").ClientSymbol<"simplePolylineSymbol", SimplePolylineSymbolDc, never> | import("../core").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../core").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../core").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../core").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("../core").ClientSymbol<"compositeSymbol", import("@evergis/api").CompositeSymbolDc, never> | import("@evergis/api").H3GridSymbolDc | import("@evergis/api").ClusterSymbolDc | undefined, classifyParams?: ClassifyParameter[] | undefined, index?: number | undefined) => undefined | ClassifiedList;
|
|
52
52
|
export declare const getClassified: (layerInfo: FeatureLayerServiceInfoDc) => ClassifiedList | undefined;
|
|
53
53
|
export declare const getSymbolStrokeWidth: (symbol: PointSymbolType) => number;
|
|
54
54
|
export declare const getParameterFromSymbol: <R extends ClassifyAble<ParameterValue>>(symbol: StyleSymbolType | LabelType, parameter: ClassificationParameterExtended) => R;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.0.
|
|
2
|
+
"version": "3.0.8",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@babel/core": "^7.17.5",
|
|
45
45
|
"@babel/plugin-transform-classes": "^7.16.7",
|
|
46
46
|
"@babel/preset-env": "^7.16.11",
|
|
47
|
-
"@evergis/api": "^4.0.
|
|
47
|
+
"@evergis/api": "^4.0.7",
|
|
48
48
|
"@evergis/sgis": "0.5.0-alpha.68",
|
|
49
49
|
"@storybook/addon-actions": "^6.4.18",
|
|
50
50
|
"@storybook/addon-controls": "^6.4.18",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@evergis/color": "^1.0.0-alpha.1",
|
|
79
|
-
"@evergis/condition": "^2.0.
|
|
80
|
-
"@evergis/icons": "^2.0.
|
|
79
|
+
"@evergis/condition": "^2.0.8",
|
|
80
|
+
"@evergis/icons": "^2.0.7",
|
|
81
81
|
"@svgdotjs/svg.js": "^3.1.2",
|
|
82
82
|
"lodash": "^4.17.21",
|
|
83
83
|
"punycode": "^2.1.1",
|
|
84
84
|
"styled-components": "^5.3.5"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "a0f0d52e35a666cd69e879fabfbe82f1018c7ef9"
|
|
87
87
|
}
|