@finos/legend-query-builder 4.14.72 → 4.14.74

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
  2. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +108 -36
  3. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  4. package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
  5. package/lib/components/result/QueryBuilderResultPanel.js +29 -9
  6. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  7. package/lib/index.css +1 -17
  8. package/lib/index.css.map +1 -1
  9. package/lib/package.json +1 -1
  10. package/lib/stores/QueryBuilderConfig.d.ts +2 -1
  11. package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
  12. package/lib/stores/QueryBuilderConfig.js +2 -1
  13. package/lib/stores/QueryBuilderConfig.js.map +1 -1
  14. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  15. package/lib/stores/QueryBuilderResultState.js +4 -1
  16. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  17. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +4 -3
  18. package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
  19. package/lib/stores/explorer/QueryBuilderExplorerState.js +22 -7
  20. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  21. package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.d.ts.map +1 -1
  22. package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js +1 -1
  23. package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js.map +1 -1
  24. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +7 -1
  25. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  26. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +160 -74
  27. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  28. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  29. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +1 -1
  30. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  31. package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
  32. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  33. package/lib/stores/filter/QueryBuilderFilterState.js +1 -1
  34. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  35. package/package.json +3 -3
  36. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +249 -226
  37. package/src/components/result/QueryBuilderResultPanel.tsx +75 -16
  38. package/src/stores/QueryBuilderConfig.ts +2 -1
  39. package/src/stores/QueryBuilderResultState.ts +4 -0
  40. package/src/stores/explorer/QueryBuilderExplorerState.ts +58 -5
  41. package/src/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.ts +1 -1
  42. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +194 -92
  43. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +4 -3
  44. package/src/stores/filter/QueryBuilderFilterState.ts +5 -4
@@ -31,7 +31,7 @@ export declare class QueryBuilderPropertySearchState {
31
31
  * is that we could interact with the searched nodes, i.e. drag them to
32
32
  * various panels to create filter, fetch-structure, etc.
33
33
  */
34
- indexedExplorerTreeNodes: QueryBuilderExplorerTreeNodeData[];
34
+ indexedExplorerTreeNodeMap: Map<string, QueryBuilderExplorerTreeNodeData>;
35
35
  searchEngine: FuzzySearchEngine<QueryBuilderExplorerTreeNodeData>;
36
36
  searchConfigurationState: QueryBuilderFuzzySearchAdvancedConfigState;
37
37
  initializationState: ActionState;
@@ -42,6 +42,7 @@ export declare class QueryBuilderPropertySearchState {
42
42
  isSearchPanelOpen: boolean;
43
43
  isSearchPanelHidden: boolean;
44
44
  showSearchConfigurationMenu: boolean;
45
+ includeOneMany: boolean;
45
46
  typeFilters: QUERY_BUILDER_PROPERTY_SEARCH_TYPE[];
46
47
  constructor(queryBuilderState: QueryBuilderState);
47
48
  setIsSearchPanelOpen(val: boolean): void;
@@ -51,7 +52,10 @@ export declare class QueryBuilderPropertySearchState {
51
52
  setIsOverSearchLimit(val: boolean): void;
52
53
  setSearchText(val: string): void;
53
54
  resetSearch(): void;
55
+ setIncludeOneMany(val: boolean): void;
56
+ setFilterOnlyType(val: QUERY_BUILDER_PROPERTY_SEARCH_TYPE): void;
54
57
  toggleFilterForType(val: QUERY_BUILDER_PROPERTY_SEARCH_TYPE): void;
58
+ isNodeMultiple(node: QueryBuilderExplorerTreeNodeData): boolean;
55
59
  search(): Promise<void>;
56
60
  /**
57
61
  * From the current explorer tree, navigate breadth-first to find more mapped
@@ -62,6 +66,8 @@ export declare class QueryBuilderPropertySearchState {
62
66
  * asynchronous and block the UI while waiting.
63
67
  */
64
68
  initialize(): Promise<void>;
69
+ get indexedExplorerTreeNodes(): QueryBuilderExplorerTreeNodeData[];
70
+ isNodeIncludedInFilter(node: QueryBuilderExplorerTreeNodeData): boolean;
65
71
  get filteredSearchResults(): QueryBuilderExplorerTreeNodeData[];
66
72
  }
67
73
  //# sourceMappingURL=QueryBuilderPropertySearchState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderPropertySearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EACL,WAAW,EACX,iBAAiB,EAMlB,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,EAGL,kCAAkC,EAEnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,KAAK,gCAAgC,EAGtC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAM7G,qBAAa,+BAA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,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IA+E7B;;;;;;;OAOG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAqQjC,IAAI,wBAAwB,IAAI,gCAAgC,EAAE,CAEjE;IAED,sBAAsB,CAAC,IAAI,EAAE,gCAAgC,GAAG,OAAO;IA4DvE,IAAI,qBAAqB,IAAI,gCAAgC,EAAE,CAI9D;CACF"}
@@ -13,11 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
16
+ import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, CORE_PURE_PATH, PURE_DOC_TAG, Enumeration, } from '@finos/legend-graph';
17
17
  import { ActionState, FuzzySearchEngine, addUniqueEntry, deleteEntry, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
18
18
  import { observable, computed, action, makeObservable, runInAction, } from 'mobx';
19
19
  import { QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT, QUERY_BUILDER_PROPERTY_SEARCH_TYPE, QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES, } from '../QueryBuilderConfig.js';
20
- import { getQueryBuilderPropertyNodeData, getQueryBuilderSubTypeNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, } from './QueryBuilderExplorerState.js';
20
+ import { getQueryBuilderPropertyNodeData, getQueryBuilderSubTypeNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, cloneQueryBuilderExplorerTreeNodeData, QueryBuilderExplorerTreeRootNodeData, } from './QueryBuilderExplorerState.js';
21
21
  import { QueryBuilderFuzzySearchAdvancedConfigState } from './QueryBuilderFuzzySearchAdvancedConfigState.js';
22
22
  import { prettyPropertyNameForSubType, prettyPropertyNameFromNodeId, } from '../../components/explorer/QueryBuilderPropertySearchPanel.js';
23
23
  export class QueryBuilderPropertySearchState {
@@ -33,7 +33,7 @@ export class QueryBuilderPropertySearchState {
33
33
  * is that we could interact with the searched nodes, i.e. drag them to
34
34
  * various panels to create filter, fetch-structure, etc.
35
35
  */
36
- indexedExplorerTreeNodes = [];
36
+ indexedExplorerTreeNodeMap = new Map();
37
37
  // search
38
38
  searchEngine;
39
39
  searchConfigurationState;
@@ -46,8 +46,10 @@ export class QueryBuilderPropertySearchState {
46
46
  isSearchPanelHidden = false;
47
47
  showSearchConfigurationMenu = false;
48
48
  // filter
49
+ includeOneMany = false;
49
50
  typeFilters = [
50
51
  QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
52
+ QUERY_BUILDER_PROPERTY_SEARCH_TYPE.ENUMERATION,
51
53
  QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
52
54
  QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
53
55
  QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
@@ -55,14 +57,16 @@ export class QueryBuilderPropertySearchState {
55
57
  ];
56
58
  constructor(queryBuilderState) {
57
59
  makeObservable(this, {
58
- indexedExplorerTreeNodes: observable,
60
+ indexedExplorerTreeNodeMap: observable,
59
61
  searchText: observable,
60
62
  searchResults: observable,
61
63
  isOverSearchLimit: observable,
62
64
  isSearchPanelOpen: observable,
63
65
  isSearchPanelHidden: observable,
64
66
  showSearchConfigurationMenu: observable,
67
+ includeOneMany: observable,
65
68
  typeFilters: observable,
69
+ indexedExplorerTreeNodes: computed,
66
70
  filteredSearchResults: computed,
67
71
  search: action,
68
72
  resetSearch: action,
@@ -72,6 +76,8 @@ export class QueryBuilderPropertySearchState {
72
76
  setShowSearchConfigurationMenu: action,
73
77
  setIsSearchPanelOpen: action,
74
78
  setIsSearchPanelHidden: action,
79
+ setIncludeOneMany: action,
80
+ setFilterOnlyType: action,
75
81
  toggleFilterForType: action,
76
82
  initialize: action,
77
83
  });
@@ -101,8 +107,19 @@ export class QueryBuilderPropertySearchState {
101
107
  resetSearch() {
102
108
  this.searchText = '';
103
109
  this.searchResults = [];
110
+ this.indexedExplorerTreeNodes.forEach((node) => {
111
+ if (!(node instanceof QueryBuilderExplorerTreeRootNodeData)) {
112
+ node.setIsOpen(false);
113
+ }
114
+ });
104
115
  this.searchState.complete();
105
116
  }
117
+ setIncludeOneMany(val) {
118
+ this.includeOneMany = val;
119
+ }
120
+ setFilterOnlyType(val) {
121
+ this.typeFilters = [val];
122
+ }
106
123
  toggleFilterForType(val) {
107
124
  if (this.typeFilters.includes(val)) {
108
125
  deleteEntry(this.typeFilters, val);
@@ -111,12 +128,37 @@ export class QueryBuilderPropertySearchState {
111
128
  addUniqueEntry(this.typeFilters, val);
112
129
  }
113
130
  }
131
+ isNodeMultiple(node) {
132
+ // Check if node or any ancestors are one-many nodes.
133
+ let currNode = node;
134
+ while (currNode) {
135
+ if ((currNode instanceof QueryBuilderExplorerTreeSubTypeNodeData &&
136
+ (currNode.multiplicity.upperBound === undefined ||
137
+ currNode.multiplicity.upperBound > 1)) ||
138
+ (currNode instanceof QueryBuilderExplorerTreePropertyNodeData &&
139
+ (currNode.property.multiplicity.upperBound === undefined ||
140
+ currNode.property.multiplicity.upperBound > 1))) {
141
+ return true;
142
+ }
143
+ currNode =
144
+ currNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
145
+ currNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
146
+ ? this.indexedExplorerTreeNodeMap.get(currNode.parentId)
147
+ : undefined;
148
+ }
149
+ return false;
150
+ }
114
151
  async search() {
115
152
  if (!this.searchText) {
116
153
  this.setSearchResults([]);
117
154
  return Promise.resolve();
118
155
  }
119
156
  this.searchState.inProgress();
157
+ this.indexedExplorerTreeNodes.forEach((node) => {
158
+ if (!(node instanceof QueryBuilderExplorerTreeRootNodeData)) {
159
+ node.setIsOpen(false);
160
+ }
161
+ });
120
162
  // Perform the search in a setTimeout so we can execute it asynchronously and
121
163
  // show the loading indicator while search is in progress.
122
164
  return new Promise((resolve) => setTimeout(() => {
@@ -141,18 +183,11 @@ export class QueryBuilderPropertySearchState {
141
183
  return node;
142
184
  })
143
185
  .filter((node) => {
144
- // Filter out property nodes if their parent class node is already in the results.
145
- if (node.type instanceof Class) {
146
- return true;
147
- }
148
- else if (node instanceof QueryBuilderExplorerTreePropertyNodeData) {
149
- if (this.searchText.toLowerCase() === node.label.toLowerCase()) {
150
- return true;
151
- }
152
- else if (classNodes.has(node.parentId)) {
153
- classNodes.get(node.parentId)?.setIsOpen(true);
154
- return false;
155
- }
186
+ // Filter out nodes if their parent class node is already in the results.
187
+ if ((node instanceof QueryBuilderExplorerTreePropertyNodeData ||
188
+ node instanceof QueryBuilderExplorerTreeSubTypeNodeData) &&
189
+ classNodes.has(node.parentId)) {
190
+ return false;
156
191
  }
157
192
  return true;
158
193
  });
@@ -182,14 +217,19 @@ export class QueryBuilderPropertySearchState {
182
217
  // Perform the initialization in a setTimeout so we can execute it asynchronously and
183
218
  // show the loading indicator while initialization is in progress.
184
219
  return new Promise((resolve) => setTimeout(() => {
185
- this.indexedExplorerTreeNodes = [];
220
+ const treeData = this.queryBuilderState.explorerState.nonNullableTreeData;
221
+ const rootNodeMap = new Map(treeData.rootIds
222
+ .map((rootId) => treeData.nodes.get(rootId))
223
+ .filter(isNonNullable)
224
+ .map((rootNode) => [rootNode.id, rootNode]));
225
+ this.indexedExplorerTreeNodeMap = new Map();
186
226
  let currentLevelPropertyNodes = [];
187
227
  let nextLevelPropertyNodes = [];
188
228
  // Get all the children of the root node(s)
189
- Array.from(this.queryBuilderState.explorerState.nonNullableTreeData.rootIds
190
- .map((rootId) => this.queryBuilderState.explorerState.nonNullableTreeData.nodes
229
+ Array.from(treeData.rootIds
230
+ .map((rootId) => treeData.nodes
191
231
  .get(rootId)
192
- ?.childrenIds.map((childId) => this.queryBuilderState.explorerState.nonNullableTreeData.nodes.get(childId)))
232
+ ?.childrenIds.map((childId) => treeData.nodes.get(childId)))
193
233
  .flat()
194
234
  .filter(isNonNullable)
195
235
  .filter((node) => node.mappingData.mapped &&
@@ -197,20 +237,44 @@ export class QueryBuilderPropertySearchState {
197
237
  ? true
198
238
  : node instanceof QueryBuilderExplorerTreePropertyNodeData)).forEach((node) => {
199
239
  if (node.mappingData.mapped && !node.isPartOfDerivedPropertyBranch) {
200
- currentLevelPropertyNodes.push(node);
201
- this.indexedExplorerTreeNodes.push(node);
240
+ const clonedNode = cloneQueryBuilderExplorerTreeNodeData(node);
241
+ currentLevelPropertyNodes.push(clonedNode);
242
+ this.indexedExplorerTreeNodeMap.set(clonedNode.id, clonedNode);
202
243
  }
203
244
  });
204
245
  // ensure we don't navigate more nodes than the limit so we could
205
246
  // keep the initialization/indexing time within acceptable range
206
- const NODE_LIMIT = this.indexedExplorerTreeNodes.length +
247
+ const NODE_LIMIT = this.indexedExplorerTreeNodeMap.size +
207
248
  QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES;
208
249
  const addNode = (node) => runInAction(() => {
209
- if (this.indexedExplorerTreeNodes.length > NODE_LIMIT) {
250
+ if (this.indexedExplorerTreeNodeMap.size > NODE_LIMIT) {
210
251
  return;
211
252
  }
212
- this.indexedExplorerTreeNodes.push(node);
253
+ const clonedNode = cloneQueryBuilderExplorerTreeNodeData(node);
254
+ this.indexedExplorerTreeNodeMap.set(clonedNode.id, clonedNode);
213
255
  });
256
+ // helper function to check if a node has the same type as one of its
257
+ // ancestor nodes. This allows us to avoid including circular dependencies
258
+ // in the indexed nodes list.
259
+ const nodeHasSameTypeAsAncestor = (node) => {
260
+ if (node instanceof QueryBuilderExplorerTreePropertyNodeData ||
261
+ node instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
262
+ let ancestor = this.indexedExplorerTreeNodeMap.get(node.parentId) ??
263
+ rootNodeMap.get(node.parentId);
264
+ while (ancestor) {
265
+ if (node.type === ancestor.type) {
266
+ return true;
267
+ }
268
+ ancestor =
269
+ ancestor instanceof QueryBuilderExplorerTreePropertyNodeData ||
270
+ ancestor instanceof QueryBuilderExplorerTreeSubTypeNodeData
271
+ ? (this.indexedExplorerTreeNodeMap.get(ancestor.parentId) ??
272
+ rootNodeMap.get(ancestor.parentId))
273
+ : undefined;
274
+ }
275
+ }
276
+ return false;
277
+ };
214
278
  // limit the depth of navigation to keep the initialization/indexing
215
279
  // time within acceptable range
216
280
  let currentDepth = 1;
@@ -228,8 +292,10 @@ export class QueryBuilderPropertySearchState {
228
292
  : getAllClassProperties(node.type).concat(getAllClassDerivedProperties(node.type))).forEach((property) => {
229
293
  const propertyTreeNodeData = getQueryBuilderPropertyNodeData(property, node, guaranteeNonNullable(this.queryBuilderState.explorerState
230
294
  .mappingModelCoverageAnalysisResult));
231
- if (propertyTreeNodeData?.mappingData.mapped &&
232
- !propertyTreeNodeData.isPartOfDerivedPropertyBranch) {
295
+ if (propertyTreeNodeData &&
296
+ propertyTreeNodeData.mappingData.mapped &&
297
+ !propertyTreeNodeData.isPartOfDerivedPropertyBranch &&
298
+ !nodeHasSameTypeAsAncestor(propertyTreeNodeData)) {
233
299
  nextLevelPropertyNodes.push(propertyTreeNodeData);
234
300
  addNode(propertyTreeNodeData);
235
301
  }
@@ -238,7 +304,8 @@ export class QueryBuilderPropertySearchState {
238
304
  node.type._subclasses.forEach((subclass) => {
239
305
  const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, node, guaranteeNonNullable(this.queryBuilderState.explorerState
240
306
  .mappingModelCoverageAnalysisResult));
241
- if (subTypeTreeNodeData.mappingData.mapped) {
307
+ if (subTypeTreeNodeData.mappingData.mapped &&
308
+ !nodeHasSameTypeAsAncestor(subTypeTreeNodeData)) {
242
309
  nextLevelPropertyNodes.push(subTypeTreeNodeData);
243
310
  addNode(subTypeTreeNodeData);
244
311
  }
@@ -248,7 +315,7 @@ export class QueryBuilderPropertySearchState {
248
315
  // when we done processing one depth, we will do check on the depth and the total
249
316
  // number of indexed nodes to figure out if we should proceed further
250
317
  if (!currentLevelPropertyNodes.length &&
251
- this.indexedExplorerTreeNodes.length < NODE_LIMIT) {
318
+ this.indexedExplorerTreeNodeMap.size < NODE_LIMIT) {
252
319
  currentLevelPropertyNodes = nextLevelPropertyNodes;
253
320
  nextLevelPropertyNodes = [];
254
321
  currentDepth++;
@@ -267,16 +334,23 @@ export class QueryBuilderPropertySearchState {
267
334
  threshold: 0.2,
268
335
  keys: [
269
336
  {
270
- name: 'path',
337
+ name: 'label',
271
338
  weight: 4,
339
+ },
340
+ {
341
+ name: 'path',
342
+ weight: 2,
272
343
  getFn: (node) => {
273
- const parentNode = this.indexedExplorerTreeNodes.find((pn) => node instanceof
274
- QueryBuilderExplorerTreePropertyNodeData &&
275
- node.parentId === pn.id);
276
- const fullPath = parentNode instanceof
277
- QueryBuilderExplorerTreeSubTypeNodeData
278
- ? prettyPropertyNameForSubType(node.id)
279
- : prettyPropertyNameFromNodeId(node.id);
344
+ const parentNode = node instanceof QueryBuilderExplorerTreePropertyNodeData ||
345
+ node instanceof QueryBuilderExplorerTreeSubTypeNodeData
346
+ ? this.indexedExplorerTreeNodeMap.get(node.parentId)
347
+ : undefined;
348
+ const fullPath = parentNode
349
+ ? parentNode instanceof
350
+ QueryBuilderExplorerTreeSubTypeNodeData
351
+ ? prettyPropertyNameForSubType(node.id)
352
+ : prettyPropertyNameFromNodeId(node.id)
353
+ : '';
280
354
  return fullPath;
281
355
  },
282
356
  },
@@ -323,48 +397,60 @@ export class QueryBuilderPropertySearchState {
323
397
  resolve();
324
398
  }, 0));
325
399
  }
326
- get filteredSearchResults() {
327
- return this.searchResults.filter((node) => {
328
- if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS)) {
329
- if (node.type instanceof Class) {
330
- return true;
331
- }
400
+ get indexedExplorerTreeNodes() {
401
+ return Array.from(this.indexedExplorerTreeNodeMap.values());
402
+ }
403
+ isNodeIncludedInFilter(node) {
404
+ if (!this.includeOneMany && this.isNodeMultiple(node)) {
405
+ return false;
406
+ }
407
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS)) {
408
+ if (node.type instanceof Class) {
409
+ return true;
332
410
  }
333
- if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING)) {
334
- if (node.type === PrimitiveType.STRING) {
335
- return true;
336
- }
411
+ }
412
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.ENUMERATION)) {
413
+ if (node.type instanceof Enumeration) {
414
+ return true;
337
415
  }
338
- if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER)) {
339
- if (node.type instanceof PrimitiveType &&
340
- [
341
- PRIMITIVE_TYPE.NUMBER,
342
- PRIMITIVE_TYPE.DECIMAL,
343
- PRIMITIVE_TYPE.INTEGER,
344
- PRIMITIVE_TYPE.FLOAT,
345
- ].includes(node.type.name)) {
346
- return true;
347
- }
416
+ }
417
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING)) {
418
+ if (node.type === PrimitiveType.STRING) {
419
+ return true;
348
420
  }
349
- if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN)) {
350
- if (node.type === PrimitiveType.BOOLEAN) {
351
- return true;
352
- }
421
+ }
422
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER)) {
423
+ if (node.type instanceof PrimitiveType &&
424
+ [
425
+ PRIMITIVE_TYPE.NUMBER,
426
+ PRIMITIVE_TYPE.DECIMAL,
427
+ PRIMITIVE_TYPE.INTEGER,
428
+ PRIMITIVE_TYPE.FLOAT,
429
+ ].includes(node.type.name)) {
430
+ return true;
353
431
  }
354
- if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE)) {
355
- if (node.type instanceof PrimitiveType &&
356
- [
357
- PRIMITIVE_TYPE.DATE,
358
- PRIMITIVE_TYPE.DATETIME,
359
- PRIMITIVE_TYPE.STRICTDATE,
360
- PRIMITIVE_TYPE.STRICTTIME,
361
- PRIMITIVE_TYPE.LATESTDATE,
362
- ].includes(node.type.name)) {
363
- return true;
364
- }
432
+ }
433
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN)) {
434
+ if (node.type === PrimitiveType.BOOLEAN) {
435
+ return true;
365
436
  }
366
- return false;
367
- });
437
+ }
438
+ if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE)) {
439
+ if (node.type instanceof PrimitiveType &&
440
+ [
441
+ PRIMITIVE_TYPE.DATE,
442
+ PRIMITIVE_TYPE.DATETIME,
443
+ PRIMITIVE_TYPE.STRICTDATE,
444
+ PRIMITIVE_TYPE.STRICTTIME,
445
+ PRIMITIVE_TYPE.LATESTDATE,
446
+ ].includes(node.type.name)) {
447
+ return true;
448
+ }
449
+ }
450
+ return false;
451
+ }
452
+ get filteredSearchResults() {
453
+ return this.searchResults.filter((node) => this.isNodeIncludedInFilter(node));
368
454
  }
369
455
  }
370
456
  //# sourceMappingURL=QueryBuilderPropertySearchState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPropertySearchState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderPropertySearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,aAAa,EACb,cAAc,EACd,cAAc,EACd,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,UAA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AU;qBAE5B,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1B,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;YACH,CAAC;YACD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderPropertySearchState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderPropertySearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,aAAa,EACb,cAAc,EACd,cAAc,EACd,YAAY,EACZ,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,UAAU,EACV,QAAQ,EACR,MAAM,EACN,cAAc,EACd,WAAW,GACZ,MAAM,MAAM,CAAC;AACd,OAAO,EACL,uCAAuC,EACvC,2CAA2C,EAC3C,kCAAkC,EAClC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,+BAA+B,EAC/B,8BAA8B,EAC9B,wCAAwC,EACxC,uCAAuC,EACvC,qCAAqC,EACrC,oCAAoC,GACrC,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAC7G,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,8DAA8D,CAAC;AAEtE,MAAM,OAAO,+BAA+B;IAC1C,iBAAiB,CAAoB;IAErC;;;;;;;;;;OAUG;IACH,0BAA0B,GACxB,IAAI,GAAG,EAAE,CAAC;IAEZ,SAAS;IACT,YAAY,CAAsD;IAClE,wBAAwB,CAA6C;IACrE,mBAAmB,GAAG,WAAW,CAAC,MAAM,EA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AI,CAAC,EAC1B,CAAC;gBACD,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,qBAAqB;QACvB,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CACxC,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAClC,CAAC;IACJ,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,wBAAwB,EAK7B,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAWhB,WAAW,EAGX,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EACL,iCAAiC,EACjC,KAAK,sCAAsC,EAC3C,2CAA2C,EAE5C,MAAM,oDAAoD,CAAC;AAM5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AASnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAEjG,oBAAY,kCAAkC;I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OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAYrD,iCAAiC,CAC/B,IAAI,EAAE,kCAAkC,GACvC,OAAO;IAgBV,iCAAiC,CAC/B,IAAI,EAAE,8BAA8B,GACnC,OAAO;IAYV,IAAI,mBAAmB,IAAI,MAAM,EAAE,CAwBlC;IAED,IAAI,sBAAsB,IAAI,OAAO,CAMpC;IAED,IAAI,mCAAmC,IAAI,OAAO,CAQjD;IAED,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAM7B,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAWhB,WAAW,EAGX,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAU9B,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EACL,iCAAiC,EACjC,KAAK,sCAAsC,EAC3C,2CAA2C,EAE5C,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,IAAI;IAcP,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,6BAA6B,CAC3B,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAgBP,6BAA6B,CAC3B,IAAI,EAAE,kCAAkC,GAAG,SAAS,EACpD,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAyBP,eAAe,CACb,IAAI,EAAE,kCAAkC,EACxC,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAqBP,OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAYrD,iCAAiC,CAC/B,IAAI,EAAE,kCAAkC,GACvC,OAAO;IAgBV,iCAAiC,CAC/B,IAAI,EAAE,8BAA8B,GACnC,OAAO;IAYV,IAAI,mBAAmB,IAAI,MAAM,EAAE,CAwBlC;IAED,IAAI,sBAAsB,IAAI,OAAO,CAMpC;IAED,IAAI,mCAAmC,IAAI,OAAO,CAQjD;IAED,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -320,7 +320,7 @@ export class PostFilterConditionState {
320
320
  const result = (yield this.postFilterState.tdsState.queryBuilderState.graphManagerState.graphManager.runQuery(buildProjectionColumnTypeaheadQuery(this.postFilterState.tdsState.queryBuilderState, columnState, value), guaranteeNonNullable(this.postFilterState.tdsState.queryBuilderState
321
321
  .executionContextState.mapping), guaranteeNonNullable(this.postFilterState.tdsState.queryBuilderState
322
322
  .executionContextState.runtimeValue), this.postFilterState.tdsState.queryBuilderState.graphManagerState
323
- .graph));
323
+ .graph)).executionResult;
324
324
  this.typeaheadSearchResults = buildTypeaheadOptions(result);
325
325
  }
326
326
  this.typeaheadSearchState.pass();