UNPKG

amis

Version:

一种MIS页面生成工具

36 lines (35 loc) 887 B
import { OperatorType, Funcs, Fields, Type } from './types'; export interface BaseFieldConfig { operations: Array<OperatorType>; } export interface Config { valueTypes?: Array<'value' | 'field' | 'func' | 'formula'>; fields?: Fields; funcs?: Funcs; maxLevel?: number; types: { [propName: string]: Type; }; } export declare const OperationMap: { equal: string; not_equal: string; less: string; less_or_equal: string; greater: string; greater_or_equal: string; between: string; not_between: string; is_empty: string; is_not_empty: string; like: string; not_like: string; starts_with: string; ends_with: string; select_equals: string; select_not_equals: string; select_any_in: string; select_not_any_in: string; }; declare const defaultConfig: Config; export default defaultConfig;