"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _locale = require("../../src/locale");
var _snippets = _interopRequireDefault(require("./snippets"));
var _componentKey = _interopRequireDefault(require("../_com-props/componentKey"));
var _componentName = _interopRequireDefault(require("../_com-props/componentName"));
var _default = exports["default"] = {
  componentName: "Lang",
  label: (0, _locale.t)("lang.key_JtNgfyyuO9jd"),
  group: (0, _locale.t)("lang.key_FaXmmVJ2RoGc"),
  category: "Element",
  props: [_componentKey["default"], _componentName["default"], {
    name: "selectLang",
    label: {
      label: (0, _locale.t)("lang.key_E8qK9ZFhoyhN"),
      tip: (0, _locale.t)("lang.key_E8qK9ZFhoyyy")
    },
    propType: {
      type: "oneOf",
      value: ["primary", "ghost", "dashed", "danger", "link", "text"]
    },
    setter: {
      componentName: "SelectSetter",
      initialValue: ["en"],
      props: {
        mode: "multiple",
        options: [{
          value: "en",
          label: "EN"
        }, {
          value: "zh",
          label: "中文"
        }, {
          value: "zh_tw",
          label: "中文(繁体)"
        }]
      }
    }
  }, {
    title: (0, _locale.t)("lang.key_FaXmmVJ2RoGb"),
    display: "block",
    type: "group",
    items: [{
      name: "langIcon",
      title: {
        label: (0, _locale.t)("lang.key_R6oHhEmaibcr"),
        tip: (0, _locale.t)("lang.key_8SvJumjYgocp")
      },
      setter: "CUploadImageDefaultSetter"
    }, {
      name: "iconWidth",
      title: {
        label: (0, _locale.t)("lang.key_E8qK9ZFhotmc"),
        tip: (0, _locale.t)("lang.key_E8qK9ZFhoyhg")
      },
      propType: "string",
      setter: "NumberSetter",
      defaultValue: "24"
    }, {
      name: "iconHeight",
      title: {
        label: (0, _locale.t)("lang.key_E8qK9ZFhobtc"),
        tip: (0, _locale.t)("lang.key_E8qK9ZFhooip")
      },
      propType: "string",
      setter: "NumberSetter",
      defaultValue: "24"
    }]
  }, {
    title: (0, _locale.t)("lang.key_5zlHaBycqqkO"),
    display: "block",
    type: "group",
    items: [{
      name: "dropDownbgColor",
      title: {
        label: (0, _locale.t)("lang.key_E8qK9ZFhoMwN"),
        tip: (0, _locale.t)("lang.key_G9PHuqoCi5CD")
      },
      propType: "string",
      setter: "ColorSetter",
      defaultValue: "#252a35"
    }, {
      name: "dropDownHoverColor",
      title: {
        label: (0, _locale.t)("lang.key_hLawBocw6Hwg"),
        tip: (0, _locale.t)("lang.key_O4AX7eTdCjse")
      },
      propType: "string",
      setter: "ColorSetter",
      defaultValue: "#1C2029"
    }, {
      name: "dropDownTextColor",
      title: {
        label: (0, _locale.t)("lang.key_NQh52Sb1kLoU"),
        tip: (0, _locale.t)("lang.key_8kRkvlae32Iz")
      },
      propType: "string",
      setter: "ColorSetter",
      defaultValue: "#B6B8B9"
    }, {
      name: "dropDownHoverTextColor",
      title: {
        label: (0, _locale.t)("lang.key_R6oHhEmaliJ7"),
        tip: (0, _locale.t)("lang.key_8SvJumjYFK6r")
      },
      propType: "string",
      setter: "ColorSetter",
      defaultValue: "#B6B8B9"
    }, {
      name: "dropDownTextSize",
      title: {
        label: (0, _locale.t)("lang.key_R6oHhEmaiegh"),
        tip: (0, _locale.t)("lang.key_8SvJumjYFgkl")
      },
      propType: "string",
      setter: "NumberSetter",
      defaultValue: "14"
    }]
  }],
  configure: {
    supports: {
      events: false,
      style: true,
      loop: false,
      condition: false
    }
  },
  snippets: _snippets["default"]
};