@finos/legend-query-builder 4.14.29 → 4.14.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +28 -4
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  5. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -1
  6. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  7. package/lib/index.css +0 -16
  8. package/lib/index.d.ts +1 -0
  9. package/lib/index.d.ts.map +1 -1
  10. package/lib/index.js +1 -0
  11. package/lib/index.js.map +1 -1
  12. package/lib/package.json +1 -1
  13. package/lib/stores/QueryBuilderState.d.ts +7 -1
  14. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  15. package/lib/stores/QueryBuilderState.js +10 -2
  16. package/lib/stores/QueryBuilderState.js.map +1 -1
  17. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
  18. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +2 -1
  19. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  20. package/lib/stores/workflow/QueryBuilderWorkFlowState.d.ts +23 -0
  21. package/lib/stores/workflow/QueryBuilderWorkFlowState.d.ts.map +1 -0
  22. package/lib/stores/workflow/QueryBuilderWorkFlowState.js +24 -0
  23. package/lib/stores/workflow/QueryBuilderWorkFlowState.js.map +1 -0
  24. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +2 -1
  25. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -1
  26. package/lib/stores/workflows/FunctionQueryBuilderState.js +2 -2
  27. package/lib/stores/workflows/FunctionQueryBuilderState.js.map +1 -1
  28. package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -1
  29. package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
  30. package/lib/stores/workflows/MappingQueryBuilderState.js +2 -2
  31. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  32. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -1
  33. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  34. package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
  35. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/components/QueryBuilder.tsx +137 -0
  38. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +2 -0
  39. package/src/index.ts +1 -0
  40. package/src/stores/QueryBuilderState.ts +11 -0
  41. package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +2 -0
  42. package/src/stores/workflow/QueryBuilderWorkFlowState.ts +27 -0
  43. package/src/stores/workflows/FunctionQueryBuilderState.ts +3 -1
  44. package/src/stores/workflows/MappingQueryBuilderState.ts +9 -1
  45. package/src/stores/workflows/ServiceQueryBuilderState.ts +9 -1
  46. package/tsconfig.json +1 -0
@@ -36,6 +36,7 @@ import type { QueryBuilderInternalizeState } from './QueryBuilderInternalizeStat
36
36
  import { type QueryBuilderExecutionContextState } from './QueryBuilderExecutionContextState.js';
37
37
  import type { QueryBuilderConfig } from '../graph-manager/QueryBuilderConfig.js';
38
38
  import { QueryBuilderChangeHistoryState } from './QueryBuilderChangeHistoryState.js';
39
+ import { type QueryBuilderWorkflowState } from './workflow/QueryBuilderWorkFlowState.js';
39
40
  export interface QuerySDLC {
40
41
  }
41
42
  export type QueryStateInfo = QuerySDLC & {
@@ -43,6 +44,10 @@ export type QueryStateInfo = QuerySDLC & {
43
44
  mapping: string;
44
45
  runtime: string;
45
46
  };
47
+ export declare enum QUERY_BUILDER_LAMBDA_WRITER_MODE {
48
+ STANDARD = "STANDARD",
49
+ TYPED_FETCH_STRUCTURE = "TYPED_FETCH_STRUCTURE"
50
+ }
46
51
  export declare abstract class QueryBuilderState implements CommandRegistrar {
47
52
  readonly applicationStore: GenericLegendApplicationStore;
48
53
  readonly graphManagerState: GraphManagerState;
@@ -50,6 +55,7 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
50
55
  readonly queryCompileState: ActionState;
51
56
  readonly observerContext: ObserverContext;
52
57
  readonly config: QueryBuilderConfig | undefined;
58
+ readonly workflowState: QueryBuilderWorkflowState;
53
59
  explorerState: QueryBuilderExplorerState;
54
60
  functionsExplorerState: QueryFunctionsExplorerState;
55
61
  parametersState: QueryBuilderParametersState;
@@ -77,7 +83,7 @@ export declare abstract class QueryBuilderState implements CommandRegistrar {
77
83
  internalizeState?: QueryBuilderInternalizeState | undefined;
78
84
  sourceInfo?: QuerySDLC | undefined;
79
85
  TEMPORARY__setupPanelContentRenderer?: (() => React.ReactNode) | undefined;
80
- constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, config: QueryBuilderConfig | undefined, sourceInfo?: QuerySDLC | undefined);
86
+ constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflowState: QueryBuilderWorkflowState, config: QueryBuilderConfig | undefined, sourceInfo?: QuerySDLC | undefined);
81
87
  get isMappingReadOnly(): boolean;
82
88
  get isRuntimeReadOnly(): boolean;
83
89
  get sideBarClassName(): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EAIZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAEL,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CA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PPORTED_GET_ALL_FUNCTIONS, } f
39
39
  import { QueryBuilderExternalExecutionContextState, } from './QueryBuilderExecutionContextState.js';
40
40
  import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
41
41
  import { QueryBuilderChangeHistoryState } from './QueryBuilderChangeHistoryState.js';
42
+ import {} from './workflow/QueryBuilderWorkFlowState.js';
43
+ export var QUERY_BUILDER_LAMBDA_WRITER_MODE;
44
+ (function (QUERY_BUILDER_LAMBDA_WRITER_MODE) {
45
+ QUERY_BUILDER_LAMBDA_WRITER_MODE["STANDARD"] = "STANDARD";
46
+ QUERY_BUILDER_LAMBDA_WRITER_MODE["TYPED_FETCH_STRUCTURE"] = "TYPED_FETCH_STRUCTURE";
47
+ })(QUERY_BUILDER_LAMBDA_WRITER_MODE || (QUERY_BUILDER_LAMBDA_WRITER_MODE = {}));
42
48
  export class QueryBuilderState {
43
49
  applicationStore;
44
50
  graphManagerState;
@@ -46,6 +52,7 @@ export class QueryBuilderState {
46
52
  queryCompileState = ActionState.create();
47
53
  observerContext;
48
54
  config;
55
+ workflowState;
49
56
  explorerState;
50
57
  functionsExplorerState;
51
58
  parametersState;
@@ -78,7 +85,7 @@ export class QueryBuilderState {
78
85
  // NOTE: this makes it so that we need to import components in stores code,
79
86
  // we probably want to refactor to an extension mechanism
80
87
  TEMPORARY__setupPanelContentRenderer;
81
- constructor(applicationStore, graphManagerState, config, sourceInfo) {
88
+ constructor(applicationStore, graphManagerState, workflowState, config, sourceInfo) {
82
89
  makeObservable(this, {
83
90
  explorerState: observable,
84
91
  parametersState: observable,
@@ -144,6 +151,7 @@ export class QueryBuilderState {
144
151
  this.changeDetectionState = new QueryBuilderChangeDetectionState(this);
145
152
  this.changeHistoryState = new QueryBuilderChangeHistoryState(this);
146
153
  this.config = config;
154
+ this.workflowState = workflowState;
147
155
  this.sourceInfo = sourceInfo;
148
156
  }
149
157
  get isMappingReadOnly() {
@@ -522,7 +530,7 @@ export class QueryBuilderState {
522
530
  */
523
531
  INTERNAL__toBasicQueryBuilderState() {
524
532
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
525
- const basicState = new INTERNAL__BasicQueryBuilderState(this.applicationStore, this.graphManagerState, undefined);
533
+ const basicState = new INTERNAL__BasicQueryBuilderState(this.applicationStore, this.graphManagerState, this.workflowState, undefined);
526
534
  basicState.class = this.class;
527
535
  basicState.executionContextState.mapping =
528
536
  this.executionContextState.mapping;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,EACV,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EASL,mBAAmB,EACnB,gBAAgB,EAChB,mCAAmC,EACnC,2BAA2B,EAC3B,SAAS,EACT,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EACnB,8BAA8B,EAC9B,gCAAgC,EAChC,aAAa,EACb,w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AAU,GAAG,IAAI,gCAAgC,CACrD,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,EACtB,SAAS,CACV,CAAC;QACF,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QAC9B,UAAU,CAAC,qBAAqB,CAAC,OAAO;YACtC,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAAC;QACrC,UAAU,CAAC,qBAAqB,CAAC,YAAY;YAC3C,IAAI,CAAC,qBAAqB,CAAC,YAAY,CAAC;QAC1C,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,mBAAmB;YACtD,IAAI,CAAC,qBAAqB;YAC1B,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
1
+ {"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,UAAU,EACV,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,0BAA0B,EAC1B,2BAA2B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,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,sBAAsB;YAC3B,IAAI,CAAC,mBAAmB,CAAC,cAAc;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAED;;;;;;;;;GASG;AACH,MAAM,OAAO,gCAAiC,SAAQ,iBAAiB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateTestUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/__test-utils__/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,KAAK,uBAAuB,EAC5B,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,qCAAqC,EAC1C,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGpD,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,qBAAa,oCACX,SAAQ,8BAA8B,CAAC,uBAAuB,CAC9D,YAAW,yBAAyB;IAEpC,OAAO,CAAC,4BAA4B,CAAqC;IACzE,OAAO,CAAC,uBAAuB,CAAgC;IAC/D,OAAO,CAAC,gBAAgB,CAAyB;IAEjD,OAAO;IAIP,MAAM,CAAC,MAAM,IAAI,oCAAoC;IAIrD,mCAAmC,CACjC,MAAM,EAAE,2BAA2B,GAClC,IAAI;IAIP,8BAA8B,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAIpE,uBAAuB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI;IAItD,0BAA0B,IAAI,sBAAsB,EAAE;IAItD,+BAA+B,IAAI,2BAA2B,EAAE;IAIhE,mBAAmB,IAAI,eAAe,EAAE;CAGzC;AAQD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AE;IAItD,+BAA+B,IAAI,2BAA2B,EAAE;IAIhE,mBAAmB,IAAI,eAAe,EAAE;CAGzC;AAQD,eAAO,MAAM,iCAAiC,4BAE3C,uBAWF,CAAC;AAEF,eAAO,MAAM,4BAA4B,aAC7B,MAAM,EAAE,cACN,SAAS,GAAG,SAAS,qBAE7B;IACE,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,GACD,SAAS,0CAET,qCAAqC,GACrC,SAAS,KACZ,QAAQ,iBAAiB,CAmD3B,CAAC"}
@@ -21,6 +21,7 @@ import { createSpy } from '@finos/legend-shared/test';
21
21
  import { flowResult } from 'mobx';
22
22
  import { QueryBuilder_GraphManagerPreset } from '../../graph-manager/QueryBuilder_GraphManagerPreset.js';
23
23
  import { INTERNAL__BasicQueryBuilderState, } from '../QueryBuilderState.js';
24
+ import { QueryBuilderAdvancedWorkflowState } from '../workflow/QueryBuilderWorkFlowState.js';
24
25
  export class TEST__LegendApplicationPluginManager extends LegendApplicationPluginManager {
25
26
  pureProtocolProcessorPlugins = [];
26
27
  pureGraphManagerPlugins = [];
@@ -73,7 +74,7 @@ export const TEST__setUpQueryBuilderState = async (entities, rawLambda, executio
73
74
  const applicationStore = new ApplicationStore(TEST__getGenericApplicationConfig(), pluginManager);
74
75
  const graphManagerState = TEST__getTestGraphManagerState(pluginManager);
75
76
  await TEST__buildGraphWithEntities(graphManagerState, entities);
76
- const queryBuilderState = new INTERNAL__BasicQueryBuilderState(applicationStore, graphManagerState, undefined);
77
+ const queryBuilderState = new INTERNAL__BasicQueryBuilderState(applicationStore, graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, undefined);
77
78
  if (rawLambda) {
78
79
  queryBuilderState.initializeWithQuery(rawLambda);
79
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderStateTestUtils.js","sourceRoot":"","sources":["../../../src/stores/__test-utils__/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CAAC;QACxD,iBAAiB,CAAC,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAClE,iBAAiB,CAAC,qBAAqB,CAAC,OAAO,GAAG,KAAK,CAAC,UAAU,CAChE,gBAAgB,CAAC,OAAO,CACzB,CAAC;QACF,IAAI,gBAAgB,CAAC,OAAO,EAAE;YAC5B,iBAAiB,CAAC,qBAAqB,CAAC,YAAY,GAAG,KAAK,CAAC,UAAU,CACrE,gBAAgB,CAAC,OAAO,CACzB,CAAC;SACH;KACF;IAED,IAAI,qCAAqC,IAAI,gBAAgB,EAAE;QAC7D,MAAM,KAAK,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;QACxD,SAAS,CACP,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,EAChD,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACtF,qCAAqC,EACrC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAC3C,CACF,CAAC;KACH;IAED,IAAI,qCAAqC,EAAE;QACzC,MAAM,UAAU,CACd,iBAAiB,CAAC,aAAa,CAAC,2BAA2B,EAAE,CAC9D,CAAC;KACH;IAED,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderStateTestUtils.js","sourceRoot":"","sources":["../../../src/stores/__test-utils__/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EAEvB,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAON,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,0BAA0B,CAAC;AAClC,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EAAE;YAC5B,iBAAiB,CAAC,qBAAqB,CAAC,YAAY,GAAG,KAAK,CAAC,UAAU,CACrE,gBAAgB,CAAC,OAAO,CACzB,CAAC;SACH;KACF;IAED,IAAI,qCAAqC,IAAI,gBAAgB,EAAE;QAC7D,MAAM,KAAK,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;QACxD,SAAS,CACP,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,EAChD,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACtF,qCAAqC,EACrC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAC3C,CACF,CAAC;KACH;IAED,IAAI,qCAAqC,EAAE;QACzC,MAAM,UAAU,CACd,iBAAiB,CAAC,aAAa,CAAC,2BAA2B,EAAE,CAC9D,CAAC;KACH;IAED,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC"}
@@ -0,0 +1,23 @@
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
+ export declare abstract class QueryBuilderWorkflowState {
17
+ abstract get showStatusBar(): boolean;
18
+ }
19
+ export declare class QueryBuilderAdvancedWorkflowState extends QueryBuilderWorkflowState {
20
+ get showStatusBar(): boolean;
21
+ static INSTANCE: QueryBuilderAdvancedWorkflowState;
22
+ }
23
+ //# sourceMappingURL=QueryBuilderWorkFlowState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderWorkFlowState.d.ts","sourceRoot":"","sources":["../../../src/stores/workflow/QueryBuilderWorkFlowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,8BAAsB,yBAAyB;IAC7C,QAAQ,KAAK,aAAa,IAAI,OAAO,CAAC;CACvC;AAED,qBAAa,iCAAkC,SAAQ,yBAAyB;IAC9E,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,MAAM,CAAC,QAAQ,oCAA2C;CAC3D"}
@@ -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
+ export class QueryBuilderWorkflowState {
17
+ }
18
+ export class QueryBuilderAdvancedWorkflowState extends QueryBuilderWorkflowState {
19
+ get showStatusBar() {
20
+ return true;
21
+ }
22
+ static INSTANCE = new QueryBuilderAdvancedWorkflowState();
23
+ }
24
+ //# sourceMappingURL=QueryBuilderWorkFlowState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderWorkFlowState.js","sourceRoot":"","sources":["../../../src/stores/workflow/QueryBuilderWorkFlowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,OAAgB,yBAAyB;CAE9C;AAED,MAAM,OAAO,iCAAkC,SAAQ,yBAAyB;IAC9E,IAAI,aAAa;QACf,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,CAAC,QAAQ,GAAG,IAAI,iCAAiC,EAAE,CAAC"}
@@ -17,8 +17,9 @@ import type { GenericLegendApplicationStore } from '@finos/legend-application';
17
17
  import type { ConcreteFunctionDefinition, GraphManagerState } from '@finos/legend-graph';
18
18
  import { ClassQueryBuilderState } from './ClassQueryBuilderState.js';
19
19
  import type { QueryBuilderConfig } from '../../graph-manager/QueryBuilderConfig.js';
20
+ import type { QueryBuilderWorkflowState } from '../workflow/QueryBuilderWorkFlowState.js';
20
21
  export declare class FunctionQueryBuilderState extends ClassQueryBuilderState {
21
22
  readonly functionElement: ConcreteFunctionDefinition;
22
- constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, functionElemenet: ConcreteFunctionDefinition, config: QueryBuilderConfig | undefined);
23
+ constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflowState: QueryBuilderWorkflowState, functionElemenet: ConcreteFunctionDefinition, config: QueryBuilderConfig | undefined);
23
24
  }
24
25
  //# sourceMappingURL=FunctionQueryBuilderState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/workflows/FunctionQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAIpF,qBAAa,yBAA0B,SAAQ,sBAAsB;IACnE,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC;gBAGnD,gBAAgB,EAAE,6BAA6B,EAC/C,iBAAiB,EAAE,iBAAiB,EACpC,gBAAgB,EAAE,0BAA0B,EAC5C,MAAM,EAAE,kBAAkB,GAAG,SAAS;CAMzC"}
1
+ {"version":3,"file":"FunctionQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/workflows/FunctionQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EACV,0BAA0B,EAC1B,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAI1F,qBAAa,yBAA0B,SAAQ,sBAAsB;IACnE,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC;gBAGnD,gBAAgB,EAAE,6BAA6B,EAC/C,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,yBAAyB,EACxC,gBAAgB,EAAE,0BAA0B,EAC5C,MAAM,EAAE,kBAAkB,GAAG,SAAS;CAMzC"}
@@ -18,8 +18,8 @@ import { ClassQueryBuilderState } from './ClassQueryBuilderState.js';
18
18
  // but for now we will use the same setup as class as class, mapping, runtime are editable
19
19
  export class FunctionQueryBuilderState extends ClassQueryBuilderState {
20
20
  functionElement;
21
- constructor(applicationStore, graphManagerState, functionElemenet, config) {
22
- super(applicationStore, graphManagerState, config);
21
+ constructor(applicationStore, graphManagerState, workflowState, functionElemenet, config) {
22
+ super(applicationStore, graphManagerState, workflowState, config);
23
23
  this.functionElement = functionElemenet;
24
24
  this.showParametersPanel = true;
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/FunctionQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,oEAAoE;AACpE,0FAA0F;AAC1F,MAAM,OAAO,yBAA0B,SAAQ,sBAAsB;IAC1D,eAAe,CAA6B;IAErD,YACE,gBAA+C,EAC/C,iBAAoC,EACpC,gBAA4C,EAC5C,MAAsC;QAEtC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;QACnD,IAAI,CAAC,eAAe,GAAG,gBAAgB,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAClC,CAAC;CACF"}
1
+ {"version":3,"file":"FunctionQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/FunctionQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,oEAAoE;AACpE,0FAA0F;AAC1F,MAAM,OAAO,yBAA0B,SAAQ,sBAAsB;IAC1D,eAAe,CAA6B;IAErD,YACE,gBAA+C,EAC/C,iBAAoC,EACpC,aAAwC,EACxC,gBAA4C,EAC5C,MAAsC;QAEtC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,CAAC,CAAC;QAClE,IAAI,CAAC,eAAe,GAAG,gBAAgB,CAAC;QACxC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAClC,CAAC;CACF"}
@@ -17,11 +17,12 @@ import type { GenericLegendApplicationStore } from '@finos/legend-application';
17
17
  import { type Mapping, type Runtime, type GraphManagerState } from '@finos/legend-graph';
18
18
  import { QueryBuilderState } from '../QueryBuilderState.js';
19
19
  import type { QueryBuilderConfig } from '../../graph-manager/QueryBuilderConfig.js';
20
+ import type { QueryBuilderWorkflowState } from '../workflow/QueryBuilderWorkFlowState.js';
20
21
  export declare class MappingQueryBuilderState extends QueryBuilderState {
21
22
  readonly onMappingChange?: ((val: Mapping) => void) | undefined;
22
23
  readonly onRuntimeChange?: ((val: Runtime) => void) | undefined;
23
24
  TEMPORARY__setupPanelContentRenderer: () => React.ReactNode;
24
- constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, onMappingChange?: ((val: Mapping) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: object | undefined);
25
+ constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflowState: QueryBuilderWorkflowState, onMappingChange?: ((val: Mapping) => void) | undefined, onRuntimeChange?: ((val: Runtime) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: object | undefined);
25
26
  /**
26
27
  * Propagation after changing the mapping:
27
28
  * - If no runtime is chosen, try to choose a compatible runtime
@@ -1 +1 @@
1
- {"version":3,"file":"MappingQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/workflows/MappingQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,iBAAiB,EAKvB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,qBAAa,wBAAyB,SAAQ,iBAAiB;IAC7D,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAChE,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEvD,oCAAoC,QAAO,MAAM,SAAS,CAChB;gBAGjD,gBAAgB,EAAE,6BAA6B,EAC/C,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC,GAA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,IAAI,CAAC,GAAG,SAAS,EACtD,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,EACvC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS;IAcjC;;;;;;OAMG;IACH,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;CA6B/C"}
@@ -21,8 +21,8 @@ export class MappingQueryBuilderState extends QueryBuilderState {
21
21
  onMappingChange;
22
22
  onRuntimeChange;
23
23
  TEMPORARY__setupPanelContentRenderer = () => renderMappingQueryBuilderSetupPanelContent(this);
24
- constructor(applicationStore, graphManagerState, onMappingChange, onRuntimeChange, config, sourceInfo) {
25
- super(applicationStore, graphManagerState, config, sourceInfo);
24
+ constructor(applicationStore, graphManagerState, workflowState, onMappingChange, onRuntimeChange, config, sourceInfo) {
25
+ super(applicationStore, graphManagerState, workflowState, config, sourceInfo);
26
26
  this.onMappingChange = onMappingChange;
27
27
  this.onRuntimeChange = onRuntimeChange;
28
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MappingQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/MappingQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,4BAA4B,EAC5B,cAAc,EACd,mCAAmC,EACnC,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,0CAA0C,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,eAAe,CAAwC;IACvD,eAAe,CAAwC;IAEvD,oCAAoC,GAAG,GAAoB,EAAE,CACpE,0CAA0C,CAAC,IAAI,CAAC,CAAC;IAEnD,YACE,gBAA+C,EAC/C,iBAAoC,EACpC,eAAsD,EACtD,eAAsD,EACtD,MAAuC,EACvC,UAA+B;QAE/B,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAE/D,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACzC,CAAC;IAED;;;;;;OAMG;IACH,sBAAsB,CAAC,OAAgB;QACrC,8CAA8C;QAC9C,sDAAsD;QACtD,MAAM,kBAAkB,GAAG,4BAA4B,CACrD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,cAAc,CACtC,CAAC;QACF,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;QACrE,IAAI,kBAAkB,EAAE;YACtB,IAAI,CAAC,aAAa,CAChB,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAC/D,CACF,CAAC;SACH;QAED,MAAM,iBAAiB,GAAG,2BAA2B,CACnD,OAAO,EACP,IAAI,CAAC,iBAAiB,CAAC,aAAa,CACrC,CAAC;QACF,kEAAkE;QAClE,4DAA4D;QAC5D,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;YAClE,IAAI,gBAAgB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"MappingQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/MappingQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAIL,4BAA4B,EAC5B,cAAc,EACd,mCAAmC,EACnC,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO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AI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
@@ -17,6 +17,7 @@ import type { GenericLegendApplicationStore } from '@finos/legend-application';
17
17
  import { type Mapping, type Runtime, type GraphManagerState, type Service } from '@finos/legend-graph';
18
18
  import { QueryBuilderState } from '../QueryBuilderState.js';
19
19
  import type { QueryBuilderConfig } from '../../graph-manager/QueryBuilderConfig.js';
20
+ import type { QueryBuilderWorkflowState } from '../workflow/QueryBuilderWorkFlowState.js';
20
21
  export type ServiceExecutionContext = {
21
22
  key: string;
22
23
  mapping: Mapping;
@@ -30,7 +31,7 @@ export declare class ServiceQueryBuilderState extends QueryBuilderState {
30
31
  readonly onExecutionContextChange?: ((val: ServiceExecutionContext) => void) | undefined;
31
32
  TEMPORARY__setupPanelContentRenderer: () => React.ReactNode;
32
33
  selectedExecutionContext?: ServiceExecutionContext | undefined;
33
- constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, service: Service, usableServices: Service[] | undefined, executionContextKey?: string | undefined, onServiceChange?: ((val: Service) => void) | undefined, onExecutionContextChange?: ((val: ServiceExecutionContext) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: object | undefined);
34
+ constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, workflowState: QueryBuilderWorkflowState, service: Service, usableServices: Service[] | undefined, executionContextKey?: string | undefined, onServiceChange?: ((val: Service) => void) | undefined, onExecutionContextChange?: ((val: ServiceExecutionContext) => void) | undefined, config?: QueryBuilderConfig | undefined, sourceInfo?: object | undefined);
34
35
  setSelectedExecutionContext(val: ServiceExecutionContext): void;
35
36
  get sideBarClassName(): string | undefined;
36
37
  get isMappingReadOnly(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryBuilderState.d.ts","sourceRoot":"","sources":["../../../src/stores/workflows/ServiceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KA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,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAChE,QAAQ,CAAC,wBAAwB,CAAC,EAC9B,CAAC,CAAC,GAAG,EAAE,uBAAuB,KAAK,IAAI,CAAC,GACxC,SAAS,CAAC;IAEL,oCAAoC,QAAO,MAAM,SAAS,CAChB;IAEnD,wBAAwB,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;gBAG7D,gBAAgB,EAAE,6BAA6B,EAC/C,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,yBAAyB,EACxC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,OAAO,EAAE,GAAG,SAAS,EACrC,mBAAmB,CAAC,EAAE,MAAM,GAAG,SAAS,EACxC,eAAe,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,SAAS,EACtD,wBAAwB,CAAC,EACrB,CAAC,CAAC,GAAG,EAAE,uBAAuB,KAAK,IAAI,CAAC,GACxC,SAAS,EACb,MAAM,CAAC,EAAE,kBAAkB,GAAG,SAAS,EACvC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS;IA0DjC,2BAA2B,CAAC,GAAG,EAAE,uBAAuB,GAAG,IAAI;IAI/D,IAAa,gBAAgB,IAAI,MAAM,GAAG,SAAS,CAIlD;IAED,IAAa,iBAAiB,IAAI,OAAO,CAExC;IAED,IAAa,iBAAiB,IAAI,OAAO,CAExC;IAED;;;;;;OAMG;IACH,+BAA+B,CAC7B,gBAAgB,EAAE,uBAAuB,GACxC,IAAI;CAkBR"}
@@ -26,8 +26,8 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
26
26
  onExecutionContextChange;
27
27
  TEMPORARY__setupPanelContentRenderer = () => renderServiceQueryBuilderSetupPanelContent(this);
28
28
  selectedExecutionContext;
29
- constructor(applicationStore, graphManagerState, service, usableServices, executionContextKey, onServiceChange, onExecutionContextChange, config, sourceInfo) {
30
- super(applicationStore, graphManagerState, config, sourceInfo);
29
+ constructor(applicationStore, graphManagerState, workflowState, service, usableServices, executionContextKey, onServiceChange, onExecutionContextChange, config, sourceInfo) {
30
+ super(applicationStore, graphManagerState, workflowState, config, sourceInfo);
31
31
  makeObservable(this, {
32
32
  selectedExecutionContext: observable,
33
33
  setSelectedExecutionContext: action,
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/ServiceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAKL,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,0CAA0C,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAS5D,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,OAAO,CAAU;IACjB,cAAc,CAAwB;IACtC,iBAAiB,GAA8B,EAAE,CAAC;IAClD,eAAe,CAAwC;IACvD,wBAAwB,CAEnB;IAEL,oCAAoC,GAAG,GAAoB,EAAE,CACpE,0CAA0C,CAAC,IAAI,CAAC,CAAC;IAEnD,wBAAwB,CAAuC;IAE/D,YACE,gBAA+C,EAC/C,iBAAoC,EACpC,OAAgB,EAChB,cAAqC,EACrC,mBAAwC,EACxC,eAAsD,EACtD,wBAEa,EACb,MAAuC,EACvC,UAA+B;QAE/B,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAE/D,cAAc,CAAC,IAAI,EAAE;YACnB,wBAAwB,EAAE,UAAU;YACpC,2BAA2B,EAAE,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gB,EAAE;gBACpB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;aACpC;SACF;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"ServiceQueryBuilderState.js","sourceRoot":"","sources":["../../../src/stores/workflows/ServiceQueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAKL,2BAA2B,EAC3B,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,0CAA0C,EAAE,MAAM,mDAAmD,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAU5D,MAAM,OAAO,wBAAyB,SAAQ,iBAAiB;IACpD,OAAO,CAAU;IACjB,cAAc,CAAwB;IACtC,iBAAiB,GAA8B,EAAE,CAAC;IAClD,eAAe,CAAwC;IACvD,wBAAwB,CAEnB;IAEL,oCAAoC,GAAG,GAAoB,EAAE,CACpE,0CAA0C,CAAC,IAAI,CAAC,CAAC;IAEnD,wBAAwB,CAAuC;IAE/D,YACE,gBAA+C,EAC/C,iBAAoC,EACpC,aAAwC,EACxC,OAAgB,EAChB,cAAqC,EACrC,mBAAwC,EACxC,eAAsD,EACtD,wBAEa,EACb,MAAuC,EACvC,UAA+B;QAE/B,KAAK,CACH,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,MAAM,EACN,UAAU,CACX,CAAC;QAEF,cAAc,CAAC,IAAI,EAAE;YACnB,wBAAwB,EAAE,UAAU;YACpC,2BAA2B,EAAE,MAAM;SACpC,CAAC,CAAC;QAEH,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,cAAc,GAAG,cAAc,C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@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.29",
3
+ "version": "4.14.30",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,6 +44,7 @@ import {
44
44
  SerializeIcon,
45
45
  DataAccessIcon,
46
46
  AssistantIcon,
47
+ clsx,
47
48
  } from '@finos/legend-art';
48
49
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
49
50
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
@@ -61,6 +62,7 @@ import {
61
62
  useCommands,
62
63
  ActionAlertActionType,
63
64
  ActionAlertType,
65
+ useApplicationStore,
64
66
  } from '@finos/legend-application';
65
67
  import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
66
68
  import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
@@ -93,6 +95,138 @@ const QueryBuilderPostGraphFetchPanel = observer(
93
95
  },
94
96
  );
95
97
 
98
+ const QueryBuilderStatusBar = observer(
99
+ (props: { queryBuilderState: QueryBuilderState }) => {
100
+ const { queryBuilderState } = props;
101
+ const applicationStore = useApplicationStore();
102
+ const showDiff = (): void =>
103
+ queryBuilderState.changeDetectionState.showDiffViewPanel();
104
+ const openLambdaEditor = (mode: QueryBuilderTextEditorMode): void =>
105
+ queryBuilderState.textEditorState.openModal(mode);
106
+ const compile = applicationStore.guardUnhandledError(() =>
107
+ flowResult(queryBuilderState.compileQuery()),
108
+ );
109
+ const toggleAssistant = (): void =>
110
+ applicationStore.assistantService.toggleAssistant();
111
+ const openQueryChat = (): void =>
112
+ queryBuilderState.setIsQueryChatOpened(true);
113
+
114
+ return (
115
+ <div className="query-builder__status-bar">
116
+ <div className="query-builder__status-bar__left"></div>
117
+ <div className="query-builder__status-bar__right">
118
+ {queryBuilderState.changeDetectionState.initState.hasCompleted && (
119
+ <>
120
+ <button
121
+ className={clsx(
122
+ 'query-builder__status-bar__action query-builder__status-bar__view-diff-btn',
123
+ )}
124
+ disabled={!queryBuilderState.changeDetectionState.hasChanged}
125
+ onClick={showDiff}
126
+ tabIndex={-1}
127
+ title={
128
+ queryBuilderState.changeDetectionState.hasChanged
129
+ ? 'Show changes'
130
+ : 'Query has not been changed'
131
+ }
132
+ >
133
+ <DiffIcon />
134
+ </button>
135
+ {queryBuilderState.changeDetectionState.diffViewState && (
136
+ <QueryBuilderDiffViewPanelDiaglog
137
+ diffViewState={
138
+ queryBuilderState.changeDetectionState.diffViewState
139
+ }
140
+ />
141
+ )}
142
+ </>
143
+ )}
144
+ {queryBuilderState.isQueryChatOpened && (
145
+ <QueryChat queryBuilderState={queryBuilderState} />
146
+ )}
147
+ {!queryBuilderState.config?.TEMPORARY__disableQueryBuilderChat && (
148
+ <button
149
+ className={clsx(
150
+ 'query-builder__status-bar__action query-builder__status-bar__action__toggler',
151
+ {
152
+ 'query-builder__status-bar__action__toggler--toggled':
153
+ queryBuilderState.isQueryChatOpened === true,
154
+ },
155
+ )}
156
+ onClick={openQueryChat}
157
+ tabIndex={-1}
158
+ title="Open Query Chat"
159
+ >
160
+ <ChatIcon />
161
+ </button>
162
+ )}
163
+ <button
164
+ className={clsx(
165
+ 'query-builder__status-bar__action query-builder__status-bar__compile-btn',
166
+ {
167
+ 'query-builder__status-bar__compile-btn--wiggling':
168
+ queryBuilderState.queryCompileState.isInProgress,
169
+ },
170
+ )}
171
+ disabled={queryBuilderState.queryCompileState.isInProgress}
172
+ onClick={compile}
173
+ tabIndex={-1}
174
+ title="Compile (F9)"
175
+ >
176
+ <HammerIcon />
177
+ </button>
178
+ <button
179
+ className={clsx(
180
+ 'query-builder__status-bar__action query-builder__status-bar__action__toggler',
181
+ {
182
+ 'query-builder__status-bar__action__toggler--toggled':
183
+ queryBuilderState.textEditorState.mode ===
184
+ QueryBuilderTextEditorMode.JSON,
185
+ },
186
+ )}
187
+ onClick={(): void =>
188
+ openLambdaEditor(QueryBuilderTextEditorMode.JSON)
189
+ }
190
+ tabIndex={-1}
191
+ title="View Query Protocol"
192
+ >{`{ }`}</button>
193
+ <button
194
+ className={clsx(
195
+ 'query-builder__status-bar__action query-builder__status-bar__action__toggler',
196
+ {
197
+ 'query-builder__status-bar__action__toggler--toggled':
198
+ queryBuilderState.textEditorState.mode ===
199
+ QueryBuilderTextEditorMode.TEXT,
200
+ },
201
+ )}
202
+ onClick={(): void =>
203
+ openLambdaEditor(QueryBuilderTextEditorMode.TEXT)
204
+ }
205
+ tabIndex={-1}
206
+ title="View Query in Pure"
207
+ >
208
+ <HackerIcon />
209
+ </button>
210
+ <button
211
+ className={clsx(
212
+ 'query-builder__status-bar__action query-builder__status-bar__action__toggler',
213
+ {
214
+ 'query-builder__status-bar__action__toggler--toggled':
215
+ !applicationStore.assistantService.isHidden,
216
+ },
217
+ )}
218
+ onClick={toggleAssistant}
219
+ tabIndex={-1}
220
+ title="Toggle assistant"
221
+ >
222
+ <AssistantIcon />
223
+ </button>
224
+ </div>
225
+ </div>
226
+ );
227
+ },
228
+ );
229
+
96
230
  export const QueryBuilder = observer(
97
231
  (props: { queryBuilderState: QueryBuilderState }) => {
98
232
  const { queryBuilderState } = props;
@@ -735,6 +869,9 @@ export const QueryBuilder = observer(
735
869
  </Dialog>
736
870
  )}
737
871
  </div>
872
+ {queryBuilderState.workflowState.showStatusBar ? (
873
+ <QueryBuilderStatusBar queryBuilderState={queryBuilderState} />
874
+ ) : null}
738
875
  </div>
739
876
  );
740
877
  },