@finos/legend-application-query 13.8.58 → 13.8.59
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__/LegendQueryNavigation.d.ts +1 -0
- package/lib/__lib__/LegendQueryNavigation.d.ts.map +1 -1
- package/lib/__lib__/LegendQueryNavigation.js +2 -0
- package/lib/__lib__/LegendQueryNavigation.js.map +1 -1
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.d.ts +7 -1
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.js +10 -1
- package/lib/application/Core_LegendQuery_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/LegendQueryWebApplication.d.ts.map +1 -1
- package/lib/components/LegendQueryWebApplication.js +2 -1
- package/lib/components/LegendQueryWebApplication.js.map +1 -1
- package/lib/components/cube/LegendQueryCubePage.d.ts +18 -0
- package/lib/components/cube/LegendQueryCubePage.d.ts.map +1 -0
- package/lib/components/cube/LegendQueryCubePage.js +27 -0
- package/lib/components/cube/LegendQueryCubePage.js.map +1 -0
- package/lib/components/cube/LegendQueryCubeRoute.d.ts +18 -0
- package/lib/components/cube/LegendQueryCubeRoute.d.ts.map +1 -0
- package/lib/components/cube/LegendQueryCubeRoute.js +26 -0
- package/lib/components/cube/LegendQueryCubeRoute.js.map +1 -0
- package/lib/index.css +1 -1
- package/lib/light-mode.css +1 -1
- package/lib/package.json +2 -1
- package/lib/stores/cube/LegendQueryCubeHost.d.ts +32 -0
- package/lib/stores/cube/LegendQueryCubeHost.d.ts.map +1 -0
- package/lib/stores/cube/LegendQueryCubeHost.js +42 -0
- package/lib/stores/cube/LegendQueryCubeHost.js.map +1 -0
- package/package.json +2 -1
- package/src/__lib__/LegendQueryNavigation.ts +2 -0
- package/src/application/Core_LegendQuery_LegendApplicationPlugin.ts +14 -0
- package/src/components/LegendQueryWebApplication.tsx +6 -0
- package/src/components/cube/LegendQueryCubePage.tsx +27 -0
- package/src/components/cube/LegendQueryCubeRoute.tsx +42 -0
- package/src/stores/cube/LegendQueryCubeHost.ts +61 -0
- package/tsconfig.json +3 -0
|
@@ -47,6 +47,7 @@ export declare const LEGEND_QUERY_ROUTE_PATTERN: Readonly<{
|
|
|
47
47
|
DATA_PRODUCT: "/data-product/:accessType/:gav/:dataProductPath/:accessId";
|
|
48
48
|
INGEST_QUERY: "/ingest/:gav/:ingestDefinitionPath/:dataSet";
|
|
49
49
|
DEV_DATA_SPACE_INSPECTOR: "/dev/dataspace-inspector";
|
|
50
|
+
CUBE: "/cube";
|
|
50
51
|
}>;
|
|
51
52
|
export type DataProductPathParams = {
|
|
52
53
|
[DATA_PRODUCT_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,oBAAY,gCAAgC;IAC1C,GAAG,QAAQ;IACX,QAAQ,YAAY;IACpB,YAAY,gBAAgB;IAC5B,YAAY,gBAAgB;IAC5B,YAAY,gBAAgB;CAC7B;AAED,oBAAY,8CAA8C;IACxD,GAAG,QAAQ;IACX,iBAAiB,oBAAoB;IACrC,wBAAwB,eAAe;IACvC,sBAAsB,aAAa;CACpC;AAED,oBAAY,wCAAwC;IAClD,GAAG,QAAQ;IACX,sBAAsB,yBAAyB;IAC/C,QAAQ,YAAY;CACrB;AAED,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAcH,oBAAY,gCAAgC;IAC1C,GAAG,QAAQ;IACX,QAAQ,YAAY;IACpB,YAAY,gBAAgB;IAC5B,YAAY,gBAAgB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2EAA2E,GACrF,sBAAsB,MAAM,EAAE,WAAW,MAAM,KAAG,MAC6B,CAAC;AAEnF;;GAEG;AACH,eAAO,MAAM,oEAAoE,GAC9E,sBAAsB,MAAM,EAAE,SAAS,MAAM,KAAG,MACoB,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,oEAAoE,GAE7E,2BAA2B,MAAM,EACjC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,WAAW,MAAM,EACjB,eAAe,MAAM,KACpB,MAKmB,CAAC;AAEzB;;GAEG;AACH,eAAO,MAAM,uDAAuD,GAClE,wBAAwB,MAAM,EAC9B,YAAY,MAAM,EAClB,UAAU;IACR,0BAA0B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAClD,KACA,MAQF,CAAC;AAgBF;;GAEG;AACH,eAAO,MAAM,kEAAkE,GAE3E,2BAA2B,MAAM,EACjC,eAAe,MAAM,EACrB,cAAc,MAAM,EACpB,qBAAqB,MAAM,GAAG,SAAS,KACtC,MAKC,CAAC"}
|
|
@@ -57,6 +57,8 @@ export const LEGEND_QUERY_ROUTE_PATTERN = Object.freeze({
|
|
|
57
57
|
// Developer-only diagnostic page for inspecting depot DataSpace
|
|
58
58
|
// analytics artifact sizes. See `DataSpaceArtifactInspector`.
|
|
59
59
|
DEV_DATA_SPACE_INSPECTOR: '/dev/dataspace-inspector',
|
|
60
|
+
// Legend Cube, the canvas query builder
|
|
61
|
+
CUBE: '/cube',
|
|
60
62
|
});
|
|
61
63
|
/**
|
|
62
64
|
* Generates a data product route for the given access type.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendQueryNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC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G,CAAC,CACvE,CAAC;AAEJ;;GAEG;AACH,MAAM,CAAC,MAAM,kEAAkE,GAC7E,CACE,yBAAiC,EACjC,aAAqB,EACrB,YAAoB,EACpB,kBAAuC,EAC/B,EAAE,CACV,GAAG,yBAAyB,yBAAyB,aAAa,IAAI,YAAY,GAChF,kBAAkB;IAChB,CAAC,CAAC,IAAI,+DAA+D,CAAC,kBAAkB,CAAC,EAAE;IAC3F,CAAC,CAAC,EACN,EAAE,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Core_LegendApplicationPlugin, LEGEND_APPLICATION_COLOR_THEME, type SettingConfigurationEntry } from '@finos/legend-application';
|
|
16
|
+
import { Core_LegendApplicationPlugin, LEGEND_APPLICATION_COLOR_THEME, type KeyedCommandConfigEntry, type SettingConfigurationEntry } from '@finos/legend-application';
|
|
17
17
|
export declare const LEGEND_QUERY_APPLICATION_SETTING_CONFIG: {
|
|
18
18
|
"application.layout.colorTheme": {
|
|
19
19
|
defaultValue: LEGEND_APPLICATION_COLOR_THEME;
|
|
@@ -21,5 +21,11 @@ export declare const LEGEND_QUERY_APPLICATION_SETTING_CONFIG: {
|
|
|
21
21
|
};
|
|
22
22
|
export declare class Core_LegendQuery_LegendApplicationPlugin extends Core_LegendApplicationPlugin {
|
|
23
23
|
getExtraSettingConfigurationEntries(): SettingConfigurationEntry[];
|
|
24
|
+
/**
|
|
25
|
+
* The Cube page's shortcuts (F9, Ctrl/Cmd+Z): a Legend application binds
|
|
26
|
+
* keys only through its plugins, and the page registers the commands only
|
|
27
|
+
* while it is open (PLAN §3.5)
|
|
28
|
+
*/
|
|
29
|
+
getExtraKeyedCommandConfigEntries(): KeyedCommandConfigEntry[];
|
|
24
30
|
}
|
|
25
31
|
//# sourceMappingURL=Core_LegendQuery_LegendApplicationPlugin.d.ts.map
|
|
@@ -1 +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,
|
|
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,EAI9B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC/B,MAAM,2BAA2B,CAAC;AAGnC,eAAO,MAAM,uCAAuC;;;;CAKnD,CAAC;AAEF,qBAAa,wCAAyC,SAAQ,4BAA4B;IAC/E,mCAAmC,IAAI,yBAAyB,EAAE;IAM3E;;;;OAIG;IACM,iCAAiC,IAAI,uBAAuB,EAAE;CAKxE"}
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { Core_LegendApplicationPlugin, LEGEND_APPLICATION_COLOR_THEME, LEGEND_APPLICATION_SETTING_KEY, collectSettingConfigurationEntriesFromConfig, } from '@finos/legend-application';
|
|
16
|
+
import { Core_LegendApplicationPlugin, LEGEND_APPLICATION_COLOR_THEME, LEGEND_APPLICATION_SETTING_KEY, collectKeyedCommandConfigEntriesFromConfig, collectSettingConfigurationEntriesFromConfig, } from '@finos/legend-application';
|
|
17
|
+
import { LEGEND_CUBE_COMMAND_CONFIG } from '@finos/legend-cube-builder';
|
|
17
18
|
export const LEGEND_QUERY_APPLICATION_SETTING_CONFIG = {
|
|
18
19
|
[LEGEND_APPLICATION_SETTING_KEY.COLOR_THEME]: {
|
|
19
20
|
// default application query to light mode
|
|
@@ -24,5 +25,13 @@ export class Core_LegendQuery_LegendApplicationPlugin extends Core_LegendApplica
|
|
|
24
25
|
getExtraSettingConfigurationEntries() {
|
|
25
26
|
return collectSettingConfigurationEntriesFromConfig(LEGEND_QUERY_APPLICATION_SETTING_CONFIG);
|
|
26
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* The Cube page's shortcuts (F9, Ctrl/Cmd+Z): a Legend application binds
|
|
30
|
+
* keys only through its plugins, and the page registers the commands only
|
|
31
|
+
* while it is open (PLAN §3.5)
|
|
32
|
+
*/
|
|
33
|
+
getExtraKeyedCommandConfigEntries() {
|
|
34
|
+
return collectKeyedCommandConfigEntriesFromConfig(LEGEND_CUBE_COMMAND_CONFIG);
|
|
35
|
+
}
|
|
27
36
|
}
|
|
28
37
|
//# sourceMappingURL=Core_LegendQuery_LegendApplicationPlugin.js.map
|
|
@@ -1 +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,
|
|
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,0CAA0C,EAC1C,4CAA4C,GAG7C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAExE,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;IAED;;;;OAIG;IACM,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,0BAA0B,CAC3B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendQueryWebApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"LegendQueryWebApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyLH,eAAO,MAAM,yBAAyB,WAC5B;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;CAsC5B,CAAC"}
|
|
@@ -31,6 +31,7 @@ import { QueryCreator } from './data-space/DataProductQueryCreator.js';
|
|
|
31
31
|
import { IngestQueryCreator } from './ingest/IngestQueryCreator.js';
|
|
32
32
|
import { ExistingQueryDataCubeViewer } from './data-cube/ExistingQueryDataCubeViewer.js';
|
|
33
33
|
import { DataSpaceArtifactInspector } from './DataSpaceArtifactInspector.js';
|
|
34
|
+
import { LegendQueryCubeRoute } from './cube/LegendQueryCubeRoute.js';
|
|
34
35
|
import { AuthProvider, withAuthenticationRequired, } from 'react-oidc-context';
|
|
35
36
|
import { CubesLoadingIndicator, CubesLoadingIndicatorIcon, } from '@finos/legend-art';
|
|
36
37
|
const LegendQueryWebApplicationRouter = observer(() => {
|
|
@@ -42,7 +43,7 @@ const LegendQueryWebApplicationRouter = observer(() => {
|
|
|
42
43
|
useEffect(() => {
|
|
43
44
|
flowResult(baseStore.initialize()).catch(applicationStore.alertUnhandledError);
|
|
44
45
|
}, [applicationStore, baseStore]);
|
|
45
|
-
return (_jsx("div", { className: "app", children: baseStore.initState.hasCompleted && (_jsxs(Routes, { children: [_jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DEFAULT, element: _jsx(QueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY_SETUP, element: _jsx(EditExistingQuerySetup, {}) }), _jsx(Route, { path: generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.TEMPLATE_QUERY), element: _jsx(DataSpaceTemplateQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.SETUP, element: _jsx(QuerySetupLandingPage, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_MAPPING_QUERY_SETUP, element: _jsx(CreateMappingQuerySetup, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY, element: _jsx(ExistingQueryEditor, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DATA_CUBE_EXISTING_QUERY, element: _jsx(ExistingQueryDataCubeViewer, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DATA_PRODUCT, element: _jsx(QueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.INGEST_QUERY, element: _jsx(IngestQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_SERVICE_QUERY, element: _jsx(ServiceQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_MAPPING_QUERY, element: _jsx(MappingQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DEV_DATA_SPACE_INSPECTOR, element: _jsx(DataSpaceArtifactInspector, {}) }), _jsx(Route, { path: generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP), element: _jsx(QueryCreator, {}) }), _jsx(Route, { path: generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE), element: _jsx(QueryCreator, {}) }), extraApplicationPageEntries.flatMap((entry) => entry.addressPatterns
|
|
46
|
+
return (_jsx("div", { className: "app", children: baseStore.initState.hasCompleted && (_jsxs(Routes, { children: [_jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DEFAULT, element: _jsx(QueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY_SETUP, element: _jsx(EditExistingQuerySetup, {}) }), _jsx(Route, { path: generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.TEMPLATE_QUERY), element: _jsx(DataSpaceTemplateQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.SETUP, element: _jsx(QuerySetupLandingPage, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_MAPPING_QUERY_SETUP, element: _jsx(CreateMappingQuerySetup, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.EDIT_EXISTING_QUERY, element: _jsx(ExistingQueryEditor, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DATA_CUBE_EXISTING_QUERY, element: _jsx(ExistingQueryDataCubeViewer, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DATA_PRODUCT, element: _jsx(QueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.INGEST_QUERY, element: _jsx(IngestQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_SERVICE_QUERY, element: _jsx(ServiceQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_MAPPING_QUERY, element: _jsx(MappingQueryCreator, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.DEV_DATA_SPACE_INSPECTOR, element: _jsx(DataSpaceArtifactInspector, {}) }), _jsx(Route, { path: LEGEND_QUERY_ROUTE_PATTERN.CUBE, element: _jsx(LegendQueryCubeRoute, {}) }), _jsx(Route, { path: generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP), element: _jsx(QueryCreator, {}) }), _jsx(Route, { path: generateExtensionUrlPattern(LEGACY_DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE), element: _jsx(QueryCreator, {}) }), extraApplicationPageEntries.flatMap((entry) => entry.addressPatterns
|
|
46
47
|
.map(generateExtensionUrlPattern)
|
|
47
48
|
.map((path) => (_jsx(Route, { path: path, element: entry.renderer() }, entry.key))))] })) }));
|
|
48
49
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendQueryWebApplication.js","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,KAAK,EACL,MAAM,GACP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAA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e,GAAG,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC;IAExE,IAAI,UAAU,EAAE,CAAC;QACf,MAAM,gBAAgB,GAAG,CAAC,KAAuB,EAAQ,EAAE;YACzD,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAI,KAAK,EAAE,KAA4B,IAAI,GAAG,CAAC;QACrE,CAAC,CAAC;QAEF,MAAM,gBAAgB,GAAsB;YAC1C,GAAG,UAAU,CAAC,iBAAiB;YAC/B,YAAY,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,UAAU,CAAC,YAAY,EAAE;YACnE,mBAAmB,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,UAAU,CAAC,kBAAkB,EAAE;YAChF,gBAAgB;SACjB,CAAC;QAEF,IAAI,eAAe,EAAE,CAAC;YACpB,OAAO,CACL,KAAC,YAAY,OAAK,gBAAgB,YAChC,KAAC,eAAe,cACd,KAAC,mCAAmC,IAAC,OAAO,EAAE,OAAO,GAAI,GACzC,GACL,CAChB,CAAC;QACJ,CAAC;QACD,OAAO,CACL,KAAC,YAAY,OAAK,gBAAgB,YAChC,KAAC,eAAe,cACd,KAAC,sBAAsB,IAAC,OAAO,EAAE,OAAO,GAAI,GAC5B,GACL,CAChB,CAAC;IACJ,CAAC;IAED,OAAO,KAAC,sBAAsB,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC;AACtD,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"LegendQueryWebApplication.js","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,mBAA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,mCAAmC,IAAC,OAAO,EAAE,OAAO,GAAI,GACzC,GACL,CAChB,CAAC;QACJ,CAAC;QACD,OAAO,CACL,KAAC,YAAY,OAAK,gBAAgB,YAChC,KAAC,eAAe,cACd,KAAC,sBAAsB,IAAC,OAAO,EAAE,OAAO,GAAI,GAC5B,GACL,CAChB,CAAC;IACJ,CAAC;IAED,OAAO,KAAC,sBAAsB,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC;AACtD,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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
|
+
/** The Cube page in Legend Query, with a host that lasts as long as the visit */
|
|
17
|
+
export declare const LegendQueryCubePage: React.FC;
|
|
18
|
+
//# sourceMappingURL=LegendQueryCubePage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendQueryCubePage.d.ts","sourceRoot":"","sources":["../../../src/components/cube/LegendQueryCubePage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAIvC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2026-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 { CubeEditor } from '@finos/legend-cube-builder';
|
|
18
|
+
import { useState } from 'react';
|
|
19
|
+
import { LegendQueryCubeHost } from '../../stores/cube/LegendQueryCubeHost.js';
|
|
20
|
+
import { useLegendQueryApplicationStore } from '../LegendQueryFrameworkProvider.js';
|
|
21
|
+
/** The Cube page in Legend Query, with a host that lasts as long as the visit */
|
|
22
|
+
export const LegendQueryCubePage = () => {
|
|
23
|
+
const applicationStore = useLegendQueryApplicationStore();
|
|
24
|
+
const [host] = useState(() => new LegendQueryCubeHost(applicationStore));
|
|
25
|
+
return _jsx(CubeEditor, { host: host });
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=LegendQueryCubePage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendQueryCubePage.js","sourceRoot":"","sources":["../../../src/components/cube/LegendQueryCubePage.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAEpF,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAa,GAAG,EAAE;IAChD,MAAM,gBAAgB,GAAG,8BAA8B,EAAE,CAAC;IAC1D,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACzE,OAAO,KAAC,UAAU,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACpC,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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
|
+
/** The element of the `/cube` route */
|
|
17
|
+
export declare const LegendQueryCubeRoute: React.FC;
|
|
18
|
+
//# sourceMappingURL=LegendQueryCubeRoute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendQueryCubeRoute.d.ts","sourceRoot":"","sources":["../../../src/components/cube/LegendQueryCubeRoute.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,uCAAuC;AACvC,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAUxC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2026-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 { CubesLoadingIndicator, CubesLoadingIndicatorIcon, } from '@finos/legend-art';
|
|
18
|
+
import { lazy, Suspense } from 'react';
|
|
19
|
+
// Loaded on the first visit, so the Cube page and its UI libraries stay out
|
|
20
|
+
// of Query's main bundle (PLAN §3.5, Settled before M1.8)
|
|
21
|
+
const LazyLegendQueryCubePage = lazy(() => import('./LegendQueryCubePage.js').then((module) => ({
|
|
22
|
+
default: module.LegendQueryCubePage,
|
|
23
|
+
})));
|
|
24
|
+
/** The element of the `/cube` route */
|
|
25
|
+
export const LegendQueryCubeRoute = () => (_jsx(Suspense, { fallback: _jsx(CubesLoadingIndicator, { isLoading: true, children: _jsx(CubesLoadingIndicatorIcon, {}) }), children: _jsx(LazyLegendQueryCubePage, {}) }));
|
|
26
|
+
//# sourceMappingURL=LegendQueryCubeRoute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendQueryCubeRoute.js","sourceRoot":"","sources":["../../../src/components/cube/LegendQueryCubeRoute.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvC,4EAA4E;AAC5E,0DAA0D;AAC1D,MAAM,uBAAuB,GAAG,IAAI,CAAC,GAAG,EAAE,CACxC,MAAM,CAAC,0BAA0B,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACnD,OAAO,EAAE,MAAM,CAAC,mBAAmB;CACpC,CAAC,CAAC,CACJ,CAAC;AAEF,uCAAuC;AACvC,MAAM,CAAC,MAAM,oBAAoB,GAAa,GAAG,EAAE,CAAC,CAClD,KAAC,QAAQ,IACP,QAAQ,EACN,KAAC,qBAAqB,IAAC,SAAS,EAAE,IAAI,YACpC,KAAC,yBAAyB,KAAG,GACP,YAG1B,KAAC,uBAAuB,KAAG,GAClB,CACZ,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/light-mode.css
CHANGED
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application-query",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.59",
|
|
4
4
|
"description": "Legend Query application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@finos/legend-application": "workspace:*",
|
|
48
48
|
"@finos/legend-art": "workspace:*",
|
|
49
49
|
"@finos/legend-code-editor": "workspace:*",
|
|
50
|
+
"@finos/legend-cube-builder": "workspace:*",
|
|
50
51
|
"@finos/legend-data-cube": "workspace:*",
|
|
51
52
|
"@finos/legend-extension-dsl-data-space": "workspace:*",
|
|
52
53
|
"@finos/legend-graph": "workspace:*",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { type CubeEngine, type CubeEngineConfig, type CubeHost, LocalModelCatalog } from '@finos/legend-cube-builder';
|
|
17
|
+
import type { LegendQueryApplicationConfig } from '../../application/LegendQueryApplicationConfig.js';
|
|
18
|
+
import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
|
|
19
|
+
/** Cube talks to the engine Query's own editor uses, configured the same way */
|
|
20
|
+
export declare const buildLegendQueryCubeEngineConfig: (config: LegendQueryApplicationConfig) => CubeEngineConfig;
|
|
21
|
+
/**
|
|
22
|
+
* Legend Query as the host of the Cube page (PLAN §3.5): Query's engine and
|
|
23
|
+
* application store, and the bundled models. One per visit to the page.
|
|
24
|
+
*/
|
|
25
|
+
export declare class LegendQueryCubeHost implements CubeHost {
|
|
26
|
+
readonly applicationStore: LegendQueryApplicationStore;
|
|
27
|
+
readonly engine: CubeEngine;
|
|
28
|
+
readonly modelCatalog: LocalModelCatalog;
|
|
29
|
+
/** Tests give an engine; otherwise it is built from Query's config */
|
|
30
|
+
constructor(applicationStore: LegendQueryApplicationStore, engine?: CubeEngine);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=LegendQueryCubeHost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendQueryCubeHost.d.ts","sourceRoot":"","sources":["../../../src/stores/cube/LegendQueryCubeHost.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AACtG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAE9E,gFAAgF;AAChF,eAAO,MAAM,gCAAgC,GAC3C,QAAQ,4BAA4B,KACnC,gBAMD,CAAC;AAEH;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,QAAQ;IAClD,QAAQ,CAAC,gBAAgB,EAAE,2BAA2B,CAAC;IACvD,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAAC;IAEzC,sEAAsE;gBAEpE,gBAAgB,EAAE,2BAA2B,EAC7C,MAAM,CAAC,EAAE,UAAU;CAWtB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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 { buildCubeEngine, LocalModelCatalog, } from '@finos/legend-cube-builder';
|
|
17
|
+
/** Cube talks to the engine Query's own editor uses, configured the same way */
|
|
18
|
+
export const buildLegendQueryCubeEngineConfig = (config) => ({
|
|
19
|
+
baseUrl: config.engineServerUrl,
|
|
20
|
+
queryBaseUrl: config.engineQueryServerUrl,
|
|
21
|
+
queryClientName: config.engineQueryClientName,
|
|
22
|
+
enableCompression: true,
|
|
23
|
+
useCookieAuthOnly: config.engineUseCookieAuthOnly,
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* Legend Query as the host of the Cube page (PLAN §3.5): Query's engine and
|
|
27
|
+
* application store, and the bundled models. One per visit to the page.
|
|
28
|
+
*/
|
|
29
|
+
export class LegendQueryCubeHost {
|
|
30
|
+
applicationStore;
|
|
31
|
+
engine;
|
|
32
|
+
modelCatalog;
|
|
33
|
+
/** Tests give an engine; otherwise it is built from Query's config */
|
|
34
|
+
constructor(applicationStore, engine) {
|
|
35
|
+
this.applicationStore = applicationStore;
|
|
36
|
+
this.engine =
|
|
37
|
+
engine ??
|
|
38
|
+
buildCubeEngine(buildLegendQueryCubeEngineConfig(applicationStore.config), applicationStore.tracerService);
|
|
39
|
+
this.modelCatalog = new LocalModelCatalog(this.engine);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=LegendQueryCubeHost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendQueryCubeHost.js","sourceRoot":"","sources":["../../../src/stores/cube/LegendQueryCubeHost.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,eAAe,EAIf,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AAIpC,gFAAgF;AAChF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC9C,MAAoC,EAClB,EAAE,CAAC,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC,eAAe;IAC/B,YAAY,EAAE,MAAM,CAAC,oBAAoB;IACzC,eAAe,EAAE,MAAM,CAAC,qBAAqB;IAC7C,iBAAiB,EAAE,IAAI;IACvB,iBAAiB,EAAE,MAAM,CAAC,uBAAuB;CAClD,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,OAAO,mBAAmB;IACrB,gBAAgB,CAA8B;IAC9C,MAAM,CAAa;IACnB,YAAY,CAAoB;IAEzC,sEAAsE;IACtE,YACE,gBAA6C,EAC7C,MAAmB;QAEnB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,MAAM;YACT,MAAM;gBACN,eAAe,CACb,gCAAgC,CAAC,gBAAgB,CAAC,MAAM,CAAC,EACzD,gBAAgB,CAAC,aAAa,CAC/B,CAAC;QACJ,IAAI,CAAC,YAAY,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACzD,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application-query",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.59",
|
|
4
4
|
"description": "Legend Query application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"@finos/legend-application": "16.0.126",
|
|
48
48
|
"@finos/legend-art": "7.1.166",
|
|
49
49
|
"@finos/legend-code-editor": "2.0.208",
|
|
50
|
+
"@finos/legend-cube-builder": "0.0.2",
|
|
50
51
|
"@finos/legend-data-cube": "0.3.126",
|
|
51
52
|
"@finos/legend-extension-dsl-data-space": "10.4.261",
|
|
52
53
|
"@finos/legend-graph": "32.7.4",
|
|
@@ -65,6 +65,8 @@ export const LEGEND_QUERY_ROUTE_PATTERN = Object.freeze({
|
|
|
65
65
|
// Developer-only diagnostic page for inspecting depot DataSpace
|
|
66
66
|
// analytics artifact sizes. See `DataSpaceArtifactInspector`.
|
|
67
67
|
DEV_DATA_SPACE_INSPECTOR: '/dev/dataspace-inspector',
|
|
68
|
+
// Legend Cube, the canvas query builder
|
|
69
|
+
CUBE: '/cube',
|
|
68
70
|
});
|
|
69
71
|
|
|
70
72
|
// DataProduct
|
|
@@ -18,9 +18,12 @@ import {
|
|
|
18
18
|
Core_LegendApplicationPlugin,
|
|
19
19
|
LEGEND_APPLICATION_COLOR_THEME,
|
|
20
20
|
LEGEND_APPLICATION_SETTING_KEY,
|
|
21
|
+
collectKeyedCommandConfigEntriesFromConfig,
|
|
21
22
|
collectSettingConfigurationEntriesFromConfig,
|
|
23
|
+
type KeyedCommandConfigEntry,
|
|
22
24
|
type SettingConfigurationEntry,
|
|
23
25
|
} from '@finos/legend-application';
|
|
26
|
+
import { LEGEND_CUBE_COMMAND_CONFIG } from '@finos/legend-cube-builder';
|
|
24
27
|
|
|
25
28
|
export const LEGEND_QUERY_APPLICATION_SETTING_CONFIG = {
|
|
26
29
|
[LEGEND_APPLICATION_SETTING_KEY.COLOR_THEME]: {
|
|
@@ -35,4 +38,15 @@ export class Core_LegendQuery_LegendApplicationPlugin extends Core_LegendApplica
|
|
|
35
38
|
LEGEND_QUERY_APPLICATION_SETTING_CONFIG,
|
|
36
39
|
);
|
|
37
40
|
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* The Cube page's shortcuts (F9, Ctrl/Cmd+Z): a Legend application binds
|
|
44
|
+
* keys only through its plugins, and the page registers the commands only
|
|
45
|
+
* while it is open (PLAN §3.5)
|
|
46
|
+
*/
|
|
47
|
+
override getExtraKeyedCommandConfigEntries(): KeyedCommandConfigEntry[] {
|
|
48
|
+
return collectKeyedCommandConfigEntriesFromConfig(
|
|
49
|
+
LEGEND_CUBE_COMMAND_CONFIG,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
38
52
|
}
|
|
@@ -44,6 +44,7 @@ import { QueryCreator } from './data-space/DataProductQueryCreator.js';
|
|
|
44
44
|
import { IngestQueryCreator } from './ingest/IngestQueryCreator.js';
|
|
45
45
|
import { ExistingQueryDataCubeViewer } from './data-cube/ExistingQueryDataCubeViewer.js';
|
|
46
46
|
import { DataSpaceArtifactInspector } from './DataSpaceArtifactInspector.js';
|
|
47
|
+
import { LegendQueryCubeRoute } from './cube/LegendQueryCubeRoute.js';
|
|
47
48
|
import {
|
|
48
49
|
AuthProvider,
|
|
49
50
|
withAuthenticationRequired,
|
|
@@ -137,6 +138,11 @@ const LegendQueryWebApplicationRouter = observer(() => {
|
|
|
137
138
|
element={<DataSpaceArtifactInspector />}
|
|
138
139
|
/>
|
|
139
140
|
|
|
141
|
+
<Route
|
|
142
|
+
path={LEGEND_QUERY_ROUTE_PATTERN.CUBE}
|
|
143
|
+
element={<LegendQueryCubeRoute />}
|
|
144
|
+
/>
|
|
145
|
+
|
|
140
146
|
{/* LEGACY DATA SPACE */}
|
|
141
147
|
<Route
|
|
142
148
|
path={generateExtensionUrlPattern(
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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 { CubeEditor } from '@finos/legend-cube-builder';
|
|
18
|
+
import { useState } from 'react';
|
|
19
|
+
import { LegendQueryCubeHost } from '../../stores/cube/LegendQueryCubeHost.js';
|
|
20
|
+
import { useLegendQueryApplicationStore } from '../LegendQueryFrameworkProvider.js';
|
|
21
|
+
|
|
22
|
+
/** The Cube page in Legend Query, with a host that lasts as long as the visit */
|
|
23
|
+
export const LegendQueryCubePage: React.FC = () => {
|
|
24
|
+
const applicationStore = useLegendQueryApplicationStore();
|
|
25
|
+
const [host] = useState(() => new LegendQueryCubeHost(applicationStore));
|
|
26
|
+
return <CubeEditor host={host} />;
|
|
27
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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
|
+
CubesLoadingIndicator,
|
|
19
|
+
CubesLoadingIndicatorIcon,
|
|
20
|
+
} from '@finos/legend-art';
|
|
21
|
+
import { lazy, Suspense } from 'react';
|
|
22
|
+
|
|
23
|
+
// Loaded on the first visit, so the Cube page and its UI libraries stay out
|
|
24
|
+
// of Query's main bundle (PLAN §3.5, Settled before M1.8)
|
|
25
|
+
const LazyLegendQueryCubePage = lazy(() =>
|
|
26
|
+
import('./LegendQueryCubePage.js').then((module) => ({
|
|
27
|
+
default: module.LegendQueryCubePage,
|
|
28
|
+
})),
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
/** The element of the `/cube` route */
|
|
32
|
+
export const LegendQueryCubeRoute: React.FC = () => (
|
|
33
|
+
<Suspense
|
|
34
|
+
fallback={
|
|
35
|
+
<CubesLoadingIndicator isLoading={true}>
|
|
36
|
+
<CubesLoadingIndicatorIcon />
|
|
37
|
+
</CubesLoadingIndicator>
|
|
38
|
+
}
|
|
39
|
+
>
|
|
40
|
+
<LazyLegendQueryCubePage />
|
|
41
|
+
</Suspense>
|
|
42
|
+
);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-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
|
+
buildCubeEngine,
|
|
19
|
+
type CubeEngine,
|
|
20
|
+
type CubeEngineConfig,
|
|
21
|
+
type CubeHost,
|
|
22
|
+
LocalModelCatalog,
|
|
23
|
+
} from '@finos/legend-cube-builder';
|
|
24
|
+
import type { LegendQueryApplicationConfig } from '../../application/LegendQueryApplicationConfig.js';
|
|
25
|
+
import type { LegendQueryApplicationStore } from '../LegendQueryBaseStore.js';
|
|
26
|
+
|
|
27
|
+
/** Cube talks to the engine Query's own editor uses, configured the same way */
|
|
28
|
+
export const buildLegendQueryCubeEngineConfig = (
|
|
29
|
+
config: LegendQueryApplicationConfig,
|
|
30
|
+
): CubeEngineConfig => ({
|
|
31
|
+
baseUrl: config.engineServerUrl,
|
|
32
|
+
queryBaseUrl: config.engineQueryServerUrl,
|
|
33
|
+
queryClientName: config.engineQueryClientName,
|
|
34
|
+
enableCompression: true,
|
|
35
|
+
useCookieAuthOnly: config.engineUseCookieAuthOnly,
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Legend Query as the host of the Cube page (PLAN §3.5): Query's engine and
|
|
40
|
+
* application store, and the bundled models. One per visit to the page.
|
|
41
|
+
*/
|
|
42
|
+
export class LegendQueryCubeHost implements CubeHost {
|
|
43
|
+
readonly applicationStore: LegendQueryApplicationStore;
|
|
44
|
+
readonly engine: CubeEngine;
|
|
45
|
+
readonly modelCatalog: LocalModelCatalog;
|
|
46
|
+
|
|
47
|
+
/** Tests give an engine; otherwise it is built from Query's config */
|
|
48
|
+
constructor(
|
|
49
|
+
applicationStore: LegendQueryApplicationStore,
|
|
50
|
+
engine?: CubeEngine,
|
|
51
|
+
) {
|
|
52
|
+
this.applicationStore = applicationStore;
|
|
53
|
+
this.engine =
|
|
54
|
+
engine ??
|
|
55
|
+
buildCubeEngine(
|
|
56
|
+
buildLegendQueryCubeEngineConfig(applicationStore.config),
|
|
57
|
+
applicationStore.tracerService,
|
|
58
|
+
);
|
|
59
|
+
this.modelCatalog = new LocalModelCatalog(this.engine);
|
|
60
|
+
}
|
|
61
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"./src/stores/UpdateExistingServiceQuerySetupStore.ts",
|
|
83
83
|
"./src/stores/__test-utils__/DataSpaceQueryBuilderStateTestUtils.ts",
|
|
84
84
|
"./src/stores/__test-utils__/LegendQueryApplicationTestUtils.ts",
|
|
85
|
+
"./src/stores/cube/LegendQueryCubeHost.ts",
|
|
85
86
|
"./src/stores/data-cube/ExistingQueryDataCubeViewer.ts",
|
|
86
87
|
"./src/stores/data-product/query-builder/DataProductArtifactHelper.ts",
|
|
87
88
|
"./src/stores/data-product/query-builder/LegendQueryDataProductQueryBuilderState.ts",
|
|
@@ -111,6 +112,8 @@
|
|
|
111
112
|
"./src/components/QuerySetup.tsx",
|
|
112
113
|
"./src/components/UpdateExistingServiceQuerySetup.tsx",
|
|
113
114
|
"./src/components/__test-utils__/QueryEditorComponentTestUtils.tsx",
|
|
115
|
+
"./src/components/cube/LegendQueryCubePage.tsx",
|
|
116
|
+
"./src/components/cube/LegendQueryCubeRoute.tsx",
|
|
114
117
|
"./src/components/data-cube/ExistingQueryDataCubeViewer.tsx",
|
|
115
118
|
"./src/components/data-cube/ExistingQueryEditorStoreProviderProvider.tsx",
|
|
116
119
|
"./src/components/data-product/DataProductInfo.tsx",
|