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 { ad as ChatCategoryEnum, ae as ChatCategoryEnumName, Q as PackagesCategoryEnum, aa as ChartFrameEnum, ab as PublicConfigClass, ac as chartInitConfig, I as cloneDeep, af as interactActions, ag as COMPONENT_INTERACT_EVENT_KET, ah as ComponentInteractEventEnum, ai as dayjs, aj as DefaultTypeEnum, ak as DifferUnitEnum } from "./index-67bc0910.js";
import "vue";
const InputsDateConfig = {
  key: "InputsDate",
  chartKey: "VInputsDate",
  conKey: "VCInputsDate",
  title: "时间选择器",
  category: ChatCategoryEnum.INPUTS,
  categoryName: ChatCategoryEnumName.INPUTS,
  package: PackagesCategoryEnum.INFORMATIONS,
  chartFrame: ChartFrameEnum.STATIC,
  image: "inputs_date.png"
};
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
};
