export default function intent (DOM, params) {
  // const clearDesign$= DOM.select('.reset').events("click")
  const deleteInstances$ = DOM.select('.delete').events('click').map(undefined)
  const duplicateInstances$ = DOM.select('.duplicate').events('click')
  const mirrorInstances$ = DOM.select('.mirror-x').events('click').map(d=>({axis: 0}))
    .merge(DOM.select('.mirror-Y').events('click').map(d=>({axis: 1})))
    .merge(DOM.select('.mirror-Z').events('click').map(d=>({axis: 2})))

  return {
    deleteInstances$,
    duplicateInstances$,
    mirrorInstances$
  }
}
