@finos/legend-query-builder 4.14.69 → 4.14.70
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +87 -52
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +4 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +172 -108
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +29 -18
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +13 -4
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +4 -3
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +12 -0
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +60 -8
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +16 -2
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -0
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +34 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/QueryBuilderFilterHelper.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderFilterHelper.js +3 -0
- package/lib/components/shared/QueryBuilderFilterHelper.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +11 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +6 -3
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +4 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.js +5 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +11 -3
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +47 -4
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +4 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +3 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +63 -8
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.d.ts +24 -0
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.d.ts.map +1 -0
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js +39 -0
- package/lib/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +8 -4
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +204 -114
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +8 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +12 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +8 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +27 -10
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +8 -8
- package/src/__lib__/QueryBuilderTesting.ts +1 -0
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +220 -114
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +618 -388
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +5 -2
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +78 -44
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +63 -10
- package/src/components/filter/QueryBuilderFilterPanel.tsx +4 -2
- package/src/components/result/QueryBuilderResultPanel.tsx +207 -20
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +16 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +43 -0
- package/src/components/shared/QueryBuilderFilterHelper.ts +8 -0
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +13 -3
- package/src/graph-manager/QueryBuilderConfig.ts +6 -0
- package/src/stores/QueryBuilderResultState.ts +64 -10
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +5 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +92 -8
- package/src/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.ts +46 -0
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +280 -142
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +8 -1
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +15 -2
- package/src/stores/filter/QueryBuilderFilterState.ts +34 -11
- package/tsconfig.json +1 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAA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G,CACjE,CAAC;YACN,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,KAAK,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;gBAChC,OAAO;YACT,CAAC;YACD,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QAClD,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;YACxD,IAAI,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,SAAS,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,EAEjB,UAAU,EACV,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAML,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,QAAQ,EACR,WAAW,EACX,cAAc,EACd,kBAAkB,EAElB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,qBAAqB,CAA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ACT,CAAC;YACD,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACvE,oCAAoC,IAAI,CAAC,QAAQ,CAAC,IAAI,aAAa,KAAK,CAAC,OAAO,EAAE,CACnF,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QAClD,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;YACxD,IAAI,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,SAAS,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;CACF"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { FuzzySearchAdvancedConfigState } from '@finos/legend-shared';
|
17
|
+
export declare class QueryBuilderFuzzySearchAdvancedConfigState extends FuzzySearchAdvancedConfigState {
|
18
|
+
includeSubTypes: boolean;
|
19
|
+
includeDocumentation: boolean;
|
20
|
+
constructor(onSearchModeChange: () => Promise<void>, onSearchModeChangeError: (error: Error) => void);
|
21
|
+
setIncludeSubTypes(val: boolean): void;
|
22
|
+
setIncludeDocumentation(val: boolean): void;
|
23
|
+
}
|
24
|
+
//# sourceMappingURL=QueryBuilderFuzzySearchAdvancedConfigState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderFuzzySearchAdvancedConfigState.d.ts","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAGtE,qBAAa,0CAA2C,SAAQ,8BAA8B;IAC5F,eAAe,UAAS;IACxB,oBAAoB,UAAS;gBAG3B,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EACvC,uBAAuB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;IAajD,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAItC,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;CAG5C"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
import { FuzzySearchAdvancedConfigState } from '@finos/legend-shared';
|
17
|
+
import { action, makeObservable, observable } from 'mobx';
|
18
|
+
export class QueryBuilderFuzzySearchAdvancedConfigState extends FuzzySearchAdvancedConfigState {
|
19
|
+
includeSubTypes = false;
|
20
|
+
includeDocumentation = false;
|
21
|
+
constructor(onSearchModeChange, onSearchModeChangeError) {
|
22
|
+
super(() => {
|
23
|
+
onSearchModeChange().catch(onSearchModeChangeError);
|
24
|
+
});
|
25
|
+
makeObservable(this, {
|
26
|
+
includeSubTypes: observable,
|
27
|
+
includeDocumentation: observable,
|
28
|
+
setIncludeSubTypes: action,
|
29
|
+
setIncludeDocumentation: action,
|
30
|
+
});
|
31
|
+
}
|
32
|
+
setIncludeSubTypes(val) {
|
33
|
+
this.includeSubTypes = val;
|
34
|
+
}
|
35
|
+
setIncludeDocumentation(val) {
|
36
|
+
this.includeDocumentation = val;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
//# sourceMappingURL=QueryBuilderFuzzySearchAdvancedConfigState.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderFuzzySearchAdvancedConfigState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderFuzzySearchAdvancedConfigState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,MAAM,OAAO,0CAA2C,SAAQ,8BAA8B;IAC5F,eAAe,GAAG,KAAK,CAAC;IACxB,oBAAoB,GAAG,KAAK,CAAC;IAE7B,YACE,kBAAuC,EACvC,uBAA+C;QAE/C,KAAK,CAAC,GAAG,EAAE;YACT,kBAAkB,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;QACH,cAAc,CAAC,IAAI,EAAE;YACnB,eAAe,EAAE,UAAU;YAC3B,oBAAoB,EAAE,UAAU;YAChC,kBAAkB,EAAE,MAAM;YAC1B,uBAAuB,EAAE,MAAM;SAChC,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB,CAAC,GAAY;QAC7B,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC;IAC7B,CAAC;IAED,uBAAuB,CAAC,GAAY;QAClC,IAAI,CAAC,oBAAoB,GAAG,GAAG,CAAC;IAClC,CAAC;CACF"}
|
@@ -13,10 +13,11 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { ActionState, FuzzySearchEngine
|
16
|
+
import { ActionState, FuzzySearchEngine } from '@finos/legend-shared';
|
17
17
|
import { QUERY_BUILDER_PROPERTY_SEARCH_TYPE } from '../QueryBuilderConfig.js';
|
18
18
|
import { type QueryBuilderExplorerTreeNodeData } from './QueryBuilderExplorerState.js';
|
19
19
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
20
|
+
import { QueryBuilderFuzzySearchAdvancedConfigState } from './QueryBuilderFuzzySearchAdvancedConfigState.js';
|
20
21
|
export declare class QueryBuilderPropertySearchState {
|
21
22
|
queryBuilderState: QueryBuilderState;
|
22
23
|
/**
|
@@ -32,7 +33,8 @@ export declare class QueryBuilderPropertySearchState {
|
|
32
33
|
*/
|
33
34
|
indexedExplorerTreeNodes: QueryBuilderExplorerTreeNodeData[];
|
34
35
|
searchEngine: FuzzySearchEngine<QueryBuilderExplorerTreeNodeData>;
|
35
|
-
searchConfigurationState:
|
36
|
+
searchConfigurationState: QueryBuilderFuzzySearchAdvancedConfigState;
|
37
|
+
initializationState: ActionState;
|
36
38
|
searchState: ActionState;
|
37
39
|
searchText: string;
|
38
40
|
searchResults: QueryBuilderExplorerTreeNodeData[];
|
@@ -45,10 +47,12 @@ export declare class QueryBuilderPropertySearchState {
|
|
45
47
|
setIsSearchPanelOpen(val: boolean): void;
|
46
48
|
setIsSearchPanelHidden(val: boolean): void;
|
47
49
|
setShowSearchConfigurationMenu(val: boolean): void;
|
50
|
+
setSearchResults(val: QueryBuilderExplorerTreeNodeData[]): void;
|
51
|
+
setIsOverSearchLimit(val: boolean): void;
|
48
52
|
setSearchText(val: string): void;
|
49
53
|
resetSearch(): void;
|
50
54
|
toggleFilterForType(val: QUERY_BUILDER_PROPERTY_SEARCH_TYPE): void;
|
51
|
-
search(): void
|
55
|
+
search(): Promise<void>;
|
52
56
|
/**
|
53
57
|
* From the current explorer tree, navigate breadth-first to find more mapped
|
54
58
|
* property nodes, then index these property nodes for searching.
|
@@ -57,7 +61,7 @@ export declare class QueryBuilderPropertySearchState {
|
|
57
61
|
* this process is often not the performance bottleneck, else, we would need to make this
|
58
62
|
* asynchronous and block the UI while waiting.
|
59
63
|
*/
|
60
|
-
initialize(): void
|
64
|
+
initialize(): Promise<void>;
|
61
65
|
get filteredSearchResults(): QueryBuilderExplorerTreeNodeData[];
|
62
66
|
}
|
63
67
|
//# 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,
|
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+B;IAC1C,iBAAiB,EAAE,iBAAiB,CAAC;IAErC;;;;;;;;;;OAUG;IACH,wBAAwB,EAAE,gCAAgC,EAAE,CAAM;IAGlE,YAAY,EAAE,iBAAiB,CAAC,gCAAgC,CAAC,CAAC;IAClE,wBAAwB,EAAE,0CAA0C,CAAC;IACrE,mBAAmB,cAAwB;IAC3C,WAAW,cAAwB;IACnC,UAAU,SAAM;IAChB,aAAa,EAAE,gCAAgC,EAAE,CAAM;IACvD,iBAAiB,UAAS;IAC1B,iBAAiB,UAAS;IAC1B,mBAAmB,UAAS;IAC5B,2BAA2B,UAAS;IAGpC,WAAW,uCAMT;gBAEU,iBAAiB,EAAE,iBAAiB;IAgChD,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIxC,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI1C,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIlD,gBAAgB,CAAC,GAAG,EAAE,gCAAgC,EAAE,GAAG,IAAI;IAI/D,oBAAoB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIxC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhC,WAAW,IAAI,IAAI;IAMnB,mBAAmB,CAAC,GAAG,EAAE,kCAAkC,GAAG,IAAI;IAQ5D,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IA8E7B;;;;;;;OAOG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IA0NjC,IAAI,qBAAqB,IAAI,gCAAgC,EAAE,CAwD9D;CACF"}
|
@@ -14,10 +14,12 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
|
17
|
-
import { ActionState, FuzzySearchEngine, addUniqueEntry, deleteEntry, guaranteeNonNullable,
|
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
20
|
import { getQueryBuilderPropertyNodeData, getQueryBuilderSubTypeNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, } from './QueryBuilderExplorerState.js';
|
21
|
+
import { QueryBuilderFuzzySearchAdvancedConfigState } from './QueryBuilderFuzzySearchAdvancedConfigState.js';
|
22
|
+
import { prettyPropertyNameForSubType, prettyPropertyNameFromNodeId, } from '../../components/explorer/QueryBuilderPropertySearchPanel.js';
|
21
23
|
export class QueryBuilderPropertySearchState {
|
22
24
|
queryBuilderState;
|
23
25
|
/**
|
@@ -35,6 +37,7 @@ export class QueryBuilderPropertySearchState {
|
|
35
37
|
// search
|
36
38
|
searchEngine;
|
37
39
|
searchConfigurationState;
|
40
|
+
initializationState = ActionState.create();
|
38
41
|
searchState = ActionState.create();
|
39
42
|
searchText = '';
|
40
43
|
searchResults = [];
|
@@ -63,6 +66,8 @@ export class QueryBuilderPropertySearchState {
|
|
63
66
|
filteredSearchResults: computed,
|
64
67
|
search: action,
|
65
68
|
resetSearch: action,
|
69
|
+
setSearchResults: action,
|
70
|
+
setIsOverSearchLimit: action,
|
66
71
|
setSearchText: action,
|
67
72
|
setShowSearchConfigurationMenu: action,
|
68
73
|
setIsSearchPanelOpen: action,
|
@@ -71,7 +76,8 @@ export class QueryBuilderPropertySearchState {
|
|
71
76
|
initialize: action,
|
72
77
|
});
|
73
78
|
this.queryBuilderState = queryBuilderState;
|
74
|
-
this.searchConfigurationState =
|
79
|
+
this.searchConfigurationState =
|
80
|
+
new QueryBuilderFuzzySearchAdvancedConfigState(async () => this.search(), this.queryBuilderState.applicationStore.alertUnhandledError);
|
75
81
|
this.searchEngine = new FuzzySearchEngine(this.indexedExplorerTreeNodes);
|
76
82
|
}
|
77
83
|
setIsSearchPanelOpen(val) {
|
@@ -83,6 +89,12 @@ export class QueryBuilderPropertySearchState {
|
|
83
89
|
setShowSearchConfigurationMenu(val) {
|
84
90
|
this.showSearchConfigurationMenu = val;
|
85
91
|
}
|
92
|
+
setSearchResults(val) {
|
93
|
+
this.searchResults = val;
|
94
|
+
}
|
95
|
+
setIsOverSearchLimit(val) {
|
96
|
+
this.isOverSearchLimit = val;
|
97
|
+
}
|
86
98
|
setSearchText(val) {
|
87
99
|
this.searchText = val;
|
88
100
|
}
|
@@ -99,34 +111,63 @@ export class QueryBuilderPropertySearchState {
|
|
99
111
|
addUniqueEntry(this.typeFilters, val);
|
100
112
|
}
|
101
113
|
}
|
102
|
-
search() {
|
114
|
+
async search() {
|
103
115
|
if (!this.searchText) {
|
104
|
-
this.
|
105
|
-
return;
|
116
|
+
this.setSearchResults([]);
|
117
|
+
return Promise.resolve();
|
106
118
|
}
|
107
119
|
this.searchState.inProgress();
|
108
|
-
//
|
109
|
-
//
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
//
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
120
|
+
// Perform the search in a setTimeout so we can execute it asynchronously and
|
121
|
+
// show the loading indicator while search is in progress.
|
122
|
+
return new Promise((resolve) => setTimeout(() => {
|
123
|
+
// NOTE: performanced of fuzzy search is impacted by the number of indexed entries and the length
|
124
|
+
// of the search pattern, so to a certain extent this could become laggy. If this becomes too inconvenient
|
125
|
+
// for the users, we might need to use another fuzzy-search implementation, or have appropriate search
|
126
|
+
// policy, e.g. limit length of search text, etc.
|
127
|
+
//
|
128
|
+
// See https://github.com/farzher/fuzzysort
|
129
|
+
const classNodes = new Map();
|
130
|
+
const searchResults = Array.from(this.searchEngine
|
131
|
+
.search(this.searchConfigurationState.generateSearchText(this.searchText.toLowerCase()), {
|
132
|
+
// NOTE: search for limit + 1 item so we can know if there are more search results
|
133
|
+
limit: QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT + 1,
|
134
|
+
})
|
135
|
+
.values())
|
136
|
+
.map((result) => result.item)
|
137
|
+
.map((node) => {
|
138
|
+
if (node.type instanceof Class) {
|
139
|
+
classNodes.set(node.id, node);
|
140
|
+
}
|
141
|
+
return node;
|
142
|
+
})
|
143
|
+
.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
|
+
}
|
156
|
+
}
|
157
|
+
return true;
|
158
|
+
});
|
159
|
+
// check if the search results exceed the limit
|
160
|
+
if (searchResults.length > QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT) {
|
161
|
+
this.setIsOverSearchLimit(true);
|
162
|
+
this.setSearchResults(searchResults.slice(0, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT));
|
163
|
+
}
|
164
|
+
else {
|
165
|
+
this.setIsOverSearchLimit(false);
|
166
|
+
this.setSearchResults(searchResults);
|
167
|
+
}
|
168
|
+
this.searchState.complete();
|
169
|
+
resolve();
|
170
|
+
}, 0));
|
130
171
|
}
|
131
172
|
/**
|
132
173
|
* From the current explorer tree, navigate breadth-first to find more mapped
|
@@ -136,102 +177,151 @@ export class QueryBuilderPropertySearchState {
|
|
136
177
|
* this process is often not the performance bottleneck, else, we would need to make this
|
137
178
|
* asynchronous and block the UI while waiting.
|
138
179
|
*/
|
139
|
-
initialize() {
|
140
|
-
this.
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
.
|
145
|
-
|
146
|
-
|
147
|
-
|
180
|
+
async initialize() {
|
181
|
+
this.initializationState.inProgress();
|
182
|
+
// Perform the initialization in a setTimeout so we can execute it asynchronously and
|
183
|
+
// show the loading indicator while initialization is in progress.
|
184
|
+
return new Promise((resolve) => setTimeout(() => {
|
185
|
+
this.indexedExplorerTreeNodes = [];
|
186
|
+
let currentLevelPropertyNodes = [];
|
187
|
+
let nextLevelPropertyNodes = [];
|
188
|
+
// 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
|
191
|
+
.get(rootId)
|
192
|
+
?.childrenIds.map((childId) => this.queryBuilderState.explorerState.nonNullableTreeData.nodes.get(childId)))
|
193
|
+
.flat()
|
194
|
+
.filter(isNonNullable)
|
195
|
+
.filter((node) => node.mappingData.mapped &&
|
196
|
+
this.searchConfigurationState.includeSubTypes
|
197
|
+
? true
|
198
|
+
: node instanceof QueryBuilderExplorerTreePropertyNodeData)).forEach((node) => {
|
199
|
+
if (node.mappingData.mapped && !node.isPartOfDerivedPropertyBranch) {
|
200
|
+
currentLevelPropertyNodes.push(node);
|
201
|
+
this.indexedExplorerTreeNodes.push(node);
|
202
|
+
}
|
203
|
+
});
|
204
|
+
// ensure we don't navigate more nodes than the limit so we could
|
205
|
+
// keep the initialization/indexing time within acceptable range
|
206
|
+
const NODE_LIMIT = this.indexedExplorerTreeNodes.length +
|
207
|
+
QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES;
|
208
|
+
const addNode = (node) => runInAction(() => {
|
209
|
+
if (this.indexedExplorerTreeNodes.length > NODE_LIMIT) {
|
210
|
+
return;
|
211
|
+
}
|
148
212
|
this.indexedExplorerTreeNodes.push(node);
|
149
|
-
}
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
: getAllClassProperties(node.type).concat(getAllClassDerivedProperties(node.type))).forEach((property) => {
|
175
|
-
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(property, node, guaranteeNonNullable(this.queryBuilderState.explorerState
|
176
|
-
.mappingModelCoverageAnalysisResult));
|
177
|
-
if (propertyTreeNodeData?.mappingData.mapped &&
|
178
|
-
!propertyTreeNodeData.isPartOfDerivedPropertyBranch) {
|
179
|
-
nextLevelPropertyNodes.push(propertyTreeNodeData);
|
180
|
-
addNode(propertyTreeNodeData);
|
181
|
-
}
|
182
|
-
});
|
213
|
+
});
|
214
|
+
// limit the depth of navigation to keep the initialization/indexing
|
215
|
+
// time within acceptable range
|
216
|
+
let currentDepth = 1;
|
217
|
+
while (currentLevelPropertyNodes.length &&
|
218
|
+
currentDepth <= QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH) {
|
219
|
+
const node = currentLevelPropertyNodes.shift();
|
220
|
+
if (node?.mappingData.mapped &&
|
221
|
+
node.childrenIds.length &&
|
222
|
+
(node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
223
|
+
(this.searchConfigurationState.includeSubTypes &&
|
224
|
+
node instanceof QueryBuilderExplorerTreeSubTypeNodeData)) &&
|
225
|
+
node.type instanceof Class) {
|
226
|
+
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
227
|
+
? getAllOwnClassProperties(node.type)
|
228
|
+
: getAllClassProperties(node.type).concat(getAllClassDerivedProperties(node.type))).forEach((property) => {
|
229
|
+
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(property, node, guaranteeNonNullable(this.queryBuilderState.explorerState
|
230
|
+
.mappingModelCoverageAnalysisResult));
|
231
|
+
if (propertyTreeNodeData?.mappingData.mapped &&
|
232
|
+
!propertyTreeNodeData.isPartOfDerivedPropertyBranch) {
|
233
|
+
nextLevelPropertyNodes.push(propertyTreeNodeData);
|
234
|
+
addNode(propertyTreeNodeData);
|
235
|
+
}
|
236
|
+
});
|
237
|
+
if (this.searchConfigurationState.includeSubTypes) {
|
183
238
|
node.type._subclasses.forEach((subclass) => {
|
184
239
|
const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, node, guaranteeNonNullable(this.queryBuilderState.explorerState
|
185
240
|
.mappingModelCoverageAnalysisResult));
|
186
|
-
|
187
|
-
|
241
|
+
if (subTypeTreeNodeData.mappingData.mapped) {
|
242
|
+
nextLevelPropertyNodes.push(subTypeTreeNodeData);
|
243
|
+
addNode(subTypeTreeNodeData);
|
244
|
+
}
|
188
245
|
});
|
189
246
|
}
|
190
247
|
}
|
248
|
+
// when we done processing one depth, we will do check on the depth and the total
|
249
|
+
// number of indexed nodes to figure out if we should proceed further
|
250
|
+
if (!currentLevelPropertyNodes.length &&
|
251
|
+
this.indexedExplorerTreeNodes.length < NODE_LIMIT) {
|
252
|
+
currentLevelPropertyNodes = nextLevelPropertyNodes;
|
253
|
+
nextLevelPropertyNodes = [];
|
254
|
+
currentDepth++;
|
255
|
+
}
|
191
256
|
}
|
192
|
-
//
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
257
|
+
// indexing
|
258
|
+
this.searchEngine = new FuzzySearchEngine(this.indexedExplorerTreeNodes, {
|
259
|
+
includeScore: true,
|
260
|
+
shouldSort: true,
|
261
|
+
// Ignore location when computing the search score
|
262
|
+
// See https://fusejs.io/concepts/scoring-theory.html
|
263
|
+
ignoreLocation: true,
|
264
|
+
// This specifies the point the search gives up
|
265
|
+
// `0.0` means exact match where `1.0` would match anything
|
266
|
+
// We set a relatively low threshold to filter out irrelevant results
|
267
|
+
threshold: 0.2,
|
268
|
+
keys: [
|
269
|
+
{
|
270
|
+
name: 'path',
|
271
|
+
weight: 4,
|
272
|
+
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);
|
280
|
+
return fullPath;
|
281
|
+
},
|
282
|
+
},
|
283
|
+
...(this.searchConfigurationState.includeDocumentation
|
284
|
+
? [
|
285
|
+
{
|
286
|
+
name: 'taggedValues',
|
287
|
+
weight: 2,
|
288
|
+
// aggregate the property documentation, do not account for class documentation
|
289
|
+
getFn: (node) => node instanceof QueryBuilderExplorerTreePropertyNodeData
|
290
|
+
? node.property.taggedValues
|
291
|
+
.filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
|
292
|
+
CORE_PURE_PATH.PROFILE_DOC &&
|
293
|
+
taggedValue.tag.value.value === PURE_DOC_TAG)
|
294
|
+
.map((taggedValue) => taggedValue.value)
|
295
|
+
.join('\n')
|
296
|
+
: '',
|
297
|
+
},
|
298
|
+
]
|
299
|
+
: []),
|
300
|
+
],
|
301
|
+
sortFn: (a, b) => {
|
302
|
+
// If 2 items have similar scores, we should prefer the one that is
|
303
|
+
// less deeply nested.
|
304
|
+
const similarScores = Math.abs(a.score - b.score) <= 0.1;
|
305
|
+
if (similarScores) {
|
306
|
+
const aPathLength = a.item[0] && Object.hasOwn(a.item[0], 'v')
|
307
|
+
? a.item[0].v.split('/').length
|
308
|
+
: undefined;
|
309
|
+
const bPathLength = b.item[0] && Object.hasOwn(b.item[0], 'v')
|
310
|
+
? b.item[0].v.split('/').length
|
311
|
+
: undefined;
|
312
|
+
if (aPathLength !== undefined && bPathLength !== undefined) {
|
313
|
+
return aPathLength - bPathLength;
|
314
|
+
}
|
315
|
+
}
|
316
|
+
return a.score - b.score;
|
229
317
|
},
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
318
|
+
// extended search allows for exact word match through single quote
|
319
|
+
// See https://fusejs.io/examples.html#extended-search
|
320
|
+
useExtendedSearch: true,
|
321
|
+
});
|
322
|
+
this.initializationState.complete();
|
323
|
+
resolve();
|
324
|
+
}, 0));
|
235
325
|
}
|
236
326
|
get filteredSearchResults() {
|
237
327
|
return this.searchResults.filter((node) => {
|