@evergis/react 3.1.80 → 3.1.82
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/components/Dashboard/index.d.ts +1 -2
- package/dist/components/Dashboard/containers/EditContainer/index.d.ts +3 -0
- package/dist/components/Dashboard/containers/registry.d.ts +1 -0
- package/dist/components/Dashboard/elements/ElementControl/index.d.ts +3 -0
- package/dist/components/Dashboard/elements/index.d.ts +1 -0
- package/dist/components/Dashboard/elements/registry.d.ts +1 -0
- package/dist/components/Dashboard/hooks/useWidgetContext.d.ts +1 -0
- package/dist/components/Dashboard/types.d.ts +2 -0
- package/dist/contexts/DashboardContext/types.d.ts +1 -0
- package/dist/contexts/FeatureCardContext/types.d.ts +1 -1
- package/dist/index.js +79 -36
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +80 -38
- package/dist/react.esm.js.map +1 -1
- package/package.json +2 -2
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, Icon, Description, FlexSpan, IconToggle, Popup, Menu, DraggableTree, shadows, Divider, LegendToggler, Tooltip as Tooltip$1, DropdownField, MultiSelectContainer, IconButtonButton, FlatButton, DraggableTreeContainer, Dialog, DialogTitle, ThemeProvider, darkTheme, DialogContent, CircularProgress, LinearProgress, H2, defaultTheme, Preview, Blank, Popover, UploaderItemArea, UploaderTitleWrapper, Uploader, NumberRangeSlider, useAsyncAutocomplete, AutoComplete,
|
|
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, Dialog, DialogTitle, ThemeProvider, darkTheme, DialogContent, CircularProgress, LinearProgress, H2, defaultTheme, Preview, Dropdown, Blank, Popover, UploaderItemArea, UploaderTitleWrapper, Uploader, NumberRangeSlider, useAsyncAutocomplete, AutoComplete, Checkbox, 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';
|
|
@@ -3385,6 +3385,7 @@ var ContainerTemplate;
|
|
|
3385
3385
|
ContainerTemplate["ExportPdf"] = "ExportPdf";
|
|
3386
3386
|
ContainerTemplate["Upload"] = "Upload";
|
|
3387
3387
|
ContainerTemplate["Task"] = "Task";
|
|
3388
|
+
ContainerTemplate["Edit"] = "Edit";
|
|
3388
3389
|
ContainerTemplate["Divider"] = "Divider";
|
|
3389
3390
|
})(ContainerTemplate || (ContainerTemplate = {}));
|
|
3390
3391
|
var HeaderTemplate;
|
|
@@ -4000,8 +4001,8 @@ const ServerNotificationsProvider = ({ url, initialized, children }) => {
|
|
|
4000
4001
|
};
|
|
4001
4002
|
|
|
4002
4003
|
const useWidgetContext = (type = WidgetType.Dashboard) => {
|
|
4003
|
-
const { projectInfo, updateProject, layerInfos, geometryFilter, dashboardLayers, setDashboardLayer, components: dashboardComponents, config: dashboardConfig, containerIds, pageIndex: projectPageIndex, selectedTabId: projectSelectedTabId, setSelectedTabId: setProjectSelectedTabId, dataSources: projectDataSources, loading: projectLoading, filters: projectFilters, changeFilters: projectChangeFilters, expandContainer: projectExpandContainer, expandedContainers: projectExpandedContainers, nextPage: projectNextPage, prevPage: projectPrevPage, changePage: projectChangePage, } = useContext(DashboardContext) || {};
|
|
4004
|
-
const { layerInfo, attributes, feature, closeFeatureCard, config: featureConfig, pageIndex: featurePageIndex, selectedTabId: featureSelectedTabId, setSelectedTabId: setFeatureSelectedTabId, dataSources: featureDataSources, loading: featureLoading, filters: featureFilters, changeFilters: featureChangeFilters, expandContainer: featureExpandContainer, expandedContainers: featureExpandedContainers, nextPage: featureNextPage, prevPage: featurePrevPage, changePage: featureChangePage, } = useContext(FeatureCardContext) || {};
|
|
4004
|
+
const { projectInfo, updateProject, layerInfos, geometryFilter, dashboardLayers, setDashboardLayer, components: dashboardComponents, config: dashboardConfig, containerIds, pageIndex: projectPageIndex, selectedTabId: projectSelectedTabId, setSelectedTabId: setProjectSelectedTabId, dataSources: projectDataSources, loading: projectLoading, editMode: projectEditMode, filters: projectFilters, changeFilters: projectChangeFilters, expandContainer: projectExpandContainer, expandedContainers: projectExpandedContainers, nextPage: projectNextPage, prevPage: projectPrevPage, changePage: projectChangePage, } = useContext(DashboardContext) || {};
|
|
4005
|
+
const { layerInfo, attributes, feature, closeFeatureCard, config: featureConfig, pageIndex: featurePageIndex, selectedTabId: featureSelectedTabId, setSelectedTabId: setFeatureSelectedTabId, dataSources: featureDataSources, loading: featureLoading, editMode: featureEditMode, filters: featureFilters, changeFilters: featureChangeFilters, expandContainer: featureExpandContainer, expandedContainers: featureExpandedContainers, nextPage: featureNextPage, prevPage: featurePrevPage, changePage: featureChangePage, } = useContext(FeatureCardContext) || {};
|
|
4005
4006
|
return {
|
|
4006
4007
|
projectInfo,
|
|
4007
4008
|
layerInfos,
|
|
@@ -4016,6 +4017,7 @@ const useWidgetContext = (type = WidgetType.Dashboard) => {
|
|
|
4016
4017
|
containerIds,
|
|
4017
4018
|
components: dashboardComponents,
|
|
4018
4019
|
config: type === WidgetType.Dashboard ? dashboardConfig : featureConfig,
|
|
4020
|
+
isEditing: type === WidgetType.Dashboard ? projectEditMode : featureEditMode,
|
|
4019
4021
|
isLoading: type === WidgetType.Dashboard ? projectLoading : featureLoading,
|
|
4020
4022
|
pageIndex: type === WidgetType.Dashboard ? projectPageIndex || 1 : featurePageIndex || 1,
|
|
4021
4023
|
filters: type === WidgetType.Dashboard ? projectFilters : featureFilters,
|
|
@@ -5161,14 +5163,16 @@ const Container = styled(Flex) `
|
|
|
5161
5163
|
|
|
5162
5164
|
${({ isColumn }) => isColumn
|
|
5163
5165
|
? css `
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5166
|
+
&&& > * {
|
|
5167
|
+
justify-content: flex-start;
|
|
5168
|
+
}
|
|
5169
|
+
> * {
|
|
5170
|
+
width: 100%;
|
|
5167
5171
|
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
}
|
|
5172
|
+
:not(:last-child) {
|
|
5173
|
+
margin-bottom: 1.5rem;
|
|
5171
5174
|
}
|
|
5175
|
+
}
|
|
5172
5176
|
`
|
|
5173
5177
|
: css `
|
|
5174
5178
|
flex-direction: row;
|
|
@@ -6499,16 +6503,6 @@ const TitleContainer = memo(({ containerId, templateName, layerNames, fontColor,
|
|
|
6499
6503
|
return (jsx(Container, { id: id, style: style, isTitle: isVisible, children: jsxs(ContainerTitle, { simple: simple, children: [jsxs(ContainerIconTitle, { fontColor: fontColor, children: [renderElement({ id: "titleIcon", wrap: false }), renderElement({ id: "title" }), !!downloadById && (jsx(IconButton, { kind: "download", onClick: onExport })), isLayers && renderToggler] }), !isLayers && renderToggler, renderVisibility] }) }));
|
|
6500
6504
|
});
|
|
6501
6505
|
|
|
6502
|
-
const ContainerDivider = styled(Divider) `
|
|
6503
|
-
width: 100%;
|
|
6504
|
-
border-color: ${({ theme: { palette }, $bgColor }) => $bgColor || palette.elementDeep};
|
|
6505
|
-
`;
|
|
6506
|
-
|
|
6507
|
-
const DividerContainer = memo(({ elementConfig, config }) => {
|
|
6508
|
-
const { id, style } = elementConfig || {};
|
|
6509
|
-
return (jsx(Container, { id: id, style: style, children: jsx(ContainerDivider, { "$bgColor": config?.options?.bgColor }) }));
|
|
6510
|
-
});
|
|
6511
|
-
|
|
6512
6506
|
const SlideshowContainer = memo(({ config, elementConfig, type }) => {
|
|
6513
6507
|
const { pageIndex, expandedContainers, selectedTabId, setSelectedTabId, dataSources } = useWidgetContext(type);
|
|
6514
6508
|
const { attributes, layerInfo } = useRelatedDataSourceAttributes({
|
|
@@ -6961,6 +6955,21 @@ const TaskContainer = memo(({ type, elementConfig, renderElement }) => {
|
|
|
6961
6955
|
return (jsxs(Fragment$1, { children: [jsx(ExpandableTitle, { elementConfig: elementConfig, type: type, renderElement: renderElement }), jsxs(Flex, { justifyContent: center ? "center" : "flex-start", children: [jsx(StatusWaitingButton, { title: title || t("run", { ns: "dashboard", defaultValue: "Запуск" }), icon: icon, status: status, statusColors: statusColors, isWaiting: loading || !!taskId, isDisabled: !relatedResources?.length, onClick: onClick }), !!(log || taskId) && (jsxs(Fragment$1, { children: [jsx(IconButton, { kind: "info", onClick: openLog }), jsx(LogDialog, { logs: log, status: status, statusColors: statusColors, isOpen: isLogDialogOpen, onClose: closeLog })] }))] })] }));
|
|
6962
6956
|
});
|
|
6963
6957
|
|
|
6958
|
+
const EditContainer = ({ type, elementConfig, renderElement }) => {
|
|
6959
|
+
const { id, style } = elementConfig || {};
|
|
6960
|
+
return (jsxs(Fragment$1, { children: [jsx(ExpandableTitle, { elementConfig: elementConfig, type: type, renderElement: renderElement }), jsxs(Container, { id: id, isColumn: true, style: style, children: [jsx(ContainerAlias, { hasBottomMargin: true, children: renderElement({ id: "alias" }) }), jsx(ContainerValue, { children: renderElement({ id: "value" }) })] })] }));
|
|
6961
|
+
};
|
|
6962
|
+
|
|
6963
|
+
const ContainerDivider = styled(Divider) `
|
|
6964
|
+
width: 100%;
|
|
6965
|
+
border-color: ${({ theme: { palette }, $bgColor }) => $bgColor || palette.elementDeep};
|
|
6966
|
+
`;
|
|
6967
|
+
|
|
6968
|
+
const DividerContainer = memo(({ elementConfig, config }) => {
|
|
6969
|
+
const { id, style } = elementConfig || {};
|
|
6970
|
+
return (jsx(Container, { id: id, style: style, children: jsx(ContainerDivider, { "$bgColor": config?.options?.bgColor }) }));
|
|
6971
|
+
});
|
|
6972
|
+
|
|
6964
6973
|
const containerComponents = {
|
|
6965
6974
|
[ContainerTemplate.DefaultAttributes]: DefaultAttributesContainer,
|
|
6966
6975
|
[ContainerTemplate.Pages]: PagesContainer,
|
|
@@ -6984,6 +6993,7 @@ const containerComponents = {
|
|
|
6984
6993
|
[ContainerTemplate.ExportPdf]: ExportPdfContainer,
|
|
6985
6994
|
[ContainerTemplate.Upload]: UploadContainer,
|
|
6986
6995
|
[ContainerTemplate.Task]: TaskContainer,
|
|
6996
|
+
[ContainerTemplate.Edit]: EditContainer,
|
|
6987
6997
|
default: ContainersGroupContainer,
|
|
6988
6998
|
};
|
|
6989
6999
|
|
|
@@ -7757,6 +7767,35 @@ const ElementChips = memo(({ type, elementConfig }) => {
|
|
|
7757
7767
|
return (jsx(DashboardChipsContainer, { style: style, children: tags?.map(tag => (jsx(DashboardChip$1, { text: tag, "$bgColor": colorAttr?.value || bgColor, "$fontColor": fontColor, "$fontSize": fontSize, "$isDefault": !colorAttr?.value }, tag))) }));
|
|
7758
7768
|
});
|
|
7759
7769
|
|
|
7770
|
+
const ElementControl = ({ elementConfig }) => {
|
|
7771
|
+
const { t } = useGlobalContext();
|
|
7772
|
+
const { dataSources, filters, changeFilters } = useWidgetContext(WidgetType.FeatureCard);
|
|
7773
|
+
const [value, setValue] = useState();
|
|
7774
|
+
const { options, attributeName } = elementConfig || {};
|
|
7775
|
+
const { filterName, relatedDataSource, label, placeholder = t("selectValue", { ns: "dashboard", defaultValue: "Выберите значение" }) } = options || {};
|
|
7776
|
+
const dataSource = useMemo(() => getDataSource(relatedDataSource, dataSources), [relatedDataSource, dataSources]);
|
|
7777
|
+
const items = useMemo(() => {
|
|
7778
|
+
if (!dataSource?.features?.length || !attributeName) {
|
|
7779
|
+
return [];
|
|
7780
|
+
}
|
|
7781
|
+
return dataSource.features.map(({ attributes }) => ({
|
|
7782
|
+
value: attributes?.[attributeName] || "",
|
|
7783
|
+
text: attributes?.[attributeName] || "",
|
|
7784
|
+
}));
|
|
7785
|
+
}, [dataSource?.features, attributeName]);
|
|
7786
|
+
const handleChange = useCallback(([option]) => {
|
|
7787
|
+
setValue(option?.value);
|
|
7788
|
+
if (filterName) {
|
|
7789
|
+
changeFilters?.({
|
|
7790
|
+
[filterName]: {
|
|
7791
|
+
value: option?.value,
|
|
7792
|
+
},
|
|
7793
|
+
});
|
|
7794
|
+
}
|
|
7795
|
+
}, [changeFilters, filterName]);
|
|
7796
|
+
return (jsx(Dropdown, { zIndex: 1000, width: "100%", label: label, options: items, value: filters?.[filterName]?.value ?? value, placeholder: placeholder, onChange: handleChange }));
|
|
7797
|
+
};
|
|
7798
|
+
|
|
7760
7799
|
const StyledIconFontSizeMixin = css `
|
|
7761
7800
|
height: ${({ fontSize }) => `${fontSize}px`};
|
|
7762
7801
|
|
|
@@ -8396,6 +8435,7 @@ const ElementUploader = memo(({ elementConfig, type }) => {
|
|
|
8396
8435
|
});
|
|
8397
8436
|
|
|
8398
8437
|
const elementComponents = {
|
|
8438
|
+
control: ElementControl,
|
|
8399
8439
|
image: ElementImage,
|
|
8400
8440
|
slideshow: ElementSlideshow,
|
|
8401
8441
|
svg: ElementSvg,
|
|
@@ -9576,11 +9616,16 @@ const tooltipValueFromRelatedFeatures = (t, value, relatedAttributes, layerInfo)
|
|
|
9576
9616
|
};
|
|
9577
9617
|
|
|
9578
9618
|
const useWidgetConfig = (type = WidgetType.Dashboard) => {
|
|
9579
|
-
const { config: configProp, containerIds, projectInfo, layerInfo } = useWidgetContext(type);
|
|
9619
|
+
const { config: configProp, containerIds, projectInfo, layerInfo, isEditing } = useWidgetContext(type);
|
|
9580
9620
|
const config = useMemo(() => {
|
|
9581
9621
|
if (configProp) {
|
|
9582
9622
|
return configProp;
|
|
9583
9623
|
}
|
|
9624
|
+
if (isEditing) {
|
|
9625
|
+
return type === WidgetType.Dashboard
|
|
9626
|
+
? (projectInfo?.content?.editConfiguration || {})
|
|
9627
|
+
: (layerInfo?.configuration?.editConfiguration || {});
|
|
9628
|
+
}
|
|
9584
9629
|
const currentConfig = type === WidgetType.Dashboard
|
|
9585
9630
|
? (projectInfo?.content?.dashboardConfiguration || {})
|
|
9586
9631
|
: (layerInfo?.configuration?.cardConfiguration || {});
|
|
@@ -9596,7 +9641,7 @@ const useWidgetConfig = (type = WidgetType.Dashboard) => {
|
|
|
9596
9641
|
return newConfig;
|
|
9597
9642
|
}
|
|
9598
9643
|
return currentConfig;
|
|
9599
|
-
}, [configProp, containerIds, layerInfo?.configuration?.cardConfiguration, projectInfo?.content?.dashboardConfiguration, type]);
|
|
9644
|
+
}, [configProp, containerIds, layerInfo?.configuration?.cardConfiguration, projectInfo?.content?.dashboardConfiguration, type, isEditing]);
|
|
9600
9645
|
const pages = useMemo(() => (getPagesFromConfig(config) || []), [config]);
|
|
9601
9646
|
return {
|
|
9602
9647
|
config,
|
|
@@ -10336,20 +10381,17 @@ const Chart = memo(({ config, element, elementConfig, type, renderElement }) =>
|
|
|
10336
10381
|
return (jsxs(Tooltip, { children: [jsx(ChartTooltipLabel, { children: labels[indexX] }), items
|
|
10337
10382
|
.filter(({ value }) => !isEmptyValue(value))
|
|
10338
10383
|
?.map(({ layerName, attributeName, attributeUnits, dataSourceName, value, stroke }, index) => {
|
|
10339
|
-
const layerInfo =
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
const
|
|
10343
|
-
?
|
|
10344
|
-
:
|
|
10345
|
-
const
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
? formatAttributeValue({ t, type: attribute.type, value, stringFormat: attribute.stringFormat })
|
|
10351
|
-
: [value, dataSourceUnits].filter(Boolean).join(" ");
|
|
10352
|
-
return (jsxs(ChartTooltipRow, { children: [jsx(ChartLegendColor$1, { "$color": stroke }), jsx(ChartLegendValue, { children: legendValue })] }, index));
|
|
10384
|
+
const layerInfo = layerInfos?.find(({ name }) => name === layerName);
|
|
10385
|
+
const attribute = layerInfo?.layerDefinition.attributes[attributeName];
|
|
10386
|
+
const dataSource = getDataSource(dataSourceName, dataSources);
|
|
10387
|
+
const units = attributeUnits
|
|
10388
|
+
? dataSource?.features?.[0]?.attributes?.[attributeUnits]
|
|
10389
|
+
: attribute?.stringFormat?.unitsLabel;
|
|
10390
|
+
const formatValue = attribute
|
|
10391
|
+
? formatAttributeValue({ t, type: attribute.type, value, stringFormat: attribute.stringFormat, noUnits: true })
|
|
10392
|
+
: value;
|
|
10393
|
+
const resultValue = [formatValue, units].filter(Boolean).join(" ");
|
|
10394
|
+
return (jsxs(ChartTooltipRow, { children: [jsx(ChartLegendColor$1, { "$color": stroke }), jsx(ChartLegendValue, { children: resultValue })] }, index));
|
|
10353
10395
|
})] }));
|
|
10354
10396
|
}, [labels, layerInfos, dataSources, dotSnapping]);
|
|
10355
10397
|
const markers = useMemo(() => getChartMarkers(data[0]?.items, configMarkers, dataSources), [data, dataSources, configMarkers]);
|
|
@@ -10495,7 +10537,7 @@ const DashboardLoading = memo(() => {
|
|
|
10495
10537
|
return (jsx(Container, { noBorders: true, children: jsx(ContainerWrapper, { "$noMargin": true, children: jsx(DashboardWrapper, { children: jsx(DashboardPlaceholderWrap, { children: jsxs(DashboardPlaceholder, { isLoading: true, children: [jsx(Icon, { kind: "dashboard_loading" }), jsx(Flex, { width: "8rem", children: jsx(LinearProgress, {}) })] }) }) }) }) }));
|
|
10496
10538
|
});
|
|
10497
10539
|
|
|
10498
|
-
const Dashboard = memo(({ type = WidgetType.Dashboard,
|
|
10540
|
+
const Dashboard = memo(({ type = WidgetType.Dashboard, noBorders }) => {
|
|
10499
10541
|
const { dataSources, isLoading } = useWidgetContext(type);
|
|
10500
10542
|
const { currentPage } = useWidgetPage(type);
|
|
10501
10543
|
const isDiffPage = useDiffPage(type);
|
|
@@ -10503,7 +10545,7 @@ const Dashboard = memo(({ type = WidgetType.Dashboard, config, noBorders }) => {
|
|
|
10503
10545
|
if (dataSourceLoading || isDiffPage) {
|
|
10504
10546
|
return (jsx(DashboardLoading, {}));
|
|
10505
10547
|
}
|
|
10506
|
-
return (jsx(PagesContainer, { type: type,
|
|
10548
|
+
return (jsx(PagesContainer, { type: type, noBorders: noBorders }));
|
|
10507
10549
|
});
|
|
10508
10550
|
|
|
10509
10551
|
const CardCheckbox = styled(Checkbox) `
|
|
@@ -11092,5 +11134,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
|
|
|
11092
11134
|
}, children: children }), upperSiblings] }));
|
|
11093
11135
|
};
|
|
11094
11136
|
|
|
11095
|
-
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, LogTerminal, 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, 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, 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 };
|
|
11137
|
+
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, 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, 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, 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, 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 };
|
|
11096
11138
|
//# sourceMappingURL=react.esm.js.map
|