import type { Form } from '@/editor/types'

export const INJECT_CONNECTIONS_FORM: Form = {
  time: {
    label: 'Start',
    tooltip: '',
    optional: true,
  },
  delay: {
    label: 'Delay',
    tooltip: '',
    optional: true,
  },
  condition: {
    label: 'Condition',
    tooltip: '',
    optional: true,
  },
}

export const OVERLAY_FORM: Form = {
  enableOverlay: {
    label: 'Use overlay',
    tooltip: '',
    optional: true,
  },
  duration: {
    label: 'Duration in minutes',
    tooltip: '',
    optional: true,
  },
}

export const INFORMATION_INJECT_FORM: Form = {
  content: {
    label: 'Content',
    tooltip: '',
    optional: true,
  },
  file: {
    label: 'File',
    tooltip: '',
    optional: true,
  },
}

export const EMAIL_INJECT_FORM: Form = {
  address: {
    label: 'Address',
    tooltip: '',
  },
  subject: {
    label: 'Subject',
    tooltip: '',
  },
  content: {
    label: 'Content',
    tooltip: '',
    optional: true,
  },
  extraCopies: {
    label: 'Extra copies',
    tooltip: '',
    optional: true,
  },
  file: {
    label: 'File',
    tooltip: '',
    optional: true,
  },
}

export const QUESTIONNAIRE_FORM: Form = {
  title: {
    label: 'Title',
    tooltip: '',
  },
  questions: {
    label: 'Questions',
    tooltip: '',
  },
}

export const QUESTIONNAIRE_QUESTION_FORM: Form = {
  text: {
    label: 'Text',
    tooltip: '',
  },
  customLabels: {
    label: 'Custom labels',
    tooltip: '',
    optional: true,
  },
  max: {
    label: 'Number of answers',
    tooltip: '',
  },
  answers: {
    label: 'Answers',
    tooltip: '',
  },
  newAnswer: {
    label: 'New answer',
    tooltip: '',
    optional: true,
  },
}
