@finos/legend-application-query 10.0.3 → 10.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/lib/application/LegendQuery.d.ts.map +1 -1
  2. package/lib/application/LegendQuery.js +1 -1
  3. package/lib/application/LegendQuery.js.map +1 -1
  4. package/lib/components/CloneQueryServiceSetup.d.ts.map +1 -1
  5. package/lib/components/CloneQueryServiceSetup.js +2 -2
  6. package/lib/components/CloneQueryServiceSetup.js.map +1 -1
  7. package/lib/components/Core_LegendQueryApplicationPlugin.js +7 -7
  8. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  9. package/lib/components/CreateMappingQuerySetup.d.ts.map +1 -1
  10. package/lib/components/CreateMappingQuerySetup.js +2 -2
  11. package/lib/components/CreateMappingQuerySetup.js.map +1 -1
  12. package/lib/components/EditExistingQuerySetup.d.ts.map +1 -1
  13. package/lib/components/EditExistingQuerySetup.js +2 -2
  14. package/lib/components/EditExistingQuerySetup.js.map +1 -1
  15. package/lib/components/LoadProjectServiceQuerySetup.d.ts.map +1 -1
  16. package/lib/components/LoadProjectServiceQuerySetup.js +1 -1
  17. package/lib/components/LoadProjectServiceQuerySetup.js.map +1 -1
  18. package/lib/components/QueryEditor.d.ts.map +1 -1
  19. package/lib/components/QueryEditor.js +9 -9
  20. package/lib/components/QueryEditor.js.map +1 -1
  21. package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
  22. package/lib/components/QueryEditorComponentTestUtils.js +2 -1
  23. package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
  24. package/lib/components/QueryProductionizerSetup.d.ts.map +1 -1
  25. package/lib/components/QueryProductionizerSetup.js +1 -1
  26. package/lib/components/QueryProductionizerSetup.js.map +1 -1
  27. package/lib/components/QuerySetup.d.ts.map +1 -1
  28. package/lib/components/QuerySetup.js +2 -2
  29. package/lib/components/QuerySetup.js.map +1 -1
  30. package/lib/components/UpdateExistingServiceQuerySetup.d.ts.map +1 -1
  31. package/lib/components/UpdateExistingServiceQuerySetup.js +1 -1
  32. package/lib/components/UpdateExistingServiceQuerySetup.js.map +1 -1
  33. package/lib/index.css +1 -1
  34. package/lib/package.json +3 -3
  35. package/lib/stores/CloneServiceQuerySetupStore.js +3 -3
  36. package/lib/stores/CloneServiceQuerySetupStore.js.map +1 -1
  37. package/lib/stores/CreateMappingQuerySetupStore.js +3 -3
  38. package/lib/stores/CreateMappingQuerySetupStore.js.map +1 -1
  39. package/lib/stores/EditExistingQuerySetupStore.js +2 -2
  40. package/lib/stores/EditExistingQuerySetupStore.js.map +1 -1
  41. package/lib/stores/LegendQueryBaseStore.d.ts.map +1 -1
  42. package/lib/stores/LegendQueryBaseStore.js +5 -5
  43. package/lib/stores/LegendQueryBaseStore.js.map +1 -1
  44. package/lib/stores/LoadProjectServiceQuerySetupStore.js +4 -4
  45. package/lib/stores/LoadProjectServiceQuerySetupStore.js.map +1 -1
  46. package/lib/stores/QueryEditorStore.js +19 -19
  47. package/lib/stores/QueryEditorStore.js.map +1 -1
  48. package/lib/stores/QueryProductionizerSetupStore.js +5 -5
  49. package/lib/stores/QueryProductionizerSetupStore.js.map +1 -1
  50. package/lib/stores/QuerySetupStore.js +4 -4
  51. package/lib/stores/QuerySetupStore.js.map +1 -1
  52. package/lib/stores/UpdateExistingServiceQuerySetupStore.js +4 -4
  53. package/lib/stores/UpdateExistingServiceQuerySetupStore.js.map +1 -1
  54. package/package.json +11 -11
  55. package/src/application/LegendQuery.tsx +1 -1
  56. package/src/components/CloneQueryServiceSetup.tsx +4 -2
  57. package/src/components/Core_LegendQueryApplicationPlugin.tsx +7 -7
  58. package/src/components/CreateMappingQuerySetup.tsx +4 -2
  59. package/src/components/EditExistingQuerySetup.tsx +4 -2
  60. package/src/components/LoadProjectServiceQuerySetup.tsx +3 -1
  61. package/src/components/QueryEditor.tsx +15 -11
  62. package/src/components/QueryEditorComponentTestUtils.tsx +3 -2
  63. package/src/components/QueryProductionizerSetup.tsx +3 -1
  64. package/src/components/QuerySetup.tsx +4 -2
  65. package/src/components/UpdateExistingServiceQuerySetup.tsx +3 -1
  66. package/src/stores/CloneServiceQuerySetupStore.ts +3 -3
  67. package/src/stores/CreateMappingQuerySetupStore.ts +3 -3
  68. package/src/stores/EditExistingQuerySetupStore.ts +2 -2
  69. package/src/stores/LegendQueryBaseStore.ts +7 -5
  70. package/src/stores/LoadProjectServiceQuerySetupStore.ts +4 -4
  71. package/src/stores/QueryEditorStore.ts +19 -19
  72. package/src/stores/QueryProductionizerSetupStore.ts +5 -5
  73. package/src/stores/QuerySetupStore.ts +4 -4
  74. package/src/stores/UpdateExistingServiceQuerySetupStore.ts +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"QuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/QuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAGjE,MAAM,OAAgB,mBAAmB;IAC9B,gBAAgB,CAA8B;IAC9C,iBAAiB,CAAyB;IAC1C,iBAAiB,CAAoB;IACrC,aAAa,CAA2B;IAExC,SAAS,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAE1C,YACE,gBAA6C,EAC7C,iBAAoC;QAEpC,cAAc,CAAC,IAAI,EAAE;YACnB,UAAU,EAAE,IAAI;SACj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,aAAa,EAAE;YACjB,IAAI,CAAC,aAAa,GAAG,aAAa,KAAK,OAAO,CAAC;SAChD;QACD,IAAI,UAAU,EAAE;YACd,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAE5B,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IACxB,CAAC;CACF"}
@@ -39,15 +39,15 @@ export class UpdateExistingServiceQuerySetupStore extends BaseQuerySetupStore {
39
39
  const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
40
40
  const matchingSDLCEntry = this.applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
41
41
  if (matchingSDLCEntry) {
42
- this.applicationStore.setBlockingAlert({
42
+ this.applicationStore.alertService.setBlockingAlert({
43
43
  message: `Loading service...`,
44
44
  prompt: 'Please do not close the application',
45
45
  showLoading: true,
46
46
  });
47
- this.applicationStore.navigator.goToAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl(matchingSDLCEntry.url, serviceInfo.groupId, serviceInfo.artifactId, serviceInfo.path));
47
+ this.applicationStore.navigationService.navigator.goToAddress(EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl(matchingSDLCEntry.url, serviceInfo.groupId, serviceInfo.artifactId, serviceInfo.path));
48
48
  }
49
49
  else {
50
- this.applicationStore.notifyWarning(`Can't find the corresponding SDLC instance to update the service`);
50
+ this.applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to update the service`);
51
51
  }
52
52
  }
53
53
  *loadServices(searchText) {
@@ -65,7 +65,7 @@ export class UpdateExistingServiceQuerySetupStore extends BaseQuerySetupStore {
65
65
  }
66
66
  catch (error) {
67
67
  assertErrorThrown(error);
68
- this.applicationStore.notifyError(error);
68
+ this.applicationStore.notificationService.notifyError(error);
69
69
  this.loadServicesState.fail();
70
70
  }
71
71
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateExistingServiceQuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/UpdateExistingServiceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,kBAAkB,GAEnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,UAAU,EACV,WAAW,GAGZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,EAAE,4EAA4E,EAAE,MAAM,wBAAwB,CAAC;AACtH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,OAAO,oCAAqC,SAAQ,mBAAmB;IAClE,iBAAiB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAClD,QAAQ,GAAkB,EAAE,CAAC;IAE7B,YACE,gBAA6C,EAC7C,iBAAoC;QAEpC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE3C,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,WAAwB;QAC/C,qBAAqB;QACrB,MAAM,OAAO,GAAG,WAAW,CAAC,aAAa,CAAC,QAAQ,CAChD,MAAM,IAAI,CAAC,iBAAiB,CAAC,UAA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GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAC,CAAC;YAC1D,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SAC/B;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACzC,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SAC/B;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"UpdateExistingServiceQuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/UpdateExistingServiceQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,8BAA8B,EAC9B,8CAA8C,GAC/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,kBAAkB,GAEnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,UAAU,EACV,WAAW,GAGZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,WAAW,EACX,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,EAAE,4EAA4E,EAAE,MAAM,wBAAwB,CAAC;AACtH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,OAAO,oCAAqC,SAAQ,mBAAmB;IAClE,iBAAiB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAClD,QAAQ,GAAkB,EAAE,CAAC;IAE7B,YACE,gBAA6C,EAC7C,iBAAoC;QAEpC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE3C,cAAc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AAC,QAAQ,GACX,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,2BAA2B,CACvD,cAAc,CAAC,OAAO,EACtB;gBACE,MAAM,EAAE,mBAAmB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS;gBACpD,4EAA4E;gBAC5E,8EAA8E;gBAC9E,KAAK,EAAE,UAAU,CAAC,QAAQ;gBAC1B,KAAK,EAAE,8BAA8B;aACtC,CACF,CACF,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAC,CAAC;YAC1D,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SAC/B;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC7D,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SAC/B;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "10.0.3",
3
+ "version": "10.0.4",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,30 +43,30 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "11.0.3",
47
- "@finos/legend-art": "5.0.31",
48
- "@finos/legend-graph": "23.0.3",
49
- "@finos/legend-query-builder": "0.6.31",
50
- "@finos/legend-server-depot": "4.4.4",
51
- "@finos/legend-shared": "7.0.0",
52
- "@finos/legend-storage": "3.0.39",
46
+ "@finos/legend-application": "12.0.0",
47
+ "@finos/legend-art": "5.0.32",
48
+ "@finos/legend-graph": "23.1.0",
49
+ "@finos/legend-query-builder": "0.6.32",
50
+ "@finos/legend-server-depot": "4.4.5",
51
+ "@finos/legend-shared": "8.0.0",
52
+ "@finos/legend-storage": "3.0.40",
53
53
  "@testing-library/react": "14.0.0",
54
54
  "@types/react": "18.0.28",
55
55
  "@types/react-dom": "18.0.11",
56
56
  "mobx": "6.8.0",
57
- "mobx-react-lite": "3.4.2",
57
+ "mobx-react-lite": "3.4.3",
58
58
  "react": "18.2.0",
59
59
  "react-dom": "18.2.0",
60
60
  "serializr": "3.0.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@finos/legend-dev-utils": "2.0.44",
63
+ "@finos/legend-dev-utils": "2.0.45",
64
64
  "@jest/globals": "29.5.0",
65
65
  "cross-env": "7.0.3",
66
66
  "eslint": "8.35.0",
67
67
  "jest": "29.5.0",
68
68
  "npm-run-all": "4.1.5",
69
- "rimraf": "4.3.1",
69
+ "rimraf": "4.4.0",
70
70
  "sass": "1.58.3",
71
71
  "typescript": "4.9.5"
72
72
  },
@@ -20,9 +20,9 @@ import {
20
20
  ApplicationStoreProvider,
21
21
  LegendApplication,
22
22
  setupLegendApplicationUILibrary,
23
- WebApplicationNavigatorProvider,
24
23
  type LegendApplicationConfigurationInput,
25
24
  BrowserRouter,
25
+ WebApplicationNavigatorProvider,
26
26
  } from '@finos/legend-application';
27
27
  import { LegendQueryApplication } from '../components/LegendQueryApplication.js';
28
28
  import { LegendQueryPluginManager } from './LegendQueryPluginManager.js';
@@ -79,7 +79,9 @@ const CloneQueryServiceSetupContent = observer(() => {
79
79
 
80
80
  // actions
81
81
  const back = (): void => {
82
- applicationStore.navigator.goToLocation(generateQuerySetupRoute());
82
+ applicationStore.navigationService.navigator.goToLocation(
83
+ generateQuerySetupRoute(),
84
+ );
83
85
  };
84
86
  const next = (): void => {
85
87
  if (
@@ -87,7 +89,7 @@ const CloneQueryServiceSetupContent = observer(() => {
87
89
  querySetupState.currentVersionId &&
88
90
  querySetupState.currentServiceExecutionOption
89
91
  ) {
90
- applicationStore.navigator.goToLocation(
92
+ applicationStore.navigationService.navigator.goToLocation(
91
93
  generateServiceQueryCreatorRoute(
92
94
  querySetupState.currentProject.groupId,
93
95
  querySetupState.currentProject.artifactId,
@@ -87,7 +87,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
87
87
  isAdvanced: false,
88
88
  isCreateAction: false,
89
89
  action: async (setupStore: QuerySetupLandingPageStore) => {
90
- setupStore.applicationStore.navigator.goToLocation(
90
+ setupStore.applicationStore.navigationService.navigator.goToLocation(
91
91
  generateEditExistingQuerySetupRoute(),
92
92
  );
93
93
  },
@@ -102,7 +102,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
102
102
  isAdvanced: false,
103
103
  isCreateAction: true,
104
104
  action: async (setupStore: QuerySetupLandingPageStore) => {
105
- setupStore.applicationStore.navigator.goToAddress(
105
+ setupStore.applicationStore.navigationService.navigator.goToAddress(
106
106
  setupStore.applicationStore.config.taxonomyUrl,
107
107
  );
108
108
  },
@@ -115,7 +115,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
115
115
  isAdvanced: true,
116
116
  isCreateAction: true,
117
117
  action: async (setupStore: QuerySetupLandingPageStore) => {
118
- setupStore.applicationStore.navigator.goToLocation(
118
+ setupStore.applicationStore.navigationService.navigator.goToLocation(
119
119
  generateCreateMappingQuerySetupRoute(),
120
120
  );
121
121
  },
@@ -128,7 +128,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
128
128
  isAdvanced: true,
129
129
  isCreateAction: true,
130
130
  action: async (setupStore: QuerySetupLandingPageStore) => {
131
- setupStore.applicationStore.navigator.goToLocation(
131
+ setupStore.applicationStore.navigationService.navigator.goToLocation(
132
132
  generateCloneServiceQuerySetupRoute(),
133
133
  );
134
134
  },
@@ -143,7 +143,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
143
143
  isCreateAction: false,
144
144
  tag: QuerySetupActionTag.PRODUCTIONIZATION,
145
145
  action: async (setupStore: QuerySetupLandingPageStore) => {
146
- setupStore.applicationStore.navigator.goToLocation(
146
+ setupStore.applicationStore.navigationService.navigator.goToLocation(
147
147
  generateUpdateExistingServiceQuerySetup(),
148
148
  );
149
149
  },
@@ -157,7 +157,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
157
157
  isCreateAction: false,
158
158
  tag: QuerySetupActionTag.PRODUCTIONIZATION,
159
159
  action: async (setupStore: QuerySetupLandingPageStore) => {
160
- setupStore.applicationStore.navigator.goToLocation(
160
+ setupStore.applicationStore.navigationService.navigator.goToLocation(
161
161
  generateLoadProjectServiceQuerySetup(),
162
162
  );
163
163
  },
@@ -171,7 +171,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
171
171
  isCreateAction: true,
172
172
  tag: QuerySetupActionTag.PRODUCTIONIZATION,
173
173
  action: async (setupStore: QuerySetupLandingPageStore) => {
174
- setupStore.applicationStore.navigator.goToLocation(
174
+ setupStore.applicationStore.navigationService.navigator.goToLocation(
175
175
  generateQueryProductionizerSetupRoute(),
176
176
  );
177
177
  },
@@ -82,7 +82,9 @@ const CreateMappingQuerySetupContent = observer(() => {
82
82
 
83
83
  // actions
84
84
  const back = (): void => {
85
- applicationStore.navigator.goToLocation(generateQuerySetupRoute());
85
+ applicationStore.navigationService.navigator.goToLocation(
86
+ generateQuerySetupRoute(),
87
+ );
86
88
  };
87
89
  const next = (): void => {
88
90
  if (
@@ -91,7 +93,7 @@ const CreateMappingQuerySetupContent = observer(() => {
91
93
  setupStore.currentMapping &&
92
94
  setupStore.currentRuntime
93
95
  ) {
94
- applicationStore.navigator.goToLocation(
96
+ applicationStore.navigationService.navigator.goToLocation(
95
97
  generateMappingQueryCreatorRoute(
96
98
  setupStore.currentProject.groupId,
97
99
  setupStore.currentProject.artifactId,
@@ -77,11 +77,13 @@ const EditExistingQuerySetupContent = observer(() => {
77
77
 
78
78
  // actions
79
79
  const back = (): void => {
80
- applicationStore.navigator.goToLocation(generateQuerySetupRoute());
80
+ applicationStore.navigationService.navigator.goToLocation(
81
+ generateQuerySetupRoute(),
82
+ );
81
83
  };
82
84
  const next = (): void => {
83
85
  if (setupStore.currentQuery) {
84
- applicationStore.navigator.goToLocation(
86
+ applicationStore.navigationService.navigator.goToLocation(
85
87
  generateExistingQueryEditorRoute(setupStore.currentQuery.id),
86
88
  );
87
89
  }
@@ -64,7 +64,9 @@ const LoadProjectServiceQuerySetupContent = observer(() => {
64
64
  const setupStore = useLoadProjectServiceQuerySetupStore();
65
65
 
66
66
  const back = (): void => {
67
- applicationStore.navigator.goToLocation(generateQuerySetupRoute());
67
+ applicationStore.navigationService.navigator.goToLocation(
68
+ generateQuerySetupRoute(),
69
+ );
68
70
  };
69
71
 
70
72
  // project
@@ -218,7 +218,7 @@ const QueryLoader = observer(
218
218
  if (selectedQueryID) {
219
219
  queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
220
220
  editorStore.queryLoaderState.setIsQueryLoaderOpen(false);
221
- applicationStore.navigator.goToLocation(
221
+ applicationStore.navigationService.navigator.goToLocation(
222
222
  generateExistingQueryEditorRoute(selectedQueryID),
223
223
  { ignoreBlocking: true },
224
224
  );
@@ -403,8 +403,8 @@ const QueryEditorHeaderContent = observer(
403
403
  );
404
404
  };
405
405
  const toggleLightDarkMode = (): void =>
406
- applicationStore.TEMPORARY__setIsLightThemeEnabled(
407
- !applicationStore.TEMPORARY__isLightThemeEnabled,
406
+ applicationStore.layoutService.TEMPORARY__setIsLightThemeEnabled(
407
+ !applicationStore.layoutService.TEMPORARY__isLightThemeEnabled,
408
408
  );
409
409
  const saveQuery = (): void => {
410
410
  queryBuilderState
@@ -477,7 +477,7 @@ const QueryEditorHeaderContent = observer(
477
477
  className="query-editor__header__action"
478
478
  disabled={editorStore.isViewProjectActionDisabled}
479
479
  >
480
- {applicationStore.TEMPORARY__isLightThemeEnabled ? (
480
+ {applicationStore.layoutService.TEMPORARY__isLightThemeEnabled ? (
481
481
  <>
482
482
  <LightBulbIcon className="query-editor__header__action__icon--bulb--light" />
483
483
  </>
@@ -536,13 +536,15 @@ export const QueryEditor = observer(() => {
536
536
  const appDocUrl = applicationStore.documentationService.url;
537
537
  const goToDocumentation = (): void => {
538
538
  if (appDocUrl) {
539
- applicationStore.navigator.visitAddress(appDocUrl);
539
+ applicationStore.navigationService.navigator.visitAddress(appDocUrl);
540
540
  }
541
541
  };
542
542
  // go to setup page
543
543
  const goToQuerySetup = (): void =>
544
- applicationStore.navigator.visitAddress(
545
- applicationStore.navigator.generateAddress(generateQuerySetupRoute()),
544
+ applicationStore.navigationService.navigator.visitAddress(
545
+ applicationStore.navigationService.navigator.generateAddress(
546
+ generateQuerySetupRoute(),
547
+ ),
546
548
  );
547
549
  // settings
548
550
  // NOTE: this is temporary until we find a better home for these settings in query builder
@@ -562,9 +564,9 @@ export const QueryEditor = observer(() => {
562
564
  useEffect(() => {
563
565
  document.body.classList.toggle(
564
566
  'light-theme',
565
- applicationStore.TEMPORARY__isLightThemeEnabled,
567
+ applicationStore.layoutService.TEMPORARY__isLightThemeEnabled,
566
568
  );
567
- }, [applicationStore.TEMPORARY__isLightThemeEnabled]);
569
+ }, [applicationStore.layoutService.TEMPORARY__isLightThemeEnabled]);
568
570
 
569
571
  return (
570
572
  <div
@@ -572,7 +574,7 @@ export const QueryEditor = observer(() => {
572
574
  'query-editor ',
573
575
  {
574
576
  'query-editor--light':
575
- applicationStore.TEMPORARY__isLightThemeEnabled,
577
+ applicationStore.layoutService.TEMPORARY__isLightThemeEnabled,
576
578
  },
577
579
  ])}
578
580
  >
@@ -665,7 +667,9 @@ export const ServiceQueryCreator = observer(() => {
665
667
  const servicePath = params[LEGEND_QUERY_PATH_PARAM_TOKEN.SERVICE_PATH];
666
668
  const executionKey = getQueryParameterValue(
667
669
  getQueryParameters<ServiceQueryCreatorQueryParams>(
668
- sanitizeURL(applicationStore.navigator.getCurrentAddress()),
670
+ sanitizeURL(
671
+ applicationStore.navigationService.navigator.getCurrentAddress(),
672
+ ),
669
673
  true,
670
674
  ),
671
675
  LEGEND_QUERY_QUERY_PARAM_TOKEN.SERVICE_EXECUTION_KEY,
@@ -41,7 +41,7 @@ import {
41
41
  TEST__getTestApplicationStore,
42
42
  Router,
43
43
  createMemoryHistory,
44
- type GenericLegendApplicationStore,
44
+ type NavigationService,
45
45
  } from '@finos/legend-application';
46
46
  import { TEST__getTestLegendQueryApplicationConfig } from '../stores/QueryEditorStoreTestUtils.js';
47
47
  import { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
@@ -178,7 +178,8 @@ export const TEST__setUpQueryEditor = async (
178
178
  // TODO: this is not the proper way to do this, we prefer to mock and inject this when we
179
179
  // create the editor store, let's consider how we clean this up in the future
180
180
  (
181
- MOCK__editorStore.applicationStore as Writable<GenericLegendApplicationStore>
181
+ MOCK__editorStore.applicationStore
182
+ .navigationService as Writable<NavigationService>
182
183
  ).navigator = navigator;
183
184
 
184
185
  const renderResult = render(
@@ -74,7 +74,9 @@ const QueryProductionizerSetupContent = observer(() => {
74
74
 
75
75
  // actions
76
76
  const back = (): void => {
77
- applicationStore.navigator.goToLocation(generateQuerySetupRoute());
77
+ applicationStore.navigationService.navigator.goToLocation(
78
+ generateQuerySetupRoute(),
79
+ );
78
80
  };
79
81
  const next = (): void => {
80
82
  if (setupStore.currentQuery) {
@@ -262,7 +262,9 @@ export const QuerySetupLandingPage = withQuerySetupLandingPageStore(
262
262
  const setupStore = useQuerySetupLandingPageStore();
263
263
  const applicationStore = useLegendQueryApplicationStore();
264
264
  const params = getQueryParameters<QuerySetupQueryParams>(
265
- sanitizeURL(applicationStore.navigator.getCurrentAddress()),
265
+ sanitizeURL(
266
+ applicationStore.navigationService.navigator.getCurrentAddress(),
267
+ ),
266
268
  true,
267
269
  );
268
270
  const showAdvancedActions = getQueryParameterValue(
@@ -278,7 +280,7 @@ export const QuerySetupLandingPage = withQuerySetupLandingPageStore(
278
280
  LEGEND_QUERY_SETUP_QUERY_PARAM_TOKEN.TAG,
279
281
  );
280
282
  const goToStudio = (): void =>
281
- applicationStore.navigator.visitAddress(
283
+ applicationStore.navigationService.navigator.visitAddress(
282
284
  applicationStore.config.studioUrl,
283
285
  );
284
286
  const showAllActionGroup = (): void => setupStore.setShowAllGroups(true);
@@ -69,7 +69,9 @@ const UpdateExistingServiceQuerySetupContent = observer(() => {
69
69
  const [searchText, setSearchText] = useState('');
70
70
 
71
71
  const back = (): void => {
72
- applicationStore.navigator.goToLocation(generateQuerySetupRoute());
72
+ applicationStore.navigationService.navigator.goToLocation(
73
+ generateQuerySetupRoute(),
74
+ );
73
75
  };
74
76
 
75
77
  const serviceOptions = setupStore.services.map(buildServiceOption);
@@ -98,7 +98,7 @@ export class CloneServiceQuerySetupStore extends BaseQuerySetupStore {
98
98
  this.loadProjectsState.pass();
99
99
  } catch (error) {
100
100
  assertErrorThrown(error);
101
- this.applicationStore.notifyError(error);
101
+ this.applicationStore.notificationService.notifyError(error);
102
102
  this.loadProjectsState.fail();
103
103
  }
104
104
  }
@@ -140,11 +140,11 @@ export class CloneServiceQuerySetupStore extends BaseQuerySetupStore {
140
140
  this.loadServiceExecutionsState.pass();
141
141
  } catch (error) {
142
142
  assertErrorThrown(error);
143
- this.applicationStore.log.error(
143
+ this.applicationStore.logService.error(
144
144
  LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE),
145
145
  error,
146
146
  );
147
- this.applicationStore.notifyError(error);
147
+ this.applicationStore.notificationService.notifyError(error);
148
148
  this.loadServiceExecutionsState.fail();
149
149
  }
150
150
  }
@@ -115,7 +115,7 @@ export class CreateMappingQuerySetupStore extends BaseQuerySetupStore {
115
115
  this.loadProjectsState.pass();
116
116
  } catch (error) {
117
117
  assertErrorThrown(error);
118
- this.applicationStore.notifyError(error);
118
+ this.applicationStore.notificationService.notifyError(error);
119
119
  this.loadProjectsState.fail();
120
120
  }
121
121
  }
@@ -144,11 +144,11 @@ export class CreateMappingQuerySetupStore extends BaseQuerySetupStore {
144
144
  this.surveyMappingRuntimeCompatibilityState.pass();
145
145
  } catch (error) {
146
146
  assertErrorThrown(error);
147
- this.applicationStore.log.error(
147
+ this.applicationStore.logService.error(
148
148
  LogEvent.create(LEGEND_QUERY_APP_EVENT.GENERIC_FAILURE),
149
149
  error,
150
150
  );
151
- this.applicationStore.notifyError(error);
151
+ this.applicationStore.notificationService.notifyError(error);
152
152
  this.surveyMappingRuntimeCompatibilityState.fail();
153
153
  }
154
154
  }
@@ -82,7 +82,7 @@ export class EditExistingQuerySetupStore extends BaseQuerySetupStore {
82
82
  this.currentQueryInfo = queryInfo;
83
83
  } catch (error) {
84
84
  assertErrorThrown(error);
85
- this.applicationStore.notifyError(error);
85
+ this.applicationStore.notificationService.notifyError(error);
86
86
  } finally {
87
87
  this.loadQueryState.reset();
88
88
  }
@@ -109,7 +109,7 @@ export class EditExistingQuerySetupStore extends BaseQuerySetupStore {
109
109
  this.loadQueriesState.pass();
110
110
  } catch (error) {
111
111
  assertErrorThrown(error);
112
- this.applicationStore.notifyError(error);
112
+ this.applicationStore.notificationService.notifyError(error);
113
113
  this.loadQueriesState.fail();
114
114
  }
115
115
  }
@@ -63,30 +63,32 @@ export class LegendQueryBaseStore {
63
63
 
64
64
  *initialize(): GeneratorFn<void> {
65
65
  if (!this.initState.isInInitialState) {
66
- this.applicationStore.notifyIllegalState('Base store is re-initialized');
66
+ this.applicationStore.notificationService.notifyIllegalState(
67
+ 'Base store is re-initialized',
68
+ );
67
69
  return;
68
70
  }
69
71
  this.initState.inProgress();
70
72
 
71
73
  try {
72
- this.applicationStore.setCurrentUser(
74
+ this.applicationStore.identityService.setCurrentUser(
73
75
  (yield new NetworkClient().get(
74
76
  `${this.applicationStore.config.engineServerUrl}/server/v1/currentUser`,
75
77
  )) as string,
76
78
  );
77
79
  } catch (error) {
78
80
  assertErrorThrown(error);
79
- this.applicationStore.log.error(
81
+ this.applicationStore.logService.error(
80
82
  LogEvent.create(
81
83
  APPLICATION_EVENT.APPLICATION_IDENTITY_AUTO_FETCH__FAILURE,
82
84
  ),
83
85
  error,
84
86
  );
85
- this.applicationStore.notifyWarning(error.message);
87
+ this.applicationStore.notificationService.notifyWarning(error.message);
86
88
  }
87
89
 
88
90
  // setup telemetry service
89
- this.applicationStore.setupTelemetryService();
91
+ this.applicationStore.telemetryService.setup();
90
92
 
91
93
  ApplicationTelemetry.logEvent_ApplicationInitializationSucceeded(
92
94
  this.applicationStore.telemetryService,
@@ -55,7 +55,7 @@ export class LoadProjectServiceQuerySetupStore extends BaseQuerySetupStore {
55
55
  this.loadProjectsState.pass();
56
56
  } catch (error) {
57
57
  assertErrorThrown(error);
58
- this.applicationStore.notifyError(error);
58
+ this.applicationStore.notificationService.notifyError(error);
59
59
  this.loadProjectsState.fail();
60
60
  }
61
61
  }
@@ -67,19 +67,19 @@ export class LoadProjectServiceQuerySetupStore extends BaseQuerySetupStore {
67
67
  (entry) => entry.sdlcProjectIDPrefix === projectIDPrefix,
68
68
  );
69
69
  if (matchingSDLCEntry) {
70
- this.applicationStore.setBlockingAlert({
70
+ this.applicationStore.alertService.setBlockingAlert({
71
71
  message: `Loading service project...`,
72
72
  prompt: 'Please do not close the application',
73
73
  showLoading: true,
74
74
  });
75
- this.applicationStore.navigator.goToAddress(
75
+ this.applicationStore.navigationService.navigator.goToAddress(
76
76
  EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateProjectServiceQueryUrl(
77
77
  matchingSDLCEntry.url,
78
78
  project.projectId,
79
79
  ),
80
80
  );
81
81
  } else {
82
- this.applicationStore.notifyWarning(
82
+ this.applicationStore.notificationService.notifyWarning(
83
83
  `Can't find the corresponding SDLC instance to load project '${project.projectId}'`,
84
84
  );
85
85
  }