🔥 迁移typescript类型文件

This commit is contained in:
xujiang 2020-12-13 18:17:55 +08:00
parent 5a8d62d98a
commit f22f2a6ef1
18 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@ import {
TDataListDefaultType, TDataListDefaultType,
TRadioDefaultType, TRadioDefaultType,
TSwitchDefaultType, TSwitchDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
import { baseConfig, baseDefault, ICommonBaseType } from '../../common'; import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
export type CarouselDirectionKeyType = 'down' | 'left'; export type CarouselDirectionKeyType = 'down' | 'left';

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TSelectDefaultType, TSelectDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
import { baseConfig, baseDefault, ICommonBaseType } from '../../common'; import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
export type TfooterSelectKeyType = 'left' | 'center' | 'right'; export type TfooterSelectKeyType = 'left' | 'center' | 'right';

View File

@ -9,7 +9,7 @@ import {
TSelectDefaultType, TSelectDefaultType,
ISelectConfigType, ISelectConfigType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TTextWeightSelectKeyType = '300' | '400' | '500' | '600'; export type TTextWeightSelectKeyType = '300' | '400' | '500' | '600';

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TTextDefaultType, TTextDefaultType,
TUploadDefaultType, TUploadDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
import { baseConfig, baseDefault, ICommonBaseType } from '../../common'; import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
export type THeaderEditData = Array< export type THeaderEditData = Array<

View File

@ -7,7 +7,7 @@ import {
TColorDefaultType, TColorDefaultType,
TNumberDefaultType, TNumberDefaultType,
TSwitchDefaultType, TSwitchDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TIconEditData = Array< export type TIconEditData = Array<
IColorConfigType | INumberConfigType | ISwitchConfigType | ICardPickerConfigType<IconTypes> IColorConfigType | INumberConfigType | ISwitchConfigType | ICardPickerConfigType<IconTypes>

View File

@ -11,7 +11,7 @@ import {
TPosDefaultType, TPosDefaultType,
TTextDefaultType, TTextDefaultType,
ITextConfigType, ITextConfigType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
import { baseConfig, baseDefault, ICommonBaseType } from '../../common'; import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
export type TTextSelectKeyType = 'left' | 'right' | 'center'; export type TTextSelectKeyType = 'left' | 'right' | 'center';

View File

@ -7,7 +7,7 @@ import {
TSelectDefaultType, TSelectDefaultType,
TSwitchDefaultType, TSwitchDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TNoticeSelectKeyType = 'default' | 'warning' | 'primary' | 'success' | 'danger'; export type TNoticeSelectKeyType = 'default' | 'warning' | 'primary' | 'success' | 'danger';
export type TNoticeEditData = Array< export type TNoticeEditData = Array<

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TTextDefaultType, TTextDefaultType,
TUploadDefaultType, TUploadDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TQrcodeEditData = Array< export type TQrcodeEditData = Array<
IUploadConfigType | ITextConfigType | IColorConfigType | INumberConfigType IUploadConfigType | ITextConfigType | IColorConfigType | INumberConfigType

View File

@ -7,7 +7,7 @@ import {
TTextDefaultType, TTextDefaultType,
IRichTextConfigType, IRichTextConfigType,
TRichTextDefaultType, TRichTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TButtonEditData = Array< export type TButtonEditData = Array<
ITextConfigType | IColorConfigType | INumberConfigType | IRichTextConfigType ITextConfigType | IColorConfigType | INumberConfigType | IRichTextConfigType

View File

@ -7,7 +7,7 @@ import {
TDataListDefaultType, TDataListDefaultType,
TMutiTextDefaultType, TMutiTextDefaultType,
TNumberDefaultType, TNumberDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TTabEditData = Array< export type TTabEditData = Array<
IMutiTextConfigType | IColorConfigType | INumberConfigType | IDataListConfigType IMutiTextConfigType | IColorConfigType | INumberConfigType | IDataListConfigType

View File

@ -5,7 +5,7 @@ import {
TColorDefaultType, TColorDefaultType,
TNumberDefaultType, TNumberDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TWhiteTplEditData = Array<IColorConfigType | INumberConfigType | ITextConfigType>; export type TWhiteTplEditData = Array<IColorConfigType | INumberConfigType | ITextConfigType>;
export interface IWhiteTplConfig { export interface IWhiteTplConfig {

View File

@ -3,7 +3,7 @@ import {
INumberConfigType, INumberConfigType,
TTextDefaultType, TTextDefaultType,
TNumberDefaultType, TNumberDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TAudioEditData = Array<INumberConfigType | ITextConfigType>; export type TAudioEditData = Array<INumberConfigType | ITextConfigType>;
export interface IAudioConfig { export interface IAudioConfig {

View File

@ -3,7 +3,7 @@ import {
IUploadConfigType, IUploadConfigType,
TTextDefaultType, TTextDefaultType,
TUploadDefaultType, TUploadDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TVideoEditData = Array<IUploadConfigType | ITextConfigType>; export type TVideoEditData = Array<IUploadConfigType | ITextConfigType>;
export interface IVideoConfig { export interface IVideoConfig {

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TTableDefaultType, TTableDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TChartEditData = Array< export type TChartEditData = Array<
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TTableDefaultType, TTableDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TChartEditData = Array< export type TChartEditData = Array<
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TTableDefaultType, TTableDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TChartEditData = Array< export type TChartEditData = Array<
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType

View File

@ -7,7 +7,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TTableDefaultType, TTableDefaultType,
TTextDefaultType, TTextDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TChartEditData = Array< export type TChartEditData = Array<
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType

View File

@ -5,7 +5,7 @@ import {
TNumberDefaultType, TNumberDefaultType,
TRadioDefaultType, TRadioDefaultType,
TSelectDefaultType, TSelectDefaultType,
} from '@/components/PanelComponents/FormEditor/types'; } from '@/core/FormComponents/types';
export type TXProgressSelectKeyType = 'success' | 'warning' | 'danger'; export type TXProgressSelectKeyType = 'success' | 'warning' | 'danger';
export type TXProgressRadiotKeyType = 'circle' | 'line' | 'semi-circle'; export type TXProgressRadiotKeyType = 'circle' | 'line' | 'semi-circle';
export type TXProgressEditData = Array< export type TXProgressEditData = Array<