@evergis/react 3.1.71 → 3.1.72
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/containers/TaskContainer/components/StatusWaitingButton/styled.d.ts +2 -0
- package/dist/components/Dashboard/hooks/useDashboardHeader.d.ts +1 -1
- package/dist/components/Dashboard/hooks/useGlobalContext.d.ts +1 -1
- package/dist/contexts/GlobalContext/types.d.ts +2 -1
- package/dist/index.js +114 -30
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +115 -32
- package/dist/react.esm.js.map +1 -1
- package/dist/utils/color.d.ts +7 -0
- 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, DialogContent, CircularProgress,
|
|
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, Expander, UploaderItemArea, UploaderTitleWrapper, Uploader, NumberRangeSlider, useAsyncAutocomplete, AutoComplete, Dropdown, 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';
|
|
@@ -22,9 +22,9 @@ import 'mapbox-gl/dist/mapbox-gl.css';
|
|
|
22
22
|
import { Swiper, SwiperSlide } from 'swiper/react';
|
|
23
23
|
import ReactMarkdown from 'react-markdown';
|
|
24
24
|
import remarkGfm from 'remark-gfm';
|
|
25
|
+
import '@xterm/xterm/css/xterm.css';
|
|
25
26
|
import { Terminal } from '@xterm/xterm';
|
|
26
27
|
import { FitAddon } from '@xterm/addon-fit';
|
|
27
|
-
import '@xterm/xterm/css/xterm.css';
|
|
28
28
|
|
|
29
29
|
const AddFeatureButton = ({ title, icon = "feature_add" /* , layerName, geometryType*/ }) => {
|
|
30
30
|
// const [, handleAddFeature] = useFeatureCreator(layerName, geometryType);
|
|
@@ -3521,6 +3521,85 @@ const getGradientColors = (colorsCount) => {
|
|
|
3521
3521
|
.getColors()
|
|
3522
3522
|
.slice(0, colorsCount === undefined || colorsCount < GRADIENT_COLORS.length ? GRADIENT_COLORS.length : colorsCount);
|
|
3523
3523
|
};
|
|
3524
|
+
/**
|
|
3525
|
+
* Converts HSL hue value to RGB
|
|
3526
|
+
* @param p - lower bound
|
|
3527
|
+
* @param q - upper bound
|
|
3528
|
+
* @param t - hue value
|
|
3529
|
+
* @returns RGB component value (0-1)
|
|
3530
|
+
*/
|
|
3531
|
+
const hue2rgb = (p, q, t) => {
|
|
3532
|
+
if (t < 0)
|
|
3533
|
+
t += 1;
|
|
3534
|
+
if (t > 1)
|
|
3535
|
+
t -= 1;
|
|
3536
|
+
if (t < 1 / 6)
|
|
3537
|
+
return p + (q - p) * 6 * t;
|
|
3538
|
+
if (t < 1 / 2)
|
|
3539
|
+
return q;
|
|
3540
|
+
if (t < 2 / 3)
|
|
3541
|
+
return p + (q - p) * (2 / 3 - t) * 6;
|
|
3542
|
+
return p;
|
|
3543
|
+
};
|
|
3544
|
+
/**
|
|
3545
|
+
* Converts RGB component (0-1) to hex string
|
|
3546
|
+
* @param value - RGB component value (0-1)
|
|
3547
|
+
* @returns hex string (00-ff)
|
|
3548
|
+
*/
|
|
3549
|
+
const toHex = (value) => {
|
|
3550
|
+
const hex = Math.round(value * 255).toString(16);
|
|
3551
|
+
return hex.padStart(2, '0');
|
|
3552
|
+
};
|
|
3553
|
+
/**
|
|
3554
|
+
* Adjusts color brightness
|
|
3555
|
+
* @param color - hex color string (e.g., "#2196f3")
|
|
3556
|
+
* @param lightnessAdjustment - lightness adjustment in HSL units (e.g., 5 or -5)
|
|
3557
|
+
* @returns adjusted color in hex format
|
|
3558
|
+
*/
|
|
3559
|
+
const adjustColor = (color, lightnessAdjustment = 5) => {
|
|
3560
|
+
// Convert hex to RGB
|
|
3561
|
+
const hex = color.replace('#', '');
|
|
3562
|
+
const r = parseInt(hex.substring(0, 2), 16) / 255;
|
|
3563
|
+
const g = parseInt(hex.substring(2, 4), 16) / 255;
|
|
3564
|
+
const b = parseInt(hex.substring(4, 6), 16) / 255;
|
|
3565
|
+
// Convert RGB to HSL
|
|
3566
|
+
const max = Math.max(r, g, b);
|
|
3567
|
+
const min = Math.min(r, g, b);
|
|
3568
|
+
let h = 0;
|
|
3569
|
+
let s = 0;
|
|
3570
|
+
const l = (max + min) / 2;
|
|
3571
|
+
if (max !== min) {
|
|
3572
|
+
const d = max - min;
|
|
3573
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
3574
|
+
switch (max) {
|
|
3575
|
+
case r:
|
|
3576
|
+
h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
|
|
3577
|
+
break;
|
|
3578
|
+
case g:
|
|
3579
|
+
h = ((b - r) / d + 2) / 6;
|
|
3580
|
+
break;
|
|
3581
|
+
case b:
|
|
3582
|
+
h = ((r - g) / d + 4) / 6;
|
|
3583
|
+
break;
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
const adjustedL = Math.max(0, Math.min(100, (l * 100) + lightnessAdjustment)) / 100;
|
|
3587
|
+
// Convert HSL back to RGB
|
|
3588
|
+
let rNew;
|
|
3589
|
+
let gNew;
|
|
3590
|
+
let bNew;
|
|
3591
|
+
if (s === 0) {
|
|
3592
|
+
rNew = gNew = bNew = adjustedL;
|
|
3593
|
+
}
|
|
3594
|
+
else {
|
|
3595
|
+
const q = adjustedL < 0.5 ? adjustedL * (1 + s) : adjustedL + s - adjustedL * s;
|
|
3596
|
+
const p = 2 * adjustedL - q;
|
|
3597
|
+
rNew = hue2rgb(p, q, h + 1 / 3);
|
|
3598
|
+
gNew = hue2rgb(p, q, h);
|
|
3599
|
+
bNew = hue2rgb(p, q, h - 1 / 3);
|
|
3600
|
+
}
|
|
3601
|
+
return `#${toHex(rNew)}${toHex(gNew)}${toHex(bNew)}`;
|
|
3602
|
+
};
|
|
3524
3603
|
|
|
3525
3604
|
const NO_CONTENT_VALUE = "—";
|
|
3526
3605
|
var DateFormat;
|
|
@@ -6840,12 +6919,12 @@ const LogTerminal = ({ log }) => {
|
|
|
6840
6919
|
if (log.startsWith(previousLog)) {
|
|
6841
6920
|
// Log is accumulated - write only the new part
|
|
6842
6921
|
const newContent = log.substring(previousLog.length);
|
|
6843
|
-
xtermRef.current.write(
|
|
6922
|
+
xtermRef.current.write(newContent);
|
|
6844
6923
|
}
|
|
6845
6924
|
else {
|
|
6846
6925
|
// Log was replaced completely - clear and write all
|
|
6847
6926
|
xtermRef.current.clear();
|
|
6848
|
-
xtermRef.current.write(
|
|
6927
|
+
xtermRef.current.write(log);
|
|
6849
6928
|
}
|
|
6850
6929
|
previousLogRef.current = log;
|
|
6851
6930
|
}
|
|
@@ -6854,7 +6933,7 @@ const LogTerminal = ({ log }) => {
|
|
|
6854
6933
|
// JSON object (results) - always replace
|
|
6855
6934
|
xtermRef.current.clear();
|
|
6856
6935
|
const formatted = JSON.stringify(log, null, 2);
|
|
6857
|
-
xtermRef.current.write(formatted
|
|
6936
|
+
xtermRef.current.write(formatted);
|
|
6858
6937
|
previousLogRef.current = "";
|
|
6859
6938
|
}
|
|
6860
6939
|
else if (!log) {
|
|
@@ -6916,36 +6995,57 @@ const LogDialog = ({ isOpen, onClose, logs, status, statusColors }) => {
|
|
|
6916
6995
|
const getStatusColor = useCallback((status) => {
|
|
6917
6996
|
return statusColors?.[status] || STATUS_COLORS[status] || STATUS_COLORS[RemoteTaskStatus.Unknown];
|
|
6918
6997
|
}, [statusColors]);
|
|
6919
|
-
return (jsxs(Dialog, { isOpen: isOpen, onCloseRequest: onClose, modal: true, maxWidth: "800px", minWidth: "600px", minHeight: "600px", children: [jsx(DialogTitle, { children: jsxs(Flex, { justifyContent: "space-between", alignItems: "center", children: [jsxs(Flex, { alignItems: "center", children: [jsx(FlexSpan, { marginRight: "1rem", children: t("taskLogs", { ns: "dashboard", defaultValue: "Логи выполнения задачи" }) }), jsx(StatusBadge, { text: getStatusTitle(status), bgColor: getStatusColor(status) })] }), jsx(IconButton, { kind: "close", onClick: onClose })] }) }), jsx(DialogContent, { children: jsx(Flex, { flexDirection: "column", height: "100%", marginBottom: "2rem", children: jsx(LogTerminal, { log: logs || t("taskLogsEmpty", { ns: "dashboard", defaultValue: "Логи отсутствуют" }) }) }) })] }));
|
|
6998
|
+
return (jsxs(Dialog, { isOpen: isOpen, onCloseRequest: onClose, modal: true, maxWidth: "800px", minWidth: "600px", minHeight: "600px", children: [jsx(DialogTitle, { children: jsxs(Flex, { justifyContent: "space-between", alignItems: "center", children: [jsxs(Flex, { alignItems: "center", children: [jsx(FlexSpan, { marginRight: "1rem", children: t("taskLogs", { ns: "dashboard", defaultValue: "Логи выполнения задачи" }) }), jsx(ThemeProvider, { theme: darkTheme, children: jsx(StatusBadge, { text: getStatusTitle(status), bgColor: getStatusColor(status) }) })] }), jsx(IconButton, { kind: "close", onClick: onClose })] }) }), jsx(DialogContent, { children: jsx(Flex, { flexDirection: "column", height: "100%", marginBottom: "2rem", children: jsx(LogTerminal, { log: logs || t("taskLogsEmpty", { ns: "dashboard", defaultValue: "Логи отсутствуют" }) }) }) })] }));
|
|
6920
6999
|
};
|
|
6921
7000
|
|
|
7001
|
+
var ThemeName;
|
|
7002
|
+
(function (ThemeName) {
|
|
7003
|
+
ThemeName["Light"] = "light";
|
|
7004
|
+
ThemeName["Dark"] = "dark";
|
|
7005
|
+
})(ThemeName || (ThemeName = {}));
|
|
7006
|
+
|
|
7007
|
+
var TmsType;
|
|
7008
|
+
(function (TmsType) {
|
|
7009
|
+
TmsType["WMS"] = "WMS";
|
|
7010
|
+
TmsType["TMS"] = "TMS";
|
|
7011
|
+
TmsType["ArcGIS"] = "ArcGIS";
|
|
7012
|
+
})(TmsType || (TmsType = {}));
|
|
7013
|
+
var EditGeometryType;
|
|
7014
|
+
(function (EditGeometryType) {
|
|
7015
|
+
EditGeometryType["Raster"] = "raster";
|
|
7016
|
+
})(EditGeometryType || (EditGeometryType = {}));
|
|
7017
|
+
|
|
6922
7018
|
const StyledButton = styled(FlatButton) `
|
|
6923
7019
|
display: flex;
|
|
6924
7020
|
align-items: center;
|
|
6925
|
-
|
|
6926
|
-
${({ status = RemoteTaskStatus.Unknown, statusColors }) => !!statusColors?.[status] && css `
|
|
7021
|
+
|
|
7022
|
+
${({ status = RemoteTaskStatus.Unknown, statusColors, themeName }) => !!statusColors?.[status] && css `
|
|
6927
7023
|
transition: background-color ${transition.toggle};
|
|
6928
7024
|
background-color: ${statusColors[status]};
|
|
6929
|
-
|
|
7025
|
+
|
|
6930
7026
|
:hover {
|
|
6931
|
-
background-color: ${statusColors[status]};
|
|
7027
|
+
background-color: ${adjustColor(statusColors[status], themeName === ThemeName.Dark ? -5 : 5)};
|
|
7028
|
+
}
|
|
7029
|
+
|
|
7030
|
+
:active {
|
|
7031
|
+
background-color: ${adjustColor(statusColors[status], themeName === ThemeName.Dark ? -10 : 10)};
|
|
6932
7032
|
}
|
|
6933
7033
|
`}
|
|
6934
7034
|
`;
|
|
6935
7035
|
|
|
6936
7036
|
const StatusWaitingButton = ({ title, icon = "play", status, statusColors, isWaiting, isDisabled, onClick }) => {
|
|
6937
|
-
const { t } = useGlobalContext();
|
|
7037
|
+
const { t, themeName } = useGlobalContext();
|
|
6938
7038
|
const renderTitle = useMemo(() => status === RemoteTaskStatus.Process
|
|
6939
7039
|
? t("", { ns: "dashboard", defaultValue: "Остановить" })
|
|
6940
7040
|
: status === RemoteTaskStatus.Unknown ? title : STATUS_TITLES[status], [status, t, title]);
|
|
6941
7041
|
const renderIcon = useMemo(() => {
|
|
6942
|
-
const iconComponent = isWaiting ? (jsx(CircularProgress, { diameter: 1,
|
|
7042
|
+
const iconComponent = isWaiting ? (jsx(CircularProgress, { diameter: 1, mono: true }))
|
|
6943
7043
|
: status !== RemoteTaskStatus.Unknown
|
|
6944
7044
|
? jsx(Icon, { kind: STATUS_ICONS[status] })
|
|
6945
7045
|
: jsx(Icon, { kind: icon });
|
|
6946
|
-
return (jsx(
|
|
7046
|
+
return (jsx(Flex, { alignItems: "center", marginRight: renderTitle ? "0.5rem" : 0, children: iconComponent }));
|
|
6947
7047
|
}, [icon, isWaiting, renderTitle, status]);
|
|
6948
|
-
return (jsxs(StyledButton, { status: status, statusColors: statusColors, disabled: isDisabled, onClick: onClick, children: [renderIcon, renderTitle] }));
|
|
7048
|
+
return (jsx(ThemeProvider, { theme: darkTheme, children: jsxs(StyledButton, { status: status, statusColors: statusColors, disabled: isDisabled, themeName: themeName, onClick: onClick, children: [renderIcon, renderTitle] }) }));
|
|
6949
7049
|
};
|
|
6950
7050
|
|
|
6951
7051
|
const TaskContainer = memo(({ type, elementConfig, renderElement }) => {
|
|
@@ -7100,23 +7200,6 @@ const PageTitle = styled(H2) `
|
|
|
7100
7200
|
font-family: "Nunito Sans", serif;
|
|
7101
7201
|
`;
|
|
7102
7202
|
|
|
7103
|
-
var ThemeName;
|
|
7104
|
-
(function (ThemeName) {
|
|
7105
|
-
ThemeName["Light"] = "light";
|
|
7106
|
-
ThemeName["Dark"] = "dark";
|
|
7107
|
-
})(ThemeName || (ThemeName = {}));
|
|
7108
|
-
|
|
7109
|
-
var TmsType;
|
|
7110
|
-
(function (TmsType) {
|
|
7111
|
-
TmsType["WMS"] = "WMS";
|
|
7112
|
-
TmsType["TMS"] = "TMS";
|
|
7113
|
-
TmsType["ArcGIS"] = "ArcGIS";
|
|
7114
|
-
})(TmsType || (TmsType = {}));
|
|
7115
|
-
var EditGeometryType;
|
|
7116
|
-
(function (EditGeometryType) {
|
|
7117
|
-
EditGeometryType["Raster"] = "raster";
|
|
7118
|
-
})(EditGeometryType || (EditGeometryType = {}));
|
|
7119
|
-
|
|
7120
7203
|
const DashboardDefaultHeader = memo(() => {
|
|
7121
7204
|
const { components: { ProjectCatalogMenu, ProjectPanelMenu, ProjectPagesMenu }, } = useWidgetContext();
|
|
7122
7205
|
const { pageId, image, icon, tooltip, themeName } = useDashboardHeader();
|
|
@@ -11019,5 +11102,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
|
|
|
11019
11102
|
}, children: children }), upperSiblings] }));
|
|
11020
11103
|
};
|
|
11021
11104
|
|
|
11022
|
-
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 };
|
|
11105
|
+
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, 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 };
|
|
11023
11106
|
//# sourceMappingURL=react.esm.js.map
|