"use client";
var l = /* @__PURE__ */ ((e) => (e.AND = "AND", e.OR = "OR", e))(l || {});
const a = (e) => [
  { value: "like", label: e.stringOperators.like },
  { value: "n_like", label: e.stringOperators.nLike },
  { value: "starts_with", label: e.stringOperators.startsWith },
  { value: "ends_with", label: e.stringOperators.endsWith },
  { value: "eq", label: e.stringOperators.eq },
  { value: "ne", label: e.stringOperators.ne },
  { value: "eq_null", label: e.stringOperators.eqNull },
  { value: "n_eq_null", label: e.stringOperators.nEqNull }
], r = (e) => [
  { value: "eq", label: e.numberOperators.eq },
  { value: "ne", label: e.numberOperators.ne },
  { value: "lt", label: e.numberOperators.lt },
  { value: "le", label: e.numberOperators.le },
  { value: "gt", label: e.numberOperators.gt },
  { value: "ge", label: e.numberOperators.ge },
  { value: "eq_null", label: e.numberOperators.eqNull },
  { value: "n_eq_null", label: e.numberOperators.nEqNull }
], t = (e) => [
  { value: "eq", label: e.booleanOperators.eq },
  { value: "ne", label: e.booleanOperators.ne },
  { value: "checked", label: e.booleanOperators.checked },
  { value: "unchecked", label: e.booleanOperators.unchecked },
  { value: "eq_null", label: e.numberOperators.eqNull },
  { value: "n_eq_null", label: e.numberOperators.nEqNull }
], s = (e) => [
  { value: "eq", label: e.dateOperators.is },
  { value: "date_before", label: e.dateOperators.isBefore },
  { value: "date_after", label: e.dateOperators.isAfter },
  { value: "eq_null", label: e.dateOperators.eqNull },
  { value: "n_eq_null", label: e.dateOperators.nEqNull }
], u = (e) => [
  { value: "date_time_before", label: e.dateTimeOperators.isBefore },
  { value: "date_time_after", label: e.dateTimeOperators.isAfter },
  { value: "eq_null", label: e.dateTimeOperators.eqNull },
  { value: "n_eq_null", label: e.dateTimeOperators.nEqNull }
], o = (e) => [
  { value: "array_overlap", label: e.listOperators.is },
  { value: "n_array_overlap", label: e.listOperators.isNot },
  { value: "eq_null", label: e.listOperators.eqNull },
  { value: "n_eq_null", label: e.listOperators.nEqNull }
], b = (e) => [
  { value: "array_overlap", label: e.listOperators.contains },
  { value: "n_array_overlap", label: e.listOperators.doesNotContain },
  { value: "eq_null", label: e.listOperators.eqNull },
  { value: "n_eq_null", label: e.listOperators.nEqNull }
], n = "border-d-destructive border rounded-md";
export {
  l as ELogicalFilterOperator,
  n as errorSelectClass,
  t as getBooleanFilterOptions,
  s as getDateFilterOptions,
  u as getDateTimeFilterOptions,
  b as getListMultiSelectFilterOptions,
  o as getListSingleSelectFilterOptions,
  r as getNumberFilterOptions,
  a as getStringFilterOptions
};
