export var FastTypeKeys;

(function (FastTypeKeys) {
  FastTypeKeys["unlimited"] = "unlimited";
  FastTypeKeys["yesterday"] = "yesterday";
  FastTypeKeys["last24Hours"] = "last24Hours";
  FastTypeKeys["lastWeek"] = "lastWeek";
  FastTypeKeys["lastMonth"] = "lastMonth";
  FastTypeKeys["lastQuarter"] = "lastQuarter";
  FastTypeKeys["lastYear"] = "lastYear";
  FastTypeKeys["thisWeek"] = "thisWeek";
  FastTypeKeys["thisMonth"] = "thisMonth";
  FastTypeKeys["thisYear"] = "thisYear";
  FastTypeKeys["thisQuarter"] = "thisQuarter";
  FastTypeKeys["today"] = "today";
  FastTypeKeys["tomorrow"] = "tomorrow";
  FastTypeKeys["future24Hours"] = "future24Hours";
  FastTypeKeys["nextWeek"] = "nextWeek";
  FastTypeKeys["customer"] = "customer";
  FastTypeKeys["untilNow"] = "untilNow";
})(FastTypeKeys || (FastTypeKeys = {}));

export var FilterTypeKeys;

(function (FilterTypeKeys) {
  FilterTypeKeys["contain"] = "contain";
  FilterTypeKeys["nocontain"] = "nocontain";
  FilterTypeKeys["equal"] = "eq";
  FilterTypeKeys["empty"] = "is";
  FilterTypeKeys["unempty"] = "notis";
  FilterTypeKeys["startwith"] = "startwith";
  FilterTypeKeys["endwith"] = "endwith";
  FilterTypeKeys["eitherof"] = "in";
  FilterTypeKeys["neitherof"] = "notin";
})(FilterTypeKeys || (FilterTypeKeys = {}));

export var DateUnitKeys;

(function (DateUnitKeys) {
  DateUnitKeys["years"] = "years";
  DateUnitKeys["month"] = "month";
  DateUnitKeys["quarter"] = "quarter";
  DateUnitKeys["day"] = "day";
  DateUnitKeys["week"] = "week";
  DateUnitKeys["hour"] = "hour";
  DateUnitKeys["minute"] = "minute";
  DateUnitKeys["second"] = "second";
})(DateUnitKeys || (DateUnitKeys = {}));

export var DateUntilKeys;

(function (DateUntilKeys) {
  DateUntilKeys["yearEnd"] = "yearEnd";
  DateUntilKeys["yearStart"] = "yearStart";
  DateUntilKeys["quarterEnd"] = "quarterEnd";
  DateUntilKeys["quarterStart"] = "quarterStart";
  DateUntilKeys["monthEnd"] = "monthEnd";
  DateUntilKeys["monthStart"] = "monthStart";
  DateUntilKeys["yeasterday"] = "yesterday";
  DateUntilKeys["weekend"] = "weekend";
  DateUntilKeys["weekStart"] = "weekStart";
  DateUntilKeys["today"] = "today";
  DateUntilKeys["now"] = "now";
  DateUntilKeys["tomorrow"] = "tomorrow";
  DateUntilKeys["onHour"] = "onHour";
  DateUntilKeys["onMinute"] = "onMinute";
  DateUntilKeys["onSecond"] = "onSecond";
})(DateUntilKeys || (DateUntilKeys = {}));

export var DynamincType;

(function (DynamincType) {
  DynamincType["after"] = "after";
  DynamincType["before"] = "before";
})(DynamincType || (DynamincType = {}));

export var TextFilterTypeSet;

(function (TextFilterTypeSet) {
  TextFilterTypeSet["standard"] = "standard";
  TextFilterTypeSet["filter"] = "filter";
})(TextFilterTypeSet || (TextFilterTypeSet = {})); // 展示自然勾选


export var showNature = function showNature(unit) {
  return [DateUnitKeys.years, DateUnitKeys.quarter, DateUnitKeys.week, DateUnitKeys.month].includes(unit);
};
export var KEY_SLOT = '-';
export var prefixCls = 'dmc-date-filter';
export var NUMBER_REG = /^([1-9]\d?)$/;

