mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-01-06 03:38:10 +00:00
🔥 迁移typescript类型文件
This commit is contained in:
parent
5a8d62d98a
commit
f22f2a6ef1
@ -6,7 +6,7 @@ import {
|
||||
TDataListDefaultType,
|
||||
TRadioDefaultType,
|
||||
TSwitchDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
|
||||
|
||||
export type CarouselDirectionKeyType = 'down' | 'left';
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TSelectDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
|
||||
|
||||
export type TfooterSelectKeyType = 'left' | 'center' | 'right';
|
||||
|
||||
@ -9,7 +9,7 @@ import {
|
||||
TSelectDefaultType,
|
||||
ISelectConfigType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TTextWeightSelectKeyType = '300' | '400' | '500' | '600';
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TTextDefaultType,
|
||||
TUploadDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
|
||||
|
||||
export type THeaderEditData = Array<
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TColorDefaultType,
|
||||
TNumberDefaultType,
|
||||
TSwitchDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TIconEditData = Array<
|
||||
IColorConfigType | INumberConfigType | ISwitchConfigType | ICardPickerConfigType<IconTypes>
|
||||
|
||||
@ -11,7 +11,7 @@ import {
|
||||
TPosDefaultType,
|
||||
TTextDefaultType,
|
||||
ITextConfigType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
import { baseConfig, baseDefault, ICommonBaseType } from '../../common';
|
||||
|
||||
export type TTextSelectKeyType = 'left' | 'right' | 'center';
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TSelectDefaultType,
|
||||
TSwitchDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TNoticeSelectKeyType = 'default' | 'warning' | 'primary' | 'success' | 'danger';
|
||||
export type TNoticeEditData = Array<
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TTextDefaultType,
|
||||
TUploadDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TQrcodeEditData = Array<
|
||||
IUploadConfigType | ITextConfigType | IColorConfigType | INumberConfigType
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TTextDefaultType,
|
||||
IRichTextConfigType,
|
||||
TRichTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TButtonEditData = Array<
|
||||
ITextConfigType | IColorConfigType | INumberConfigType | IRichTextConfigType
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TDataListDefaultType,
|
||||
TMutiTextDefaultType,
|
||||
TNumberDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TTabEditData = Array<
|
||||
IMutiTextConfigType | IColorConfigType | INumberConfigType | IDataListConfigType
|
||||
|
||||
@ -5,7 +5,7 @@ import {
|
||||
TColorDefaultType,
|
||||
TNumberDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TWhiteTplEditData = Array<IColorConfigType | INumberConfigType | ITextConfigType>;
|
||||
export interface IWhiteTplConfig {
|
||||
|
||||
@ -3,7 +3,7 @@ import {
|
||||
INumberConfigType,
|
||||
TTextDefaultType,
|
||||
TNumberDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TAudioEditData = Array<INumberConfigType | ITextConfigType>;
|
||||
export interface IAudioConfig {
|
||||
|
||||
@ -3,7 +3,7 @@ import {
|
||||
IUploadConfigType,
|
||||
TTextDefaultType,
|
||||
TUploadDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TVideoEditData = Array<IUploadConfigType | ITextConfigType>;
|
||||
export interface IVideoConfig {
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TTableDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TChartEditData = Array<
|
||||
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TTableDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TChartEditData = Array<
|
||||
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TTableDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TChartEditData = Array<
|
||||
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType
|
||||
|
||||
@ -7,7 +7,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TTableDefaultType,
|
||||
TTextDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
|
||||
export type TChartEditData = Array<
|
||||
ITextConfigType | INumberConfigType | IColorConfigType | ITableConfigType
|
||||
|
||||
@ -5,7 +5,7 @@ import {
|
||||
TNumberDefaultType,
|
||||
TRadioDefaultType,
|
||||
TSelectDefaultType,
|
||||
} from '@/components/PanelComponents/FormEditor/types';
|
||||
} from '@/core/FormComponents/types';
|
||||
export type TXProgressSelectKeyType = 'success' | 'warning' | 'danger';
|
||||
export type TXProgressRadiotKeyType = 'circle' | 'line' | 'semi-circle';
|
||||
export type TXProgressEditData = Array<
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user