Skip to content
Merged
264 changes: 0 additions & 264 deletions src/components/custom-aggrid/cell-renderers.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@
import { roundToDefaultPrecision } from '../../../utils/rounding';
import LineTypeSegmentCreation from './line-type-segment-creation';
import { calculateReactance, calculateResistance, calculateSusceptance } from '../../utils/utils';
import { CustomAGGrid, type MuiStyles, snackWithFallback, useSnackMessage } from '@gridsuite/commons-ui';
import {
CustomAGGrid,
DefaultCellRenderer,

Check failure on line 34 in src/components/dialogs/line-types-catalog/line-type-segment-form.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'DefaultCellRenderer'.
type MuiStyles,
snackWithFallback,
useSnackMessage,
} from '@gridsuite/commons-ui';
import { getLineTypesCatalog } from '../../../services/network-modification';
import GridItem from '../commons/grid-item';
import { CurrentLimitsInfo, LineTypeInfo } from './line-catalog.type';
import { emptyLineSegment, SegmentFormData } from './segment-utils';
import { ColDef } from 'ag-grid-community';
import { DefaultCellRenderer } from '../../custom-aggrid/cell-renderers';
import GridSection from '../commons/grid-section';

const styles = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { useIntl } from 'react-intl';
import { useCallback, useMemo } from 'react';
import { ColDef } from 'ag-grid-community';
import { DefaultCellRenderer } from '../../custom-aggrid/cell-renderers';
import { DefaultCellRenderer } from '@gridsuite/commons-ui';

Check failure on line 10 in src/components/dialogs/line-types-catalog/use-column-definitions.ts

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'DefaultCellRenderer'.

export const useColumnDefinitions = () => {
const intl = useIntl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
import { useFormContext, useWatch } from 'react-hook-form';
import {
AutocompleteInput,
BooleanNullableCellRenderer,

Check failure on line 13 in src/components/dialogs/network-modifications/limit-sets/limit-sets-tabular-modification-form.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'BooleanNullableCellRenderer'.
CustomAGGrid,
DefaultCellRenderer,

Check failure on line 15 in src/components/dialogs/network-modifications/limit-sets/limit-sets-tabular-modification-form.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'DefaultCellRenderer'.
ErrorInput,
FieldErrorAlert,
IntegerInput,
Expand All @@ -19,23 +21,22 @@
} from '@gridsuite/commons-ui';
import {
AMOUNT_TEMPORARY_LIMITS,
EQUIPMENT_ID,
CSV_FILENAME,
EQUIPMENT_ID,
MODIFICATIONS_TABLE,
TYPE,
} from 'components/utils/field-constants';
import { EQUIPMENT_TYPES } from 'components/utils/equipment-types';
import CsvDownloader from 'react-csv-downloader';
import { Alert, Button, Grid } from '@mui/material';
import { BooleanNullableCellRenderer, DefaultCellRenderer } from 'components/custom-aggrid/cell-renderers';
import Papa from 'papaparse';
import { ColDef } from 'ag-grid-community';
import GridItem from '../../commons/grid-item';
import { useCSVPicker } from 'components/utils/inputs/input-hooks';
import { AGGRID_LOCALES } from '../../../../translations/not-intl/aggrid-locales';
import { useSelector } from 'react-redux';
import { AppState } from '../../../../redux/reducer';
import { isFieldTypeOk, setFieldTypeError, transformIfFrenchNumber, TabularField } from '../tabular/tabular-common';
import { isFieldTypeOk, setFieldTypeError, TabularField, transformIfFrenchNumber } from '../tabular/tabular-common';
import {
LIMIT_SETS_TABULAR_MODIFICATION_EQUIPMENTS,
LIMIT_SETS_TABULAR_MODIFICATION_FIXED_FIELDS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,30 @@
import { useFormContext, useWatch } from 'react-hook-form';
import {
AutocompleteInput,
BooleanNullableCellRenderer,

Check failure on line 13 in src/components/dialogs/network-modifications/tabular/tabular-form.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'BooleanNullableCellRenderer'.
CustomAGGrid,
DefaultCellRenderer,

Check failure on line 15 in src/components/dialogs/network-modifications/tabular/tabular-form.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'DefaultCellRenderer'.
DirectoryItemSelector,
ElementType,
ErrorInput,
fetchStudyMetadata,
FieldErrorAlert,
LANG_FRENCH,
type MuiStyles,
type TreeViewFinderNodeProps,
useSnackMessage,
useStateBoolean,
DirectoryItemSelector,
ElementType,
type TreeViewFinderNodeProps,
type MuiStyles,
} from '@gridsuite/commons-ui';
import {
CSV_FILENAME,
EQUIPMENT_ID,
MODIFICATIONS_TABLE,
CSV_FILENAME,
TABULAR_PROPERTIES,
TYPE,
} from 'components/utils/field-constants';
import { EQUIPMENT_TYPES } from 'components/utils/equipment-types';
import CsvDownloader from 'react-csv-downloader';
import { Alert, Button, Grid } from '@mui/material';
import { BooleanNullableCellRenderer, DefaultCellRenderer } from 'components/custom-aggrid/cell-renderers';
import Papa from 'papaparse';
import GridItem from '../../commons/grid-item';
import { useCSVPicker } from 'components/utils/inputs/input-hooks';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@

import { FunctionComponent, useCallback, useMemo, useRef, useState } from 'react';
import { BasicModificationDialog } from '../../commons/basicModificationDialog';
import { BooleanCellRenderer, DefaultCellRenderer } from '../../../custom-aggrid/cell-renderers';
import {
BooleanCellRenderer,

Check failure on line 11 in src/components/dialogs/network-modifications/voltage-init-modification/voltage-init-modification-dialog.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'BooleanCellRenderer'.
CsvExport,
CustomAGGrid,
DefaultCellRenderer,

Check failure on line 14 in src/components/dialogs/network-modifications/voltage-init-modification/voltage-init-modification-dialog.tsx

View workflow job for this annotation

GitHub Actions / build / build

Module '"@gridsuite/commons-ui"' has no exported member 'DefaultCellRenderer'.
type MuiStyles,
} from '@gridsuite/commons-ui';
import { FormattedMessage, useIntl } from 'react-intl';
import { Box, Grid, Tab, Tabs } from '@mui/material';
import { useOpenShortWaitFetching } from '../../commons/handle-modification-form';
Expand All @@ -24,7 +30,6 @@
V,
VOLTAGE_SET_POINT,
} from '../../../utils/field-constants';
import { CustomAGGrid, CsvExport, type MuiStyles } from '@gridsuite/commons-ui';
import { AgGridReact } from 'ag-grid-react';
import { FetchStatus } from '../../../../services/utils.type';
import type { ColDef, RowDataUpdatedEvent } from 'ag-grid-community';
Expand Down
Loading
Loading