@kepler.gl/deckgl-layers 3.0.0 → 3.1.0-alpha.1
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/package.json +12 -11
- package/dist/3d-building-layer/3d-building-layer.d.ts +0 -16
- package/dist/3d-building-layer/3d-building-layer.js +0 -91
- package/dist/3d-building-layer/3d-building-utils.d.ts +0 -9
- package/dist/3d-building-layer/3d-building-utils.js +0 -199
- package/dist/3d-building-layer/types.d.ts +0 -51
- package/dist/3d-building-layer/types.js +0 -6
- package/dist/cluster-layer/cluster-layer.d.ts +0 -42
- package/dist/cluster-layer/cluster-layer.js +0 -329
- package/dist/column-layer/enhanced-column-layer.d.ts +0 -12
- package/dist/column-layer/enhanced-column-layer.js +0 -156
- package/dist/deckgl-extensions/filter-arrow-layer.d.ts +0 -46
- package/dist/deckgl-extensions/filter-arrow-layer.js +0 -97
- package/dist/deckgl-extensions/filter-shader-module.d.ts +0 -19
- package/dist/deckgl-extensions/filter-shader-module.js +0 -29
- package/dist/grid-layer/enhanced-cpu-grid-layer.d.ts +0 -7
- package/dist/grid-layer/enhanced-cpu-grid-layer.js +0 -85
- package/dist/hexagon-layer/enhanced-hexagon-layer.d.ts +0 -7
- package/dist/hexagon-layer/enhanced-hexagon-layer.js +0 -85
- package/dist/index.d.ts +0 -11
- package/dist/index.js +0 -124
- package/dist/layer-utils/cluster-utils.d.ts +0 -22
- package/dist/layer-utils/cluster-utils.js +0 -107
- package/dist/layer-utils/cpu-aggregator.d.ts +0 -93
- package/dist/layer-utils/cpu-aggregator.js +0 -653
- package/dist/layer-utils/shader-utils.d.ts +0 -1
- package/dist/layer-utils/shader-utils.js +0 -33
- package/dist/line-layer/line-layer.d.ts +0 -12
- package/dist/line-layer/line-layer.js +0 -112
- package/dist/svg-icon-layer/scatterplot-icon-layer.d.ts +0 -9
- package/dist/svg-icon-layer/scatterplot-icon-layer.js +0 -79
- package/dist/svg-icon-layer/svg-icon-layer.d.ts +0 -22
- package/dist/svg-icon-layer/svg-icon-layer.js +0 -127
@@ -1,93 +0,0 @@
|
|
1
|
-
import { RGBAColor } from '@kepler.gl/types';
|
2
|
-
export declare type UpdaterType = (this: CPUAggregator, step: any, props: any, dimensionUpdater: any) => void;
|
3
|
-
export declare type BindedUpdaterType = () => void;
|
4
|
-
export declare type AggregatedUpdaterType = (this: CPUAggregator, step: any, props: any, aggregation: any, aggregationParams: any) => void;
|
5
|
-
export declare type BindedAggregatedUpdaterType = (aggregationParams: any) => void;
|
6
|
-
export declare type UpdateStepsType = {
|
7
|
-
key: string;
|
8
|
-
triggers: {
|
9
|
-
[key: string]: {
|
10
|
-
prop: string;
|
11
|
-
updateTrigger?: string;
|
12
|
-
};
|
13
|
-
};
|
14
|
-
onSet?: {
|
15
|
-
props: string;
|
16
|
-
};
|
17
|
-
updater: UpdaterType;
|
18
|
-
};
|
19
|
-
export declare type DimensionType<ValueType = any> = {
|
20
|
-
key: string;
|
21
|
-
accessor: string;
|
22
|
-
getPickingInfo: (dimensionState: any, cell: any, layerProps?: any) => any;
|
23
|
-
nullValue: ValueType;
|
24
|
-
updateSteps: UpdateStepsType[];
|
25
|
-
getSubLayerAccessor: any;
|
26
|
-
};
|
27
|
-
export declare type AggregationUpdateStepsType = {
|
28
|
-
key: string;
|
29
|
-
triggers: {
|
30
|
-
[key: string]: {
|
31
|
-
prop: string;
|
32
|
-
updateTrigger?: string;
|
33
|
-
};
|
34
|
-
};
|
35
|
-
updater: AggregatedUpdaterType;
|
36
|
-
};
|
37
|
-
export declare type AggregationType = {
|
38
|
-
key: string;
|
39
|
-
updateSteps: AggregationUpdateStepsType[];
|
40
|
-
};
|
41
|
-
export declare const DECK_AGGREGATION_MAP: {
|
42
|
-
[x: number]: "sum" | "average" | "minimum" | "maximum";
|
43
|
-
};
|
44
|
-
export declare function getValueFunc(aggregation: any, accessor: any): (pts: any) => any;
|
45
|
-
export declare function getScaleFunctor(scaleType: any): any;
|
46
|
-
export declare function getGetValue(this: CPUAggregator, step: any, props: any, dimensionUpdater: any): void;
|
47
|
-
export declare function getDimensionSortedBins(this: CPUAggregator, step: any, props: any, dimensionUpdater: any): void;
|
48
|
-
export declare function getDimensionValueDomain(this: CPUAggregator, step: any, props: any, dimensionUpdater: any): void;
|
49
|
-
export declare function getDimensionScale(this: CPUAggregator, step: any, props: any, dimensionUpdater: any): void;
|
50
|
-
export declare function getAggregatedData(this: CPUAggregator, step: any, props: any, aggregation: any, aggregationParams: any): void;
|
51
|
-
export declare const defaultAggregation: AggregationType;
|
52
|
-
export declare const defaultColorDimension: DimensionType<RGBAColor>;
|
53
|
-
export declare const defaultElevationDimension: DimensionType<number>;
|
54
|
-
export declare const defaultDimensions: (DimensionType<RGBAColor> | DimensionType<number>)[];
|
55
|
-
export declare type CPUAggregatorState = {
|
56
|
-
layerData: {
|
57
|
-
data?: any;
|
58
|
-
};
|
59
|
-
dimensions: {};
|
60
|
-
geoJSON?: any;
|
61
|
-
clusterBuilder?: any;
|
62
|
-
};
|
63
|
-
export default class CPUAggregator {
|
64
|
-
static getDimensionScale: any;
|
65
|
-
state: CPUAggregatorState;
|
66
|
-
dimensionUpdaters: {
|
67
|
-
[key: string]: DimensionType;
|
68
|
-
};
|
69
|
-
aggregationUpdater: AggregationType;
|
70
|
-
constructor(opts?: {
|
71
|
-
initialState?: CPUAggregatorState;
|
72
|
-
dimensions?: DimensionType[];
|
73
|
-
aggregation?: AggregationType;
|
74
|
-
});
|
75
|
-
static defaultDimensions(): (DimensionType<RGBAColor> | DimensionType<number>)[];
|
76
|
-
updateAllDimensions(props: any): void;
|
77
|
-
updateAggregation(props: any, aggregationParams: any): void;
|
78
|
-
updateState(opts: any, aggregationParams: any): CPUAggregatorState;
|
79
|
-
setState(updateObject: any): void;
|
80
|
-
_setDimensionState(key: any, updateObject: any): void;
|
81
|
-
_addAggregation(aggregation: AggregationType): void;
|
82
|
-
_addDimension(dimensions?: DimensionType[]): void;
|
83
|
-
_needUpdateStep(dimensionStep: UpdateStepsType | AggregationUpdateStepsType, oldProps: any, props: any, changeFlags: any): boolean;
|
84
|
-
_accumulateUpdaters<UpdaterObjectType extends DimensionType | AggregationType>(step: any, props: any, dimension: UpdaterObjectType): (UpdaterObjectType extends DimensionType<any> ? BindedUpdaterType : BindedAggregatedUpdaterType)[];
|
85
|
-
_getAllUpdaters<UpdaterObjectType extends DimensionType | AggregationType>(dimension: UpdaterObjectType, oldProps: any, props: any, changeFlags: any): (UpdaterObjectType extends DimensionType<any> ? BindedUpdaterType : BindedAggregatedUpdaterType)[];
|
86
|
-
_getAggregationChanges(oldProps: any, props: any, changeFlags: any): BindedAggregatedUpdaterType[] | null;
|
87
|
-
_getDimensionChanges(oldProps: any, props: any, changeFlags: any): BindedUpdaterType[] | null;
|
88
|
-
getUpdateTriggers(props: any): {};
|
89
|
-
getPickingInfo({ info }: {
|
90
|
-
info: any;
|
91
|
-
}, layerProps: any): any;
|
92
|
-
getAccessor(dimensionKey: any, layerProps: any): any;
|
93
|
-
}
|