import {
  ArticleTypeEnum,
  AuditStatusEnum,
  CommentTypeEnum,
  TaskTypeEnum,
  UsageStatusEnum,
  AuctionStatusEnum,
  GoodsDistributionTypeEnum,
  SpecificVideoRewardEnum,
} from './enums'

// 地区列表
export const regionListOptions = [
  {
    label: '深圳',
    value: '深圳',
  },
  {
    label: '合肥',
    value: '合肥',
  },
  {
    label: '武汉',
    value: '武汉',
  },
  {
    label: '长沙',
    value: '长沙',
  },
  {
    label: '广州',
    value: '广州',
  },
  {
    label: '香港',
    value: '香港',
  },
  {
    label: '仓库',
    value: '仓库',
  },
]

// 文章类型列表
export const articleTypeListOptions: { label: string; value: ArticleTypeEnum }[] = [
  {
    label: '帖子',
    value: ArticleTypeEnum.POST,
  },
  {
    label: '视频',
    value: ArticleTypeEnum.VIDEO,
  },
  {
    label: '问吧',
    value: ArticleTypeEnum.QUESTION,
  },
  {
    label: '专栏',
    value: ArticleTypeEnum.COLUMN,
  },
  {
    label: '实践',
    value: ArticleTypeEnum.PRACTICE,
  },
  {
    label: '专访',
    value: ArticleTypeEnum.INTERVIEW,
  },
]

export const articleTypeListOptionsForReal: { label: string; value: ArticleTypeEnum }[] = [
  {
    label: '实践',
    value: ArticleTypeEnum.PRACTICE,
  },
  {
    label: '专访',
    value: ArticleTypeEnum.INTERVIEW,
  },
  {
    label: '问吧',
    value: ArticleTypeEnum.QUESTION,
  },
]

export const articleTypeListOptionsForNotReal: { label: string; value: ArticleTypeEnum }[] = [
  {
    label: '帖子',
    value: ArticleTypeEnum.POST,
  },
  {
    label: '视频',
    value: ArticleTypeEnum.VIDEO,
  },
  {
    label: '专栏',
    value: ArticleTypeEnum.COLUMN,
  },
]

// 审核类型列表
export const auditTypeListOptions: { label: string; value: AuditStatusEnum }[] = [
  {
    label: '待审核',
    value: AuditStatusEnum.UNAUDITED,
  },
  {
    label: '同意',
    value: AuditStatusEnum.AGREED,
  },
  {
    label: '拒绝',
    value: AuditStatusEnum.REJECTED,
  },
]

// 使用状态列表
export const usageStatusListOptions: { label: string; value: UsageStatusEnum }[] = [
  {
    label: '待使用',
    value: UsageStatusEnum.UNUSABLE,
  },
  {
    label: '已使用',
    value: UsageStatusEnum.USED,
  },
]

// 任务类型列表
export const taskTypeListOptions = [
  {
    label: '常规任务',
    value: TaskTypeEnum.REGULAR_TASK,
  },
  {
    label: '特殊任务',
    value: TaskTypeEnum.SPECIAL_TASK,
  },
]

// 评论类型列表
export const commentTypeListOptions = [
  {
    label: '我评论的',
    value: CommentTypeEnum.COMMNET_TO_OTHER,
  },
  {
    label: '评论我的',
    value: CommentTypeEnum.COMMNET_TO_SELF,
  },
]

// 等级相关内容
export const levelListOptions: {
  label: string
  value: number
  iconUrl: string
  expScope: [number, number]
}[] = [
  {
    label: 'LV1',
    value: 1,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370983822.png',
    expScope: [0, 500],
  },

  {
    label: 'LV2',
    value: 2,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370990111.png',
    expScope: [500, 1500],
  },
  {
    label: 'LV3',
    value: 3,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370993043.png',
    expScope: [1500, 3000],
  },
  {
    label: 'LV4',
    value: 4,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370996142.png',
    expScope: [3000, 6000],
  },
  {
    label: 'LV5',
    value: 5,
    iconUrl:
      'https://soundasia.oss-cn-shenzhen.aliyuncs.com/OA/readName/png/2025/11/17/Common/1763370998414.png',
    expScope: [6000, 12000],
  },
]

// 竞拍状态列表
export const auctionStatusListOptions: { label: string; value: AuctionStatusEnum }[] = [
  {
    label: '已发布',
    value: AuctionStatusEnum.PUBLISHED,
  },
  {
    label: '竞拍中',
    value: AuctionStatusEnum.AUCTIONING,
  },
  {
    label: '竞拍成功',
    value: AuctionStatusEnum.AUCTION_SUCCESS,
  },
  {
    label: '已流拍',
    value: AuctionStatusEnum.AUCTION_FAILED,
  },
]

// 发放商品的分类列表
export const goodsDistributionTypeListOptions: {
  label: string
  value: GoodsDistributionTypeEnum
}[] = [
  {
    label: '每日抽奖',
    value: GoodsDistributionTypeEnum.LOTTERY,
  },
  {
    label: '积分商城',
    value: GoodsDistributionTypeEnum.ORDER,
  },
  {
    label: '竞拍',
    value: GoodsDistributionTypeEnum.AUCTION,
  },
]

// 特定视频奖励列表
export const specificVideoRewardListOptions: {
  label: string
  value: SpecificVideoRewardEnum
  title: string
}[] = [
  {
    label: 'QA碎片',
    value: SpecificVideoRewardEnum.QA_CHIP,
    // 匹配的标题
    title: '虎虎实锤重磅来袭',
  },
  {
    label: '初心碎片',
    value: SpecificVideoRewardEnum.ORIGINAL_CHIP,
    title: '跌宕起伏的创业前传',
  },
  {
    label: '本分&包容碎片',
    value: SpecificVideoRewardEnum.MODEST_CHIP,
    title: '老板的MBTI终于暴露了',
  },
  {
    label: '创新碎片',
    value: SpecificVideoRewardEnum.INNOVATION_CHIP,
    title: '从诗词歌赋聊到人生哲学',
  },
]
