@carto/kepler.gl 0.0.83 → 0.0.85-alpha.0
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/actions/action-wrapper.d.ts +1 -6
- package/dist/actions/action-wrapper.js +3 -3
- package/dist/components/common/checkbox.js +4 -4
- package/dist/components/common/data-table/grid.js +3 -3
- package/dist/components/common/data-table/index.d.ts +1 -2
- package/dist/components/common/data-table/index.js +6 -6
- package/dist/components/common/item-selector/item-selector.js +3 -3
- package/dist/components/common/portaled.js +6 -6
- package/dist/components/common/time-range-slider.js +3 -3
- package/dist/components/container.js +4 -4
- package/dist/components/editor/editor.js +6 -6
- package/dist/components/editor/feature-styles.js +3 -3
- package/dist/components/editor/handle-style.js +3 -3
- package/dist/components/filters/filter-panels/polygon-filter-panel.js +4 -4
- package/dist/components/modal-container.js +3 -3
- package/dist/components/modals/image-modal-container.js +4 -4
- package/dist/components/modals/load-data-modal.js +3 -3
- package/dist/components/plot-container.js +3 -3
- package/dist/components/side-panel/filter-panel/filter-panel.js +3 -3
- package/dist/components/side-panel/layer-panel/color-range-selector.d.ts +1 -4
- package/dist/components/side-panel/layer-panel/color-range-selector.js +4 -4
- package/dist/components/side-panel.js +3 -3
- package/dist/constants/default-settings.js +1 -1
- package/dist/deckgl-layers/layer-utils/cluster-utils.js +3 -3
- package/dist/layers/aggregation-layer.js +4 -4
- package/dist/layers/geojson-layer/geojson-layer.js +3 -3
- package/dist/layers/heatmap-layer/heatmap-layer.js +3 -3
- package/dist/layers/layer-text-label.js +1 -1
- package/dist/layers/trip-layer/trip-layer.js +5 -5
- package/dist/reducers/map-style-updaters.d.ts +1 -10
- package/dist/reducers/map-style-updaters.js +3 -3
- package/dist/reducers/vis-state-merger.js +6 -6
- package/dist/reducers/vis-state-updaters.js +13 -13
- package/dist/schemas/dataset-schema.d.ts +1 -1
- package/dist/schemas/dataset-schema.js +4 -4
- package/dist/schemas/vis-state-schema.js +7 -7
- package/dist/utils/dataset-utils.js +3 -3
- package/dist/utils/export-utils.js +3 -3
- package/dist/utils/filter-utils.js +7 -7
- package/dist/utils/map-style-utils/mapbox-gl-style-editor.d.ts +3 -18
- package/dist/utils/map-style-utils/mapbox-gl-style-editor.js +6 -6
- package/dist/utils/observe-dimensions.js +3 -3
- package/dist/utils/split-map-utils.js +3 -3
- package/package.json +3 -26
- package/src/actions/action-wrapper.ts +1 -1
- package/src/components/common/checkbox.tsx +1 -1
- package/src/components/common/data-table/grid.tsx +1 -1
- package/src/components/common/data-table/index.tsx +2 -2
- package/src/components/common/item-selector/item-selector.tsx +1 -1
- package/src/components/common/portaled.tsx +2 -2
- package/src/components/common/time-range-slider.tsx +1 -1
- package/src/components/container.tsx +1 -1
- package/src/components/editor/editor.tsx +1 -1
- package/src/components/editor/feature-styles.ts +1 -1
- package/src/components/editor/handle-style.ts +1 -1
- package/src/components/filters/filter-panels/polygon-filter-panel.tsx +1 -1
- package/src/components/modal-container.tsx +1 -1
- package/src/components/modals/image-modal-container.tsx +1 -1
- package/src/components/modals/load-data-modal.tsx +1 -1
- package/src/components/plot-container.tsx +1 -1
- package/src/components/side-panel/filter-panel/filter-panel.tsx +1 -1
- package/src/components/side-panel/layer-panel/color-range-selector.tsx +1 -1
- package/src/components/side-panel.tsx +1 -1
- package/src/deckgl-layers/layer-utils/cluster-utils.ts +1 -1
- package/src/layers/aggregation-layer.ts +1 -1
- package/src/layers/geojson-layer/geojson-layer.ts +1 -1
- package/src/layers/heatmap-layer/heatmap-layer.ts +1 -1
- package/src/layers/layer-text-label.ts +1 -1
- package/src/layers/trip-layer/trip-layer.ts +2 -2
- package/src/reducers/map-style-updaters.ts +1 -1
- package/src/reducers/vis-state-merger.ts +3 -3
- package/src/reducers/vis-state-updaters.ts +4 -4
- package/src/schemas/dataset-schema.ts +1 -1
- package/src/schemas/vis-state-schema.ts +2 -2
- package/src/utils/dataset-utils.ts +1 -1
- package/src/utils/export-utils.ts +1 -1
- package/src/utils/filter-utils.ts +2 -2
- package/src/utils/map-style-utils/mapbox-gl-style-editor.ts +2 -2
- package/src/utils/observe-dimensions.ts +1 -1
- package/src/utils/split-map-utils.ts +1 -1
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
19
|
// THE SOFTWARE.
|
|
20
20
|
|
|
21
|
-
import uniq from 'lodash
|
|
22
|
-
import pick from 'lodash
|
|
23
|
-
import flattenDeep from 'lodash
|
|
21
|
+
import uniq from 'lodash/uniq';
|
|
22
|
+
import pick from 'lodash/pick';
|
|
23
|
+
import flattenDeep from 'lodash/flattenDeep';
|
|
24
24
|
import {isObject, arrayInsert} from 'utils/utils';
|
|
25
25
|
import {applyFiltersToDatasets, validateFiltersUpdateDatasets} from 'utils/filter-utils';
|
|
26
26
|
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
import {console as Console} from 'global/window';
|
|
22
22
|
import {disableStackCapturing, withTask} from 'react-palm/tasks/index.js';
|
|
23
|
-
import cloneDeep from 'lodash
|
|
24
|
-
import uniq from 'lodash
|
|
25
|
-
import get from 'lodash
|
|
26
|
-
import xor from 'lodash
|
|
23
|
+
import cloneDeep from 'lodash/cloneDeep';
|
|
24
|
+
import uniq from 'lodash/uniq';
|
|
25
|
+
import get from 'lodash/get';
|
|
26
|
+
import xor from 'lodash/xor';
|
|
27
27
|
import copy from 'copy-to-clipboard';
|
|
28
28
|
import {parseFieldValue} from 'utils/data-utils';
|
|
29
29
|
// Tasks
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
19
|
// THE SOFTWARE.
|
|
20
20
|
|
|
21
|
-
import pick from 'lodash
|
|
21
|
+
import pick from 'lodash/pick';
|
|
22
22
|
import {console as globalConsole} from 'global/window';
|
|
23
23
|
|
|
24
24
|
import {VERSIONS} from './versions';
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
19
|
// THE SOFTWARE.
|
|
20
20
|
|
|
21
|
-
import pick from 'lodash
|
|
21
|
+
import pick from 'lodash/pick';
|
|
22
22
|
import {VERSIONS} from './versions';
|
|
23
23
|
import {isValidFilterValue} from 'utils/filter-utils';
|
|
24
24
|
import {LAYER_VIS_CONFIGS} from 'layers/layer-factory';
|
|
25
25
|
import Schema from './schema';
|
|
26
|
-
import cloneDeep from 'lodash
|
|
26
|
+
import cloneDeep from 'lodash/cloneDeep';
|
|
27
27
|
import {notNullorUndefined} from 'utils/data-utils';
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
// THE SOFTWARE.
|
|
20
20
|
|
|
21
21
|
import {hexToRgb} from './color-utils';
|
|
22
|
-
import uniq from 'lodash
|
|
22
|
+
import uniq from 'lodash/uniq';
|
|
23
23
|
import {ALL_FIELD_TYPES} from 'constants/default-settings';
|
|
24
24
|
import {validateInputData} from 'processors/data-processor';
|
|
25
25
|
import KeplerTable, {Field} from './table-utils/kepler-table';
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from 'constants/default-settings';
|
|
32
32
|
import {exportMapToHTML} from 'templates/export-map-html';
|
|
33
33
|
import {formatCsv} from 'processors/data-processor';
|
|
34
|
-
import get from 'lodash
|
|
34
|
+
import get from 'lodash/get';
|
|
35
35
|
import {set, generateHashId} from 'utils/utils';
|
|
36
36
|
|
|
37
37
|
import {createIndexedDataContainer} from './table-utils/data-container-utils';
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
import {ascending, extent, histogram as d3Histogram, ticks} from 'd3-array';
|
|
22
22
|
import keyMirror from 'keymirror';
|
|
23
23
|
import {console as Console} from 'global/console';
|
|
24
|
-
import get from 'lodash
|
|
25
|
-
import isEqual from 'lodash
|
|
24
|
+
import get from 'lodash/get';
|
|
25
|
+
import isEqual from 'lodash/isEqual';
|
|
26
26
|
|
|
27
27
|
import booleanWithin from '@turf/boolean-within';
|
|
28
28
|
import {point as turfPoint} from '@turf/helpers';
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
19
|
// THE SOFTWARE.
|
|
20
20
|
|
|
21
|
-
import memoize from 'lodash
|
|
22
|
-
import cloneDeep from 'lodash
|
|
21
|
+
import memoize from 'lodash/memoize';
|
|
22
|
+
import cloneDeep from 'lodash/cloneDeep';
|
|
23
23
|
import {DEFAULT_LAYER_GROUPS, DEFAULT_MAPBOX_API_URL} from 'constants/default-settings';
|
|
24
24
|
import {BaseMapStyle, LayerGroup, MapState} from 'reducers';
|
|
25
25
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
19
|
// THE SOFTWARE.
|
|
20
20
|
|
|
21
|
-
import throttle from 'lodash
|
|
21
|
+
import throttle from 'lodash/throttle';
|
|
22
22
|
import {useEffect, useRef, useState} from 'react';
|
|
23
23
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
24
24
|
import {RefObject} from 'react';
|