@evergis/react 2.0.143 → 2.0.145
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/EvergisCard/index.d.ts +1 -1
- package/dist/components/EvergisCard/styled.d.ts +0 -11
- package/dist/components/Symbol/styled.d.ts +3 -0
- package/dist/contexts/LegendContext.d.ts +1 -1
- package/dist/core/feature/getFeatureSymbol.d.ts +1 -1
- package/dist/core/style/EvergisStyle.d.ts +1 -1
- package/dist/core/style/types/symbol.d.ts +3 -3
- package/dist/hooks/useLegend/useLegendValueSymbol.d.ts +1 -1
- package/dist/hooks/useLegend/useMapLegend.d.ts +1 -1
- package/dist/react.cjs.development.js +61 -35
- package/dist/react.cjs.development.js.map +1 -1
- package/dist/react.cjs.production.min.js +1 -1
- package/dist/react.cjs.production.min.js.map +1 -1
- package/dist/react.esm.js +61 -33
- package/dist/react.esm.js.map +1 -1
- package/dist/symbols/guards.d.ts +2 -0
- package/dist/symbols/types.d.ts +2 -1
- package/package.json +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './EvergisCard';
|
|
2
|
-
export { EvergisCardContainer, CardHeader, CardAttributes, AttributeValueContainer as EvergisCardAttributeValueContainer, AttributeTitle as EvergisCardAttributeTitle, ValueLink as EvergisCardValueLink, SimpleAttribute as EvergisCardSimpleValue, CardPagination as EvergisCardPagination,
|
|
2
|
+
export { EvergisCardContainer, CardHeader, CardAttributes, AttributeValueContainer as EvergisCardAttributeValueContainer, AttributeTitle as EvergisCardAttributeTitle, ValueLink as EvergisCardValueLink, SimpleAttribute as EvergisCardSimpleValue, CardPagination as EvergisCardPagination, StickyHeader as EvergisCardStickyHeader, CardTitle as EvergisCardCardTitle, FeatureName as EvergisCardFeatureName, LayerName as EvergisCardLayerName, CardControls as EvergisCardCardControls, PaginationDescription as EvergisCardPaginationDescription, CurrentFeatureIndex as EvergisCardCurrentFeatureIndex, AttributeContainer as EvergisCardAttributeContainer, } from './styled';
|
|
3
3
|
export * from './EvergisCardAttribute';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IconProps } from '@evergis/icons';
|
|
2
1
|
export declare const EvergisCardContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
2
|
export declare const StickyHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
3
|
export declare const CardHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -15,13 +14,3 @@ export declare const AttributeTitle: import("styled-components").StyledComponent
|
|
|
15
14
|
export declare const AttributeValueContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
15
|
export declare const SimpleAttribute: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
17
16
|
export declare const ValueLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
18
|
-
declare type CardIconProps = {
|
|
19
|
-
kind?: string;
|
|
20
|
-
onClick?: () => void;
|
|
21
|
-
};
|
|
22
|
-
export declare const StatIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
23
|
-
export declare const ZoomIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
24
|
-
export declare const CloseIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
25
|
-
export declare const PrevIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
26
|
-
export declare const NextIcon: import("styled-components").StyledComponent<"i", any, IconProps & CardIconProps, never>;
|
|
27
|
-
export {};
|
|
@@ -4,3 +4,6 @@ export declare type CompoundIconProps = {
|
|
|
4
4
|
icons: Record<GeometryType, string>;
|
|
5
5
|
};
|
|
6
6
|
export declare const CompoundIcon: import("styled-components").StyledComponent<"div", any, CompoundIconProps, never>;
|
|
7
|
+
export declare const ClusterSymbol: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
+
color?: string | undefined;
|
|
9
|
+
}, never>;
|
|
@@ -4,5 +4,5 @@ declare type LegendProviderProps = {
|
|
|
4
4
|
symbol?: StyleSymbolType;
|
|
5
5
|
};
|
|
6
6
|
export declare const LegendProvider: React.FC<LegendProviderProps>;
|
|
7
|
-
export declare const useLegendContext: () => import("..").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | import("../core/style/types/symbol").SquareSymbol | import("..").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("..").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | import("../core/style/types/symbol").PolygonSymbol<import("..").FillBrushType, import("..").StrokeBrushType> | import("..").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never> | import("..").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never> | import("..").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("..").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("..").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("..").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("..").ClientSymbol<"compositeSymbol", import("@evergis/api").CompositeSymbolDc, never> | import("@evergis/api").H3GridSymbolDc | null;
|
|
7
|
+
export declare const useLegendContext: () => import("..").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | import("../core/style/types/symbol").SquareSymbol | import("..").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("..").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | import("../core/style/types/symbol").PolygonSymbol<import("..").FillBrushType, import("..").StrokeBrushType> | import("..").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never> | import("..").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never> | import("..").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("..").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("..").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("..").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("..").ClientSymbol<"compositeSymbol", import("@evergis/api").CompositeSymbolDc, never> | import("@evergis/api").H3GridSymbolDc | import("@evergis/api").ClusterSymbolDc | null;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ import { EvergisStyle, ParameterByAttributeValue, ParameterValueWithSymbol, Styl
|
|
|
3
3
|
export declare const getAttributeNameFromCondition: (condition: string) => string | null;
|
|
4
4
|
export declare const getAttributeNameFromClassified: (values: ParameterByAttributeValue<ParameterValueWithSymbol>[]) => string | null;
|
|
5
5
|
export declare function findChildFeatureStyle(childStyles: Style[], attributes: FeatureAttribute[]): Style | null;
|
|
6
|
-
export declare function findChildFeatureSymbol(childStyles: Style[], attributes: FeatureAttribute[]): import("../style").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | import("../style").SquareSymbol | import("../style").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("../style").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | import("../style").PolygonSymbol<import("../style").FillBrushType, import("../style").StrokeBrushType> | import("../style").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never> | import("../style").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never> | import("../style").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../style").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../style").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../style").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("@evergis/api").H3GridSymbolDc | null;
|
|
6
|
+
export declare function findChildFeatureSymbol(childStyles: Style[], attributes: FeatureAttribute[]): import("../style").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | import("../style").SquareSymbol | import("../style").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("../style").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | import("../style").PolygonSymbol<import("../style").FillBrushType, import("../style").StrokeBrushType> | import("../style").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never> | import("../style").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never> | import("../style").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../style").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../style").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("../style").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("@evergis/api").H3GridSymbolDc | import("@evergis/api").ClusterSymbolDc | null;
|
|
7
7
|
export declare function getFeatureSymbol(style: EvergisStyle, attributes: FeatureAttribute[]): StyleSymbolType | null;
|
|
@@ -7,7 +7,7 @@ export declare class EvergisStyle {
|
|
|
7
7
|
constructor(style: StyleDc);
|
|
8
8
|
serialize(): StyleDc;
|
|
9
9
|
hasRasters(): boolean;
|
|
10
|
-
get symbol(): import("./types").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("./types").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | import("./types").SquareSymbol | import("./types").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("./types").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | import("./types").PolygonSymbol<import("./types").FillBrushType, import("./types").StrokeBrushType> | import("./types").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never> | import("./types").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never> | import("./types").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("./types").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("./types").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("@evergis/api").H3GridSymbolDc;
|
|
10
|
+
get symbol(): import("./types").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | import("./types").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never> | import("./types").SquareSymbol | import("./types").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never> | import("./types").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never> | import("./types").PolygonSymbol<import("./types").FillBrushType, import("./types").StrokeBrushType> | import("./types").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never> | import("./types").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never> | import("./types").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("./types").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("./types").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("@evergis/api").H3GridSymbolDc | import("@evergis/api").ClusterSymbolDc;
|
|
11
11
|
get raster(): import("./types").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never> | null;
|
|
12
12
|
get label(): import("./types").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("./types").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | import("./types").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor"> | null;
|
|
13
13
|
get children(): Style[] | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CirclePointSymbolDc, CompositeSymbolDc, H3GridSymbolDc, ImagePointSymbolDc, MaskedImagePointSymbolDc, PolygonSymbolDc, PolylineSymbolDc, RasterSymbolDc, SimplePolylineSymbolDc, SquarePointSymbolDc, StyleDc, SvgPointSymbolDc } from '@evergis/api';
|
|
1
|
+
import { CirclePointSymbolDc, ClusterSymbolDc, CompositeSymbolDc, H3GridSymbolDc, ImagePointSymbolDc, MaskedImagePointSymbolDc, PolygonSymbolDc, PolylineSymbolDc, RasterSymbolDc, SimplePolylineSymbolDc, SquarePointSymbolDc, StyleDc, SvgPointSymbolDc } from '@evergis/api';
|
|
2
2
|
import { LabelType } from './label';
|
|
3
3
|
import { CalculatedAble } from './parameterValue';
|
|
4
4
|
import { ClientSymbol } from './utils';
|
|
@@ -23,7 +23,7 @@ export declare type SimpleShapeSymbol = PointSymbol | SquareSymbol;
|
|
|
23
23
|
export declare type ImageSymbol = MaskedImageSymbol | StaticImageSymbol;
|
|
24
24
|
export declare type PointSymbolType = SimpleShapeSymbol | ImageSymbol;
|
|
25
25
|
export declare type PolylineSymbols = PolylineSymbol | SimplePolylineSymbol;
|
|
26
|
-
export declare type StyleSymbolType = PointSymbolType | PolygonSymbol | PolylineSymbols | LabelType | RasterSymbol | CompositeSymbolType | H3GridSymbolDc;
|
|
26
|
+
export declare type StyleSymbolType = PointSymbolType | PolygonSymbol | PolylineSymbols | LabelType | RasterSymbol | CompositeSymbolType | H3GridSymbolDc | ClusterSymbolDc;
|
|
27
27
|
export declare type StyleSymbolTypes = StyleSymbolType['type'];
|
|
28
28
|
export declare type UnknownSymbol = StyleDc['symbol'] | StyleSymbolType;
|
|
29
29
|
export declare type LayerSymbol = PointSymbol | PolylineSymbols | PolygonSymbol;
|
|
@@ -62,4 +62,4 @@ export declare const isTwoDimensionalSymbol: (symbol: UnknownSymbol) => symbol i
|
|
|
62
62
|
export declare const isSizableSymbol: (symbol: UnknownSymbol) => symbol is SimpleShapeSymbol;
|
|
63
63
|
export declare const isStrokeStyledSymbol: (symbol: UnknownSymbol) => symbol is StrokeStyledSymbols;
|
|
64
64
|
export declare const isScalablePolylineSymbol: (symbol: PolylineSymbol | SimplePolylineSymbol) => boolean | undefined;
|
|
65
|
-
export declare const isSimpleSymbol: (symbol: UnknownSymbol) => symbol is ClientSymbol<"circlePointSymbol", CirclePointSymbolDc, never> | ClientSymbol<"maskedImagePointSymbol", MaskedImagePointSymbolDc, never> | ClientSymbol<"imagePointSymbol", ImagePointSymbolDc, never> | ClientSymbol<"simplePolylineSymbol", SimplePolylineSymbolDc, never> | ClientSymbol<"polylineSymbol", PolylineSymbolDc, never> | ClientSymbol<"rasterSymbol", RasterSymbolDc, never> | H3GridSymbolDc | SquareSymbol | PolygonSymbol<FillBrushType, StrokeBrushType
|
|
65
|
+
export declare const isSimpleSymbol: (symbol: UnknownSymbol) => symbol is ClientSymbol<"circlePointSymbol", CirclePointSymbolDc, never> | ClientSymbol<"maskedImagePointSymbol", MaskedImagePointSymbolDc, never> | ClientSymbol<"imagePointSymbol", ImagePointSymbolDc, never> | ClientSymbol<"simplePolylineSymbol", SimplePolylineSymbolDc, never> | ClientSymbol<"polylineSymbol", PolylineSymbolDc, never> | ClientSymbol<"rasterSymbol", RasterSymbolDc, never> | H3GridSymbolDc | SquareSymbol | PolygonSymbol<FillBrushType, StrokeBrushType> | ClusterSymbolDc;
|
|
@@ -3,4 +3,4 @@ export declare type LegendSymbolPart = {
|
|
|
3
3
|
parameter: ClassificationParameterExtended;
|
|
4
4
|
parameterValue: ParameterValueWithSymbol;
|
|
5
5
|
};
|
|
6
|
-
export declare const useLegendValueSymbol: ({ parameter, parameterValue, }: LegendSymbolPart) => import("@evergis/sgis/es/symbols/point/Point").PointSymbol | import("@evergis/sgis/es/symbols/point/StaticImageSymbol").StaticImageSymbol | import("@evergis/sgis/es/symbols/point/Square").SquareSymbol | import("@evergis/sgis/es/symbols/point/MaskedImage").MaskedImage | import("@evergis/sgis/es/symbols/polygon/Simple").PolygonSymbol | import("@evergis/sgis/es/symbols/polygon/BrushFill").BrushFill | import("@evergis/sgis/es/symbols/polygon/ImageFill").ImageFill | import("@evergis/sgis/es/symbols/PolylineSymbol").PolylineSymbol | import("@evergis/sgis/es/symbols/H3Symbol").H3Symbol | null;
|
|
6
|
+
export declare const useLegendValueSymbol: ({ parameter, parameterValue, }: LegendSymbolPart) => import("@evergis/sgis/es/symbols/point/Point").PointSymbol | import("@evergis/sgis/es/symbols/point/StaticImageSymbol").StaticImageSymbol | import("@evergis/sgis/es/symbols/point/Square").SquareSymbol | import("@evergis/sgis/es/symbols/point/MaskedImage").MaskedImage | import("@evergis/sgis/es/symbols/polygon/Simple").PolygonSymbol | import("@evergis/sgis/es/symbols/polygon/BrushFill").BrushFill | import("@evergis/sgis/es/symbols/polygon/ImageFill").ImageFill | import("@evergis/sgis/es/symbols/PolylineSymbol").PolylineSymbol | import("@evergis/sgis/es/symbols/H3Symbol").H3Symbol | import("@evergis/sgis/es/symbols/ClusterSymbol").ClusterSymbol | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FeatureLayerServiceInfoDc } from '@evergis/api';
|
|
2
2
|
import { LegendConfig } from '../../core';
|
|
3
3
|
export declare const useMapLegend: (layer?: FeatureLayerServiceInfoDc | undefined, config?: LegendConfig | undefined) => {
|
|
4
|
-
symbol: import("../../core").Unclassify<import("../../core").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never>> | import("../../core").Unclassify<import("../../core").SquareSymbol> | import("../../core").Unclassify<import("../../core").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never>> | import("../../core").Unclassify<import("../../core").PolygonSymbol<import("../../core").FillBrushType, import("../../core").StrokeBrushType>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor">> | import("../../core").Unclassify<import("../../core").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor">> | import("../../core").Unclassify<import("../../core").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor">> | import("../../core").Unclassify<import("../../core").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never>> | import("../../core").Unclassify<import("@evergis/api").H3GridSymbolDc>;
|
|
4
|
+
symbol: import("../../core").Unclassify<import("../../core").ClientSymbol<"circlePointSymbol", import("@evergis/api").CirclePointSymbolDc, never>> | import("../../core").Unclassify<import("../../core").SquareSymbol> | import("../../core").Unclassify<import("../../core").ClientSymbol<"maskedImagePointSymbol", import("@evergis/api").MaskedImagePointSymbolDc, never>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"imagePointSymbol", import("@evergis/api").ImagePointSymbolDc, never>> | import("../../core").Unclassify<import("../../core").PolygonSymbol<import("../../core").FillBrushType, import("../../core").StrokeBrushType>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"polylineSymbol", import("@evergis/api").PolylineSymbolDc, never>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"simplePolylineSymbol", import("@evergis/api").SimplePolylineSymbolDc, never>> | import("../../core").Unclassify<import("../../core").ClientSymbol<"polylineLabelSymbol", import("@evergis/api").PolylineLabelSymbolDc, "fontColor" | "fontSize" | "haloColor">> | import("../../core").Unclassify<import("../../core").ClientSymbol<"polygonLabelSymbol", import("@evergis/api").PolygonLabelSymbolDc, "fontColor" | "fontSize" | "haloColor">> | import("../../core").Unclassify<import("../../core").ClientSymbol<"labelPointSymbol", import("@evergis/api").PointLabelSymbolDc, "fontColor" | "fontSize" | "haloColor">> | import("../../core").Unclassify<import("../../core").ClientSymbol<"rasterSymbol", import("@evergis/api").RasterSymbolDc, never>> | import("../../core").Unclassify<import("@evergis/api").H3GridSymbolDc> | import("../../core").Unclassify<import("@evergis/api").ClusterSymbolDc>;
|
|
5
5
|
items: import("../../core").LegendItem[];
|
|
6
6
|
} | null;
|
|
@@ -2782,6 +2782,9 @@ function isSGisPolylineSymbol(symbol) {
|
|
|
2782
2782
|
function isSGisH3Symbol(symbol) {
|
|
2783
2783
|
return symbol instanceof H3Symbol.H3Symbol;
|
|
2784
2784
|
}
|
|
2785
|
+
function isSGisClusterSymbol(symbol) {
|
|
2786
|
+
return !!symbol.singleObjectSymbol;
|
|
2787
|
+
}
|
|
2785
2788
|
|
|
2786
2789
|
/**
|
|
2787
2790
|
* Моки фич для отображения превью символа
|
|
@@ -2901,6 +2904,9 @@ function deserializeSymbol(symbol) {
|
|
|
2901
2904
|
case 'polylineSymbol':
|
|
2902
2905
|
return deserializePolylineSymbol(symbol);
|
|
2903
2906
|
|
|
2907
|
+
case "clusterSymbol":
|
|
2908
|
+
return deserializeSymbol(symbol.singleObjectSymbol);
|
|
2909
|
+
|
|
2904
2910
|
default:
|
|
2905
2911
|
return null;
|
|
2906
2912
|
}
|
|
@@ -4406,7 +4412,7 @@ const Symbol = _ref => {
|
|
|
4406
4412
|
});
|
|
4407
4413
|
};
|
|
4408
4414
|
|
|
4409
|
-
var _templateObject;
|
|
4415
|
+
var _templateObject, _templateObject2;
|
|
4410
4416
|
const CompoundIcon = /*#__PURE__*/styled__default.div(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: ", ";\n height: 32px;\n width: 32px;\n"])), _ref => {
|
|
4411
4417
|
let {
|
|
4412
4418
|
geometryType,
|
|
@@ -4414,6 +4420,17 @@ const CompoundIcon = /*#__PURE__*/styled__default.div(_templateObject || (_templ
|
|
|
4414
4420
|
} = _ref;
|
|
4415
4421
|
return "url(" + icons[geometryType] + ") center center / " + (geometryType === api.GeometryType.Polyline ? '2rem 1.3rem' : 'auto 1rem') + " no-repeat";
|
|
4416
4422
|
});
|
|
4423
|
+
const ClusterSymbol = /*#__PURE__*/styled__default.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n width: 32px;\n height: 32px;\n\n :before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: inherit;\n height: inherit;\n background-color: ", ";\n border-radius: 50%;\n opacity: 0.28;\n }\n \n :after {\n content: \"99\";\n position: absolute;\n top: 4px;\n left: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 24px;\n height: 24px;\n background-color: ", ";\n border-radius: 50%;\n color: white;\n font-size: 0.75rem;\n line-height: 1;\n }\n"])), _ref2 => {
|
|
4424
|
+
let {
|
|
4425
|
+
color
|
|
4426
|
+
} = _ref2;
|
|
4427
|
+
return color;
|
|
4428
|
+
}, _ref3 => {
|
|
4429
|
+
let {
|
|
4430
|
+
color
|
|
4431
|
+
} = _ref3;
|
|
4432
|
+
return color;
|
|
4433
|
+
});
|
|
4417
4434
|
|
|
4418
4435
|
const MAX_SIZE = 32;
|
|
4419
4436
|
const StyleSymbol = _ref => {
|
|
@@ -4422,6 +4439,11 @@ const StyleSymbol = _ref => {
|
|
|
4422
4439
|
size = MAX_SIZE,
|
|
4423
4440
|
children
|
|
4424
4441
|
} = _ref;
|
|
4442
|
+
|
|
4443
|
+
if (children) {
|
|
4444
|
+
return React__default.createElement(React__default.Fragment, null, children);
|
|
4445
|
+
}
|
|
4446
|
+
|
|
4425
4447
|
let sGisSymbol = null;
|
|
4426
4448
|
|
|
4427
4449
|
try {
|
|
@@ -4429,19 +4451,32 @@ const StyleSymbol = _ref => {
|
|
|
4429
4451
|
} catch (e) {// TODO generate Error symbol
|
|
4430
4452
|
}
|
|
4431
4453
|
|
|
4432
|
-
|
|
4454
|
+
if (!sGisSymbol) {
|
|
4455
|
+
return null;
|
|
4456
|
+
}
|
|
4457
|
+
|
|
4458
|
+
if (isSGisClusterSymbol(symbol)) {
|
|
4459
|
+
var _sGisSymbol$backgroun, _sGisSymbol$figure;
|
|
4460
|
+
|
|
4461
|
+
const color = getParameterValue((_sGisSymbol$backgroun = sGisSymbol.background) == null ? void 0 : _sGisSymbol$backgroun.fillColor) || getParameterValue((_sGisSymbol$figure = sGisSymbol.figure) == null ? void 0 : _sGisSymbol$figure.fillColor) || "rgb(0, 170, 255)";
|
|
4462
|
+
return React__default.createElement(ClusterSymbol, {
|
|
4463
|
+
color: color
|
|
4464
|
+
});
|
|
4465
|
+
}
|
|
4466
|
+
|
|
4467
|
+
return React__default.createElement(Symbol, {
|
|
4433
4468
|
symbol: adjustSymbol(sGisSymbol, {
|
|
4434
4469
|
size: size - 1
|
|
4435
4470
|
}),
|
|
4436
4471
|
size: size
|
|
4437
|
-
})
|
|
4472
|
+
});
|
|
4438
4473
|
};
|
|
4439
4474
|
|
|
4440
|
-
var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16
|
|
4475
|
+
var _templateObject$1, _templateObject2$1, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
4441
4476
|
const EvergisCardContainer = /*#__PURE__*/styled__default.div(_templateObject$1 || (_templateObject$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 2.25rem;\n right: 0.5rem;\n width: 22.5rem;\n margin-bottom: 1rem;\n max-height: 90%;\n min-height: 1rem;\n background: #fff;\n border-radius: 4px;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow: initial;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n\n ", " {\n color: rgba(0, 0, 0, 0.65);\n cursor: pointer;\n user-select: none;\n\n &:hover {\n color: #1fb3aa;\n }\n }\n"])), icons.Icon);
|
|
4442
|
-
const StickyHeader = /*#__PURE__*/styled__default.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
|
|
4477
|
+
const StickyHeader = /*#__PURE__*/styled__default.div(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
|
|
4443
4478
|
const CardHeader = /*#__PURE__*/styled__default.div(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"])));
|
|
4444
|
-
const CardTitle = /*#__PURE__*/styled__default.div(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n
|
|
4479
|
+
const CardTitle = /*#__PURE__*/styled__default.div(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n flex-grow: 1;\n"])));
|
|
4445
4480
|
const CardControls = /*#__PURE__*/styled__default.div(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"])), icons.Icon);
|
|
4446
4481
|
const FeatureName = /*#__PURE__*/styled__default.div(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
|
|
4447
4482
|
const LayerName = /*#__PURE__*/styled__default.div(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"])));
|
|
@@ -4454,11 +4489,6 @@ const AttributeTitle = /*#__PURE__*/styled__default.div(_templateObject13 || (_t
|
|
|
4454
4489
|
const AttributeValueContainer = /*#__PURE__*/styled__default.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"])));
|
|
4455
4490
|
const SimpleAttribute = /*#__PURE__*/styled__default.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
4456
4491
|
const ValueLink = /*#__PURE__*/styled__default.a(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"])));
|
|
4457
|
-
const featureCardIconMixin = /*#__PURE__*/styled.css(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n"])));
|
|
4458
|
-
const ZoomIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4459
|
-
const CloseIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4460
|
-
const PrevIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4461
|
-
const NextIcon = /*#__PURE__*/styled__default(icons.Icon)(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4462
4492
|
|
|
4463
4493
|
const MailValue = _ref => {
|
|
4464
4494
|
let {
|
|
@@ -4588,15 +4618,13 @@ const StyledCard = _ref => {
|
|
|
4588
4618
|
onClick: zoom
|
|
4589
4619
|
}, React__default.createElement(icons.EverCloudZoomtoIcon, null)), React__default.createElement(icons.IconButton, {
|
|
4590
4620
|
onClick: reset
|
|
4591
|
-
}, React__default.createElement(icons.EverCloudCloseIcon, null)))), features.length > 1 ? React__default.createElement(CardPagination, null, React__default.createElement(
|
|
4592
|
-
kind: "prev",
|
|
4621
|
+
}, React__default.createElement(icons.EverCloudCloseIcon, null)))), features.length > 1 ? React__default.createElement(CardPagination, null, React__default.createElement(icons.IconButton, {
|
|
4593
4622
|
onClick: prev
|
|
4594
|
-
}), React__default.createElement(PaginationDescription, null, React__default.createElement(CurrentFeatureIndex, {
|
|
4623
|
+
}, React__default.createElement(icons.EverCloudPlayPrevIcon, null)), React__default.createElement(PaginationDescription, null, React__default.createElement(CurrentFeatureIndex, {
|
|
4595
4624
|
onClick: zoom
|
|
4596
|
-
}, current + 1), "\u043E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437 ", features.length), React__default.createElement(
|
|
4597
|
-
kind: "next",
|
|
4625
|
+
}, current + 1), "\u043E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437 ", features.length), React__default.createElement(icons.IconButton, {
|
|
4598
4626
|
onClick: next
|
|
4599
|
-
})) : null, headerExtra), React__default.createElement(CardAttributes, null, feature.attributes && (typeof onAttributes === 'function' ? onAttributes(feature.attributes) : feature.attributes).map(attribute => {
|
|
4627
|
+
}, React__default.createElement(icons.EverCloudPlayNextIcon, null))) : null, headerExtra), React__default.createElement(CardAttributes, null, feature.attributes && (typeof onAttributes === 'function' ? onAttributes(feature.attributes) : feature.attributes).map(attribute => {
|
|
4600
4628
|
return attribute.render || React__default.createElement(EvergisCardAttribute, {
|
|
4601
4629
|
key: attribute.name,
|
|
4602
4630
|
attribute: attribute
|
|
@@ -4730,9 +4758,9 @@ const EvergisSelect = _ref => {
|
|
|
4730
4758
|
}));
|
|
4731
4759
|
};
|
|
4732
4760
|
|
|
4733
|
-
var _templateObject$2, _templateObject2$
|
|
4761
|
+
var _templateObject$2, _templateObject2$2, _templateObject3$1, _templateObject4$1, _templateObject5$1;
|
|
4734
4762
|
const LegendContainer = /*#__PURE__*/styled__default.div(_templateObject$2 || (_templateObject$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: white;\n"])));
|
|
4735
|
-
const LegendSectionContainer = /*#__PURE__*/styled__default.div(_templateObject2$
|
|
4763
|
+
const LegendSectionContainer = /*#__PURE__*/styled__default.div(_templateObject2$2 || (_templateObject2$2 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
4736
4764
|
const LegendSymbolTitle = /*#__PURE__*/styled__default.p(_templateObject3$1 || (_templateObject3$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"])));
|
|
4737
4765
|
const LegendValueContainer = /*#__PURE__*/styled__default.div(_templateObject4$1 || (_templateObject4$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 0.75rem;\n\n ", " {\n padding-left: 0.5rem;\n }\n"])), LegendSymbolTitle);
|
|
4738
4766
|
const LegendSectionHeader = /*#__PURE__*/styled__default.div(_templateObject5$1 || (_templateObject5$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1rem;\n"])));
|
|
@@ -4747,9 +4775,9 @@ const LegendSection = _ref => {
|
|
|
4747
4775
|
return React__default.createElement(LegendSectionContainer, null, !hideTitle && React__default.createElement(LegendSectionHeader, null, renderLegendTitle ? renderLegendTitle(item) : item.title), item.values.map(children));
|
|
4748
4776
|
};
|
|
4749
4777
|
|
|
4750
|
-
var _templateObject$3, _templateObject2$
|
|
4778
|
+
var _templateObject$3, _templateObject2$3;
|
|
4751
4779
|
const InputContainer = /*#__PURE__*/styled__default.div(_templateObject$3 || (_templateObject$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 0.125rem;\n box-sizing: border-box;\n border: 0.0625rem solid rgba(48, 69, 79, 0.12);\n margin-bottom: 0.5rem;\n \n i {\n color: rgba(48, 69, 79, 0.54);\n padding: 0.25rem;\n\n &:hover {\n cursor: pointer;\n color: rgba(48, 69, 79, 0.87);\n }\n }\n"])));
|
|
4752
|
-
const InputField = /*#__PURE__*/styled__default.input(_templateObject2$
|
|
4780
|
+
const InputField = /*#__PURE__*/styled__default.input(_templateObject2$3 || (_templateObject2$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n border: none;\n outline: none;\n font-size: 1rem;\n line-height: 1.1875rem;\n padding: 0 0.5rem;\n background-color: transparent;\n color: rgba(48, 69, 79, 0.87);\n"])));
|
|
4753
4781
|
|
|
4754
4782
|
const SearchInput = _ref => {
|
|
4755
4783
|
let {
|
|
@@ -4905,11 +4933,11 @@ const Map = _ref => {
|
|
|
4905
4933
|
}, children);
|
|
4906
4934
|
};
|
|
4907
4935
|
|
|
4908
|
-
var _templateObject$4, _templateObject2$
|
|
4936
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$2, _templateObject4$2, _templateObject5$2;
|
|
4909
4937
|
|
|
4910
4938
|
const topLeft = distance => styled.css(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4911
4939
|
|
|
4912
|
-
const topRight = distance => styled.css(_templateObject2$
|
|
4940
|
+
const topRight = distance => styled.css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"])), distance, distance);
|
|
4913
4941
|
|
|
4914
4942
|
const bottomLeft = distance => styled.css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4915
4943
|
|
|
@@ -4927,9 +4955,9 @@ const placementMixin = function placementMixin(placement, distance) {
|
|
|
4927
4955
|
return styled.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"])), placement === 'top-left' && topLeft(distance), placement === 'top-right' && topRight(distance), placement === 'bottom-left' && bottomLeft(distance), placement === 'bottom-right' && bottomRight(distance));
|
|
4928
4956
|
};
|
|
4929
4957
|
|
|
4930
|
-
var _templateObject$5, _templateObject2$
|
|
4958
|
+
var _templateObject$5, _templateObject2$5, _templateObject3$3, _templateObject4$3, _templateObject5$3, _templateObject6$1, _templateObject7$1, _templateObject8$1;
|
|
4931
4959
|
const mapControlBtnMixin = /*#__PURE__*/styled.css(_templateObject$5 || (_templateObject$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 2rem;\n height: 2rem;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n color: #fff;\n"])));
|
|
4932
|
-
const ZoomInBtn = /*#__PURE__*/styled__default(icons.Icon)(_templateObject2$
|
|
4960
|
+
const ZoomInBtn = /*#__PURE__*/styled__default(icons.Icon)(_templateObject2$5 || (_templateObject2$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin); // ZoomInBtn.defaultProps = { kind: "plus" };
|
|
4933
4961
|
|
|
4934
4962
|
const ZoomOutBtn = /*#__PURE__*/styled__default(icons.Icon)(_templateObject3$3 || (_templateObject3$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin); // ZoomOutBtn.defaultProps = { kind: "minus" };
|
|
4935
4963
|
|
|
@@ -4986,9 +5014,9 @@ const Fullscreen = () => {
|
|
|
4986
5014
|
}));
|
|
4987
5015
|
};
|
|
4988
5016
|
|
|
4989
|
-
var _templateObject$6, _templateObject2$
|
|
5017
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$4, _templateObject4$4, _templateObject5$4, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1;
|
|
4990
5018
|
const MapLegendControl = /*#__PURE__*/styled__default(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
|
|
4991
|
-
const MapLegendContainer = /*#__PURE__*/styled__default.div(_templateObject2$
|
|
5019
|
+
const MapLegendContainer = /*#__PURE__*/styled__default.div(_templateObject2$6 || (_templateObject2$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 12.5rem;\n box-sizing: border-box;\n\n canvas {\n height: 1.625rem;\n width: 1.625rem;\n }\n"])));
|
|
4992
5020
|
const MapLegendHeader = /*#__PURE__*/styled__default(LegendSectionHeader)(_templateObject3$4 || (_templateObject3$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n max-width: 15rem;\n margin-bottom: 0.25rem;\n font-weight: 500;\n"])));
|
|
4993
5021
|
const MapLegendValueDescr = /*#__PURE__*/styled__default.div(_templateObject4$4 || (_templateObject4$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1rem;\n"])));
|
|
4994
5022
|
const MapLegendItem = /*#__PURE__*/styled__default.div(_templateObject5$4 || (_templateObject5$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: 1rem;\n background: ", ";\n border: 1px rgba(48, 69, 79, 0.1) solid;\n margin-right: -1px;\n \n ", "\n"])), _ref => {
|
|
@@ -5321,9 +5349,9 @@ const Measurer = _ref => {
|
|
|
5321
5349
|
}, props)) : null;
|
|
5322
5350
|
};
|
|
5323
5351
|
|
|
5324
|
-
var _templateObject$7, _templateObject2$
|
|
5352
|
+
var _templateObject$7, _templateObject2$7, _templateObject3$5;
|
|
5325
5353
|
const ScaleRulerContainer = /*#__PURE__*/styled__default.div(_templateObject$7 || (_templateObject$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 2rem;\n cursor: default;\n display: flex;\n align-items: flex-end;\n padding: 0 0.5rem 0.5rem;\n box-sizing: border-box;\n"])));
|
|
5326
|
-
const ScaleRulerBlock = /*#__PURE__*/styled__default.div(_templateObject2$
|
|
5354
|
+
const ScaleRulerBlock = /*#__PURE__*/styled__default.div(_templateObject2$7 || (_templateObject2$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: center;\n width: ", ";\n height: 0.25rem;\n border: 0.0625rem solid white;\n border-top: 0;\n"])), _ref => {
|
|
5327
5355
|
let {
|
|
5328
5356
|
width
|
|
5329
5357
|
} = _ref;
|
|
@@ -5382,11 +5410,11 @@ const ZoomLevel = () => {
|
|
|
5382
5410
|
}, level || 0);
|
|
5383
5411
|
};
|
|
5384
5412
|
|
|
5385
|
-
var _templateObject$8, _templateObject2$
|
|
5413
|
+
var _templateObject$8, _templateObject2$8, _templateObject3$6, _templateObject4$5, _templateObject5$5, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$2, _templateObject10$2, _templateObject11$2;
|
|
5386
5414
|
|
|
5387
5415
|
const cornerBottom = cornerSize => styled.css(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n &:before {\n left: 50%;\n transform: translate(-50%, 100%);\n bottom: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-top: ", " solid rgba(28, 33, 48, 0.8);\n }\n"])), cornerSize, cornerSize, cornerSize);
|
|
5388
5416
|
|
|
5389
|
-
const cornerLeft = cornerSize => styled.css(_templateObject2$
|
|
5417
|
+
const cornerLeft = cornerSize => styled.css(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(-100%, -50%);\n left: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-right: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"])), cornerSize, cornerSize, cornerSize);
|
|
5390
5418
|
|
|
5391
5419
|
const cornerRight = cornerSize => styled.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(100%, -50%);\n right: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-left: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"])), cornerSize, cornerSize, cornerSize);
|
|
5392
5420
|
|
|
@@ -5493,6 +5521,7 @@ exports.CircleLineMiterRender = CircleLineMiterRender;
|
|
|
5493
5521
|
exports.ClassificationCondition = ClassificationCondition;
|
|
5494
5522
|
exports.ClassificationManager = ClassificationManager;
|
|
5495
5523
|
exports.ClusterLayer = ClusterLayer;
|
|
5524
|
+
exports.ClusterSymbol = ClusterSymbol;
|
|
5496
5525
|
exports.CompoundIcon = CompoundIcon;
|
|
5497
5526
|
exports.DEFAULT_CRS = DEFAULT_CRS;
|
|
5498
5527
|
exports.DEFAULT_SRID = DEFAULT_SRID;
|
|
@@ -5505,19 +5534,15 @@ exports.EvergisCardAttributeTitle = AttributeTitle;
|
|
|
5505
5534
|
exports.EvergisCardAttributeValueContainer = AttributeValueContainer;
|
|
5506
5535
|
exports.EvergisCardCardControls = CardControls;
|
|
5507
5536
|
exports.EvergisCardCardTitle = CardTitle;
|
|
5508
|
-
exports.EvergisCardCloseIcon = CloseIcon;
|
|
5509
5537
|
exports.EvergisCardContainer = EvergisCardContainer;
|
|
5510
5538
|
exports.EvergisCardCurrentFeatureIndex = CurrentFeatureIndex;
|
|
5511
5539
|
exports.EvergisCardFeatureName = FeatureName;
|
|
5512
5540
|
exports.EvergisCardLayerName = LayerName;
|
|
5513
|
-
exports.EvergisCardNextIcon = NextIcon;
|
|
5514
5541
|
exports.EvergisCardPagination = CardPagination;
|
|
5515
5542
|
exports.EvergisCardPaginationDescription = PaginationDescription;
|
|
5516
|
-
exports.EvergisCardPrevIcon = PrevIcon;
|
|
5517
5543
|
exports.EvergisCardSimpleValue = SimpleAttribute;
|
|
5518
5544
|
exports.EvergisCardStickyHeader = StickyHeader;
|
|
5519
5545
|
exports.EvergisCardValueLink = ValueLink;
|
|
5520
|
-
exports.EvergisCardZoomIcon = ZoomIcon;
|
|
5521
5546
|
exports.EvergisDynamicLayer = EvergisDynamicLayer;
|
|
5522
5547
|
exports.EvergisFeature = EvergisFeature;
|
|
5523
5548
|
exports.EvergisLayer = EvergisLayer;
|
|
@@ -5638,6 +5663,7 @@ exports.isPolylineSymbol = isPolylineSymbol;
|
|
|
5638
5663
|
exports.isPolylineSymbols = isPolylineSymbols;
|
|
5639
5664
|
exports.isRangeClass = isRangeClass;
|
|
5640
5665
|
exports.isRasterSymbol = isRasterSymbol;
|
|
5666
|
+
exports.isSGisClusterSymbol = isSGisClusterSymbol;
|
|
5641
5667
|
exports.isSGisH3Symbol = isSGisH3Symbol;
|
|
5642
5668
|
exports.isSGisImageSymbol = isSGisImageSymbol;
|
|
5643
5669
|
exports.isSGisPointSymbol = isSGisPointSymbol;
|