@evergis/common 1.0.2-alpha.0 → 1.0.2

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.
@@ -0,0 +1,2 @@
1
+ import { InterpolateStop } from '../types';
2
+ export declare const combineInterpolateStops: (stops: InterpolateStop[]) => any[];
@@ -0,0 +1,3 @@
1
+ import { ExpressionSpecification } from 'maplibre-gl';
2
+ export declare const encodeConcat: (value?: string) => string | ExpressionSpecification;
3
+ export declare const decodeConcat: (value?: string | ExpressionSpecification) => string;
@@ -0,0 +1 @@
1
+ export * from './concat';
@@ -0,0 +1,2 @@
1
+ import { ClientStyle, Classification, EditableItemProp, StylingClassifierTypes } from '../types';
2
+ export declare const getClassificationFromExpression: (style: ClientStyle, itemId: string, classifierType: StylingClassifierTypes, specPropKey: EditableItemProp, styleItem?: ClientStyle["items"][number], stopIndex?: number) => Classification;
@@ -0,0 +1,3 @@
1
+ import { QueryLayerServiceInfoDc } from '@evergis/api';
2
+ import { ClientStyle, Classification, StylingClassifierTypes } from '../types';
3
+ export declare const getClassificationList: (layer?: QueryLayerServiceInfoDc, clientStyle?: ClientStyle) => Record<StylingClassifierTypes, Classification>;
@@ -0,0 +1,2 @@
1
+ import { InterpolateStop } from '../types';
2
+ export declare const getInterpolateStops: (expression: any, previousStops?: InterpolateStop[]) => InterpolateStop[];
@@ -0,0 +1,2 @@
1
+ import { ExpressionSpecification } from 'maplibre-gl';
2
+ export declare const getValuesFromExression: <T = any>(expression: ExpressionSpecification, modifier?: (value: T, index?: number) => T) => Array<T>;
@@ -1,8 +1,15 @@
1
1
  export * from './ClientStyleValidator';
2
+ export * from './expressions';
3
+ export * from './combineInterpolateStops';
2
4
  export * from './enrichStyleItemsWithIds';
3
5
  export * from './getClientStyleItemId';
4
6
  export * from './enrichStyleModelsWithIds';
5
7
  export * from './findAttributeInExpression';
6
8
  export * from './getActualExtrusionHeight';
9
+ export * from './getClassificationFromExpression';
10
+ export * from './getClassificationList';
11
+ export * from './getInterpolateStops';
7
12
  export * from './getLayerClientStyle';
8
13
  export * from './getStyleAttributes';
14
+ export * from './getValuesFromExression';
15
+ export * from './resyncStyleIcons';
@@ -0,0 +1,2 @@
1
+ import { ClientStyle } from '../types';
2
+ export declare const resyncStyleIcons: (clientStyle?: ClientStyle) => ClientStyle;