@finos/legend-query-builder 0.6.5 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +5 -2
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/index.css +1 -1
  5. package/lib/package.json +1 -1
  6. package/lib/stores/QueryBuilderCommand.js +1 -1
  7. package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +1 -1
  8. package/lib/stores/QueryBuilderValueSpecificationHelper.js +2 -2
  9. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +2 -2
  10. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +2 -2
  11. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +2 -2
  12. package/lib/stores/filter/QueryBuilderFilterState.js +2 -2
  13. package/lib/stores/milestoning/QueryBuilderMilestoningState.js +3 -3
  14. package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -2
  15. package/package.json +8 -8
  16. package/src/components/QueryBuilder.tsx +17 -0
  17. package/src/stores/QueryBuilderCommand.ts +1 -1
  18. package/src/stores/QueryBuilderValueSpecificationHelper.ts +2 -2
  19. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +2 -2
  20. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +2 -2
  21. package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +2 -2
  22. package/src/stores/filter/QueryBuilderFilterState.ts +2 -2
  23. package/src/stores/milestoning/QueryBuilderMilestoningState.ts +3 -3
  24. package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAyBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAqBxE,eAAO,MAAM,mCAAmC,qCACZ,CAAC;AAgHrC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgWjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA0BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAqBxE,eAAO,MAAM,mCAAmC,qCACZ,CAAC;AAgIrC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAgWjD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, } from '@finos/legend-art';
18
+ import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, } from '@finos/legend-art';
19
19
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
20
20
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
21
21
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
@@ -43,6 +43,7 @@ const QueryBuilderStatusBar = observer((props) => {
43
43
  const showDiff = () => queryBuilderState.changeDetectionState.showDiffViewPanel();
44
44
  const openLambdaEditor = (mode) => queryBuilderState.textEditorState.openModal(mode);
45
45
  const compile = applicationStore.guardUnhandledError(() => flowResult(queryBuilderState.compileQuery()));
46
+ const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
46
47
  return (_jsxs("div", { className: "query-builder__status-bar", children: [_jsx("div", { className: "query-builder__status-bar__left" }), _jsxs("div", { className: "query-builder__status-bar__right", children: [queryBuilderState.changeDetectionState.initState.hasCompleted && (_jsxs(_Fragment, { children: [_jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__view-diff-btn'), disabled: !queryBuilderState.changeDetectionState.hasChanged, onClick: showDiff, tabIndex: -1, title: queryBuilderState.changeDetectionState.hasChanged
47
48
  ? 'Show changes'
48
49
  : 'Query has not been changed', children: _jsx(DiffIcon, {}) }), queryBuilderState.changeDetectionState.diffViewState && (_jsx(QueryBuilderDiffViewPanel, { diffViewState: queryBuilderState.changeDetectionState.diffViewState }))] })), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__compile-btn', {
@@ -53,7 +54,9 @@ const QueryBuilderStatusBar = observer((props) => {
53
54
  }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.JSON), tabIndex: -1, title: "View Query JSON", children: `{ }` }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
54
55
  'query-builder__status-bar__action__toggler--toggled': queryBuilderState.textEditorState.mode ===
55
56
  QueryBuilderTextEditorMode.TEXT,
56
- }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, title: "View Query in Pure", children: _jsx(HackerIcon, {}) })] })] }));
57
+ }), onClick: () => openLambdaEditor(QueryBuilderTextEditorMode.TEXT), tabIndex: -1, title: "View Query in Pure", children: _jsx(HackerIcon, {}) }), _jsx("button", { className: clsx('query-builder__status-bar__action query-builder__status-bar__action__toggler', {
58
+ 'query-builder__status-bar__action__toggler--toggled': !applicationStore.assistantService.isHidden,
59
+ }), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children: _jsx(AssistantIcon, {}) })] })] }));
57
60
  });
58
61
  const QueryBuilderPostGraphFetchPanel = observer((props) => {
59
62
  const { graphFetchState } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,GACZ,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,kCAAkC,EAAE,MAAM,kDAAkD,CAAC;AACtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;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+B,IAC9B,iBAAiB,EAAE,iBAAiB,GACpC,GACa,EAChB,2BAA2B,IAAI,CAC9B,KAAC,sBAAsB,KAAG,CAC3B,EACA,2BAA2B,IAAI,CAC9B,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,YACzB,wBAAwB,EAAE,GACZ,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,GACc,EAChB,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,sBAAsB,KAAG,CAC3B,EACA,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,IACG,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,u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,YACzB,wBAAwB,EAAE,GACZ,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,GACc,EAChB,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,sBAAsB,KAAG,CAC3B,EACA,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,IACG,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v0.6.5
1
+ /** @license @finos/legend-query-builder v0.6.7
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -20,7 +20,7 @@ export var QUERY_BUILDER_COMMAND_KEY;
20
20
  export const QUERY_BUILDER_COMMAND_CONFIG = {
21
21
  [QUERY_BUILDER_COMMAND_KEY.COMPILE]: {
22
22
  title: 'Query Builder: Compile query',
23
- defaultKeyboardShortcut: 'f9',
23
+ defaultKeyboardShortcut: 'F9',
24
24
  },
25
25
  };
26
26
  //# sourceMappingURL=QueryBuilderCommand.js.map
@@ -62,5 +62,5 @@ export declare const extractNullableNumberFromInstanceValue: (value: ValueSpecif
62
62
  * NOTE: Pure doesn't have a nullish value, rather we use empty collection of type Nil
63
63
  */
64
64
  export declare const createNullishValue: (graph: PureModel) => CollectionInstanceValue;
65
- export declare const isValueExpressionReferencesinValue: (variable: VariableExpression, value: ValueSpecification) => boolean;
65
+ export declare const isValueExpressionReferencedInValue: (variable: VariableExpression, value: ValueSpecification) => boolean;
66
66
  //# sourceMappingURL=QueryBuilderValueSpecificationHelper.d.ts.map
@@ -217,12 +217,12 @@ export const extractNullableNumberFromInstanceValue = (value) => {
217
217
  * NOTE: Pure doesn't have a nullish value, rather we use empty collection of type Nil
218
218
  */
219
219
  export const createNullishValue = (graph) => new CollectionInstanceValue(Multiplicity.ZERO, GenericTypeExplicitReference.create(new GenericType(graph.getType(CORE_PURE_PATH.ANY))));
220
- export const isValueExpressionReferencesinValue = (variable, value) => {
220
+ export const isValueExpressionReferencedInValue = (variable, value) => {
221
221
  if (value instanceof VariableExpression) {
222
222
  return value.name === variable.name;
223
223
  }
224
224
  else if (value instanceof INTERNAL__PropagatedValue) {
225
- return isValueExpressionReferencesinValue(variable, value.getValue());
225
+ return isValueExpressionReferencedInValue(variable, value.getValue());
226
226
  }
227
227
  return false;
228
228
  };
@@ -22,7 +22,7 @@ import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-applicati
22
22
  import { appendGraphFetch } from './QueryBuilderGraphFetchTreeValueSpecificationBuilder.js';
23
23
  import { guaranteeNonNullable, hashArray, } from '@finos/legend-shared';
24
24
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
25
- import { isValueExpressionReferencesinValue } from '../../QueryBuilderValueSpecificationHelper.js';
25
+ import { isValueExpressionReferencedInValue } from '../../QueryBuilderValueSpecificationHelper.js';
26
26
  export class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchStructureImplementationState {
27
27
  treeData;
28
28
  /**
@@ -157,7 +157,7 @@ export class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchStructureI
157
157
  }
158
158
  }
159
159
  isVariableUsed(variable) {
160
- return Boolean(Array.from(this.treeData?.nodes.values() ?? []).find((node) => node.tree.parameters.find((p) => isValueExpressionReferencesinValue(variable, p))));
160
+ return Boolean(Array.from(this.treeData?.nodes.values() ?? []).find((node) => node.tree.parameters.find((p) => isValueExpressionReferencedInValue(variable, p))));
161
161
  }
162
162
  get hashCode() {
163
163
  return hashArray([
@@ -22,7 +22,7 @@ import { QueryBuilderProjectionColumnState, QueryBuilderDerivationProjectionColu
22
22
  import { buildProjectionColumnTypeaheadQuery, buildTypeaheadOptions, performTypeahead, } from '../../../QueryBuilderTypeaheadHelper.js';
23
23
  import { QUERY_BUILDER_GROUP_OPERATION } from '../../../QueryBuilderGroupOperationHelper.js';
24
24
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
25
- import { isValueExpressionReferencesinValue } from '../../../QueryBuilderValueSpecificationHelper.js';
25
+ import { isValueExpressionReferencedInValue } from '../../../QueryBuilderValueSpecificationHelper.js';
26
26
  export var QUERY_BUILDER_POST_FILTER_DND_TYPE;
27
27
  (function (QUERY_BUILDER_POST_FILTER_DND_TYPE) {
28
28
  QUERY_BUILDER_POST_FILTER_DND_TYPE["GROUP_CONDITION"] = "GROUP_CONDITION";
@@ -639,7 +639,7 @@ export class QueryBuilderPostFilterState {
639
639
  .filter(filterByType(QueryBuilderPostFilterTreeConditionNodeData))
640
640
  .map((node) => node.condition.value)
641
641
  .filter(isNonNullable)
642
- .find((value) => isValueExpressionReferencesinValue(variable, value)));
642
+ .find((value) => isValueExpressionReferencedInValue(variable, value)));
643
643
  }
644
644
  get hashCode() {
645
645
  return hashArray([
@@ -22,7 +22,7 @@ import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
22
22
  import { DEFAULT_LAMBDA_VARIABLE_NAME, QUERY_BUILDER_SOURCE_ID_LABEL, } from '../../../QueryBuilderConfig.js';
23
23
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
24
24
  import { LambdaEditorState } from '../../../shared/LambdaEditorState.js';
25
- import { isValueExpressionReferencesinValue } from '../../../QueryBuilderValueSpecificationHelper.js';
25
+ import { isValueExpressionReferencedInValue } from '../../../QueryBuilderValueSpecificationHelper.js';
26
26
  export const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = 'PROJECTION_COLUMN';
27
27
  export class QueryBuilderProjectionColumnState extends QueryBuilderTDSColumnState {
28
28
  tdsState;
@@ -61,7 +61,7 @@ export class QueryBuilderSimpleProjectionColumnState extends QueryBuilderProject
61
61
  this.lambdaParameterName = val;
62
62
  }
63
63
  isVariableUsed(variable) {
64
- return Boolean(this.propertyExpressionState.derivedPropertyExpressionStates.find((derived) => derived.parameterValues.find((param) => isValueExpressionReferencesinValue(variable, param))));
64
+ return Boolean(this.propertyExpressionState.derivedPropertyExpressionStates.find((derived) => derived.parameterValues.find((param) => isValueExpressionReferencedInValue(variable, param))));
65
65
  }
66
66
  changeProperty(node, humanizePropertyName) {
67
67
  this.propertyExpressionState = new QueryBuilderPropertyExpressionState(this.tdsState.queryBuilderState, buildPropertyExpressionFromExplorerTreeNodeData(node, this.tdsState.queryBuilderState.explorerState));
@@ -21,7 +21,7 @@ import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
21
21
  import { buildPropertyTypeaheadQuery, buildTypeaheadOptions, performTypeahead, } from '../QueryBuilderTypeaheadHelper.js';
22
22
  import { QUERY_BUILDER_GROUP_OPERATION } from '../QueryBuilderGroupOperationHelper.js';
23
23
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
24
- import { isValueExpressionReferencesinValue } from '../QueryBuilderValueSpecificationHelper.js';
24
+ import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
25
25
  export var QUERY_BUILDER_FILTER_DND_TYPE;
26
26
  (function (QUERY_BUILDER_FILTER_DND_TYPE) {
27
27
  QUERY_BUILDER_FILTER_DND_TYPE["GROUP_CONDITION"] = "GROUP_CONDITION";
@@ -577,7 +577,7 @@ export class QueryBuilderFilterState {
577
577
  .filter(filterByType(QueryBuilderFilterTreeConditionNodeData))
578
578
  .map((node) => node.condition.value)
579
579
  .filter(isNonNullable)
580
- .find((value) => isValueExpressionReferencesinValue(variable, value)));
580
+ .find((value) => isValueExpressionReferencedInValue(variable, value)));
581
581
  }
582
582
  get hashCode() {
583
583
  return hashArray([
@@ -17,7 +17,7 @@ import { GenericType, GenericTypeExplicitReference, getMilestoneTemporalStereoty
17
17
  import { hashArray, guaranteeNonNullable, } from '@finos/legend-shared';
18
18
  import { action, computed, makeObservable, observable } from 'mobx';
19
19
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
20
- import { isValueExpressionReferencesinValue } from '../QueryBuilderValueSpecificationHelper.js';
20
+ import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
21
21
  import { LambdaParameterState } from '../shared/LambdaParameterState.js';
22
22
  import { QueryBuilderBitemporalMilestoningImplementation } from './QueryBuilderBitemporalMilestoningImplementation.js';
23
23
  import { QueryBuilderBusinessTemporalMilestoningImplementation } from './QueryBuilderBusinessTemporalMilestoningImplementation.js';
@@ -97,10 +97,10 @@ export class QueryBuilderMilestoningState {
97
97
  }
98
98
  isVariableUsed(variable) {
99
99
  const usedInBusiness = this.businessDate
100
- ? isValueExpressionReferencesinValue(variable, this.businessDate)
100
+ ? isValueExpressionReferencedInValue(variable, this.businessDate)
101
101
  : false;
102
102
  const usedInProcessingDate = this.processingDate
103
- ? isValueExpressionReferencesinValue(variable, this.processingDate)
103
+ ? isValueExpressionReferencedInValue(variable, this.processingDate)
104
104
  : false;
105
105
  return usedInBusiness || usedInProcessingDate;
106
106
  }
@@ -17,7 +17,7 @@ import { observe_ValueSpecification, GenericTypeExplicitReference, GenericType,
17
17
  import { hashArray } from '@finos/legend-shared';
18
18
  import { makeObservable, observable, action, computed } from 'mobx';
19
19
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
20
- import { isValueExpressionReferencesinValue } from '../QueryBuilderValueSpecificationHelper.js';
20
+ import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
21
21
  export class QueryBuilderWatermarkState {
22
22
  queryBuilderState;
23
23
  value;
@@ -57,7 +57,7 @@ export class QueryBuilderWatermarkState {
57
57
  }
58
58
  isVariableUsed(variable) {
59
59
  return this.value
60
- ? isValueExpressionReferencesinValue(variable, this.value)
60
+ ? isValueExpressionReferencedInValue(variable, this.value)
61
61
  : false;
62
62
  }
63
63
  get hashCode() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,12 +44,12 @@
44
44
  "@ag-grid-community/client-side-row-model": "28.2.1",
45
45
  "@ag-grid-community/core": "28.2.1",
46
46
  "@ag-grid-community/react": "28.2.1",
47
- "@finos/legend-application": "10.0.15",
48
- "@finos/legend-art": "5.0.10",
49
- "@finos/legend-graph": "20.1.6",
50
- "@finos/legend-server-depot": "4.1.9",
51
- "@finos/legend-shared": "6.2.5",
52
- "@finos/legend-storage": "3.0.20",
47
+ "@finos/legend-application": "10.1.1",
48
+ "@finos/legend-art": "5.0.12",
49
+ "@finos/legend-graph": "21.0.0",
50
+ "@finos/legend-server-depot": "4.1.11",
51
+ "@finos/legend-shared": "6.2.7",
52
+ "@finos/legend-storage": "3.0.22",
53
53
  "@testing-library/react": "13.4.0",
54
54
  "@types/papaparse": "5.3.5",
55
55
  "@types/react": "18.0.25",
@@ -64,7 +64,7 @@
64
64
  "serializr": "3.0.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@finos/legend-dev-utils": "2.0.29",
67
+ "@finos/legend-dev-utils": "2.0.30",
68
68
  "@jest/globals": "29.3.1",
69
69
  "cross-env": "7.0.3",
70
70
  "eslint": "8.28.0",
@@ -31,6 +31,7 @@ import {
31
31
  CaretDownIcon,
32
32
  DiffIcon,
33
33
  WaterDropIcon,
34
+ AssistantIcon,
34
35
  } from '@finos/legend-art';
35
36
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
36
37
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
@@ -72,6 +73,8 @@ const QueryBuilderStatusBar = observer(
72
73
  const compile = applicationStore.guardUnhandledError(() =>
73
74
  flowResult(queryBuilderState.compileQuery()),
74
75
  );
76
+ const toggleAssistant = (): void =>
77
+ applicationStore.assistantService.toggleAssistant();
75
78
 
76
79
  return (
77
80
  <div className="query-builder__status-bar">
@@ -150,6 +153,20 @@ const QueryBuilderStatusBar = observer(
150
153
  >
151
154
  <HackerIcon />
152
155
  </button>
156
+ <button
157
+ className={clsx(
158
+ 'query-builder__status-bar__action query-builder__status-bar__action__toggler',
159
+ {
160
+ 'query-builder__status-bar__action__toggler--toggled':
161
+ !applicationStore.assistantService.isHidden,
162
+ },
163
+ )}
164
+ onClick={toggleAssistant}
165
+ tabIndex={-1}
166
+ title="Toggle assistant"
167
+ >
168
+ <AssistantIcon />
169
+ </button>
153
170
  </div>
154
171
  </div>
155
172
  );
@@ -23,6 +23,6 @@ export enum QUERY_BUILDER_COMMAND_KEY {
23
23
  export const QUERY_BUILDER_COMMAND_CONFIG: CommandConfigData = {
24
24
  [QUERY_BUILDER_COMMAND_KEY.COMPILE]: {
25
25
  title: 'Query Builder: Compile query',
26
- defaultKeyboardShortcut: 'f9',
26
+ defaultKeyboardShortcut: 'F9',
27
27
  },
28
28
  };
@@ -344,14 +344,14 @@ export const createNullishValue = (graph: PureModel): CollectionInstanceValue =>
344
344
  ),
345
345
  );
346
346
 
347
- export const isValueExpressionReferencesinValue = (
347
+ export const isValueExpressionReferencedInValue = (
348
348
  variable: VariableExpression,
349
349
  value: ValueSpecification,
350
350
  ): boolean => {
351
351
  if (value instanceof VariableExpression) {
352
352
  return value.name === variable.name;
353
353
  } else if (value instanceof INTERNAL__PropagatedValue) {
354
- return isValueExpressionReferencesinValue(variable, value.getValue());
354
+ return isValueExpressionReferencedInValue(variable, value.getValue());
355
355
  }
356
356
  return false;
357
357
  };
@@ -52,7 +52,7 @@ import {
52
52
  type Hashable,
53
53
  } from '@finos/legend-shared';
54
54
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
55
- import { isValueExpressionReferencesinValue } from '../../QueryBuilderValueSpecificationHelper.js';
55
+ import { isValueExpressionReferencedInValue } from '../../QueryBuilderValueSpecificationHelper.js';
56
56
 
57
57
  export class QueryBuilderGraphFetchTreeState
58
58
  extends QueryBuilderFetchStructureImplementationState
@@ -253,7 +253,7 @@ export class QueryBuilderGraphFetchTreeState
253
253
  return Boolean(
254
254
  Array.from(this.treeData?.nodes.values() ?? []).find((node) =>
255
255
  node.tree.parameters.find((p) =>
256
- isValueExpressionReferencesinValue(variable, p),
256
+ isValueExpressionReferencedInValue(variable, p),
257
257
  ),
258
258
  ),
259
259
  );
@@ -70,7 +70,7 @@ import { QUERY_BUILDER_GROUP_OPERATION } from '../../../QueryBuilderGroupOperati
70
70
  import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
71
71
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
72
72
  import type { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
73
- import { isValueExpressionReferencesinValue } from '../../../QueryBuilderValueSpecificationHelper.js';
73
+ import { isValueExpressionReferencedInValue } from '../../../QueryBuilderValueSpecificationHelper.js';
74
74
 
75
75
  export enum QUERY_BUILDER_POST_FILTER_DND_TYPE {
76
76
  GROUP_CONDITION = 'GROUP_CONDITION',
@@ -885,7 +885,7 @@ export class QueryBuilderPostFilterState
885
885
  .filter(filterByType(QueryBuilderPostFilterTreeConditionNodeData))
886
886
  .map((node) => node.condition.value)
887
887
  .filter(isNonNullable)
888
- .find((value) => isValueExpressionReferencesinValue(variable, value)),
888
+ .find((value) => isValueExpressionReferencedInValue(variable, value)),
889
889
  );
890
890
  }
891
891
 
@@ -57,7 +57,7 @@ import {
57
57
  } from '../../../QueryBuilderConfig.js';
58
58
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
59
59
  import { LambdaEditorState } from '../../../shared/LambdaEditorState.js';
60
- import { isValueExpressionReferencesinValue } from '../../../QueryBuilderValueSpecificationHelper.js';
60
+ import { isValueExpressionReferencedInValue } from '../../../QueryBuilderValueSpecificationHelper.js';
61
61
 
62
62
  export const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = 'PROJECTION_COLUMN';
63
63
 
@@ -130,7 +130,7 @@ export class QueryBuilderSimpleProjectionColumnState
130
130
  this.propertyExpressionState.derivedPropertyExpressionStates.find(
131
131
  (derived) =>
132
132
  derived.parameterValues.find((param) =>
133
- isValueExpressionReferencesinValue(variable, param),
133
+ isValueExpressionReferencedInValue(variable, param),
134
134
  ),
135
135
  ),
136
136
  );
@@ -53,7 +53,7 @@ import {
53
53
  import type { QueryBuilderFilterOperator } from './QueryBuilderFilterOperator.js';
54
54
  import { QUERY_BUILDER_GROUP_OPERATION } from '../QueryBuilderGroupOperationHelper.js';
55
55
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
56
- import { isValueExpressionReferencesinValue } from '../QueryBuilderValueSpecificationHelper.js';
56
+ import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
57
57
 
58
58
  export enum QUERY_BUILDER_FILTER_DND_TYPE {
59
59
  GROUP_CONDITION = 'GROUP_CONDITION',
@@ -800,7 +800,7 @@ export class QueryBuilderFilterState
800
800
  .filter(filterByType(QueryBuilderFilterTreeConditionNodeData))
801
801
  .map((node) => node.condition.value)
802
802
  .filter(isNonNullable)
803
- .find((value) => isValueExpressionReferencesinValue(variable, value)),
803
+ .find((value) => isValueExpressionReferencedInValue(variable, value)),
804
804
  );
805
805
  }
806
806
 
@@ -33,7 +33,7 @@ import {
33
33
  import { action, computed, makeObservable, observable } from 'mobx';
34
34
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
35
35
  import type { QueryBuilderState } from '../QueryBuilderState.js';
36
- import { isValueExpressionReferencesinValue } from '../QueryBuilderValueSpecificationHelper.js';
36
+ import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
37
37
  import { LambdaParameterState } from '../shared/LambdaParameterState.js';
38
38
  import { QueryBuilderBitemporalMilestoningImplementation } from './QueryBuilderBitemporalMilestoningImplementation.js';
39
39
  import { QueryBuilderBusinessTemporalMilestoningImplementation } from './QueryBuilderBusinessTemporalMilestoningImplementation.js';
@@ -176,10 +176,10 @@ export class QueryBuilderMilestoningState implements Hashable {
176
176
 
177
177
  isVariableUsed(variable: VariableExpression): boolean {
178
178
  const usedInBusiness = this.businessDate
179
- ? isValueExpressionReferencesinValue(variable, this.businessDate)
179
+ ? isValueExpressionReferencedInValue(variable, this.businessDate)
180
180
  : false;
181
181
  const usedInProcessingDate = this.processingDate
182
- ? isValueExpressionReferencesinValue(variable, this.processingDate)
182
+ ? isValueExpressionReferencedInValue(variable, this.processingDate)
183
183
  : false;
184
184
  return usedInBusiness || usedInProcessingDate;
185
185
  }
@@ -27,7 +27,7 @@ import { type Hashable, hashArray } from '@finos/legend-shared';
27
27
  import { makeObservable, observable, action, computed } from 'mobx';
28
28
  import { QUERY_BUILDER_HASH_STRUCTURE } from '../../graphManager/QueryBuilderHashUtils.js';
29
29
  import type { QueryBuilderState } from '../QueryBuilderState.js';
30
- import { isValueExpressionReferencesinValue } from '../QueryBuilderValueSpecificationHelper.js';
30
+ import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
31
31
 
32
32
  export class QueryBuilderWatermarkState implements Hashable {
33
33
  readonly queryBuilderState: QueryBuilderState;
@@ -82,7 +82,7 @@ export class QueryBuilderWatermarkState implements Hashable {
82
82
 
83
83
  isVariableUsed(variable: VariableExpression): boolean {
84
84
  return this.value
85
- ? isValueExpressionReferencesinValue(variable, this.value)
85
+ ? isValueExpressionReferencedInValue(variable, this.value)
86
86
  : false;
87
87
  }
88
88