"use strict";

exports.__esModule = true;
exports["default"] = void 0;
exports.getFlowEventConfig = getFlowEventConfig;
var _setters = require("../_setters");
var _locale = require("../../src/locale");
var _default = exports["default"] = {
  name: 'flowEventConfig',
  title: {
    label: (0, _locale.t)('button.flowEventConfig'),
    tip: (0, _locale.t)('button.flowEventConfigTip')
  },
  setter: _setters.CFlowEventSetter,
  props: {}
};
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) || (0, _locale.t)('button.flowEventConfig');
  var tip = (config === null || config === void 0 ? void 0 : config.tip) || (0, _locale.t)('button.flowEventConfigTip');
  var props = (config === null || config === void 0 ? void 0 : config.props) || {};
  return {
    name: name,
    title: {
      label: label,
      tip: tip
    },
    setter: _setters.CFlowEventSetter,
    props: props
  };
}