@evergis/react 4.0.110 → 4.0.111
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/constants/styling.d.ts +2 -3
- package/dist/core/classification/enrichStyleModelsWithIds.d.ts +2 -0
- package/dist/core/classification/index.d.ts +1 -0
- package/dist/index.js +16 -23
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +15 -22
- package/dist/react.esm.js.map +1 -1
- package/dist/types/styling.d.ts +5 -16
- package/package.json +5 -4
package/dist/react.esm.js
CHANGED
|
@@ -9430,20 +9430,6 @@ var EditGeometryType;
|
|
|
9430
9430
|
EditGeometryType["Raster"] = "raster";
|
|
9431
9431
|
})(EditGeometryType || (EditGeometryType = {}));
|
|
9432
9432
|
|
|
9433
|
-
var StyligClassificationTypes;
|
|
9434
|
-
(function (StyligClassificationTypes) {
|
|
9435
|
-
StyligClassificationTypes["FillColor"] = "fill-color";
|
|
9436
|
-
StyligClassificationTypes["FillExtrusionColor"] = "fill-extrusion-color";
|
|
9437
|
-
StyligClassificationTypes["CircleColor"] = "circle-color";
|
|
9438
|
-
StyligClassificationTypes["LineColor"] = "line-color";
|
|
9439
|
-
StyligClassificationTypes["CircleStrokeColor"] = "circle-stroke-color";
|
|
9440
|
-
StyligClassificationTypes["CircleRadius"] = "circle-radius";
|
|
9441
|
-
StyligClassificationTypes["CircleStrokeWidth"] = "circle-stroke-width";
|
|
9442
|
-
StyligClassificationTypes["LineWidth"] = "line-width";
|
|
9443
|
-
StyligClassificationTypes["CircleBlur"] = "circle-blur";
|
|
9444
|
-
StyligClassificationTypes["LineBlur"] = "line-blur";
|
|
9445
|
-
})(StyligClassificationTypes || (StyligClassificationTypes = {}));
|
|
9446
|
-
|
|
9447
9433
|
const StyledButton = styled(FlatButton).withConfig({ displayName: "StyledButton", componentId: "sc-13r9ztd" }) `
|
|
9448
9434
|
display: flex;
|
|
9449
9435
|
align-items: center;
|
|
@@ -14829,6 +14815,18 @@ const enrichStyleItemsWithIds = (style) => {
|
|
|
14829
14815
|
};
|
|
14830
14816
|
};
|
|
14831
14817
|
|
|
14818
|
+
const enrichStyleModelsWithIds = (style) => {
|
|
14819
|
+
return {
|
|
14820
|
+
...style,
|
|
14821
|
+
models: style.models.map(model => {
|
|
14822
|
+
return {
|
|
14823
|
+
...model,
|
|
14824
|
+
id: model.id || v4(),
|
|
14825
|
+
};
|
|
14826
|
+
}),
|
|
14827
|
+
};
|
|
14828
|
+
};
|
|
14829
|
+
|
|
14832
14830
|
const findAttributeInExpression = (expression) => {
|
|
14833
14831
|
if (Array.isArray(expression) && expression.length === 2 && expression[0] === "get") {
|
|
14834
14832
|
return [expression[1]];
|
|
@@ -14981,15 +14979,10 @@ const Map$1 = ({ zIndex, lowerSiblings, upperSiblings, onError, children, ...res
|
|
|
14981
14979
|
}, children: children }), upperSiblings] }));
|
|
14982
14980
|
};
|
|
14983
14981
|
|
|
14984
|
-
const NUMBER_CLASSIFICATION_TYPES = [
|
|
14985
|
-
StyligClassificationTypes.CircleRadius,
|
|
14986
|
-
StyligClassificationTypes.CircleStrokeWidth,
|
|
14987
|
-
StyligClassificationTypes.LineWidth,
|
|
14988
|
-
];
|
|
14989
14982
|
const DEFAULT_COLOR = "#00ffff";
|
|
14990
14983
|
const DEFAULT_BLUR = 0;
|
|
14991
14984
|
const DEFAULT_OPACITY = 0.5;
|
|
14992
|
-
const
|
|
14985
|
+
const DEFAULT_CIRCLE_RADIUS = 4;
|
|
14993
14986
|
const DEFAULT_LINE_WIDTH = 1;
|
|
14994
14987
|
const DEFAULT_LINE_CAP = "butt";
|
|
14995
14988
|
const DEFAULT_LINE_JOIN = "miter";
|
|
@@ -15043,7 +15036,7 @@ const DEFAULT_CIRCLE_STYLE = {
|
|
|
15043
15036
|
type: "circle",
|
|
15044
15037
|
layout: {},
|
|
15045
15038
|
paint: {
|
|
15046
|
-
"circle-radius":
|
|
15039
|
+
"circle-radius": DEFAULT_CIRCLE_RADIUS,
|
|
15047
15040
|
"circle-color": DEFAULT_COLOR,
|
|
15048
15041
|
"circle-blur": DEFAULT_BLUR,
|
|
15049
15042
|
"circle-opacity": DEFAULT_OPACITY,
|
|
@@ -15056,5 +15049,5 @@ const DEFAULT_CIRCLE_STYLE = {
|
|
|
15056
15049
|
],
|
|
15057
15050
|
};
|
|
15058
15051
|
|
|
15059
|
-
export { ALIGNMENTS, ALIGN_ITEMS, AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttachmentContainer, AttributeGalleryContainer, AttributeLabel, BASE_CONTAINER_STYLE, BaseMapTheme, CHART_TYPES, 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_BLUR, DEFAULT_CHART_ANGLE, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CIRCLE_STYLE, DEFAULT_COLOR, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DATA_SOURCE_LIMIT, DEFAULT_DROPDOWN_WIDTH, DEFAULT_FILL_EXTRUSION_STYLE, DEFAULT_FILL_STYLE, DEFAULT_FILTER_PADDING, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LAT, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_LINE_STYLE, DEFAULT_LINE_WIDTH, DEFAULT_LNG, DEFAULT_OPACITY, DEFAULT_PAGES_CONFIG, DEFAULT_PIECHART_RADIUS,
|
|
15052
|
+
export { ALIGNMENTS, ALIGN_ITEMS, AddFeatureButton, AddFeatureContainer, AlertIconContainer, AttachmentContainer, AttributeGalleryContainer, AttributeLabel, BASE_CONTAINER_STYLE, BaseMapTheme, CHART_TYPES, 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_BLUR, DEFAULT_CHART_ANGLE, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CIRCLE_RADIUS, DEFAULT_CIRCLE_STYLE, DEFAULT_COLOR, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DATA_SOURCE_LIMIT, DEFAULT_DROPDOWN_WIDTH, DEFAULT_FILL_EXTRUSION_STYLE, DEFAULT_FILL_STYLE, DEFAULT_FILTER_PADDING, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LAT, DEFAULT_LINE_CAP, DEFAULT_LINE_JOIN, DEFAULT_LINE_STYLE, DEFAULT_LINE_WIDTH, DEFAULT_LNG, DEFAULT_OPACITY, 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, EMPTY_DATA_SOURCE_LAYER_INFO, EditGeometryType, ElementButton, ElementCamera, ElementChart, ElementChips, ElementControl, ElementIcon, ElementImage, ElementLegend, ElementLink, ElementMarkdown, ElementSlideshow, ElementSvg, ElementTooltip, ElementValueWrapper, ExpandableTitle, FEATURE_CARD_DEFAULT_COLORS, FEATURE_CARD_OTHER_COLOR, FILL_SIZE, FILTERED_VALUE_OPACITY, FILTER_PREFIX, FeatureCardBackgroundHeader, FeatureCardButtons, FeatureCardContext, FeatureCardDefaultHeader, FeatureCardHeader, FeatureCardProvider, FeatureCardSlideshowHeader, FeatureCardTitle, FeatureControls, FeatureTitleContainer, FiltersContainer, GEOMETRY_ATTRIBUTE, GlobalContext, GlobalProvider, Header, HeaderContainer, HeaderFontColorMixin, HeaderFrontView, HeaderTemplate, HeaderTitleContainer, HiddenTitleItems, IconContainer, ImageContainer, LEFT_PANEL_HEADER_HEIGHT, Layer, LayerDescription, LayerGroupList, LayerIcon, LayerIconContainer, LayerListContainer, LayerTree, LayersContainer, LayersListWrapper, LinearProgressContainer, LogTerminal, LogoContainer, MAX_CHART_WIDTH, Map$1 as Map, MapContext, MapProvider, NO_CONTENT_VALUE, NUMERIC_ATTRIBUTE_TYPES, NoLiveSnapshotContainer, OBJECT_FITS, OVERFLOWS, OneColumnContainer, POLL_SUBTASK_INTERVAL_MS, POLL_SUBTASK_TIMEOUT_MS, PROVIDER_PREFIX, PageNavigator, PageTitle, PageTitleContainer, PagesContainer, Pagination, PresentationHeader, PresentationHeaderButtons, PresentationHeaderTools, PresentationPanelContainer, PresentationPanelWrapper, PresentationWrapper, ProgressContainer, ProviderPrefix, RoundedBackgroundContainer, SAVE_HOOK_RESULT_DURATION, SERVER_NOTIFICATION_EVENT, STACK_BAR_TOTAL_HEIGHT, ScalingFactor, ServerNotificationsContext, ServerNotificationsProvider, SlideshowContainer, SmallPreviewContainer$1 as SmallPreviewContainer, SmallPreviewControl, SmallPreviewCounter, SmallPreviewImages, SmallPreviewLeft, SmallPreviewRight, StackBar, SvgImage, TILE_ALIGNMENTS, TIME_ZONE_FORMAT, TabsContainer, TextTrim, ThemeName, TitleContainer, TopContainer, TopContainerButtons, TwoColumnContainer, UploadContainer, VIEW_MODES, WidgetType, addDataSource, addDataSources, adjustColor, applyFiltersToCondition, applyQueryFilters, applyTreeFilterToCondition, applyVarsToCondition, asAttributeName, asChartId, asContainerId, asDataSourceName, asFilterName, asLayerName, asModalId, asResourceId, asTabId, checkEqualOrIncludes, checkIsLoading, createConfigLayer, createConfigPage, createNewPageId, createSaveNotificationId, dateOptions, debounce, decimalOpacityToHex, enrichStyleItemsWithIds, enrichStyleModelsWithIds, eqlParametersToPayload, findAttributeInExpression, formatArea, formatAttributeValue, formatChartRelatedValue, formatConditionValue, formatDataSourceCondition, formatDate$1 as formatDate, formatElementValue, formatLength, formatNumber, formatPolygonMeasure, geometryToEwkt, getActualExtrusionHeight, getAttributeByName, getAttributeConfigurationByName, getAttributeValue, getAttributesConfiguration, getChartAxes, getChartFilterName, getChartMarkers, getConfigFilter, getContainerComponent, getDashboardHeader, getDataFromAttributes, getDataFromRelatedFeatures, getDataSource, getDataSourceFilterValue, getDataSourceLayerInfo, getDate, getDefaultConfig, getDisplayTemplateNameFromAttribute, getElementValue, getFeatureAttributes, getFeatureCardHeader, getFilterComponent, getFilterSelectedItems, getFilterValue, getFormattedAttributes, getGradientColors, getLayerClientStyle, getLayerInfo, getLayerInfoAttribute, getLayerInfoFromDataSources, getPagesFromConfig, getPagesFromProjectInfo, getProxyService, getRelatedAttribute, getRenderElement, getResourceUrl, getRootElementId, getSelectedFilterValue, getSlideshowImages, getStyleAttributes, getSvgUrl, getTemplateNameFromAttribute, getThemeByName, getTotalFromAttributes, getTotalFromRelatedFeatures, getWrapperSizeStyle, hexToRgba, isEmptyElementValue, isEmptyValue, isFillSize, isHiddenEmptyValue, isHookActive, isLayerService, isNotValidSelectedTab, isNumeric, isObject, isProxyService, isTreeFilterValue, isVisibleContainer, mergeAttributeConfigurations, metersPerPixel, numberOptions, parseIconNames, parseIconNamesFromClientStyle, pieChartTooltipFromAttributes, pieChartTooltipFromRelatedFeatures, pointOptions, removeDataSource, rgbToHex, roundTotalSum, sizeCssMixin, sliceShownOtherItems, stretchPalette, timeOptions, toCssSize, toPxNumber, toRenderableValue, tooltipNameFromAttributes, tooltipValueFromAttributes, tooltipValueFromRelatedFeatures, transparentizeColor, updateDataSource, useAfterSave, useAppHeight, useAttachmentItems, useAttachmentPreviewImages, useAutoCompleteControl, useBeforeSave, useChartChange, useChartData, useContainerAttributes, useCurrentPageLayers, useCustomFeatureSelect, useDashboardHeader, useDataSources, useDebouncedCallback, useDiffPage, useEditGroupAttributes, useEqualTileWidth, useExpandableContainers, useExportPdf, useFeatureSaveHooks, useFetchImageWithAuth, useFetchWithAuth, useGetConfigLayer, useGlobalContext, useHeaderRender, useHideIfEmptyDataSource, useIconsFromLayers, useLayerHiddenAttributes, useLayerParams, useMapContext, useMapDraw, useMapImages, useMaxZoomTo, useProjectDashboardInit, usePythonSandbox, usePythonTask, useRedrawLayer, useRelatedDataSourceAttributes, useRemoteTask, useRenderElement, useResizeBox, useSavePrototypeBuilder, useServerNotificationsContext, useShownOtherItems, useToggle, useUpdateDataSource, useVisibleProjectItems, useWidgetConfig, useWidgetContext, useWidgetFilters, useWidgetPage, useWindowResize, useWrapperSize, useZoomToFeatures, useZoomToPoint };
|
|
15060
15053
|
//# sourceMappingURL=react.esm.js.map
|