@evergis/react 4.0.23 → 4.0.24
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.
|
@@ -2,6 +2,7 @@ import { CSSProperties, FC, ReactNode } from 'react';
|
|
|
2
2
|
import { i18n } from 'i18next';
|
|
3
3
|
import { PieChartData, BarChartMarker } from '@evergis/charts';
|
|
4
4
|
import { IconTypesKeys, IOption } from '@evergis/uilib-gl';
|
|
5
|
+
import { CircleLayerSpecification, FillLayerSpecification, LineLayerSpecification } from 'maplibre-gl';
|
|
5
6
|
import { AttributeFormatConfigurationDc, AttributeType, EqlRequestDc, FeatureDc, OgcGeometryType, PagedFeaturesListDc, PositionDc, QueryLayerServiceInfoDc, RemoteTaskStatus, StringSubType, AttributesConfigurationDc } from '@evergis/api';
|
|
6
7
|
import { FeatureAttributeValue, EditGeometryType, ThemeName } from '../../types';
|
|
7
8
|
import { InnerContainerProps } from './containers/DataSourceInnerContainer/types';
|
|
@@ -151,6 +152,7 @@ export interface ConfigOptions {
|
|
|
151
152
|
expandedLayers?: boolean;
|
|
152
153
|
modalId?: string;
|
|
153
154
|
url?: string;
|
|
155
|
+
customFeatureSelect?: CustomFeatureSelect;
|
|
154
156
|
}
|
|
155
157
|
export interface ConfigDataSource {
|
|
156
158
|
name: string;
|
|
@@ -203,6 +205,10 @@ export interface SelectedFilter {
|
|
|
203
205
|
min?: string | number | Date;
|
|
204
206
|
max?: string | number | Date;
|
|
205
207
|
}
|
|
208
|
+
export interface CustomFeatureSelect {
|
|
209
|
+
paint?: CircleLayerSpecification["paint"] | LineLayerSpecification["paint"] | FillLayerSpecification["paint"];
|
|
210
|
+
layout?: CircleLayerSpecification["layout"] | LineLayerSpecification["layout"] | FillLayerSpecification["layout"];
|
|
211
|
+
}
|
|
206
212
|
export interface ConfigLayer {
|
|
207
213
|
name: string;
|
|
208
214
|
opacity?: number;
|
|
@@ -217,6 +223,7 @@ export interface ConfigLayer {
|
|
|
217
223
|
minScale?: number;
|
|
218
224
|
maxScale?: number;
|
|
219
225
|
hiddenAttributes?: string[];
|
|
226
|
+
customFeatureSelect?: CustomFeatureSelect;
|
|
220
227
|
}
|
|
221
228
|
export interface ConfigTask {
|
|
222
229
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.24",
|
|
3
3
|
"name": "@evergis/react",
|
|
4
4
|
"author": "Everpoint",
|
|
5
5
|
"license": "MIT",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"storybook": "^7.6.14"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@evergis/api": "^5.0.
|
|
58
|
-
"@evergis/charts": "^4.0.
|
|
57
|
+
"@evergis/api": "^5.0.10",
|
|
58
|
+
"@evergis/charts": "^4.0.9",
|
|
59
59
|
"@evergis/color": "^1.0.0-alpha.1",
|
|
60
60
|
"@evergis/uilib-gl": "^1.0.83",
|
|
61
61
|
"@mapbox/mapbox-gl-draw": "^1.5.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"uuid": "^13.0.0",
|
|
88
88
|
"wkt": "^0.1.1"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "a6bb03df8a3e291f47f72130e1a9e8ef5c5cc6d6"
|
|
91
91
|
}
|