diff --git a/src/Grid/AgFeatureGrid/AgFeatureGrid.tsx b/src/Grid/AgFeatureGrid/AgFeatureGrid.tsx index e27086bf2..3af116312 100644 --- a/src/Grid/AgFeatureGrid/AgFeatureGrid.tsx +++ b/src/Grid/AgFeatureGrid/AgFeatureGrid.tsx @@ -1,10 +1,13 @@ +/* eslint-disable simple-import-sort/imports */ import '@ag-grid-community/styles/ag-grid.css'; import '@ag-grid-community/styles/ag-theme-balham.css'; +/* eslint-enable simple-import-sort/imports */ import MapUtil from '@terrestris/ol-util/dist/MapUtil/MapUtil'; import useMap from '@terrestris/react-util/dist/Hooks/useMap/useMap'; import useOlLayer from '@terrestris/react-util/dist/Hooks/useOlLayer/useOlLayer'; -import { ClientSideRowModelModule } from "@ag-grid-community/client-side-row-model"; + +import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model'; import { CellMouseOutEvent, CellMouseOverEvent, @@ -24,12 +27,14 @@ import { AgGridReact, AgGridReactProps } from '@ag-grid-community/react'; + import _differenceWith from 'lodash/differenceWith'; import _has from 'lodash/has'; import _isFunction from 'lodash/isFunction'; import _isNil from 'lodash/isNil'; import _isNumber from 'lodash/isNumber'; import _isString from 'lodash/isString'; + import { getUid } from 'ol'; import OlFeature from 'ol/Feature'; import OlGeometry from 'ol/geom/Geometry'; @@ -37,6 +42,7 @@ import OlLayerBase from 'ol/layer/Base'; import OlLayerVector from 'ol/layer/Vector'; import OlMapBrowserEvent from 'ol/MapBrowserEvent'; import OlSourceVector from 'ol/source/Vector'; + import React, { Key, ReactElement, useCallback, useEffect, useMemo, useState } from 'react'; import { CSS_PREFIX } from '../../constants';