Schema<F, O>
Defined in: packages/react-querybuilder/src/types/props.ts:583
Configuration options passed in the schema prop from
QueryBuilder to each subcomponent.
Extended by
Type Parameters
| Type Parameter |
|---|
F extends FullField |
O extends string |
Methods
createRule()
createRule():
RuleType
Defined in: packages/react-querybuilder/src/types/props.ts:590
Returns
createRuleGroup()
createRuleGroup(
ic?:boolean):RuleGroupTypeAny
Defined in: packages/react-querybuilder/src/types/props.ts:591
Parameters
| Parameter | Type |
|---|---|
ic? | boolean |
Returns
dispatchQuery()
dispatchQuery(
query:RuleGroupTypeAny):void
Defined in: packages/react-querybuilder/src/types/props.ts:592
Parameters
| Parameter | Type |
|---|---|
query | RuleGroupTypeAny |
Returns
void
getInputType()
getInputType(
field:string,operator:string,meta: {fieldData:F; }):InputType|null
Defined in: packages/react-querybuilder/src/types/props.ts:598
Parameters
| Parameter | Type |
|---|---|
field | string |
operator | string |
meta | { fieldData: F; } |
meta.fieldData | F |
Returns
InputType | null
getMatchModes()
getMatchModes(
field:string,misc: {fieldData:F; }):MatchModeOptions
Defined in: packages/react-querybuilder/src/types/props.ts:600
Parameters
| Parameter | Type |
|---|---|
field | string |
misc | { fieldData: F; } |
misc.fieldData | F |
Returns
getOperators()
getOperators(
field:string,meta: {fieldData:F; }):FullOperator<string>[] |OptionGroup<FullOperator<string>>[]
Defined in: packages/react-querybuilder/src/types/props.ts:594
Parameters
| Parameter | Type |
|---|---|
field | string |
meta | { fieldData: F; } |
meta.fieldData | F |
Returns
FullOperator<string>[] | OptionGroup<FullOperator<string>>[]
getQuery()
getQuery():
RuleGroupTypeAny
Defined in: packages/react-querybuilder/src/types/props.ts:593
Returns
getRuleClassname()
getRuleClassname(
rule:RuleType,misc: {fieldData:F; }):Classname
Defined in: packages/react-querybuilder/src/types/props.ts:605
Parameters
| Parameter | Type |
|---|---|
rule | RuleType |
misc | { fieldData: F; } |
misc.fieldData | F |
Returns
getRuleGroupClassname()
getRuleGroupClassname(
ruleGroup:RuleGroupTypeAny):Classname
Defined in: packages/react-querybuilder/src/types/props.ts:606
Parameters
| Parameter | Type |
|---|---|
ruleGroup | RuleGroupTypeAny |
Returns
getSubQueryBuilderProps()
getSubQueryBuilderProps(
field:GetOptionIdentifierType<F>,misc: {fieldData:F; }):QueryBuilderContextProps<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; },string> & {accessibleDescriptionGenerator?:AccessibleDescriptionGenerator;baseCombinator?:Record<string,unknown>;baseField?:Record<string,unknown>;baseOperator?:Record<string,unknown>;combinators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;context?:any;defaultQuery?:RuleGroupType<RuleType<string,string,any,string>,string>;disabled?:boolean|Path[];fields?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }> |BaseOptionMap<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;getDefaultField?:string| (fieldsData: {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }[] |OptionGroup<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>[]) =>string;getDefaultOperator?:string| (field:string,misc: {fieldData: {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }; }) =>string;idGenerator?: () =>string;independentCombinators?:boolean;maxLevels?:number;operators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;parseNumbers?:ParseNumbersPropConfig;query?:RuleGroupType<RuleType<string,string,any,string>,string>;validator?:QueryValidator;getDefaultValue?:any;getInputType?:InputType|null;getMatchModes?:boolean|MatchMode[] |FlexibleOption<MatchMode>[];getOperators?:FlexibleOptionListProp<FullOperator<string>> |null;getRuleClassname?:Classname;getRuleGroupClassname?:Classname;getSubQueryBuilderProps?:QueryBuilderContextProps<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; },string> & {accessibleDescriptionGenerator?:AccessibleDescriptionGenerator;baseCombinator?:Record<string,unknown>;baseField?:Record<string,unknown>;baseOperator?:Record<string,unknown>;combinators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;context?:any;defaultQuery?:RuleGroupType<RuleType<string,string,any,string>,string>;disabled?:boolean|Path[];fields?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }> |BaseOptionMap<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;getDefaultField?:string| (fieldsData:OptionGroup<{[key: ...]: ...;disabled?: ...;label: ...;name: ...;value: ...; }>[] | {[key:string]:unknown;disabled?: ... | ... | ...;label:string;name:string;value:string; }[]) =>string;getDefaultOperator?:string| (field:string,misc: {fieldData: {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }; }) =>string;idGenerator?: () =>string;independentCombinators?:boolean;maxLevels?:number;operators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;parseNumbers?:ParseNumbersPropConfig;query?:RuleGroupType<RuleType<string,string,any,string>,string>;validator?:QueryValidator;getDefaultValue?:any;getInputType?:InputType|null;getMatchModes?:boolean|MatchMode[] |FlexibleOption<MatchMode>[];getOperators?:FlexibleOptionListProp<FullOperator<string>> |null;getRuleClassname?:Classname;getRuleGroupClassname?:Classname;getSubQueryBuilderProps?: QueryBuilderContextProps<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; }, string> & { defaultQuery?: RuleGroupType<RuleType<string, string, any, string>, string> | undefined; ... 36 more ...; context?: any; };getValueEditorSeparator?:ReactNode;getValueEditorType?:ValueEditorType;getValues?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value?:string; }>;getValueSources?:ValueSources|ValueSourceFlexibleOptions;onAddGroup?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onAddRule?:boolean|RuleType<string,string,any,string>;onGroupGroup?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onGroupRule?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onLog?:void;onMoveGroup?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onMoveRule?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onQueryChange?:void;onRemove?:boolean; };getValueEditorSeparator?:ReactNode;getValueEditorType?:ValueEditorType;getValues?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value?:string; }>;getValueSources?:ValueSources|ValueSourceFlexibleOptions;onAddGroup?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onAddRule?:boolean|RuleType<string,string,any,string>;onGroupGroup?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onGroupRule?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onLog?:void;onMoveGroup?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onMoveRule?:boolean|RuleGroupType<RuleType<string,string,any,string>,string>;onQueryChange?:void;onRemove?:boolean; } |QueryBuilderContextProps<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; },string> & {accessibleDescriptionGenerator?:AccessibleDescriptionGenerator;baseCombinator?:Record<string,unknown>;baseField?:Record<string,unknown>;baseOperator?:Record<string,unknown>;combinators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;context?:any;defaultQuery?:RuleGroupTypeIC<RuleType<string,string,any,string>,string>;disabled?:boolean|Path[];fields?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }> |BaseOptionMap<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;getDefaultField?:string| (fieldsData: {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }[] |OptionGroup<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>[]) =>string;getDefaultOperator?:string| (field:string,misc: {fieldData: {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }; }) =>string;idGenerator?: () =>string;independentCombinators?:boolean;maxLevels?:number;operators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;parseNumbers?:ParseNumbersPropConfig;query?:RuleGroupTypeIC<RuleType<string,string,any,string>,string>;validator?:QueryValidator;getDefaultValue?:any;getInputType?:InputType|null;getMatchModes?:boolean|MatchMode[] |FlexibleOption<MatchMode>[];getOperators?:FlexibleOptionListProp<FullOperator<string>> |null;getRuleClassname?:Classname;getRuleGroupClassname?:Classname;getSubQueryBuilderProps?:QueryBuilderContextProps<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; },string> & {accessibleDescriptionGenerator?:AccessibleDescriptionGenerator;baseCombinator?:Record<string,unknown>;baseField?:Record<string,unknown>;baseOperator?:Record<string,unknown>;combinators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;context?:any;defaultQuery?:RuleGroupTypeIC<RuleType<string,string,any,string>,string>;disabled?:boolean|Path[];fields?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }> |BaseOptionMap<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;getDefaultField?:string| (fieldsData:OptionGroup<{[key: ...]: ...;disabled?: ...;label: ...;name: ...;value: ...; }>[] | {[key:string]:unknown;disabled?: ... | ... | ...;label:string;name:string;value:string; }[]) =>string;getDefaultOperator?:string| (field:string,misc: {fieldData: {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }; }) =>string;idGenerator?: () =>string;independentCombinators?:boolean;maxLevels?:number;operators?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>;parseNumbers?:ParseNumbersPropConfig;query?:RuleGroupTypeIC<RuleType<string,string,any,string>,string>;validator?:QueryValidator;getDefaultValue?:any;getInputType?:InputType|null;getMatchModes?:boolean|MatchMode[] |FlexibleOption<MatchMode>[];getOperators?:FlexibleOptionListProp<FullOperator<string>> |null;getRuleClassname?:Classname;getRuleGroupClassname?:Classname;getSubQueryBuilderProps?: QueryBuilderContextProps<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; }, string> & { defaultQuery?: RuleGroupTypeIC<RuleType<string, string, any, string>, string> | undefined; ... 36 more ...; context?: any; };getValueEditorSeparator?:ReactNode;getValueEditorType?:ValueEditorType;getValues?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value?:string; }>;getValueSources?:ValueSources|ValueSourceFlexibleOptions;onAddGroup?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onAddRule?:boolean|RuleType<string,string,any,string>;onGroupGroup?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onGroupRule?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onLog?:void;onMoveGroup?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onMoveRule?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onQueryChange?:void;onRemove?:boolean; };getValueEditorSeparator?:ReactNode;getValueEditorType?:ValueEditorType;getValues?:FlexibleOptionListProp<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value?:string; }>;getValueSources?:ValueSources|ValueSourceFlexibleOptions;onAddGroup?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onAddRule?:boolean|RuleType<string,string,any,string>;onGroupGroup?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onGroupRule?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onLog?:void;onMoveGroup?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onMoveRule?:boolean|RuleGroupTypeIC<RuleType<string,string,any,string>,string>;onQueryChange?:void;onRemove?:boolean; }
Defined in: packages/react-querybuilder/src/types/props.ts:601
Parameters
| Parameter | Type |
|---|---|
field | GetOptionIdentifierType<F> |
misc | { fieldData: F; } |
misc.fieldData | F |
Returns
QueryBuilderContextProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }, string> & { accessibleDescriptionGenerator?: AccessibleDescriptionGenerator; baseCombinator?: Record<string, unknown>; baseField?: Record<string, unknown>; baseOperator?: Record<string, unknown>; combinators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; context?: any; defaultQuery?: RuleGroupType<RuleType<string, string, any, string>, string>; disabled?: boolean | Path[]; fields?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }> | BaseOptionMap<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; getDefaultField?: string | (fieldsData: {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }[] | OptionGroup<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>[]) => string; getDefaultOperator?: string | (field: string, misc: { fieldData: {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }; }) => string; idGenerator?: () => string; independentCombinators?: boolean; maxLevels?: number; operators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; parseNumbers?: ParseNumbersPropConfig; query?: RuleGroupType<RuleType<string, string, any, string>, string>; validator?: QueryValidator; getDefaultValue?: any; getInputType?: InputType | null; getMatchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[]; getOperators?: FlexibleOptionListProp<FullOperator<string>> | null; getRuleClassname?: Classname; getRuleGroupClassname?: Classname; getSubQueryBuilderProps?: QueryBuilderContextProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }, string> & { accessibleDescriptionGenerator?: AccessibleDescriptionGenerator; baseCombinator?: Record<string, unknown>; baseField?: Record<string, unknown>; baseOperator?: Record<string, unknown>; combinators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; context?: any; defaultQuery?: RuleGroupType<RuleType<string, string, any, string>, string>; disabled?: boolean | Path[]; fields?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }> | BaseOptionMap<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; getDefaultField?: string | (fieldsData: OptionGroup<{[key: ...]: ...; disabled?: ...; label: ...; name: ...; value: ...; }>[] | {[key: string]: unknown; disabled?: ... | ... | ...; label: string; name: string; value: string; }[]) => string; getDefaultOperator?: string | (field: string, misc: { fieldData: {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }; }) => string; idGenerator?: () => string; independentCombinators?: boolean; maxLevels?: number; operators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; parseNumbers?: ParseNumbersPropConfig; query?: RuleGroupType<RuleType<string, string, any, string>, string>; validator?: QueryValidator; getDefaultValue?: any; getInputType?: InputType | null; getMatchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[]; getOperators?: FlexibleOptionListProp<FullOperator<string>> | null; getRuleClassname?: Classname; getRuleGroupClassname?: Classname; getSubQueryBuilderProps?: QueryBuilderContextProps<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; }, string> & { defaultQuery?: RuleGroupType<RuleType<string, string, any, string>, string> | undefined; ... 36 more ...; context?: any; }; getValueEditorSeparator?: ReactNode; getValueEditorType?: ValueEditorType; getValues?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; }>; getValueSources?: ValueSources | ValueSourceFlexibleOptions; onAddGroup?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onAddRule?: boolean | RuleType<string, string, any, string>; onGroupGroup?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onGroupRule?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onLog?: void; onMoveGroup?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onMoveRule?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onQueryChange?: void; onRemove?: boolean; }; getValueEditorSeparator?: ReactNode; getValueEditorType?: ValueEditorType; getValues?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; }>; getValueSources?: ValueSources | ValueSourceFlexibleOptions; onAddGroup?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onAddRule?: boolean | RuleType<string, string, any, string>; onGroupGroup?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onGroupRule?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onLog?: void; onMoveGroup?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onMoveRule?: boolean | RuleGroupType<RuleType<string, string, any, string>, string>; onQueryChange?: void; onRemove?: boolean; }
QueryBuilderContextProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }, string> & { accessibleDescriptionGenerator?: AccessibleDescriptionGenerator; baseCombinator?: Record<string, unknown>; baseField?: Record<string, unknown>; baseOperator?: Record<string, unknown>; combinators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; context?: any; defaultQuery?: RuleGroupTypeIC<RuleType<string, string, any, string>, string>; disabled?: boolean | Path[]; fields?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }> | BaseOptionMap<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; getDefaultField?: string | (fieldsData: {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }[] | OptionGroup<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>[]) => string; getDefaultOperator?: string | (field: string, misc: { fieldData: {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }; }) => string; idGenerator?: () => string; independentCombinators?: boolean; maxLevels?: number; operators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; parseNumbers?: ParseNumbersPropConfig; query?: RuleGroupTypeIC<RuleType<string, string, any, string>, string>; validator?: QueryValidator; getDefaultValue?: any; getInputType?: InputType | null; getMatchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[]; getOperators?: FlexibleOptionListProp<FullOperator<string>> | null; getRuleClassname?: Classname; getRuleGroupClassname?: Classname; getSubQueryBuilderProps?: QueryBuilderContextProps<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }, string> & { accessibleDescriptionGenerator?: AccessibleDescriptionGenerator; baseCombinator?: Record<string, unknown>; baseField?: Record<string, unknown>; baseOperator?: Record<string, unknown>; combinators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; context?: any; defaultQuery?: RuleGroupTypeIC<RuleType<string, string, any, string>, string>; disabled?: boolean | Path[]; fields?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }> | BaseOptionMap<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; getDefaultField?: string | (fieldsData: OptionGroup<{[key: ...]: ...; disabled?: ...; label: ...; name: ...; value: ...; }>[] | {[key: string]: unknown; disabled?: ... | ... | ...; label: string; name: string; value: string; }[]) => string; getDefaultOperator?: string | (field: string, misc: { fieldData: {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }; }) => string; idGenerator?: () => string; independentCombinators?: boolean; maxLevels?: number; operators?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>; parseNumbers?: ParseNumbersPropConfig; query?: RuleGroupTypeIC<RuleType<string, string, any, string>, string>; validator?: QueryValidator; getDefaultValue?: any; getInputType?: InputType | null; getMatchModes?: boolean | MatchMode[] | FlexibleOption<MatchMode>[]; getOperators?: FlexibleOptionListProp<FullOperator<string>> | null; getRuleClassname?: Classname; getRuleGroupClassname?: Classname; getSubQueryBuilderProps?: QueryBuilderContextProps<{ [x: string]: unknown; label: string; disabled?: boolean | undefined; name: string; value: string; }, string> & { defaultQuery?: RuleGroupTypeIC<RuleType<string, string, any, string>, string> | undefined; ... 36 more ...; context?: any; }; getValueEditorSeparator?: ReactNode; getValueEditorType?: ValueEditorType; getValues?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; }>; getValueSources?: ValueSources | ValueSourceFlexibleOptions; onAddGroup?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onAddRule?: boolean | RuleType<string, string, any, string>; onGroupGroup?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onGroupRule?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onLog?: void; onMoveGroup?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onMoveRule?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onQueryChange?: void; onRemove?: boolean; }; getValueEditorSeparator?: ReactNode; getValueEditorType?: ValueEditorType; getValues?: FlexibleOptionListProp<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; }>; getValueSources?: ValueSources | ValueSourceFlexibleOptions; onAddGroup?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onAddRule?: boolean | RuleType<string, string, any, string>; onGroupGroup?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onGroupRule?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onLog?: void; onMoveGroup?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onMoveRule?: boolean | RuleGroupTypeIC<RuleType<string, string, any, string>, string>; onQueryChange?: void; onRemove?: boolean; }
getValueEditorSeparator()
getValueEditorSeparator(
field:string,operator:string,meta: {fieldData:F; }):ReactNode
Defined in: packages/react-querybuilder/src/types/props.ts:596
Parameters
| Parameter | Type |
|---|---|
field | string |
operator | string |
meta | { fieldData: F; } |
meta.fieldData | F |
Returns
ReactNode
getValueEditorType()
getValueEditorType(
field:string,operator:string,meta: {fieldData:F; }):ValueEditorType
Defined in: packages/react-querybuilder/src/types/props.ts:595
Parameters
| Parameter | Type |
|---|---|
field | string |
operator | string |
meta | { fieldData: F; } |
meta.fieldData | F |
Returns
getValues()
getValues(
field:string,operator:string,meta: {fieldData:F; }):WithUnknownIndex<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value?:string; } & {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>[] |OptionGroup<WithUnknownIndex<{[key:string]:unknown;disabled?:boolean;label:string;name:string;value?:string; } & {[key:string]:unknown;disabled?:boolean;label:string;name:string;value:string; }>>[]
Defined in: packages/react-querybuilder/src/types/props.ts:599
Parameters
| Parameter | Type |
|---|---|
field | string |
operator | string |
meta | { fieldData: F; } |
meta.fieldData | F |
Returns
WithUnknownIndex<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; } & {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>[] | OptionGroup<WithUnknownIndex<{[key: string]: unknown; disabled?: boolean; label: string; name: string; value?: string; } & {[key: string]: unknown; disabled?: boolean; label: string; name: string; value: string; }>>[]
getValueSources()
getValueSources(
field:string,operator:string,meta: {fieldData:F; }):ValueSourceFullOptions
Defined in: packages/react-querybuilder/src/types/props.ts:597
Parameters
| Parameter | Type |
|---|---|
field | string |
operator | string |
meta | { fieldData: F; } |
meta.fieldData | F |
Returns
Properties
accessibleDescriptionGenerator
accessibleDescriptionGenerator:
AccessibleDescriptionGenerator
Defined in: packages/react-querybuilder/src/types/props.ts:607
addRuleToNewGroups
addRuleToNewGroups:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:617
autoSelectField
autoSelectField:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:614
autoSelectOperator
autoSelectOperator:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:615
autoSelectValue
autoSelectValue:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:616
classNames
classNames:
Classnames
Defined in: packages/react-querybuilder/src/types/props.ts:587
combinators
combinators:
FullCombinator[] |OptionGroup<FullCombinator>[]
Defined in: packages/react-querybuilder/src/types/props.ts:588
controls
controls:
Controls<F,O>
Defined in: packages/react-querybuilder/src/types/props.ts:589
disabledPaths
disabledPaths:
Path[]
Defined in: packages/react-querybuilder/src/types/props.ts:623
enableDragAndDrop
enableDragAndDrop:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:618
fieldMap
fieldMap:
Partial<Record<GetOptionIdentifierType<F>,F>>
Defined in: packages/react-querybuilder/src/types/props.ts:586
fields
fields:
FullOptionList<F>
Defined in: packages/react-querybuilder/src/types/props.ts:585
independentCombinators
independentCombinators:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:620
listsAsArrays
listsAsArrays:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:621
maxLevels
maxLevels:
number
Defined in: packages/react-querybuilder/src/types/props.ts:625
parseNumbers
parseNumbers:
ParseNumbersPropConfig
Defined in: packages/react-querybuilder/src/types/props.ts:622
qbId
qbId:
string
Defined in: packages/react-querybuilder/src/types/props.ts:584
showCloneButtons
showCloneButtons:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:611
showCombinatorsBetweenRules
showCombinatorsBetweenRules:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:608
showLockButtons
showLockButtons:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:612
showMuteButtons
showMuteButtons:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:613
showNotToggle
showNotToggle:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:609
showShiftActions
showShiftActions:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:610
suppressStandardClassnames
suppressStandardClassnames:
boolean
Defined in: packages/react-querybuilder/src/types/props.ts:624
validationMap
validationMap:
ValidationMap
Defined in: packages/react-querybuilder/src/types/props.ts:619
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.