"use strict";
var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
  return value;
};
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const cloneDeep = require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.js");
require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.js");
require("../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.js");
const publicConfig = require("../../../../public/publicConfig.js");
const designSetting = require("../../../../../settings/designSetting.js");
const eventEnum = require("../../../../../enums/eventEnum.js");
const interact = require("./interact.js");
const index = require("./index.js");
const option = {
  // 时间组件展示类型，必须和 interactActions 中定义的数据一致
  [eventEnum.COMPONENT_INTERACT_EVENT_KET]: interact.ComponentInteractEventEnum.DATA,
  // 默认值
  selectValue: "1",
  // 暴露配置内容给用户
  dataset: [
    {
      label: "选项1",
      value: "1"
    },
    {
      label: "选项2",
      value: "2"
    },
    {
      label: "选项3",
      value: "3"
    }
  ]
};
class Config extends publicConfig.PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", index.InputsSelectConfig.key);
    __publicField(this, "attr", { ...designSetting.chartInitConfig, w: 260, h: 32, zIndex: -1 });
    __publicField(this, "chartConfig", cloneDeep.default(index.InputsSelectConfig));
    __publicField(this, "interactActions", interact.interactActions);
    __publicField(this, "option", cloneDeep.default(option));
  }
}
exports.default = Config;
exports.option = option;
