import { EventOptionsItemType } from './eventData.hook.d';

// * 事件类型
export const eventTypeOptions: EventOptionsItemType[] = [
  {
    label: '单击',
    value: 'click',
  },
  {
    label: '双击',
    value: 'dblclick',
  },
  {
    label: '右击',
    value: 'rightclick',
  },
  {
    label: '鼠标移入',
    value: 'mousein',
  },
  {
    label: '鼠标移出',
    value: 'mouseout',
  },
  {
    label: '前后端通信',
    value: 'websocket',
  },
];
// * 动作类型
export const movementTypeOptions: EventOptionsItemType[] = [
  {
    label: '显示',
    value: 'reveal',
  },
  {
    label: '隐藏',
    value: 'hidden',
  },
  {
    label: '跳转新地址',
    value: 'newaddress',
  },
  {
    label: '数据更新',
    value: 'dataupdate',
  },
  {
    label: '地图联动',
    value: 'map',
  },
  {
    label: '空间数据操作',
    value: 'graphic',
  },
  {
    label: '组件通信',
    value: 'communication',
  },
  {
    label: '修改组件样式',
    value: 'style',
  },
  {
    label: '调用后台API',
    value: 'callBackRequest',
  },
];
