@evergis/react 3.1.56 → 3.1.58

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
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
2
- import { IconButton, Flex, transition, Chip, Divider, Icon, Description, FlexSpan, IconToggle, Popup, Menu, DraggableTree, shadows, LegendToggler, Tooltip as Tooltip$1, DropdownField, MultiSelectContainer, IconButtonButton, FlatButton, DraggableTreeContainer, WaitingButton, LinearProgress, H2, ThemeProvider, defaultTheme, Preview, Blank, Popover, Expander, darkTheme, UploaderItemArea, UploaderTitleWrapper, Uploader, NumberRangeSlider, useAsyncAutocomplete, AutoComplete, Dropdown, Checkbox, CircularProgress, RangeNumberInput, dateFormat } from '@evergis/uilib-gl';
2
+ import { IconButton, Flex, transition, Chip, Icon, Description, FlexSpan, IconToggle, Popup, Menu, DraggableTree, shadows, Divider, LegendToggler, Tooltip as Tooltip$1, DropdownField, MultiSelectContainer, IconButtonButton, FlatButton, DraggableTreeContainer, WaitingButton, LinearProgress, H2, ThemeProvider, defaultTheme, Preview, Blank, Popover, Expander, darkTheme, UploaderItemArea, UploaderTitleWrapper, Uploader, NumberRangeSlider, useAsyncAutocomplete, AutoComplete, Dropdown, Checkbox, CircularProgress, RangeNumberInput, dateFormat } from '@evergis/uilib-gl';
3
3
  import { createContext, memo, useRef, useState, useEffect, useCallback, useContext, useMemo, Fragment } from 'react';
4
4
  import styled, { createGlobalStyle, css, useTheme } from 'styled-components';
5
5
  import { lineChartClassNames, BarChart as BarChart$1, barChartClassNames, LineChart, PieChart } from '@evergis/charts';
@@ -4505,75 +4505,6 @@ const DashboardChip$1 = styled(Chip) `
4505
4505
  ${({ $fontColor, $isDefault }) => !!$fontColor && !$isDefault && CustomChipColorMixin}
4506
4506
  `;
4507
4507
 
4508
- const getAttributeByName = (attributeName, attributes) => {
4509
- return Array.isArray(attributeName)
4510
- ? null
4511
- : attributeName
4512
- ? attributes?.find(({ name }) => name === attributeName)
4513
- : null;
4514
- };
4515
-
4516
- const formatElementValue = ({ t, value, elementConfig, attributes, wrap, }) => {
4517
- const { id, type, defaultValue, options, style, attributeName, templateName } = elementConfig || {};
4518
- const attribute = attributeName ? getAttributeByName(attributeName, attributes) : null;
4519
- const { fontColor, fontSize, noUnits, tagView, bgColor, withDivider, radius } = options || {};
4520
- const valueOrDefault = value || defaultValue;
4521
- const resultValue = type === "attributeValue" && attribute?.type && attribute?.stringFormat
4522
- ? formatAttributeValue({
4523
- t,
4524
- type: attribute.type,
4525
- value: valueOrDefault,
4526
- stringFormat: attribute.stringFormat,
4527
- noUnits,
4528
- })
4529
- : valueOrDefault;
4530
- if (!wrap)
4531
- return resultValue;
4532
- return (jsxs(Fragment, { children: [tagView ? (jsx(DashboardChip$1, { text: resultValue, "$bgColor": bgColor, "$fontColor": fontColor, "$fontSize": fontSize, "$radius": radius, style: style })) : resultValue, withDivider && jsx(Divider, {})] }, id));
4533
- };
4534
-
4535
- const getAttributeValue = (element, attributes) => {
4536
- const attribute = getAttributeByName(element?.attributeName, attributes);
4537
- const { maxLength, separator, expandable, lineBreak } = element.options || {};
4538
- let value = "";
4539
- if (attribute?.type === AttributeType.Boolean && typeof attribute.value === "boolean") {
4540
- return jsx(DashboardCheckbox, { title: attribute.alias || attribute.name, checked: attribute.value });
4541
- }
4542
- if (Array.isArray(element?.attributeName)) {
4543
- const concatAttributes = element.attributeName.map((attributeName) => attributes?.find(({ name }) => name === attributeName)?.value || "");
4544
- value = concatAttributes.join(separator || ", ");
4545
- }
4546
- else {
4547
- value = attribute?.value?.toString() || "";
4548
- }
4549
- return maxLength && maxLength < value.length ? (jsx(TextTrim, { maxLength: maxLength, expandable: expandable, lineBreak: lineBreak, children: value })) : (value);
4550
- };
4551
-
4552
- const getChartAxes = (chartElement) => chartElement?.options?.relatedDataSources?.filter(({ chartAxis }) => chartAxis === "y");
4553
-
4554
- const getChartFilterName = (relatedDataSources) => {
4555
- const relatedAttributes = relatedDataSources || [];
4556
- const axes = relatedAttributes.filter(({ chartAxis }) => chartAxis === "y");
4557
- return axes?.[0]?.filterName;
4558
- };
4559
-
4560
- function getValueIndex(items, attributes) {
4561
- return items?.findIndex(({ name }) => name.toString() === attributes.value?.toString());
4562
- }
4563
- const getChartMarkers = (items, markers, dataSources) => {
4564
- if (typeof markers === "string") {
4565
- const dataSource = getDataSource(markers, dataSources);
4566
- return dataSource?.features?.map(({ attributes }) => ({
4567
- ...attributes,
4568
- value: getValueIndex(items, attributes),
4569
- })) || [];
4570
- }
4571
- return (markers?.map(marker => ({
4572
- ...marker,
4573
- value: getValueIndex(items, marker),
4574
- })) || []);
4575
- };
4576
-
4577
4508
  const LayerGroupContainer = styled(Flex) `
4578
4509
  display: flex;
4579
4510
  justify-content: center;
@@ -5102,21 +5033,34 @@ const LayerListContainer = styled(Flex) `
5102
5033
  box-sizing: border-box;
5103
5034
  `;
5104
5035
 
5036
+ const ElementValueWrapper = styled.div `
5037
+ transition: background-color ${transition.toggle};
5038
+
5039
+ ${({ noMargin }) => css `
5040
+ &&&& {
5041
+ margin-bottom: 0;
5042
+ }
5043
+ `};
5044
+ `;
5105
5045
  const Container = styled(Flex) `
5106
5046
  flex-direction: column;
5107
5047
  width: 100%;
5108
-
5048
+
5109
5049
  ${({ isColumn }) => isColumn
5110
5050
  ? css `
5111
- > * {
5112
- width: 100%;
5051
+ > * {
5052
+ width: 100%;
5053
+
5054
+ :not(:last-child) {
5055
+ margin-bottom: 1.5rem;
5113
5056
  }
5114
- `
5057
+ }
5058
+ `
5115
5059
  : css `
5116
- flex-direction: row;
5117
- justify-content: space-between;
5118
- align-items: center;
5119
- `}
5060
+ flex-direction: row;
5061
+ justify-content: space-between;
5062
+ align-items: center;
5063
+ `}
5120
5064
 
5121
5065
  ${({ isTitle }) => isTitle &&
5122
5066
  css `
@@ -5145,10 +5089,6 @@ const ContainerWrapper = styled(Flex) `
5145
5089
  color: ${({ theme: { palette } }) => palette.textPrimary};
5146
5090
  z-index: ${({ $zIndex }) => $zIndex ?? 1};
5147
5091
  transition: background-color ${transition.toggle};
5148
-
5149
- ${Container} > :not(:last-child) {
5150
- margin-bottom: 1.5rem;
5151
- }
5152
5092
 
5153
5093
  ${({ $noMargin }) => $noMargin && css `
5154
5094
  &&&& {
@@ -5190,6 +5130,7 @@ const DashboardPlaceholder = styled(Flex) `
5190
5130
  css `
5191
5131
  width: 6.25rem;
5192
5132
  `}
5133
+
5193
5134
  &&& > * {
5194
5135
  margin-bottom: 0;
5195
5136
  }
@@ -5399,13 +5340,82 @@ const FeatureControls = styled(Flex) `
5399
5340
  }
5400
5341
  `;
5401
5342
 
5343
+ const getAttributeByName = (attributeName, attributes) => {
5344
+ return Array.isArray(attributeName)
5345
+ ? null
5346
+ : attributeName
5347
+ ? attributes?.find(({ name }) => name === attributeName)
5348
+ : null;
5349
+ };
5350
+
5351
+ const formatElementValue = ({ t, value, elementConfig, attributes, wrap, }) => {
5352
+ const { id, type, defaultValue, options, style, attributeName, templateName } = elementConfig || {};
5353
+ const attribute = attributeName ? getAttributeByName(attributeName, attributes) : null;
5354
+ const { fontColor, fontSize, noUnits, tagView, bgColor, withDivider, radius, noMargin } = options || {};
5355
+ const valueOrDefault = value || defaultValue;
5356
+ const resultValue = type === "attributeValue" && attribute?.type && attribute?.stringFormat
5357
+ ? formatAttributeValue({
5358
+ t,
5359
+ type: attribute.type,
5360
+ value: valueOrDefault,
5361
+ stringFormat: attribute.stringFormat,
5362
+ noUnits,
5363
+ })
5364
+ : valueOrDefault;
5365
+ if (!wrap)
5366
+ return resultValue;
5367
+ return (jsxs(Fragment, { children: [tagView ? (jsx(DashboardChip$1, { "data-id": id, "data-templatename": templateName, style: style, text: resultValue, "$bgColor": bgColor, "$fontColor": fontColor, "$fontSize": fontSize, "$radius": radius })) : (jsx(ElementValueWrapper, { "data-id": id, "data-templatename": templateName, style: style, noMargin: noMargin, children: resultValue })), withDivider && jsx(Divider, {})] }, id));
5368
+ };
5369
+
5370
+ const getAttributeValue = (element, attributes) => {
5371
+ const attribute = getAttributeByName(element?.attributeName, attributes);
5372
+ const { maxLength, separator, expandable, lineBreak } = element.options || {};
5373
+ let value = "";
5374
+ if (attribute?.type === AttributeType.Boolean && typeof attribute.value === "boolean") {
5375
+ return jsx(DashboardCheckbox, { title: attribute.alias || attribute.name, checked: attribute.value });
5376
+ }
5377
+ if (Array.isArray(element?.attributeName)) {
5378
+ const concatAttributes = element.attributeName.map((attributeName) => attributes?.find(({ name }) => name === attributeName)?.value || "");
5379
+ value = concatAttributes.join(separator || ", ");
5380
+ }
5381
+ else {
5382
+ value = attribute?.value?.toString() || "";
5383
+ }
5384
+ return maxLength && maxLength < value.length ? (jsx(TextTrim, { maxLength: maxLength, expandable: expandable, lineBreak: lineBreak, children: value })) : (value);
5385
+ };
5386
+
5387
+ const getChartAxes = (chartElement) => chartElement?.options?.relatedDataSources?.filter(({ chartAxis }) => chartAxis === "y");
5388
+
5389
+ const getChartFilterName = (relatedDataSources) => {
5390
+ const relatedAttributes = relatedDataSources || [];
5391
+ const axes = relatedAttributes.filter(({ chartAxis }) => chartAxis === "y");
5392
+ return axes?.[0]?.filterName;
5393
+ };
5394
+
5395
+ function getValueIndex(items, attributes) {
5396
+ return items?.findIndex(({ name }) => name.toString() === attributes.value?.toString());
5397
+ }
5398
+ const getChartMarkers = (items, markers, dataSources) => {
5399
+ if (typeof markers === "string") {
5400
+ const dataSource = getDataSource(markers, dataSources);
5401
+ return dataSource?.features?.map(({ attributes }) => ({
5402
+ ...attributes,
5403
+ value: getValueIndex(items, attributes),
5404
+ })) || [];
5405
+ }
5406
+ return (markers?.map(marker => ({
5407
+ ...marker,
5408
+ value: getValueIndex(items, marker),
5409
+ })) || []);
5410
+ };
5411
+
5402
5412
  const ContainersGroupContainer = memo(({ elementConfig, type, renderElement }) => {
5403
5413
  const { expandedContainers } = useWidgetContext(type);
5404
- const { id, children, options, style } = elementConfig || {};
5414
+ const { id, children, options } = elementConfig || {};
5405
5415
  const { column, expandable, expanded } = options || {};
5406
5416
  const isColumn = column === undefined || column;
5407
5417
  const isVisible = isVisibleContainer(id, expandable, expanded, expandedContainers);
5408
- return (jsxs(Fragment$1, { children: [jsx(ExpandableTitle, { elementConfig: elementConfig, type: type, renderElement: renderElement }), isVisible && (jsx(Container, { id: id, isColumn: isColumn, style: style, children: jsx(ContainerChildren, { items: children, elementConfig: elementConfig, isColumn: isColumn, isMain: id?.startsWith(CONFIG_PAGE_ID), renderElement: renderElement }) }))] }));
5418
+ return (jsxs(Fragment$1, { children: [jsx(ExpandableTitle, { elementConfig: elementConfig, type: type, renderElement: renderElement }), isVisible && (jsx(Container, { id: id, isColumn: isColumn, children: jsx(ContainerChildren, { type: type, items: children, elementConfig: elementConfig, isColumn: isColumn, isMain: id?.startsWith(CONFIG_PAGE_ID), renderElement: renderElement }) }))] }));
5409
5419
  });
5410
5420
 
5411
5421
  const ChartLegendContainer = styled(Flex) `
@@ -6110,7 +6120,7 @@ const PagesContainer = memo(({ type = WidgetType.Dashboard, noBorders }) => {
6110
6120
  setSelectedTabId,
6111
6121
  type,
6112
6122
  ]);
6113
- return (jsx(Container, { id: getRootElementId(type), style: { width }, isMain: true, isColumn: isColumn, noBorders: noBorders, children: jsx(ContainerChildren, { items: filteredChildren, isMain: true, renderElement: renderElement }) }));
6123
+ return (jsx(Container, { id: getRootElementId(type), style: { width }, isMain: true, isColumn: isColumn, noBorders: noBorders, children: jsx(ContainerChildren, { type: type, items: filteredChildren, isMain: true, renderElement: renderElement }) }));
6114
6124
  });
6115
6125
 
6116
6126
  const ImageContainerBg$1 = styled.div `
@@ -8245,7 +8255,7 @@ const getElementValue = ({ getDefaultContainer, ...props }) => {
8245
8255
  return attribute?.name ? layerInfo.layerDefinition.attributes[attribute.name]?.description || null : null;
8246
8256
  }
8247
8257
  const ElementComponent = type ? elementComponents[type] : null;
8248
- return ElementComponent ? jsx(ElementComponent, { ...props }) : getDefaultContainer();
8258
+ return ElementComponent ? jsx(ElementComponent, { ...props }) : getDefaultContainer?.();
8249
8259
  };
8250
8260
 
8251
8261
  const getLayerAttributes = (layerDefinition) => {
@@ -9953,6 +9963,15 @@ const useGetConfigLayer = () => {
9953
9963
  return useCallback((layerName) => currentPage?.layers?.find(({ name }) => name === layerName), [currentPage?.layers]);
9954
9964
  };
9955
9965
 
9966
+ const useHideIfEmptyDataSource = (type = WidgetType.Dashboard) => {
9967
+ const { dataSources } = useWidgetContext(type);
9968
+ return useCallback((dataSourceName) => {
9969
+ if (!dataSourceName)
9970
+ return false;
9971
+ return !getDataSource(dataSourceName, dataSources)?.features?.length;
9972
+ }, [dataSources]);
9973
+ };
9974
+
9956
9975
  const useProjectDashboardInit = () => {
9957
9976
  const { projectInfo, updateProject } = useWidgetContext();
9958
9977
  return useCallback(() => {
@@ -10260,7 +10279,8 @@ const ChartLegend = ({ data, chartElement, fontSize, type, twoColumns, loading }
10260
10279
  return (jsxs(Flex, { flexDirection: "column", opacity: loading ? FILTERED_VALUE_OPACITY / 100 : 1, children: [jsx(ChartLegendContainer, { twoColumns: twoColumns, children: sliceItems(data)?.map(({ name, color }, index) => (jsxs(ChartLegendItem, { hasAnyFilter: hasAnyFilter, isFiltered: isFiltered(name), onClick: axes?.[0]?.filterName ? () => onFilter(name) : undefined, children: [jsx(ChartLegendColor, { color: color }), jsx(ChartLegendName, { "$fontSize": fontSize, "$fontColor": fontColor, children: name })] }, index))) }), showMoreBtn && (jsx(LegendToggler, { onClick: onShowMore, toggled: showMore, children: t("other", { ns: "dashboard", defaultValue: "Другое" }) }))] }));
10261
10280
  };
10262
10281
 
10263
- const ContainerChildren = memo(({ items, isColumn, isMain, renderElement }) => {
10282
+ const ContainerChildren = memo(({ type, items, isColumn, isMain, renderElement }) => {
10283
+ const checkIfEmptyDataSource = useHideIfEmptyDataSource(type);
10264
10284
  return (jsx(Fragment$1, { children: items
10265
10285
  ?.filter(item => !["title", "icon", "titleIcon"].includes(item.id))
10266
10286
  ?.map((item, index) => {
@@ -10269,6 +10289,8 @@ const ContainerChildren = memo(({ items, isColumn, isMain, renderElement }) => {
10269
10289
  index,
10270
10290
  wrap: isColumn || isMain,
10271
10291
  });
10292
+ if (checkIfEmptyDataSource(item.options?.hideIfEmptyDataSource))
10293
+ return null;
10272
10294
  return isMain ? (jsx(ContainerWrapper, { "data-id": item.id, "data-templatename": item.templateName, "$noMargin": item.options?.noMargin, children: jsx(DashboardWrapper, { children: render }) }, index)) : (jsx(Fragment, { children: render }, index));
10273
10295
  }) }));
10274
10296
  });
@@ -10758,5 +10780,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
10758
10780
  }, children: children }), upperSiblings] }));
10759
10781
  };
10760
10782
 
10761
- export { AddFeatureButton, AddFeatureContainer, 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_FILL_EXTRUSION_PAINT, DEFAULT_FILL_PAINT, 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, ElementIcon, ElementImage, ElementLegend, ElementLink, ElementMarkdown, ElementSlideshow, ElementSvg, ElementTooltip, 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, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogoContainer, MAX_CHART_WIDTH, Map$1 as Map, MapContext, MapProvider, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OneColumnContainer, PageNavigator, PageTitle, 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, 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, getLayerDefinition, getLayerInfo, getLayerInfoFromDataSources, getPagesFromConfig, getPagesFromProjectInfo, getProxyService, getRelatedAttribute, getRenderElement, getResourceUrl, getRootElementId, getSelectedFilterValue, getSlideshowImages, getSvgUrl, getTotalFromAttributes, getTotalFromRelatedFeatures, hexToRgba, isCompositeLayerConfiguration, isEmptyElementValue, isEmptyValue, isHiddenEmptyValue, isLayerService, isNotValidSelectedTab, isNumeric, isObject, isProxyService, isVisibleContainer, numberOptions, parseClientStyle, 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, useLayerParams, useMapContext, useMapDraw, useProjectDashboardInit, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRenderElement, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useZoomToFeatures, useZoomToPoint };
10783
+ export { AddFeatureButton, AddFeatureContainer, 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_FILL_EXTRUSION_PAINT, DEFAULT_FILL_PAINT, 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, 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, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogoContainer, MAX_CHART_WIDTH, Map$1 as Map, MapContext, MapProvider, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OneColumnContainer, PageNavigator, PageTitle, 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, 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, getLayerDefinition, getLayerInfo, getLayerInfoFromDataSources, getPagesFromConfig, getPagesFromProjectInfo, getProxyService, getRelatedAttribute, getRenderElement, getResourceUrl, getRootElementId, getSelectedFilterValue, getSlideshowImages, getSvgUrl, getTotalFromAttributes, getTotalFromRelatedFeatures, hexToRgba, isCompositeLayerConfiguration, isEmptyElementValue, isEmptyValue, isHiddenEmptyValue, isLayerService, isNotValidSelectedTab, isNumeric, isObject, isProxyService, isVisibleContainer, numberOptions, parseClientStyle, 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, useLayerParams, useMapContext, useMapDraw, useProjectDashboardInit, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRenderElement, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useZoomToFeatures, useZoomToPoint };
10762
10784
  //# sourceMappingURL=react.esm.js.map