@kepler.gl/types 3.3.0-alpha.10 → 3.3.0-alpha.11
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/annotations.d.ts +7 -1
- package/package.json +1 -1
- package/reducers.d.ts +14 -0
- package/schemas.d.ts +1 -0
package/annotations.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// SPDX-License-Identifier: MIT
|
|
2
2
|
// Copyright contributors to the kepler.gl project
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
AnnotationKind,
|
|
6
|
+
AnnotationTextSide,
|
|
7
|
+
AnnotationTextVerticalPosition
|
|
8
|
+
} from '@kepler.gl/constants';
|
|
5
9
|
|
|
6
10
|
export {AnnotationKind} from '@kepler.gl/constants';
|
|
7
11
|
export {isAnnotationKind, isAnnotationWithArm} from '@kepler.gl/constants';
|
|
@@ -21,6 +25,8 @@ export type BaseAnnotation = {
|
|
|
21
25
|
textWidth: number;
|
|
22
26
|
textHeight: number;
|
|
23
27
|
textVerticalAlign?: 'top' | 'middle' | 'bottom';
|
|
28
|
+
textSide?: AnnotationTextSide;
|
|
29
|
+
textVerticalPosition?: AnnotationTextVerticalPosition;
|
|
24
30
|
};
|
|
25
31
|
|
|
26
32
|
export type AnnotationWithArm = BaseAnnotation & {
|
package/package.json
CHANGED
package/reducers.d.ts
CHANGED
|
@@ -168,8 +168,14 @@ export type FilterBase<L extends LineChart> = {
|
|
|
168
168
|
// gpu filter
|
|
169
169
|
gpu: boolean;
|
|
170
170
|
gpuChannel?: number[];
|
|
171
|
+
gpuEndChannel?: number[];
|
|
171
172
|
fieldType?: string;
|
|
172
173
|
|
|
174
|
+
// Optional end timestamp for duration-based time filters (parallel to name/fieldIdx)
|
|
175
|
+
endName?: (string | null | undefined)[];
|
|
176
|
+
endFieldIdx?: (number | null | undefined)[];
|
|
177
|
+
endMappedValue?: ((number | null)[] | null | undefined)[];
|
|
178
|
+
|
|
173
179
|
// polygon
|
|
174
180
|
layerId?: string[];
|
|
175
181
|
};
|
|
@@ -215,6 +221,14 @@ export type TimeRangeFilter = FilterBase<LineChart> &
|
|
|
215
221
|
syncTimelineMode: SyncTimelineMode;
|
|
216
222
|
animationWindow: string;
|
|
217
223
|
invertTrendColor: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* When set, a feature is visible while the playback window overlaps
|
|
226
|
+
* [startField, endField] rather than requiring a single timestamp in range.
|
|
227
|
+
*/
|
|
228
|
+
endName?: (string | null | undefined)[];
|
|
229
|
+
endFieldIdx?: (number | null | undefined)[];
|
|
230
|
+
endMappedValue?: ((number | null)[] | null | undefined)[];
|
|
231
|
+
gpuEndChannel?: number[];
|
|
218
232
|
};
|
|
219
233
|
|
|
220
234
|
export type PolygonFilter = FilterBase<LineChart> & {
|