mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
chore: 添加图标全局组件类型声明
This commit is contained in:
parent
06444ee97d
commit
54fd34aab0
216
src/components.d.ts
vendored
216
src/components.d.ts
vendored
@ -4,8 +4,117 @@ import CheckboxButtonGroup from '@/components/CheckboxButtonGroup.vue'
|
||||
import ColorPicker from '@/components/ColorPicker/index.vue'
|
||||
import FullscreenSpin from '@/components/FullscreenSpin.vue'
|
||||
|
||||
import {
|
||||
PlayOne,
|
||||
FullScreenPlay,
|
||||
Lock,
|
||||
Unlock,
|
||||
Ppt,
|
||||
Format,
|
||||
Picture,
|
||||
FullScreen,
|
||||
List,
|
||||
OrderedList,
|
||||
Helpcenter,
|
||||
FlipVertically,
|
||||
FlipHorizontally,
|
||||
FontSize,
|
||||
Code,
|
||||
TextBold,
|
||||
TextItalic,
|
||||
TextUnderline,
|
||||
Strikethrough,
|
||||
Edit,
|
||||
Quote,
|
||||
BackgroundColor,
|
||||
Group,
|
||||
Ungroup,
|
||||
Back,
|
||||
Next,
|
||||
Fullwidth,
|
||||
AlignTop,
|
||||
AlignLeft,
|
||||
AlignRight,
|
||||
AlignBottom,
|
||||
AlignVertically,
|
||||
AlignHorizontally,
|
||||
BringToFront,
|
||||
SendToBack,
|
||||
AlignTextLeft,
|
||||
AlignTextRight,
|
||||
AlignTextCenter,
|
||||
RowHeight,
|
||||
Write,
|
||||
InsertTable,
|
||||
AddText,
|
||||
Fill,
|
||||
Tailoring,
|
||||
Effects,
|
||||
ColorFilter,
|
||||
Down,
|
||||
Plus,
|
||||
Minus,
|
||||
Connection,
|
||||
BringToFrontOne,
|
||||
SentToBack,
|
||||
Github,
|
||||
ChartProportion,
|
||||
ChartHistogram,
|
||||
ChartHistogramOne,
|
||||
ChartLineArea,
|
||||
ChartRing,
|
||||
ChartScatter,
|
||||
ChartLine,
|
||||
ChartPie,
|
||||
Text,
|
||||
Rotate,
|
||||
LeftTwo,
|
||||
RightTwo,
|
||||
Platte,
|
||||
UpOne,
|
||||
DownOne,
|
||||
Close,
|
||||
CloseSmall,
|
||||
Undo,
|
||||
Transform,
|
||||
Click,
|
||||
Theme,
|
||||
ArrowCircleLeft,
|
||||
GraphicDesign,
|
||||
Logout,
|
||||
Erase,
|
||||
Clear,
|
||||
FolderClose,
|
||||
AlignTextTopOne,
|
||||
AlignTextBottomOne,
|
||||
AlignTextMiddleOne,
|
||||
Pause,
|
||||
VolumeMute,
|
||||
VolumeNotice,
|
||||
VolumeSmall,
|
||||
VideoTwo,
|
||||
Formula,
|
||||
LinkOne,
|
||||
FullScreenOne,
|
||||
OffScreenOne,
|
||||
Power,
|
||||
ListView,
|
||||
Magic,
|
||||
HighLight,
|
||||
Share,
|
||||
IndentLeft,
|
||||
IndentRight,
|
||||
VerticalSpacingBetweenItems,
|
||||
Copy,
|
||||
Delete,
|
||||
Square,
|
||||
Round,
|
||||
} from '@icon-park/vue-next'
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
|
||||
// antd 组件
|
||||
InputNumber: typeof import('ant-design-vue')['InputNumber'];
|
||||
Divider: typeof import('ant-design-vue')['Divider'];
|
||||
Button: typeof import('ant-design-vue')['Button'];
|
||||
@ -31,11 +140,118 @@ declare module 'vue' {
|
||||
Drawer: typeof import('ant-design-vue')['Drawer'];
|
||||
Spin: typeof import('ant-design-vue')['Spin'];
|
||||
|
||||
// 自定义组件
|
||||
FileInput: typeof FileInput;
|
||||
CheckboxButton: typeof CheckboxButton;
|
||||
CheckboxButtonGroup: typeof CheckboxButtonGroup;
|
||||
ColorPicker: typeof ColorPicker;
|
||||
FullscreenSpin: typeof FullscreenSpin;
|
||||
|
||||
// IconPark 图标组件
|
||||
IconPlayOne: typeof PlayOne;
|
||||
IconFullScreenPlay: typeof FullScreenPlay;
|
||||
IconLock: typeof Lock;
|
||||
IconUnlock: typeof Unlock;
|
||||
IconPpt: typeof Ppt;
|
||||
IconFormat: typeof Format;
|
||||
IconPicture: typeof Picture;
|
||||
IconFullScreen: typeof FullScreen;
|
||||
IconList: typeof List;
|
||||
IconOrderedList: typeof OrderedList;
|
||||
IconHelpcenter: typeof Helpcenter;
|
||||
IconFlipVertically: typeof FlipVertically;
|
||||
IconFlipHorizontally: typeof FlipHorizontally;
|
||||
IconFontSize: typeof FontSize;
|
||||
IconCode: typeof Code;
|
||||
IconTextBold: typeof TextBold;
|
||||
IconTextItalic: typeof TextItalic;
|
||||
IconTextUnderline: typeof TextUnderline;
|
||||
IconStrikethrough: typeof Strikethrough;
|
||||
IconEdit: typeof Edit;
|
||||
IconQuote: typeof Quote;
|
||||
IconBackgroundColor: typeof BackgroundColor;
|
||||
IconGroup: typeof Group;
|
||||
IconUngroup: typeof Ungroup;
|
||||
IconBack: typeof Back;
|
||||
IconNext: typeof Next;
|
||||
IconFullwidth: typeof Fullwidth;
|
||||
IconAlignTop: typeof AlignTop;
|
||||
IconAlignLeft: typeof AlignLeft;
|
||||
IconAlignRight: typeof AlignRight;
|
||||
IconAlignBottom: typeof AlignBottom;
|
||||
IconAlignVertically: typeof AlignVertically;
|
||||
IconAlignHorizontally: typeof AlignHorizontally;
|
||||
IconBringToFront: typeof BringToFront;
|
||||
IconSendToBack: typeof SendToBack;
|
||||
IconAlignTextLeft: typeof AlignTextLeft;
|
||||
IconAlignTextRight: typeof AlignTextRight;
|
||||
IconAlignTextCenter: typeof AlignTextCenter;
|
||||
IconRowHeight: typeof RowHeight;
|
||||
IconWrite: typeof Write;
|
||||
IconInsertTable: typeof InsertTable;
|
||||
IconAddText: typeof AddText;
|
||||
IconFill: typeof Fill;
|
||||
IconTailoring: typeof Tailoring;
|
||||
IconEffects: typeof Effects;
|
||||
IconColorFilter: typeof ColorFilter;
|
||||
IconDown: typeof Down;
|
||||
IconPlus: typeof Plus;
|
||||
IconMinus: typeof Minus;
|
||||
IconConnection: typeof Connection;
|
||||
IconBringToFrontOne: typeof BringToFrontOne;
|
||||
IconSentToBack: typeof SentToBack;
|
||||
IconGithub: typeof Github;
|
||||
IconChartProportion: typeof ChartProportion;
|
||||
IconChartHistogram: typeof ChartHistogram;
|
||||
IconChartHistogramOne: typeof ChartHistogramOne;
|
||||
IconChartLineArea: typeof ChartLineArea;
|
||||
IconChartRing: typeof ChartRing;
|
||||
IconChartScatter: typeof ChartScatter;
|
||||
IconChartLine: typeof ChartLine;
|
||||
IconChartPie: typeof ChartPie;
|
||||
IconText: typeof Text;
|
||||
IconRotate: typeof Rotate;
|
||||
IconLeftTwo: typeof LeftTwo;
|
||||
IconRightTwo: typeof RightTwo;
|
||||
IconPlatte: typeof Platte;
|
||||
IconUpOne: typeof UpOne;
|
||||
IconDownOne: typeof DownOne;
|
||||
IconClose: typeof Close;
|
||||
IconCloseSmall: typeof CloseSmall;
|
||||
IconUndo: typeof Undo;
|
||||
IconTransform: typeof Transform;
|
||||
IconClick: typeof Click;
|
||||
IconTheme: typeof Theme;
|
||||
IconArrowCircleLeft: typeof ArrowCircleLeft;
|
||||
IconGraphicDesign: typeof GraphicDesign;
|
||||
IconLogout: typeof Logout;
|
||||
IconErase: typeof Erase;
|
||||
IconClear: typeof Clear;
|
||||
IconFolderClose: typeof FolderClose;
|
||||
IconAlignTextTopOne: typeof AlignTextTopOne;
|
||||
IconAlignTextBottomOne: typeof AlignTextBottomOne;
|
||||
IconAlignTextMiddleOne: typeof AlignTextMiddleOne;
|
||||
IconPause: typeof Pause;
|
||||
IconVolumeMute: typeof VolumeMute;
|
||||
IconVolumeNotice: typeof VolumeNotice;
|
||||
IconVolumeSmall: typeof VolumeSmall;
|
||||
IconVideoTwo: typeof VideoTwo;
|
||||
IconFormula: typeof Formula;
|
||||
IconLinkOne: typeof LinkOne;
|
||||
IconFullScreenOne: typeof FullScreenOne;
|
||||
IconOffScreenOne: typeof OffScreenOne;
|
||||
IconPower: typeof Power;
|
||||
IconListView: typeof ListView;
|
||||
IconMagic: typeof Magic;
|
||||
IconHighLight: typeof HighLight;
|
||||
IconShare: typeof Share;
|
||||
IconIndentLeft: typeof IndentLeft;
|
||||
IconIndentRight: typeof IndentRight;
|
||||
IconVerticalSpacingBetweenItems: typeof VerticalSpacingBetweenItems;
|
||||
IconCopy: typeof Copy;
|
||||
IconDelete: typeof Delete;
|
||||
IconSquare: typeof Square;
|
||||
IconRound: typeof Round;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user