import { CFlowEventSetter } from "../_setters";
import { t } from "../../src/locale";
export default {
  name: 'flowEventConfig',
  title: {
    label: t('button.flowEventConfig'),
    tip: t('button.flowEventConfigTip')
  },
  setter: CFlowEventSetter,
  props: {}
};
export function getFlowEventConfig(config) {
  var name = (config === null || config === void 0 ? void 0 : config.name) || 'flowEventConfig';
  var label = (config === null || config === void 0 ? void 0 : config.label) || t('button.flowEventConfig');
  var tip = (config === null || config === void 0 ? void 0 : config.tip) || t('button.flowEventConfigTip');
  var props = (config === null || config === void 0 ? void 0 : config.props) || {};
  return {
    name: name,
    title: {
      label: label,
      tip: tip
    },
    setter: CFlowEventSetter,
    props: props
  };
}