import type { ButtonProps } from '@tplc/wot/components/wd-button/types'
export interface IconList {
  iconName: string
  iconUrl: string
  iconNameColor?: string
  jumpUrl?: string
  jumpPage?: string
  jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88
  buttonList?: IPageBtn[]
  iconType?: number
}
export interface IPageBtn {
  buttonKey: string
  buttonName: string
  name: string
  buttonType: number
  popUpFlag: boolean
  popUpTip: string
  content: string
  popUpTitle: string
  popUpRequestInfo: {
    defaultValue?: string
    inputKey: string
    inputType: string
  }
  requestParam?: {
    orderNo: string
  }
  refreshCurrentPage?: boolean
  jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88
  jumpUrl: string
  requestUrl: string
  jumpPage?: string
  styleContent: {
    buttonType: string
    style: {
      width: string
    }
  }
  buttonProps?: ButtonProps
  autoJumpSecond?: number
}
export interface LcbOperationActionsProps {
  buttonList: IPageBtn[]
  iconList?: IconList[]
  size?: 'small' | 'medium' | 'large'
  noIcons?: boolean
}
