"use strict";
const ops = {
  base: [
    { label: "\u7B49\u4E8E\uFF08\u7CBE\u786E\uFF09", value: "equal" },
    { label: "\u4E0D\u7B49\u4E8E", value: "noEqual" },
    { label: "\u662F\u7A7A\u7684", value: "isEmpty" },
    { label: "\u4E0D\u662F\u7A7A\u7684", value: "isNotEmpty" },
    { label: "\u662F null", value: "isNull" },
    { label: "\u4E0D\u662F null", value: "isNotNull" },
    { label: `\u662F null \u6216\u8005 ''`, value: "isNullOrEmpty" },
    { label: `\u5728 ... \u4E2D`, value: "in" },
    { label: `\u4E0D\u5728 ... \u4E2D`, value: "notIn" }
  ],
  text: [
    { label: "\u6A21\u7CCA\u5305\u542B", value: "like" },
    { label: "\u6A21\u7CCA\u4E0D\u5305\u542B", value: "notLike" },
    { label: "\u5DE6\u6A21\u7CCA", value: "likeLeft" },
    { label: "\u53F3\u6A21\u7CCA", value: "likeRight" }
  ],
  compare: [
    { label: "\u5C0F\u4E8E", value: "lessThan" },
    { label: "\u5C0F\u4E8E\u7B49\u4E8E", value: "lessThanOrEqual" },
    { label: "\u5927\u4E8E", value: "greaterThan" },
    { label: "\u5927\u4E8E\u7B49\u4E8E", value: "greaterThanOrEqual" },
    { label: "\u4ECB\u4E8E", value: "between" },
    { label: "\u4E0D\u4ECB\u4E8E", value: "notBetween" }
  ]
};
const typeMapOperator = {
  string: [...ops.base, ...ops.text],
  text: [...ops.base, ...ops.text],
  integer: [...ops.base, ...ops.compare],
  float: [...ops.base, ...ops.compare],
  datetime: [...ops.base, ...ops.compare],
  date: [...ops.base, ...ops.compare],
  time: [...ops.base, ...ops.compare]
};

export { ops, typeMapOperator };
//# sourceMappingURL=config.mjs.map
