@evergis/react 4.0.36 → 4.0.38

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/react.esm.js CHANGED
@@ -7,9 +7,9 @@ import { AttributeType, STORAGE_TOKEN_KEY, generateId, parseJwt, STORAGE_REFRESH
7
7
  import Gradient from 'javascript-color-gradient';
8
8
  import { Color as Color$1 } from '@evergis/color';
9
9
  import { isValid, format, parseJSON, parseISO, toDate } from 'date-fns';
10
+ import { isNil, uniqueId, isEmpty, isEqual, unescape } from 'lodash';
10
11
  import { ru } from 'date-fns/locale/ru';
11
12
  import { enUS } from 'date-fns/locale/en-US';
12
- import { uniqueId, isNil, isEmpty, isEqual, unescape } from 'lodash';
13
13
  import { HubConnectionBuilder, HttpTransportType, LogLevel } from '@microsoft/signalr';
14
14
  import { changeProps, returnFound } from 'find-and';
15
15
  import { jsPDF } from 'jspdf';
@@ -3827,15 +3827,16 @@ const formatNumberValue = (stringFormat, value, type, noUnits = false) => {
3827
3827
  return currentValue?.toString() || "";
3828
3828
  };
3829
3829
  const formatAttributeValue = ({ t, type, value, stringFormat, noUnits = false }) => {
3830
+ const isNilValue = isNil(value);
3830
3831
  if (type === AttributeType.Point) {
3831
- if (!stringFormat?.format || !value) {
3832
+ if (!stringFormat?.format || isNilValue) {
3832
3833
  return null;
3833
3834
  }
3834
3835
  const { coordinates } = value;
3835
3836
  return formatPointValue({ t, stringFormat, value: coordinates });
3836
3837
  }
3837
3838
  if (type === AttributeType.DateTime) {
3838
- if (!stringFormat?.format || !value)
3839
+ if (!stringFormat?.format || isNilValue)
3839
3840
  return null;
3840
3841
  return formatDateValue(stringFormat, value);
3841
3842
  }
@@ -3856,12 +3857,12 @@ const formatAttributeValue = ({ t, type, value, stringFormat, noUnits = false })
3856
3857
  return formatNumberValue(stringFormat, value, type, noUnits);
3857
3858
  }
3858
3859
  if (type === AttributeType.Json) {
3859
- if (!value || value?.length === 0) {
3860
+ if (isNilValue || value?.length === 0) {
3860
3861
  return "";
3861
3862
  }
3862
3863
  return `${t("total", { ns: "table" })} ${value.length}`;
3863
3864
  }
3864
- return value ? value.toString() : "";
3865
+ return !isNilValue ? value.toString() : "";
3865
3866
  };
3866
3867
  const formatNumber = (number) => {
3867
3868
  let result = "";
@@ -5384,6 +5385,70 @@ const useLayerParams = (layer) => {
5384
5385
  return layerParams;
5385
5386
  };
5386
5387
 
5388
+ const useMaxZoomTo = () => {
5389
+ const { currentPage } = useWidgetPage();
5390
+ return useCallback((layerName) => {
5391
+ if (!layerName) {
5392
+ return [currentPage?.options?.maxZoomTo, undefined];
5393
+ }
5394
+ return [currentPage?.options?.maxZoomTo, currentPage?.layers?.find(item => item.name === layerName)?.maxZoomTo];
5395
+ }, [currentPage?.layers, currentPage?.options?.maxZoomTo]);
5396
+ };
5397
+
5398
+ const useCustomFeatureSelect = () => {
5399
+ const { currentPage } = useWidgetPage();
5400
+ return useCallback((layerName) => {
5401
+ if (!layerName) {
5402
+ return [currentPage?.options?.customFeatureSelect, undefined];
5403
+ }
5404
+ return [
5405
+ currentPage?.options?.customFeatureSelect,
5406
+ currentPage?.layers?.find(item => item.name === layerName)?.customFeatureSelect,
5407
+ ];
5408
+ }, [currentPage?.layers, currentPage?.options?.customFeatureSelect]);
5409
+ };
5410
+
5411
+ const useCurrentPageLayers = () => {
5412
+ const { currentPage } = useWidgetPage();
5413
+ return useMemo(() => currentPage?.layers || [], [currentPage?.layers]);
5414
+ };
5415
+
5416
+ const useLayerHiddenAttributes = (layerName) => {
5417
+ const { currentPage, updateConfigPage } = useWidgetPage();
5418
+ const layerHiddenAttributes = useMemo(() => {
5419
+ return currentPage?.layers?.find(item => item.name === layerName)?.hiddenAttributes ?? [];
5420
+ }, [currentPage?.layers, layerName]);
5421
+ const updateLayerHiddenAttributes = useCallback((updatedHiddenAttributes) => {
5422
+ updateConfigPage({
5423
+ ...currentPage,
5424
+ layers: currentPage?.layers?.map(item => {
5425
+ return item.name === layerName
5426
+ ? {
5427
+ ...item,
5428
+ hiddenAttributes: updatedHiddenAttributes,
5429
+ }
5430
+ : item;
5431
+ }),
5432
+ });
5433
+ }, [currentPage, layerName, updateConfigPage]);
5434
+ return [layerHiddenAttributes, updateLayerHiddenAttributes];
5435
+ };
5436
+
5437
+ const useVisibleProjectItems = (applyMinMaxScale) => {
5438
+ const { map } = useMapContext();
5439
+ const projectItems = useCurrentPageLayers();
5440
+ const zoomChange = useMemo(() => (applyMinMaxScale && map.current?.getZoom() !== undefined ? Math.round(map.current?.getZoom()) : undefined), [applyMinMaxScale, map.current?.getZoom()]);
5441
+ return useMemo(() => {
5442
+ if (map.current?.getZoom() === undefined) {
5443
+ return [];
5444
+ }
5445
+ return (projectItems?.filter(item => item.isVisible &&
5446
+ (!applyMinMaxScale ||
5447
+ (Math.round(map.current.getZoom()) >= (item.minScale ?? 0) &&
5448
+ Math.round(map.current.getZoom()) <= (item.maxScale ?? 30)))) ?? []);
5449
+ }, [projectItems, zoomChange, applyMinMaxScale]);
5450
+ };
5451
+
5387
5452
  const useServerNotificationsContext = () => {
5388
5453
  return useContext(ServerNotificationsContext);
5389
5454
  };
@@ -6342,18 +6407,7 @@ const DataSourceInnerContainer = memo(({ config, elementConfig, feature, maxValu
6342
6407
  setSelectedTabId,
6343
6408
  pageIndex,
6344
6409
  type,
6345
- }), [
6346
- getRenderElement,
6347
- config,
6348
- elementConfig,
6349
- attributes,
6350
- layerInfo,
6351
- expandedContainers,
6352
- selectedTabId,
6353
- setSelectedTabId,
6354
- pageIndex,
6355
- type,
6356
- ]);
6410
+ }), [config, elementConfig, attributes, layerInfo, expandedContainers, selectedTabId, setSelectedTabId, pageIndex, type]);
6357
6411
  if (!InnerContainer) {
6358
6412
  return null;
6359
6413
  }
@@ -8148,6 +8202,11 @@ const FeatureCardGradientHeader = ({ isRow }) => {
8148
8202
  }) })] }), jsx(FeatureCardButtons, {})] }) }) }) }));
8149
8203
  };
8150
8204
 
8205
+ const LayerIconClickable = styled.div `
8206
+ display: flex;
8207
+ align-items: center;
8208
+ cursor: pointer;
8209
+ `;
8151
8210
  const HeaderFontColorMixin = css `
8152
8211
  ${HeaderTitleContainer}, ${HeaderTitleContainer} *, ${LayerDescription} {
8153
8212
  color: ${({ $fontColor }) => $fontColor};
@@ -8225,13 +8284,18 @@ const IconHeaderWrapper = styled.div `
8225
8284
  `;
8226
8285
 
8227
8286
  const FeatureCardIconHeader = ({ isRow }) => {
8228
- const { layerInfo } = useWidgetContext(WidgetType.FeatureCard);
8287
+ const { t } = useGlobalContext();
8288
+ const { layerInfo, feature } = useWidgetContext(WidgetType.FeatureCard);
8229
8289
  const { config } = useWidgetConfig(WidgetType.FeatureCard);
8290
+ const zoomToFeatures = useZoomToFeatures();
8291
+ const getMaxZoomTo = useMaxZoomTo();
8292
+ const [optionsMaxZoomTo, layerMaxZoomTo] = useMemo(() => getMaxZoomTo(layerInfo?.name), [layerInfo?.name, getMaxZoomTo]);
8230
8293
  const { header } = config || {};
8231
8294
  const { options } = header || {};
8232
8295
  const { fontColor, bgColor, bigIcon } = options || {};
8233
8296
  const renderElement = useHeaderRender(header);
8234
- return (jsx(IconHeaderWrapper, { "$fontColor": fontColor, "$bgColor": bgColor, "$bigIcon": bigIcon, children: jsx(ThemeProvider, { theme: defaultTheme, children: jsxs(Header, { "$isRow": isRow, children: [jsxs(HeaderFrontView, { children: [jsxs(HeaderContainer, { children: [jsx(LayerIcon, { layerInfo: layerInfo }), jsx(FeatureCardTitle, { title: renderElement({
8297
+ const handleIconClick = useCallback(() => zoomToFeatures([feature], { maxZoom: layerMaxZoomTo ?? optionsMaxZoomTo }), [zoomToFeatures, feature, layerMaxZoomTo, optionsMaxZoomTo]);
8298
+ return (jsx(IconHeaderWrapper, { "$fontColor": fontColor, "$bgColor": bgColor, "$bigIcon": bigIcon, children: jsx(ThemeProvider, { theme: defaultTheme, children: jsxs(Header, { "$isRow": isRow, children: [jsxs(HeaderFrontView, { children: [jsxs(HeaderContainer, { children: [jsx(Tooltip$1, { arrow: true, placement: "top", content: t("zoomToFeature", { ns: "dashboard", defaultValue: "Приблизить к объекту" }), delay: [600, 0], children: ref => (jsx(LayerIconClickable, { ref: ref, onClick: handleIconClick, children: jsx(LayerIcon, { layerInfo: layerInfo }) })) }), jsx(FeatureCardTitle, { title: renderElement({
8235
8299
  id: "title",
8236
8300
  wrap: false,
8237
8301
  }), description: renderElement({
@@ -9533,7 +9597,7 @@ function getFeatureAttributes(feature = {}, layer, dataSource) {
9533
9597
  readOnly: true,
9534
9598
  }
9535
9599
  : {
9536
- value: currentAttributes?.[attributeName] || dataSource?.features?.[0]?.properties?.[attributeName],
9600
+ value: currentAttributes?.[attributeName] ?? dataSource?.features?.[0]?.properties?.[attributeName],
9537
9601
  readOnly: attributeConfigurationType === AttributeConfigurationType.Calculated || !isEditable,
9538
9602
  };
9539
9603
  const clientData = layer?.configuration?.attributesConfiguration?.attributes?.find(layerAttribute => layerAttribute.attributeName === attributeName)?.clientData;
@@ -12330,5 +12394,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
12330
12394
  }, children: children }), upperSiblings] }));
12331
12395
  };
12332
12396
 
12333
- 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, 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, useDashboardHeader, useDataSources, useDebouncedCallback, useDiffPage, useExpandableContainers, useExportPdf, useFetchImageWithAuth, useFetchWithAuth, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useIconsFromLayers, useLayerParams, useMapContext, useMapDraw, useMapImages, useProjectDashboardInit, usePythonSandbox, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRenderElement, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useZoomToFeatures, useZoomToPoint };
12397
+ 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, 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 };
12334
12398
  //# sourceMappingURL=react.esm.js.map