Skip to main content

Module: @react-querybuilder/native

Interfaces

Type Aliases

ActionNativeProps

ActionNativeProps: ActionProps & WithSchemaNative

Defined in

native/src/types.ts:74


InlineCombinatorNativeProps

InlineCombinatorNativeProps: InlineCombinatorProps & WithSchemaNative

Defined in

native/src/types.ts:72


NotToggleNativeProps

NotToggleNativeProps: NotToggleProps & WithSchemaNative

Defined in

native/src/types.ts:70


QueryBuilderNativeProps

QueryBuilderNativeProps<RG, F, O, C>: QueryBuilderProps<RG, F, O, C> & WithOptionalStyles

Type parameters

NameType
RGextends RuleGroupTypeAny
Fextends FullField
Oextends FullOperator
Cextends FullCombinator

Defined in

native/src/types.ts:86


QueryBuilderNativeStyleSheets

QueryBuilderNativeStyleSheets: WrapEachPropertyInStyleProp<QueryBuilderNativeStyles>

Defined in

native/src/types.ts:64


QueryBuilderNativeStyles

QueryBuilderNativeStyles: Object

Type declaration

NameType
combinatorOptionTextStyle
combinatorSelectorTextStyle
dragHandleViewStyle
fieldOptionTextStyle
fieldSelectorTextStyle
inlineCombinatorTextStyle
notToggleViewStyle
notToggleLabelTextStyle
notToggleSwitchViewStyle
operatorOptionTextStyle
operatorSelectorTextStyle
ruleViewStyle
ruleGroupViewStyle
ruleGroupBodyViewStyle
ruleGroupHeaderViewStyle
shiftActionsViewStyle
valueTextStyle
valueEditorOptionTextStyle
valueEditorSelectorTextStyle
valueEditorSwitchViewStyle
valueListViewStyle
valueSourceOptionTextStyle
valueSourceSelectorTextStyle

Defined in

native/src/types.ts:38


RuleGroupNativeProps

RuleGroupNativeProps: RuleGroupProps & WithSchemaNative

Defined in

native/src/types.ts:66


RuleNativeProps

RuleNativeProps: RuleProps & WithSchemaNative

Defined in

native/src/types.ts:68


ShiftActionsNativeProps

ShiftActionsNativeProps: ShiftActionsProps & WithSchemaNative

Defined in

native/src/types.ts:76


ValueEditorNativeProps

ValueEditorNativeProps: ValueEditorProps & WithSchemaNative & { selectorComponent?: ComponentType<ValueSelectorNativeProps> }

Defined in

native/src/types.ts:81


ValueSelectorNativeProps

ValueSelectorNativeProps<OptType>: ValueSelectorProps<OptType> & WithSchemaNative

Type parameters

NameType
OptTypeextends FullOption = FullOption

Defined in

native/src/types.ts:78


WrapEachPropertyInStyleProp

WrapEachPropertyInStyleProp<K>: { [P in keyof K]?: StyleProp<Required<K>[P]> }

Type parameters

Name
K

Defined in

native/src/types.ts:20

Variables

defaultNativeControlElements

Const defaultNativeControlElements: Object

Type declaration

NameType
actionElement(__namedParameters: ActionNativeProps) => Element
actionElement.displayNamestring
addGroupAction(__namedParameters: ActionNativeProps) => Element
addGroupAction.displayNamestring
addRuleAction(__namedParameters: ActionNativeProps) => Element
addRuleAction.displayNamestring
cloneGroupAction(__namedParameters: ActionNativeProps) => Element
cloneGroupAction.displayNamestring
cloneRuleAction(__namedParameters: ActionNativeProps) => Element
cloneRuleAction.displayNamestring
combinatorSelector<Opt>(__namedParameters: ValueSelectorNativeProps<Opt>) => Element
combinatorSelector.displayNamestring
dragHandleForwardRefExoticComponent<Omit<DragHandleProps & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement>>
fieldSelector<Opt>(__namedParameters: ValueSelectorNativeProps<Opt>) => Element
fieldSelector.displayNamestring
inlineCombinator(__namedParameters: InlineCombinatorNativeProps) => Element
inlineCombinator.displayNamestring
lockGroupAction(__namedParameters: ActionNativeProps) => Element
lockGroupAction.displayNamestring
lockRuleAction(__namedParameters: ActionNativeProps) => Element
lockRuleAction.displayNamestring
notToggle(__namedParameters: NotToggleNativeProps) => Element
notToggle.displayNamestring
operatorSelector<Opt>(__namedParameters: ValueSelectorNativeProps<Opt>) => Element
operatorSelector.displayNamestring
removeGroupAction(__namedParameters: ActionNativeProps) => Element
removeGroupAction.displayNamestring
removeRuleAction(__namedParameters: ActionNativeProps) => Element
removeRuleAction.displayNamestring
rule(props: RuleNativeProps) => Element
rule.displayNamestring
ruleGroup(props: RuleGroupNativeProps) => Element
ruleGroup.displayNamestring
shiftActions(__namedParameters: ShiftActionsNativeProps) => Element
shiftActions.displayNamestring
valueEditor(__namedParameters: ValueEditorNativeProps) => null | Element
valueEditor.displayNamestring
valueSelector<Opt>(__namedParameters: ValueSelectorNativeProps<Opt>) => Element
valueSelector.displayNamestring
valueSourceSelector<Opt>(__namedParameters: ValueSelectorNativeProps<Opt>) => Element
valueSourceSelector.displayNamestring

Defined in

native/src/components/defaults.ts:14


defaultNativeSelectStyles

Const defaultNativeSelectStyles: Object

Type declaration

NameType
optionTextStyle
selectorTextStyle

Defined in

native/src/styles.ts:5


defaultNativeStyles

Const defaultNativeStyles: Object

Type declaration

NameType
combinatorOptionTextStyle
combinatorSelectorTextStyle
dragHandle
fieldOptionTextStyle
fieldSelectorTextStyle
inlineCombinator
notToggle{ flexDirection: "row" = 'row' }
notToggle.flexDirection"row"
notToggleLabel
notToggleSwitch
operatorOptionTextStyle
operatorSelectorTextStyle
rule{ flexDirection: "row" = 'row'; paddingBottom: number = 10 }
rule.flexDirection"row"
rule.paddingBottomnumber
ruleGroup{ backgroundColor: string = 'rgba(0, 75, 183, 0.2)'; borderColor: string = '#8081a2'; borderRadius: number = 4; borderWidth: number = 1; marginBottom: number = 10 }
ruleGroup.backgroundColorstring
ruleGroup.borderColorstring
ruleGroup.borderRadiusnumber
ruleGroup.borderWidthnumber
ruleGroup.marginBottomnumber
ruleGroupBody{ paddingLeft: number = 10; paddingRight: number = 10; paddingTop: number = 10 }
ruleGroupBody.paddingLeftnumber
ruleGroupBody.paddingRightnumber
ruleGroupBody.paddingTopnumber
ruleGroupHeader{ flexDirection: "row" = 'row'; paddingLeft: number = 10; paddingRight: number = 10; paddingTop: number = 10 }
ruleGroupHeader.flexDirection"row"
ruleGroupHeader.paddingLeftnumber
ruleGroupHeader.paddingRightnumber
ruleGroupHeader.paddingTopnumber
shiftActions{ flexDirection: "column" = 'column' }
shiftActions.flexDirection"column"
value{ borderWidth: number = 1; height: number = 32; width: number = 150 }
value.borderWidthnumber
value.heightnumber
value.widthnumber
valueEditorOptionTextStyle
valueEditorSelectorTextStyle
valueEditorSwitch
valueList{ flexDirection: "row" = 'row' }
valueList.flexDirection"row"
valueSourceOptionTextStyle
valueSourceSelectorTextStyle

Defined in

native/src/styles.ts:48


defaultNativeWebControlElements

Const defaultNativeWebControlElements: Object

Type declaration

NameType
actionElement(__namedParameters: ActionNativeProps) => Element
actionElement.displayNamestring
addGroupAction(__namedParameters: ActionNativeProps) => Element
addGroupAction.displayNamestring
addRuleAction(__namedParameters: ActionNativeProps) => Element
addRuleAction.displayNamestring
cloneGroupAction(__namedParameters: ActionNativeProps) => Element
cloneGroupAction.displayNamestring
cloneRuleAction(__namedParameters: ActionNativeProps) => Element
cloneRuleAction.displayNamestring
combinatorSelector<OptType>(props: ValueSelectorNativeProps<OptType>) => Element
combinatorSelector.displayNamestring
dragHandleForwardRefExoticComponent<Omit<DragHandleProps & RefAttributes<HTMLElement>, "ref"> & RefAttributes<HTMLElement>>
fieldSelector<OptType>(props: ValueSelectorNativeProps<OptType>) => Element
fieldSelector.displayNamestring
inlineCombinator(__namedParameters: InlineCombinatorNativeProps) => Element
inlineCombinator.displayNamestring
lockGroupAction(__namedParameters: ActionNativeProps) => Element
lockGroupAction.displayNamestring
lockRuleAction(__namedParameters: ActionNativeProps) => Element
lockRuleAction.displayNamestring
notToggle(__namedParameters: NotToggleNativeProps) => Element
notToggle.displayNamestring
operatorSelector<OptType>(props: ValueSelectorNativeProps<OptType>) => Element
operatorSelector.displayNamestring
removeGroupAction(__namedParameters: ActionNativeProps) => Element
removeGroupAction.displayNamestring
removeRuleAction(__namedParameters: ActionNativeProps) => Element
removeRuleAction.displayNamestring
rule(props: RuleNativeProps) => Element
rule.displayNamestring
ruleGroup(props: RuleGroupNativeProps) => Element
ruleGroup.displayNamestring
shiftActions(__namedParameters: ShiftActionsNativeProps) => Element
shiftActions.displayNamestring
valueEditor(props: ValueEditorNativeProps) => Element
valueSelector<Opt>(__namedParameters: ValueSelectorNativeProps<Opt>) => Element
valueSelector.displayNamestring
valueSourceSelector<OptType>(props: ValueSelectorNativeProps<OptType>) => Element
valueSourceSelector.displayNamestring

Defined in

native/src/components/defaults.ts:39

Functions

NativeActionElement

NativeActionElement(«destructured»): Element

Parameters

NameType
«destructured»ActionNativeProps

Returns

Element

Defined in

native/src/components/NativeActionElement.tsx:5


NativeInlineCombinator

NativeInlineCombinator(«destructured»): Element

Parameters

NameType
«destructured»InlineCombinatorNativeProps

Returns

Element

Defined in

native/src/components/NativeInlineCombinator.tsx:8


NativeNotToggle

NativeNotToggle(«destructured»): Element

Parameters

NameType
«destructured»NotToggleNativeProps

Returns

Element

Defined in

native/src/components/NativeNotToggle.tsx:7


NativeShiftActions

NativeShiftActions(«destructured»): Element

Parameters

NameType
«destructured»ShiftActionsNativeProps

Returns

Element

Defined in

native/src/components/NativeShiftActions.tsx:6


NativeValueEditor

NativeValueEditor(«destructured»): null | Element

Parameters

NameType
«destructured»ValueEditorNativeProps

Returns

null | Element

Defined in

native/src/components/NativeValueEditor.tsx:10


NativeValueEditorWeb

NativeValueEditorWeb(props): Element

Parameters

NameType
propsValueEditorNativeProps

Returns

Element

Defined in

native/src/components/NativeValueEditorWeb.tsx:6


NativeValueSelector

NativeValueSelector<Opt>(«destructured»): Element

Type parameters

NameType
Optextends FullOption<string> = FullOption<string>

Parameters

NameType
«destructured»ValueSelectorNativeProps<Opt>

Returns

Element

Defined in

native/src/components/NativeValueSelector.tsx:9


NativeValueSelectorWeb

NativeValueSelectorWeb<OptType>(props): Element

Type parameters

NameType
OptTypeextends FullOption<string> = FullOption<string>

Parameters

NameType
propsValueSelectorNativeProps<OptType>

Returns

Element

Defined in

native/src/components/NativeValueSelectorWeb.tsx:6


QueryBuilderNative

QueryBuilderNative<RG, F, O, C>(props): Element

Type parameters

NameType
RGextends RuleGroupTypeAny
Fextends FullField<string, string, string, Option<string>, Option<string>>
Oextends FullOperator<string>
Cextends FullCombinator<string>

Parameters

NameType
propsQueryBuilderNativeProps<RG, F, O, C>

Returns

Element

Defined in

native/src/components/QueryBuilderNative.tsx:65


RuleGroupNative

RuleGroupNative(props): Element

Parameters

NameType
propsRuleGroupNativeProps

Returns

Element

Defined in

native/src/components/RuleGroupNative.tsx:14


RuleNative

RuleNative(props): Element

Parameters

NameType
propsRuleNativeProps

Returns

Element

Defined in

native/src/components/RuleNative.tsx:9