@evergis/react 2.0.192 → 2.0.194

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.
@@ -12,7 +12,11 @@ export declare const formatUniqueClassValue: (value: UniqueClass, formatValue?:
12
12
  export declare const getRangeValues: ({ from, to }: Pick<RangeClass, 'from' | 'to'>, isDouble: boolean, isDate: boolean, index: number) => Pick<RangeClass, 'from' | 'to'>;
13
13
  export declare const formatRangeClassValue: (value: RangeClass, formatValue: LegendProps['formatValue'], index: number) => string;
14
14
  export declare const checkLayerHasLegend: (layerInfo: Pick<FeatureLayerServiceInfoDc, 'geometryType' | 'style'>) => boolean;
15
- export declare const getTitleFromCondition: (condition?: string | undefined) => string;
15
+ export declare const getTitleFromCondition: ({ condition, attribute, formatValue, }: {
16
+ condition?: string | undefined;
17
+ attribute?: LayerAttribute | null | undefined;
18
+ formatValue?: LegendProps['formatValue'];
19
+ }) => string;
16
20
  export declare function createValueTitleFromCondition(paramValue: ParameterByAttributeValue<ParameterValueWithSymbol>, attribute: LayerAttribute | null, formatValue: LegendProps['formatValue'], index: number): string;
17
21
  export declare const enum LegendSymbolTypes {
18
22
  Point = 0,
@@ -1,6 +1,6 @@
1
- import { Gradient, Svg } from "@svgdotjs/svg.js";
2
- import { SvgSymbolBg } from "../components/Legend/types";
3
- import { ParameterByAttributeValue, SvgPointSymbol } from "../core";
1
+ import { Gradient, Svg } from '@svgdotjs/svg.js';
2
+ import { SvgSymbolBg } from '../components/Legend/types';
3
+ import { ParameterByAttributeValue, SvgPointSymbol } from '../core';
4
4
  export declare const convertSvgToBase64: (svg: string) => string;
5
5
  export declare const createSvgGradient: (svg: Svg, values: ParameterByAttributeValue<string>[]) => Gradient;
6
6
  export declare const manipulateSvgSymbol: (SVGContainer: Svg, symbol: SvgPointSymbol, svg?: string | undefined, bg?: SvgSymbolBg | undefined) => Svg;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.192",
2
+ "version": "2.0.194",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -79,5 +79,5 @@
79
79
  "punycode": "^2.1.1",
80
80
  "styled-components": "^5.3.5"
81
81
  },
82
- "gitHead": "1de68c24b48f0ef8fa920783a831f21660406082"
82
+ "gitHead": "9ec5fe86fe8ea476fa8ffeb5e125c6079af8410a"
83
83
  }