"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 dayjs_min = require("../../../../../../node_modules/.pnpm/dayjs@1.11.9/node_modules/dayjs/dayjs.min.js");
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.DATE,
  // 下拉展示
  isPanel: 0,
  // 默认值
  dataset: dayjs_min.default().valueOf(),
  // 默认值类型
  defaultType: interact.DefaultTypeEnum.STATIC,
  // 动态默认值偏移单位
  differUnit: [interact.DifferUnitEnum.DAY, interact.DifferUnitEnum.DAY],
  // 动态默认值偏移值
  differValue: [0, 0]
};
class Config extends publicConfig.PublicConfigClass {
  constructor() {
    super(...arguments);
    __publicField(this, "key", index.InputsDateConfig.key);
    __publicField(this, "attr", { ...designSetting.chartInitConfig, w: 260, h: 32, zIndex: -1 });
    __publicField(this, "chartConfig", cloneDeep.default(index.InputsDateConfig));
    __publicField(this, "interactActions", interact.interactActions);
    __publicField(this, "option", cloneDeep.default(option));
  }
}
exports.default = Config;
exports.option = option;
