import mutations from './mutations'
import * as actions from './actions'
import * as getters from './getters'

const state = {
  editorElement: {}, // 正在编辑的元素
  editorPage: {
    elements: []
  }, // 正在编辑的页面
  themeList: [], // 用户所有主题列表
  editorTheme: {
    title: '',
    description: '',
    canvasHeight: 1334,
    canvasWidth: 750,
    bodyBackgroundColor: 'rgba(255,255,255,0)',
    animatedNameGlobal: '',
    animatedNameBackgroundGlobal: '',
    backgroundAudio: '',

  }, // 正在编辑的主题
  picList: [], // 图片列表
  gridTempField:false,//网格参考线
  complexEditorElement:[], //ctrl点击多个的情况
  ctrlKeyDownFlag:false,//是否按住了ctrl键
}

export default{
  state,
  getters,
  actions,
  mutations
}
