From b02fec42f2d88c682005d0c982576d8b2ed12e77 Mon Sep 17 00:00:00 2001 From: goodmice Date: Fri, 6 May 2022 17:02:52 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=8D=D0=BA=D1=81=D0=BF=D0=BE=D1=80=D1=82=20DateRange?= =?UTF-8?q?Wrapper=20=D0=B8=D0=B7=20Table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table/index.tsx | 3 +++ src/pages/Reports/DiagramReport/index.jsx | 2 +- src/pages/Telemetry/Operations/index.jsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Table/index.tsx b/src/components/Table/index.tsx index 2e1fc8e..ddf735d 100755 --- a/src/components/Table/index.tsx +++ b/src/components/Table/index.tsx @@ -1,6 +1,7 @@ export { makeDateSorter, makeNumericSorter, makeStringSorter } from './sorters' export { EditableTable, makeActionHandler } from './EditableTable' export { DatePickerWrapper } from './DatePickerWrapper' +export { DateRangeWrapper } from './DateRangeWrapper' export { Table } from './Table' export { RegExpIsFloat, @@ -33,6 +34,8 @@ export type { TagInputProps, columnPropsOther, } from './Columns' +export type { DateRangeWrapperProps } from './DateRangeWrapper' +export type { DatePickerWrapperProps } from './DatePickerWrapper' export type { BaseTableColumn, TableColumns, TableContainer } from './Table' export const defaultPagination = { diff --git a/src/pages/Reports/DiagramReport/index.jsx b/src/pages/Reports/DiagramReport/index.jsx index e5b40e4..6462abd 100644 --- a/src/pages/Reports/DiagramReport/index.jsx +++ b/src/pages/Reports/DiagramReport/index.jsx @@ -4,9 +4,9 @@ import { useState, useEffect, memo, useCallback, useContext } from 'react' import { Radio, Button, Select, notification } from 'antd' import { IdWellContext } from '@asb/context' +import { DateRangeWrapper } from 'components/Table' import { LoaderPortal } from '@components/LoaderPortal' import { invokeWebApiWrapperAsync } from '@components/factory' -import { DateRangeWrapper } from 'components/Table/DateRangeWrapper' import { Subscribe } from '@services/signalr' import { ReportService } from '@api' diff --git a/src/pages/Telemetry/Operations/index.jsx b/src/pages/Telemetry/Operations/index.jsx index 1af6816..f6f57fc 100644 --- a/src/pages/Telemetry/Operations/index.jsx +++ b/src/pages/Telemetry/Operations/index.jsx @@ -4,8 +4,8 @@ import moment from 'moment' import { IdWellContext } from '@asb/context' import LoaderPortal from '@components/LoaderPortal' +import { DateRangeWrapper } from '@components/Table' import { invokeWebApiWrapperAsync } from '@components/factory' -import DateRangeWrapper from '@components/Table/DateRangeWrapper' import { DetectedOperationService, TelemetryDataSaubService } from '@api' import { range } from '@utils'