@evergis/react 4.0.41 → 4.0.43
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/types.d.ts +3 -2
- package/dist/components/Dashboard/utils/formatDataSourceCondition.d.ts +6 -3
- package/dist/components/LayerTree/types.d.ts +2 -0
- package/dist/components/LayerTree/utils/createTreeNode.d.ts +5 -1
- package/dist/components/LayerTree/utils/treeNodesToProjectItems.d.ts +1 -1
- package/dist/hooks/task/constants.d.ts +2 -0
- package/dist/hooks/task/utils/pollSubtaskCompletion.d.ts +15 -0
- package/dist/index.js +88 -30
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +85 -29
- package/dist/react.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/react.esm.js
CHANGED
|
@@ -9,8 +9,7 @@ import { Color as Color$1 } from '@evergis/color';
|
|
|
9
9
|
import { multiPolygon, polygon, multiLineString, lineString, multiPoint, point as point$1, bbox } from '@turf/turf';
|
|
10
10
|
import { isValid, format, parseJSON, parseISO, toDate } from 'date-fns';
|
|
11
11
|
import { isNil, uniqueId, isEmpty, isEqual, unescape } from 'lodash';
|
|
12
|
-
import { ru } from 'date-fns/locale
|
|
13
|
-
import { enUS } from 'date-fns/locale/en-US';
|
|
12
|
+
import { ru, enUS } from 'date-fns/locale';
|
|
14
13
|
import { HubConnectionBuilder, HttpTransportType, LogLevel } from '@microsoft/signalr';
|
|
15
14
|
import { changeProps, returnFound } from 'find-and';
|
|
16
15
|
import { jsPDF } from 'jspdf';
|
|
@@ -4702,10 +4701,7 @@ const applyVarsToCondition = ({ section, configFilters, filters, attributes, lay
|
|
|
4702
4701
|
});
|
|
4703
4702
|
return isSingle ? result?.[0] : result;
|
|
4704
4703
|
};
|
|
4705
|
-
const
|
|
4706
|
-
if (!condition) {
|
|
4707
|
-
return "";
|
|
4708
|
-
}
|
|
4704
|
+
const formatSingleCondition = (condition, { configFilters, filters, attributes, eqlParameters, layerParams, geometry }) => {
|
|
4709
4705
|
const setParams = condition.match(new RegExp("\\$\\([^)]+\\)", "g"));
|
|
4710
4706
|
const setParamsSection = applyVarsToCondition({
|
|
4711
4707
|
section: setParams,
|
|
@@ -4734,6 +4730,15 @@ const formatDataSourceCondition = ({ condition, configFilters, filters, attribut
|
|
|
4734
4730
|
? setParamsSection.join("")
|
|
4735
4731
|
: conditionSection.join(splitter);
|
|
4736
4732
|
};
|
|
4733
|
+
const formatDataSourceCondition = ({ condition, ...rest }) => {
|
|
4734
|
+
if (Array.isArray(condition)) {
|
|
4735
|
+
return condition.map(item => formatSingleCondition(item, rest));
|
|
4736
|
+
}
|
|
4737
|
+
if (!condition) {
|
|
4738
|
+
return "";
|
|
4739
|
+
}
|
|
4740
|
+
return formatSingleCondition(condition, rest);
|
|
4741
|
+
};
|
|
4737
4742
|
|
|
4738
4743
|
const DashboardChipsContainer = styled(Flex) `
|
|
4739
4744
|
flex-wrap: wrap;
|
|
@@ -5098,7 +5103,7 @@ const useMapImages = ({ images }) => {
|
|
|
5098
5103
|
else {
|
|
5099
5104
|
// PNG/другие форматы: используем стандартную загрузку Mapbox
|
|
5100
5105
|
return new Promise((resolve, reject) => {
|
|
5101
|
-
map.current.loadImage(config.url).then(
|
|
5106
|
+
map.current.loadImage(config.url).then(image => {
|
|
5102
5107
|
if (image) {
|
|
5103
5108
|
map.current.addImage(config.name, image, {
|
|
5104
5109
|
sdf,
|
|
@@ -5487,6 +5492,8 @@ const SERVER_NOTIFICATION_EVENT = {
|
|
|
5487
5492
|
PythonProgressNotification: "ReceivePythonProgressNotification",
|
|
5488
5493
|
PythonSandboxStats: "ReceivePythonSandboxStatsNotification",
|
|
5489
5494
|
};
|
|
5495
|
+
const POLL_SUBTASK_INTERVAL_MS = 500;
|
|
5496
|
+
const POLL_SUBTASK_TIMEOUT_MS = 15_000;
|
|
5490
5497
|
|
|
5491
5498
|
const usePythonSandbox = () => {
|
|
5492
5499
|
const { api } = useGlobalContext();
|
|
@@ -5498,6 +5505,25 @@ const usePythonSandbox = () => {
|
|
|
5498
5505
|
return { preparePythonSandbox };
|
|
5499
5506
|
};
|
|
5500
5507
|
|
|
5508
|
+
const FINAL_STATUSES = [
|
|
5509
|
+
RemoteTaskStatus.Completed,
|
|
5510
|
+
RemoteTaskStatus.Error,
|
|
5511
|
+
RemoteTaskStatus.Interrupted,
|
|
5512
|
+
RemoteTaskStatus.Timeout,
|
|
5513
|
+
];
|
|
5514
|
+
const wait = (ms) => new Promise(resolve => window.setTimeout(resolve, ms));
|
|
5515
|
+
const pollSubtaskCompletion = async ({ taskId, api, intervalMs = POLL_SUBTASK_INTERVAL_MS, timeoutMs = POLL_SUBTASK_TIMEOUT_MS, }) => {
|
|
5516
|
+
const deadline = Date.now() + timeoutMs;
|
|
5517
|
+
let subTask = (await api.remoteTaskManager.get(taskId))?.[0] ?? null;
|
|
5518
|
+
while (subTask && !FINAL_STATUSES.includes(subTask.status)) {
|
|
5519
|
+
if (Date.now() >= deadline)
|
|
5520
|
+
return null;
|
|
5521
|
+
await wait(intervalMs);
|
|
5522
|
+
subTask = (await api.remoteTaskManager.get(taskId))?.[0] ?? null;
|
|
5523
|
+
}
|
|
5524
|
+
return subTask;
|
|
5525
|
+
};
|
|
5526
|
+
|
|
5501
5527
|
const usePythonTask = () => {
|
|
5502
5528
|
const { api, t } = useGlobalContext();
|
|
5503
5529
|
const { addSubscription, connection, unsubscribeById } = useServerNotificationsContext();
|
|
@@ -5574,8 +5600,24 @@ const usePythonTask = () => {
|
|
|
5574
5600
|
connection.off(SERVER_NOTIFICATION_EVENT.PythonProgressNotification, onNotification);
|
|
5575
5601
|
}
|
|
5576
5602
|
if (data.status === RemoteTaskStatus.Completed) {
|
|
5577
|
-
|
|
5578
|
-
|
|
5603
|
+
try {
|
|
5604
|
+
const subTask = await pollSubtaskCompletion({ taskId: newTaskId, api });
|
|
5605
|
+
if (subTask?.status === RemoteTaskStatus.Completed) {
|
|
5606
|
+
const response = subTask.results?.response;
|
|
5607
|
+
setResult(typeof response === "object" && response !== null
|
|
5608
|
+
? response
|
|
5609
|
+
: null);
|
|
5610
|
+
}
|
|
5611
|
+
else {
|
|
5612
|
+
setError(new Error(t("taskResultUnavailable", {
|
|
5613
|
+
ns: "devMode",
|
|
5614
|
+
defaultValue: "Не удалось получить результат задачи",
|
|
5615
|
+
})));
|
|
5616
|
+
}
|
|
5617
|
+
}
|
|
5618
|
+
catch (e) {
|
|
5619
|
+
setError(e instanceof Error ? e : new Error(String(e)));
|
|
5620
|
+
}
|
|
5579
5621
|
}
|
|
5580
5622
|
}
|
|
5581
5623
|
};
|
|
@@ -5694,6 +5736,7 @@ const createTreeNode = (layer, Component, onlyMainTools) => {
|
|
|
5694
5736
|
id: layer.name,
|
|
5695
5737
|
children: layer.children?.map(child => createTreeNode(child, Component, onlyMainTools)),
|
|
5696
5738
|
isExpanded: layer.isExpanded,
|
|
5739
|
+
disableDrag: layer.disableDrag,
|
|
5697
5740
|
render: (node) => {
|
|
5698
5741
|
return layer.children ? (jsx(LayerGroup, { group: {
|
|
5699
5742
|
...layer,
|
|
@@ -5708,21 +5751,30 @@ const treeNodesToProjectItems = (currentProjectItems, treeNodes) => {
|
|
|
5708
5751
|
return currentProjectItems;
|
|
5709
5752
|
}
|
|
5710
5753
|
const combineProjectItems = (nodes) => {
|
|
5711
|
-
return nodes.
|
|
5712
|
-
|
|
5713
|
-
|
|
5754
|
+
return nodes.reduce((result, node) => {
|
|
5755
|
+
const original = returnFound(currentProjectItems, { name: node.id });
|
|
5756
|
+
if (!original) {
|
|
5757
|
+
return result;
|
|
5758
|
+
}
|
|
5759
|
+
result.push({
|
|
5760
|
+
...original,
|
|
5714
5761
|
children: node.children ? combineProjectItems(node.children) : undefined,
|
|
5715
|
-
};
|
|
5716
|
-
|
|
5762
|
+
});
|
|
5763
|
+
return result;
|
|
5764
|
+
}, []);
|
|
5717
5765
|
};
|
|
5718
5766
|
return combineProjectItems(treeNodes);
|
|
5719
5767
|
};
|
|
5720
5768
|
|
|
5721
|
-
const LayerTree = ({ layers, onlyMainTools }) => {
|
|
5769
|
+
const LayerTree = ({ layers, onlyMainTools, onUpdate: externalOnUpdate }) => {
|
|
5722
5770
|
const { projectInfo, updateProject, components: { LayerItem } } = useWidgetContext();
|
|
5723
5771
|
const { pageIndex } = useWidgetPage();
|
|
5724
5772
|
const nodes = useMemo(() => layers?.map(layer => createTreeNode(layer, LayerItem, onlyMainTools)), [LayerItem, layers, onlyMainTools]);
|
|
5725
5773
|
const onUpdate = useCallback((updatedNodes) => {
|
|
5774
|
+
if (externalOnUpdate) {
|
|
5775
|
+
externalOnUpdate(updatedNodes);
|
|
5776
|
+
return;
|
|
5777
|
+
}
|
|
5726
5778
|
const newProjectInfo = JSON.parse(JSON.stringify(projectInfo));
|
|
5727
5779
|
const page = getPagesFromProjectInfo(newProjectInfo)?.[pageIndex - 1];
|
|
5728
5780
|
if (!page) {
|
|
@@ -5730,7 +5782,7 @@ const LayerTree = ({ layers, onlyMainTools }) => {
|
|
|
5730
5782
|
}
|
|
5731
5783
|
page.layers = treeNodesToProjectItems(page.layers, updatedNodes);
|
|
5732
5784
|
updateProject(newProjectInfo);
|
|
5733
|
-
}, [pageIndex, projectInfo, updateProject]);
|
|
5785
|
+
}, [externalOnUpdate, pageIndex, projectInfo, updateProject]);
|
|
5734
5786
|
return (jsx(DraggableTree, { nodes: nodes, disableDrag: onlyMainTools, options: { pastePlaceholderHeight: "0.025rem" }, onUpdate: onUpdate }));
|
|
5735
5787
|
};
|
|
5736
5788
|
|
|
@@ -10981,6 +11033,7 @@ const useDashboardHeader = () => {
|
|
|
10981
11033
|
};
|
|
10982
11034
|
|
|
10983
11035
|
/* eslint-disable max-lines */
|
|
11036
|
+
const toConditionsArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
|
|
10984
11037
|
const useDataSources = ({ type: widgetType, config, attributes, filters, layerParams, eqlParameters, }) => {
|
|
10985
11038
|
const { ewktGeometry, api } = useGlobalContext();
|
|
10986
11039
|
const { dataSources, layerInfo } = useWidgetContext(widgetType);
|
|
@@ -11057,24 +11110,25 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
11057
11110
|
attributes: descriptionResponse,
|
|
11058
11111
|
};
|
|
11059
11112
|
}
|
|
11113
|
+
const formatted = condition
|
|
11114
|
+
? formatDataSourceCondition({
|
|
11115
|
+
condition,
|
|
11116
|
+
configFilters,
|
|
11117
|
+
filters: selectedFilters,
|
|
11118
|
+
geometry: ewktGeometry,
|
|
11119
|
+
attributes,
|
|
11120
|
+
layerParams,
|
|
11121
|
+
eqlParameters,
|
|
11122
|
+
})
|
|
11123
|
+
: undefined;
|
|
11060
11124
|
return api.layers.getFeatures(layerName, {
|
|
11061
11125
|
offset,
|
|
11062
11126
|
limit: limit || DEFAULT_DATA_SOURCE_LIMIT,
|
|
11063
11127
|
withGeom: false,
|
|
11064
11128
|
parameters: newParams,
|
|
11065
11129
|
conditions: isEmpty(parameters) && condition
|
|
11066
|
-
?
|
|
11067
|
-
|
|
11068
|
-
condition,
|
|
11069
|
-
configFilters,
|
|
11070
|
-
filters: selectedFilters,
|
|
11071
|
-
geometry: ewktGeometry,
|
|
11072
|
-
attributes,
|
|
11073
|
-
layerParams,
|
|
11074
|
-
eqlParameters,
|
|
11075
|
-
}),
|
|
11076
|
-
]
|
|
11077
|
-
: [condition, query].filter(Boolean),
|
|
11130
|
+
? toConditionsArray(formatted)
|
|
11131
|
+
: [...toConditionsArray(condition), query].filter(Boolean),
|
|
11078
11132
|
});
|
|
11079
11133
|
}, [
|
|
11080
11134
|
filters,
|
|
@@ -11086,6 +11140,8 @@ const useDataSources = ({ type: widgetType, config, attributes, filters, layerPa
|
|
|
11086
11140
|
api.eql,
|
|
11087
11141
|
attributes,
|
|
11088
11142
|
layerParams,
|
|
11143
|
+
layerInfo,
|
|
11144
|
+
projectDataSources,
|
|
11089
11145
|
eqlParameters,
|
|
11090
11146
|
]);
|
|
11091
11147
|
const getUpdatingDataSources = useCallback(() => {
|
|
@@ -12423,5 +12479,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
|
|
|
12423
12479
|
}, children: children }), upperSiblings] }));
|
|
12424
12480
|
};
|
|
12425
12481
|
|
|
12426
|
-
export { AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttributeGalleryContainer, AttributeLabel, BASE_CONTAINER_STYLE, 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, PROVIDER_PREFIX, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, ProviderPrefix, RoundedBackgroundContainer, SERVER_NOTIFICATION_EVENT, STACK_BAR_TOTAL_HEIGHT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, SvgImage, TIME_ZONE_FORMAT, TabsContainer, TextTrim, ThemeName, TitleContainer, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, WidgetType, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyVarsToCondition, checkEqualOrIncludes, checkIsLoading, convertSpToTurfFeature, 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, 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, metersPerPixel, numberOptions, parseClientStyle, parseIconNames, parseIconNamesFromClientStyle, pieChartTooltipFromAttributes, pieChartTooltipFromRelatedFeatures, pointOptions, removeDataSource, rgbToHex, roundTotalSum, sliceShownOtherItems, timeOptions, tooltipNameFromAttributes, tooltipValueFromAttributes, tooltipValueFromRelatedFeatures, transparentizeColor, treeNodesToProjectItems, updateDataSource, useAppHeight, useAutoCompleteControl, useChartChange, useChartData, useCurrentPageLayers, useCustomFeatureSelect, useDashboardHeader, useDataSources, useDebouncedCallback, useDiffPage, useExpandableContainers, useExportPdf, useFetchImageWithAuth, useFetchWithAuth, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useIconsFromLayers, useLayerHiddenAttributes, useLayerParams, useMapContext, useMapDraw, useMapImages, useMaxZoomTo, useProjectDashboardInit, usePythonSandbox, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRenderElement, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useVisibleProjectItems, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useZoomToFeatures, useZoomToPoint };
|
|
12482
|
+
export { AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttributeGalleryContainer, AttributeLabel, BASE_CONTAINER_STYLE, 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, POLL_SUBTASK_INTERVAL_MS, POLL_SUBTASK_TIMEOUT_MS, PROVIDER_PREFIX, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, ProviderPrefix, RoundedBackgroundContainer, SERVER_NOTIFICATION_EVENT, STACK_BAR_TOTAL_HEIGHT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, SvgImage, TIME_ZONE_FORMAT, TabsContainer, TextTrim, ThemeName, TitleContainer, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, WidgetType, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyVarsToCondition, checkEqualOrIncludes, checkIsLoading, convertSpToTurfFeature, 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, 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, metersPerPixel, numberOptions, parseClientStyle, parseIconNames, parseIconNamesFromClientStyle, pieChartTooltipFromAttributes, pieChartTooltipFromRelatedFeatures, pointOptions, removeDataSource, rgbToHex, roundTotalSum, sliceShownOtherItems, timeOptions, tooltipNameFromAttributes, tooltipValueFromAttributes, tooltipValueFromRelatedFeatures, transparentizeColor, treeNodesToProjectItems, updateDataSource, useAppHeight, useAutoCompleteControl, useChartChange, useChartData, useCurrentPageLayers, useCustomFeatureSelect, useDashboardHeader, useDataSources, useDebouncedCallback, useDiffPage, useExpandableContainers, useExportPdf, useFetchImageWithAuth, useFetchWithAuth, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useIconsFromLayers, useLayerHiddenAttributes, useLayerParams, useMapContext, useMapDraw, useMapImages, useMaxZoomTo, useProjectDashboardInit, usePythonSandbox, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRenderElement, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useVisibleProjectItems, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useZoomToFeatures, useZoomToPoint };
|
|
12427
12483
|
//# sourceMappingURL=react.esm.js.map
|