@finos/legend-application-query 13.4.9 → 13.4.10
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.d.ts +25 -0
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.d.ts.map +1 -0
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.js +28 -0
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.js.map +1 -0
- package/lib/application/LegendQuery.d.ts.map +1 -1
- package/lib/application/LegendQuery.js +3 -2
- package/lib/application/LegendQuery.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +3 -3
- package/src/application/Core_LegendQuery_LegendApplicationPlugin.ts +38 -0
- package/src/application/LegendQuery.tsx +2 -2
- package/tsconfig.json +1 -0
@@ -0,0 +1,25 @@
|
|
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 { Core_LegendApplicationPlugin, LEGEND_APPLICATION_COLOR_THEME, type SettingConfigurationEntry } from '@finos/legend-application';
|
17
|
+
export declare const LEGEND_QUERY_APPLICATION_SETTING_CONFIG: {
|
18
|
+
"application.layout.colorTheme": {
|
19
|
+
defaultValue: LEGEND_APPLICATION_COLOR_THEME;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
export declare class Core_LegendQuery_LegendApplicationPlugin extends Core_LegendApplicationPlugin {
|
23
|
+
getExtraSettingConfigurationEntries(): SettingConfigurationEntry[];
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=Core_LegendQuery_LegendApplicationPlugin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Core_LegendQuery_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/application/Core_LegendQuery_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAG9B,KAAK,yBAAyB,EAC/B,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,uCAAuC;;;;CAKnD,CAAC;AAEF,qBAAa,wCAAyC,SAAQ,4BAA4B;IAC/E,mCAAmC,IAAI,yBAAyB,EAAE;CAK5E"}
|
@@ -0,0 +1,28 @@
|
|
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 { Core_LegendApplicationPlugin, LEGEND_APPLICATION_COLOR_THEME, LEGEND_APPLICATION_SETTING_KEY, collectSettingConfigurationEntriesFromConfig, } from '@finos/legend-application';
|
17
|
+
export const LEGEND_QUERY_APPLICATION_SETTING_CONFIG = {
|
18
|
+
[LEGEND_APPLICATION_SETTING_KEY.COLOR_THEME]: {
|
19
|
+
// default application query to light mode
|
20
|
+
defaultValue: LEGEND_APPLICATION_COLOR_THEME.LEGACY_LIGHT,
|
21
|
+
},
|
22
|
+
};
|
23
|
+
export class Core_LegendQuery_LegendApplicationPlugin extends Core_LegendApplicationPlugin {
|
24
|
+
getExtraSettingConfigurationEntries() {
|
25
|
+
return collectSettingConfigurationEntriesFromConfig(LEGEND_QUERY_APPLICATION_SETTING_CONFIG);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
//# sourceMappingURL=Core_LegendQuery_LegendApplicationPlugin.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Core_LegendQuery_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/application/Core_LegendQuery_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,4CAA4C,GAE7C,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,CAAC,8BAA8B,CAAC,WAAW,CAAC,EAAE;QAC5C,0CAA0C;QAC1C,YAAY,EAAE,8BAA8B,CAAC,YAAY;KAC1D;CACF,CAAC;AAEF,MAAM,OAAO,wCAAyC,SAAQ,4BAA4B;IAC/E,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,uCAAuC,CACxC,CAAC;IACJ,CAAC;CACF"}
|
@@ -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,EACjB,KAAK,mCAAmC,
|
1
|
+
{"version":3,"file":"LegendQuery.d.ts","sourceRoot":"","sources":["../../src/application/LegendQuery.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,uBAAuB,EAE5B,iBAAiB,EACjB,KAAK,mCAAmC,EAEzC,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EACL,KAAK,uCAAuC,EAC5C,4BAA4B,EAC7B,MAAM,mCAAmC,CAAC;AAM3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAGrF,qBAAa,WAAY,SAAQ,iBAAiB;IACxC,MAAM,EAAE,4BAA4B,CAAC;IACrC,aAAa,EAAE,wBAAwB,CAAC;IAEhD,MAAM,CAAC,MAAM,IAAI,WAAW;IActB,oBAAoB,CACxB,KAAK,EAAE,mCAAmC,CAAC,uCAAuC,CAAC,GAClF,OAAO,CAAC,uBAAuB,CAAC;IAI7B,eAAe,CACnB,gBAAgB,EAAE,2BAA2B,GAC5C,OAAO,CAAC,IAAI,CAAC;CAOjB"}
|
@@ -15,13 +15,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { createRoot } from 'react-dom/client';
|
18
|
-
import { ApplicationStoreProvider, LegendApplication,
|
18
|
+
import { ApplicationStoreProvider, LegendApplication, getApplicationRootElement, } from '@finos/legend-application';
|
19
19
|
import { LegendQueryWebApplication } from '../components/LegendQueryWebApplication.js';
|
20
20
|
import { LegendQueryPluginManager } from './LegendQueryPluginManager.js';
|
21
21
|
import { Core_GraphManagerPreset } from '@finos/legend-graph';
|
22
22
|
import { LegendQueryApplicationConfig, } from './LegendQueryApplicationConfig.js';
|
23
23
|
import { QueryBuilder_GraphManagerPreset, QueryBuilder_LegendApplicationPlugin, } from '@finos/legend-query-builder';
|
24
24
|
import { Core_LegendQueryApplicationPlugin } from '../components/Core_LegendQueryApplicationPlugin.js';
|
25
|
+
import { Core_LegendQuery_LegendApplicationPlugin } from './Core_LegendQuery_LegendApplicationPlugin.js';
|
25
26
|
export class LegendQuery extends LegendApplication {
|
26
27
|
static create() {
|
27
28
|
const application = new LegendQuery(LegendQueryPluginManager.create());
|
@@ -30,7 +31,7 @@ export class LegendQuery extends LegendApplication {
|
|
30
31
|
new QueryBuilder_GraphManagerPreset(),
|
31
32
|
]);
|
32
33
|
application.withBasePlugins([
|
33
|
-
new
|
34
|
+
new Core_LegendQuery_LegendApplicationPlugin(),
|
34
35
|
new Core_LegendQueryApplicationPlugin(),
|
35
36
|
new QueryBuilder_LegendApplicationPlugin(),
|
36
37
|
]);
|
@@ -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,EAEjB,
|
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,EAEjB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAEL,4BAA4B,GAC7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,+BAA+B,EAC/B,oCAAoC,GACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AAEvG,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAC;AAEzG,MAAM,OAAO,WAAY,SAAQ,iBAAiB;IAIhD,MAAM,CAAC,MAAM;QACX,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC,wBAAwB,CAAC,MAAM,EAAE,CAAC,CAAC;QACvE,WAAW,CAAC,eAAe,CAAC;YAC1B,IAAI,uBAAuB,EAAE;YAC7B,IAAI,+BAA+B,EAAE;SACtC,CAAC,CAAC;QACH,WAAW,CAAC,eAAe,CAAC;YAC1B,IAAI,wCAAwC,EAAE;YAC9C,IAAI,iCAAiC,EAAE;YACvC,IAAI,oCAAoC,EAAE;SAC3C,CAAC,CAAC;QACH,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,oBAAoB,CACxB,KAAmF;QAEnF,OAAO,IAAI,4BAA4B,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,gBAA6C;QAE7C,UAAU,CAAC,yBAAyB,EAAE,CAAC,CAAC,MAAM,CAC5C,KAAC,wBAAwB,IAAC,KAAK,EAAE,gBAAgB,YAC/C,KAAC,yBAAyB,IAAC,OAAO,EAAE,IAAI,CAAC,WAAW,GAAI,GAC/B,CAC5B,CAAC;IACJ,CAAC;CACF"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-application-query",
|
3
|
-
"version": "13.4.
|
3
|
+
"version": "13.4.10",
|
4
4
|
"description": "Legend Query application core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,10 +45,10 @@
|
|
45
45
|
"dependencies": {
|
46
46
|
"@finos/legend-application": "15.0.75",
|
47
47
|
"@finos/legend-art": "7.1.27",
|
48
|
-
"@finos/legend-extension-dsl-data-space": "10.3.
|
48
|
+
"@finos/legend-extension-dsl-data-space": "10.3.9",
|
49
49
|
"@finos/legend-graph": "31.9.14",
|
50
50
|
"@finos/legend-lego": "1.2.28",
|
51
|
-
"@finos/legend-query-builder": "4.14.
|
51
|
+
"@finos/legend-query-builder": "4.14.33",
|
52
52
|
"@finos/legend-server-depot": "6.0.39",
|
53
53
|
"@finos/legend-shared": "10.0.34",
|
54
54
|
"@finos/legend-storage": "3.0.84",
|
@@ -0,0 +1,38 @@
|
|
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
|
+
|
17
|
+
import {
|
18
|
+
Core_LegendApplicationPlugin,
|
19
|
+
LEGEND_APPLICATION_COLOR_THEME,
|
20
|
+
LEGEND_APPLICATION_SETTING_KEY,
|
21
|
+
collectSettingConfigurationEntriesFromConfig,
|
22
|
+
type SettingConfigurationEntry,
|
23
|
+
} from '@finos/legend-application';
|
24
|
+
|
25
|
+
export const LEGEND_QUERY_APPLICATION_SETTING_CONFIG = {
|
26
|
+
[LEGEND_APPLICATION_SETTING_KEY.COLOR_THEME]: {
|
27
|
+
// default application query to light mode
|
28
|
+
defaultValue: LEGEND_APPLICATION_COLOR_THEME.LEGACY_LIGHT,
|
29
|
+
},
|
30
|
+
};
|
31
|
+
|
32
|
+
export class Core_LegendQuery_LegendApplicationPlugin extends Core_LegendApplicationPlugin {
|
33
|
+
override getExtraSettingConfigurationEntries(): SettingConfigurationEntry[] {
|
34
|
+
return collectSettingConfigurationEntriesFromConfig(
|
35
|
+
LEGEND_QUERY_APPLICATION_SETTING_CONFIG,
|
36
|
+
);
|
37
|
+
}
|
38
|
+
}
|
@@ -20,7 +20,6 @@ import {
|
|
20
20
|
ApplicationStoreProvider,
|
21
21
|
LegendApplication,
|
22
22
|
type LegendApplicationConfigurationInput,
|
23
|
-
Core_LegendApplicationPlugin,
|
24
23
|
getApplicationRootElement,
|
25
24
|
} from '@finos/legend-application';
|
26
25
|
import { LegendQueryWebApplication } from '../components/LegendQueryWebApplication.js';
|
@@ -36,6 +35,7 @@ import {
|
|
36
35
|
} from '@finos/legend-query-builder';
|
37
36
|
import { Core_LegendQueryApplicationPlugin } from '../components/Core_LegendQueryApplicationPlugin.js';
|
38
37
|
import type { LegendQueryApplicationStore } from '../stores/LegendQueryBaseStore.js';
|
38
|
+
import { Core_LegendQuery_LegendApplicationPlugin } from './Core_LegendQuery_LegendApplicationPlugin.js';
|
39
39
|
|
40
40
|
export class LegendQuery extends LegendApplication {
|
41
41
|
declare config: LegendQueryApplicationConfig;
|
@@ -48,7 +48,7 @@ export class LegendQuery extends LegendApplication {
|
|
48
48
|
new QueryBuilder_GraphManagerPreset(),
|
49
49
|
]);
|
50
50
|
application.withBasePlugins([
|
51
|
-
new
|
51
|
+
new Core_LegendQuery_LegendApplicationPlugin(),
|
52
52
|
new Core_LegendQueryApplicationPlugin(),
|
53
53
|
new QueryBuilder_LegendApplicationPlugin(),
|
54
54
|
]);
|
package/tsconfig.json
CHANGED
@@ -42,6 +42,7 @@
|
|
42
42
|
"./src/__lib__/LegendQueryTelemetryHelper.ts",
|
43
43
|
"./src/__lib__/LegendQueryTesting.ts",
|
44
44
|
"./src/__lib__/LegendQueryUserDataHelper.ts",
|
45
|
+
"./src/application/Core_LegendQuery_LegendApplicationPlugin.ts",
|
45
46
|
"./src/application/LegendQueryApplicationConfig.ts",
|
46
47
|
"./src/application/LegendQueryDocumentation.ts",
|
47
48
|
"./src/application/LegendQueryPluginManager.ts",
|