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;
};
import dayjs from "../../../../../../node_modules/.pnpm/dayjs@1.11.9/node_modules/dayjs/dayjs.min.mjs";
import cloneDeep from "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/cloneDeep.mjs";
import "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.mjs";
import "../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.mjs";
import { PublicConfigClass } from "../../../../public/publicConfig.mjs";
import { chartInitConfig } from "../../../../../settings/designSetting.mjs";
import { COMPONENT_INTERACT_EVENT_KET } from "../../../../../enums/eventEnum.mjs";
import { interactActions, ComponentInteractEventEnum, DefaultTypeEnum, DifferUnitEnum } from "./interact.mjs";
import { InputsDateConfig } from "./index.mjs";
const option = {
  // 时间组件展示类型，必须和 interactActions 中定义的数据一致
  [COMPONENT_INTERACT_EVENT_KET]: ComponentInteractEventEnum.DATE,
  // 下拉展示
  isPanel: 0,
  // 默认值
  dataset: dayjs().valueOf(),
  // 默认值类型
  defaultType: DefaultTypeEnum.STATIC,
  // 动态默认值偏移单位
  differUnit: [DifferUnitEnum.DAY, DifferUnitEnum.DAY],
  // 动态默认值偏移值
  differValue: [0, 0]
};
class Config extends PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", InputsDateConfig.key);
    __publicField(this, "attr", { ...chartInitConfig, w: 260, h: 32, zIndex: -1 });
    __publicField(this, "chartConfig", cloneDeep(InputsDateConfig));
    __publicField(this, "interactActions", interactActions);
    __publicField(this, "option", cloneDeep(option));
  }
}
export {
  Config as default,
  option
};
