"use strict";

Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.operators = exports.categories = void 0;

const types_1 = require("./types");

exports.categories = [ {
    value: types_1.FilterOperatorCategory.ALL,
    label: "全部"
}, {
    value: types_1.FilterOperatorCategory.TEXT,
    label: "文本"
}, {
    value: types_1.FilterOperatorCategory.NUMBER,
    label: "数值"
}, {
    value: types_1.FilterOperatorCategory.COLOR,
    label: "颜色"
}, {
    value: types_1.FilterOperatorCategory.CHECKBOX,
    label: "复选框"
}, {
    value: types_1.FilterOperatorCategory.RADIO,
    label: "单选框"
} ], exports.operators = [ {
    value: "equals",
    label: "等于",
    category: types_1.FilterOperatorCategory.ALL
}, {
    value: "notEquals",
    label: "不等于",
    category: types_1.FilterOperatorCategory.ALL
}, {
    value: "equals",
    label: "等于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "notEquals",
    label: "不等于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "greaterThan",
    label: "大于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "lessThan",
    label: "小于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "greaterThanOrEqual",
    label: "大于等于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "lessThanOrEqual",
    label: "小于等于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "between",
    label: "介于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "notBetween",
    label: "不介于",
    category: types_1.FilterOperatorCategory.NUMBER
}, {
    value: "equals",
    label: "等于",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "notEquals",
    label: "不等于",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "contains",
    label: "包含",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "notContains",
    label: "不包含",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "startsWith",
    label: "开头是",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "notStartsWith",
    label: "开头不是",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "endsWith",
    label: "结尾是",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "notEndsWith",
    label: "结尾不是",
    category: types_1.FilterOperatorCategory.TEXT
}, {
    value: "equals",
    label: "等于",
    category: types_1.FilterOperatorCategory.COLOR
}, {
    value: "notEquals",
    label: "不等于",
    category: types_1.FilterOperatorCategory.COLOR
}, {
    value: "isChecked",
    label: "已选中",
    category: types_1.FilterOperatorCategory.CHECKBOX
}, {
    value: "isUnchecked",
    label: "未选中",
    category: types_1.FilterOperatorCategory.CHECKBOX
}, {
    value: "isChecked",
    label: "已选中",
    category: types_1.FilterOperatorCategory.RADIO
}, {
    value: "isUnchecked",
    label: "未选中",
    category: types_1.FilterOperatorCategory.RADIO
} ];
//# sourceMappingURL=constants.js.map