@finos/legend-application-query 11.0.16 → 12.0.1
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.
- package/lib/__lib__/LegendQueryApplicationNavigationContext.d.ts.map +1 -0
- package/lib/__lib__/LegendQueryApplicationNavigationContext.js.map +1 -0
- package/lib/__lib__/LegendQueryEvent.d.ts.map +1 -0
- package/lib/__lib__/LegendQueryEvent.js.map +1 -0
- package/lib/__lib__/LegendQueryEventHelper.d.ts.map +1 -0
- package/lib/__lib__/LegendQueryEventHelper.js.map +1 -0
- package/lib/__lib__/LegendQueryNavigation.d.ts.map +1 -0
- package/lib/{application → __lib__}/LegendQueryNavigation.js +4 -4
- package/lib/__lib__/LegendQueryNavigation.js.map +1 -0
- package/lib/{application → __lib__}/LegendQueryTelemetryHelper.d.ts +2 -0
- package/lib/__lib__/LegendQueryTelemetryHelper.d.ts.map +1 -0
- package/lib/{application → __lib__}/LegendQueryTelemetryHelper.js +4 -0
- package/lib/__lib__/LegendQueryTelemetryHelper.js.map +1 -0
- package/lib/application/LegendQuery.d.ts +2 -1
- package/lib/application/LegendQuery.d.ts.map +1 -1
- package/lib/application/LegendQuery.js +4 -6
- package/lib/application/LegendQuery.js.map +1 -1
- package/lib/application/LegendQueryApplicationConfig.d.ts +1 -0
- package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendQueryApplicationConfig.js +3 -0
- package/lib/application/LegendQueryApplicationConfig.js.map +1 -1
- package/lib/components/CloneQueryServiceSetup.d.ts.map +1 -1
- package/lib/components/CloneQueryServiceSetup.js +5 -5
- package/lib/components/CloneQueryServiceSetup.js.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/Core_LegendQueryApplicationPlugin.js +11 -7
- package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/CreateMappingQuerySetup.d.ts.map +1 -1
- package/lib/components/CreateMappingQuerySetup.js +7 -6
- package/lib/components/CreateMappingQuerySetup.js.map +1 -1
- package/lib/components/EditExistingQuerySetup.d.ts.map +1 -1
- package/lib/components/EditExistingQuerySetup.js +6 -7
- package/lib/components/EditExistingQuerySetup.js.map +1 -1
- package/lib/components/{LegendQueryBaseStoreProvider.d.ts → LegendQueryFrameworkProvider.d.ts} +3 -3
- package/lib/components/LegendQueryFrameworkProvider.d.ts.map +1 -0
- package/lib/components/{LegendQueryBaseStoreProvider.js → LegendQueryFrameworkProvider.js} +5 -6
- package/lib/components/LegendQueryFrameworkProvider.js.map +1 -0
- package/lib/components/{LegendQueryApplication.d.ts → LegendQueryWebApplication.d.ts} +3 -4
- package/lib/components/LegendQueryWebApplication.d.ts.map +1 -0
- package/lib/components/LegendQueryWebApplication.js +42 -0
- package/lib/components/LegendQueryWebApplication.js.map +1 -0
- package/lib/components/LoadProjectServiceQuerySetup.d.ts.map +1 -1
- package/lib/components/LoadProjectServiceQuerySetup.js +4 -5
- package/lib/components/LoadProjectServiceQuerySetup.js.map +1 -1
- package/lib/components/QueryEditor.js +4 -3
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
- package/lib/components/QueryEditorStoreProvider.js +7 -8
- package/lib/components/QueryEditorStoreProvider.js.map +1 -1
- package/lib/components/QueryProductionizerSetup.d.ts.map +1 -1
- package/lib/components/QueryProductionizerSetup.js +6 -7
- package/lib/components/QueryProductionizerSetup.js.map +1 -1
- package/lib/components/QuerySetup.js +2 -2
- package/lib/components/QuerySetup.js.map +1 -1
- package/lib/components/UpdateExistingServiceQuerySetup.d.ts.map +1 -1
- package/lib/components/UpdateExistingServiceQuerySetup.js +4 -5
- package/lib/components/UpdateExistingServiceQuerySetup.js.map +1 -1
- package/lib/components/{QueryEditorComponentTestUtils.d.ts → __test-utils__/QueryEditorComponentTestUtils.d.ts} +3 -9
- package/lib/components/__test-utils__/QueryEditorComponentTestUtils.d.ts.map +1 -0
- package/lib/components/{QueryEditorComponentTestUtils.js → __test-utils__/QueryEditorComponentTestUtils.js} +17 -23
- package/lib/components/__test-utils__/QueryEditorComponentTestUtils.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json +2 -2
- package/lib/stores/CloneServiceQuerySetupStore.js +1 -1
- package/lib/stores/CloneServiceQuerySetupStore.js.map +1 -1
- package/lib/stores/CreateMappingQuerySetupStore.js +1 -1
- package/lib/stores/CreateMappingQuerySetupStore.js.map +1 -1
- package/lib/stores/LegendQueryBaseStore.d.ts +2 -2
- package/lib/stores/LegendQueryBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendQueryBaseStore.js +6 -3
- package/lib/stores/LegendQueryBaseStore.js.map +1 -1
- package/lib/stores/LoadProjectServiceQuerySetupStore.js +1 -1
- package/lib/stores/LoadProjectServiceQuerySetupStore.js.map +1 -1
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +10 -8
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/QueryProductionizerSetupStore.js +1 -1
- package/lib/stores/QueryProductionizerSetupStore.js.map +1 -1
- package/lib/stores/QuerySetupStore.js +4 -4
- package/lib/stores/QuerySetupStore.js.map +1 -1
- package/lib/stores/UpdateExistingServiceQuerySetupStore.js +1 -1
- package/lib/stores/UpdateExistingServiceQuerySetupStore.js.map +1 -1
- package/lib/stores/{QueryEditorStoreTestUtils.d.ts → __test-utils__/LegendQueryApplicationTestUtils.d.ts} +2 -2
- package/lib/stores/__test-utils__/LegendQueryApplicationTestUtils.d.ts.map +1 -0
- package/lib/stores/{QueryEditorStoreTestUtils.js → __test-utils__/LegendQueryApplicationTestUtils.js} +5 -5
- package/lib/stores/__test-utils__/LegendQueryApplicationTestUtils.js.map +1 -0
- package/package.json +11 -11
- package/src/{application → __lib__}/LegendQueryNavigation.ts +4 -4
- package/src/{application → __lib__}/LegendQueryTelemetryHelper.ts +14 -0
- package/src/application/LegendQuery.tsx +10 -17
- package/src/application/LegendQueryApplicationConfig.ts +4 -0
- package/src/components/CloneQueryServiceSetup.tsx +11 -5
- package/src/components/Core_LegendQueryApplicationPlugin.tsx +13 -7
- package/src/components/CreateMappingQuerySetup.tsx +16 -10
- package/src/components/EditExistingQuerySetup.tsx +16 -10
- package/src/components/{LegendQueryBaseStoreProvider.tsx → LegendQueryFrameworkProvider.tsx} +11 -4
- package/src/components/LegendQueryWebApplication.tsx +117 -0
- package/src/components/LoadProjectServiceQuerySetup.tsx +7 -5
- package/src/components/QueryEditor.tsx +3 -3
- package/src/components/QueryEditorStoreProvider.tsx +10 -8
- package/src/components/QueryProductionizerSetup.tsx +14 -9
- package/src/components/QuerySetup.tsx +2 -2
- package/src/components/UpdateExistingServiceQuerySetup.tsx +7 -5
- package/src/components/{QueryEditorComponentTestUtils.tsx → __test-utils__/QueryEditorComponentTestUtils.tsx} +30 -63
- package/src/index.ts +9 -4
- package/src/stores/CloneServiceQuerySetupStore.ts +1 -1
- package/src/stores/CreateMappingQuerySetupStore.ts +1 -1
- package/src/stores/LegendQueryBaseStore.ts +6 -7
- package/src/stores/LoadProjectServiceQuerySetupStore.ts +1 -1
- package/src/stores/QueryEditorStore.ts +11 -9
- package/src/stores/QueryProductionizerSetupStore.ts +1 -1
- package/src/stores/QuerySetupStore.ts +4 -4
- package/src/stores/UpdateExistingServiceQuerySetupStore.ts +1 -1
- package/src/stores/{QueryEditorStoreTestUtils.ts → __test-utils__/LegendQueryApplicationTestUtils.ts} +4 -4
- package/tsconfig.json +10 -10
- package/lib/application/LegendQueryApplicationNavigationContext.d.ts.map +0 -1
- package/lib/application/LegendQueryApplicationNavigationContext.js.map +0 -1
- package/lib/application/LegendQueryEvent.d.ts.map +0 -1
- package/lib/application/LegendQueryEvent.js.map +0 -1
- package/lib/application/LegendQueryEventHelper.d.ts.map +0 -1
- package/lib/application/LegendQueryEventHelper.js.map +0 -1
- package/lib/application/LegendQueryNavigation.d.ts.map +0 -1
- package/lib/application/LegendQueryNavigation.js.map +0 -1
- package/lib/application/LegendQueryTelemetryHelper.d.ts.map +0 -1
- package/lib/application/LegendQueryTelemetryHelper.js.map +0 -1
- package/lib/components/LegendQueryApplication.d.ts.map +0 -1
- package/lib/components/LegendQueryApplication.js +0 -49
- package/lib/components/LegendQueryApplication.js.map +0 -1
- package/lib/components/LegendQueryBaseStoreProvider.d.ts.map +0 -1
- package/lib/components/LegendQueryBaseStoreProvider.js.map +0 -1
- package/lib/components/QueryEditorComponentTestUtils.d.ts.map +0 -1
- package/lib/components/QueryEditorComponentTestUtils.js.map +0 -1
- package/lib/stores/QueryEditorStoreTestUtils.d.ts.map +0 -1
- package/lib/stores/QueryEditorStoreTestUtils.js.map +0 -1
- package/src/components/LegendQueryApplication.tsx +0 -133
- /package/lib/{application → __lib__}/LegendQueryApplicationNavigationContext.d.ts +0 -0
- /package/lib/{application → __lib__}/LegendQueryApplicationNavigationContext.js +0 -0
- /package/lib/{application → __lib__}/LegendQueryEvent.d.ts +0 -0
- /package/lib/{application → __lib__}/LegendQueryEvent.js +0 -0
- /package/lib/{application → __lib__}/LegendQueryEventHelper.d.ts +0 -0
- /package/lib/{application → __lib__}/LegendQueryEventHelper.js +0 -0
- /package/lib/{application → __lib__}/LegendQueryNavigation.d.ts +0 -0
- /package/src/{application → __lib__}/LegendQueryApplicationNavigationContext.ts +0 -0
- /package/src/{application → __lib__}/LegendQueryEvent.ts +0 -0
- /package/src/{application → __lib__}/LegendQueryEventHelper.ts +0 -0
@@ -15,12 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { type RenderResult, render, waitFor } from '@testing-library/react';
|
18
|
-
import {
|
19
|
-
|
20
|
-
createMock,
|
21
|
-
createSpy,
|
22
|
-
type Writable,
|
23
|
-
} from '@finos/legend-shared';
|
18
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
19
|
+
import { createMock, createSpy } from '@finos/legend-shared/test';
|
24
20
|
import {
|
25
21
|
type GraphManagerState,
|
26
22
|
Query,
|
@@ -29,62 +25,50 @@ import {
|
|
29
25
|
PackageableElementExplicitReference,
|
30
26
|
type RawMappingModelCoverageAnalysisResult,
|
31
27
|
} from '@finos/legend-graph';
|
28
|
+
import { DepotServerClient } from '@finos/legend-server-depot';
|
32
29
|
import {
|
33
|
-
|
34
|
-
|
35
|
-
TEST__getTestDepotServerClient,
|
36
|
-
} from '@finos/legend-server-depot';
|
37
|
-
import {
|
38
|
-
TEST__provideMockedWebApplicationNavigator,
|
39
|
-
TEST__ApplicationStoreProvider,
|
40
|
-
WebApplicationNavigator,
|
41
|
-
TEST__getTestApplicationStore,
|
42
|
-
Router,
|
43
|
-
createMemoryHistory,
|
44
|
-
type NavigationService,
|
30
|
+
ApplicationStoreProvider,
|
31
|
+
ApplicationStore,
|
45
32
|
} from '@finos/legend-application';
|
46
|
-
import { TEST__getTestLegendQueryApplicationConfig } from '
|
47
|
-
import { LegendQueryPluginManager } from '
|
48
|
-
import { ExistingQueryEditor } from '
|
49
|
-
import { generateExistingQueryEditorRoute } from '../application/LegendQueryNavigation.js';
|
33
|
+
import { TEST__getTestLegendQueryApplicationConfig } from '../../stores/__test-utils__/LegendQueryApplicationTestUtils.js';
|
34
|
+
import { LegendQueryPluginManager } from '../../application/LegendQueryPluginManager.js';
|
35
|
+
import { ExistingQueryEditor } from '../QueryEditor.js';
|
50
36
|
import type { Entity } from '@finos/legend-storage';
|
51
|
-
import { ExistingQueryEditorStore } from '
|
52
|
-
import {
|
53
|
-
import type { LegendQueryApplicationStore } from '../stores/LegendQueryBaseStore.js';
|
37
|
+
import { ExistingQueryEditorStore } from '../../stores/QueryEditorStore.js';
|
38
|
+
import type { LegendQueryApplicationStore } from '../../stores/LegendQueryBaseStore.js';
|
54
39
|
import {
|
55
40
|
type QueryBuilderState,
|
56
41
|
QUERY_BUILDER_TEST_ID,
|
57
42
|
} from '@finos/legend-query-builder';
|
58
|
-
|
59
|
-
|
60
|
-
children: React.ReactNode;
|
61
|
-
}> = ({ children }) => (
|
62
|
-
<LegendQueryBaseStoreProvider>{children}</LegendQueryBaseStoreProvider>
|
63
|
-
);
|
43
|
+
import { LegendQueryFrameworkProvider } from '../LegendQueryFrameworkProvider.js';
|
44
|
+
import { TEST__BrowserEnvironmentProvider } from '@finos/legend-application/test';
|
64
45
|
|
65
46
|
const TEST_QUERY_ID = 'test-query-id';
|
66
47
|
|
67
48
|
export const TEST__provideMockedQueryEditorStore = (customization?: {
|
68
49
|
mock?: ExistingQueryEditorStore;
|
69
50
|
applicationStore?: LegendQueryApplicationStore;
|
70
|
-
depotServerClient?: DepotServerClient;
|
71
51
|
graphManagerState?: GraphManagerState;
|
72
52
|
pluginManager?: LegendQueryPluginManager;
|
73
53
|
}): ExistingQueryEditorStore => {
|
74
54
|
const pluginManager =
|
75
55
|
customization?.pluginManager ?? LegendQueryPluginManager.create();
|
56
|
+
const applicationStore =
|
57
|
+
customization?.applicationStore ??
|
58
|
+
new ApplicationStore(
|
59
|
+
TEST__getTestLegendQueryApplicationConfig(),
|
60
|
+
pluginManager,
|
61
|
+
);
|
76
62
|
const value =
|
77
63
|
customization?.mock ??
|
78
64
|
new ExistingQueryEditorStore(
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
),
|
84
|
-
customization?.depotServerClient ?? TEST__getTestDepotServerClient(),
|
65
|
+
applicationStore,
|
66
|
+
new DepotServerClient({
|
67
|
+
serverUrl: applicationStore.config.depotServerUrl,
|
68
|
+
}),
|
85
69
|
TEST_QUERY_ID,
|
86
70
|
);
|
87
|
-
const MOCK__QueryEditorStoreProvider = require('
|
71
|
+
const MOCK__QueryEditorStoreProvider = require('../QueryEditorStoreProvider.js'); // eslint-disable-line @typescript-eslint/no-unsafe-assignment
|
88
72
|
MOCK__QueryEditorStoreProvider.useQueryEditorStore = createMock();
|
89
73
|
MOCK__QueryEditorStoreProvider.useQueryEditorStore.mockReturnValue(value);
|
90
74
|
return value;
|
@@ -170,31 +154,14 @@ export const TEST__setUpQueryEditor = async (
|
|
170
154
|
MOCK__editorStore.buildGraph = createMock();
|
171
155
|
graphManagerState.graphManager.initialize = createMock();
|
172
156
|
|
173
|
-
const history = createMemoryHistory({
|
174
|
-
initialEntries: [generateExistingQueryEditorRoute(lightQuery.id)],
|
175
|
-
});
|
176
|
-
const navigator = new WebApplicationNavigator(history);
|
177
|
-
TEST__provideMockedWebApplicationNavigator({ mock: navigator });
|
178
|
-
// TODO: this is not the proper way to do this, we prefer to mock and inject this when we
|
179
|
-
// create the editor store, let's consider how we clean this up in the future
|
180
|
-
(
|
181
|
-
MOCK__editorStore.applicationStore
|
182
|
-
.navigationService as Writable<NavigationService>
|
183
|
-
).navigator = navigator;
|
184
|
-
|
185
157
|
const renderResult = render(
|
186
|
-
<
|
187
|
-
<
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
<ExistingQueryEditor />
|
194
|
-
</TEST__LegendQueryBaseStoreProvider>
|
195
|
-
</TEST__DepotServerClientProvider>
|
196
|
-
</TEST__ApplicationStoreProvider>
|
197
|
-
</Router>,
|
158
|
+
<ApplicationStoreProvider store={MOCK__editorStore.applicationStore}>
|
159
|
+
<TEST__BrowserEnvironmentProvider>
|
160
|
+
<LegendQueryFrameworkProvider>
|
161
|
+
<ExistingQueryEditor />
|
162
|
+
</LegendQueryFrameworkProvider>
|
163
|
+
</TEST__BrowserEnvironmentProvider>
|
164
|
+
</ApplicationStoreProvider>,
|
198
165
|
);
|
199
166
|
await waitFor(() =>
|
200
167
|
renderResult.getByTestId(QUERY_BUILDER_TEST_ID.QUERY_BUILDER),
|
package/src/index.ts
CHANGED
@@ -18,11 +18,16 @@
|
|
18
18
|
export * from './application/LegendQuery.js';
|
19
19
|
export * from './application/LegendQueryApplicationConfig.js';
|
20
20
|
export * from './application/LegendQueryPluginManager.js';
|
21
|
-
|
22
|
-
export * from './
|
23
|
-
export
|
21
|
+
|
22
|
+
export * from './__lib__/LegendQueryEvent.js';
|
23
|
+
export * from './__lib__/LegendQueryEventHelper.js';
|
24
|
+
export { generateExistingQueryEditorRoute } from './__lib__/LegendQueryNavigation.js';
|
25
|
+
|
26
|
+
export {
|
27
|
+
useLegendQueryApplicationStore,
|
28
|
+
useLegendQueryBaseStore,
|
29
|
+
} from './components/LegendQueryFrameworkProvider.js';
|
24
30
|
export type { LegendQueryApplicationStore } from './stores/LegendQueryBaseStore.js';
|
25
|
-
export { generateExistingQueryEditorRoute } from './application/LegendQueryNavigation.js';
|
26
31
|
|
27
32
|
// stores
|
28
33
|
export * from './stores/LegendQueryApplicationPlugin.js';
|
@@ -31,7 +31,7 @@ import {
|
|
31
31
|
} from '@finos/legend-shared';
|
32
32
|
import type { EntitiesWithOrigin, Entity } from '@finos/legend-storage';
|
33
33
|
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
34
|
-
import { LEGEND_QUERY_APP_EVENT } from '../
|
34
|
+
import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
|
35
35
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
36
36
|
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
37
37
|
import type { Service } from '@finos/legend-graph';
|
@@ -39,7 +39,7 @@ import {
|
|
39
39
|
makeObservable,
|
40
40
|
observable,
|
41
41
|
} from 'mobx';
|
42
|
-
import { LEGEND_QUERY_APP_EVENT } from '../
|
42
|
+
import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
|
43
43
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
44
44
|
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
45
45
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import
|
17
|
+
import { DepotServerClient } from '@finos/legend-server-depot';
|
18
18
|
import {
|
19
19
|
type ApplicationStore,
|
20
20
|
LegendApplicationTelemetryHelper,
|
@@ -43,19 +43,18 @@ export class LegendQueryBaseStore {
|
|
43
43
|
|
44
44
|
readonly initState = ActionState.create();
|
45
45
|
|
46
|
-
constructor(
|
47
|
-
applicationStore: LegendQueryApplicationStore,
|
48
|
-
depotServerClient: DepotServerClient,
|
49
|
-
) {
|
46
|
+
constructor(applicationStore: LegendQueryApplicationStore) {
|
50
47
|
makeObservable(this, {
|
51
48
|
initialize: flow,
|
52
49
|
});
|
53
50
|
|
54
51
|
this.applicationStore = applicationStore;
|
55
|
-
this.depotServerClient = depotServerClient;
|
56
52
|
this.pluginManager = applicationStore.pluginManager;
|
57
53
|
|
58
|
-
//
|
54
|
+
// setup servers
|
55
|
+
this.depotServerClient = new DepotServerClient({
|
56
|
+
serverUrl: this.applicationStore.config.depotServerUrl,
|
57
|
+
});
|
59
58
|
this.depotServerClient.setTracerService(
|
60
59
|
this.applicationStore.tracerService,
|
61
60
|
);
|
@@ -27,7 +27,7 @@ import {
|
|
27
27
|
import { parseProjectIdentifier } from '@finos/legend-storage';
|
28
28
|
import { flow, makeObservable, observable } from 'mobx';
|
29
29
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
30
|
-
import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateProjectServiceQueryUrl } from '../
|
30
|
+
import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateProjectServiceQueryUrl } from '../__lib__/LegendQueryNavigation.js';
|
31
31
|
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
32
32
|
|
33
33
|
export class LoadProjectServiceQuerySetupStore extends BaseQuerySetupStore {
|
@@ -58,8 +58,8 @@ import {
|
|
58
58
|
generateExistingQueryEditorRoute,
|
59
59
|
generateMappingQueryCreatorRoute,
|
60
60
|
generateServiceQueryCreatorRoute,
|
61
|
-
} from '../
|
62
|
-
import { LEGEND_QUERY_APP_EVENT } from '../
|
61
|
+
} from '../__lib__/LegendQueryNavigation.js';
|
62
|
+
import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
|
63
63
|
import {
|
64
64
|
type Entity,
|
65
65
|
type ProjectGAVCoordinates,
|
@@ -72,13 +72,12 @@ import {
|
|
72
72
|
resolveVersion,
|
73
73
|
} from '@finos/legend-server-depot';
|
74
74
|
import {
|
75
|
-
|
75
|
+
DEFAULT_TAB_SIZE,
|
76
76
|
DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH,
|
77
77
|
DEFAULT_TYPEAHEAD_SEARCH_LIMIT,
|
78
|
-
LegendApplicationTelemetryHelper,
|
79
78
|
} from '@finos/legend-application';
|
80
79
|
import type { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
|
81
|
-
import { LegendQueryEventHelper } from '../
|
80
|
+
import { LegendQueryEventHelper } from '../__lib__/LegendQueryEventHelper.js';
|
82
81
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
83
82
|
import {
|
84
83
|
type QueryBuilderState,
|
@@ -87,7 +86,7 @@ import {
|
|
87
86
|
MappingQueryBuilderState,
|
88
87
|
ServiceQueryBuilderState,
|
89
88
|
} from '@finos/legend-query-builder';
|
90
|
-
import { LegendQueryTelemetryHelper } from '../
|
89
|
+
import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
|
91
90
|
|
92
91
|
export const createViewProjectHandler =
|
93
92
|
(applicationStore: LegendQueryApplicationStore) =>
|
@@ -430,11 +429,14 @@ export abstract class QueryEditorStore {
|
|
430
429
|
try {
|
431
430
|
this.initState.inProgress();
|
432
431
|
|
432
|
+
// TODO: when we genericize the way to initialize an application page
|
433
|
+
this.applicationStore.assistantService.setIsHidden(false);
|
434
|
+
|
433
435
|
// initialize the graph manager
|
434
436
|
yield this.graphManagerState.graphManager.initialize(
|
435
437
|
{
|
436
438
|
env: this.applicationStore.config.env,
|
437
|
-
tabSize:
|
439
|
+
tabSize: DEFAULT_TAB_SIZE,
|
438
440
|
clientConfig: {
|
439
441
|
baseUrl: this.applicationStore.config.engineServerUrl,
|
440
442
|
queryBaseUrl: this.applicationStore.config.engineQueryServerUrl,
|
@@ -494,7 +496,7 @@ export abstract class QueryEditorStore {
|
|
494
496
|
// fetch and build dependencies
|
495
497
|
stopWatch.record();
|
496
498
|
const dependencyManager =
|
497
|
-
this.graphManagerState.
|
499
|
+
this.graphManagerState.graphManager.createDependencyManager();
|
498
500
|
this.graphManagerState.graph.dependencyManager = dependencyManager;
|
499
501
|
this.graphManagerState.dependenciesBuildState.setMessage(
|
500
502
|
`Fetching dependencies...`,
|
@@ -545,7 +547,7 @@ export abstract class QueryEditorStore {
|
|
545
547
|
this.graphManagerState.graph.dependencyManager.numberOfDependencies,
|
546
548
|
graph: graph_buildReport,
|
547
549
|
};
|
548
|
-
|
550
|
+
LegendQueryTelemetryHelper.logEvent_GraphInitializationSucceeded(
|
549
551
|
this.applicationStore.telemetryService,
|
550
552
|
graphBuilderReportData,
|
551
553
|
);
|
@@ -35,7 +35,7 @@ import {
|
|
35
35
|
import { parseProjectIdentifier } from '@finos/legend-storage';
|
36
36
|
import { flow, makeObservable, observable } from 'mobx';
|
37
37
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
38
|
-
import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioProductionizeQueryUrl } from '../
|
38
|
+
import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioProductionizeQueryUrl } from '../__lib__/LegendQueryNavigation.js';
|
39
39
|
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
40
40
|
|
41
41
|
export class QueryProductionizerSetupStore extends BaseQuerySetupStore {
|
@@ -25,11 +25,11 @@ import {
|
|
25
25
|
} from '@finos/legend-shared';
|
26
26
|
import { BasicGraphManagerState } from '@finos/legend-graph';
|
27
27
|
import type { DepotServerClient } from '@finos/legend-server-depot';
|
28
|
-
import { LEGEND_QUERY_APP_EVENT } from '../
|
29
|
-
import {
|
28
|
+
import { LEGEND_QUERY_APP_EVENT } from '../__lib__/LegendQueryEvent.js';
|
29
|
+
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
30
30
|
import type { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
|
31
31
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
32
|
-
import { generateQuerySetupRoute } from '../
|
32
|
+
import { generateQuerySetupRoute } from '../__lib__/LegendQueryNavigation.js';
|
33
33
|
import type { QuerySetupActionConfiguration } from './LegendQueryApplicationPlugin.js';
|
34
34
|
|
35
35
|
export abstract class BaseQuerySetupStore {
|
@@ -67,7 +67,7 @@ export abstract class BaseQuerySetupStore {
|
|
67
67
|
yield this.graphManagerState.graphManager.initialize(
|
68
68
|
{
|
69
69
|
env: this.applicationStore.config.env,
|
70
|
-
tabSize:
|
70
|
+
tabSize: DEFAULT_TAB_SIZE,
|
71
71
|
clientConfig: {
|
72
72
|
baseUrl: this.applicationStore.config.engineServerUrl,
|
73
73
|
queryBaseUrl: this.applicationStore.config.engineQueryServerUrl,
|
@@ -37,7 +37,7 @@ import {
|
|
37
37
|
import { parseProjectIdentifier } from '@finos/legend-storage';
|
38
38
|
import { flow, makeObservable, observable } from 'mobx';
|
39
39
|
import type { LegendQueryApplicationStore } from './LegendQueryBaseStore.js';
|
40
|
-
import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl } from '../
|
40
|
+
import { EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl } from '../__lib__/LegendQueryNavigation.js';
|
41
41
|
import { BaseQuerySetupStore } from './QuerySetupStore.js';
|
42
42
|
|
43
43
|
export class UpdateExistingServiceQuerySetupStore extends BaseQuerySetupStore {
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import {
|
18
|
-
import {
|
17
|
+
import { TEST__getApplicationVersionData } from '@finos/legend-application/test';
|
18
|
+
import { LegendQueryApplicationConfig } from '../../application/LegendQueryApplicationConfig.js';
|
19
19
|
|
20
20
|
const TEST_DATA__appConfig = {
|
21
21
|
appName: 'test-query-app',
|
@@ -43,8 +43,8 @@ export const TEST__getTestLegendQueryApplicationConfig = (
|
|
43
43
|
...TEST_DATA__appConfig,
|
44
44
|
...extraConfigData,
|
45
45
|
},
|
46
|
-
versionData:
|
47
|
-
|
46
|
+
versionData: TEST__getApplicationVersionData(),
|
47
|
+
baseAddress: '/query/',
|
48
48
|
});
|
49
49
|
return config;
|
50
50
|
};
|
package/tsconfig.json
CHANGED
@@ -33,13 +33,13 @@
|
|
33
33
|
],
|
34
34
|
"files": [
|
35
35
|
"./src/index.ts",
|
36
|
+
"./src/__lib__/LegendQueryApplicationNavigationContext.ts",
|
37
|
+
"./src/__lib__/LegendQueryEvent.ts",
|
38
|
+
"./src/__lib__/LegendQueryEventHelper.ts",
|
39
|
+
"./src/__lib__/LegendQueryNavigation.ts",
|
40
|
+
"./src/__lib__/LegendQueryTelemetryHelper.ts",
|
36
41
|
"./src/application/LegendQueryApplicationConfig.ts",
|
37
|
-
"./src/application/LegendQueryApplicationNavigationContext.ts",
|
38
|
-
"./src/application/LegendQueryEvent.ts",
|
39
|
-
"./src/application/LegendQueryEventHelper.ts",
|
40
|
-
"./src/application/LegendQueryNavigation.ts",
|
41
42
|
"./src/application/LegendQueryPluginManager.ts",
|
42
|
-
"./src/application/LegendQueryTelemetryHelper.ts",
|
43
43
|
"./src/stores/CloneServiceQuerySetupStore.ts",
|
44
44
|
"./src/stores/CreateMappingQuerySetupStore.ts",
|
45
45
|
"./src/stores/EditExistingQuerySetupStore.ts",
|
@@ -47,24 +47,24 @@
|
|
47
47
|
"./src/stores/LegendQueryBaseStore.ts",
|
48
48
|
"./src/stores/LoadProjectServiceQuerySetupStore.ts",
|
49
49
|
"./src/stores/QueryEditorStore.ts",
|
50
|
-
"./src/stores/QueryEditorStoreTestUtils.ts",
|
51
50
|
"./src/stores/QueryProductionizerSetupStore.ts",
|
52
51
|
"./src/stores/QuerySetupStore.ts",
|
53
52
|
"./src/stores/UpdateExistingServiceQuerySetupStore.ts",
|
53
|
+
"./src/stores/__test-utils__/LegendQueryApplicationTestUtils.ts",
|
54
54
|
"./src/application/LegendQuery.tsx",
|
55
55
|
"./src/components/CloneQueryServiceSetup.tsx",
|
56
56
|
"./src/components/Core_LegendQueryApplicationPlugin.tsx",
|
57
57
|
"./src/components/CreateMappingQuerySetup.tsx",
|
58
58
|
"./src/components/EditExistingQuerySetup.tsx",
|
59
|
-
"./src/components/
|
60
|
-
"./src/components/
|
59
|
+
"./src/components/LegendQueryFrameworkProvider.tsx",
|
60
|
+
"./src/components/LegendQueryWebApplication.tsx",
|
61
61
|
"./src/components/LoadProjectServiceQuerySetup.tsx",
|
62
62
|
"./src/components/QueryEditor.tsx",
|
63
|
-
"./src/components/QueryEditorComponentTestUtils.tsx",
|
64
63
|
"./src/components/QueryEditorStoreProvider.tsx",
|
65
64
|
"./src/components/QueryProductionizerSetup.tsx",
|
66
65
|
"./src/components/QuerySetup.tsx",
|
67
|
-
"./src/components/UpdateExistingServiceQuerySetup.tsx"
|
66
|
+
"./src/components/UpdateExistingServiceQuerySetup.tsx",
|
67
|
+
"./src/components/__test-utils__/QueryEditorComponentTestUtils.tsx"
|
68
68
|
],
|
69
69
|
"include": [
|
70
70
|
"src/**/*.ts",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplicationNavigationContext.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,+CAA+C;IAEzD,MAAM,iBAAiB;CACxB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplicationNavigationContext.js","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,+CAGX;AAHD,WAAY,+CAA+C;IACzD,SAAS;IACT,0EAAuB,CAAA;AACzB,CAAC,EAHW,+CAA+C,GAA/C,+CAA+C,KAA/C,+CAA+C,QAG1D"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryEvent.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,sBAAsB;IAEhC,eAAe,gCAAgC;IAE/C,mBAAmB,oCAAoC;IACvD,qBAAqB,sCAAsC;IAC3D,qBAAqB,sCAAsC;CAC5D"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryEvent.js","sourceRoot":"","sources":["../../src/application/LegendQueryEvent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAChC,wCAAwC;IACxC,yEAA+C,CAAA;IAE/C,iFAAuD,CAAA;IACvD,qFAA2D,CAAA;IAC3D,qFAA2D,CAAA;AAC7D,CAAC,EAPW,sBAAsB,GAAtB,sBAAsB,KAAtB,sBAAsB,QAOjC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryEventHelper.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryEventHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,KAAK,sBAAsB,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,sBAAsB;IACjC,MAAM,CAAC,2BAA2B,CAChC,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,sBAAsB,GAC3B,IAAI;CAGR"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryEventHelper.js","sourceRoot":"","sources":["../../src/application/LegendQueryEventHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAM/D,MAAM,OAAO,sBAAsB;IACjC,MAAM,CAAC,2BAA2B,CAChC,OAAqB,EACrB,IAA4B;QAE5B,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,oBAAY,gCAAgC;IAC1C,GAAG,QAAQ;IACX,QAAQ,YAAY;IACpB,YAAY,gBAAgB;IAC5B,YAAY,gBAAgB;IAC5B,YAAY,gBAAgB;CAC7B;AAED,eAAO,MAAM,0BAA0B;;;;;;;;;;;EAWrC,CAAC;AAEH,oBAAY,oCAAoC;IAC9C,eAAe,kBAAkB;IACjC,qBAAqB,wBAAwB;IAC7C,GAAG,QAAQ;CACZ;AAED,oBAAY,8BAA8B;IACxC,qBAAqB,iBAAiB;CACvC;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,oCAAoC,CAAC,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5E,CAAC,oCAAoC,CAAC,qBAAqB,CAAC,CAAC,EACzD,MAAM,GACN,SAAS,CAAC;IACd,CAAC,oCAAoC,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,uBAAuB,mBAClB,OAAO,GAAG,SAAS,wBACb,OAAO,GAAG,SAAS,QACnC,MAAM,GAAG,SAAS,KACvB,MAeA,CAAC;AAEJ,eAAO,MAAM,mCAAmC,QAAO,MACiB,CAAC;AACzE,eAAO,MAAM,oCAAoC,QAAO,MACiB,CAAC;AAC1E,eAAO,MAAM,m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AAM,cACL,MAAM,GAAG,SAAS,KAC7B,MAGC,CAAC;AAEP;;GAEG;AACH,eAAO,MAAM,4EAA4E,yBAE/D,MAAM,WACnB,MAAM,cACH,MAAM,eACL,MAAM,KAClB,MAKE,CAAC;AAER;;GAEG;AACH,eAAO,MAAM,2EAA2E,yBAC/D,MAAM,aAAa,MAAM,KAAG,MAC6B,CAAC;AAEnF;;GAEG;AACH,eAAO,MAAM,oEAAoE,yBACxD,MAAM,WAAW,MAAM,KAAG,MACoB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryNavigation.js","sourceRoot":"","sources":["../../src/application/LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,+CAAW,CAAA;IACX,wDAAoB,CAAA;IACpB,gEAA4B,CAAA;IAC5B,gEAA4B,CAAA;IAC5B,gEAA4B,CAAA;AAC9B,CAAC,EANW,gCAAgC,GAAhC,gCAAgC,KAAhC,gCAAgC,QAM3C;AAED,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,CAAC;IACtD,KAAK,EAAE,QAAQ;IACf,yBAAyB,EAAE,uBAAuB;IAClD,0BAA0B,EAAE,eAAe;IAC3C,yBAAyB,EAAE,4BAA4B;IACvD,0BAA0B,EAAE,4BAA4B;IACxD,mCAAmC,EAAE,sCAAsC;IAC3E,gCAAgC,EAAE,mCAAmC;IACrE,yBAAyB,EAAE,mBAAmB,gCAAgC,CAAC,GAAG,KAAK,gCAAgC,CAAC,YAAY,KAAK,gCAAgC,CAAC,YAAY,EAAE;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B,4CAA4C,SAAS,EAAE,CAAC;AAEnF;;GAEG;AACH,MAAM,CAAC,MAAM,oEAAoE,GAC/E,CAAC,oBAA4B,EAAE,OAAe,EAAU,EAAE,CACxD,GAAG,oBAAoB,mCAAmC,OAAO,EAAE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryTelemetryHelper.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,qBAAa,0BAA0B;IACrC,MAAM,CAAC,2BAA2B,CAChC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,mBAAmB,GACxB,IAAI;IAIP,MAAM,CAAC,6BAA6B,CAClC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,mBAAmB,GACxB,IAAI;IAOP,MAAM,CAAC,6BAA6B,CAClC,gBAAgB,EAAE,gBAAgB,EAClC,IAAI,EAAE,mBAAmB,GACxB,IAAI;CAMR"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryTelemetryHelper.js","sourceRoot":"","sources":["../../src/application/LegendQueryTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAY/D,MAAM,OAAO,0BAA0B;IACrC,MAAM,CAAC,2BAA2B,CAChC,gBAAkC,EAClC,IAAyB;QAEzB,gBAAgB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,mBAAmB,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IAED,MAAM,CAAC,6BAA6B,CAClC,gBAAkC,EAClC,IAAyB;QAEzB,gBAAgB,CAAC,QAAQ,CACvB,sBAAsB,CAAC,qBAAqB,EAC5C,IAAI,CACL,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,6BAA6B,CAClC,gBAAkC,EAClC,IAAyB;QAEzB,gBAAgB,CAAC,QAAQ,CACvB,sBAAsB,CAAC,qBAAqB,EAC5C,IAAI,CACL,CAAC;IACJ,CAAC;CACF"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkBH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAkFnG,eAAO,MAAM,sBAAsB,WACzB;IAAE,MAAM,EAAE,4BAA4B,CAAA;CAAE;;CAiBjD,CAAC"}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
/**
|
3
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
-
*
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
* you may not use this file except in compliance with the License.
|
7
|
-
* You may obtain a copy of the License at
|
8
|
-
*
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
*
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
* See the License for the specific language governing permissions and
|
15
|
-
* limitations under the License.
|
16
|
-
*/
|
17
|
-
import { observer } from 'mobx-react-lite';
|
18
|
-
import { LEGEND_QUERY_ROUTE_PATTERN } from '../application/LegendQueryNavigation.js';
|
19
|
-
import { QuerySetupLandingPage } from './QuerySetup.js';
|
20
|
-
import { MappingQueryCreator, ExistingQueryEditor, ServiceQueryCreator, } from './QueryEditor.js';
|
21
|
-
import { DepotServerClientProvider } from '@finos/legend-server-depot';
|
22
|
-
import { generateExtensionUrlPattern, LegendApplicationComponentFrameworkProvider, Redirect, Route, Switch, } from '@finos/legend-application';
|
23
|
-
import { LegendQueryBaseStoreProvider, useLegendQueryApplicationStore, useLegendQueryBaseStore, } from './LegendQueryBaseStoreProvider.js';
|
24
|
-
import { EditExistingQuerySetup } from './EditExistingQuerySetup.js';
|
25
|
-
import { CreateMappingQuerySetup } from './CreateMappingQuerySetup.js';
|
26
|
-
import { useEffect } from 'react';
|
27
|
-
import { flowResult } from 'mobx';
|
28
|
-
import { PanelLoadingIndicator } from '@finos/legend-art';
|
29
|
-
const LegendQueryApplicationRoot = observer(() => {
|
30
|
-
const applicationStore = useLegendQueryApplicationStore();
|
31
|
-
const baseStore = useLegendQueryBaseStore();
|
32
|
-
const extraApplicationPageEntries = applicationStore.pluginManager
|
33
|
-
.getApplicationPlugins()
|
34
|
-
.flatMap((plugin) => plugin.getExtraApplicationPageEntries?.() ?? []);
|
35
|
-
useEffect(() => {
|
36
|
-
flowResult(baseStore.initialize()).catch(applicationStore.alertUnhandledError);
|
37
|
-
}, [applicationStore, baseStore]);
|
38
|
-
if (baseStore.initState.isInProgress) {
|
39
|
-
return (_jsx("div", { className: "app", children: _jsx("div", { className: "app__page", children: _jsx(PanelLoadingIndicator, { isLoading: true }) }) }));
|
40
|
-
}
|
41
|
-
return (_jsx("div", { className: "app", children: _jsxs(Switch, { children: [_jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.SETUP, component: QuerySetupLandingPage }), _jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY_SETUP, component: EditExistingQuerySetup }), _jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_MAPPING_QUERY_SETUP, component: CreateMappingQuerySetup }), _jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY, component: ExistingQueryEditor }), _jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_SERVICE_QUERY, component: ServiceQueryCreator }), _jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_MAPPING_QUERY, component: MappingQueryCreator }), extraApplicationPageEntries.map((entry) => (_jsx(Route, { exact: true, path: entry.urlPatterns.map(generateExtensionUrlPattern), component: entry.renderer }, entry.key))), _jsx(Redirect, { to: LEGEND_QUERY_ROUTE_PATTERN.SETUP })] }) }));
|
42
|
-
});
|
43
|
-
export const LegendQueryApplication = observer((props) => {
|
44
|
-
const { config } = props;
|
45
|
-
return (_jsx(DepotServerClientProvider, { config: {
|
46
|
-
serverUrl: config.depotServerUrl,
|
47
|
-
}, children: _jsx(LegendQueryBaseStoreProvider, { children: _jsx(LegendApplicationComponentFrameworkProvider, { children: _jsx(LegendQueryApplicationRoot, {}) }) }) }));
|
48
|
-
});
|
49
|
-
//# sourceMappingURL=LegendQueryApplication.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplication.js","sourceRoot":"","sources":["../../src/components/LegendQueryApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EACL,2BAA2B,EAC3B,2CAA2C,EAC3C,QAAQ,EAC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KAAC,0BAA0B,KAAG,GACc,GACjB,GACL,CAC7B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryBaseStoreProvider.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryBaseStoreProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAGzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,8BAA8B,QAAO,iBAChD,4BAA4B,EAC5B,wBAAwB,CAEqD,CAAC;AAMhF,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC;IAClD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAWA,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAAO,oBAIxC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryBaseStoreProvider.js","sourceRoot":"","sources":["../../src/components/LegendQueryBaseStoreProvider.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE,OAAO,EAEL,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,8BAA8B,GAA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ACrF,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAEA,CAAC;AAIF,eAAO,MAAM,mCAAmC,mBAAoB;IAClE,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,aAAa,CAAC,EAAE,wBAAwB,CAAC;CAC1C,KAAG,wBAkBH,CAAC;AAEF,eAAO,MAAM,sBAAsB,sBACd,wBAAwB,YACjC,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC;kBAE/D,YAAY;uBACP,iBAAiB;EA4GrC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryEditorComponentTestUtils.js","sourceRoot":"","sources":["../../src/components/QueryEditorComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,MAAM,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,SAAS,GAEV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,EACL,UAAU,EACV,SAAS,EACT,mCAAmC,GAEpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,0CAA0C,EAC1C,8BAA8B,EAC9B,uBAAuB,EACvB,6BAA6B,EAC7B,MAAM,EACN,mBAAmB,GAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yCAAyC,EAAE,MAAM,wCAAwC,CAAC;AACnG,OAA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AAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;IAChE,yFAAyF;IACzF,6EAA6E;IAE3E,iBAAiB,CAAC,gBAAgB;SAC/B,iBACJ,CAAC,SAAS,GAAG,SAAS,CAAC;IAExB,MAAM,YAAY,GAAG,MAAM,CACzB,KAAC,MAAM,IAAC,OAAO,EAAE,OAAO,YACtB,KAAC,8BAA8B,IAC7B,MAAM,EAAE,yCAAyC,EAAE,EACnD,aAAa,EAAE,wBAAwB,CAAC,MAAM,EAAE,YAEhD,KAAC,+BAA+B,cAC9B,KAAC,kCAAkC,cACjC,KAAC,mBAAmB,KAAG,GACY,GACL,GACH,GAC1B,CACV,CAAC;IACF,MAAM,OAAO,CAAC,GAAG,EAAE,CACjB,YAAY,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAC9D,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,iBAAiB,EAAE,oBAAoB,CACrC,iBAAiB,CAAC,iBAAiB,EACnC,kDAAkD,CACnD;KACF,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryEditorStoreTestUtils.d.ts","sourceRoot":"","sources":["../../src/stores/QueryEditorStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAqB9F,eAAO,MAAM,yCAAyC,4BAEnD,4BAUF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryEditorStoreTestUtils.js","sourceRoot":"","sources":["../../src/stores/QueryEditorStoreTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,gDAAgD,CAAC;AAC9F,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAE1E,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,gBAAgB;IACzB,GAAG,EAAE,UAAU;IACf,MAAM,EAAE;QACN,GAAG,EAAE,uBAAuB;KAC7B;IACD,KAAK,EAAE;QACL,GAAG,EAAE,yBAAyB;KAC/B;IACD,MAAM,EAAE;QACN,GAAG,EAAE,sBAAsB;QAC3B,SAAS,EAAE,EAAE;KACd;IACD,QAAQ,EAAE;QACR,GAAG,EAAE,wBAAwB;KAC9B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,yCAAyC,GAAG,CACvD,eAAe,GAAG,EAAE,EACU,EAAE;IAChC,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC;QAC9C,UAAU,EAAE;YACV,GAAG,oBAAoB;YACvB,GAAG,eAAe;SACnB;QACD,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,SAAS;KACnB,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|