@elliemae/ds-query-builder 2.2.0-next.6 → 2.3.0-alpha.1
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/cjs/DSQueryBuilder.js +117 -97
- package/cjs/DSQueryBuilder.js.map +7 -0
- package/cjs/components/AndOrController/AndOrController.js +148 -162
- package/cjs/components/AndOrController/AndOrController.js.map +7 -0
- package/cjs/components/ConditionController/ConditionController.js +88 -72
- package/cjs/components/ConditionController/ConditionController.js.map +7 -0
- package/cjs/components/DisplayOutput/DisplayOutput.js +63 -68
- package/cjs/components/DisplayOutput/DisplayOutput.js.map +7 -0
- package/cjs/components/DragContainerController/DragContainerController.js +61 -41
- package/cjs/components/DragContainerController/DragContainerController.js.map +7 -0
- package/cjs/components/DragControllerRow/DragControllerRow.js +50 -46
- package/cjs/components/DragControllerRow/DragControllerRow.js.map +7 -0
- package/cjs/components/FieldControllerRow/FieldControllerRow.js +54 -32
- package/cjs/components/FieldControllerRow/FieldControllerRow.js.map +7 -0
- package/cjs/components/Nestable/Nestable.js +143 -209
- package/cjs/components/Nestable/Nestable.js.map +7 -0
- package/cjs/components/Nestable/NestableItem.js +98 -90
- package/cjs/components/Nestable/NestableItem.js.map +7 -0
- package/cjs/components/Nestable/actions/events.js +72 -95
- package/cjs/components/Nestable/actions/events.js.map +7 -0
- package/cjs/components/Nestable/actions/getItemOptions.js +36 -15
- package/cjs/components/Nestable/actions/getItemOptions.js.map +7 -0
- package/cjs/components/Nestable/actions/getPaths.js +46 -51
- package/cjs/components/Nestable/actions/getPaths.js.map +7 -0
- package/cjs/components/Nestable/actions/index.js +42 -28
- package/cjs/components/Nestable/actions/index.js.map +7 -0
- package/cjs/components/Nestable/actions/moveItem.js +44 -42
- package/cjs/components/Nestable/actions/moveItem.js.map +7 -0
- package/cjs/components/Nestable/actions/paths.js +48 -55
- package/cjs/components/Nestable/actions/paths.js.map +7 -0
- package/cjs/components/Nestable/actions/tryDecreaseDepth.js +39 -23
- package/cjs/components/Nestable/actions/tryDecreaseDepth.js.map +7 -0
- package/cjs/components/Nestable/actions/tryIncreaseDepth.js +39 -26
- package/cjs/components/Nestable/actions/tryIncreaseDepth.js.map +7 -0
- package/cjs/components/Nestable/index.js +36 -7
- package/cjs/components/Nestable/index.js.map +7 -0
- package/cjs/components/QueryBuilderContext/QueryBuilderContext.js +36 -13
- package/cjs/components/QueryBuilderContext/QueryBuilderContext.js.map +7 -0
- package/cjs/components/QueryBuilderImpl.js +118 -202
- package/cjs/components/QueryBuilderImpl.js.map +7 -0
- package/cjs/components/QueryBuilderItem/QueryBuilderItem.js +80 -78
- package/cjs/components/QueryBuilderItem/QueryBuilderItem.js.map +7 -0
- package/cjs/components/QueryBuilderRow/QueryBuilderRow.js +154 -211
- package/cjs/components/QueryBuilderRow/QueryBuilderRow.js.map +7 -0
- package/cjs/components/ToolBarAnimation/ToolBarAnimation.js +39 -26
- package/cjs/components/ToolBarAnimation/ToolBarAnimation.js.map +7 -0
- package/cjs/components/format/format.js +48 -22
- package/cjs/components/format/format.js.map +7 -0
- package/cjs/components/format/sqlFormat.js +69 -48
- package/cjs/components/format/sqlFormat.js.map +7 -0
- package/cjs/components/format/sqlSafeFormat.js +72 -55
- package/cjs/components/format/sqlSafeFormat.js.map +7 -0
- package/cjs/components/format/xmlFormat.js +71 -50
- package/cjs/components/format/xmlFormat.js.map +7 -0
- package/cjs/components/helpers/actions.js +151 -186
- package/cjs/components/helpers/actions.js.map +7 -0
- package/cjs/components/helpers/constants.js +36 -8
- package/cjs/components/helpers/constants.js.map +7 -0
- package/cjs/components/helpers/dependencies.js +49 -64
- package/cjs/components/helpers/dependencies.js.map +7 -0
- package/cjs/components/helpers/selectors.js +161 -101
- package/cjs/components/helpers/selectors.js.map +7 -0
- package/cjs/components/helpers/store.js +86 -104
- package/cjs/components/helpers/store.js.map +7 -0
- package/cjs/components/helpers/types.js +72 -44
- package/cjs/components/helpers/types.js.map +7 -0
- package/cjs/index.js +36 -29
- package/cjs/index.js.map +7 -0
- package/cjs/propTypes.js +102 -94
- package/cjs/propTypes.js.map +7 -0
- package/esm/DSQueryBuilder.js +103 -72
- package/esm/DSQueryBuilder.js.map +7 -0
- package/esm/components/AndOrController/AndOrController.js +113 -147
- package/esm/components/AndOrController/AndOrController.js.map +7 -0
- package/esm/components/ConditionController/ConditionController.js +57 -62
- package/esm/components/ConditionController/ConditionController.js.map +7 -0
- package/esm/components/DisplayOutput/DisplayOutput.js +31 -59
- package/esm/components/DisplayOutput/DisplayOutput.js.map +7 -0
- package/esm/components/DragContainerController/DragContainerController.js +32 -35
- package/esm/components/DragContainerController/DragContainerController.js.map +7 -0
- package/esm/components/DragControllerRow/DragControllerRow.js +21 -38
- package/esm/components/DragControllerRow/DragControllerRow.js.map +7 -0
- package/esm/components/FieldControllerRow/FieldControllerRow.js +25 -26
- package/esm/components/FieldControllerRow/FieldControllerRow.js.map +7 -0
- package/esm/components/Nestable/Nestable.js +115 -186
- package/esm/components/Nestable/Nestable.js.map +7 -0
- package/esm/components/Nestable/NestableItem.js +69 -82
- package/esm/components/Nestable/NestableItem.js.map +7 -0
- package/esm/components/Nestable/actions/events.js +45 -79
- package/esm/components/Nestable/actions/events.js.map +7 -0
- package/esm/components/Nestable/actions/getItemOptions.js +7 -11
- package/esm/components/Nestable/actions/getItemOptions.js.map +7 -0
- package/esm/components/Nestable/actions/getPaths.js +17 -43
- package/esm/components/Nestable/actions/getPaths.js.map +7 -0
- package/esm/components/Nestable/actions/index.js +13 -6
- package/esm/components/Nestable/actions/index.js.map +7 -0
- package/esm/components/Nestable/actions/moveItem.js +13 -31
- package/esm/components/Nestable/actions/moveItem.js.map +7 -0
- package/esm/components/Nestable/actions/paths.js +19 -47
- package/esm/components/Nestable/actions/paths.js.map +7 -0
- package/esm/components/Nestable/actions/tryDecreaseDepth.js +10 -19
- package/esm/components/Nestable/actions/tryDecreaseDepth.js.map +7 -0
- package/esm/components/Nestable/actions/tryIncreaseDepth.js +10 -22
- package/esm/components/Nestable/actions/tryIncreaseDepth.js.map +7 -0
- package/esm/components/Nestable/index.js +7 -2
- package/esm/components/Nestable/index.js.map +7 -0
- package/esm/components/QueryBuilderContext/QueryBuilderContext.js +7 -5
- package/esm/components/QueryBuilderContext/QueryBuilderContext.js.map +7 -0
- package/esm/components/QueryBuilderImpl.js +82 -187
- package/esm/components/QueryBuilderImpl.js.map +7 -0
- package/esm/components/QueryBuilderItem/QueryBuilderItem.js +50 -70
- package/esm/components/QueryBuilderItem/QueryBuilderItem.js.map +7 -0
- package/esm/components/QueryBuilderRow/QueryBuilderRow.js +123 -201
- package/esm/components/QueryBuilderRow/QueryBuilderRow.js.map +7 -0
- package/esm/components/ToolBarAnimation/ToolBarAnimation.js +10 -17
- package/esm/components/ToolBarAnimation/ToolBarAnimation.js.map +7 -0
- package/esm/components/format/format.js +16 -17
- package/esm/components/format/format.js.map +7 -0
- package/esm/components/format/sqlFormat.js +39 -43
- package/esm/components/format/sqlFormat.js.map +7 -0
- package/esm/components/format/sqlSafeFormat.js +43 -50
- package/esm/components/format/sqlSafeFormat.js.map +7 -0
- package/esm/components/format/xmlFormat.js +41 -45
- package/esm/components/format/xmlFormat.js.map +7 -0
- package/esm/components/helpers/actions.js +123 -160
- package/esm/components/helpers/actions.js.map +7 -0
- package/esm/components/helpers/constants.js +7 -2
- package/esm/components/helpers/constants.js.map +7 -0
- package/esm/components/helpers/dependencies.js +19 -39
- package/esm/components/helpers/dependencies.js.map +7 -0
- package/esm/components/helpers/selectors.js +132 -93
- package/esm/components/helpers/selectors.js.map +7 -0
- package/esm/components/helpers/store.js +54 -82
- package/esm/components/helpers/store.js.map +7 -0
- package/esm/components/helpers/types.js +44 -33
- package/esm/components/helpers/types.js.map +7 -0
- package/esm/index.js +7 -4
- package/esm/index.js.map +7 -0
- package/esm/propTypes.js +55 -72
- package/esm/propTypes.js.map +7 -0
- package/package.json +12 -12
- package/types/DSQueryBuilder.d.ts +1 -32
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/helpers/dependencies.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import { get } from 'lodash';\nimport * as operators from '@elliemae/ds-utilities/operators';\nimport { QB_GROUP_CONDITION_TYPES } from './types';\n\nconst resolveCondition = (\n condition,\n state,\n resolveBy = QB_GROUP_CONDITION_TYPES.AND,\n) => {\n if (condition.length === 0 || !condition) return true;\n // resolve by AND: all the conditions must be true\n if (resolveBy) {\n return condition.every((rule) => {\n const {\n source: sourceRule,\n operator: operatorRule,\n value: valueRule,\n } = rule;\n if (typeof operatorRule === \"function\") return operatorRule(get(state, sourceRule), valueRule);\n return operators[operatorRule](get(state, sourceRule), valueRule);\n });\n }\n // resolve by OR: at least one condition must be true\n return condition.some((rule) => {\n const {\n source: sourceRule,\n operator: operatorRule,\n value: valueRule,\n } = rule;\n return operators[operatorRule](state[sourceRule], valueRule);\n });\n};\n\nexport const resolveDependencies = (state, fields) => {\n const fieldsToRender = fields.reduce(\n (result, { target, component, condition, resolveBy, validation, handleWidth }) => {\n if (resolveCondition(condition, state, resolveBy))\n result.push({ target, component, validation, handleWidth });\n return result;\n },\n [],\n );\n return fieldsToRender;\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,oBAAoB;AACpB,gBAA2B;AAC3B,mBAAyC;AAEzC,MAAM,mBAAmB,CACvB,WACA,OACA,YAAY,sCAAyB,QAClC;AACH,MAAI,UAAU,WAAW,KAAK,CAAC;AAAW,WAAO;AAEjD,MAAI,WAAW;AACb,WAAO,UAAU,MAAM,CAAC,SAAS;AAC/B,YAAM;AAAA,QACJ,QAAQ;AAAA,QACR,UAAU;AAAA,QACV,OAAO;AAAA,UACL;AACJ,UAAI,OAAO,iBAAiB;AAAY,eAAO,aAAa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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var selectors_exports = {};
|
|
29
|
+
__export(selectors_exports, {
|
|
30
|
+
QB_DEFAULT_VALUES_OPTIONS: () => QB_DEFAULT_VALUES_OPTIONS,
|
|
31
|
+
QB_FIELD_OPTIONS: () => QB_FIELD_OPTIONS,
|
|
32
|
+
QB_LOAN_VALUES_OPTIONS: () => QB_LOAN_VALUES_OPTIONS,
|
|
33
|
+
QB_OPERATOR_OPTIONS: () => QB_OPERATOR_OPTIONS,
|
|
34
|
+
QB_SUBJECT_VALUES_OPTIONS: () => QB_SUBJECT_VALUES_OPTIONS
|
|
35
|
+
});
|
|
36
|
+
var React = __toESM(require("react"));
|
|
37
|
+
var import_types = require("./types");
|
|
38
|
+
const QB_DEFAULT_VALUES_OPTIONS = [
|
|
39
|
+
{
|
|
40
|
+
label: "Choose a Field",
|
|
41
|
+
value: ""
|
|
42
|
+
}
|
|
43
|
+
];
|
|
44
|
+
const QB_SUBJECT_VALUES_OPTIONS = [
|
|
45
|
+
{
|
|
46
|
+
label: "Condominium",
|
|
47
|
+
value: "Condominium"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: "Single Family Home",
|
|
51
|
+
value: "Single Family Home"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
label: "Co-Operative",
|
|
55
|
+
value: "Co-Operative"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
label: "Detached",
|
|
59
|
+
value: "Detached"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
label: "High Rise Condominium",
|
|
63
|
+
value: "High Rise Condominium"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: "Manufactured Housing",
|
|
67
|
+
value: "Manufactured Housing"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
label: "Other",
|
|
71
|
+
value: "Other"
|
|
72
|
+
}
|
|
73
|
+
];
|
|
74
|
+
const QB_LOAN_VALUES_OPTIONS = [
|
|
75
|
+
{
|
|
76
|
+
label: "Conventional",
|
|
77
|
+
value: "Conventional"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: "VA",
|
|
81
|
+
value: "VA"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: "FHA",
|
|
85
|
+
value: "FHA"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
label: "USAD-RHS",
|
|
89
|
+
value: "USAD-RHS"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
label: "HELOC",
|
|
93
|
+
value: "HELOC"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
label: "Other",
|
|
97
|
+
value: "Other"
|
|
98
|
+
}
|
|
99
|
+
];
|
|
100
|
+
const QB_FIELD_OPTIONS = [
|
|
101
|
+
{
|
|
102
|
+
label: "Select",
|
|
103
|
+
value: ""
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
label: "Loan Type",
|
|
107
|
+
value: import_types.QB_FIELD_TYPES.LOAN_VALUES
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
label: "Loan To Value (LTV)",
|
|
111
|
+
value: import_types.QB_FIELD_TYPES.LTV_VALUES
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
label: "Subject Property Type",
|
|
115
|
+
value: import_types.QB_FIELD_TYPES.SUBJECT_VALUES
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: "Last Finished Milestone",
|
|
119
|
+
value: import_types.QB_FIELD_TYPES.LAST_VALUES
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
label: "Credit Score",
|
|
123
|
+
value: import_types.QB_FIELD_TYPES.CREDIT_VALUES
|
|
124
|
+
}
|
|
125
|
+
];
|
|
126
|
+
const QB_OPERATOR_OPTIONS = [
|
|
127
|
+
{
|
|
128
|
+
label: "Select",
|
|
129
|
+
value: ""
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: "Is",
|
|
133
|
+
value: import_types.QB_OPERATOR_TYPES.EQUAL
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
label: "Is not",
|
|
137
|
+
value: import_types.QB_OPERATOR_TYPES.NOT_EQUAL
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
label: "Greater than",
|
|
141
|
+
value: import_types.QB_OPERATOR_TYPES.GREATER_THAN
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
label: "Less than",
|
|
145
|
+
value: import_types.QB_OPERATOR_TYPES.LESS_THAN
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
label: "Contains",
|
|
149
|
+
value: import_types.QB_OPERATOR_TYPES.CONTAINS
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
label: "Doesn't Contain",
|
|
153
|
+
value: import_types.QB_OPERATOR_TYPES.NOT_CONTAINS
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
label: "Between",
|
|
157
|
+
value: import_types.QB_OPERATOR_TYPES.BETWEEN
|
|
158
|
+
}
|
|
159
|
+
];
|
|
160
|
+
module.exports = __toCommonJS(selectors_exports);
|
|
161
|
+
//# sourceMappingURL=selectors.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/helpers/selectors.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["import { QB_OPERATOR_TYPES, QB_FIELD_TYPES } from './types';\n\nexport const QB_DEFAULT_VALUES_OPTIONS = [\n {\n label: 'Choose a Field',\n value: '',\n },\n];\nexport const QB_SUBJECT_VALUES_OPTIONS = [\n {\n label: 'Condominium',\n value: 'Condominium',\n },\n {\n label: 'Single Family Home',\n value: 'Single Family Home',\n },\n {\n label: 'Co-Operative',\n value: 'Co-Operative',\n },\n {\n label: 'Detached',\n value: 'Detached',\n },\n {\n label: 'High Rise Condominium',\n value: 'High Rise Condominium',\n },\n {\n label: 'Manufactured Housing',\n value: 'Manufactured Housing',\n },\n {\n label: 'Other',\n value: 'Other',\n },\n];\n\nexport const QB_LOAN_VALUES_OPTIONS = [\n {\n label: 'Conventional',\n value: 'Conventional',\n },\n {\n label: 'VA',\n value: 'VA',\n },\n {\n label: 'FHA',\n value: 'FHA',\n },\n {\n label: 'USAD-RHS',\n value: 'USAD-RHS',\n },\n {\n label: 'HELOC',\n value: 'HELOC',\n },\n {\n label: 'Other',\n value: 'Other',\n },\n];\n\nexport const QB_FIELD_OPTIONS = [\n {\n label: 'Select',\n value: '',\n },\n {\n label: 'Loan Type',\n value: QB_FIELD_TYPES.LOAN_VALUES,\n },\n {\n label: 'Loan To Value (LTV)',\n value: QB_FIELD_TYPES.LTV_VALUES,\n },\n {\n label: 'Subject Property Type',\n value: QB_FIELD_TYPES.SUBJECT_VALUES,\n },\n {\n label: 'Last Finished Milestone',\n value: QB_FIELD_TYPES.LAST_VALUES,\n },\n {\n label: 'Credit Score',\n value: QB_FIELD_TYPES.CREDIT_VALUES,\n },\n];\n\nexport const QB_OPERATOR_OPTIONS = [\n {\n label: 'Select',\n value: '',\n },\n {\n label: 'Is',\n value: QB_OPERATOR_TYPES.EQUAL,\n },\n {\n label: 'Is not',\n value: QB_OPERATOR_TYPES.NOT_EQUAL,\n },\n {\n label: 'Greater than',\n value: QB_OPERATOR_TYPES.GREATER_THAN,\n },\n {\n label: 'Less than',\n value: QB_OPERATOR_TYPES.LESS_THAN,\n },\n {\n label: 'Contains',\n value: QB_OPERATOR_TYPES.CONTAINS,\n },\n {\n label: \"Doesn't Contain\",\n value: QB_OPERATOR_TYPES.NOT_CONTAINS,\n },\n {\n label: 'Between',\n value: QB_OPERATOR_TYPES.BETWEEN,\n },\n];\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkD;AAE3C,MAAM,4BAA4B;AAAA,EACvC;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;AAGJ,MAAM,4BAA4B;AAAA,EACvC;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;AAIJ,MAAM,yBAAyB;AAAA,EACpC;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;AAIJ,MAAM,mBAAmB;AAAA,EAC9B;AAAA,IACE,OAAO;A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|
29
|
-
|
|
30
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, copyDefault, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
16
|
+
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (module2, isNodeMode) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
24
|
+
return (module2, temp) => {
|
|
25
|
+
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
26
|
+
};
|
|
27
|
+
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
28
|
+
var store_exports = {};
|
|
29
|
+
__export(store_exports, {
|
|
30
|
+
default: () => store_default
|
|
31
|
+
});
|
|
32
|
+
var React = __toESM(require("react"));
|
|
33
|
+
var import_actions = require("./actions");
|
|
34
|
+
var import_format = __toESM(require("../format/format"));
|
|
31
35
|
class QueryBuilderStore {
|
|
32
|
-
constructor(init,
|
|
36
|
+
constructor(init, format) {
|
|
33
37
|
this.items = [];
|
|
34
38
|
this.step = 0;
|
|
35
39
|
this.steps = {};
|
|
@@ -37,141 +41,119 @@ class QueryBuilderStore {
|
|
|
37
41
|
this.mapGroups = {};
|
|
38
42
|
this.main = null;
|
|
39
43
|
this.format = null;
|
|
40
|
-
|
|
41
|
-
this.
|
|
42
|
-
|
|
43
|
-
this.createNewGroup = parentIdGroup => actions.createNewGroup.call(this, parentIdGroup);
|
|
44
|
-
|
|
45
|
-
this.onOrderDragAndDrop = items => {
|
|
44
|
+
this.createNewFilter = (idGroup) => import_actions.createNewFilter.call(this, idGroup);
|
|
45
|
+
this.createNewGroup = (parentIdGroup) => import_actions.createNewGroup.call(this, parentIdGroup);
|
|
46
|
+
this.onOrderDragAndDrop = (items) => {
|
|
46
47
|
this.items = items;
|
|
47
48
|
return this.getState();
|
|
48
49
|
};
|
|
49
|
-
|
|
50
50
|
this.addFilterNextToFilterId = (idGroup, idFilter) => {
|
|
51
|
-
// eslint-disable-line
|
|
52
51
|
this.addFilter(idGroup);
|
|
53
52
|
return this.getState();
|
|
54
53
|
};
|
|
55
|
-
|
|
56
|
-
this.addFilter = idGroup => {
|
|
54
|
+
this.addFilter = (idGroup) => {
|
|
57
55
|
const newFilter = this.createNewFilter(idGroup);
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
import_actions.addFilterToMap.call(this, newFilter);
|
|
60
57
|
if (this.main === idGroup) {
|
|
61
|
-
|
|
58
|
+
import_actions.addFilterToMainItem.call(this, this.items, newFilter);
|
|
62
59
|
} else {
|
|
63
|
-
const foundInItems =
|
|
64
|
-
|
|
60
|
+
const foundInItems = import_actions.findItemFilterById.call(this, idGroup);
|
|
65
61
|
if (foundInItems) {
|
|
66
|
-
|
|
62
|
+
import_actions.addFilterToItem.call(this, foundInItems, newFilter);
|
|
67
63
|
}
|
|
68
64
|
}
|
|
69
|
-
|
|
70
65
|
return this.getState();
|
|
71
66
|
};
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// new API
|
|
75
|
-
actions.removeFilterItem.call(this, idFilter);
|
|
67
|
+
this.onRemoveFilter = (idFilter) => {
|
|
68
|
+
import_actions.removeFilterItem.call(this, idFilter);
|
|
76
69
|
return this.getState();
|
|
77
70
|
};
|
|
78
|
-
|
|
79
71
|
this.addRuleContainerInPlace = (idGroup, idFilter) => {
|
|
80
|
-
// Create a new group
|
|
81
72
|
const newGroup = this.createNewGroup(idGroup);
|
|
82
|
-
|
|
73
|
+
import_actions.addGroupFilterToItem.call(this, idGroup, idFilter, newGroup);
|
|
83
74
|
return this.getState();
|
|
84
75
|
};
|
|
85
|
-
|
|
86
76
|
this.addRuleContainer = (idGroup, idFilter) => {
|
|
87
|
-
// eslint-disable-line
|
|
88
77
|
const newGroup = this.createNewGroup(idGroup);
|
|
89
|
-
|
|
90
|
-
|
|
78
|
+
import_actions.addGroupToMap.call(this, newGroup);
|
|
91
79
|
if (this.main === idGroup) {
|
|
92
|
-
|
|
80
|
+
import_actions.addFilterToMainItem.call(this, this.items, newGroup);
|
|
93
81
|
} else {
|
|
94
|
-
const foundInItems =
|
|
95
|
-
|
|
82
|
+
const foundInItems = import_actions.findItemFilterById.call(this, idGroup);
|
|
96
83
|
if (foundInItems) {
|
|
97
|
-
|
|
84
|
+
import_actions.addFilterToItem.call(this, foundInItems, newGroup);
|
|
98
85
|
}
|
|
99
86
|
}
|
|
100
|
-
|
|
101
87
|
return this.getState();
|
|
102
88
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
actions.unGroupFilterToItem.call(this, idGroup);
|
|
89
|
+
this.unGroup = (idGroup) => {
|
|
90
|
+
import_actions.unGroupFilterToItem.call(this, idGroup);
|
|
106
91
|
return this.getState();
|
|
107
92
|
};
|
|
108
|
-
|
|
109
93
|
this.changeGroupOperator = (idGroup, value) => {
|
|
110
94
|
this.getGroupById(idGroup).condition = value;
|
|
111
|
-
|
|
95
|
+
import_actions.changeGroupOperator.call(this, idGroup, value);
|
|
112
96
|
return this.getState();
|
|
113
97
|
};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
idFilter
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
98
|
+
this.changeFilter = (data) => {
|
|
99
|
+
const { idFilter } = data;
|
|
100
|
+
this.mapFilters[idFilter] = {
|
|
101
|
+
...this.mapFilters[idFilter],
|
|
102
|
+
...data
|
|
103
|
+
};
|
|
104
|
+
import_actions.changeFilterItem.call(this, data);
|
|
121
105
|
return this.getState();
|
|
122
106
|
};
|
|
123
|
-
|
|
124
|
-
this.
|
|
125
|
-
|
|
126
|
-
this.getFilterById = idFilter => this.mapFilters[idFilter];
|
|
127
|
-
|
|
107
|
+
this.getGroupById = (idGroup) => this.mapGroups[idGroup] || {};
|
|
108
|
+
this.getFilterById = (idFilter) => this.mapFilters[idFilter];
|
|
128
109
|
this.getInitialState = () => {
|
|
129
110
|
const newFilters = {
|
|
130
111
|
step: this.step,
|
|
131
|
-
mapFilters:
|
|
132
|
-
mapGroups:
|
|
112
|
+
mapFilters: { ...this.mapFilters },
|
|
113
|
+
mapGroups: { ...this.mapGroups },
|
|
133
114
|
main: this.main,
|
|
134
115
|
items: this.items
|
|
135
116
|
};
|
|
136
|
-
const format
|
|
137
|
-
return
|
|
138
|
-
|
|
139
|
-
|
|
117
|
+
const format = import_format.default.run(newFilters, this.format);
|
|
118
|
+
return {
|
|
119
|
+
...newFilters,
|
|
120
|
+
format
|
|
121
|
+
};
|
|
140
122
|
};
|
|
141
|
-
|
|
142
123
|
this.getState = () => {
|
|
143
124
|
this.step += 1;
|
|
144
125
|
const newFilters = {
|
|
145
126
|
step: this.step,
|
|
146
|
-
mapFilters:
|
|
147
|
-
mapGroups:
|
|
127
|
+
mapFilters: { ...this.mapFilters },
|
|
128
|
+
mapGroups: { ...this.mapGroups },
|
|
148
129
|
main: this.main,
|
|
149
130
|
items: this.items
|
|
150
131
|
};
|
|
151
|
-
const format
|
|
152
|
-
return
|
|
153
|
-
|
|
154
|
-
|
|
132
|
+
const format = import_format.default.run(newFilters, this.format);
|
|
133
|
+
return {
|
|
134
|
+
...newFilters,
|
|
135
|
+
format
|
|
136
|
+
};
|
|
155
137
|
};
|
|
156
|
-
|
|
157
138
|
this.firstLoad = true;
|
|
158
|
-
this.format =
|
|
159
|
-
if (init)
|
|
160
|
-
|
|
139
|
+
this.format = format;
|
|
140
|
+
if (init)
|
|
141
|
+
return this.initSetupUp(init);
|
|
142
|
+
const mainGroup = this.createNewGroup("main");
|
|
161
143
|
this.mapGroups = {
|
|
162
144
|
[mainGroup.idGroup]: mainGroup
|
|
163
145
|
};
|
|
164
146
|
this.main = mainGroup.idGroup;
|
|
165
147
|
this.addFilter(mainGroup.idGroup);
|
|
166
148
|
}
|
|
167
|
-
|
|
168
149
|
initSetupUp(init) {
|
|
169
150
|
this.step = init.step || 1;
|
|
170
|
-
Object.keys(init).forEach(key => {
|
|
171
|
-
if (init[key] && this[key] !==
|
|
151
|
+
Object.keys(init).forEach((key) => {
|
|
152
|
+
if (init[key] && this[key] !== void 0)
|
|
153
|
+
this[key] = init[key];
|
|
172
154
|
});
|
|
173
155
|
}
|
|
174
|
-
|
|
175
156
|
}
|
|
176
|
-
|
|
177
|
-
module.exports =
|
|
157
|
+
var store_default = QueryBuilderStore;
|
|
158
|
+
module.exports = __toCommonJS(store_exports);
|
|
159
|
+
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/helpers/store.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable max-lines */\nimport {\n createNewFilter,\n createNewGroup,\n addFilterToMap,\n addGroupToMap,\n addFilterToItem, // new API\n addFilterToMainItem, // new API\n findItemFilterById, // new API\n removeFilterItem, // new API\n addGroupFilterToItem, // new API\n unGroupFilterToItem, // new API\n changeFilterItem, // new API\n changeGroupOperator, // new API\n} from './actions';\nimport QueryBuilderFormat from '../format/format';\n/**\n * Fluent interface: https://en.wikipedia.org/wiki/Fluent_interface\n *\n * @param idGroup\n * @param parentIdGroup\n * @param items\n * @param idFilter\n * @param value\n * @param data\n * @class QueryBuilderStore\n */\nclass QueryBuilderStore {\n items = [];\n\n step = 0;\n\n steps = {};\n\n mapFilters = {};\n\n mapGroups = {};\n\n main = null;\n\n format = null;\n\n constructor(init, format) {\n this.firstLoad = true;\n this.format = format;\n if (init) return this.initSetupUp(init);\n const mainGroup = this.createNewGroup('main');\n this.mapGroups = {\n [mainGroup.idGroup]: mainGroup,\n };\n this.main = mainGroup.idGroup;\n this.addFilter(mainGroup.idGroup);\n }\n\n initSetupUp(init) {\n this.step = init.step || 1;\n Object.keys(init).forEach((key) => {\n if (init[key] && this[key] !== undefined) this[key] = init[key];\n });\n }\n\n createNewFilter = (idGroup) => createNewFilter.call(this, idGroup);\n\n createNewGroup = (parentIdGroup) => createNewGroup.call(this, parentIdGroup);\n\n onOrderDragAndDrop = (items) => {\n this.items = items;\n return this.getState();\n };\n\n // eslint-disable-next-line no-unused-vars\n addFilterNextToFilterId = (idGroup, idFilter) => {\n // eslint-disable-line\n this.addFilter(idGroup);\n return this.getState();\n };\n\n addFilter = (idGroup) => {\n const newFilter = this.createNewFilter(idGroup);\n addFilterToMap.call(this, newFilter);\n // new API\n if (this.main === idGroup) {\n addFilterToMainItem.call(this, this.items, newFilter);\n } else {\n const foundInItems = findItemFilterById.call(this, idGroup);\n if (foundInItems) {\n addFilterToItem.call(this, foundInItems, newFilter);\n }\n }\n return this.getState();\n };\n\n onRemoveFilter = (idFilter) => {\n // new API\n removeFilterItem.call(this, idFilter);\n return this.getState();\n };\n\n addRuleContainerInPlace = (idGroup, idFilter) => {\n // Create a new group\n const newGroup = this.createNewGroup(idGroup);\n addGroupFilterToItem.call(this, idGroup, idFilter, newGroup);\n return this.getState();\n };\n\n /**\n * Group a filter inside a new Group\n *\n * @param idGroup\n * @param idFilter\n */\n // eslint-disable-next-line no-unused-vars\n addRuleContainer = (idGroup, idFilter) => {\n // eslint-disable-line\n const newGroup = this.createNewGroup(idGroup);\n addGroupToMap.call(this, newGroup);\n if (this.main === idGroup) {\n addFilterToMainItem.call(this, this.items, newGroup);\n } else {\n const foundInItems = findItemFilterById.call(this, idGroup);\n if (foundInItems) {\n addFilterToItem.call(this, foundInItems, newGroup);\n }\n }\n return this.getState();\n };\n\n unGroup = (idGroup) => {\n unGroupFilterToItem.call(this, idGroup);\n return this.getState();\n };\n\n changeGroupOperator = (idGroup, value) => {\n this.getGroupById(idGroup).condition = value;\n changeGroupOperator.call(this, idGroup, value);\n return this.getState();\n };\n\n changeFilter = (data) => {\n const { idFilter } = data;\n this.mapFilters[idFilter] = {\n ...this.mapFilters[idFilter],\n ...data,\n };\n changeFilterItem.call(this, data);\n return this.getState();\n };\n\n getGroupById = (idGroup) => this.mapGroups[idGroup] || {};\n\n getFilterById = (idFilter) => this.mapFilters[idFilter];\n\n getInitialState = () => {\n const newFilters = {\n step: this.step,\n mapFilters: { ...this.mapFilters },\n mapGroups: { ...this.mapGroups },\n main: this.main,\n items: this.items,\n };\n const format = QueryBuilderFormat.run(newFilters, this.format);\n return {\n ...newFilters,\n format,\n };\n };\n\n getState = () => {\n this.step += 1;\n const newFilters = {\n step: this.step,\n mapFilters: { ...this.mapFilters },\n mapGroups: { ...this.mapGroups },\n main: this.main,\n items: this.items,\n };\n const format = QueryBuilderFormat.run(newFilters, this.format);\n return {\n ...newFilters,\n format,\n };\n };\n}\n\nexport default QueryBuilderStore;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,qBAaO;AACP,oBAA+B;AAY/B,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