@finos/legend-query-builder 2.1.6 → 2.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  2. package/lib/components/QueryBuilderResultPanel.js +12 -12
  3. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  4. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +12 -2
  5. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  6. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +145 -20
  7. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  8. package/lib/index.css +1 -17
  9. package/lib/index.css.map +1 -1
  10. package/lib/package.json +1 -1
  11. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +3 -0
  12. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
  13. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +19 -1
  14. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  15. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +11 -11
  16. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  17. package/package.json +4 -4
  18. package/src/components/QueryBuilderResultPanel.tsx +17 -14
  19. package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +384 -63
  20. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +34 -0
  21. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts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AAE,CAC9B,kCAAkC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAChD,CACF,CACF,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,iBAAiB;YAC9C,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE;YACzB,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAKL,mCAAmC,EACnC,kBAAkB,EAClB,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,2BAA2B,EAC3B,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kCAAkC,EAClC,iCAAiC,GAElC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,GAC9C,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0DAA0D,CAAC;AAC5F,OAAO,EACL,SAAS,EACT,oBAAoB,EACpB,SAAS,EAET,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AAGnG,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,yDAAmC,CAAA;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S,CAAC;YACf,4BAA4B,CAAC,iBAAiB;YAC9C,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE;YACzB,IAAI,CAAC,QAAQ,EAAE,IAAI,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -83,8 +83,8 @@ export const buildPureSerializationConfig = (config, graph) => {
83
83
  export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) => {
84
84
  const queryBuilderState = graphFetchTreeState.queryBuilderState;
85
85
  const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build graph-fetch tree expression: preceding expression is not defined`);
86
- const seriaizationState = graphFetchTreeState.serializationState;
87
- if (seriaizationState instanceof GraphFetchPureSerializationState) {
86
+ const serializationState = graphFetchTreeState.serializationState;
87
+ if (serializationState instanceof GraphFetchPureSerializationState) {
88
88
  // build graph-fetch tree
89
89
  if (graphFetchTreeState.treeData &&
90
90
  !isGraphFetchTreeDataEmpty(graphFetchTreeState.treeData)) {
@@ -99,21 +99,21 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
99
99
  graphFetchInstance,
100
100
  ];
101
101
  serializeFunction.parametersValues = [graphFetchFunc, graphFetchInstance];
102
- if (seriaizationState.config) {
103
- const configFunction = buildPureSerializationConfig(seriaizationState.config, graphFetchTreeState.queryBuilderState.graphManagerState.graph);
102
+ if (serializationState.config) {
103
+ const configFunction = buildPureSerializationConfig(serializationState.config, graphFetchTreeState.queryBuilderState.graphManagerState.graph);
104
104
  serializeFunction.parametersValues.push(configFunction);
105
105
  }
106
106
  lambdaFunction.expressionSequence[0] = serializeFunction;
107
107
  }
108
108
  }
109
- else if (seriaizationState instanceof GraphFetchExternalFormatSerializationState) {
109
+ else if (serializationState instanceof GraphFetchExternalFormatSerializationState) {
110
110
  const externalizeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.EXTERNALIZE));
111
111
  const mainGraphTree = graphFetchTreeState.treeData;
112
- const externalizeTree = seriaizationState.treeData;
112
+ const externalizeGraphFetchTreeData = serializationState.treeData;
113
113
  if (mainGraphTree &&
114
- externalizeTree &&
114
+ externalizeGraphFetchTreeData &&
115
115
  !isGraphFetchTreeDataEmpty(mainGraphTree) &&
116
- !isGraphFetchTreeDataEmpty(externalizeTree)) {
116
+ !isGraphFetchTreeDataEmpty(externalizeGraphFetchTreeData)) {
117
117
  // 0th param
118
118
  const graphFetchInstance = new GraphFetchTreeInstanceValue();
119
119
  graphFetchInstance.values = [mainGraphTree.tree];
@@ -127,11 +127,11 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
127
127
  // 1st param
128
128
  const bindingInstance = new InstanceValue(Multiplicity.ONE, undefined);
129
129
  bindingInstance.values = [
130
- PackageableElementExplicitReference.create(seriaizationState.targetBinding),
130
+ PackageableElementExplicitReference.create(serializationState.targetBinding),
131
131
  ];
132
132
  // 2nd parameter
133
133
  const xtGraphFetchInstance = new GraphFetchTreeInstanceValue();
134
- xtGraphFetchInstance.values = [externalizeTree.tree];
134
+ xtGraphFetchInstance.values = [externalizeGraphFetchTreeData.tree];
135
135
  // build externalize
136
136
  externalizeFunction.parametersValues = [
137
137
  graphFetchFunc,
@@ -142,7 +142,7 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
142
142
  }
143
143
  }
144
144
  else {
145
- throw new UnsupportedOperationError(`Unsupported serialization state ${seriaizationState.getLabel()}`);
145
+ throw new UnsupportedOperationError(`Unsupported serialization state ${serializationState.getLabel()}`);
146
146
  }
147
147
  // build result set modifier: i.e. preview limit
148
148
  if (options?.isBuildingExecutionQuery) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA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,CAAC,gBAAgB,GAAG;gBACrC,cAAc;gBACd,eAAe;gBACf,oBAAoB;aACrB,CAAC;YACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;SAC5D;KACF;SAAM;QACL,MAAM,IAAI,yBAAyB,CACjC,mCAAmC,iBAAiB,CAAC,QAAQ,EAAE,EAAE,CAClE,CAAC;KACH;IACD,gDAAgD;IAChD,IAAI,OAAO,EAAE,wBAAwB,EAAE;QACrC,eAAe,CAAC,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,yDAAyD,CAAC;AAC5G,OAAO,EACL,0CAA0C,EAC1C,gCAAgC,GAEjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,eAAe,GAAG,CACtB,MAAsB,EACtB,YAAiC,EACjB,EAAE;IAClB,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,MAAM,CAAC;KACf;IACD,IAAI,MAAM,CAA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,wBAAwB,CACjD,mBAAmB,CAAC,SAAS;gBAC3B,CAAC,CAAC,0BAA0B,CACxB,iCAAiC,CAAC,mBAAmB,CACtD;gBACH,CAAC,CAAC,0BAA0B,CACxB,iCAAiC,CAAC,WAAW,CAC9C,CACN,CAAC;YACF,cAAc,CAAC,gBAAgB,GAAG;gBAChC,mBAAmB;gBACnB,kBAAkB;aACnB,CAAC;YACF,YAAY;YACZ,MAAM,eAAe,GAAG,IAAI,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YACvE,eAAe,CAAC,MAAM,GAAG;gBACvB,mCAAmC,CAAC,MAAM,CACxC,kBAAkB,CAAC,aAAa,CACjC;aACF,CAAC;YACF,gBAAgB;YAChB,MAAM,oBAAoB,GAAG,IAAI,2BAA2B,EAAE,CAAC;YAC/D,oBAAoB,CAAC,MAAM,GAAG,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;YACnE,oBAAoB;YACpB,mBAAmB,CAAC,gBAAgB,GAAG;gBACrC,cAAc;gBACd,eAAe;gBACf,oBAAoB;aACrB,CAAC;YACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;SAC5D;KACF;SAAM;QACL,MAAM,IAAI,yBAAyB,CACjC,mCAAmC,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CACnE,CAAC;KACH;IACD,gDAAgD;IAChD,IAAI,OAAO,EAAE,wBAAwB,EAAE;QACrC,eAAe,CAAC,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -41,10 +41,10 @@
41
41
  "test:watch": "jest --watch"
42
42
  },
43
43
  "dependencies": {
44
- "@finos/legend-application": "14.0.3",
44
+ "@finos/legend-application": "14.0.4",
45
45
  "@finos/legend-art": "7.0.0",
46
- "@finos/legend-graph": "27.0.2",
47
- "@finos/legend-lego": "0.1.3",
46
+ "@finos/legend-graph": "27.0.3",
47
+ "@finos/legend-lego": "0.1.4",
48
48
  "@finos/legend-server-depot": "4.4.14",
49
49
  "@finos/legend-shared": "8.2.0",
50
50
  "@finos/legend-storage": "3.0.48",
@@ -57,7 +57,7 @@ import {
57
57
  prettyDuration,
58
58
  prettyCONSTName,
59
59
  } from '@finos/legend-shared';
60
- import { forwardRef, useState } from 'react';
60
+ import { type MutableRefObject, forwardRef, useRef } from 'react';
61
61
  import {
62
62
  QueryBuilderDerivationProjectionColumnState,
63
63
  QueryBuilderProjectionColumnState,
@@ -94,7 +94,7 @@ const QueryBuilderGridResultContextMenu = observer(
94
94
  forwardRef<
95
95
  HTMLDivElement,
96
96
  {
97
- event: DataGridCellMouseOverEvent | null;
97
+ event: MutableRefObject<DataGridCellMouseOverEvent | null>;
98
98
  tdsState: QueryBuilderTDSState;
99
99
  }
100
100
  >(function QueryBuilderResultContextMenu(props, ref) {
@@ -108,10 +108,10 @@ const QueryBuilderGridResultContextMenu = observer(
108
108
  const postFilterState = tdsState.postFilterState;
109
109
  const projectionColumnState = guaranteeNonNullable(
110
110
  tdsState.projectionColumns
111
- .filter((c) => c.columnName === event?.column.getColId())
111
+ .filter((c) => c.columnName === event.current?.column.getColId())
112
112
  .concat(
113
113
  tdsState.aggregationState.columns
114
- .filter((c) => c.columnName === event?.column.getColId())
114
+ .filter((c) => c.columnName === event.current?.column.getColId())
115
115
  .map((ag) => ag.projectionColumnState),
116
116
  )[0],
117
117
  );
@@ -142,7 +142,7 @@ const QueryBuilderGridResultContextMenu = observer(
142
142
  const updateFilterConditionValue = (
143
143
  conditionValue: InstanceValue,
144
144
  ): void => {
145
- if (event?.value !== null) {
145
+ if (event.current?.value !== null) {
146
146
  instanceValue_setValue(
147
147
  conditionValue,
148
148
  conditionValue instanceof EnumValueInstanceValue
@@ -151,10 +151,10 @@ const QueryBuilderGridResultContextMenu = observer(
151
151
  (
152
152
  conditionValue.genericType?.ownerReference
153
153
  .value as Enumeration
154
- ).values.filter((v) => v.name === event?.value)[0],
154
+ ).values.filter((v) => v.name === event.current?.value)[0],
155
155
  ),
156
156
  )
157
- : event?.value,
157
+ : event.current?.value,
158
158
  0,
159
159
  tdsState.queryBuilderState.observerContext,
160
160
  );
@@ -221,7 +221,7 @@ const QueryBuilderGridResultContextMenu = observer(
221
221
  (conditionState.value instanceof EnumValueInstanceValue
222
222
  ? conditionState.value.values.map((ef) => ef.value.name)
223
223
  : conditionState.value.values
224
- ).includes(event?.value);
224
+ ).includes(event.current?.value);
225
225
  if (!doesValueAlreadyExist) {
226
226
  const currentValueSpecificaton = conditionState.value;
227
227
  const newValueSpecification =
@@ -249,7 +249,7 @@ const QueryBuilderGridResultContextMenu = observer(
249
249
  : (v as InstanceValue).values,
250
250
  )
251
251
  .flat()
252
- .includes(event?.value);
252
+ .includes(event.current?.value);
253
253
  if (!doesValueAlreadyExist) {
254
254
  const newValueSpecification = (
255
255
  isFilterBy ? postFilterEqualOperator : postFilterNotEqualOperator
@@ -285,12 +285,14 @@ const QueryBuilderGridResultContextMenu = observer(
285
285
  };
286
286
 
287
287
  const handleCopyCellValue = applicationStore.guardUnhandledError(() =>
288
- applicationStore.clipboardService.copyTextToClipboard(event?.value),
288
+ applicationStore.clipboardService.copyTextToClipboard(
289
+ event.current?.value,
290
+ ),
289
291
  );
290
292
 
291
293
  const handleCopyRowValue = applicationStore.guardUnhandledError(() =>
292
294
  applicationStore.clipboardService.copyTextToClipboard(
293
- Object.values(event?.data).toString(),
295
+ Object.values(event.current?.data).toString(),
294
296
  ),
295
297
  );
296
298
 
@@ -330,8 +332,9 @@ const QueryBuilderGridResult = observer(
330
332
  const { executionResult, queryBuilderState } = props;
331
333
  const fetchStructureImplementation =
332
334
  queryBuilderState.fetchStructureState.implementation;
333
- const [cellDoubleClickedEvent, setCellDoubleClickedEvent] =
334
- useState<DataGridCellMouseOverEvent | null>(null);
335
+ const cellDoubleClickedEvent = useRef<DataGridCellMouseOverEvent | null>(
336
+ null,
337
+ );
335
338
  const columns = executionResult.result.columns;
336
339
  const rowData = executionResult.result.rows.map((_row, rowIdx) => {
337
340
  const row: PlainObject = {};
@@ -381,7 +384,7 @@ const QueryBuilderGridResult = observer(
381
384
  // in. hence why we set the cell every time we mouse over
382
385
  // rather than making user click multiple times.
383
386
  onCellMouseOver={(event): void => {
384
- setCellDoubleClickedEvent(event);
387
+ cellDoubleClickedEvent.current = event;
385
388
  }}
386
389
  suppressFieldDotNotation={true}
387
390
  columnDefs={columns.map((colName) => ({