// https://iconpark.bytedance.com/official

import { App } from '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,
  Up,
  Down,
  Plus,
  Minus,
  Connection,
  BringToFrontOne,
  SentToBack,
  Github,
  ChartProportion,
  ChartHistogram,
  ChartHistogramOne,
  ChartLineArea,
  ChartRing,
  ChartScatter,
  ChartLine,
  ChartPie,
  Text,
  Rotate,
  LeftTwo,
  RightTwo,
  Platte,
  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,
  Needle,
  TextRotationNone,
  TextRotationDown,
  FormatBrush,
  PreviewOpen,
  PreviewClose,
  StopwatchStart,
  ShuffleOne,
  ReduceOne,
  TwoDimensionalCodeTwo,
  More,
  RightAngle,
  PageTemplate,
  TriangleRoundRectangle,
  Left,
  Right,
  GuideBoard,
  KeyboardOne,
  HeadsetOne,
  ApplicationMenu,
  PreviewCloseOne,
  Upload,
  Layers,
  AlignTextCenterOne,
  Refresh,
  Peoples,
  ScreenRotation,
  UploadOne,
  DownloadOne,
  Save,
  Shield,
  CuttingOne,
  Ruler,
  IdCard,
  ExpandDownOne,
  FoldUpOne,
  ClickTap,
  AddTextTwo,
  CheckOne,
  BarCode,
  PayCodeTwo,
  TextStyleOne,
  DifferenceSet,
  Intersection,
  SendBackward,
  BringForward,
  IntersectSelection,
  UnionSelection,
  ExcludeSelection,
  SubtractSelection,
  SubtractSelectionOne,
  AllApplication,
  Home,
  Newlybuild,
  DividingLine,
  AlignTextBoth,
  Distortion,
  Translate,
  MagicWand,
  H1,
  H3,
  TransferData,
  HamburgerButton,
  ContrastViewCircle,
  LeftSmallUp,
  LeftSmallDown,
  RightSmallUp,
  RightSmallDown,
  MapDraw,
  RightC,
  LeftC,
  RightOne,
  DownOne,
  CopyOne,
  Wechat,
  TencentQq,
  Mail,
  ShareOne,
  Navigation,
  ViewList
} from '@icon-park/vue-next'

export const icons = {
  IconPlayOne: PlayOne,
  IconFullScreenPlay: FullScreenPlay,
  IconLock: Lock,
  IconUnlock: Unlock,
  IconPpt: Ppt,
  IconFormat: Format,
  IconPicture: Picture,
  IconFullScreen: FullScreen,
  IconList: List,
  IconOrderedList: OrderedList,
  IconHelpcenter: Helpcenter,
  IconFlipVertically: FlipVertically,
  IconFlipHorizontally: FlipHorizontally,
  IconFontSize: FontSize,
  IconCode: Code,
  IconTextBold: TextBold,
  IconTextItalic: TextItalic,
  IconTextUnderline: TextUnderline,
  IconStrikethrough: Strikethrough,
  IconEdit: Edit,
  IconQuote: Quote,
  IconBackgroundColor: BackgroundColor,
  IconGroup: Group,
  IconUngroup: Ungroup,
  IconBack: Back,
  IconNext: Next,
  IconFullwidth: Fullwidth,
  IconAlignTop: AlignTop,
  IconAlignLeft: AlignLeft,
  IconAlignRight: AlignRight,
  IconAlignBottom: AlignBottom,
  IconAlignVertically: AlignVertically,
  IconAlignHorizontally: AlignHorizontally,
  IconBringToFront: BringToFront,
  IconSendToBack: SendToBack,
  IconAlignTextLeft: AlignTextLeft,
  IconAlignTextRight: AlignTextRight,
  IconAlignTextCenter: AlignTextCenter,
  IconRowHeight: RowHeight,
  IconWrite: Write,
  IconInsertTable: InsertTable,
  IconAddText: AddText,
  IconFill: Fill,
  IconTailoring: Tailoring,
  IconEffects: Effects,
  IconColorFilter: ColorFilter,
  IconUp: Up,
  IconDown: Down,
  IconPlus: Plus,
  IconMinus: Minus,
  IconConnection: Connection,
  IconBringToFrontOne: BringToFrontOne,
  IconSentToBack: SentToBack,
  IconGithub: Github,
  IconChartProportion: ChartProportion,
  IconChartHistogram: ChartHistogram,
  IconChartHistogramOne: ChartHistogramOne,
  IconChartLineArea: ChartLineArea,
  IconChartRing: ChartRing,
  IconChartScatter: ChartScatter,
  IconChartLine: ChartLine,
  IconChartPie: ChartPie,
  IconText: Text,
  IconRotate: Rotate,
  IconLeftTwo: LeftTwo,
  IconRightTwo: RightTwo,
  IconPlatte: Platte,
  IconClose: Close,
  IconCloseSmall: CloseSmall,
  IconUndo: Undo,
  IconTransform: Transform,
  IconClick: Click,
  IconTheme: Theme,
  IconArrowCircleLeft: ArrowCircleLeft,
  IconGraphicDesign: GraphicDesign,
  IconLogout: Logout,
  IconErase: Erase,
  IconClear: Clear,
  IconFolderClose: FolderClose,
  IconAlignTextTopOne: AlignTextTopOne,
  IconAlignTextBottomOne: AlignTextBottomOne,
  IconAlignTextMiddleOne: AlignTextMiddleOne,
  IconPause: Pause,
  IconVolumeMute: VolumeMute,
  IconVolumeNotice: VolumeNotice,
  IconVolumeSmall: VolumeSmall,
  IconVideoTwo: VideoTwo,
  IconFormula: Formula,
  IconLinkOne: LinkOne,
  IconFullScreenOne: FullScreenOne,
  IconOffScreenOne: OffScreenOne,
  IconPower: Power,
  IconListView: ListView,
  IconMagic: Magic,
  IconHighLight: HighLight,
  IconShare: Share,
  IconIndentLeft: IndentLeft,
  IconIndentRight: IndentRight,
  IconVerticalSpacingBetweenItems: VerticalSpacingBetweenItems,
  IconCopy: Copy,
  IconDelete: Delete,
  IconSquare: Square,
  IconRound: Round,
  IconNeedle: Needle,
  IconTextRotationNone: TextRotationNone,
  IconTextRotationDown: TextRotationDown,
  IconFormatBrush: FormatBrush,
  IconPreviewOpen: PreviewOpen,
  IconPreviewClose: PreviewClose,
  IconStopwatchStart: StopwatchStart,
  IconShuffleOne: ShuffleOne,
  IconReduceOne: ReduceOne,
  IconTwoDimensionalCodeTwo: TwoDimensionalCodeTwo,
  IconMore: More,
  IconRightAngle: RightAngle,
  IconPageTemplate: PageTemplate,
  IconTriangleRoundRectangle: TriangleRoundRectangle,
  IconLeft: Left,
  IconRight: Right,
  IconGuideBoard: GuideBoard,
  IconKeyboardOne: KeyboardOne,
  IconHeadsetOne: HeadsetOne,
  IconApplicationMenu: ApplicationMenu,
  IconPreviewCloseOne: PreviewCloseOne,
  IconUpload: Upload,
  IconLayers: Layers,
  IconAlignTextCenterOne: AlignTextCenterOne,
  IconRefresh: Refresh,
  IconPeoples: Peoples,
  IconScreenRotation: ScreenRotation,
  IconUploadOne: UploadOne,
  IconDownloadOne: DownloadOne,
  IconSave: Save,
  IconShield: Shield,
  IconCuttingOne: CuttingOne,
  IconRuler: Ruler,
  IconIdCard: IdCard,
  IconExpandDownOne: ExpandDownOne,
  IconFoldUpOne: FoldUpOne,
  IconClickTap: ClickTap,
  IconAddTextTwo: AddTextTwo,
  IconCheckOne: CheckOne,
  IconBarCode: BarCode,
  IconPayCodeTwo: PayCodeTwo,
  IconTextStyleOne: TextStyleOne,
  IconIntersection: Intersection,
  IconSendBackward: SendBackward,
  IconBringForward: BringForward,
  IconIntersectSelection: IntersectSelection,
  IconUnionSelection: UnionSelection,
  IconExcludeSelection: ExcludeSelection,
  IconSubtractSelection: SubtractSelection,
  IconSubtractSelectionOne: SubtractSelectionOne,
  IconAllApplication: AllApplication,
  IconHome: Home,
  IconNewlybuild: Newlybuild,
  IconDividingLine: DividingLine,
  IconAlignTextBoth: AlignTextBoth,
  IconDistortion: Distortion,
  IconTranslate: Translate,
  IconMagicWand: MagicWand,
  IconH1: H1,
  IconH3: H3,
  IconTransferData: TransferData,
  IconHamburgerButton: HamburgerButton,
  IconContrastViewCircle: ContrastViewCircle,
  IconLeftSmallUp: LeftSmallUp,
  IconLeftSmallDown: LeftSmallDown,
  IconRightSmallUp: RightSmallUp,
  IconRightSmallDown: RightSmallDown,
  IconMapDraw: MapDraw,
  IconRightC: RightC,
  IconLeftC: LeftC,
  IconRightOne: RightOne,
  IconDownOne: DownOne,
  IconCopyOne: CopyOne,
  IconWechat: Wechat,
  IconTencentQq: TencentQq,
  IconMail: Mail,
  IconShareOne: ShareOne,
  IconNavigation: Navigation,
  IconViewList: ViewList
}

export default {
  install(app: App) {
  for (const [key, component] of Object.entries(icons))
    app.component(key, component)
  }
}