export const TAB_FORM_DETAILS = 'formDetails';
export const TAB_FORM_TRIGGER = 'formTrigger';

export const FORM_DOWNLOAD_STATUS_START = 'start';
export const FORM_DOWNLOAD_STATUS_RETRY = 'retry';
export const FORM_DOWNLOAD_STATUS_FINISH = 'finish';

export const FORM_MAX_DOWNLOAD_TRY_REQUESTS = 45;

export const TEMPLATE_CATEGORY_ALL = 'all';
export const TEMPLATE_CATEGORY_CONTENT_FEEDBACK = 1;

export const TEMPLATE_CATEGORIES_OPTIONS = [
  {
    label: 'All categories',
    value: TEMPLATE_CATEGORY_ALL,
  },
];

export const FORM_SUBMIT_MODE_CREATE = 'CREATE';
export const FORM_SUBMIT_MODE_UPDATE = 'UPDATE';
export const FORM_SUBMIT_MODE_DUPLICATE = 'DUPLICATE';

export const TEMPLATE_ACCOUNT_ALL = {
  label: 'All accounts',
  value: null,
};

export const SEARCH_TEXT_MAX_LENGTH = 100;

export const FORM_PREVIEW_WIDGET_ID = 'form_preview_widget_id';
