@finos/legend-query-builder 2.1.1 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/{src/stores/QueryBuilderBootstraper.ts → lib/application/QueryBuilderDocumentation.d.ts} +6 -8
  2. package/lib/application/QueryBuilderDocumentation.d.ts.map +1 -0
  3. package/lib/application/QueryBuilderDocumentation.js +23 -0
  4. package/lib/application/QueryBuilderDocumentation.js.map +1 -0
  5. package/lib/components/QueryBuilder.js +3 -2
  6. package/lib/components/QueryBuilder.js.map +1 -1
  7. package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -2
  9. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  10. package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
  11. package/lib/components/QueryBuilderDiffPanel.js +9 -8
  12. package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
  13. package/lib/components/QueryBuilderParametersPanel.js +3 -2
  14. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  15. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  16. package/lib/components/QueryBuilderResultPanel.js +8 -7
  17. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  18. package/lib/components/QueryBuilderTextEditor.js +3 -2
  19. package/lib/components/QueryBuilderTextEditor.js.map +1 -1
  20. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +2 -1
  21. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
  22. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +8 -0
  23. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
  24. package/lib/{stores/QueryBuilderBootstraper.js → components/execution-plan/ExecutionPlanViewer.d.ts} +12 -6
  25. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -0
  26. package/lib/components/execution-plan/ExecutionPlanViewer.js +182 -0
  27. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -0
  28. package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts +31 -0
  29. package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -0
  30. package/lib/components/execution-plan/SQLExecutionNodeViewer.js +32 -0
  31. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -0
  32. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +2 -2
  33. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  34. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
  35. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +4 -4
  36. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  37. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  38. package/lib/components/shared/BasicValueSpecificationEditor.js +2 -3
  39. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  40. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  41. package/lib/components/shared/LambdaEditor.js +20 -19
  42. package/lib/components/shared/LambdaEditor.js.map +1 -1
  43. package/lib/index.css +2 -2
  44. package/lib/index.css.map +1 -1
  45. package/lib/index.d.ts +3 -2
  46. package/lib/index.d.ts.map +1 -1
  47. package/lib/index.js +3 -2
  48. package/lib/index.js.map +1 -1
  49. package/lib/package.json +9 -17
  50. package/lib/stores/QueryBuilderResultState.d.ts +1 -1
  51. package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
  52. package/lib/stores/QueryBuilderResultState.js +2 -1
  53. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  54. package/lib/stores/execution-plan/ExecutionPlanState.d.ts +61 -0
  55. package/lib/stores/execution-plan/ExecutionPlanState.d.ts.map +1 -0
  56. package/lib/stores/execution-plan/ExecutionPlanState.js +118 -0
  57. package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -0
  58. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +3 -4
  59. package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
  60. package/lib/stores/explorer/QueryBuilderPropertySearchState.js +3 -4
  61. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  62. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  63. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  64. package/package.json +16 -24
  65. package/{lib/stores/QueryBuilderBootstraper.d.ts → src/application/QueryBuilderDocumentation.ts} +8 -2
  66. package/src/components/QueryBuilder.tsx +2 -2
  67. package/src/components/QueryBuilderConstantExpressionPanel.tsx +2 -2
  68. package/src/components/QueryBuilderDiffPanel.tsx +16 -19
  69. package/src/components/QueryBuilderParametersPanel.tsx +2 -2
  70. package/src/components/QueryBuilderResultPanel.tsx +14 -14
  71. package/src/components/QueryBuilderTextEditor.tsx +4 -4
  72. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +10 -0
  73. package/src/components/execution-plan/ExecutionPlanViewer.tsx +543 -0
  74. package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +46 -0
  75. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +2 -2
  76. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +12 -18
  77. package/src/components/shared/BasicValueSpecificationEditor.tsx +2 -2
  78. package/src/components/shared/LambdaEditor.tsx +27 -25
  79. package/src/index.ts +3 -2
  80. package/src/stores/QueryBuilderResultState.ts +2 -1
  81. package/src/stores/execution-plan/ExecutionPlanState.ts +153 -0
  82. package/src/stores/explorer/QueryBuilderPropertySearchState.ts +4 -4
  83. package/src/stores/filter/QueryBuilderFilterState.ts +2 -0
  84. package/tsconfig.json +4 -1
  85. package/lib/stores/QueryBuilderBootstraper.d.ts.map +0 -1
  86. package/lib/stores/QueryBuilderBootstraper.js.map +0 -1
@@ -13,11 +13,9 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
-
17
- import { ModuleRegistry as agGrid_ModuleRegistry } from '@ag-grid-community/core';
18
- import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model';
19
-
20
- export const setupQueryBuilderUILibrary = async (): Promise<void> => {
21
- // Register module extensions for `ag-grid`
22
- agGrid_ModuleRegistry.registerModules([ClientSideRowModelModule]);
23
- };
16
+ export declare enum QUERY_BUILDER_DOCUMENTATION_KEY {
17
+ TUTORIAL_QUERY_BUILDER = "tutorial.query.builder",
18
+ QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY = "question.how-to-add-parameters-to-query",
19
+ QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY = "question.how-to-add-constants-to-query"
20
+ }
21
+ //# sourceMappingURL=QueryBuilderDocumentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderDocumentation.d.ts","sourceRoot":"","sources":["../../src/application/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+BAA+B;IACzC,sBAAsB,2BAA2B;IAGjD,uCAAuC,4CAA4C;IACnF,sCAAsC,2CAA2C;CAClF"}
@@ -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 var QUERY_BUILDER_DOCUMENTATION_KEY;
17
+ (function (QUERY_BUILDER_DOCUMENTATION_KEY) {
18
+ QUERY_BUILDER_DOCUMENTATION_KEY["TUTORIAL_QUERY_BUILDER"] = "tutorial.query.builder";
19
+ // questions
20
+ QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY"] = "question.how-to-add-parameters-to-query";
21
+ QUERY_BUILDER_DOCUMENTATION_KEY["QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY"] = "question.how-to-add-constants-to-query";
22
+ })(QUERY_BUILDER_DOCUMENTATION_KEY = QUERY_BUILDER_DOCUMENTATION_KEY || (QUERY_BUILDER_DOCUMENTATION_KEY = {}));
23
+ //# sourceMappingURL=QueryBuilderDocumentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderDocumentation.js","sourceRoot":"","sources":["../../src/application/QueryBuilderDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,oFAAiD,CAAA;IAEjD,YAAY;IACZ,sHAAmF,CAAA;IACnF,oHAAiF,CAAA;AACnF,CAAC,EANW,+BAA+B,GAA/B,+BAA+B,KAA/B,+BAA+B,QAM1C"}
@@ -26,7 +26,7 @@ import { QueryBuilderFetchStructurePanel } from './fetch-structure/QueryBuilderF
26
26
  import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
27
27
  import { flowResult } from 'mobx';
28
28
  import { QueryBuilderUnsupportedQueryEditor } from './QueryBuilderUnsupportedQueryEditor.js';
29
- import { BackdropContainer, useApplicationStore, useCommands, LEGEND_APPLICATION_DOCUMENTATION_KEY, } from '@finos/legend-application';
29
+ import { BackdropContainer, useApplicationStore, useCommands, } from '@finos/legend-application';
30
30
  import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
31
31
  import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
32
32
  import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
@@ -39,6 +39,7 @@ import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpre
39
39
  import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
40
40
  import { QUERY_BUILDER_SETTING_KEY } from '../application/QueryBuilderSetting.js';
41
41
  import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
42
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../application/QueryBuilderDocumentation.js';
42
43
  const QueryBuilderStatusBar = observer((props) => {
43
44
  const { queryBuilderState } = props;
44
45
  const applicationStore = useApplicationStore();
@@ -92,7 +93,7 @@ export const QueryBuilder = observer((props) => {
92
93
  const applicationStore = queryBuilderState.applicationStore;
93
94
  const openLambdaEditor = (mode) => queryBuilderState.textEditorState.openModal(mode);
94
95
  const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
95
- const queryDocEntry = applicationStore.documentationService.getDocEntry(LEGEND_APPLICATION_DOCUMENTATION_KEY.TUTORIAL_QUERY_BUILDER);
96
+ const queryDocEntry = applicationStore.documentationService.getDocEntry(QUERY_BUILDER_DOCUMENTATION_KEY.TUTORIAL_QUERY_BUILDER);
96
97
  const openQueryTutorial = () => {
97
98
  if (queryDocEntry?.url) {
98
99
  applicationStore.navigationService.navigator.visitAddress(queryDocEntry.url);
@@ -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,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,mBAAm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E,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,EACA,iBAAiB,CAAC,sBAAsB,CAAC,sBAAsB;wBAC9D,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,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,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAClB,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,M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AAC,sBAAsB;wBAC9D,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAsJxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsGjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderConstantExpressionPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA+BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAuJxE,eAAO,MAAM,mCAAmC,WACtC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsGjD,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { buildElementOption, getPackageableElementOptionFormatter, LEGEND_APPLICATION_DOCUMENTATION_KEY, } from '@finos/legend-application';
17
+ import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-application';
18
18
  import { BlankPanelPlaceholder, CustomSelectorInput, Dialog, InfoCircleIcon, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, PanelFormSection, PanelFormTextField, PlusIcon, } from '@finos/legend-art';
19
19
  import { PrimitiveType, VariableExpression, Multiplicity, } from '@finos/legend-graph';
20
20
  import { generateEnumerableNameFromToken } from '@finos/legend-shared';
@@ -26,6 +26,7 @@ import { variableExpression_setName } from '../stores/shared/ValueSpecificationM
26
26
  import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
27
27
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
28
28
  import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
29
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../application/QueryBuilderDocumentation.js';
29
30
  // NOTE: We currently only allow constant variables for primitive types of multiplicity ONE.
30
31
  // This is why we don't show multiplicity in the editor.
31
32
  const QueryBuilderConstantExpressionEditor = observer((props) => {
@@ -89,7 +90,7 @@ export const QueryBuilderConstantExpressionPanel = observer((props) => {
89
90
  const graph = queryBuilderState.graphManagerState.graph;
90
91
  const isReadOnly = !queryBuilderState.isQuerySupported;
91
92
  const varNames = queryBuilderState.allVariableNames;
92
- const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(LEGEND_APPLICATION_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY);
93
+ const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_CONSTANTS_TO_QUERY);
93
94
  const addConstant = () => {
94
95
  if (!isReadOnly) {
95
96
  const defaultVal = buildDefaultInstanceValue(graph, PrimitiveType.STRING, queryBuilderState.observerContext);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,EACpC,oCAAoC,GACrC,MAAM,2BAA2B,CA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,cAAK,SAAS,EAAC,kDAAkD,YAC/D,8BACG,OAAO,CAAC,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC;4BACjD,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC5D,KAAC,cAAc,IAEb,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,UAAU,CAAC,QAAQ,EAC7B,aAAa,EAAE,UAAU,CAAC,KAAK,EAC/B,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,UAAU,EAAE,UAAU,IAVjB,UAAU,CAAC,IAAI,CAWpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB,IAAI,CACjC,KAAC,oCAAoC,IACnC,aAAa,EAAE,aAAa,CAAC,gBAAgB,GAC7C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderConstantExpressionPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderConstantExpressionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,GACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,MAAM,EACN,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBA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BAAiB,CAAC,aAAa,CAAC,SAAS,CAAC;4BACjD,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC5D,KAAC,cAAc,IAEb,iBAAiB,EAAE,iBAAiB,EACpC,QAAQ,EAAE,UAAU,CAAC,QAAQ,EAC7B,aAAa,EAAE,UAAU,CAAC,KAAK,EAC/B,OAAO,EAAE;oCACP,YAAY,EAAE,GAAG,EAAE,CACjB,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC;oCAC/C,cAAc,EAAE,GAAG,EAAE,CACnB,aAAa,CAAC,cAAc,CAAC,UAAU,CAAC;iCAC3C,EACD,UAAU,EAAE,UAAU,IAVjB,UAAU,CAAC,IAAI,CAWpB,CACH,CAAC,EACH,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,IAAI,CAClC,KAAC,qBAAqB,IACpB,IAAI,EAAC,gBAAgB,EACrB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,WAAW,EACpB,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,cAAc,EAC1B,WAAW,EAAC,6BAA6B,GACzC,CACH,IACA,GACC,EACL,aAAa,CAAC,gBAAgB,IAAI,CACjC,KAAC,oCAAoC,IACnC,aAAa,EAAE,aAAa,CAAC,gBAAgB,GAC7C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderDiffPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAmBH,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,+CAA+C,CAAC;AAmEvD,eAAO,MAAM,yBAAyB,WAC5B;IAAE,aAAa,EAAE,yBAAyB,CAAA;CAAE;;CAsGrD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderDiffPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAYH,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,+CAA+C,CAAC;AAuEvD,eAAO,MAAM,yBAAyB,WAC5B;IAAE,aAAa,EAAE,yBAAyB,CAAA;CAAE;;CAsGrD,CAAC"}
@@ -14,13 +14,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { EDITOR_LANGUAGE, EDITOR_THEME, TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
18
- import { getBaseTextEditorOptions, clsx, Dialog, disposeDiffEditor, useResizeDetector, Button, } from '@finos/legend-art';
17
+ import { CODE_EDITOR_LANGUAGE, CODE_EDITOR_THEME, TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
18
+ import { clsx, Dialog, useResizeDetector, Button } from '@finos/legend-art';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { editor as monacoEditorAPI } from 'monaco-editor';
21
21
  import { useEffect, useRef, useState } from 'react';
22
22
  import { QueryBuilderDiffViewMode, } from '../stores/QueryBuilderChangeDetectionState.js';
23
23
  import { pruneSourceInformation } from '@finos/legend-graph';
24
+ import { disposeDiffCodeEditor, getBaseCodeEditorOptions, } from '@finos/legend-lego/code-editor';
24
25
  const TextDiffView = observer((props) => {
25
26
  const { from, to, language } = props;
26
27
  const applicationStore = useApplicationStore();
@@ -38,11 +39,11 @@ const TextDiffView = observer((props) => {
38
39
  if (!editor && editorRef.current) {
39
40
  const element = editorRef.current;
40
41
  const _editor = monacoEditorAPI.createDiffEditor(element, {
41
- ...getBaseTextEditorOptions(),
42
+ ...getBaseCodeEditorOptions(),
42
43
  theme: applicationStore.layoutService
43
44
  .TEMPORARY__isLightColorThemeEnabled
44
- ? EDITOR_THEME.TEMPORARY__VSCODE_LIGHT
45
- : EDITOR_THEME.LEGEND,
45
+ ? CODE_EDITOR_THEME.TEMPORARY__VSCODE_LIGHT
46
+ : CODE_EDITOR_THEME.LEGEND,
46
47
  readOnly: true,
47
48
  wordWrap: 'on',
48
49
  });
@@ -59,10 +60,10 @@ const TextDiffView = observer((props) => {
59
60
  }
60
61
  useEffect(() => () => {
61
62
  if (editor) {
62
- disposeDiffEditor(editor);
63
+ disposeDiffCodeEditor(editor);
63
64
  }
64
65
  }, [editor]); // dispose editor
65
- return (_jsx("div", { ref: ref, className: "text-editor__container", children: _jsx("div", { className: "text-editor__body", ref: editorRef }) }));
66
+ return (_jsx("div", { ref: ref, className: "code-editor__container", children: _jsx("div", { className: "code-editor__body", ref: editorRef }) }));
66
67
  });
67
68
  export const QueryBuilderDiffViewPanel = observer((props) => {
68
69
  const { diffViewState } = props;
@@ -82,7 +83,7 @@ export const QueryBuilderDiffViewPanel = observer((props) => {
82
83
  paper: 'editor-modal__content',
83
84
  }, children: _jsx("div", { className: clsx('modal modal--dark editor-modal query-builder-text-mode__modal'), children: _jsxs("div", { className: "query-builder__diff-panel", children: [_jsx("div", { className: "query-builder__diff-panel__header", children: Object.values(QueryBuilderDiffViewMode).map((mode) => (_jsx("button", { onClick: onChangeMode(mode), className: clsx('query-builder__diff-panel__mode', {
84
85
  'query-builder__diff-panel__mode--selected': mode === diffViewState.mode,
85
- }), children: mode }, mode))) }), _jsxs("div", { className: "query-builder__diff-panel__content", children: [diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (_jsx(TextDiffView, { language: EDITOR_LANGUAGE.PURE, from: fromGrammarText, to: toGrammarText })), diffViewState.mode === QueryBuilderDiffViewMode.JSON && (_jsx(TextDiffView, { language: EDITOR_LANGUAGE.JSON, from: JSON.stringify({
86
+ }), children: mode }, mode))) }), _jsxs("div", { className: "query-builder__diff-panel__content", children: [diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (_jsx(TextDiffView, { language: CODE_EDITOR_LANGUAGE.PURE, from: fromGrammarText, to: toGrammarText })), diffViewState.mode === QueryBuilderDiffViewMode.JSON && (_jsx(TextDiffView, { language: CODE_EDITOR_LANGUAGE.JSON, from: JSON.stringify({
86
87
  parameters: diffViewState.initialQuery.parameters
87
88
  ? pruneSourceInformation(diffViewState.initialQuery.parameters)
88
89
  : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderDiffPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderDiffPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,eAAe,EACf,YAAY,EACZ,QAAQ,EACR,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,wBAAwB,EACxB,IAAI,EACJ,MAAM,EACN,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,GACP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAEL,wBAAwB,GACzB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,YAAY,GAAG,QAAQ,CAC3B,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GACvB,QAAQ,EAAyC,CAAC;IACpD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAG,IAAI,IAAI,EAAE,CAAC;IAChC,MAAM,YAAY,GAAG,EAAE,IAAI,EAAE,CAAC;IAE9B,MAAM,EAAE,GAAG,EAAE,KAAK,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ACJ,QAAQ,CACT,GACD,CACH,IACG,EACN,cAAK,SAAS,EAAC,oCAAoC,YACjD,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,KAAK,GAAI,GACnC,IACF,GACF,GACC,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { observer } from 'mobx-react-lite';
18
18
  import { Dialog, BlankPanelContent, CustomSelectorInput, PlusIcon, BlankPanelPlaceholder, Modal, ModalBody, ModalFooter, ModalHeader, PanelFormTextField, InfoCircleIcon, ModalFooterButton, } from '@finos/legend-art';
19
19
  import { VariableExpression, GenericTypeExplicitReference, GenericType, PrimitiveType, Multiplicity, getMultiplicityPrettyDescription, } from '@finos/legend-graph';
20
- import { buildElementOption, getPackageableElementOptionFormatter, useApplicationStore, LEGEND_APPLICATION_DOCUMENTATION_KEY, } from '@finos/legend-application';
20
+ import { buildElementOption, getPackageableElementOptionFormatter, useApplicationStore, } from '@finos/legend-application';
21
21
  import { generateEnumerableNameFromToken } from '@finos/legend-shared';
22
22
  import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
23
23
  import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
@@ -25,6 +25,7 @@ import { LambdaParameterState } from '../stores/shared/LambdaParameterState.js';
25
25
  import { LambdaParameterValuesEditor } from './shared/LambdaParameterValuesEditor.js';
26
26
  import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
27
27
  import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
28
+ import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../application/QueryBuilderDocumentation.js';
28
29
  const buildMultiplicityOption = (multiplicity) => ({
29
30
  label: getMultiplicityPrettyDescription(multiplicity),
30
31
  value: multiplicity,
@@ -97,7 +98,7 @@ export const QueryBuilderParametersPanel = observer((props) => {
97
98
  const isReadOnly = !queryBuilderState.isQuerySupported;
98
99
  const queryParameterState = queryBuilderState.parametersState;
99
100
  const varNames = queryBuilderState.parametersState.parameterStates.map((parameter) => parameter.variableName);
100
- const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(LEGEND_APPLICATION_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY);
101
+ const seeDocumentation = () => queryBuilderState.applicationStore.assistantService.openDocumentationEntry(QUERY_BUILDER_DOCUMENTATION_KEY.QUESTION_HOW_TO_ADD_PARAMETERS_TO_QUERY);
101
102
  const addParameter = () => {
102
103
  if (!isReadOnly && !queryBuilderState.isParameterSupportDisabled) {
103
104
  const parmaterState = new LambdaParameterState(new VariableExpression(generateEnumerableNameFromToken(varNames, DEFAULT_VARIABLE_NAME), queryBuilderState.graphManagerState.graph.getMultiplicity(1, 1), GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING))), queryBuilderState.observerContext, queryBuilderState.graphManagerState.graph);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,qBAAqB,EACrB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,EACpC,mBAAmB,EACnB,oCAAoC,GACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,+BA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B,GAC3D,CACH,EACA,mBAAmB,CAAC,0BAA0B,CAAC,SAAS,IAAI,CAC3D,KAAC,2BAA2B,IAC1B,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EAChD,eAAe,EAAE,iBAAiB,CAAC,eAAe,EAClD,qBAAqB,EAAE,mBAAmB,GAC1C,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderParametersPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderParametersPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,qBAAqB,EACrB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,kBAAkB,EAClB,4BAA4B,EAC5B,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,kBAAkB,EAClB,oCAAoC,EACpC,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CA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derResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAgZxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsSjD,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAmBH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkZxE,eAAO,MAAM,uBAAuB,WAC1B;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAsSjD,CAAC"}
@@ -14,13 +14,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { AgGridReact } from '@ag-grid-community/react';
18
- import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model';
19
17
  import { BlankPanelContent, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, clsx, PauseCircleIcon, ExclamationTriangleIcon, PanelContent, MenuContentDivider, } from '@finos/legend-art';
20
18
  import { observer } from 'mobx-react-lite';
21
19
  import { flowResult } from 'mobx';
22
20
  import { InstanceValue, extractExecutionResultValues, TDSExecutionResult, RawExecutionResult, EnumValueInstanceValue, EnumValueExplicitReference, } from '@finos/legend-graph';
23
- import { ActionAlertActionType, ActionAlertType, EDITOR_LANGUAGE, ExecutionPlanViewer, TAB_SIZE, TextInputEditor, useApplicationStore, } from '@finos/legend-application';
21
+ import { ActionAlertActionType, ActionAlertType, CODE_EDITOR_LANGUAGE, TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
24
22
  import { assertErrorThrown, guaranteeNonNullable, isBoolean, prettyDuration, prettyCONSTName, } from '@finos/legend-shared';
25
23
  import { forwardRef, useState } from 'react';
26
24
  import { QueryBuilderDerivationProjectionColumnState, QueryBuilderProjectionColumnState, } from '../stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
@@ -31,6 +29,9 @@ import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilder
31
29
  import { instanceValue_setValue, instanceValue_setValues, } from '../stores/shared/ValueSpecificationModifierHelper.js';
32
30
  import { PARAMETER_SUBMIT_ACTION } from '../stores/shared/LambdaParameterState.js';
33
31
  import { QUERY_BUILDER_TEST_ID } from '../application/QueryBuilderTesting.js';
32
+ import { DataGrid, } from '@finos/legend-lego/data-grid';
33
+ import { CodeEditor } from '@finos/legend-lego/code-editor';
34
+ import { ExecutionPlanViewer } from './execution-plan/ExecutionPlanViewer.js';
34
35
  const QueryBuilderGridResultContextMenu = observer(forwardRef(function QueryBuilderResultContextMenu(props, ref) {
35
36
  const { event, tdsState } = props;
36
37
  const applicationStore = useApplicationStore();
@@ -155,12 +156,12 @@ const QueryBuilderGridResult = observer((props) => {
155
156
  // NOTE: we only support this functionality for grid result with a projection fetch-structure
156
157
  fetchStructureImplementation instanceof QueryBuilderTDSState ? (_jsx(QueryBuilderGridResultContextMenu, { event: cellDoubleClickedEvent, tdsState: fetchStructureImplementation })) : null, disabled: !(fetchStructureImplementation instanceof QueryBuilderTDSState) ||
157
158
  !queryBuilderState.isQuerySupported ||
158
- !cellDoubleClickedEvent, menuProps: { elevation: 7 }, className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(AgGridReact, { rowData: rowData, gridOptions: {
159
+ !cellDoubleClickedEvent, menuProps: { elevation: 7 }, className: clsx('ag-theme-balham-dark query-builder__result__tds-grid'), children: _jsx(DataGrid, { rowData: rowData, gridOptions: {
159
160
  suppressScrollOnNewData: true,
160
161
  getRowId: function (data) {
161
162
  return data.data.rowNumber;
162
163
  },
163
- }, modules: [ClientSideRowModelModule],
164
+ },
164
165
  // NOTE: we use onCellMouseOver as a bit of a workaround
165
166
  // since we use the context menu so we want the user to be
166
167
  // able to right click any cell and have the context menu
@@ -183,9 +184,9 @@ const QueryBuilderResultValues = observer((props) => {
183
184
  return (_jsx(QueryBuilderGridResult, { queryBuilderState: queryBuilderState, executionResult: executionResult }));
184
185
  }
185
186
  else if (executionResult instanceof RawExecutionResult) {
186
- return (_jsx(TextInputEditor, { language: EDITOR_LANGUAGE.TEXT, inputValue: executionResult.value, isReadOnly: true }));
187
+ return (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.TEXT, inputValue: executionResult.value, isReadOnly: true }));
187
188
  }
188
- return (_jsx(TextInputEditor, { language: EDITOR_LANGUAGE.JSON, inputValue: JSON.stringify(extractExecutionResultValues(executionResult), null, TAB_SIZE), isReadOnly: true }));
189
+ return (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: JSON.stringify(extractExecutionResultValues(executionResult), null, TAB_SIZE), isReadOnly: true }));
189
190
  });
190
191
  export const QueryBuilderResultPanel = observer((props) => {
191
192
  const { queryBuilderState } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,WAAW,EACX,IAAI,EACJ,eAAe,EACf,uBAAuB,EACvB,YAAY,EACZ,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAGL,aAA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WAAW,cACT,MAAM,CAAC,MAAM,CACZ,4BAA4B,CAAC,uBAAuB,CACrD,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAChB,KAAC,eAAe,IAEd,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,GAAS,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,YAEzC,eAAe,CAAC,MAAM,CAAC,IAJnB,MAAM,CAKK,CACnB,CAAC,GACU,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,SAAS,EAAE,CAAC;iCACb,aAED,cAAK,SAAS,EAAC,gDAAgD,uBAEzD,EACN,cAAK,SAAS,EAAC,kDAAkD,YAC/D,KAAC,aAAa,KAAG,GACb,IACO,IACX,IACF,EACN,MAAC,YAAY,eACX,KAAC,qBAAqB,IACpB,SAAS,EACP,WAAW,CAAC,cAAc;4BAC1B,WAAW,CAAC,gBAAgB;4BAC5B,WAAW,CAAC,eAAe,CAAC,YAAY,GAE1C,EACD,CAAC,eAAe,IAAI,CACnB,KAAC,iBAAiB,oDAEE,CACrB,EACA,eAAe,IAAI,CAClB,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,wBAAwB,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderResultPanel.js","sourceRoot":"","sources":["../../src/components/QueryBuilderResultPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,QAAQ,EACR,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B,IACvB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,GACpC,GACE,CACP,IACY,EACf,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,GAClD,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -19,8 +19,9 @@ import { observer } from 'mobx-react-lite';
19
19
  import { clsx, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalFooterStatus, ModalHeader, PanelLoadingIndicator, RefreshIcon, } from '@finos/legend-art';
20
20
  import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
21
21
  import { flowResult } from 'mobx';
22
- import { EDITOR_LANGUAGE, TextInputEditor, useApplicationStore, } from '@finos/legend-application';
22
+ import { CODE_EDITOR_LANGUAGE, useApplicationStore, } from '@finos/legend-application';
23
23
  import { LambdaEditor } from './shared/LambdaEditor.js';
24
+ import { CodeEditor } from '@finos/legend-lego/code-editor';
24
25
  export const QueryBuilderTextEditor = observer((props) => {
25
26
  const { queryBuilderState } = props;
26
27
  const applicationStore = useApplicationStore();
@@ -43,7 +44,7 @@ export const QueryBuilderTextEditor = observer((props) => {
43
44
  'query-builder-text-mode__modal--has-error': Boolean(queryTextEditorState.parserError),
44
45
  }), children: [_jsxs(ModalHeader, { children: [_jsx("div", { className: "modal__title", children: "Query" }), queryTextEditorState.parserError && (_jsx("div", { className: "modal__title__error-badge", children: "Failed to parse query" }))] }), _jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.textEditorState.closingQueryState.isInProgress }), _jsx(ModalBody, { children: _jsxs("div", { className: clsx('query-builder-text-mode__modal__content', {
45
46
  backdrop__element: Boolean(queryTextEditorState.parserError),
46
- }), children: [mode === QueryBuilderTextEditorMode.TEXT && (_jsx(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, forceExpansion: true, useBaseTextEditorSettings: true, hideErrorBar: true, disablePopUp: true })), mode === QueryBuilderTextEditorMode.JSON && (_jsx(TextInputEditor, { language: EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }))] }) }), _jsxs(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
47
+ }), children: [mode === QueryBuilderTextEditorMode.TEXT && (_jsx(LambdaEditor, { className: "query-builder-text-mode__lambda-editor", disabled: queryTextEditorState.isConvertingLambdaToString, lambdaEditorState: queryTextEditorState, forceBackdrop: false, forceExpansion: true, useBaseTextEditorSettings: true, hideErrorBar: true, disablePopUp: true })), mode === QueryBuilderTextEditorMode.JSON && (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: queryTextEditorState.readOnlylambdaJson, isReadOnly: true }))] }) }), _jsxs(ModalFooter, { children: [queryBuilderState.textEditorState.closingQueryState
47
48
  .isInProgress && (_jsx(ModalFooterStatus, { children: "Closing Query..." })), queryBuilderState.queryCompileState.isInProgress && (_jsxs(ModalFooterStatus, { children: [_jsx("div", { className: "loading-icon__container--spinning", children: _jsx(RefreshIcon, {}) }), "Compiling Query..."] })), mode === QueryBuilderTextEditorMode.TEXT && (_jsx(ModalFooterButton, { className: "btn--caution", onClick: discardChanges, text: "Discard Changes" })), _jsx("button", { className: "btn btn--dark", onClick: close, disabled: Boolean(queryTextEditorState.parserError) ||
48
49
  queryBuilderState.textEditorState.closingQueryState.isInProgress, children: queryBuilderState.textEditorState.closingQueryState
49
50
  .isInProgress ? (_jsx(_Fragment, { children: _jsxs("div", { className: "loading-icon__container--spinning", children: [_jsx(RefreshIcon, {}), "Closing"] }) })) : (_jsx(_Fragment, { children: " Close " })) })] })] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,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,GACI,EACZ,MAAC,WAAW,eACT,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;6BACjD,YAAY,IAAI,CACjB,KAAC,iBAAiB,mCAAqC,CACxD,EACA,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,IAAI,CACnD,MAAC,iBAAiB,eAChB,cAAK,SAAS,EAAC,mCAAmC,YAChD,KAAC,WAAW,KAAG,GACX,0BAEY,CACrB,EACA,IAAI,KAAK,0BAA0B,CAAC,IAAI,IAAI,CAC3C,KAAC,iBAAiB,IAChB,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,iBAAiB,GACtB,CACH,EACD,iBACE,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,YAGjE,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,4BACE,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACM,IACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderTextEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,0BAA0B,EAAE,MAA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CAAmC,YAChD,KAAC,WAAW,KAAG,GACX,0BAEY,CACrB,EACA,IAAI,KAAK,0BAA0B,CAAC,IAAI,IAAI,CAC3C,KAAC,iBAAiB,IAChB,SAAS,EAAC,cAAc,EACxB,OAAO,EAAE,cAAc,EACvB,IAAI,EAAC,iBAAiB,GACtB,CACH,EACD,iBACE,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,KAAK,EACd,QAAQ,EACN,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC;gCACzC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,YAAY,YAGjE,iBAAiB,CAAC,eAAe,CAAC,iBAAiB;iCACjD,YAAY,CAAC,CAAC,CAAC,CAChB,4BACE,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,WAAW,KAAG,eAEX,GACL,CACJ,CAAC,CAAC,CAAC,CACF,wCAAY,CACb,GACM,IACG,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -14,13 +14,14 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /// <reference types="react" resolution-mode="require"/>
17
- import { LegendApplicationPlugin, type SettingConfigurationEntry, type KeyedCommandConfigEntry, type LegendApplicationPluginManager } from '@finos/legend-application';
17
+ import { LegendApplicationPlugin, type SettingConfigurationEntry, type KeyedCommandConfigEntry, type LegendApplicationPluginManager, type LegendApplicationSetup } from '@finos/legend-application';
18
18
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
19
19
  export type CheckEntitlementEditorRender = (queryBuilderState: QueryBuilderState) => React.ReactNode | undefined;
20
20
  export declare class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
21
21
  static NAME: string;
22
22
  constructor();
23
23
  install(pluginManager: LegendApplicationPluginManager<LegendApplicationPlugin>): void;
24
+ getExtraApplicationSetups(): LegendApplicationSetup[];
24
25
  getExtraKeyedCommandConfigEntries(): KeyedCommandConfigEntry[];
25
26
  getExtraSettingConfigurationEntries(): SettingConfigurationEntry[];
26
27
  getCheckEntitlementsEditorRender(): CheckEntitlementEditorRender | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACpC,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,mCAAmC,IAAI,yBAAyB,EAAE;IAO3E,gCAAgC,IAAI,4BAA4B,GAAG,SAAS;CAG7E"}
1
+ {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGxE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,yBAAyB,IAAI,sBAAsB,EAAE;IAQrD,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,mCAAmC,IAAI,yBAAyB,EAAE;IAO3E,gCAAgC,IAAI,4BAA4B,GAAG,SAAS;CAG7E"}
@@ -17,6 +17,7 @@ import { collectKeyedCommandConfigEntriesFromConfig, collectSettingConfiguration
17
17
  import packageJson from '../../package.json';
18
18
  import { QUERY_BUILDER_SETTING_CONFIG } from '../application/QueryBuilderSetting.js';
19
19
  import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
20
+ import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
20
21
  class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
21
22
  static NAME = packageJson.extensions.applicationPlugin;
22
23
  constructor() {
@@ -25,6 +26,13 @@ class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
25
26
  install(pluginManager) {
26
27
  pluginManager.registerApplicationPlugin(this);
27
28
  }
29
+ getExtraApplicationSetups() {
30
+ return [
31
+ async (applicationStore) => {
32
+ configureDataGridComponent();
33
+ },
34
+ ];
35
+ }
28
36
  getExtraKeyedCommandConfigEntries() {
29
37
  return collectKeyedCommandConfigEntriesFromConfig(QUERY_BUILDER_COMMAND_CONFIG);
30
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAIxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAOhF,MAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,oCAAoC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEQ,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAEQ,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED,yHAAyH;IACzH,gCAAgC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;;SA5BU,oCAAoC"}
1
+ {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAM1E,MAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,oCAAoC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEQ,yBAAyB;QAChC,OAAO;YACL,KAAK,EAAE,gBAAgB,EAAE,EAAE;gBACzB,0BAA0B,EAAE,CAAC;YAC/B,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAEQ,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED,yHAAyH;IACzH,gCAAgC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;;SApCU,oCAAoC"}