react-querybuilder
Version:
React Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts
49 lines (48 loc) • 1.93 kB
text/typescript
import { ActionElement } from "./components/ActionElement.mjs";
import { DragHandle } from "./components/DragHandle.mjs";
import { InlineCombinator } from "./components/InlineCombinator.mjs";
import { MatchModeEditor } from "./components/MatchModeEditor.mjs";
import { NotToggle } from "./components/NotToggle.mjs";
import { Rule } from "./components/Rule.mjs";
import { RuleGroup, RuleGroupBodyComponents, RuleGroupHeaderComponents } from "./components/RuleGroup.mjs";
import { ShiftActions } from "./components/ShiftActions.mjs";
import { ValueEditor } from "./components/ValueEditor.mjs";
import { ValueSelector } from "./components/ValueSelector.mjs";
import type { TranslationsFull } from "./types/index.mjs";
/**
* Default configuration of translatable strings.
*
* @group Defaults
*/
export declare const defaultTranslations: TranslationsFull;
/**
* Default components used by {@link QueryBuilder}.
*
* @group Defaults
*/
export declare const defaultControlElements: {
actionElement: typeof ActionElement;
addGroupAction: typeof ActionElement;
addRuleAction: typeof ActionElement;
cloneGroupAction: typeof ActionElement;
cloneRuleAction: typeof ActionElement;
combinatorSelector: typeof ValueSelector;
dragHandle: typeof DragHandle;
fieldSelector: typeof ValueSelector;
inlineCombinator: typeof InlineCombinator;
lockGroupAction: typeof ActionElement;
lockRuleAction: typeof ActionElement;
matchModeEditor: typeof MatchModeEditor;
notToggle: typeof NotToggle;
operatorSelector: typeof ValueSelector;
removeGroupAction: typeof ActionElement;
removeRuleAction: typeof ActionElement;
rule: typeof Rule;
ruleGroup: typeof RuleGroup;
ruleGroupBodyElements: typeof RuleGroupBodyComponents;
ruleGroupHeaderElements: typeof RuleGroupHeaderComponents;
shiftActions: typeof ShiftActions;
valueEditor: typeof ValueEditor;
valueSelector: typeof ValueSelector;
valueSourceSelector: typeof ValueSelector;
};