@elliemae/ds-query-builder 3.0.0-next.1 → 3.0.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/DSQueryBuilder.js +118 -0
- package/dist/cjs/DSQueryBuilder.js.map +7 -0
- package/dist/cjs/components/AndOrController/AndOrController.js +208 -0
- package/dist/cjs/components/AndOrController/AndOrController.js.map +7 -0
- package/dist/cjs/components/ConditionController/ConditionController.js +116 -0
- package/dist/cjs/components/ConditionController/ConditionController.js.map +7 -0
- package/dist/cjs/components/DisplayOutput/DisplayOutput.js +92 -0
- package/dist/cjs/components/DisplayOutput/DisplayOutput.js.map +7 -0
- package/dist/cjs/components/DragContainerController/DragContainerController.js +65 -0
- package/dist/cjs/components/DragContainerController/DragContainerController.js.map +7 -0
- package/dist/cjs/components/DragControllerRow/DragControllerRow.js +83 -0
- package/dist/cjs/components/DragControllerRow/DragControllerRow.js.map +7 -0
- package/dist/cjs/components/FieldControllerRow/FieldControllerRow.js +55 -0
- package/dist/cjs/components/FieldControllerRow/FieldControllerRow.js.map +7 -0
- package/dist/cjs/components/Nestable/Nestable.js +264 -0
- package/dist/cjs/components/Nestable/Nestable.js.map +7 -0
- package/dist/cjs/components/Nestable/NestableItem.js +127 -0
- package/dist/cjs/components/Nestable/NestableItem.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/events.js +153 -0
- package/dist/cjs/components/Nestable/actions/events.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/getItemOptions.js +49 -0
- package/dist/cjs/components/Nestable/actions/getItemOptions.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/getPaths.js +119 -0
- package/dist/cjs/components/Nestable/actions/getPaths.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/index.js +42 -0
- package/dist/cjs/components/Nestable/actions/index.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/moveItem.js +69 -0
- package/dist/cjs/components/Nestable/actions/moveItem.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/paths.js +119 -0
- package/dist/cjs/components/Nestable/actions/paths.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/tryDecreaseDepth.js +51 -0
- package/dist/cjs/components/Nestable/actions/tryDecreaseDepth.js.map +7 -0
- package/dist/cjs/components/Nestable/actions/tryIncreaseDepth.js +51 -0
- package/dist/cjs/components/Nestable/actions/tryIncreaseDepth.js.map +7 -0
- package/dist/cjs/components/Nestable/index.js +36 -0
- package/dist/cjs/components/Nestable/index.js.map +7 -0
- package/dist/cjs/components/QueryBuilderContext/QueryBuilderContext.js +36 -0
- package/dist/cjs/components/QueryBuilderContext/QueryBuilderContext.js.map +7 -0
- package/dist/cjs/components/QueryBuilderImpl.js +253 -0
- package/dist/cjs/components/QueryBuilderImpl.js.map +7 -0
- package/dist/cjs/components/QueryBuilderItem/QueryBuilderItem.js +108 -0
- package/dist/cjs/components/QueryBuilderItem/QueryBuilderItem.js.map +7 -0
- package/dist/cjs/components/QueryBuilderRow/QueryBuilderRow.js +235 -0
- package/dist/cjs/components/QueryBuilderRow/QueryBuilderRow.js.map +7 -0
- package/dist/cjs/components/ToolBarAnimation/ToolBarAnimation.js +58 -0
- package/dist/cjs/components/ToolBarAnimation/ToolBarAnimation.js.map +7 -0
- package/dist/cjs/components/format/format.js +59 -0
- package/dist/cjs/components/format/format.js.map +7 -0
- package/dist/cjs/components/format/sqlFormat.js +94 -0
- package/dist/cjs/components/format/sqlFormat.js.map +7 -0
- package/dist/cjs/components/format/sqlSafeFormat.js +98 -0
- package/dist/cjs/components/format/sqlSafeFormat.js.map +7 -0
- package/dist/cjs/components/format/xmlFormat.js +94 -0
- package/dist/cjs/components/format/xmlFormat.js.map +7 -0
- package/dist/cjs/components/helpers/actions.js +253 -0
- package/dist/cjs/components/helpers/actions.js.map +7 -0
- package/dist/cjs/components/helpers/constants.js +39 -0
- package/dist/cjs/components/helpers/constants.js.map +7 -0
- package/dist/cjs/components/helpers/dependencies.js +69 -0
- package/dist/cjs/components/helpers/dependencies.js.map +7 -0
- package/dist/cjs/components/helpers/selectors.js +161 -0
- package/dist/cjs/components/helpers/selectors.js.map +7 -0
- package/dist/cjs/components/helpers/store.js +171 -0
- package/dist/cjs/components/helpers/store.js.map +7 -0
- package/dist/cjs/components/helpers/types.js +92 -0
- package/dist/cjs/components/helpers/types.js.map +7 -0
- package/dist/cjs/index.js +36 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/propTypes.js +105 -0
- package/dist/cjs/propTypes.js.map +7 -0
- package/dist/esm/DSQueryBuilder.js +105 -0
- package/dist/esm/DSQueryBuilder.js.map +7 -0
- package/dist/esm/components/AndOrController/AndOrController.js +179 -0
- package/dist/esm/components/AndOrController/AndOrController.js.map +7 -0
- package/dist/esm/components/ConditionController/ConditionController.js +87 -0
- package/dist/esm/components/ConditionController/ConditionController.js.map +7 -0
- package/dist/esm/components/DisplayOutput/DisplayOutput.js +63 -0
- package/dist/esm/components/DisplayOutput/DisplayOutput.js.map +7 -0
- package/dist/esm/components/DragContainerController/DragContainerController.js +36 -0
- package/dist/esm/components/DragContainerController/DragContainerController.js.map +7 -0
- package/dist/esm/components/DragControllerRow/DragControllerRow.js +56 -0
- package/dist/esm/components/DragControllerRow/DragControllerRow.js.map +7 -0
- package/dist/esm/components/FieldControllerRow/FieldControllerRow.js +26 -0
- package/dist/esm/components/FieldControllerRow/FieldControllerRow.js.map +7 -0
- package/dist/esm/components/Nestable/Nestable.js +253 -0
- package/dist/esm/components/Nestable/Nestable.js.map +7 -0
- package/dist/esm/components/Nestable/NestableItem.js +100 -0
- package/dist/esm/components/Nestable/NestableItem.js.map +7 -0
- package/dist/esm/components/Nestable/actions/events.js +131 -0
- package/dist/esm/components/Nestable/actions/events.js.map +7 -0
- package/{esm → dist/esm}/components/Nestable/actions/getItemOptions.js +7 -11
- package/dist/esm/components/Nestable/actions/getItemOptions.js.map +7 -0
- package/{esm → dist/esm}/components/Nestable/actions/getPaths.js +17 -43
- package/dist/esm/components/Nestable/actions/getPaths.js.map +7 -0
- package/dist/esm/components/Nestable/actions/index.js +13 -0
- package/dist/esm/components/Nestable/actions/index.js.map +7 -0
- package/dist/esm/components/Nestable/actions/moveItem.js +42 -0
- package/dist/esm/components/Nestable/actions/moveItem.js.map +7 -0
- package/{esm → dist/esm}/components/Nestable/actions/paths.js +19 -47
- package/dist/esm/components/Nestable/actions/paths.js.map +7 -0
- package/dist/esm/components/Nestable/actions/tryDecreaseDepth.js +22 -0
- package/dist/esm/components/Nestable/actions/tryDecreaseDepth.js.map +7 -0
- package/{esm → dist/esm}/components/Nestable/actions/tryIncreaseDepth.js +10 -22
- package/dist/esm/components/Nestable/actions/tryIncreaseDepth.js.map +7 -0
- package/dist/esm/components/Nestable/index.js +7 -0
- package/dist/esm/components/Nestable/index.js.map +7 -0
- package/dist/esm/components/QueryBuilderContext/QueryBuilderContext.js +7 -0
- package/dist/esm/components/QueryBuilderContext/QueryBuilderContext.js.map +7 -0
- package/dist/esm/components/QueryBuilderImpl.js +226 -0
- package/dist/esm/components/QueryBuilderImpl.js.map +7 -0
- package/dist/esm/components/QueryBuilderItem/QueryBuilderItem.js +81 -0
- package/dist/esm/components/QueryBuilderItem/QueryBuilderItem.js.map +7 -0
- package/dist/esm/components/QueryBuilderRow/QueryBuilderRow.js +208 -0
- package/dist/esm/components/QueryBuilderRow/QueryBuilderRow.js.map +7 -0
- package/dist/esm/components/ToolBarAnimation/ToolBarAnimation.js +31 -0
- package/dist/esm/components/ToolBarAnimation/ToolBarAnimation.js.map +7 -0
- package/dist/esm/components/format/format.js +30 -0
- package/dist/esm/components/format/format.js.map +7 -0
- package/dist/esm/components/format/sqlFormat.js +65 -0
- package/dist/esm/components/format/sqlFormat.js.map +7 -0
- package/dist/esm/components/format/sqlSafeFormat.js +69 -0
- package/dist/esm/components/format/sqlSafeFormat.js.map +7 -0
- package/dist/esm/components/format/xmlFormat.js +65 -0
- package/dist/esm/components/format/xmlFormat.js.map +7 -0
- package/dist/esm/components/helpers/actions.js +230 -0
- package/dist/esm/components/helpers/actions.js.map +7 -0
- package/dist/esm/components/helpers/constants.js +10 -0
- package/dist/esm/components/helpers/constants.js.map +7 -0
- package/dist/esm/components/helpers/dependencies.js +40 -0
- package/dist/esm/components/helpers/dependencies.js.map +7 -0
- package/dist/esm/components/helpers/selectors.js +132 -0
- package/dist/esm/components/helpers/selectors.js.map +7 -0
- package/dist/esm/components/helpers/store.js +157 -0
- package/dist/esm/components/helpers/store.js.map +7 -0
- package/dist/esm/components/helpers/types.js +63 -0
- package/dist/esm/components/helpers/types.js.map +7 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/propTypes.js +76 -0
- package/dist/esm/propTypes.js.map +7 -0
- package/package.json +103 -94
- package/cjs/DSQueryBuilder.js +0 -98
- package/cjs/components/AndOrController/AndOrController.js +0 -222
- package/cjs/components/ConditionController/ConditionController.js +0 -100
- package/cjs/components/DisplayOutput/DisplayOutput.js +0 -93
- package/cjs/components/DragContainerController/DragContainerController.js +0 -45
- package/cjs/components/DragControllerRow/DragControllerRow.js +0 -47
- package/cjs/components/FieldControllerRow/FieldControllerRow.js +0 -33
- package/cjs/components/Nestable/Nestable.js +0 -320
- package/cjs/components/Nestable/NestableItem.js +0 -111
- package/cjs/components/Nestable/actions/events.js +0 -166
- package/cjs/components/Nestable/actions/getItemOptions.js +0 -28
- package/cjs/components/Nestable/actions/getPaths.js +0 -124
- package/cjs/components/Nestable/actions/index.js +0 -28
- package/cjs/components/Nestable/actions/moveItem.js +0 -54
- package/cjs/components/Nestable/actions/paths.js +0 -126
- package/cjs/components/Nestable/actions/tryDecreaseDepth.js +0 -35
- package/cjs/components/Nestable/actions/tryIncreaseDepth.js +0 -38
- package/cjs/components/Nestable/index.js +0 -7
- package/cjs/components/QueryBuilderContext/QueryBuilderContext.js +0 -13
- package/cjs/components/QueryBuilderImpl.js +0 -309
- package/cjs/components/QueryBuilderItem/QueryBuilderItem.js +0 -90
- package/cjs/components/QueryBuilderRow/QueryBuilderRow.js +0 -276
- package/cjs/components/ToolBarAnimation/ToolBarAnimation.js +0 -29
- package/cjs/components/format/format.js +0 -33
- package/cjs/components/format/sqlFormat.js +0 -73
- package/cjs/components/format/sqlSafeFormat.js +0 -81
- package/cjs/components/format/xmlFormat.js +0 -73
- package/cjs/components/helpers/actions.js +0 -277
- package/cjs/components/helpers/constants.js +0 -11
- package/cjs/components/helpers/dependencies.js +0 -84
- package/cjs/components/helpers/selectors.js +0 -101
- package/cjs/components/helpers/store.js +0 -177
- package/cjs/components/helpers/types.js +0 -64
- package/cjs/index.js +0 -29
- package/cjs/propTypes.js +0 -97
- package/esm/DSQueryBuilder.js +0 -74
- package/esm/components/AndOrController/AndOrController.js +0 -213
- package/esm/components/ConditionController/ConditionController.js +0 -92
- package/esm/components/DisplayOutput/DisplayOutput.js +0 -87
- package/esm/components/DragContainerController/DragContainerController.js +0 -39
- package/esm/components/DragControllerRow/DragControllerRow.js +0 -39
- package/esm/components/FieldControllerRow/FieldControllerRow.js +0 -27
- package/esm/components/Nestable/Nestable.js +0 -312
- package/esm/components/Nestable/NestableItem.js +0 -103
- package/esm/components/Nestable/actions/events.js +0 -153
- package/esm/components/Nestable/actions/index.js +0 -6
- package/esm/components/Nestable/actions/moveItem.js +0 -45
- package/esm/components/Nestable/actions/tryDecreaseDepth.js +0 -31
- package/esm/components/Nestable/index.js +0 -2
- package/esm/components/QueryBuilderContext/QueryBuilderContext.js +0 -5
- package/esm/components/QueryBuilderImpl.js +0 -301
- package/esm/components/QueryBuilderItem/QueryBuilderItem.js +0 -83
- package/esm/components/QueryBuilderRow/QueryBuilderRow.js +0 -268
- package/esm/components/ToolBarAnimation/ToolBarAnimation.js +0 -20
- package/esm/components/format/format.js +0 -31
- package/esm/components/format/sqlFormat.js +0 -69
- package/esm/components/format/sqlSafeFormat.js +0 -76
- package/esm/components/format/xmlFormat.js +0 -69
- package/esm/components/helpers/actions.js +0 -254
- package/esm/components/helpers/constants.js +0 -5
- package/esm/components/helpers/dependencies.js +0 -60
- package/esm/components/helpers/selectors.js +0 -93
- package/esm/components/helpers/store.js +0 -171
- package/esm/components/helpers/types.js +0 -52
- package/esm/index.js +0 -4
- package/esm/propTypes.js +0 -93
- package/types/DSQueryBuilder.d.ts +0 -211
- package/types/components/AndOrController/AndOrController.d.ts +0 -38
- package/types/components/ConditionController/ConditionController.d.ts +0 -16
- package/types/components/DisplayOutput/DisplayOutput.d.ts +0 -7
- package/types/components/DragContainerController/DragContainerController.d.ts +0 -9
- package/types/components/DragControllerRow/DragControllerRow.d.ts +0 -9
- package/types/components/FieldControllerRow/FieldControllerRow.d.ts +0 -9
- package/types/components/Nestable/Nestable.d.ts +0 -51
- package/types/components/Nestable/NestableItem.d.ts +0 -12
- package/types/components/Nestable/actions/events.d.ts +0 -6
- package/types/components/Nestable/actions/getItemOptions.d.ts +0 -11
- package/types/components/Nestable/actions/getPaths.d.ts +0 -5
- package/types/components/Nestable/actions/index.d.ts +0 -6
- package/types/components/Nestable/actions/moveItem.d.ts +0 -5
- package/types/components/Nestable/actions/paths.d.ts +0 -5
- package/types/components/Nestable/actions/tryDecreaseDepth.d.ts +0 -1
- package/types/components/Nestable/actions/tryIncreaseDepth.d.ts +0 -1
- package/types/components/Nestable/index.d.ts +0 -2
- package/types/components/QueryBuilderContext/QueryBuilderContext.d.ts +0 -2
- package/types/components/QueryBuilderImpl.d.ts +0 -49
- package/types/components/QueryBuilderItem/QueryBuilderItem.d.ts +0 -5
- package/types/components/QueryBuilderRow/QueryBuilderRow.d.ts +0 -12
- package/types/components/ToolBarAnimation/ToolBarAnimation.d.ts +0 -3
- package/types/components/format/format.d.ts +0 -26
- package/types/components/format/sqlFormat.d.ts +0 -5
- package/types/components/format/sqlSafeFormat.d.ts +0 -6
- package/types/components/format/xmlFormat.d.ts +0 -5
- package/types/components/helpers/actions.d.ts +0 -63
- package/types/components/helpers/constants.d.ts +0 -3
- package/types/components/helpers/dependencies.d.ts +0 -1
- package/types/components/helpers/selectors.d.ts +0 -20
- package/types/components/helpers/store.d.ts +0 -144
- package/types/components/helpers/types.d.ts +0 -50
- package/types/index.d.ts +0 -2
- package/types/propTypes.d.ts +0 -156
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* this is injected. instance of QBStore
|
|
3
|
-
*
|
|
4
|
-
* @param {*} idGroup: UUID
|
|
5
|
-
* @param idGroup
|
|
6
|
-
*/
|
|
7
|
-
export declare const createNewFilter: (idGroup: any) => {
|
|
8
|
-
idGroup: any;
|
|
9
|
-
field: string;
|
|
10
|
-
condition: string;
|
|
11
|
-
value: string;
|
|
12
|
-
idFilter: string;
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* this is injected. instance of QBStore
|
|
17
|
-
*
|
|
18
|
-
* @param {*} parentIdGroup: UUID
|
|
19
|
-
* @param parentIdGroup
|
|
20
|
-
*/
|
|
21
|
-
export declare const createNewGroup: (parentIdGroup: any) => {
|
|
22
|
-
parentIdGroup: any;
|
|
23
|
-
idGroup: string;
|
|
24
|
-
condition: boolean;
|
|
25
|
-
type: string;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* this is injected. instance of QBStore
|
|
29
|
-
*
|
|
30
|
-
* @param {*} newFilter
|
|
31
|
-
*/
|
|
32
|
-
export declare const addFilterToMap: (newFilter: any) => void;
|
|
33
|
-
/**
|
|
34
|
-
* this is injected. instance of QBStore
|
|
35
|
-
*
|
|
36
|
-
* @param {*} newFilter
|
|
37
|
-
* @param newGroup
|
|
38
|
-
*/
|
|
39
|
-
export declare const addGroupToMap: (newGroup: any) => void;
|
|
40
|
-
export declare const addFilterToItem: (item: any, newFilter: any) => void;
|
|
41
|
-
export declare const addFilterToMainItem: (items: any, newFilter: any) => void;
|
|
42
|
-
export declare const findInChilds: (childs: any, filterId: any) => any;
|
|
43
|
-
export declare const findItemFilterById: (filterId: any) => any;
|
|
44
|
-
export declare const findParentWithFilterId: (childs: any, filterId: any) => any;
|
|
45
|
-
export declare const findParentFilterById: (filterId: any) => any;
|
|
46
|
-
export declare const filterInChildren: (childs: any, filterId: any, mainId: any) => any;
|
|
47
|
-
export declare const removeFilterItem: (filterId: any) => void;
|
|
48
|
-
export declare const addGroupFilterToItem: (idGroup: any, idFilter: any, newGroup: any) => void;
|
|
49
|
-
export declare const unGroupFilterToItem: (idGroup: any) => void;
|
|
50
|
-
export declare const changeGroupOperator: (idGroup: any, value: any) => void;
|
|
51
|
-
export declare const changeFilterItem: ({ idFilter, field, value, operator, additionalInfo, target, fieldsSharedActions: { onFieldChange, onOperatorChange, onValueChange }, }: {
|
|
52
|
-
idFilter: any;
|
|
53
|
-
field: any;
|
|
54
|
-
value: any;
|
|
55
|
-
operator: any;
|
|
56
|
-
additionalInfo: any;
|
|
57
|
-
target: any;
|
|
58
|
-
fieldsSharedActions: {
|
|
59
|
-
onFieldChange: any;
|
|
60
|
-
onOperatorChange: any;
|
|
61
|
-
onValueChange: any;
|
|
62
|
-
};
|
|
63
|
-
}) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const resolveDependencies: (state: any, fields: any) => any;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const QB_DEFAULT_VALUES_OPTIONS: {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
}[];
|
|
5
|
-
export declare const QB_SUBJECT_VALUES_OPTIONS: {
|
|
6
|
-
label: string;
|
|
7
|
-
value: string;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const QB_LOAN_VALUES_OPTIONS: {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
}[];
|
|
13
|
-
export declare const QB_FIELD_OPTIONS: {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string;
|
|
16
|
-
}[];
|
|
17
|
-
export declare const QB_OPERATOR_OPTIONS: {
|
|
18
|
-
label: string;
|
|
19
|
-
value: string;
|
|
20
|
-
}[];
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fluent interface: https://en.wikipedia.org/wiki/Fluent_interface
|
|
3
|
-
*
|
|
4
|
-
* @param idGroup
|
|
5
|
-
* @param parentIdGroup
|
|
6
|
-
* @param items
|
|
7
|
-
* @param idFilter
|
|
8
|
-
* @param value
|
|
9
|
-
* @param data
|
|
10
|
-
* @class QueryBuilderStore
|
|
11
|
-
*/
|
|
12
|
-
declare class QueryBuilderStore {
|
|
13
|
-
items: never[];
|
|
14
|
-
step: number;
|
|
15
|
-
steps: {};
|
|
16
|
-
mapFilters: {};
|
|
17
|
-
mapGroups: {};
|
|
18
|
-
main: null;
|
|
19
|
-
format: null;
|
|
20
|
-
constructor(init: any, format: any);
|
|
21
|
-
initSetupUp(init: any): void;
|
|
22
|
-
createNewFilter: (idGroup: any) => {
|
|
23
|
-
idGroup: any;
|
|
24
|
-
field: string;
|
|
25
|
-
condition: string;
|
|
26
|
-
/**
|
|
27
|
-
* Fluent interface: https://en.wikipedia.org/wiki/Fluent_interface
|
|
28
|
-
*
|
|
29
|
-
* @param idGroup
|
|
30
|
-
* @param parentIdGroup
|
|
31
|
-
* @param items
|
|
32
|
-
* @param idFilter
|
|
33
|
-
* @param value
|
|
34
|
-
* @param data
|
|
35
|
-
* @class QueryBuilderStore
|
|
36
|
-
*/
|
|
37
|
-
value: string;
|
|
38
|
-
idFilter: string;
|
|
39
|
-
type: string;
|
|
40
|
-
};
|
|
41
|
-
createNewGroup: (parentIdGroup: any) => {
|
|
42
|
-
parentIdGroup: any;
|
|
43
|
-
idGroup: string;
|
|
44
|
-
condition: boolean;
|
|
45
|
-
type: string;
|
|
46
|
-
};
|
|
47
|
-
onOrderDragAndDrop: (items: any) => {
|
|
48
|
-
format: any;
|
|
49
|
-
step: number;
|
|
50
|
-
mapFilters: {};
|
|
51
|
-
mapGroups: {};
|
|
52
|
-
main: null;
|
|
53
|
-
items: never[];
|
|
54
|
-
};
|
|
55
|
-
addFilterNextToFilterId: (idGroup: any, idFilter: any) => {
|
|
56
|
-
format: any;
|
|
57
|
-
step: number;
|
|
58
|
-
mapFilters: {};
|
|
59
|
-
mapGroups: {};
|
|
60
|
-
main: null;
|
|
61
|
-
items: never[];
|
|
62
|
-
};
|
|
63
|
-
addFilter: (idGroup: any) => {
|
|
64
|
-
format: any;
|
|
65
|
-
step: number;
|
|
66
|
-
mapFilters: {};
|
|
67
|
-
mapGroups: {};
|
|
68
|
-
main: null;
|
|
69
|
-
items: never[];
|
|
70
|
-
};
|
|
71
|
-
onRemoveFilter: (idFilter: any) => {
|
|
72
|
-
format: any;
|
|
73
|
-
step: number;
|
|
74
|
-
mapFilters: {};
|
|
75
|
-
mapGroups: {};
|
|
76
|
-
main: null;
|
|
77
|
-
items: never[];
|
|
78
|
-
};
|
|
79
|
-
addRuleContainerInPlace: (idGroup: any, idFilter: any) => {
|
|
80
|
-
format: any;
|
|
81
|
-
step: number;
|
|
82
|
-
mapFilters: {};
|
|
83
|
-
mapGroups: {};
|
|
84
|
-
main: null;
|
|
85
|
-
items: never[];
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Group a filter inside a new Group
|
|
89
|
-
*
|
|
90
|
-
* @param idGroup
|
|
91
|
-
* @param idFilter
|
|
92
|
-
*/
|
|
93
|
-
addRuleContainer: (idGroup: any, idFilter: any) => {
|
|
94
|
-
format: any;
|
|
95
|
-
step: number;
|
|
96
|
-
mapFilters: {};
|
|
97
|
-
mapGroups: {};
|
|
98
|
-
main: null;
|
|
99
|
-
items: never[];
|
|
100
|
-
};
|
|
101
|
-
unGroup: (idGroup: any) => {
|
|
102
|
-
format: any;
|
|
103
|
-
step: number;
|
|
104
|
-
mapFilters: {};
|
|
105
|
-
mapGroups: {};
|
|
106
|
-
main: null;
|
|
107
|
-
items: never[];
|
|
108
|
-
};
|
|
109
|
-
changeGroupOperator: (idGroup: any, value: any) => {
|
|
110
|
-
format: any;
|
|
111
|
-
step: number;
|
|
112
|
-
mapFilters: {};
|
|
113
|
-
mapGroups: {};
|
|
114
|
-
main: null;
|
|
115
|
-
items: never[];
|
|
116
|
-
};
|
|
117
|
-
changeFilter: (data: any) => {
|
|
118
|
-
format: any;
|
|
119
|
-
step: number;
|
|
120
|
-
mapFilters: {};
|
|
121
|
-
mapGroups: {};
|
|
122
|
-
main: null;
|
|
123
|
-
items: never[];
|
|
124
|
-
};
|
|
125
|
-
getGroupById: (idGroup: any) => any;
|
|
126
|
-
getFilterById: (idFilter: any) => any;
|
|
127
|
-
getInitialState: () => {
|
|
128
|
-
format: any;
|
|
129
|
-
step: number;
|
|
130
|
-
mapFilters: {};
|
|
131
|
-
mapGroups: {};
|
|
132
|
-
main: null;
|
|
133
|
-
items: never[];
|
|
134
|
-
};
|
|
135
|
-
getState: () => {
|
|
136
|
-
format: any;
|
|
137
|
-
step: number;
|
|
138
|
-
mapFilters: {};
|
|
139
|
-
mapGroups: {};
|
|
140
|
-
main: null;
|
|
141
|
-
items: never[];
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
export default QueryBuilderStore;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export declare const QB_FIELD_TYPES: {
|
|
2
|
-
LOAN_VALUES: string;
|
|
3
|
-
LTV_VALUES: string;
|
|
4
|
-
SUBJECT_VALUES: string;
|
|
5
|
-
LAST_VALUES: string;
|
|
6
|
-
CREDIT_VALUES: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const QB_OPERATOR_TYPES: {
|
|
9
|
-
EQUAL: string;
|
|
10
|
-
NOT_EQUAL: string;
|
|
11
|
-
GREATER_THAN: string;
|
|
12
|
-
LESS_THAN: string;
|
|
13
|
-
CONTAINS: string;
|
|
14
|
-
NOT_CONTAINS: string;
|
|
15
|
-
BETWEEN: string;
|
|
16
|
-
GREATER_THAN_OR_EQUAL: string;
|
|
17
|
-
LESS_THAN_OR_EQUAL: string;
|
|
18
|
-
START_WITH: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const QB_GROUP_CONDITION_TYPES: {
|
|
21
|
-
AND: boolean;
|
|
22
|
-
OR: boolean;
|
|
23
|
-
};
|
|
24
|
-
export declare const QB_DRAG_TYPES: {
|
|
25
|
-
FILTER: string;
|
|
26
|
-
GROUP: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const QB_DRAG_LOCATIONS: {
|
|
29
|
-
ABOVE: string;
|
|
30
|
-
BELOW: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const QB_EXPORT_FORMAT_TYPES: {
|
|
33
|
-
DEFAULT: string;
|
|
34
|
-
XML: string;
|
|
35
|
-
SQL: string;
|
|
36
|
-
SAFESQL: string;
|
|
37
|
-
};
|
|
38
|
-
export declare const QB_ADD_FILTER_METHOD_TYPES: {
|
|
39
|
-
IN_PLACE: string;
|
|
40
|
-
APPEND: string;
|
|
41
|
-
};
|
|
42
|
-
export declare const QB_GROUP_FILTER_METHOD_TYPES: {
|
|
43
|
-
IN_PLACE: string;
|
|
44
|
-
APPEND: string;
|
|
45
|
-
};
|
|
46
|
-
export declare const QB_FIELD_SHARED_ACTIONS: {
|
|
47
|
-
RESET_FIELD: string;
|
|
48
|
-
RESET_OPERATOR: string;
|
|
49
|
-
RESET_VALUE: string;
|
|
50
|
-
};
|
package/types/index.d.ts
DELETED
package/types/propTypes.d.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
export declare const props: {
|
|
3
|
-
/** inpect props to component wrapper */
|
|
4
|
-
containerProps: {
|
|
5
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
-
};
|
|
8
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
|
-
};
|
|
10
|
-
/** add filter strategy */
|
|
11
|
-
addFilterMethod: {
|
|
12
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
-
};
|
|
15
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
-
};
|
|
17
|
-
/** group filter strategy */
|
|
18
|
-
groupFilterMethod: {
|
|
19
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
-
};
|
|
22
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
-
};
|
|
24
|
-
/** change callback */
|
|
25
|
-
onChange: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
/** fields to query */
|
|
32
|
-
fields: {
|
|
33
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
-
};
|
|
36
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
-
};
|
|
38
|
-
/** fields actions */
|
|
39
|
-
fieldsSharedActions: {
|
|
40
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
-
};
|
|
43
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
|
-
};
|
|
45
|
-
/** query builder format */
|
|
46
|
-
format: {
|
|
47
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
-
};
|
|
50
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
-
};
|
|
52
|
-
/** initial values */
|
|
53
|
-
init: {
|
|
54
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
-
};
|
|
57
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
-
};
|
|
59
|
-
/** class for rule container */
|
|
60
|
-
ruleContainerClassName: {
|
|
61
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
-
};
|
|
64
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
|
-
};
|
|
66
|
-
/** handle field change */
|
|
67
|
-
handleDrop: {
|
|
68
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
-
};
|
|
71
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
|
-
};
|
|
73
|
-
/** handle field change drop */
|
|
74
|
-
handleDropFilter: {
|
|
75
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
-
};
|
|
78
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
|
-
};
|
|
80
|
-
/** handle field group change */
|
|
81
|
-
handleDropGroup: {
|
|
82
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
83
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
|
-
};
|
|
85
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
86
|
-
};
|
|
87
|
-
/** handle field change */
|
|
88
|
-
handleFieldChange: {
|
|
89
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
90
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
-
};
|
|
92
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
93
|
-
};
|
|
94
|
-
/** handle rule container operator change */
|
|
95
|
-
handleRuleContainerOperator: {
|
|
96
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
97
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
98
|
-
};
|
|
99
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
100
|
-
};
|
|
101
|
-
/** handle rule container grouping change */
|
|
102
|
-
handleRuleContainerUnGroup: {
|
|
103
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
104
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
105
|
-
};
|
|
106
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
107
|
-
};
|
|
108
|
-
/** filter add callback */
|
|
109
|
-
onAddFilter: {
|
|
110
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
111
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
112
|
-
};
|
|
113
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
114
|
-
};
|
|
115
|
-
/** rule container add callback */
|
|
116
|
-
onAddRuleContainer: {
|
|
117
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
118
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
119
|
-
};
|
|
120
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
121
|
-
};
|
|
122
|
-
/** remove filter callback */
|
|
123
|
-
onRemoveFilter: {
|
|
124
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
125
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
126
|
-
};
|
|
127
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
128
|
-
};
|
|
129
|
-
displayFixedOutput: {
|
|
130
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
131
|
-
};
|
|
132
|
-
/** show output */
|
|
133
|
-
displayOutput: {
|
|
134
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
135
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
136
|
-
};
|
|
137
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
138
|
-
};
|
|
139
|
-
/** show output label */
|
|
140
|
-
displayOutputLabel: {
|
|
141
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
142
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
143
|
-
};
|
|
144
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
145
|
-
};
|
|
146
|
-
/** one or multiple rows for query */
|
|
147
|
-
singleRow: {
|
|
148
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
149
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
150
|
-
};
|
|
151
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
152
|
-
};
|
|
153
|
-
toolTipZIndex: {
|
|
154
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
155
|
-
};
|
|
156
|
-
};
|