@lingxiteam/ebe-utils 0.3.22 → 0.3.24
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/lib/h5public/src/components/common/BannerModal/index.tsx +1 -1
- package/lib/h5public/src/components/common/DocViewer/index.tsx +1 -0
- package/lib/h5public/src/components/common/PreviewFile/index.tsx +5 -5
- package/lib/h5public/src/components/factory/src/Animation/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Audio/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/BasicComponents/Empty/empty.tsx +2 -0
- package/lib/h5public/src/components/factory/src/BasicComponents/Empty/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/BasicComponents/FormItem/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/BasicComponents/Spin/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/BasicComponents/SpinComp/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/BlockSelect/assets/index.tsx +2 -0
- package/lib/h5public/src/components/factory/src/BlockSelect/components/ActionView/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/BlockSelect/components/Icon/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/Calendar/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/CardBody/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/CardFooter/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/DAddressPicker/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DMultiplePicker/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DatePicker/InnerDatePicker.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DatePicker/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/DformDate/DatePicker.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformImagePicker/ImagePicker.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformInput/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/DformInputNumber/FormInputNumber.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformList/Group/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/DformList/List/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformList/Title/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/DformPicker/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformRangePicker/RangePicker.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformSelect/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DformSwitch/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/DformTextArea/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/Donut/Dount.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Donut/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DynamicDataContainer/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DynamicList/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DynamicTable/assets/index.tsx +2 -0
- package/lib/h5public/src/components/factory/src/DynamicTable/hooks/useCreateColumn.tsx +1 -1
- package/lib/h5public/src/components/factory/src/DynamicTable/hooks/useFormatCell.tsx +1 -0
- package/lib/h5public/src/components/factory/src/FilterItems/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/Flex/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/Grid/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/GroupColumn/GroupColumn.tsx +1 -1
- package/lib/h5public/src/components/factory/src/GroupColumn/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Icon/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Image/factoryImage.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Image/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/LXBarChart/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/LXLineChart/ChartLine.tsx +1 -0
- package/lib/h5public/src/components/factory/src/LXLineChart/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/LXPieChart/LXPieChart.tsx +1 -0
- package/lib/h5public/src/components/factory/src/LXPieChart/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/LXRadarChart/LXRadarChat.tsx +1 -0
- package/lib/h5public/src/components/factory/src/LXRadarChart/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Line/Line.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Line/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/LineColumn/LineColumn.tsx +1 -1
- package/lib/h5public/src/components/factory/src/LineColumn/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/LoadMore/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/MultipleProgress/MultipleProgress.tsx +1 -1
- package/lib/h5public/src/components/factory/src/MultipleProgress/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/NoticeBarPlus/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Notification/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/Picker/InnerPicker.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Picker/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/ProgressBar/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/QRCode/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/RemoteComponent/assets/iconFailComp.tsx +2 -0
- package/lib/h5public/src/components/factory/src/RemoteComponent/components/FishRender.tsx +1 -0
- package/lib/h5public/src/components/factory/src/RemoteComponent/components/ReactRender.tsx +1 -1
- package/lib/h5public/src/components/factory/src/RemoteComponent/components/VueRender.tsx +1 -0
- package/lib/h5public/src/components/factory/src/RemoteComponent/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Selector/LxSelector.tsx +1 -1
- package/lib/h5public/src/components/factory/src/SideBar/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/SingleProgress/index.tsx +1 -0
- package/lib/h5public/src/components/factory/src/SmallColumnar/SmallColumnar.tsx +1 -1
- package/lib/h5public/src/components/factory/src/SmallColumnar/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/StackColumn/StackColumn.tsx +1 -1
- package/lib/h5public/src/components/factory/src/StackColumn/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/StepBar/constant/checkcircle.tsx +2 -0
- package/lib/h5public/src/components/factory/src/StepBar/constant/vector.tsx +2 -0
- package/lib/h5public/src/components/factory/src/StepProcess/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/TabBar/TabImage/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/TabBar/TabPage/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/TabBar/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/Table/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/VerificationCode/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/VideoPlayer/ViewPlayer.tsx +1 -1
- package/lib/h5public/src/components/factory/src/VideoPlayer/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/View/index.tsx +1 -1
- package/lib/h5public/src/components/factory/src/utils/LoaderHelper.tsx +1 -0
- package/lib/h5public/src/components/factory/src/utils/hooks/useCompState.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Cascader/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/ChartBar/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/CheckboxGroup/index.tsx +41 -29
- package/lib/pcpublic/src/components/pcfactory/src/CollapsePanel/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/DynamicDataContainer/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/DynamicTabs/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/FormGroup/TitleComp.tsx +1 -0
- package/lib/pcpublic/src/components/pcfactory/src/FormGroup/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Gantt/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/GridView/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Icon/hooks/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Img/BasicImage/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Menu/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Progress/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/QRCode/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/QuillEditor/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/RadarChart/RadarECharts.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/RadarChart/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Rate/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/ReactECharts/ReactECharts.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/ReactECharts/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/RemoteComponent/components/FishRender.tsx +1 -0
- package/lib/pcpublic/src/components/pcfactory/src/RemoteComponent/components/ReactRender.tsx +1 -0
- package/lib/pcpublic/src/components/pcfactory/src/RemoteComponent/components/VueRender.tsx +1 -0
- package/lib/pcpublic/src/components/pcfactory/src/RemoteComponent/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Select/selectUtils.ts +2 -2
- package/lib/pcpublic/src/components/pcfactory/src/StdUpload/DownloadProgress/DownloadProgress.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/StdUpload/UploadItem.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Steps/constant/checkcircle.tsx +2 -0
- package/lib/pcpublic/src/components/pcfactory/src/Steps/constant/vector.tsx +2 -0
- package/lib/pcpublic/src/components/pcfactory/src/Steps/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Switch/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/Table/hooks/useRowEdit.ts +2 -2
- package/lib/pcpublic/src/components/pcfactory/src/TooltipView/hooks/index.tsx +1 -0
- package/lib/pcpublic/src/components/pcfactory/src/Upload/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/VirtualGroup/index.tsx +1 -1
- package/lib/pcpublic/src/components/pcfactory/src/WebComponent/WebComponent.tsx +1 -0
- package/lib/pcpublic/src/utils/exportCustomData/index.tsx +121 -102
- package/lib/public/.eslintignore +55 -0
- package/lib/public/public/iconfont.js +1 -1
- package/lib/public/src/components/ExpSQLServiceModal/index.tsx +1 -1
- package/lib/public/src/components/ImportBusiObjModal/index.tsx +7 -8
- package/lib/public/src/components/LoaderHelper/index.tsx +1 -0
- package/lib/public/src/components/ProgressComp/ProgressComp.tsx +1 -1
- package/lib/public/src/components/ProgressComp/index.tsx +1 -0
- package/lib/public/src/components/WaterMark/index.tsx +1 -1
- package/lib/public/src/components/common/ExpBusiObjModal/index.tsx +1 -1
- package/lib/public/src/hooks/useExportCustomDataFile.ts +2 -3
- package/lib/public/src/pages/_preview/index.tsx +2 -1
- package/lib/public/src/utils/Context/Container.tsx +1 -1
- package/lib/public/src/utils/Context/context.tsx +2 -2
- package/lib/public/src/utils/Security/urlEncryption.ts +4 -4
- package/lib/public/src/utils/platform/utils/fileUtils.ts +1 -1
- package/lib/public/src/utils/preprocess.ts +3 -2
- package/lib/public/src/utils/service/defaultResponseInterceptor.ts +13 -13
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { LocaleFunction } from '@lingxiteam/types';
|
|
|
3
3
|
import { useThrottleFn } from 'ahooks';
|
|
4
4
|
import Toast from 'antd-mobile-5/es/components/toast';
|
|
5
5
|
import Animate from 'rc-animate';
|
|
6
|
-
import { FC, useState } from 'react';
|
|
6
|
+
import React, { FC, useState } from 'react';
|
|
7
7
|
import * as ReactDOM from 'react-dom';
|
|
8
8
|
import Loadable from 'react-loadable';
|
|
9
9
|
import closeIcon from './assets/closeIcon.png';
|
|
@@ -10,19 +10,19 @@ import { api } from '@/services/api';
|
|
|
10
10
|
import { addFileUrlSign } from '@/utils/engine-utils';
|
|
11
11
|
import { messageApi } from '@/utils/messageApi';
|
|
12
12
|
import security from '@/utils/Security';
|
|
13
|
-
import { LocaleFunction } from '@lingxiteam/types';
|
|
13
|
+
// import { LocaleFunction } from '@lingxiteam/types';
|
|
14
14
|
import DocViewer from '../DocViewer';
|
|
15
15
|
import './index.less';
|
|
16
16
|
|
|
17
17
|
interface PreviewFileProps {
|
|
18
18
|
fileId: string;
|
|
19
|
-
isEnableWaterMark?: boolean;
|
|
19
|
+
// isEnableWaterMark?: boolean;
|
|
20
20
|
file?: any;
|
|
21
21
|
pdfInfo: any;
|
|
22
22
|
onClose?: () => void;
|
|
23
23
|
onLoaded?: (loaded: boolean) => void;
|
|
24
|
-
getLocale: LocaleFunction;
|
|
25
|
-
language: string;
|
|
24
|
+
// getLocale: LocaleFunction;
|
|
25
|
+
// language: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
const prefixCls = 'lcdp-preview';
|
|
@@ -80,7 +80,7 @@ const LOCAL_PREVIEW_PLUS = [
|
|
|
80
80
|
];
|
|
81
81
|
pdfjs.GlobalWorkerOptions.workerSrc = pdfjsWorker;
|
|
82
82
|
const PreviewFile: React.FC<PreviewFileProps> = props => {
|
|
83
|
-
const { fileId: fileIdOrUrl,
|
|
83
|
+
const { fileId: fileIdOrUrl, file, pdfInfo, onClose, onLoaded } = props;
|
|
84
84
|
const [loading, setLoading] = useState(false);
|
|
85
85
|
const [fileDataMap, setFileDataMap] = useState<any>({});
|
|
86
86
|
const fileCacheMap = useRef<any>({});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
2
|
import TweenOne from 'rc-tween-one';
|
|
3
|
-
import { useEffect, useRef, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
4
4
|
import { AnimationOpts, useAnimation } from './useAnimation';
|
|
5
5
|
import type { AppViewProps } from './useStyle';
|
|
6
6
|
import useStyle from './useStyle';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
|
-
import { useImperativeHandle, useRef } from 'react';
|
|
2
|
+
import React, { useImperativeHandle, useRef } from 'react';
|
|
3
3
|
import type { ForwardRefProps, MyAudioProps } from './Audio';
|
|
4
4
|
import AudioLoader from './loader';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LocaleFunction } from '@lingxiteam/types';
|
|
2
2
|
import { ErrorBlock } from 'antd-mobile-5';
|
|
3
|
-
import { FC, useMemo } from 'react';
|
|
3
|
+
import React, { FC, useMemo } from 'react';
|
|
4
4
|
import useCompState from '../../utils/hooks/useCompState';
|
|
5
5
|
import EmptySvg from './empty';
|
|
6
6
|
import './index.less';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Form } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useMemo, useRef } from 'react';
|
|
3
|
+
import React, { useMemo, useRef } from 'react';
|
|
4
4
|
import { FormItem } from '../BasicComponents';
|
|
5
5
|
import useDefaultValue from '../utils/hooks/useDefaultValue';
|
|
6
6
|
import { useFormItem } from '../utils/hooks/useFormItem';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MultiplePicker } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { DFormWrapper, FormItem } from '../BasicComponents';
|
|
5
5
|
import { MyIconProps } from '../Icon';
|
|
6
6
|
import useDefaultValue from '../utils/hooks/useDefaultValue';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import React, { useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
1
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
3
|
import DatePicker from 'antd-mobile-5/es/components/date-picker';
|
|
3
4
|
import Picker from 'antd-mobile-5/es/components/picker';
|
|
4
|
-
import { useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
5
5
|
import { FormItem } from '../BasicComponents';
|
|
6
6
|
import { dateToFormatter, subtractDate, toDate, useLocaleFormatter } from '../utils/date';
|
|
7
7
|
import { useToggleBoolean } from '../utils/hooks/useToggleBoolean';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DformDatePicker } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { DFormWrapper } from '../BasicComponents';
|
|
5
5
|
import { dateToFormatter, toDate, useLocaleFormatter } from '../utils/date';
|
|
6
6
|
import { useFormItem, UseFormItemProps } from '../utils/hooks/useFormItem';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DformImagePicker } from '@lingxiteam/dform';
|
|
2
|
-
import { useEffect, useMemo, useRef } from 'react';
|
|
2
|
+
import React, { useEffect, useMemo, useRef } from 'react';
|
|
3
3
|
import { DFormWrapper } from '../BasicComponents';
|
|
4
4
|
import { useFormItem, UseFormItemProps } from '../utils/hooks/useFormItem';
|
|
5
5
|
import UploadHandle from '../utils/upload';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DformInput, INomarInputProps } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
4
4
|
import { DFormWrapper } from '../BasicComponents';
|
|
5
5
|
import { useFormItem } from '../utils/hooks/useFormItem';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DformPicker } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useRef, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
4
4
|
import { DFormWrapper, Empty, FormItem } from '../BasicComponents';
|
|
5
5
|
import { useFormItem, UseFormItemProps } from '../utils/hooks/useFormItem';
|
|
6
6
|
import { withTransformProps } from '../utils/withTransformProps';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RangeDatePicker } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { DFormWrapper } from '../BasicComponents';
|
|
5
5
|
import Icon from '../Icon';
|
|
6
6
|
import { dateToFormatter, toDate, useLocaleFormatter } from '../utils/date';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DformSelect } from '@lingxiteam/dform';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { DFormWrapper, FormItem } from '../BasicComponents';
|
|
5
5
|
import { reloadSelectDataType } from '../interfaces/types';
|
|
6
6
|
import useDefaultValue from '../utils/hooks/useDefaultValue';
|
|
@@ -2,7 +2,7 @@ import { px2hd } from '@alitajs/f2';
|
|
|
2
2
|
import Donut from '@lingxiteam/charts/es/Donut';
|
|
3
3
|
import { LingXiFC } from '@lingxiteam/types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
5
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
6
6
|
import { setRgbTo16 } from '../utils';
|
|
7
7
|
import CustomModule, { getJSXHtml } from '../utils/CustomModule';
|
|
8
8
|
import useAsyncState from '../utils/hooks/useAsyncState';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
|
-
import { useImperativeHandle, useState } from 'react';
|
|
2
|
+
import React, { useImperativeHandle, useState } from 'react';
|
|
3
3
|
import DountLoader from './loader';
|
|
4
4
|
import { DountDataProps, MyDonutProps } from './PropsType';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Form, { type FormInstance } from '@lingxiteam/dform';
|
|
2
2
|
import { DynamicDataFieldItem, DynamicDataType, LingxiForwardRef } from '@lingxiteam/types';
|
|
3
3
|
import { SpinLoading } from 'antd-mobile-5';
|
|
4
|
-
import { CSSProperties, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
4
|
+
import React, { CSSProperties, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
5
5
|
import { DynamicDataContext, DynamicDataProvider } from '../utils/dynamicUtils/DynamicContext';
|
|
6
6
|
import './index.less';
|
|
7
7
|
import { useDynamicDataContainer } from './useDynamicDataContainer';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable no-nested-ternary */
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
3
|
import { DotLoading, InfiniteScroll, List, PullToRefresh, Toast } from 'antd-mobile-5';
|
|
4
|
-
import { useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
4
|
+
import React, { useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
5
5
|
import { Empty, SpinComp } from '../BasicComponents';
|
|
6
6
|
import Icon from '../Icon';
|
|
7
7
|
import './index.less';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EngineApisType, EngineBaseProps } from '@lingxiteam/types';
|
|
2
2
|
import { CellClassParams, ICellRendererParams, RowSpanParams, ValueFormatterParams, ValueGetterParams } from 'ag-grid-community';
|
|
3
3
|
import cloneDeep from 'lodash/cloneDeep';
|
|
4
|
-
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
4
|
+
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
5
5
|
import HeaderCell from '../components/HeaderCell';
|
|
6
6
|
import TypeCells from '../components/TypeCells';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataItem, Grid, GridProps } from '@lingxiteam/antd-mobile-plus';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useImperativeHandle, useMemo, useState } from 'react';
|
|
3
|
+
import React, { useImperativeHandle, useMemo, useState } from 'react';
|
|
4
4
|
import { useDeepCompareEffect } from '../utils/ahooks';
|
|
5
5
|
|
|
6
6
|
export interface MyGridProps extends GridProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import GroupColumn from '@lingxiteam/charts/es/GroupColumn';
|
|
2
2
|
import { LingXiFC } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useMemo } from 'react';
|
|
3
|
+
import React, { useEffect, useMemo } from 'react';
|
|
4
4
|
import useAsyncState from '../utils/hooks/useAsyncState';
|
|
5
5
|
import useHiddenStyle from '../utils/hooks/useHiddenStyle';
|
|
6
6
|
import { useJsonToParse } from '../utils/hooks/useJsonToParse';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
|
-
import { useImperativeHandle, useState } from 'react';
|
|
2
|
+
import React, { useImperativeHandle, useState } from 'react';
|
|
3
3
|
import GroupColumnLoader from './loader';
|
|
4
4
|
import { MyGroupColumnProps } from './PropsType';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Icon as LegacyIcon } from '@lingxiteam/icons';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import { useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
4
|
+
import React, { useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
5
5
|
import useHiddenStyle from '../utils/hooks/useHiddenStyle';
|
|
6
6
|
import { useListenProps } from '../utils/hooks/useListenState';
|
|
7
7
|
import './index.less';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
|
-
import { useMemo } from 'react';
|
|
2
|
+
import React, { useMemo } from 'react';
|
|
3
3
|
import { withTransformProps } from '../utils/withTransformProps';
|
|
4
4
|
import IconError from './assets/error.png';
|
|
5
5
|
import IconPlaceholder from './assets/placeholder.png';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Line from '@lingxiteam/charts/es/Line';
|
|
2
2
|
import { LingXiFC } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useMemo } from 'react';
|
|
3
|
+
import React, { useEffect, useMemo } from 'react';
|
|
4
4
|
import useAsyncState from '../utils/hooks/useAsyncState';
|
|
5
5
|
import useHiddenStyle from '../utils/hooks/useHiddenStyle';
|
|
6
6
|
import { useJsonToParse } from '../utils/hooks/useJsonToParse';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useEffect, useRef, useState } from 'react';
|
|
1
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
2
2
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3
3
|
import { Chart, Geometry, Legend, px2hd } from '@alitajs/f2';
|
|
4
4
|
import Axis from '@lingxiteam/charts/es/components/Axis';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LoadMoreListView, LoadMoreListViewProps } from '@lingxiteam/antd-mobile-plus';
|
|
2
2
|
import { ErrorBlock } from 'antd-mobile-5';
|
|
3
|
-
import { useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
3
|
+
import React, { useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
4
4
|
import { AppForwardRef } from '../BasicComponents';
|
|
5
5
|
import './index.less';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import MultipleProgress from '@lingxiteam/charts/es/MultipleProgress';
|
|
2
2
|
import { LingXiFC } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect } from 'react';
|
|
3
|
+
import React, { useEffect } from 'react';
|
|
4
4
|
import useAsyncState from '../utils/hooks/useAsyncState';
|
|
5
5
|
import useHiddenStyle from '../utils/hooks/useHiddenStyle';
|
|
6
6
|
import { useJsonToParse } from '../utils/hooks/useJsonToParse';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
|
-
import { useImperativeHandle, useState } from 'react';
|
|
2
|
+
import React, { useImperativeHandle, useState } from 'react';
|
|
3
3
|
import DountLoader from './loader';
|
|
4
4
|
import { MyMultipleProgressProps } from './PropsType';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NoticeBarPlus, NoticeBarProps } from '@lingxiteam/antd-mobile-plus';
|
|
2
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
3
|
-
import { useEffect, useRef, useState } from 'react';
|
|
3
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
4
4
|
import useStyle from '../View/useStyle';
|
|
5
5
|
|
|
6
6
|
export interface MyNoticeBarPlusProps extends NoticeBarProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import React, { useCallback, useEffect, useImperativeHandle, useState } from 'react';
|
|
1
2
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
3
|
import Picker from 'antd-mobile-5/es/components/picker';
|
|
3
|
-
import { useCallback, useEffect, useImperativeHandle, useState } from 'react';
|
|
4
4
|
import { useListenToggleBoolean } from '../utils/hooks/useToggleBoolean';
|
|
5
5
|
|
|
6
6
|
export interface PickerProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
2
|
import { ProgressBar } from 'antd-mobile-5';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import { useMemo } from 'react';
|
|
4
|
+
import React, { useMemo } from 'react';
|
|
5
5
|
import './index.less';
|
|
6
6
|
|
|
7
7
|
export interface MyProgressBarProps {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { QRCode, QRCodeType } from '@lingxiteam/antd-mobile-plus';
|
|
3
3
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
4
4
|
import { ImageViewer } from 'antd-mobile-5';
|
|
5
|
-
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
5
|
+
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
6
6
|
import closeIcon from '../DformFile/assets/closeIcon.png';
|
|
7
7
|
import { setRgbTo16 } from '../utils';
|
|
8
8
|
import { logoSizeTrans } from './const';
|
|
@@ -2,7 +2,7 @@ import { LingXiFC } from '@lingxiteam/types';
|
|
|
2
2
|
import { createRequires } from '@paciolan/remote-component/dist/createRequires';
|
|
3
3
|
import { createUseRemoteComponent } from '@paciolan/remote-component/dist/hooks/useRemoteComponent';
|
|
4
4
|
import { ErrorBlock } from 'antd-mobile-5';
|
|
5
|
-
import { useContext } from 'react';
|
|
5
|
+
import React, { useContext } from 'react';
|
|
6
6
|
import { useDynamicData } from '../../utils/dynamicUtils/DynamicContext';
|
|
7
7
|
import { DFormContext } from '../../utils/form';
|
|
8
8
|
import { IconFailComp } from '../assets';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LingxiForwardRef } from '@lingxiteam/types';
|
|
2
|
-
import { useEffect, useImperativeHandle, useRef, useState } from 'react';
|
|
2
|
+
import React, { useEffect, useImperativeHandle, useRef, useState } from 'react';
|
|
3
3
|
import { useDeepCompareEffect } from '../utils/ahooks';
|
|
4
4
|
import { mergeGetter, RemoteComponentMap } from './constant';
|
|
5
5
|
|