@finos/legend-application-query 8.1.2 → 9.0.0
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/application/LegendQuery.d.ts.map +1 -1
- package/lib/application/LegendQuery.js +7 -9
- package/lib/application/LegendQuery.js.map +1 -1
- package/lib/application/LegendQueryApplicationConfig.d.ts +4 -0
- package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendQueryApplicationConfig.js +4 -0
- package/lib/application/LegendQueryApplicationConfig.js.map +1 -1
- package/lib/components/{QuerySetupStoreProvider.d.ts → CloneQueryServiceSetup.d.ts} +2 -7
- package/lib/components/CloneQueryServiceSetup.d.ts.map +1 -0
- package/lib/components/CloneQueryServiceSetup.js +137 -0
- package/lib/components/CloneQueryServiceSetup.js.map +1 -0
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts +24 -0
- package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -0
- package/lib/components/Core_LegendQueryApplicationPlugin.js +144 -0
- package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -0
- package/lib/components/CreateMappingQuerySetup.d.ts +18 -0
- package/lib/components/CreateMappingQuerySetup.d.ts.map +1 -0
- package/lib/components/CreateMappingQuerySetup.js +160 -0
- package/lib/components/CreateMappingQuerySetup.js.map +1 -0
- package/lib/components/EditExistingQuerySetup.d.ts +18 -0
- package/lib/components/EditExistingQuerySetup.d.ts.map +1 -0
- package/lib/components/EditExistingQuerySetup.js +107 -0
- package/lib/components/EditExistingQuerySetup.js.map +1 -0
- package/lib/components/LegendQueryApplication.d.ts.map +1 -1
- package/lib/components/LegendQueryApplication.js +4 -2
- package/lib/components/LegendQueryApplication.js.map +1 -1
- package/lib/components/LoadProjectServiceQuerySetup.d.ts +18 -0
- package/lib/components/LoadProjectServiceQuerySetup.d.ts.map +1 -0
- package/lib/components/LoadProjectServiceQuerySetup.js +63 -0
- package/lib/components/LoadProjectServiceQuerySetup.js.map +1 -0
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +31 -33
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/QueryProductionizerSetup.d.ts +18 -0
- package/lib/components/QueryProductionizerSetup.d.ts.map +1 -0
- package/lib/components/QueryProductionizerSetup.js +85 -0
- package/lib/components/QueryProductionizerSetup.js.map +1 -0
- package/lib/components/QuerySetup.d.ts +20 -5
- package/lib/components/QuerySetup.d.ts.map +1 -1
- package/lib/components/QuerySetup.js +69 -473
- package/lib/components/QuerySetup.js.map +1 -1
- package/lib/components/UpdateExistingServiceQuerySetup.d.ts +18 -0
- package/lib/components/UpdateExistingServiceQuerySetup.d.ts.map +1 -0
- package/lib/components/UpdateExistingServiceQuerySetup.js +69 -0
- package/lib/components/UpdateExistingServiceQuerySetup.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -3
- package/lib/index.js.map +1 -1
- package/lib/package.json +5 -8
- package/lib/stores/CloneServiceQuerySetupStore.d.ts +41 -0
- package/lib/stores/CloneServiceQuerySetupStore.d.ts.map +1 -0
- package/lib/stores/CloneServiceQuerySetupStore.js +98 -0
- package/lib/stores/CloneServiceQuerySetupStore.js.map +1 -0
- package/lib/stores/CreateMappingQuerySetupStore.d.ts +40 -0
- package/lib/stores/CreateMappingQuerySetupStore.d.ts.map +1 -0
- package/lib/stores/CreateMappingQuerySetupStore.js +97 -0
- package/lib/stores/CreateMappingQuerySetupStore.js.map +1 -0
- package/lib/stores/EditExistingQuerySetupStore.d.ts +33 -0
- package/lib/stores/EditExistingQuerySetupStore.d.ts.map +1 -0
- package/lib/stores/EditExistingQuerySetupStore.js +85 -0
- package/lib/stores/EditExistingQuerySetupStore.js.map +1 -0
- package/lib/stores/LegendQueryApplicationPlugin.d.ts +21 -16
- package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.js +4 -0
- package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendQueryRouter.d.ts +28 -1
- package/lib/stores/LegendQueryRouter.d.ts.map +1 -1
- package/lib/stores/LegendQueryRouter.js +33 -3
- package/lib/stores/LegendQueryRouter.js.map +1 -1
- package/lib/stores/LoadProjectServiceQuerySetupStore.d.ts +27 -0
- package/lib/stores/LoadProjectServiceQuerySetupStore.d.ts.map +1 -0
- package/lib/stores/LoadProjectServiceQuerySetupStore.js +61 -0
- package/lib/stores/LoadProjectServiceQuerySetupStore.js.map +1 -0
- package/lib/stores/QueryEditorStore.d.ts +6 -2
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +35 -17
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/QueryEditorStoreTestUtils.d.ts.map +1 -1
- package/lib/stores/QueryEditorStoreTestUtils.js +3 -0
- package/lib/stores/QueryEditorStoreTestUtils.js.map +1 -1
- package/lib/stores/QueryProductionizerSetupStore.d.ts +32 -0
- package/lib/stores/QueryProductionizerSetupStore.d.ts.map +1 -0
- package/lib/stores/QueryProductionizerSetupStore.js +101 -0
- package/lib/stores/QueryProductionizerSetupStore.js.map +1 -0
- package/lib/stores/QuerySetupStore.d.ts +22 -85
- package/lib/stores/QuerySetupStore.d.ts.map +1 -1
- package/lib/stores/QuerySetupStore.js +78 -408
- package/lib/stores/QuerySetupStore.js.map +1 -1
- package/lib/stores/UpdateExistingServiceQuerySetupStore.d.ts +28 -0
- package/lib/stores/UpdateExistingServiceQuerySetupStore.d.ts.map +1 -0
- package/lib/stores/UpdateExistingServiceQuerySetupStore.js +73 -0
- package/lib/stores/UpdateExistingServiceQuerySetupStore.js.map +1 -0
- package/package.json +13 -16
- package/src/application/LegendQuery.tsx +7 -8
- package/src/application/LegendQueryApplicationConfig.ts +14 -0
- package/src/components/CloneQueryServiceSetup.tsx +312 -0
- package/src/components/Core_LegendQueryApplicationPlugin.tsx +184 -0
- package/src/components/CreateMappingQuerySetup.tsx +352 -0
- package/src/components/EditExistingQuerySetup.tsx +280 -0
- package/src/components/LegendQueryApplication.tsx +14 -2
- package/src/components/LoadProjectServiceQuerySetup.tsx +131 -0
- package/src/components/QueryEditor.tsx +127 -81
- package/src/components/QueryProductionizerSetup.tsx +206 -0
- package/src/components/QuerySetup.tsx +285 -1183
- package/src/components/UpdateExistingServiceQuerySetup.tsx +153 -0
- package/src/index.ts +3 -2
- package/src/stores/CloneServiceQuerySetupStore.ts +151 -0
- package/src/stores/CreateMappingQuerySetupStore.ts +155 -0
- package/src/stores/EditExistingQuerySetupStore.ts +111 -0
- package/src/stores/LegendQueryApplicationPlugin.ts +27 -27
- package/src/stores/LegendQueryRouter.ts +95 -12
- package/src/stores/LoadProjectServiceQuerySetupStore.ts +87 -0
- package/src/stores/QueryEditorStore.ts +90 -24
- package/src/stores/QueryEditorStoreTestUtils.ts +3 -0
- package/src/stores/QueryProductionizerSetupStore.ts +143 -0
- package/src/stores/QuerySetupStore.ts +111 -604
- package/src/stores/UpdateExistingServiceQuerySetupStore.ts +118 -0
- package/tsconfig.json +13 -1
- package/lib/components/QuerySetupStoreProvider.d.ts.map +0 -1
- package/lib/components/QuerySetupStoreProvider.js +0 -34
- package/lib/components/QuerySetupStoreProvider.js.map +0 -1
- package/src/components/QuerySetupStoreProvider.tsx +0 -56
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQuery.d.ts","sourceRoot":"","sources":["../../src/application/LegendQuery.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,uBAAuB,EAE5B,iBAAiB,EAGjB,KAAK,mCAAmC,EAEzC,MAAM,2BAA2B,CAAC;
|
1
|
+
{"version":3,"file":"LegendQuery.d.ts","sourceRoot":"","sources":["../../src/application/LegendQuery.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,uBAAuB,EAE5B,iBAAiB,EAGjB,KAAK,mCAAmC,EAEzC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,OAAO,EACL,KAAK,uCAAuC,EAC5C,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAQ3C,eAAO,MAAM,yBAAyB,QAAa,QAAQ,IAAI,CAE9D,CAAC;AAEF,qBAAa,WAAY,SAAQ,iBAAiB;IACxC,MAAM,EAAE,4BAA4B,CAAC;IACrC,aAAa,EAAE,wBAAwB,CAAC;IAEhD,MAAM,CAAC,MAAM,IAAI,WAAW;IAWtB,oBAAoB,CACxB,KAAK,EAAE,mCAAmC,CAAC,uCAAuC,CAAC,GAClF,OAAO,CAAC,uBAAuB,CAAC;IAI7B,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;CAoBvC"}
|
@@ -16,27 +16,25 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
16
|
*/
|
17
17
|
import { createRoot } from 'react-dom/client';
|
18
18
|
import { ApplicationStoreProvider, LegendApplication, setupLegendApplicationUILibrary, WebApplicationNavigatorProvider, BrowserRouter, } from '@finos/legend-application';
|
19
|
-
import { configure as configureReactHotkeys } from 'react-hotkeys';
|
20
19
|
import { LegendQueryApplication } from '../components/LegendQueryApplication.js';
|
21
20
|
import { LegendQueryPluginManager } from './LegendQueryPluginManager.js';
|
22
21
|
import { getRootElement } from '@finos/legend-art';
|
23
22
|
import { Core_PureGraphManagerPlugin } from '@finos/legend-graph';
|
24
23
|
import { LegendQueryApplicationConfig, } from './LegendQueryApplicationConfig.js';
|
25
|
-
import { QueryBuilder_GraphManagerPreset, setupQueryBuilderUILibrary, } from '@finos/legend-query-builder';
|
24
|
+
import { QueryBuilder_GraphManagerPreset, QueryBuilder_LegendApplicationPlugin, setupQueryBuilderUILibrary, } from '@finos/legend-query-builder';
|
25
|
+
import { Core_LegendQueryApplicationPlugin } from '../components/Core_LegendQueryApplicationPlugin.js';
|
26
26
|
export const setupLegendQueryUILibrary = async () => {
|
27
27
|
await setupQueryBuilderUILibrary();
|
28
|
-
configureReactHotkeys({
|
29
|
-
// By default, `react-hotkeys` will avoid capturing keys from input tags like <input>, <textarea>, <select>
|
30
|
-
// We want to listen to hotkey from every where in the app so we disable that
|
31
|
-
// See https://github.com/greena13/react-hotkeys#ignoring-events
|
32
|
-
ignoreTags: [],
|
33
|
-
});
|
34
28
|
};
|
35
29
|
export class LegendQuery extends LegendApplication {
|
36
30
|
static create() {
|
37
31
|
const application = new LegendQuery(LegendQueryPluginManager.create());
|
38
|
-
application.withBasePlugins([new Core_PureGraphManagerPlugin()]);
|
39
32
|
application.withBasePresets([new QueryBuilder_GraphManagerPreset()]);
|
33
|
+
application.withBasePlugins([
|
34
|
+
new Core_PureGraphManagerPlugin(),
|
35
|
+
new Core_LegendQueryApplicationPlugin(),
|
36
|
+
new QueryBuilder_LegendApplicationPlugin(),
|
37
|
+
]);
|
40
38
|
return application;
|
41
39
|
}
|
42
40
|
async configureApplication(input) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQuery.js","sourceRoot":"","sources":["../../src/application/LegendQuery.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,EACjB,+BAA+B,EAC/B,+BAA+B,EAE/B,aAAa,GACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"LegendQuery.js","sourceRoot":"","sources":["../../src/application/LegendQuery.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,EACjB,+BAA+B,EAC/B,+BAA+B,EAE/B,aAAa,GACd,MAAM,2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AC;QACjD,WAAW,CAAC,MAAM,CAChB,KAAC,aAAa,IAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,YACnC,KAAC,+BAA+B,cAC9B,KAAC,wBAAwB,IACvB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,aAAa,EAAE,IAAI,CAAC,aAAa,YAEjC,KAAC,sBAAsB,IAAC,MAAM,EAAE,IAAI,CAAC,MAAM,GAAI,GACtB,GACK,GACpB,CACjB,CAAC;IACJ,CAAC;CACF"}
|
@@ -47,6 +47,9 @@ export interface LegendQueryApplicationConfigurationData extends LegendApplicati
|
|
47
47
|
url: string;
|
48
48
|
instances: LegendStudioApplicationInstanceConfigurationData[];
|
49
49
|
};
|
50
|
+
taxonomy: {
|
51
|
+
url: string;
|
52
|
+
};
|
50
53
|
}
|
51
54
|
export declare class LegendQueryApplicationConfig extends LegendApplicationConfig {
|
52
55
|
readonly options: LegendQueryApplicationCoreOptions;
|
@@ -55,6 +58,7 @@ export declare class LegendQueryApplicationConfig extends LegendApplicationConfi
|
|
55
58
|
readonly depotServerUrl: string;
|
56
59
|
readonly studioUrl: string;
|
57
60
|
readonly studioInstances: LegendStudioApplicationInstanceConfigurationData[];
|
61
|
+
readonly taxonomyUrl: string;
|
58
62
|
constructor(input: LegendApplicationConfigurationInput<LegendQueryApplicationConfigurationData>);
|
59
63
|
}
|
60
64
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplicationConfig.d.ts","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,KAAK,mCAAmC,EACxC,KAAK,kCAAkC,EACxC,MAAM,2BAA2B,CAAC;AAGnC,cAAM,iCAAiC;IACrC;;;;;;;;OAQG;IACH,8BAA8B,UAAS;IAEvC,OAAO,CAAC,M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l;
|
44
45
|
constructor(input) {
|
45
46
|
super(input);
|
46
47
|
// engine
|
@@ -54,6 +55,9 @@ export class LegendQueryApplicationConfig extends LegendApplicationConfig {
|
|
54
55
|
assertNonNullable(input.configData.studio, `Can't configure application: 'studio' field is missing`);
|
55
56
|
this.studioUrl = guaranteeNonEmptyString(input.configData.studio.url, `Can't configure application: 'studio.url' field is missing or empty`);
|
56
57
|
this.studioInstances = guaranteeNonNullable(input.configData.studio.instances, `Can't configure application: 'studio.instances' field is missing`);
|
58
|
+
// taxonomy
|
59
|
+
assertNonNullable(input.configData.taxonomy, `Can't configure application: 'taxonomy' field is missing`);
|
60
|
+
this.taxonomyUrl = guaranteeNonEmptyString(input.configData.taxonomy.url, `Can't configure application: 'taxonomy.url' field is missing or empty`);
|
57
61
|
// options
|
58
62
|
this.options = LegendQueryApplicationCoreOptions.create((input.configData.extensions?.core ??
|
59
63
|
{}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LegendQueryApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,GAErB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,GAGxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,iCAAiC;IACrC;;;;;;;;OAQG;IACH,8BAA8B,GAAG,KAAK,CAAC;IAE/B,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CAC9D,iBAAiB,CAAC,iCAAiC,EAAE;QACnD,8BAA8B,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;KACtD,CAAC,CACH,CAAC;IAEF,MAAM,CAAC,MAAM,CACX,UAA0D;QAE1D,OAAO,iCAAiC,CAAC,aAAa,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC9E,CAAC;;
|
1
|
+
{"version":3,"file":"LegendQueryApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendQueryApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,GAErB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,GAGxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEnE,MAAM,iCAAiC;IACrC;;;;;;;;OAQG;IACH,8BAA8B,GAAG,KAAK,CAAC;IAE/B,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CAC9D,iBAAiB,CAAC,iCAAiC,EAAE;QACnD,8BAA8B,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;KACtD,CAAC,CACH,CAAC;IAEF,MAAM,CAAC,MAAM,CACX,UAA0D;QAE1D,OAAO,iCAAiC,CAAC,aAAa,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC9E,CAAC;;AAyBH,MAAM,OAAO,4BAA6B,SAAQ,uBAAuB;IAC9D,OAAO,GAAG,IAAI,iCAAiC,EAAE,CAAC;IAElD,eAAe,CAAS;IACxB,oBAAoB,CAAsB;IAC1C,cAAc,CAAS;IACvB,SAAS,CAAS;IAClB,eAAe,GACtB,EAAE,CAAC;IACI,WAAW,CAAS;IAE7B,YACE,KAAmF;QAEnF,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,SAAS;QACT,iBAAiB,CACf,KAAK,CAAC,UAAU,CAAC,MAAM,EACvB,wDAAwD,CACzD,CAAC;QACF,IAAI,CAAC,eAAe,GAAG,uBAAuB,CAC5C,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAC3B,qEAAqE,CACtE,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC;QAE7D,QAAQ;QACR,iBAAiB,CACf,KAAK,CAAC,UAAU,CAAC,KAAK,EACtB,uDAAuD,CACxD,CAAC;QACF,IAAI,CAAC,cAAc,GAAG,uBAAuB,CAC3C,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,EAC1B,oEAAoE,CACrE,CAAC;QAEF,SAAS;QACT,iBAAiB,CACf,KAAK,CAAC,UAAU,CAAC,MAAM,EACvB,wDAAwD,CACzD,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,uBAAuB,CACtC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAC3B,qEAAqE,CACtE,CAAC;QACF,IAAI,CAAC,eAAe,GAAG,oBAAoB,CACzC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,SAAS,EACjC,kEAAkE,CACnE,CAAC;QAEF,WAAW;QACX,iBAAiB,CACf,KAAK,CAAC,UAAU,CAAC,QAAQ,EACzB,0DAA0D,CAC3D,CAAC;QACF,IAAI,CAAC,WAAW,GAAG,uBAAuB,CACxC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAC7B,uEAAuE,CACxE,CAAC;QAEF,UAAU;QACV,IAAI,CAAC,OAAO,GAAG,iCAAiC,CAAC,MAAM,CACrD,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,EAAE,IAAI;YAChC,EAAE,CAAmD,CACxD,CAAC;IACJ,CAAC;CACF"}
|
@@ -14,10 +14,5 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
17
|
-
|
18
|
-
|
19
|
-
children: React.ReactNode;
|
20
|
-
}>;
|
21
|
-
export declare const useQuerySetupStore: () => QuerySetupStore;
|
22
|
-
export declare const withQuerySetupStore: (WrappedComponent: React.FC) => React.FC;
|
23
|
-
//# sourceMappingURL=QuerySetupStoreProvider.d.ts.map
|
17
|
+
export declare const CloneQueryServiceSetup: React.FC;
|
18
|
+
//# sourceMappingURL=CloneQueryServiceSetup.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CloneQueryServiceSetup.d.ts","sourceRoot":"","sources":["../../src/components/CloneQueryServiceSetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAmSH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAM1C,CAAC"}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { ArrowLeftIcon, ArrowRightIcon, BlankPanelContent, clsx, CustomSelectorInput, PanelLoadingIndicator, } from '@finos/legend-art';
|
18
|
+
import { guaranteeType } from '@finos/legend-shared';
|
19
|
+
import { flowResult } from 'mobx';
|
20
|
+
import { observer, useLocalObservable } from 'mobx-react-lite';
|
21
|
+
import { useContext, useEffect } from 'react';
|
22
|
+
import { generateQuerySetupRoute, generateServiceQueryCreatorRoute, } from '../stores/LegendQueryRouter.js';
|
23
|
+
import { LATEST_VERSION_ALIAS, SNAPSHOT_VERSION_ALIAS, useDepotServerClient, } from '@finos/legend-server-depot';
|
24
|
+
import { useApplicationStore } from '@finos/legend-application';
|
25
|
+
import { useLegendQueryApplicationStore } from './LegendQueryBaseStoreProvider.js';
|
26
|
+
import { CloneServiceQuerySetupStore, } from '../stores/CloneServiceQuerySetupStore.js';
|
27
|
+
import { BaseQuerySetup, BaseQuerySetupStoreContext, buildProjectOption, buildVersionOption, } from './QuerySetup.js';
|
28
|
+
import { compareSemVerVersions } from '@finos/legend-storage';
|
29
|
+
const CloneServiceQuerySetupStoreProvider = ({ children }) => {
|
30
|
+
const applicationStore = useLegendQueryApplicationStore();
|
31
|
+
const depotServerClient = useDepotServerClient();
|
32
|
+
const store = useLocalObservable(() => new CloneServiceQuerySetupStore(applicationStore, depotServerClient));
|
33
|
+
return (_jsx(BaseQuerySetupStoreContext.Provider, { value: store, children: children }));
|
34
|
+
};
|
35
|
+
const useCloneServiceQuerySetupStore = () => guaranteeType(useContext(BaseQuerySetupStoreContext), CloneServiceQuerySetupStore, `Can't find query setup store in context`);
|
36
|
+
const CloneQueryServiceSetupContent = observer(() => {
|
37
|
+
const applicationStore = useApplicationStore();
|
38
|
+
const querySetupState = useCloneServiceQuerySetupStore();
|
39
|
+
// actions
|
40
|
+
const back = () => {
|
41
|
+
applicationStore.navigator.goToLocation(generateQuerySetupRoute());
|
42
|
+
};
|
43
|
+
const next = () => {
|
44
|
+
if (querySetupState.currentProject &&
|
45
|
+
querySetupState.currentVersionId &&
|
46
|
+
querySetupState.currentServiceExecutionOption) {
|
47
|
+
applicationStore.navigator.goToLocation(generateServiceQueryCreatorRoute(querySetupState.currentProject.groupId, querySetupState.currentProject.artifactId, querySetupState.currentVersionId, querySetupState.currentServiceExecutionOption.service.path, querySetupState.currentServiceExecutionOption.key));
|
48
|
+
}
|
49
|
+
};
|
50
|
+
const canProceed = querySetupState.currentProject &&
|
51
|
+
querySetupState.currentVersionId &&
|
52
|
+
querySetupState.currentServiceExecutionOption;
|
53
|
+
// project
|
54
|
+
const projectOptions = querySetupState.projects.map(buildProjectOption);
|
55
|
+
const selectedProjectOption = querySetupState.currentProject
|
56
|
+
? buildProjectOption(querySetupState.currentProject)
|
57
|
+
: null;
|
58
|
+
const projectSelectorPlaceholder = querySetupState.loadProjectsState
|
59
|
+
.isInProgress
|
60
|
+
? 'Loading projects'
|
61
|
+
: querySetupState.loadProjectsState.hasFailed
|
62
|
+
? 'Error fetching projects'
|
63
|
+
: querySetupState.projects.length
|
64
|
+
? 'Choose a project'
|
65
|
+
: 'You have no projects, please create or acquire access for at least one';
|
66
|
+
const onProjectOptionChange = (option) => {
|
67
|
+
if (option?.value !== querySetupState.currentProject) {
|
68
|
+
querySetupState.setCurrentProject(option?.value);
|
69
|
+
// cascade
|
70
|
+
querySetupState.setCurrentVersionId(undefined);
|
71
|
+
querySetupState.setCurrentServiceExecutionOption(undefined);
|
72
|
+
}
|
73
|
+
};
|
74
|
+
// version
|
75
|
+
const versionOptions = [
|
76
|
+
LATEST_VERSION_ALIAS,
|
77
|
+
SNAPSHOT_VERSION_ALIAS,
|
78
|
+
...(querySetupState.currentProject?.versions ?? []),
|
79
|
+
]
|
80
|
+
.slice()
|
81
|
+
.sort((v1, v2) => compareSemVerVersions(v2, v1))
|
82
|
+
.map(buildVersionOption);
|
83
|
+
const selectedVersionOption = querySetupState.currentVersionId
|
84
|
+
? buildVersionOption(querySetupState.currentVersionId)
|
85
|
+
: null;
|
86
|
+
const versionSelectorPlaceholder = !querySetupState.currentProject
|
87
|
+
? 'No project selected'
|
88
|
+
: 'Choose a version';
|
89
|
+
const onVersionOptionChange = async (option) => {
|
90
|
+
if (option?.value !== querySetupState.currentVersionId) {
|
91
|
+
querySetupState.setCurrentVersionId(option?.value);
|
92
|
+
// cascade
|
93
|
+
querySetupState.setCurrentServiceExecutionOption(undefined);
|
94
|
+
if (querySetupState.currentProject && querySetupState.currentVersionId) {
|
95
|
+
await flowResult(querySetupState.loadServiceExecutionOptions(querySetupState.currentProject, querySetupState.currentVersionId)).catch(applicationStore.alertUnhandledError);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
};
|
99
|
+
// service and key
|
100
|
+
const serviceExecutionOptions = querySetupState.serviceExecutionOptions.map((option) => ({
|
101
|
+
label: `${option.service.name}${option.key ? ` [${option.key}]` : ''}`,
|
102
|
+
value: option,
|
103
|
+
}));
|
104
|
+
const selectedServiceExecutionOption = querySetupState.currentServiceExecutionOption
|
105
|
+
? {
|
106
|
+
label: `${querySetupState.currentServiceExecutionOption.service.name}${querySetupState.currentServiceExecutionOption.key
|
107
|
+
? ` [${querySetupState.currentServiceExecutionOption.key}]`
|
108
|
+
: ''}`,
|
109
|
+
value: querySetupState.currentServiceExecutionOption,
|
110
|
+
}
|
111
|
+
: null;
|
112
|
+
const serviceExecutionSelectorPlaceholder = serviceExecutionOptions.length
|
113
|
+
? 'Choose a service'
|
114
|
+
: 'No service available';
|
115
|
+
const onServiceExecutionOptionChange = (option) => {
|
116
|
+
querySetupState.setCurrentServiceExecutionOption(option?.value ?? undefined);
|
117
|
+
};
|
118
|
+
useEffect(() => {
|
119
|
+
flowResult(querySetupState.loadProjects()).catch(applicationStore.alertUnhandledError);
|
120
|
+
}, [querySetupState, applicationStore]);
|
121
|
+
return (_jsxs("div", { className: "query-setup__wizard query-setup__service-query", children: [_jsxs("div", { className: "query-setup__wizard__header query-setup__service-query__header", children: [_jsx("button", { className: "query-setup__wizard__header__btn", onClick: back, title: "Back to Main Menu", children: _jsx(ArrowLeftIcon, {}) }), _jsx("div", { className: "query-setup__wizard__header__title", children: "Clone an existing service query..." }), _jsx("button", { className: clsx('query-setup__wizard__header__btn', {
|
122
|
+
'query-setup__wizard__header__btn--ready': canProceed,
|
123
|
+
}), onClick: next, disabled: !canProceed, title: "Create a new query", children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "query-setup__wizard__content", children: [_jsxs("div", { className: "query-setup__service-query__project", children: [_jsxs("div", { className: "query-setup__wizard__group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: "Project" }), _jsx(CustomSelectorInput, { className: "query-setup__wizard__selector", options: projectOptions, disabled: querySetupState.loadProjectsState.isInProgress ||
|
124
|
+
!projectOptions.length, isLoading: querySetupState.loadProjectsState.isInProgress, onChange: onProjectOptionChange, value: selectedProjectOption, placeholder: projectSelectorPlaceholder, isClearable: true, escapeClearsValue: true, darkMode: true })] }), _jsxs("div", { className: "query-setup__wizard__group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: "Version" }), _jsx(CustomSelectorInput, { className: "query-setup__wizard__selector", options: versionOptions, disabled: !querySetupState.currentProject, onChange: onVersionOptionChange, value: selectedVersionOption, placeholder: versionSelectorPlaceholder, isClearable: true, escapeClearsValue: true, darkMode: true })] })] }), _jsxs("div", { className: "query-setup__service-query__graph", children: [(!querySetupState.currentProject ||
|
125
|
+
!querySetupState.currentVersionId ||
|
126
|
+
!querySetupState.loadServiceExecutionsState.hasSucceeded) && (_jsxs("div", { className: "query-setup__service-query__graph__loader", children: [_jsx(PanelLoadingIndicator, { isLoading: Boolean(querySetupState.currentProject) &&
|
127
|
+
Boolean(querySetupState.currentVersionId) &&
|
128
|
+
!querySetupState.loadServiceExecutionsState.isInProgress }), _jsx(BlankPanelContent, { children: querySetupState.loadServiceExecutionsState.isInProgress
|
129
|
+
? `Surveying service executions...`
|
130
|
+
: querySetupState.loadServiceExecutionsState.hasFailed
|
131
|
+
? `Can't load service executions`
|
132
|
+
: 'Project and version must be specified' })] })), querySetupState.currentProject &&
|
133
|
+
querySetupState.currentVersionId &&
|
134
|
+
querySetupState.loadServiceExecutionsState.hasSucceeded && (_jsx(_Fragment, { children: _jsxs("div", { className: "query-setup__wizard__group", children: [_jsx("div", { className: "query-setup__wizard__group__title", children: "Service" }), _jsx(CustomSelectorInput, { className: "query-setup__wizard__selector", options: serviceExecutionOptions, disabled: !serviceExecutionOptions.length, onChange: onServiceExecutionOptionChange, value: selectedServiceExecutionOption, placeholder: serviceExecutionSelectorPlaceholder, isClearable: true, escapeClearsValue: true, darkMode: true })] }) }))] })] })] }));
|
135
|
+
});
|
136
|
+
export const CloneQueryServiceSetup = () => (_jsx(CloneServiceQuerySetupStoreProvider, { children: _jsx(BaseQuerySetup, { children: _jsx(CloneQueryServiceSetupContent, {}) }) }));
|
137
|
+
//# sourceMappingURL=CloneQueryServiceSetup.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CloneQueryServiceSetup.js","sourceRoot":"","sources":["../../src/components/CloneQueryServiceSetup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,cAAc,EACd,iBAAiB,EACjB,IAAI,EACJ,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EACL,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,2BAA2B,GAE5B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,kBAAkB,EAClB,kBAAkB,GAGnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,mCAAmC,GAEpC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,8BAA8B,EAAE,CAAC;IAC1D,MAAM,iBAAiB,GAAG,oBAAoB,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AAmC,wBAE5C,EACN,KAAC,mBAAmB,IAClB,SAAS,EAAC,+BAA+B,EACzC,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EAAE,CAAC,uBAAuB,CAAC,MAAM,EACzC,QAAQ,EAAE,8BAA8B,EACxC,KAAK,EAAE,8BAA8B,EACrC,WAAW,EAAE,mCAAmC,EAChD,WAAW,EAAE,IAAI,EACjB,iBAAiB,EAAE,IAAI,EACvB,QAAQ,EAAE,IAAI,GACd,IACE,GACL,CACJ,IACC,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAa,GAAG,EAAE,CAAC,CACpD,KAAC,mCAAmC,cAClC,KAAC,cAAc,cACb,KAAC,6BAA6B,KAAG,GAClB,GACmB,CACvC,CAAC"}
|
@@ -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 { LegendQueryApplicationPlugin, type QuerySetupActionConfiguration } from '../stores/LegendQueryApplicationPlugin.js';
|
17
|
+
import type { ApplicationPageEntry } from '@finos/legend-application';
|
18
|
+
export declare class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
|
19
|
+
static NAME: string;
|
20
|
+
constructor();
|
21
|
+
getExtraApplicationPageEntries(): ApplicationPageEntry[];
|
22
|
+
getExtraQuerySetupActionConfigurations(): QuerySetupActionConfiguration[];
|
23
|
+
}
|
24
|
+
//# sourceMappingURL=Core_LegendQueryApplicationPlugin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AAoBnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAMtE,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,8BAA8B,IAAI,oBAAoB,EAAE;IA6BxD,sCAAsC,IAAI,6BAA6B,EAAE;CAqGnF"}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
import { jsx as _jsx } 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 { LegendQueryApplicationPlugin, QuerySetupActionTag, } from '../stores/LegendQueryApplicationPlugin.js';
|
18
|
+
import packageJson from '../../package.json';
|
19
|
+
import { ArrowCirceUpIcon, BrainIcon, DroidIcon, ManageSearchIcon, PlusIcon, RobotIcon, } from '@finos/legend-art';
|
20
|
+
import { generateCloneServiceQuerySetupRoute, generateCreateMappingQuerySetupRoute, generateEditExistingQuerySetupRoute, generateLoadProjectServiceQuerySetup, generateQueryProductionizerSetupRoute, generateUpdateExistingServiceQuerySetup, LEGEND_QUERY_ROUTE_PATTERN, } from '../stores/LegendQueryRouter.js';
|
21
|
+
import { CloneQueryServiceSetup } from './CloneQueryServiceSetup.js';
|
22
|
+
import { QueryProductionizerSetup } from './QueryProductionizerSetup.js';
|
23
|
+
import { UpdateExistingServiceQuerySetup } from './UpdateExistingServiceQuerySetup.js';
|
24
|
+
import { LoadProjectServiceQuerySetup } from './LoadProjectServiceQuerySetup.js';
|
25
|
+
export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
|
26
|
+
static NAME = packageJson.extensions.applicationQueryPlugin;
|
27
|
+
constructor() {
|
28
|
+
super(Core_LegendQueryApplicationPlugin.NAME, packageJson.version);
|
29
|
+
}
|
30
|
+
getExtraApplicationPageEntries() {
|
31
|
+
return [
|
32
|
+
{
|
33
|
+
key: 'clone-service-query-setup-application-page',
|
34
|
+
urlPatterns: [LEGEND_QUERY_ROUTE_PATTERN.CLONE_SERVICE_QUERY_SETUP],
|
35
|
+
renderer: CloneQueryServiceSetup,
|
36
|
+
},
|
37
|
+
{
|
38
|
+
key: 'query-productionizer-setup-application-page',
|
39
|
+
urlPatterns: [LEGEND_QUERY_ROUTE_PATTERN.QUERY_PRODUCTIONIZER_SETUP],
|
40
|
+
renderer: QueryProductionizerSetup,
|
41
|
+
},
|
42
|
+
{
|
43
|
+
key: 'update-existing-service-query-setup-application-page',
|
44
|
+
urlPatterns: [
|
45
|
+
LEGEND_QUERY_ROUTE_PATTERN.UPDATE_EXISTING_SERVICE_QUERY_SETUP,
|
46
|
+
],
|
47
|
+
renderer: UpdateExistingServiceQuerySetup,
|
48
|
+
},
|
49
|
+
{
|
50
|
+
key: 'load-project-service-query-setup-application-page',
|
51
|
+
urlPatterns: [
|
52
|
+
LEGEND_QUERY_ROUTE_PATTERN.LOAD_PROJECT_SERVICE_QUERY_SETUP,
|
53
|
+
],
|
54
|
+
renderer: LoadProjectServiceQuerySetup,
|
55
|
+
},
|
56
|
+
];
|
57
|
+
}
|
58
|
+
getExtraQuerySetupActionConfigurations() {
|
59
|
+
return [
|
60
|
+
{
|
61
|
+
key: 'open-existing-query',
|
62
|
+
isAdvanced: false,
|
63
|
+
isCreateAction: false,
|
64
|
+
action: async (setupStore) => {
|
65
|
+
setupStore.applicationStore.navigator.goToLocation(generateEditExistingQuerySetupRoute());
|
66
|
+
},
|
67
|
+
label: 'Open an existing query',
|
68
|
+
className: 'query-setup__landing-page__action--existing-query',
|
69
|
+
icon: (_jsx(ManageSearchIcon, { className: "query-setup__landing-page__icon--search" })),
|
70
|
+
},
|
71
|
+
{
|
72
|
+
key: 'create-query-from-taxonomy',
|
73
|
+
isAdvanced: false,
|
74
|
+
isCreateAction: true,
|
75
|
+
action: async (setupStore) => {
|
76
|
+
setupStore.applicationStore.navigator.goToAddress(setupStore.applicationStore.config.taxonomyUrl);
|
77
|
+
},
|
78
|
+
label: 'Create query from taxonomy',
|
79
|
+
className: 'query-setup__landing-page__action--taxonomy-query',
|
80
|
+
icon: _jsx(BrainIcon, {}),
|
81
|
+
},
|
82
|
+
{
|
83
|
+
key: 'create-mapping-query',
|
84
|
+
isAdvanced: true,
|
85
|
+
isCreateAction: true,
|
86
|
+
action: async (setupStore) => {
|
87
|
+
setupStore.applicationStore.navigator.goToLocation(generateCreateMappingQuerySetupRoute());
|
88
|
+
},
|
89
|
+
label: 'Create new query on a mapping',
|
90
|
+
className: 'query-setup__landing-page__action--create-mapping-query',
|
91
|
+
icon: _jsx(PlusIcon, {}),
|
92
|
+
},
|
93
|
+
{
|
94
|
+
key: 'clone-service-query',
|
95
|
+
isAdvanced: true,
|
96
|
+
isCreateAction: true,
|
97
|
+
action: async (setupStore) => {
|
98
|
+
setupStore.applicationStore.navigator.goToLocation(generateCloneServiceQuerySetupRoute());
|
99
|
+
},
|
100
|
+
label: 'Clone an existing service query',
|
101
|
+
className: 'query-setup__landing-page__action--service-query',
|
102
|
+
icon: _jsx(RobotIcon, {}),
|
103
|
+
},
|
104
|
+
// sdlc
|
105
|
+
{
|
106
|
+
key: 'update-existing-service-query',
|
107
|
+
isAdvanced: false,
|
108
|
+
isCreateAction: false,
|
109
|
+
tag: QuerySetupActionTag.PRODUCTIONIZATION,
|
110
|
+
action: async (setupStore) => {
|
111
|
+
setupStore.applicationStore.navigator.goToLocation(generateUpdateExistingServiceQuerySetup());
|
112
|
+
},
|
113
|
+
label: 'Update an existing service query',
|
114
|
+
className: 'query-setup__landing-page__action--service-query',
|
115
|
+
icon: _jsx(DroidIcon, {}),
|
116
|
+
},
|
117
|
+
{
|
118
|
+
key: 'open-project-service-query',
|
119
|
+
isAdvanced: true,
|
120
|
+
isCreateAction: false,
|
121
|
+
tag: QuerySetupActionTag.PRODUCTIONIZATION,
|
122
|
+
action: async (setupStore) => {
|
123
|
+
setupStore.applicationStore.navigator.goToLocation(generateLoadProjectServiceQuerySetup());
|
124
|
+
},
|
125
|
+
label: 'Open service query from a project',
|
126
|
+
className: 'query-setup__landing-page__action--service-query',
|
127
|
+
icon: _jsx(DroidIcon, {}),
|
128
|
+
},
|
129
|
+
{
|
130
|
+
key: 'productionize-query',
|
131
|
+
isAdvanced: false,
|
132
|
+
isCreateAction: true,
|
133
|
+
tag: QuerySetupActionTag.PRODUCTIONIZATION,
|
134
|
+
action: async (setupStore) => {
|
135
|
+
setupStore.applicationStore.navigator.goToLocation(generateQueryProductionizerSetupRoute());
|
136
|
+
},
|
137
|
+
label: 'Productionize an existing query',
|
138
|
+
className: 'query-setup__landing-page__action--productionize-query',
|
139
|
+
icon: _jsx(ArrowCirceUpIcon, {}),
|
140
|
+
},
|
141
|
+
];
|
142
|
+
}
|
143
|
+
}
|
144
|
+
//# sourceMappingURL=Core_LegendQueryApplicationPlugin.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":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;gBAC1C,MAAM,EAAE,KAAK,EAAE,UAAsC,EAAE,EAAE;oBACvD,UAAU,CAAC,gBAAgB,CAAC,SAAS,CAAC,YAAY,CAChD,qCAAqC,EAAE,CACxC,CAAC;gBACJ,CAAC;gBACD,KAAK,EAAE,iCAAiC;gBACxC,SAAS,EAAE,wDAAwD;gBACnE,IAAI,EAAE,KAAC,gBAAgB,KAAG;aAC3B;SACF,CAAC;IACJ,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
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
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
export declare const CreateMappingQuerySetup: React.FC;
|
18
|
+
//# sourceMappingURL=CreateMappingQuerySetup.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CreateMappingQuerySetup.d.ts","sourceRoot":"","sources":["../../src/components/CreateMappingQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA2UH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAM3C,CAAC"}
|