@finos/legend-query-builder 4.2.4 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +3 -1
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderResultPanel.js +11 -2
  6. package/lib/components/QueryBuilderResultPanel.js.map +1 -1
  7. package/lib/components/QueryBuilderSideBar.d.ts +16 -0
  8. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  9. package/lib/components/QueryBuilderSideBar.js +85 -7
  10. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  11. package/lib/components/QueryChat.d.ts.map +1 -1
  12. package/lib/components/QueryChat.js +1 -1
  13. package/lib/components/QueryChat.js.map +1 -1
  14. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -2
  15. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  16. package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
  17. package/lib/components/explorer/QueryBuilderExplorerPanel.js +5 -1
  18. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  19. package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
  20. package/lib/components/workflows/ClassQueryBuilder.js +13 -9
  21. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  22. package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
  23. package/lib/components/workflows/MappingQueryBuilder.js +13 -11
  24. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  25. package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
  26. package/lib/components/workflows/ServiceQueryBuilder.js +3 -2
  27. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  28. package/lib/index.css +1 -1
  29. package/lib/index.d.ts +1 -0
  30. package/lib/index.d.ts.map +1 -1
  31. package/lib/index.js +1 -0
  32. package/lib/index.js.map +1 -1
  33. package/lib/package.json +1 -1
  34. package/lib/stores/QueryBuilderExecutionContextState.d.ts +34 -0
  35. package/lib/stores/QueryBuilderExecutionContextState.d.ts.map +1 -0
  36. package/lib/stores/QueryBuilderExecutionContextState.js +59 -0
  37. package/lib/stores/QueryBuilderExecutionContextState.js.map +1 -0
  38. package/lib/stores/QueryBuilderInternalizeState.d.ts +24 -0
  39. package/lib/stores/QueryBuilderInternalizeState.d.ts.map +1 -0
  40. package/lib/stores/QueryBuilderInternalizeState.js +26 -0
  41. package/lib/stores/QueryBuilderInternalizeState.js.map +1 -0
  42. package/lib/stores/QueryBuilderResultState.js +5 -5
  43. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  44. package/lib/stores/QueryBuilderState.d.ts +7 -5
  45. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  46. package/lib/stores/QueryBuilderState.js +19 -17
  47. package/lib/stores/QueryBuilderState.js.map +1 -1
  48. package/lib/stores/QueryBuilderStateBuilder.d.ts +1 -1
  49. package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
  50. package/lib/stores/QueryBuilderStateBuilder.js +27 -2
  51. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  52. package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
  53. package/lib/stores/QueryBuilderValueSpecificationBuilder.js +28 -2
  54. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  55. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
  56. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +2 -2
  57. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  58. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
  59. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +6 -4
  60. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  61. package/lib/stores/explorer/QueryBuilderExplorerState.js +9 -9
  62. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  63. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +2 -1
  64. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
  65. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +25 -2
  66. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  67. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +1 -1
  68. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  69. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
  70. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -1
  71. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  72. package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
  73. package/lib/stores/filter/QueryBuilderFilterState.js +2 -1
  74. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  75. package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -1
  76. package/lib/stores/workflows/ClassQueryBuilderState.js +2 -1
  77. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
  78. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +23 -0
  79. package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -0
  80. package/lib/stores/workflows/FunctionQueryBuilderState.js +27 -0
  81. package/lib/stores/workflows/FunctionQueryBuilderState.js.map +1 -0
  82. package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
  83. package/lib/stores/workflows/ServiceQueryBuilderState.js +7 -7
  84. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  85. package/package.json +4 -4
  86. package/src/components/QueryBuilder.tsx +5 -1
  87. package/src/components/QueryBuilderResultPanel.tsx +13 -3
  88. package/src/components/QueryBuilderSideBar.tsx +211 -7
  89. package/src/components/QueryChat.tsx +2 -1
  90. package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +2 -2
  91. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -1
  92. package/src/components/workflows/ClassQueryBuilder.tsx +17 -9
  93. package/src/components/workflows/MappingQueryBuilder.tsx +15 -11
  94. package/src/components/workflows/ServiceQueryBuilder.tsx +3 -2
  95. package/src/index.ts +1 -0
  96. package/src/stores/QueryBuilderExecutionContextState.ts +69 -0
  97. package/src/stores/QueryBuilderInternalizeState.ts +34 -0
  98. package/src/stores/QueryBuilderResultState.ts +6 -6
  99. package/src/stores/QueryBuilderState.ts +28 -21
  100. package/src/stores/QueryBuilderStateBuilder.ts +79 -1
  101. package/src/stores/QueryBuilderValueSpecificationBuilder.ts +50 -1
  102. package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +4 -2
  103. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +6 -4
  104. package/src/stores/explorer/QueryBuilderExplorerState.ts +9 -9
  105. package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +64 -2
  106. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +1 -1
  107. package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +4 -2
  108. package/src/stores/filter/QueryBuilderFilterState.ts +5 -2
  109. package/src/stores/workflows/ClassQueryBuilderState.ts +2 -1
  110. package/src/stores/workflows/FunctionQueryBuilderState.ts +38 -0
  111. package/src/stores/workflows/ServiceQueryBuilderState.ts +7 -11
  112. package/tsconfig.json +3 -0
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,E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AAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAKL,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,OAAO,EACP,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,oCAAoC,EACpC,oCAAoC,EACpC,wCAAwC,EACxC,uCAAuC,EACvC,+BAA+B,EAC/B,8BAA8B,EAC9B,+CAA+C,GAChD,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAE/F,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,OAAO,EAIL,KAAK,EACL,eAAe,EACf,aAAa,EACb,cAAc,EACd,WAAW,EACX,eAAe,EACf,4BAA4B,EAC5B,0BAA0B,EAC1B,qBAAqB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,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClassQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAqK/F,eAAO,MAAM,wCAAwC,sBAChC,sBAAsB,KACxC,MAAM,SAER,CAAC"}
1
+ {"version":3,"file":"ClassQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AA6K/F,eAAO,MAAM,wCAAwC,sBAChC,sBAAsB,KACxC,MAAM,SAER,CAAC"}
@@ -39,11 +39,13 @@ const ClassQueryBuilderSetupPanelContent = observer((props) => {
39
39
  const mappingOptions = (queryBuilderState.class
40
40
  ? getClassCompatibleMappings(queryBuilderState.class, queryBuilderState.graphManagerState.usableMappings)
41
41
  : []).map(buildElementOption);
42
- const selectedMappingOption = queryBuilderState.mapping
43
- ? buildElementOption(queryBuilderState.mapping)
42
+ const selectedMappingOption = queryBuilderState.executionContextState
43
+ .mapping
44
+ ? buildElementOption(queryBuilderState.executionContextState.mapping)
44
45
  : null;
45
46
  const changeMapping = (val) => {
46
- if (!queryBuilderState.class || val.value === queryBuilderState.mapping) {
47
+ if (!queryBuilderState.class ||
48
+ val.value === queryBuilderState.executionContextState.mapping) {
47
49
  return;
48
50
  }
49
51
  queryBuilderState.changeMapping(val.value);
@@ -55,16 +57,17 @@ const ClassQueryBuilderSetupPanelContent = observer((props) => {
55
57
  stringify: (option) => option.value.path,
56
58
  });
57
59
  // runtime
58
- const runtimeOptions = (queryBuilderState.mapping
59
- ? getMappingCompatibleRuntimes(queryBuilderState.mapping, queryBuilderState.graphManagerState.usableRuntimes)
60
+ const runtimeOptions = (queryBuilderState.executionContextState.mapping
61
+ ? getMappingCompatibleRuntimes(queryBuilderState.executionContextState.mapping, queryBuilderState.graphManagerState.usableRuntimes)
60
62
  : [])
61
63
  .map((rt) => new RuntimePointer(PackageableElementExplicitReference.create(rt)))
62
64
  .map(buildRuntimeValueOption);
63
- const selectedRuntimeOption = queryBuilderState.runtimeValue
64
- ? buildRuntimeValueOption(queryBuilderState.runtimeValue)
65
+ const selectedRuntimeOption = queryBuilderState.executionContextState
66
+ .runtimeValue
67
+ ? buildRuntimeValueOption(queryBuilderState.executionContextState.runtimeValue)
65
68
  : null;
66
69
  const changeRuntime = (val) => {
67
- if (val.value === queryBuilderState.runtimeValue) {
70
+ if (val.value === queryBuilderState.executionContextState.runtimeValue) {
68
71
  return;
69
72
  }
70
73
  queryBuilderState.changeRuntime(val.value);
@@ -82,7 +85,8 @@ const ClassQueryBuilderSetupPanelContent = observer((props) => {
82
85
  .TEMPORARY__isLightColorThemeEnabled, filterOption: mappingFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
83
86
  darkMode: !applicationStore.layoutService
84
87
  .TEMPORARY__isLightColorThemeEnabled,
85
- }) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified mapping", disabled: !queryBuilderState.class || !queryBuilderState.mapping, options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
88
+ }) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified mapping", disabled: !queryBuilderState.class ||
89
+ !queryBuilderState.executionContextState.mapping, options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
86
90
  .TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
87
91
  darkMode: !applicationStore.layoutService
88
92
  .TEMPORARY__isLightColorThemeEnabled,
@@ -1 +1 @@
1
- {"version":3,"file":"ClassQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAIL,mCAAmC,EACnC,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAEzC;;;;;;;;GAQG;AACH,MAAM,kCAAkC,GAAG,QAAQ,CACjD,CAAC,KAAoD,EAAE,EAAE;IACvD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE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ACzC,CAAC,GACF,IACE,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,cACE,SAAS,EAAC,yDAAyD,EACnE,KAAK,EAAC,SAAS,YAEf,KAAC,gBAAgB,KAAG,GAChB,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,4FAA4F,EACtG,WAAW,EAAC,qBAAqB,EACjC,cAAc,EAAC,mDAAmD,EAClE,QAAQ,EACN,CAAC,iBAAiB,CAAC,KAAK;4CACxB,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,OAAO,EAElD,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,IACF,IACF,IACL,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,CACtD,iBAAyC,EACxB,EAAE,CAAC,CACpB,KAAC,kCAAkC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MappingQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAkKnG,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
1
+ {"version":3,"file":"MappingQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAsKnG,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
@@ -35,11 +35,12 @@ const MappingQueryBuilderSetupPanelContent = observer((props) => {
35
35
  const applicationStore = useApplicationStore();
36
36
  // mapping
37
37
  const mappingOptions = queryBuilderState.graphManagerState.usableMappings.map(buildElementOption);
38
- const selectedMappingOption = queryBuilderState.mapping
39
- ? buildElementOption(queryBuilderState.mapping)
38
+ const selectedMappingOption = queryBuilderState.executionContextState
39
+ .mapping
40
+ ? buildElementOption(queryBuilderState.executionContextState.mapping)
40
41
  : null;
41
42
  const changeMapping = (val) => {
42
- if (val.value === queryBuilderState.mapping) {
43
+ if (val.value === queryBuilderState.executionContextState.mapping) {
43
44
  return;
44
45
  }
45
46
  queryBuilderState.changeMapping(val.value);
@@ -52,16 +53,17 @@ const MappingQueryBuilderSetupPanelContent = observer((props) => {
52
53
  stringify: (option) => option.value.path,
53
54
  });
54
55
  // runtime
55
- const runtimeOptions = (queryBuilderState.mapping
56
- ? getMappingCompatibleRuntimes(queryBuilderState.mapping, queryBuilderState.graphManagerState.usableRuntimes)
56
+ const runtimeOptions = (queryBuilderState.executionContextState.mapping
57
+ ? getMappingCompatibleRuntimes(queryBuilderState.executionContextState.mapping, queryBuilderState.graphManagerState.usableRuntimes)
57
58
  : [])
58
59
  .map((rt) => new RuntimePointer(PackageableElementExplicitReference.create(rt)))
59
60
  .map(buildRuntimeValueOption);
60
- const selectedRuntimeOption = queryBuilderState.runtimeValue
61
- ? buildRuntimeValueOption(queryBuilderState.runtimeValue)
61
+ const selectedRuntimeOption = queryBuilderState.executionContextState
62
+ .runtimeValue
63
+ ? buildRuntimeValueOption(queryBuilderState.executionContextState.runtimeValue)
62
64
  : null;
63
65
  const changeRuntime = (val) => {
64
- if (val.value === queryBuilderState.runtimeValue) {
66
+ if (val.value === queryBuilderState.executionContextState.runtimeValue) {
65
67
  return;
66
68
  }
67
69
  queryBuilderState.changeRuntime(val.value);
@@ -74,8 +76,8 @@ const MappingQueryBuilderSetupPanelContent = observer((props) => {
74
76
  .path,
75
77
  });
76
78
  // class
77
- const classes = queryBuilderState.mapping
78
- ? getMappingCompatibleClasses(queryBuilderState.mapping, queryBuilderState.graphManagerState.usableClasses)
79
+ const classes = queryBuilderState.executionContextState.mapping
80
+ ? getMappingCompatibleClasses(queryBuilderState.executionContextState.mapping, queryBuilderState.graphManagerState.usableClasses)
79
81
  : [];
80
82
  return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsx("div", { className: "query-builder__setup__config-group__header", children: _jsx("div", { className: "query-builder__setup__config-group__header__title", children: "execution context" }) }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "mapping", children: _jsx(PURE_MappingIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: mappingOptions.length
81
83
  ? 'Choose a mapping...'
@@ -83,7 +85,7 @@ const MappingQueryBuilderSetupPanelContent = observer((props) => {
83
85
  .TEMPORARY__isLightColorThemeEnabled, filterOption: mappingFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
84
86
  darkMode: !applicationStore.layoutService
85
87
  .TEMPORARY__isLightColorThemeEnabled,
86
- }) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified mapping", disabled: !queryBuilderState.mapping, options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
88
+ }) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified mapping", disabled: !queryBuilderState.executionContextState.mapping, options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
87
89
  .TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
88
90
  darkMode: !applicationStore.layoutService
89
91
  .TEMPORARY__isLightColorThemeEnabled,
@@ -1 +1 @@
1
- {"version":3,"file":"MappingQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,mCAAmC,EACnC,cAAc,EACd,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAEzC;;;;;;;;GAQG;AACH,MAAM,oCAAoC,GAAG,QAAQ,CACnD,CAAC,KAAsD,EAAE,EAAE;IACzD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,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,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,oCAAoC,CAAC;4CACtD,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,cACE,SAAS,EAAC,yDAAyD,EACnE,KAAK,EAAC,SAAS,YAEf,KAAC,gBAAgB,KAAG,GAChB,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,4FAA4F,EACtG,WAAW,EAAC,qBAAqB,EACjC,cAAc,EAAC,mDAAmD,EAClE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,OAAO,EACpC,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,IACF,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,iDAAiD,GAChE,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
1
+ {"version":3,"file":"MappingQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,E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iB,CAAC,qBAAqB,CAAC,OAAO,EAC1D,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,qBAAqB,EAC5B,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6CAC5B,mCAAmC,EAExC,YAAY,EAAE,mBAAmB,EACjC,iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,IACF,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,iDAAiD,GAChE,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ServiceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,oDAAoD,CAAC;AAkJ5D,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
1
+ {"version":3,"file":"ServiceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ServiceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,oDAAoD,CAAC;AAmJ5D,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
@@ -32,6 +32,7 @@ const buildExecutionContextOption = (value) => ({
32
32
  *
33
33
  * See details on propagation/cascading in {@link ServiceQueryBuilderState}
34
34
  */
35
+ // TODO: add mapping/runtime for `from` queries
35
36
  const ServiceQueryBuilderSetupPanelContent = observer((props) => {
36
37
  const { queryBuilderState } = props;
37
38
  const applicationStore = useApplicationStore();
@@ -58,8 +59,8 @@ const ServiceQueryBuilderSetupPanelContent = observer((props) => {
58
59
  queryBuilderState.onExecutionContextChange?.(option.value);
59
60
  };
60
61
  // class
61
- const classes = queryBuilderState.mapping
62
- ? getMappingCompatibleClasses(queryBuilderState.mapping, queryBuilderState.graphManagerState.usableClasses)
62
+ const classes = queryBuilderState.executionContextState.mapping
63
+ ? getMappingCompatibleClasses(queryBuilderState.executionContextState.mapping, queryBuilderState.graphManagerState.usableClasses)
63
64
  : [];
64
65
  return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsx("div", { className: "query-builder__setup__config-group__header", children: _jsx("div", { className: "query-builder__setup__config-group__header__title", children: "service execution context" }) }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "service", children: _jsx(RobotIcon, { className: "query-builder__setup__service__icon__service" }) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a service...", options: serviceOptions, disabled: serviceOptions.length < 1 ||
65
66
  (serviceOptions.length === 1 &&
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/ServiceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,2BAA2B,EAAgB,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,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C,SAAS,EAAC,wDAAwD,GAAG,GAC3E,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,4FAA4F,EACtG,WAAW,EAAC,gCAAgC,EAC5C,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EACN,uBAAuB,CAAC,MAAM,GAAG,CAAC;gDAClC,CAAC,uBAAuB,CAAC,MAAM,KAAK,CAAC;oDACnC,OAAO,CAAC,8BAA8B,CAAC,CAAC,EAE5C,QAAQ,EAAE,8BAA8B,EACxC,KAAK,EAAE,8BAA8B,EACrC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC,GAExC,IACE,GACL,CACJ,IACG,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,2DAA2D,GAC1E,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
1
+ {"version":3,"file":"ServiceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/ServiceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,2BAA2B,EAAgB,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAKtE,OAAO,EACL,kBAAkB,GAEnB,MAAM,iCAAiC,CAAC;AAMzC,MAAM,2BAA2B,GAAG,CAClC,KAA8B,EACN,EAAE,C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uBAAuB,EAChC,QAAQ,EACN,uBAAuB,CAAC,MAAM,GAAG,CAAC;gDAClC,CAAC,uBAAuB,CAAC,MAAM,KAAK,CAAC;oDACnC,OAAO,CAAC,8BAA8B,CAAC,CAAC,EAE5C,QAAQ,EAAE,8BAA8B,EACxC,KAAK,EAAE,8BAA8B,EACrC,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC,GAExC,IACE,GACL,CACJ,IACG,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,2DAA2D,GAC1E,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v4.2.4
1
+ /** @license @finos/legend-query-builder v4.3.1
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/index.d.ts CHANGED
@@ -25,6 +25,7 @@ export { QueryBuilderState } from './stores/QueryBuilderState.js';
25
25
  export { QueryBuilderPropertySearchState } from './stores/explorer/QueryBuilderPropertySearchState.js';
26
26
  export { QueryBuilderClassSelector, buildRuntimeValueOption, getRuntimeOptionFormatter, } from './components/QueryBuilderSideBar.js';
27
27
  export { ClassQueryBuilderState } from './stores/workflows/ClassQueryBuilderState.js';
28
+ export { FunctionQueryBuilderState } from './stores/workflows/FunctionQueryBuilderState.js';
28
29
  export { MappingQueryBuilderState } from './stores/workflows/MappingQueryBuilderState.js';
29
30
  export { type ServiceExecutionContext, ServiceQueryBuilderState, } from './stores/workflows/ServiceQueryBuilderState.js';
30
31
  export { QUERY_BUILDER_SUPPORTED_FUNCT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c,4DAA4D,CAAC;AAE3E,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC"}
package/lib/index.js CHANGED
@@ -26,6 +26,7 @@ export { QueryBuilderState } from './stores/QueryBuilderState.js';
26
26
  export { QueryBuilderPropertySearchState } from './stores/explorer/QueryBuilderPropertySearchState.js';
27
27
  export { QueryBuilderClassSelector, buildRuntimeValueOption, getRuntimeOptionFormatter, } from './components/QueryBuilderSideBar.js';
28
28
  export { ClassQueryBuilderState } from './stores/workflows/ClassQueryBuilderState.js';
29
+ export { FunctionQueryBuilderState } from './stores/workflows/FunctionQueryBuilderState.js';
29
30
  export { MappingQueryBuilderState } from './stores/workflows/MappingQueryBuilderState.js';
30
31
  export { ServiceQueryBuilderState, } from './stores/workflows/ServiceQueryBuilderState.js';
31
32
  export { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from './graph/QueryBuilderMetaModelConst.js';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc;AACd,cAAc,0CAA0C,CAAC;AACzD,cAAc,gCAAgC,CAAC;AAE/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AAErG,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAEL,oCAAoC,GACrC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,yBAAyB,GAC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EAAE,MAAM,sCAAsC,CAAC;AAEzE,cAAc,yCAAyC,CAAC;AAExD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,mDAAmD,CAAC;AAElE,cAAc,oDAAoD,CAAC;AACnE,cAAc,+CAA+C,CAAC;AAE9D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4DAA4D,CAAC;AAE3E,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.2.4",
3
+ "version": "4.3.1",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { Mapping, Runtime } from '@finos/legend-graph';
17
+ import type { QueryBuilderState } from './QueryBuilderState.js';
18
+ export declare abstract class QueryBuilderExecutionContextState {
19
+ readonly queryBuilderState: QueryBuilderState;
20
+ mapping: Mapping | undefined;
21
+ runtimeValue: Runtime | undefined;
22
+ constructor(queryBuilderState: QueryBuilderState);
23
+ setMapping(val: Mapping | undefined): void;
24
+ setRuntimeValue(val: Runtime | undefined): void;
25
+ get specifiedInQuery(): boolean;
26
+ }
27
+ export declare class QueryBuilderEmbeddedFromExecutionContextState extends QueryBuilderExecutionContextState {
28
+ constructor(queryBuilderState: QueryBuilderState);
29
+ }
30
+ export declare class QueryBuilderExternalExecutionContextState extends QueryBuilderExecutionContextState {
31
+ constructor(queryBuilderState: QueryBuilderState);
32
+ get specifiedInQuery(): boolean;
33
+ }
34
+ //# sourceMappingURL=QueryBuilderExecutionContextState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderExecutionContextState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderExecutionContextState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,8BAAsB,iCAAiC;IACrD,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,YAAY,EAAE,OAAO,GAAG,SAAS,CAAC;gBAEtB,iBAAiB,EAAE,iBAAiB;IAIhD,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAI1C,eAAe,CAAC,GAAG,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI;IAI/C,IAAI,gBAAgB,IAAI,OAAO,CAE9B;CACF;AAED,qBAAa,6CAA8C,SAAQ,iCAAiC;gBACtF,iBAAiB,EAAE,iBAAiB;CASjD;AAED,qBAAa,yCAA0C,SAAQ,iCAAiC;gBAClF,iBAAiB,EAAE,iBAAiB;IAUhD,IAAa,gBAAgB,IAAI,OAAO,CAEvC;CACF"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { action, makeObservable, observable } from 'mobx';
17
+ export class QueryBuilderExecutionContextState {
18
+ queryBuilderState;
19
+ mapping;
20
+ runtimeValue;
21
+ constructor(queryBuilderState) {
22
+ this.queryBuilderState = queryBuilderState;
23
+ }
24
+ setMapping(val) {
25
+ this.mapping = val;
26
+ }
27
+ setRuntimeValue(val) {
28
+ this.runtimeValue = val;
29
+ }
30
+ get specifiedInQuery() {
31
+ return true;
32
+ }
33
+ }
34
+ export class QueryBuilderEmbeddedFromExecutionContextState extends QueryBuilderExecutionContextState {
35
+ constructor(queryBuilderState) {
36
+ super(queryBuilderState);
37
+ makeObservable(this, {
38
+ mapping: observable,
39
+ runtimeValue: observable,
40
+ setMapping: action,
41
+ setRuntimeValue: action,
42
+ });
43
+ }
44
+ }
45
+ export class QueryBuilderExternalExecutionContextState extends QueryBuilderExecutionContextState {
46
+ constructor(queryBuilderState) {
47
+ super(queryBuilderState);
48
+ makeObservable(this, {
49
+ mapping: observable,
50
+ runtimeValue: observable,
51
+ setMapping: action,
52
+ setRuntimeValue: action,
53
+ });
54
+ }
55
+ get specifiedInQuery() {
56
+ return false;
57
+ }
58
+ }
59
+ //# sourceMappingURL=QueryBuilderExecutionContextState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderExecutionContextState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderExecutionContextState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,MAAM,OAAgB,iCAAiC;IAC5C,iBAAiB,CAAoB;IAC9C,OAAO,CAAsB;IAC7B,YAAY,CAAsB;IAElC,YAAY,iBAAoC;QAC9C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,UAAU,CAAC,GAAwB;QACjC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC;IACrB,CAAC;IAED,eAAe,CAAC,GAAwB;QACtC,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC;IAC1B,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAED,MAAM,OAAO,6CAA8C,SAAQ,iCAAiC;IAClG,YAAY,iBAAoC;QAC9C,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACzB,cAAc,CAAC,IAAI,EAAE;YACnB,OAAO,EAAE,UAAU;YACnB,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,MAAM;YAClB,eAAe,EAAE,MAAM;SACxB,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,yCAA0C,SAAQ,iCAAiC;IAC9F,YAAY,iBAAoC;QAC9C,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACzB,cAAc,CAAC,IAAI,EAAE;YACnB,OAAO,EAAE,UAAU;YACnB,YAAY,EAAE,UAAU;YACxB,UAAU,EAAE,MAAM;YAClB,eAAe,EAAE,MAAM;SACxB,CAAC,CAAC;IACL,CAAC;IAED,IAAa,gBAAgB;QAC3B,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { QueryBuilderState } from './QueryBuilderState.js';
17
+ import type { Binding, VariableExpression } from '@finos/legend-graph';
18
+ export declare class QueryBuilderInternalizeState {
19
+ readonly queryBuilderState: QueryBuilderState;
20
+ binding: Binding;
21
+ inputData: VariableExpression;
22
+ constructor(binding: Binding, inputData: VariableExpression, queryBuilderState: QueryBuilderState);
23
+ }
24
+ //# sourceMappingURL=QueryBuilderInternalizeState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderInternalizeState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderInternalizeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEvE,qBAAa,4BAA4B;IACvC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,kBAAkB,CAAC;gBAG5B,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,kBAAkB,EAC7B,iBAAiB,EAAE,iBAAiB;CAMvC"}
@@ -0,0 +1,26 @@
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 QueryBuilderInternalizeState {
17
+ queryBuilderState;
18
+ binding;
19
+ inputData;
20
+ constructor(binding, inputData, queryBuilderState) {
21
+ this.queryBuilderState = queryBuilderState;
22
+ this.binding = binding;
23
+ this.inputData = inputData;
24
+ }
25
+ }
26
+ //# sourceMappingURL=QueryBuilderInternalizeState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderInternalizeState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderInternalizeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,MAAM,OAAO,4BAA4B;IAC9B,iBAAiB,CAAoB;IAC9C,OAAO,CAAU;IACjB,SAAS,CAAqB;IAE9B,YACE,OAAgB,EAChB,SAA6B,EAC7B,iBAAoC;QAEpC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CACF"}
@@ -134,7 +134,7 @@ export class QueryBuilderResultState {
134
134
  const query = this.buildExecutionRawLambda({
135
135
  isExportingResult: true,
136
136
  });
137
- const result = (yield this.queryBuilderState.graphManagerState.graphManager.runQuery(query, this.queryBuilderState.mapping, this.queryBuilderState.runtimeValue, this.queryBuilderState.graphManagerState.graph, {
137
+ const result = (yield this.queryBuilderState.graphManagerState.graphManager.runQuery(query, this.queryBuilderState.executionContextState.mapping, this.queryBuilderState.executionContextState.runtimeValue, this.queryBuilderState.graphManagerState.graph, {
138
138
  serializationFormat,
139
139
  parameterValues: buildExecutionParameterValues(this.queryBuilderState.parametersState.parameterStates, this.queryBuilderState.graphManagerState),
140
140
  }));
@@ -161,8 +161,8 @@ export class QueryBuilderResultState {
161
161
  try {
162
162
  this.setIsRunningQuery(true);
163
163
  const currentHashCode = this.queryBuilderState.hashCode;
164
- const mapping = guaranteeNonNullable(this.queryBuilderState.mapping, 'Mapping is required to execute query');
165
- const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
164
+ const mapping = guaranteeNonNullable(this.queryBuilderState.executionContextState.mapping, 'Mapping is required to execute query');
165
+ const runtime = guaranteeNonNullable(this.queryBuilderState.executionContextState.runtimeValue, `Runtime is required to execute query`);
166
166
  const query = this.buildExecutionRawLambda();
167
167
  const parameterValues = buildExecutionParameterValues(this.queryBuilderState.parametersState.parameterStates, this.queryBuilderState.graphManagerState);
168
168
  QueryBuilderTelemetryHelper.logEvent_QueryRunLaunched(this.queryBuilderState.applicationStore.telemetryService);
@@ -212,8 +212,8 @@ export class QueryBuilderResultState {
212
212
  *generatePlan(debug) {
213
213
  try {
214
214
  this.isGeneratingPlan = true;
215
- const mapping = guaranteeNonNullable(this.queryBuilderState.mapping, 'Mapping is required to execute query');
216
- const runtime = guaranteeNonNullable(this.queryBuilderState.runtimeValue, `Runtime is required to execute query`);
215
+ const mapping = guaranteeNonNullable(this.queryBuilderState.executionContextState.mapping, 'Mapping is required to execute query');
216
+ const runtime = guaranteeNonNullable(this.queryBuilderState.executionContextState.runtimeValue, `Runtime is required to execute query`);
217
217
  const query = this.queryBuilderState.buildQuery();
218
218
  let rawPlan;
219
219
  const stopWatch = new StopWatch();