@evergis/react 3.1.118 → 3.1.120-alpha.0
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/components/Dashboard/hooks/useDataSources.d.ts +2 -2
- package/dist/core/index.d.ts +0 -1
- package/dist/index.js +75 -96
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +77 -97
- package/dist/react.esm.js.map +1 -1
- package/package.json +4 -4
- package/dist/core/feature/convertSpToTurfFeature.d.ts +0 -3
- package/dist/core/feature/index.d.ts +0 -1
package/dist/react.esm.js
CHANGED
|
@@ -15,7 +15,7 @@ import { changeProps, returnFound } from 'find-and';
|
|
|
15
15
|
import { jsPDF } from 'jspdf';
|
|
16
16
|
import html2canvas from 'html2canvas';
|
|
17
17
|
import MapboxDraw from '@mapbox/mapbox-gl-draw';
|
|
18
|
-
import {
|
|
18
|
+
import { bbox } from '@turf/turf';
|
|
19
19
|
import MapGL, { Source, Layer as Layer$1 } from 'react-map-gl/maplibre';
|
|
20
20
|
import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css';
|
|
21
21
|
import 'mapbox-gl/dist/mapbox-gl.css';
|
|
@@ -4256,11 +4256,11 @@ const getDataSource = (dataSourceName, dataSources) => dataSources?.find(({ name
|
|
|
4256
4256
|
const getDataSourceFilterValue = ({ filterName, filterProp, attributeAlias, dataSource, selectedFilters, }) => {
|
|
4257
4257
|
if (isNil(selectedFilters[filterName]))
|
|
4258
4258
|
return null;
|
|
4259
|
-
const feature = dataSource?.features?.find(({
|
|
4259
|
+
const feature = dataSource?.features?.find(({ properties }) => properties[attributeAlias] ===
|
|
4260
4260
|
(Array.isArray(selectedFilters[filterName].value)
|
|
4261
4261
|
? selectedFilters[filterName].value[0]
|
|
4262
4262
|
: selectedFilters[filterName].value));
|
|
4263
|
-
return feature?.
|
|
4263
|
+
return feature?.properties?.[filterProp];
|
|
4264
4264
|
};
|
|
4265
4265
|
|
|
4266
4266
|
const getSelectedFilterValue = (filterName, selectedFilters, defaultValue) => {
|
|
@@ -5177,73 +5177,6 @@ const useRedrawLayer = () => {
|
|
|
5177
5177
|
}, [map]);
|
|
5178
5178
|
};
|
|
5179
5179
|
|
|
5180
|
-
const findAttributeInExpression = (expression) => {
|
|
5181
|
-
if (Array.isArray(expression) && expression.length === 2 && expression[0] === "get") {
|
|
5182
|
-
return [expression[1]];
|
|
5183
|
-
}
|
|
5184
|
-
return expression.reduce((acc, curr) => {
|
|
5185
|
-
if (!Array.isArray(curr)) {
|
|
5186
|
-
return acc;
|
|
5187
|
-
}
|
|
5188
|
-
if (curr[0] === "get") {
|
|
5189
|
-
return [...new Set([...acc, curr[1]])];
|
|
5190
|
-
}
|
|
5191
|
-
return [...new Set([...acc, ...findAttributeInExpression(curr)])];
|
|
5192
|
-
}, []);
|
|
5193
|
-
};
|
|
5194
|
-
|
|
5195
|
-
const getActualExtrusionHeight = (paint) => {
|
|
5196
|
-
return Array.isArray(paint?.["fill-extrusion-height"]) && paint?.["fill-extrusion-height"][0] === "+"
|
|
5197
|
-
? paint?.["fill-extrusion-height"][1]
|
|
5198
|
-
: paint?.["fill-extrusion-height"];
|
|
5199
|
-
};
|
|
5200
|
-
|
|
5201
|
-
const extractAttributesFromObject = (obj) => {
|
|
5202
|
-
if (!obj || isEmpty(obj)) {
|
|
5203
|
-
return [];
|
|
5204
|
-
}
|
|
5205
|
-
return Object.entries(obj).reduce((acc, [, value]) => {
|
|
5206
|
-
if (!Array.isArray(value)) {
|
|
5207
|
-
return acc;
|
|
5208
|
-
}
|
|
5209
|
-
return [...new Set([...acc, ...findAttributeInExpression(value)])];
|
|
5210
|
-
}, []);
|
|
5211
|
-
};
|
|
5212
|
-
const parseClientStyle = (style) => {
|
|
5213
|
-
if (!style) {
|
|
5214
|
-
return [];
|
|
5215
|
-
}
|
|
5216
|
-
return style?.items?.reduce((acc, curr) => {
|
|
5217
|
-
const paintAttributes = extractAttributesFromObject(curr.paint);
|
|
5218
|
-
const layoutAttributes = extractAttributesFromObject(curr.layout);
|
|
5219
|
-
const filterAttributes = curr.filter
|
|
5220
|
-
? findAttributeInExpression(curr.filter)
|
|
5221
|
-
: [];
|
|
5222
|
-
return [...new Set([...acc, ...paintAttributes, ...layoutAttributes, ...filterAttributes])];
|
|
5223
|
-
}, []);
|
|
5224
|
-
};
|
|
5225
|
-
|
|
5226
|
-
const convertSpToTurfFeature = (geometry) => {
|
|
5227
|
-
if (!geometry) {
|
|
5228
|
-
return;
|
|
5229
|
-
}
|
|
5230
|
-
switch (geometry.type) {
|
|
5231
|
-
case GeometryType.Point:
|
|
5232
|
-
return point$1(geometry.coordinates);
|
|
5233
|
-
case GeometryType.Multipoint:
|
|
5234
|
-
return multiPoint(geometry.coordinates);
|
|
5235
|
-
case GeometryType.Polyline:
|
|
5236
|
-
return multiLineString(geometry.coordinates);
|
|
5237
|
-
case GeometryType.Polygon:
|
|
5238
|
-
case GeometryType.Envelope:
|
|
5239
|
-
return polygon(geometry.coordinates);
|
|
5240
|
-
case GeometryType.MultiPolygon:
|
|
5241
|
-
return multiPolygon(geometry.coordinates);
|
|
5242
|
-
case GeometryType.GeometryCollection:
|
|
5243
|
-
return geometryCollection(geometry.geometries);
|
|
5244
|
-
}
|
|
5245
|
-
};
|
|
5246
|
-
|
|
5247
5180
|
const useZoomToFeatures = () => {
|
|
5248
5181
|
const { map } = useMapContext();
|
|
5249
5182
|
return useCallback((features, padding) => {
|
|
@@ -5252,7 +5185,7 @@ const useZoomToFeatures = () => {
|
|
|
5252
5185
|
}
|
|
5253
5186
|
const currentFeatureCenter = bbox({
|
|
5254
5187
|
type: "FeatureCollection",
|
|
5255
|
-
features: features
|
|
5188
|
+
features: features,
|
|
5256
5189
|
});
|
|
5257
5190
|
map.current.fitBounds(currentFeatureCenter, { padding: padding ?? 150 });
|
|
5258
5191
|
}, [map]);
|
|
@@ -5526,7 +5459,7 @@ const LayerTree = ({ layers, onlyMainTools }) => {
|
|
|
5526
5459
|
page.layers = treeNodesToProjectItems(page.layers, updatedNodes);
|
|
5527
5460
|
updateProject(newProjectInfo);
|
|
5528
5461
|
}, [pageIndex, projectInfo, updateProject]);
|
|
5529
|
-
return (jsx(DraggableTree, { nodes: nodes, disableDrag: onlyMainTools, options: { pastePlaceholderHeight: "0.
|
|
5462
|
+
return (jsx(DraggableTree, { nodes: nodes, disableDrag: onlyMainTools, options: { pastePlaceholderHeight: "0.025rem" }, onUpdate: onUpdate }));
|
|
5530
5463
|
};
|
|
5531
5464
|
|
|
5532
5465
|
const LayersListWrapper = styled(Flex) `
|
|
@@ -5539,6 +5472,7 @@ const LayerListContainer = styled(Flex) `
|
|
|
5539
5472
|
flex-grow: 1;
|
|
5540
5473
|
height: 100%;
|
|
5541
5474
|
box-sizing: border-box;
|
|
5475
|
+
padding-top: 0.25rem;
|
|
5542
5476
|
`;
|
|
5543
5477
|
|
|
5544
5478
|
const ElementValueWrapper = styled.div `
|
|
@@ -5909,9 +5843,9 @@ function getValueIndex(items, attributes) {
|
|
|
5909
5843
|
const getChartMarkers = (items, markers, dataSources) => {
|
|
5910
5844
|
if (typeof markers === "string") {
|
|
5911
5845
|
const dataSource = getDataSource(markers, dataSources);
|
|
5912
|
-
return dataSource?.features?.map(({
|
|
5913
|
-
...
|
|
5914
|
-
value: getValueIndex(items,
|
|
5846
|
+
return dataSource?.features?.map(({ properties }) => ({
|
|
5847
|
+
...properties,
|
|
5848
|
+
value: getValueIndex(items, properties),
|
|
5915
5849
|
})) || [];
|
|
5916
5850
|
}
|
|
5917
5851
|
return (markers?.map(marker => ({
|
|
@@ -6348,19 +6282,19 @@ const DataSourceProgressContainer = memo(({ config, elementConfig, type, innerCo
|
|
|
6348
6282
|
const totalUnits = useMemo(() => unitsElement?.type === "attributeUnits"
|
|
6349
6283
|
? attributes?.find(({ attributeName }) => attributeName === unitsElement.attributeName)?.stringFormat
|
|
6350
6284
|
?.unitsLabel
|
|
6351
|
-
: dataSource?.features?.[0]?.
|
|
6285
|
+
: dataSource?.features?.[0]?.properties[unitsElement?.attributeName], [attributes, dataSource?.features, unitsElement?.attributeName, unitsElement?.type]);
|
|
6352
6286
|
const totalValue = useMemo(() => {
|
|
6353
6287
|
const attribute = attributes?.find(({ attributeName }) => attributeName === valueElement?.attributeName);
|
|
6354
6288
|
const { type: attributeType, stringFormat } = attribute || {};
|
|
6355
|
-
const result = dataSource?.features?.reduce((total, feature) => total + feature.
|
|
6289
|
+
const result = dataSource?.features?.reduce((total, feature) => total + feature.properties[valueElement?.attributeName], 0);
|
|
6356
6290
|
return formatAttributeValue({ t, type: attributeType, value: result, stringFormat, noUnits: !!unitsElement?.type });
|
|
6357
6291
|
}, [attributes, dataSource?.features, unitsElement?.type, valueElement?.attributeName]);
|
|
6358
6292
|
const currentMaxValue = useMemo(() => {
|
|
6359
6293
|
if (typeof maxValue === "string") {
|
|
6360
|
-
return dataSource?.features?.[0]?.
|
|
6294
|
+
return dataSource?.features?.[0]?.properties[maxValue];
|
|
6361
6295
|
}
|
|
6362
6296
|
return (maxValue ||
|
|
6363
|
-
dataSource?.features?.reduce((result, item) => Math.max(result, item.
|
|
6297
|
+
dataSource?.features?.reduce((result, item) => Math.max(result, item.properties[valueElement?.attributeName]), 0));
|
|
6364
6298
|
}, [dataSource?.features, maxValue, valueElement?.attributeName]);
|
|
6365
6299
|
if (!relatedDataSource)
|
|
6366
6300
|
return null;
|
|
@@ -7744,7 +7678,7 @@ const LayerIconContainer = styled.div `
|
|
|
7744
7678
|
align-items: center;
|
|
7745
7679
|
justify-content: center;
|
|
7746
7680
|
min-width: 2rem;
|
|
7747
|
-
margin-right: 0.
|
|
7681
|
+
margin-right: 0.5rem;
|
|
7748
7682
|
`;
|
|
7749
7683
|
const AlertIconContainer = styled(Flex) `
|
|
7750
7684
|
align-items: center;
|
|
@@ -8177,7 +8111,7 @@ const useCameraAttribute = (cameraId) => {
|
|
|
8177
8111
|
// const { api } = useGlobalContext();
|
|
8178
8112
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
8179
8113
|
const [currentPage, setCurrentPage] = useState(0);
|
|
8180
|
-
const [timeline, /* setTimeline*/] = useState([]);
|
|
8114
|
+
const [timeline, /* setTimeline*/] = useState /* <ArchiveTimelineItemDc[]>*/([]);
|
|
8181
8115
|
const [isLoadingSnapshot, setLoadingSnapshot] = useState(false);
|
|
8182
8116
|
const [isLoadingTimeline, setLoadingTimeline] = useState(false);
|
|
8183
8117
|
const [isOpenGallery, toggleGallery] = useToggle();
|
|
@@ -8321,8 +8255,8 @@ const ElementControl = ({ elementConfig }) => {
|
|
|
8321
8255
|
return [];
|
|
8322
8256
|
}
|
|
8323
8257
|
return dataSource.features.map(item => ({
|
|
8324
|
-
value: item.
|
|
8325
|
-
text: item.
|
|
8258
|
+
value: item.properties?.[attributeName] || "",
|
|
8259
|
+
text: item.properties?.[control?.attributeAlias || attributeName] || "",
|
|
8326
8260
|
}));
|
|
8327
8261
|
}, [control?.attributeAlias, dataSource?.features, attributeName]);
|
|
8328
8262
|
const isDisabled = useMemo(() => {
|
|
@@ -8650,7 +8584,7 @@ const ElementSlideshow = ({ elementConfig, type, renderElement }) => {
|
|
|
8650
8584
|
const images = useMemo(() => {
|
|
8651
8585
|
const dataSource = relatedDataSource ? dataSources?.find(({ name }) => name === relatedDataSource) : null;
|
|
8652
8586
|
const array = dataSource
|
|
8653
|
-
? dataSource.features.map(feature => feature.
|
|
8587
|
+
? dataSource.features.map(feature => feature.properties[attributeName])
|
|
8654
8588
|
: getSlideshowImages({
|
|
8655
8589
|
element: elementConfig,
|
|
8656
8590
|
attribute: attributes?.find(({ name }) => name === attributeName),
|
|
@@ -9043,7 +8977,7 @@ function getFeatureAttributes(feature = {}, layer, dataSource) {
|
|
|
9043
8977
|
if (!layerDefinition) {
|
|
9044
8978
|
return [];
|
|
9045
8979
|
}
|
|
9046
|
-
const currentAttributes = !feature && dataSource ? dataSource.features[0].
|
|
8980
|
+
const currentAttributes = !feature && dataSource ? dataSource.features[0].properties : feature?.properties;
|
|
9047
8981
|
const { id: idValue } = feature || {};
|
|
9048
8982
|
const { idAttribute, attributes } = layerDefinition || {};
|
|
9049
8983
|
const layerAttributes = idAttribute
|
|
@@ -9060,7 +8994,7 @@ function getFeatureAttributes(feature = {}, layer, dataSource) {
|
|
|
9060
8994
|
readOnly: true,
|
|
9061
8995
|
}
|
|
9062
8996
|
: {
|
|
9063
|
-
value: currentAttributes?.[attributeName] || dataSource?.features?.[0]?.
|
|
8997
|
+
value: currentAttributes?.[attributeName] || dataSource?.features?.[0]?.properties?.[attributeName],
|
|
9064
8998
|
readOnly: isCalculated || !isEditable,
|
|
9065
8999
|
};
|
|
9066
9000
|
const clientData = layer.layerAttributes?.find(layerAttribute => layerAttribute.attributeName === attributeName)?.clientData;
|
|
@@ -9232,10 +9166,10 @@ const getListOptions = (items, filterName, configFilters) => {
|
|
|
9232
9166
|
if (!filter)
|
|
9233
9167
|
return [];
|
|
9234
9168
|
return (items?.map(item => ({
|
|
9235
|
-
text: item.
|
|
9236
|
-
value: item.
|
|
9237
|
-
min: filter.attributeMin ? item.
|
|
9238
|
-
max: filter.attributeMax ? item.
|
|
9169
|
+
text: item.properties[filter.attributeAlias || DEFAULT_ATTRIBUTE_NAME],
|
|
9170
|
+
value: item.properties[filter.attributeValue || DEFAULT_ATTRIBUTE_NAME],
|
|
9171
|
+
min: filter.attributeMin ? item.properties[filter.attributeMin] : null,
|
|
9172
|
+
max: filter.attributeMax ? item.properties[filter.attributeMax] : null,
|
|
9239
9173
|
})) || []);
|
|
9240
9174
|
};
|
|
9241
9175
|
|
|
@@ -9547,8 +9481,8 @@ const RangeDateFilter = ({ type, filter }) => {
|
|
|
9547
9481
|
const { filterName, label, minValue, maxValue, withTime } = filter.options;
|
|
9548
9482
|
const configFilter = useMemo(() => getConfigFilter(filterName, configFilters), [configFilters, filterName]);
|
|
9549
9483
|
const dataSource = useMemo(() => getDataSource(configFilter?.relatedDataSource, dataSources), [configFilter?.relatedDataSource, dataSources]);
|
|
9550
|
-
const { minFromData, maxFromData } = useMemo(() => dataSource?.features?.reduce((prev, {
|
|
9551
|
-
const date = getDate(
|
|
9484
|
+
const { minFromData, maxFromData } = useMemo(() => dataSource?.features?.reduce((prev, { properties }) => {
|
|
9485
|
+
const date = getDate(properties[configFilter?.attributeValue]);
|
|
9552
9486
|
return {
|
|
9553
9487
|
minFromData: !prev.minFromData ? date : date < prev.minFromData ? date : prev.minFromData,
|
|
9554
9488
|
maxFromData: !prev.maxFromData ? date : date > prev.maxFromData ? date : prev.maxFromData
|
|
@@ -9769,7 +9703,7 @@ const ChipsFilter = ({ type, filter, elementConfig, }) => {
|
|
|
9769
9703
|
return [];
|
|
9770
9704
|
const features = dataSource.features;
|
|
9771
9705
|
return features.map(feature => {
|
|
9772
|
-
const attrs = feature.
|
|
9706
|
+
const attrs = feature.properties;
|
|
9773
9707
|
const text = attrs[configFilter.attributeAlias || DEFAULT_ATTRIBUTE_NAME];
|
|
9774
9708
|
const value = attrs[configFilter.attributeValue || DEFAULT_ATTRIBUTE_NAME];
|
|
9775
9709
|
const chipIcon = iconAttribute
|
|
@@ -10474,7 +10408,7 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
10474
10408
|
const queryResponse = await api.eql.getPagedQueryResult({ saveInHistory: false }, getProps);
|
|
10475
10409
|
const descriptionResponse = await api.eql.getQueryDescription(getProps);
|
|
10476
10410
|
return {
|
|
10477
|
-
items: queryResponse.
|
|
10411
|
+
items: queryResponse.features,
|
|
10478
10412
|
attributeDefinition: descriptionResponse,
|
|
10479
10413
|
};
|
|
10480
10414
|
}
|
|
@@ -10522,7 +10456,7 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
10522
10456
|
!!currentDataSources[index].url ||
|
|
10523
10457
|
!!currentDataSources[index].resourceId;
|
|
10524
10458
|
newDataSources[index].layerName = currentDataSources[index].layerName;
|
|
10525
|
-
const items = response.status === "rejected" ? null : response.value?.
|
|
10459
|
+
const items = response.status === "rejected" ? null : response.value?.features || response.items;
|
|
10526
10460
|
newDataSources[index].features =
|
|
10527
10461
|
response.status === "rejected"
|
|
10528
10462
|
? null
|
|
@@ -10953,7 +10887,7 @@ const Chart = memo(({ config, element, elementConfig, type, renderElement }) =>
|
|
|
10953
10887
|
const attribute = layerInfo?.layerDefinition.attributes[attributeName];
|
|
10954
10888
|
const dataSource = getDataSource(dataSourceName, dataSources);
|
|
10955
10889
|
const units = attributeUnits
|
|
10956
|
-
? dataSource?.features?.[0]?.
|
|
10890
|
+
? dataSource?.features?.[0]?.properties?.[attributeUnits]
|
|
10957
10891
|
: attribute?.stringFormat?.unitsLabel;
|
|
10958
10892
|
const formatValue = attribute
|
|
10959
10893
|
? formatAttributeValue({ t, type: attribute.type, value, stringFormat: attribute.stringFormat, noUnits: true })
|
|
@@ -11552,6 +11486,52 @@ const getClientStyleItemPrefixSuffix = (geometryType, itemType) => {
|
|
|
11552
11486
|
}
|
|
11553
11487
|
};
|
|
11554
11488
|
|
|
11489
|
+
const findAttributeInExpression = (expression) => {
|
|
11490
|
+
if (Array.isArray(expression) && expression.length === 2 && expression[0] === "get") {
|
|
11491
|
+
return [expression[1]];
|
|
11492
|
+
}
|
|
11493
|
+
return expression.reduce((acc, curr) => {
|
|
11494
|
+
if (!Array.isArray(curr)) {
|
|
11495
|
+
return acc;
|
|
11496
|
+
}
|
|
11497
|
+
if (curr[0] === "get") {
|
|
11498
|
+
return [...new Set([...acc, curr[1]])];
|
|
11499
|
+
}
|
|
11500
|
+
return [...new Set([...acc, ...findAttributeInExpression(curr)])];
|
|
11501
|
+
}, []);
|
|
11502
|
+
};
|
|
11503
|
+
|
|
11504
|
+
const getActualExtrusionHeight = (paint) => {
|
|
11505
|
+
return Array.isArray(paint?.["fill-extrusion-height"]) && paint?.["fill-extrusion-height"][0] === "+"
|
|
11506
|
+
? paint?.["fill-extrusion-height"][1]
|
|
11507
|
+
: paint?.["fill-extrusion-height"];
|
|
11508
|
+
};
|
|
11509
|
+
|
|
11510
|
+
const extractAttributesFromObject = (obj) => {
|
|
11511
|
+
if (!obj || isEmpty(obj)) {
|
|
11512
|
+
return [];
|
|
11513
|
+
}
|
|
11514
|
+
return Object.entries(obj).reduce((acc, [, value]) => {
|
|
11515
|
+
if (!Array.isArray(value)) {
|
|
11516
|
+
return acc;
|
|
11517
|
+
}
|
|
11518
|
+
return [...new Set([...acc, ...findAttributeInExpression(value)])];
|
|
11519
|
+
}, []);
|
|
11520
|
+
};
|
|
11521
|
+
const parseClientStyle = (style) => {
|
|
11522
|
+
if (!style) {
|
|
11523
|
+
return [];
|
|
11524
|
+
}
|
|
11525
|
+
return style?.items?.reduce((acc, curr) => {
|
|
11526
|
+
const paintAttributes = extractAttributesFromObject(curr.paint);
|
|
11527
|
+
const layoutAttributes = extractAttributesFromObject(curr.layout);
|
|
11528
|
+
const filterAttributes = curr.filter
|
|
11529
|
+
? findAttributeInExpression(curr.filter)
|
|
11530
|
+
: [];
|
|
11531
|
+
return [...new Set([...acc, ...paintAttributes, ...layoutAttributes, ...filterAttributes])];
|
|
11532
|
+
}, []);
|
|
11533
|
+
};
|
|
11534
|
+
|
|
11555
11535
|
const VectorLayer = ({ layer, tileUrl, visible, beforeId, getLayerTempStyle, filterVersion, }) => {
|
|
11556
11536
|
const clientStyle = layer?.configuration?.clientStyle;
|
|
11557
11537
|
const { idAttribute, geometryType } = layer.layerDefinition || {};
|
|
@@ -11739,5 +11719,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
|
|
|
11739
11719
|
}, children: children }), upperSiblings] }));
|
|
11740
11720
|
};
|
|
11741
11721
|
|
|
11742
|
-
export { AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttributeGalleryContainer, AttributeLabel, BaseMapTheme, CONFIG_PAGES_ID, CONFIG_PAGE_ID, CameraContainer, Chart, ChartContainer, ChartLegend, ChartLoading, Container, ContainerChildren, ContainerLoading, ContainerTemplate, ContainerWrapper, ContainersGroupContainer, DEFAULT_ATTRIBUTE_NAME, DEFAULT_BARCHART_RADIUS, DEFAULT_BASE_MAP, DEFAULT_CHART_ANGLE, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CIRCLE_PAINT, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DATA_SOURCE_LIMIT, DEFAULT_DROPDOWN_WIDTH, DEFAULT_FILL_EXTRUSION_PAINT, DEFAULT_FILL_PAINT, DEFAULT_FILTER_PADDING, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LAT, DEFAULT_LINE_PAINT, DEFAULT_LNG, DEFAULT_PAGES_CONFIG, DEFAULT_PIECHART_RADIUS, DEFAULT_ZOOM, Dashboard, DashboardCheckbox, DashboardChip, DashboardContent, DashboardContext, DashboardDefaultHeader, DashboardHeader, DashboardLoading, DashboardPlaceholder, DashboardPlaceholderWrap, DashboardProvider, DashboardWrapper, DataSourceContainer, DataSourceError, DataSourceErrorContainer, DataSourceInnerContainer, DataSourceProgressContainer, DateFormat, DefaultAttributesContainer, DefaultHeaderContainer, DefaultHeaderWrapper, DividerContainer, EditGeometryType, ElementButton, ElementCamera, ElementChart, ElementChips, ElementControl, ElementIcon, ElementImage, ElementLegend, ElementLink, ElementMarkdown, ElementSlideshow, ElementSvg, ElementTooltip, ElementValueWrapper, ExpandableTitle, FEATURE_CARD_DEFAULT_COLORS, FEATURE_CARD_OTHER_COLOR, FILTERED_VALUE_OPACITY, FILTER_PREFIX, FeatureCardButtons, FeatureCardContext, FeatureCardDefaultHeader, FeatureCardGradientHeader, FeatureCardHeader, FeatureCardIconHeader, FeatureCardProvider, FeatureCardSlideshowHeader, FeatureCardTitle, FeatureControls, FeatureTitleContainer, FiltersContainer, GEOMETRY_ATTRIBUTE, GlobalContext, GlobalProvider, Header, HeaderContainer, HeaderFrontView, HeaderTemplate, HeaderTitleContainer, HiddenTitleItems, IconContainer, ImageContainer, LEFT_PANEL_HEADER_HEIGHT, Layer, LayerDescription, LayerGroup, LayerGroupList, LayerIcon, LayerIconContainer, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogTerminal, LogoContainer, MAX_CHART_WIDTH, Map$1 as Map, MapContext, MapProvider, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OneColumnContainer, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, RoundedBackgroundContainer, SERVER_NOTIFICATION_EVENT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, SvgImage, TIME_ZONE_FORMAT, TabsContainer, TextTrim, ThemeName, TitleContainer, TmsType, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, WidgetType, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyVarsToCondition, checkEqualOrIncludes, checkIsLoading,
|
|
11722
|
+
export { AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttributeGalleryContainer, AttributeLabel, BaseMapTheme, CONFIG_PAGES_ID, CONFIG_PAGE_ID, CameraContainer, Chart, ChartContainer, ChartLegend, ChartLoading, Container, ContainerChildren, ContainerLoading, ContainerTemplate, ContainerWrapper, ContainersGroupContainer, DEFAULT_ATTRIBUTE_NAME, DEFAULT_BARCHART_RADIUS, DEFAULT_BASE_MAP, DEFAULT_CHART_ANGLE, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CIRCLE_PAINT, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DATA_SOURCE_LIMIT, DEFAULT_DROPDOWN_WIDTH, DEFAULT_FILL_EXTRUSION_PAINT, DEFAULT_FILL_PAINT, DEFAULT_FILTER_PADDING, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LAT, DEFAULT_LINE_PAINT, DEFAULT_LNG, DEFAULT_PAGES_CONFIG, DEFAULT_PIECHART_RADIUS, DEFAULT_ZOOM, Dashboard, DashboardCheckbox, DashboardChip, DashboardContent, DashboardContext, DashboardDefaultHeader, DashboardHeader, DashboardLoading, DashboardPlaceholder, DashboardPlaceholderWrap, DashboardProvider, DashboardWrapper, DataSourceContainer, DataSourceError, DataSourceErrorContainer, DataSourceInnerContainer, DataSourceProgressContainer, DateFormat, DefaultAttributesContainer, DefaultHeaderContainer, DefaultHeaderWrapper, DividerContainer, EditGeometryType, ElementButton, ElementCamera, ElementChart, ElementChips, ElementControl, ElementIcon, ElementImage, ElementLegend, ElementLink, ElementMarkdown, ElementSlideshow, ElementSvg, ElementTooltip, ElementValueWrapper, ExpandableTitle, FEATURE_CARD_DEFAULT_COLORS, FEATURE_CARD_OTHER_COLOR, FILTERED_VALUE_OPACITY, FILTER_PREFIX, FeatureCardButtons, FeatureCardContext, FeatureCardDefaultHeader, FeatureCardGradientHeader, FeatureCardHeader, FeatureCardIconHeader, FeatureCardProvider, FeatureCardSlideshowHeader, FeatureCardTitle, FeatureControls, FeatureTitleContainer, FiltersContainer, GEOMETRY_ATTRIBUTE, GlobalContext, GlobalProvider, Header, HeaderContainer, HeaderFrontView, HeaderTemplate, HeaderTitleContainer, HiddenTitleItems, IconContainer, ImageContainer, LEFT_PANEL_HEADER_HEIGHT, Layer, LayerDescription, LayerGroup, LayerGroupList, LayerIcon, LayerIconContainer, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogTerminal, LogoContainer, MAX_CHART_WIDTH, Map$1 as Map, MapContext, MapProvider, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OneColumnContainer, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, RoundedBackgroundContainer, SERVER_NOTIFICATION_EVENT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, SvgImage, TIME_ZONE_FORMAT, TabsContainer, TextTrim, ThemeName, TitleContainer, TmsType, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, WidgetType, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyVarsToCondition, checkEqualOrIncludes, checkIsLoading, createConfigLayer, createConfigPage, createNewPageId, createTreeNode, dateOptions, debounce, decimalOpacityToHex, eqlParametersToPayload, findAttributeInExpression, formatArea, formatAttributeValue, formatChartRelatedValue, formatConditionValue, formatDataSourceCondition, formatDate$1 as formatDate, formatElementValue, formatLength, formatNumber, formatPolygonMeasure, getActualExtrusionHeight, getAttributeByName, getAttributeValue, getAttributesConfiguration, getChartAxes, getChartFilterName, getChartMarkers, getConfigFilter, getContainerComponent, getDashboardHeader, getDataFromAttributes, getDataFromRelatedFeatures, getDataSource, getDataSourceFilterValue, getDate, getDefaultConfig, getElementValue, getFeatureAttributes, getFeatureCardHeader, getFilterComponent, getFilterSelectedItems, getFilterValue, getFormattedAttributes, getGradientColors, getLayerDefinition, getLayerInfo, getLayerInfoFromDataSources, getPagesFromConfig, getPagesFromProjectInfo, getProxyService, getRelatedAttribute, getRenderElement, getResourceUrl, getRootElementId, getSelectedFilterValue, getSlideshowImages, getSvgUrl, getTemplateNameFromAttribute, getTotalFromAttributes, getTotalFromRelatedFeatures, hexToRgba, isCompositeLayerConfiguration, isEmptyElementValue, isEmptyValue, isHiddenEmptyValue, isLayerService, isNotValidSelectedTab, isNumeric, isObject, isProxyService, isVisibleContainer, numberOptions, parseClientStyle, parseIconNames, parseIconNamesFromClientStyle, pieChartTooltipFromAttributes, pieChartTooltipFromRelatedFeatures, pointOptions, removeDataSource, rgbToHex, roundTotalSum, sliceShownOtherItems, timeOptions, tooltipNameFromAttributes, tooltipValueFromAttributes, tooltipValueFromRelatedFeatures, transparentizeColor, treeNodesToProjectItems, useAppHeight, useChartChange, useChartData, useDashboardHeader, useDataSources, useDebouncedCallback, useDiffPage, useExpandableContainers, useExportPdf, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useIconsFromLayers, useLayerParams, useMapContext, useMapDraw, useMapImages, useProjectDashboardInit, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRenderElement, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useZoomToFeatures, useZoomToPoint };
|
|
11743
11723
|
//# sourceMappingURL=react.esm.js.map
|