@evergis/react 3.1.70 → 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 +115 -34
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +116 -36
- 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;
|
|
@@ -6789,7 +6868,6 @@ const LogTerminal = ({ log }) => {
|
|
|
6789
6868
|
const fitAddonRef = useRef(null);
|
|
6790
6869
|
const previousLogRef = useRef("");
|
|
6791
6870
|
const theme = useTheme();
|
|
6792
|
-
// Initialize terminal
|
|
6793
6871
|
useEffect(() => {
|
|
6794
6872
|
if (!terminalRef.current)
|
|
6795
6873
|
return;
|
|
@@ -6797,11 +6875,10 @@ const LogTerminal = ({ log }) => {
|
|
|
6797
6875
|
const terminal = new Terminal({
|
|
6798
6876
|
cursorBlink: false,
|
|
6799
6877
|
fontSize: 12,
|
|
6800
|
-
fontFamily: '"
|
|
6878
|
+
fontFamily: '"Monaco", "Menlo", "Ubuntu Mono", "Consolas", "source-code-pro", monospace',
|
|
6801
6879
|
scrollback: 10000,
|
|
6802
6880
|
convertEol: true,
|
|
6803
6881
|
lineHeight: 1.5,
|
|
6804
|
-
letterSpacing: 0,
|
|
6805
6882
|
theme: {
|
|
6806
6883
|
background: theme.palette.background,
|
|
6807
6884
|
foreground: theme.palette.textPrimary,
|
|
@@ -6842,12 +6919,12 @@ const LogTerminal = ({ log }) => {
|
|
|
6842
6919
|
if (log.startsWith(previousLog)) {
|
|
6843
6920
|
// Log is accumulated - write only the new part
|
|
6844
6921
|
const newContent = log.substring(previousLog.length);
|
|
6845
|
-
xtermRef.current.write(
|
|
6922
|
+
xtermRef.current.write(newContent);
|
|
6846
6923
|
}
|
|
6847
6924
|
else {
|
|
6848
6925
|
// Log was replaced completely - clear and write all
|
|
6849
6926
|
xtermRef.current.clear();
|
|
6850
|
-
xtermRef.current.write(
|
|
6927
|
+
xtermRef.current.write(log);
|
|
6851
6928
|
}
|
|
6852
6929
|
previousLogRef.current = log;
|
|
6853
6930
|
}
|
|
@@ -6856,7 +6933,7 @@ const LogTerminal = ({ log }) => {
|
|
|
6856
6933
|
// JSON object (results) - always replace
|
|
6857
6934
|
xtermRef.current.clear();
|
|
6858
6935
|
const formatted = JSON.stringify(log, null, 2);
|
|
6859
|
-
xtermRef.current.write(formatted
|
|
6936
|
+
xtermRef.current.write(formatted);
|
|
6860
6937
|
previousLogRef.current = "";
|
|
6861
6938
|
}
|
|
6862
6939
|
else if (!log) {
|
|
@@ -6867,7 +6944,6 @@ const LogTerminal = ({ log }) => {
|
|
|
6867
6944
|
// Scroll to bottom
|
|
6868
6945
|
xtermRef.current.scrollToBottom();
|
|
6869
6946
|
}, [log]);
|
|
6870
|
-
// Fit terminal on container resize
|
|
6871
6947
|
useEffect(() => {
|
|
6872
6948
|
if (!fitAddonRef.current)
|
|
6873
6949
|
return;
|
|
@@ -6919,36 +6995,57 @@ const LogDialog = ({ isOpen, onClose, logs, status, statusColors }) => {
|
|
|
6919
6995
|
const getStatusColor = useCallback((status) => {
|
|
6920
6996
|
return statusColors?.[status] || STATUS_COLORS[status] || STATUS_COLORS[RemoteTaskStatus.Unknown];
|
|
6921
6997
|
}, [statusColors]);
|
|
6922
|
-
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: "Логи отсутствуют" }) }) }) })] }));
|
|
6923
6999
|
};
|
|
6924
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
|
+
|
|
6925
7018
|
const StyledButton = styled(FlatButton) `
|
|
6926
7019
|
display: flex;
|
|
6927
7020
|
align-items: center;
|
|
6928
|
-
|
|
6929
|
-
${({ status = RemoteTaskStatus.Unknown, statusColors }) => !!statusColors?.[status] && css `
|
|
7021
|
+
|
|
7022
|
+
${({ status = RemoteTaskStatus.Unknown, statusColors, themeName }) => !!statusColors?.[status] && css `
|
|
6930
7023
|
transition: background-color ${transition.toggle};
|
|
6931
7024
|
background-color: ${statusColors[status]};
|
|
6932
|
-
|
|
7025
|
+
|
|
6933
7026
|
:hover {
|
|
6934
|
-
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)};
|
|
6935
7032
|
}
|
|
6936
7033
|
`}
|
|
6937
7034
|
`;
|
|
6938
7035
|
|
|
6939
7036
|
const StatusWaitingButton = ({ title, icon = "play", status, statusColors, isWaiting, isDisabled, onClick }) => {
|
|
6940
|
-
const { t } = useGlobalContext();
|
|
7037
|
+
const { t, themeName } = useGlobalContext();
|
|
6941
7038
|
const renderTitle = useMemo(() => status === RemoteTaskStatus.Process
|
|
6942
7039
|
? t("", { ns: "dashboard", defaultValue: "Остановить" })
|
|
6943
7040
|
: status === RemoteTaskStatus.Unknown ? title : STATUS_TITLES[status], [status, t, title]);
|
|
6944
7041
|
const renderIcon = useMemo(() => {
|
|
6945
|
-
const iconComponent = isWaiting ? (jsx(CircularProgress, { diameter: 1,
|
|
7042
|
+
const iconComponent = isWaiting ? (jsx(CircularProgress, { diameter: 1, mono: true }))
|
|
6946
7043
|
: status !== RemoteTaskStatus.Unknown
|
|
6947
7044
|
? jsx(Icon, { kind: STATUS_ICONS[status] })
|
|
6948
7045
|
: jsx(Icon, { kind: icon });
|
|
6949
|
-
return (jsx(
|
|
7046
|
+
return (jsx(Flex, { alignItems: "center", marginRight: renderTitle ? "0.5rem" : 0, children: iconComponent }));
|
|
6950
7047
|
}, [icon, isWaiting, renderTitle, status]);
|
|
6951
|
-
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] }) }));
|
|
6952
7049
|
};
|
|
6953
7050
|
|
|
6954
7051
|
const TaskContainer = memo(({ type, elementConfig, renderElement }) => {
|
|
@@ -7103,23 +7200,6 @@ const PageTitle = styled(H2) `
|
|
|
7103
7200
|
font-family: "Nunito Sans", serif;
|
|
7104
7201
|
`;
|
|
7105
7202
|
|
|
7106
|
-
var ThemeName;
|
|
7107
|
-
(function (ThemeName) {
|
|
7108
|
-
ThemeName["Light"] = "light";
|
|
7109
|
-
ThemeName["Dark"] = "dark";
|
|
7110
|
-
})(ThemeName || (ThemeName = {}));
|
|
7111
|
-
|
|
7112
|
-
var TmsType;
|
|
7113
|
-
(function (TmsType) {
|
|
7114
|
-
TmsType["WMS"] = "WMS";
|
|
7115
|
-
TmsType["TMS"] = "TMS";
|
|
7116
|
-
TmsType["ArcGIS"] = "ArcGIS";
|
|
7117
|
-
})(TmsType || (TmsType = {}));
|
|
7118
|
-
var EditGeometryType;
|
|
7119
|
-
(function (EditGeometryType) {
|
|
7120
|
-
EditGeometryType["Raster"] = "raster";
|
|
7121
|
-
})(EditGeometryType || (EditGeometryType = {}));
|
|
7122
|
-
|
|
7123
7203
|
const DashboardDefaultHeader = memo(() => {
|
|
7124
7204
|
const { components: { ProjectCatalogMenu, ProjectPanelMenu, ProjectPagesMenu }, } = useWidgetContext();
|
|
7125
7205
|
const { pageId, image, icon, tooltip, themeName } = useDashboardHeader();
|
|
@@ -11022,5 +11102,5 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
|
|
|
11022
11102
|
}, children: children }), upperSiblings] }));
|
|
11023
11103
|
};
|
|
11024
11104
|
|
|
11025
|
-
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 };
|
|
11026
11106
|
//# sourceMappingURL=react.esm.js.map
|