@finos/legend-application-repl 0.0.20 → 0.0.22
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/LegendREPLGridClient.d.ts +0 -2
- package/lib/application/LegendREPLGridClient.d.ts.map +1 -1
- package/lib/application/LegendREPLGridClient.js +6 -33
- package/lib/application/LegendREPLGridClient.js.map +1 -1
- package/lib/components/AgGrid.d.ts +3 -2
- package/lib/components/AgGrid.d.ts.map +1 -1
- package/lib/components/AgGrid.js +1 -1
- package/lib/components/AgGrid.js.map +1 -1
- package/lib/components/LegendREPLGridClientApplication.d.ts +7 -0
- package/lib/components/LegendREPLGridClientApplication.d.ts.map +1 -1
- package/lib/components/LegendREPLGridClientApplication.js +12 -5
- package/lib/components/LegendREPLGridClientApplication.js.map +1 -1
- package/lib/components/REPLGridClient.d.ts +11 -2
- package/lib/components/REPLGridClient.d.ts.map +1 -1
- package/lib/components/REPLGridClient.js +107 -30
- package/lib/components/REPLGridClient.js.map +1 -1
- package/lib/components/dataCube/DataCubeGridEditor.d.ts +22 -0
- package/lib/components/dataCube/DataCubeGridEditor.d.ts.map +1 -0
- package/lib/components/dataCube/DataCubeGridEditor.js +37 -0
- package/lib/components/dataCube/DataCubeGridEditor.js.map +1 -0
- package/lib/components/dataCube/DataCubeQueryTextEditor.d.ts +22 -0
- package/lib/components/dataCube/DataCubeQueryTextEditor.d.ts.map +1 -0
- package/lib/components/{REPLQueryEditor.js → dataCube/DataCubeQueryTextEditor.js} +26 -44
- package/lib/components/dataCube/DataCubeQueryTextEditor.js.map +1 -0
- package/lib/components/grid/GridUtils.d.ts +4 -2
- package/lib/components/grid/GridUtils.d.ts.map +1 -1
- package/lib/components/grid/GridUtils.js +37 -2
- package/lib/components/grid/GridUtils.js.map +1 -1
- package/lib/components/grid/ServerSideDataSource.d.ts.map +1 -1
- package/lib/components/grid/ServerSideDataSource.js +8 -5
- package/lib/components/grid/ServerSideDataSource.js.map +1 -1
- package/lib/components/grid/TDSLambdaBuilder.d.ts.map +1 -1
- package/lib/components/grid/TDSLambdaBuilder.js +1 -1
- package/lib/components/grid/TDSLambdaBuilder.js.map +1 -1
- package/lib/components/grid/TDSQuery.d.ts +25 -0
- package/lib/components/grid/TDSQuery.d.ts.map +1 -0
- package/lib/components/grid/TDSQuery.js +32 -0
- package/lib/components/grid/TDSQuery.js.map +1 -0
- package/lib/components/grid/TDSRequest.d.ts +15 -2
- package/lib/components/grid/TDSRequest.d.ts.map +1 -1
- package/lib/components/grid/TDSRequest.js +52 -0
- package/lib/components/grid/TDSRequest.js.map +1 -1
- package/lib/grid.css +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +12 -12
- package/lib/repl.css +2 -2
- package/lib/repl.css.map +1 -1
- package/lib/server/REPLServerClient.d.ts +3 -0
- package/lib/server/REPLServerClient.d.ts.map +1 -1
- package/lib/server/REPLServerClient.js +2 -0
- package/lib/server/REPLServerClient.js.map +1 -1
- package/lib/stores/REPLGridClientStore.d.ts +2 -13
- package/lib/stores/REPLGridClientStore.d.ts.map +1 -1
- package/lib/stores/REPLGridClientStore.js +6 -144
- package/lib/stores/REPLGridClientStore.js.map +1 -1
- package/lib/stores/dataCube/DataCubeConfigState.d.ts +32 -0
- package/lib/stores/dataCube/DataCubeConfigState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubeConfigState.js +62 -0
- package/lib/stores/dataCube/DataCubeConfigState.js.map +1 -0
- package/lib/stores/{REPLGridState.d.ts → dataCube/DataCubeGridState.d.ts} +11 -12
- package/lib/stores/dataCube/DataCubeGridState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubeGridState.js +108 -0
- package/lib/stores/dataCube/DataCubeGridState.js.map +1 -0
- package/lib/stores/dataCube/DataCubePanelState.d.ts +23 -0
- package/lib/stores/dataCube/DataCubePanelState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubePanelState.js +22 -0
- package/lib/stores/dataCube/DataCubePanelState.js.map +1 -0
- package/lib/stores/dataCube/DataCubePropertiesPanelState.d.ts +34 -0
- package/lib/stores/dataCube/DataCubePropertiesPanelState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubePropertiesPanelState.js +57 -0
- package/lib/stores/dataCube/DataCubePropertiesPanelState.js.map +1 -0
- package/lib/{components/REPLQueryEditor.d.ts → stores/dataCube/DataCubeQueryEditorState.d.ts} +2 -5
- package/lib/stores/dataCube/DataCubeQueryEditorState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubeQueryEditorState.js +49 -0
- package/lib/stores/dataCube/DataCubeQueryEditorState.js.map +1 -0
- package/lib/stores/dataCube/DataCubeQueryTextEditorState.d.ts +25 -0
- package/lib/stores/dataCube/DataCubeQueryTextEditorState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubeQueryTextEditorState.js +35 -0
- package/lib/stores/dataCube/DataCubeQueryTextEditorState.js.map +1 -0
- package/lib/stores/dataCube/DataCubeState.d.ts +41 -0
- package/lib/stores/dataCube/DataCubeState.d.ts.map +1 -0
- package/lib/stores/dataCube/DataCubeState.js +208 -0
- package/lib/stores/dataCube/DataCubeState.js.map +1 -0
- package/lib/stores/dataCube/HPivotAndSortPanelState.d.ts +40 -0
- package/lib/stores/dataCube/HPivotAndSortPanelState.d.ts.map +1 -0
- package/lib/stores/dataCube/HPivotAndSortPanelState.js +130 -0
- package/lib/stores/dataCube/HPivotAndSortPanelState.js.map +1 -0
- package/package.json +18 -18
- package/src/application/LegendREPLGridClient.tsx +5 -55
- package/src/components/AgGrid.tsx +2 -6
- package/src/components/LegendREPLGridClientApplication.tsx +18 -1
- package/src/components/REPLGridClient.tsx +445 -111
- package/src/components/dataCube/DataCubeGridEditor.tsx +69 -0
- package/src/components/{REPLQueryEditor.tsx → dataCube/DataCubeQueryTextEditor.tsx} +87 -58
- package/src/components/grid/GridUtils.ts +47 -3
- package/src/components/grid/ServerSideDataSource.ts +17 -4
- package/src/components/grid/TDSLambdaBuilder.ts +5 -1
- package/src/components/grid/TDSQuery.ts +37 -0
- package/src/components/grid/TDSRequest.ts +80 -2
- package/src/server/REPLServerClient.ts +17 -0
- package/src/stores/REPLGridClientStore.ts +6 -248
- package/src/stores/dataCube/DataCubeConfigState.ts +79 -0
- package/src/stores/{REPLGridState.ts → dataCube/DataCubeGridState.ts} +65 -30
- package/src/stores/dataCube/DataCubePanelState.ts +28 -0
- package/src/stores/dataCube/DataCubePropertiesPanelState.ts +65 -0
- package/src/stores/dataCube/DataCubeQueryEditorState.ts +66 -0
- package/src/stores/dataCube/DataCubeQueryTextEditorState.ts +41 -0
- package/src/stores/dataCube/DataCubeState.ts +333 -0
- package/src/stores/dataCube/HPivotAndSortPanelState.ts +170 -0
- package/tsconfig.json +11 -2
- package/lib/components/REPLQueryEditor.d.ts.map +0 -1
- package/lib/components/REPLQueryEditor.js.map +0 -1
- package/lib/stores/REPLGridState.d.ts.map +0 -1
- package/lib/stores/REPLGridState.js +0 -86
- package/lib/stores/REPLGridState.js.map +0 -1
|
@@ -17,12 +17,10 @@ import { type LegendApplicationConfig, type LegendApplicationConfigurationInput,
|
|
|
17
17
|
import { LegendREPLGridClientApplicationConfig, type LegendREPLGridClientApplicationConfigData } from './LegendREPLGridClientApplicationConfig.js';
|
|
18
18
|
import { LegendREPLGridClientPluginManager } from './LegendREPLGridClientPluginManager.js';
|
|
19
19
|
import type { LegendREPLGridClientApplicationStore } from '../stores/LegendREPLGridClientBaseStore.js';
|
|
20
|
-
import { type ExtensionsConfigurationData } from '@finos/legend-shared';
|
|
21
20
|
export declare class LegendREPLGridClient extends LegendApplication {
|
|
22
21
|
config: LegendREPLGridClientApplicationConfig;
|
|
23
22
|
pluginManager: LegendREPLGridClientPluginManager;
|
|
24
23
|
static create(): LegendREPLGridClient;
|
|
25
|
-
fetchApplicationConfiguration(baseUrl: string): Promise<[LegendApplicationConfig, ExtensionsConfigurationData]>;
|
|
26
24
|
configureApplication(input: LegendApplicationConfigurationInput<LegendREPLGridClientApplicationConfigData>): Promise<LegendApplicationConfig>;
|
|
27
25
|
loadApplication(applicationStore: LegendREPLGridClientApplicationStore): Promise<void>;
|
|
28
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendREPLGridClient.d.ts","sourceRoot":"","sources":["../../src/application/LegendREPLGridClient.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,EACxC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"LegendREPLGridClient.d.ts","sourceRoot":"","sources":["../../src/application/LegendREPLGridClient.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,EACxC,iBAAiB,EAIlB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qCAAqC,EACrC,KAAK,yCAAyC,EAC/C,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAG3F,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAEvG,qBAAa,oBAAqB,SAAQ,iBAAiB;IACjD,MAAM,EAAE,qCAAqC,CAAC;IAC9C,aAAa,EAAE,iCAAiC,CAAC;IAEzD,MAAM,CAAC,MAAM,IAAI,oBAAoB;IAkB/B,oBAAoB,CACxB,KAAK,EAAE,mCAAmC,CAAC,yCAAyC,CAAC,GACpF,OAAO,CAAC,uBAAuB,CAAC;IAI7B,eAAe,CACnB,gBAAgB,EAAE,oCAAoC,GACrD,OAAO,CAAC,IAAI,CAAC;CAOjB"}
|
|
@@ -15,12 +15,11 @@ 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 { LegendApplication, ApplicationStoreProvider, Core_LegendApplicationPlugin, getApplicationRootElement,
|
|
18
|
+
import { LegendApplication, ApplicationStoreProvider, Core_LegendApplicationPlugin, getApplicationRootElement, } from '@finos/legend-application';
|
|
19
19
|
import { LegendREPLGridClientApplicationConfig, } from './LegendREPLGridClientApplicationConfig.js';
|
|
20
20
|
import { LegendREPLGridClientPluginManager } from './LegendREPLGridClientPluginManager.js';
|
|
21
21
|
import { LegendREPLGridClientWebApplication } from '../components/LegendREPLGridClientApplication.js';
|
|
22
22
|
import { Core_LegendREPLGridClientApplicationPlugin } from '../components/Core_LegendREPLGridClientApplicationPlugin.js';
|
|
23
|
-
import { NetworkClient, assertErrorThrown, LogEvent, assertNonNullable, } from '@finos/legend-shared';
|
|
24
23
|
export class LegendREPLGridClient extends LegendApplication {
|
|
25
24
|
static create() {
|
|
26
25
|
const application = new LegendREPLGridClient(LegendREPLGridClientPluginManager.create());
|
|
@@ -31,37 +30,11 @@ export class LegendREPLGridClient extends LegendApplication {
|
|
|
31
30
|
application.withBasePresets([]);
|
|
32
31
|
return application;
|
|
33
32
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
configData = await client.get(`${window.location.origin}${baseUrl}config.json`);
|
|
40
|
-
}
|
|
41
|
-
catch (error) {
|
|
42
|
-
assertErrorThrown(error);
|
|
43
|
-
this.logger.error(LogEvent.create(APPLICATION_EVENT.APPLICATION_CONFIGURATION__FAILURE), error);
|
|
44
|
-
}
|
|
45
|
-
assertNonNullable(configData, `Can't fetch Legend application configuration`);
|
|
46
|
-
// app version
|
|
47
|
-
let versionData;
|
|
48
|
-
try {
|
|
49
|
-
versionData = await client.get(`${window.location.origin}${baseUrl}version.json`);
|
|
50
|
-
}
|
|
51
|
-
catch (error) {
|
|
52
|
-
assertErrorThrown(error);
|
|
53
|
-
this.logger.error(LogEvent.create(APPLICATION_EVENT.APPLICATION_CONFIGURATION__FAILURE), error);
|
|
54
|
-
}
|
|
55
|
-
assertNonNullable(versionData, `Can't fetch Legend application version`);
|
|
56
|
-
return [
|
|
57
|
-
await this.configureApplication({
|
|
58
|
-
configData,
|
|
59
|
-
versionData,
|
|
60
|
-
baseAddress: baseUrl,
|
|
61
|
-
}),
|
|
62
|
-
configData.extensions ?? {},
|
|
63
|
-
];
|
|
64
|
-
}
|
|
33
|
+
// TODO: we need a btter strategy to make this work with vscode code-server
|
|
34
|
+
// especially when handling static content such as config.json and version.json
|
|
35
|
+
// we need to balance out what we output in the HTML file, what we call in the app
|
|
36
|
+
// to fetch these files, as well as how we develop locally
|
|
37
|
+
// e.g. use something like `${window.location.href.split('/repl/')[0]}/repl/`
|
|
65
38
|
async configureApplication(input) {
|
|
66
39
|
return new LegendREPLGridClientApplicationConfig(input);
|
|
67
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendREPLGridClient.js","sourceRoot":"","sources":["../../src/application/LegendREPLGridClient.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAGL,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,
|
|
1
|
+
{"version":3,"file":"LegendREPLGridClient.js","sourceRoot":"","sources":["../../src/application/LegendREPLGridClient.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAGL,iBAAiB,EACjB,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qCAAqC,GAEtC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,kCAAkC,EAAE,MAAM,kDAAkD,CAAC;AACtG,OAAO,EAAE,0CAA0C,EAAE,MAAM,6DAA6D,CAAC;AAGzH,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IAIzD,MAAM,CAAC,MAAM;QACX,MAAM,WAAW,GAAG,IAAI,oBAAoB,CAC1C,iCAAiC,CAAC,MAAM,EAAE,CAC3C,CAAC;QACF,WAAW,CAAC,eAAe,CAAC;YAC1B,IAAI,4BAA4B,EAAE;YAClC,IAAI,0CAA0C,EAAE;SACjD,CAAC,CAAC;QACH,WAAW,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAChC,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,2EAA2E;IAC3E,+EAA+E;IAC/E,kFAAkF;IAClF,0DAA0D;IAC1D,6EAA6E;IAE7E,KAAK,CAAC,oBAAoB,CACxB,KAAqF;QAErF,OAAO,IAAI,qCAAqC,CAAC,KAAK,CAAC,CAAC;IAC1D,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,gBAAsD;QAEtD,UAAU,CAAC,yBAAyB,EAAE,CAAC,CAAC,MAAM,CAC5C,KAAC,wBAAwB,IAAC,KAAK,EAAE,gBAAgB,YAC/C,KAAC,kCAAkC,IAAC,OAAO,EAAE,IAAI,CAAC,WAAW,GAAI,GACxC,CAC5B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
import { type AgGridReactProps } from '@ag-grid-community/react';
|
|
18
|
+
export declare function AgGridComponent<TData = unknown>(props: AgGridReactProps<TData> & {
|
|
18
19
|
licenseKey: string;
|
|
19
20
|
}): JSX.Element;
|
|
20
21
|
export declare const configureAgGridComponent: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgGrid.d.ts","sourceRoot":"","sources":["../../src/components/AgGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"AgGrid.d.ts","sourceRoot":"","sources":["../../src/components/AgGrid.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAiB9E,wBAAgB,eAAe,CAAC,KAAK,GAAG,OAAO,EAC7C,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB,GACA,GAAG,CAAC,OAAO,CAiBb;AAED,eAAO,MAAM,wBAAwB,QAAO,IAE3C,CAAC"}
|
package/lib/components/AgGrid.js
CHANGED
|
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { AgGridReact
|
|
17
|
+
import { AgGridReact } from '@ag-grid-community/react';
|
|
18
18
|
import { ClientSideRowModelModule } from '@ag-grid-community/client-side-row-model';
|
|
19
19
|
import { ModuleRegistry } from '@ag-grid-community/core';
|
|
20
20
|
import { ServerSideRowModelModule } from '@ag-grid-enterprise/server-side-row-model';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgGrid.js","sourceRoot":"","sources":["../../src/components/AgGrid.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"AgGrid.js","sourceRoot":"","sources":["../../src/components/AgGrid.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAyB,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,gBAAgB,GAAG,CAAC,wBAAwB,CAAC,CAAC;AACpD,MAAM,iBAAiB,GAAG;IACxB,wBAAwB;IACxB,iBAAiB;IACjB,UAAU;CACX,CAAC;AACF,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAE9D,MAAM,UAAU,eAAe,CAC7B,KAEC;IAED,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;QACrB,cAAc,CAAC,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,CACL,KAAC,WAAW,IACV,iBAAiB,EAAE,QAAQ,EAC3B,6BAA6B,EAAE,IAAI,EACnC,uBAAuB,EAAE,IAAI,EAC7B,eAAe,EAAE,IAAI,EACrB,YAAY,EAAE,YAAY,KACtB,KAAK,EACT,aAAa,EAAE,0BAA0B,EAAE,EAC3C,OAAO,EAAE,UAAU,GACnB,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAS,EAAE;IACjD,cAAc,CAAC,eAAe,CAAC,CAAC,wBAAwB,EAAE,iBAAiB,CAAC,CAAC,CAAC;AAChF,CAAC,CAAC"}
|
|
@@ -14,9 +14,16 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
export declare enum LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN {
|
|
18
|
+
QUERY_ID = "queryId"
|
|
19
|
+
}
|
|
17
20
|
export declare const LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN: Readonly<{
|
|
18
21
|
GRID: "/grid";
|
|
22
|
+
SAVED_QUERY: "/query/:queryId";
|
|
19
23
|
}>;
|
|
24
|
+
export type REPLQueryEditorPathParams = {
|
|
25
|
+
[LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN.QUERY_ID]: string;
|
|
26
|
+
};
|
|
20
27
|
export declare const LegendREPLGridClientRouter: import("react").FC<{}>;
|
|
21
28
|
export declare const LegendREPLGridClientWebApplication: React.FC<{
|
|
22
29
|
baseUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendREPLGridClientApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendREPLGridClientApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAaH,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"LegendREPLGridClientApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendREPLGridClientApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAaH,oBAAY,qCAAqC;IAC/C,QAAQ,YAAY;CACrB;AAED,eAAO,MAAM,qCAAqC;;;EAGhD,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG;IACtC,CAAC,qCAAqC,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,0BAA0B,wBAuBtC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxD,OAAO,EAAE,MAAM,CAAC;CACjB,CAUA,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
4
|
*
|
|
@@ -15,16 +15,23 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { BrowserEnvironmentProvider, Route, Switch, } from '@finos/legend-application/browser';
|
|
18
|
-
import { Editor } from './REPLGridClient.js';
|
|
18
|
+
import { Editor, REPLQueryEditor } from './REPLGridClient.js';
|
|
19
19
|
import { LegendREPLGridClientFrameworkProvider } from './LegendREPLGridClientFrameworkProvider.js';
|
|
20
20
|
import { observer } from 'mobx-react-lite';
|
|
21
21
|
import { withEditorStore } from './REPLGridClientStoreProvider.js';
|
|
22
|
+
export var LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN;
|
|
23
|
+
(function (LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN) {
|
|
24
|
+
LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN["QUERY_ID"] = "queryId";
|
|
25
|
+
})(LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN || (LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN = {}));
|
|
22
26
|
export const LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN = Object.freeze({
|
|
23
27
|
GRID: `/grid`,
|
|
28
|
+
SAVED_QUERY: `/query/:${LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN.QUERY_ID}`,
|
|
24
29
|
});
|
|
25
|
-
export const LegendREPLGridClientRouter = withEditorStore(observer(() => (_jsx("div", { className: "app", children:
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
export const LegendREPLGridClientRouter = withEditorStore(observer(() => (_jsx("div", { className: "app", children: _jsxs(Switch, { children: [_jsx(Route, { exact: true, path: [LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN.GRID], component:
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
32
|
+
Editor }), _jsx(Route, { exact: true, path: [LEGEND_REPL_GRID_CLIENT_ROUTE_PATTERN.SAVED_QUERY], component:
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
34
|
+
REPLQueryEditor })] }) }))));
|
|
28
35
|
export const LegendREPLGridClientWebApplication = (props) => {
|
|
29
36
|
const { baseUrl } = props;
|
|
30
37
|
return (_jsx(BrowserEnvironmentProvider, { baseUrl: baseUrl, children: _jsx(LegendREPLGridClientFrameworkProvider, { children: _jsx(LegendREPLGridClientRouter, {}) }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendREPLGridClientApplication.js","sourceRoot":"","sources":["../../src/components/LegendREPLGridClientApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,MAAM,GAEP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"LegendREPLGridClientApplication.js","sourceRoot":"","sources":["../../src/components/LegendREPLGridClientApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,MAAM,GAEP,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,qCAAqC,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,MAAM,CAAN,IAAY,qCAEX;AAFD,WAAY,qCAAqC;IAC/C,6DAAoB,CAAA;AACtB,CAAC,EAFW,qCAAqC,KAArC,qCAAqC,QAEhD;AAED,MAAM,CAAC,MAAM,qCAAqC,GAAG,MAAM,CAAC,MAAM,CAAC;IACjE,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,WAAW,qCAAqC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,0BAA0B,GAAG,eAAe,CACvD,QAAQ,CAAC,GAAG,EAAE,CAAC,CACb,cAAK,SAAS,EAAC,KAAK,YAClB,MAAC,MAAM,eACL,KAAC,KAAK,IACJ,KAAK,EAAE,IAAI,EACX,IAAI,EAAE,CAAC,qCAAqC,CAAC,IAAI,CAAC,EAClD,SAAS;gBACP,mEAAmE;gBACnE,MAA6C,GAE/C,EACF,KAAC,KAAK,IACJ,KAAK,EAAE,IAAI,EACX,IAAI,EAAE,CAAC,qCAAqC,CAAC,WAAW,CAAC,EACzD,SAAS;gBACP,mEAAmE;gBACnE,eAAsD,GAExD,IACK,GACL,CACP,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAE1C,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,OAAO,CACL,KAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,YAC1C,KAAC,qCAAqC,cACpC,KAAC,0BAA0B,KAAG,GACQ,GACb,CAC9B,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,6 +13,15 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
export declare const GenericEditor: ((props: {
|
|
17
|
+
queryId?: string | undefined;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const Editor: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const REPLQueryEditor: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
18
27
|
//# sourceMappingURL=REPLGridClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"REPLGridClient.d.ts","sourceRoot":"","sources":["../../src/components/REPLGridClient.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"REPLGridClient.d.ts","sourceRoot":"","sources":["../../src/components/REPLGridClient.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyZH,eAAO,MAAM,aAAa,WAChB;IAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE;;CA+HzC,CAAC;AAEF,eAAO,MAAM,MAAM;;CAAoC,CAAC;AAExD,eAAO,MAAM,eAAe;;CAI1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
4
|
*
|
|
@@ -15,19 +15,99 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { useREPLGridClientStore
|
|
19
|
-
import {
|
|
20
|
-
import { useEffect } from 'react';
|
|
18
|
+
import { useREPLGridClientStore } from './REPLGridClientStoreProvider.js';
|
|
19
|
+
import { useEffect, useRef } from 'react';
|
|
21
20
|
import { flowResult } from 'mobx';
|
|
22
|
-
import { getTDSRowData } from '../components/grid/GridUtils.js';
|
|
23
|
-
import { ServerSideDataSource } from '../components/grid/ServerSideDataSource.js';
|
|
24
21
|
import { LEGEND_APPLICATION_COLOR_THEME } from '@finos/legend-application';
|
|
25
|
-
import {
|
|
26
|
-
import { CheckSquareIcon, PanelLoadingIndicator, PlayIcon, SquareIcon, clsx, } from '@finos/legend-art';
|
|
22
|
+
import { BasePopover, CheckSquareIcon, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, ModalHeaderActions, ModalTitle, PlusIcon, SearchIcon, SquareIcon, TimesIcon, clsx, ChevronLeftIcon, ChevronRightIcon, CustomSelectorInput, } from '@finos/legend-art';
|
|
27
23
|
import { LEGEND_APPLICATION_REPL_SETTING_KEY } from '../Const.js';
|
|
28
|
-
import {
|
|
29
|
-
|
|
24
|
+
import { useParams } from '@finos/legend-application/browser';
|
|
25
|
+
import { LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN, } from './LegendREPLGridClientApplication.js';
|
|
26
|
+
import { DataCubeQueryTextEditor } from './dataCube/DataCubeQueryTextEditor.js';
|
|
27
|
+
import { DataCubeGridEditor } from './dataCube/DataCubeGridEditor.js';
|
|
28
|
+
import { PIVOT_PANEL_TABS } from '../stores/dataCube/DataCubePropertiesPanelState.js';
|
|
29
|
+
import { TDS_SORT_ORDER } from './grid/TDSRequest.js';
|
|
30
|
+
const HPivotAndSortEditor = observer((props) => {
|
|
31
|
+
const { editorStore } = props;
|
|
32
|
+
const hPivotAndSortColumnState = editorStore.dataCubeState.propertiesPanelState.hpivotAndSortPanelState;
|
|
33
|
+
const onAvailabeSortColumnsSearchTextChange = (event) => {
|
|
34
|
+
hPivotAndSortColumnState.setAvailableSortColumnsSearchText(event.target.value);
|
|
35
|
+
};
|
|
36
|
+
const onSelectedSortColumnsSearchTextChange = (event) => {
|
|
37
|
+
hPivotAndSortColumnState.setSelectedSortColumnsSearchText(event.target.value);
|
|
38
|
+
};
|
|
39
|
+
const clearAvailableSortColumnsSearchText = () => {
|
|
40
|
+
hPivotAndSortColumnState.setAvailableSortColumnsSearchText('');
|
|
41
|
+
};
|
|
42
|
+
const clearSelectedSortColumnsSearchText = () => {
|
|
43
|
+
hPivotAndSortColumnState.setSelectedSortColumnsSearchText('');
|
|
44
|
+
};
|
|
45
|
+
const sortOptions = Array.from(Object.values(TDS_SORT_ORDER)).map((val) => ({
|
|
46
|
+
label: val,
|
|
47
|
+
value: val,
|
|
48
|
+
}));
|
|
49
|
+
const onAvailableColumnsSortOptionsChanged = (columnName) => function AvailableColumnSortOption(option) {
|
|
50
|
+
const column = hPivotAndSortColumnState.availableSortColumns.find((col) => col.column === columnName);
|
|
51
|
+
if (column) {
|
|
52
|
+
column.setOrder(option.value);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
const onSelectedColumnsSortOptionsChanged = (columnName) => function SelectedColumnSortOption(option) {
|
|
56
|
+
const column = hPivotAndSortColumnState.selectedSortColumns.find((col) => col.column === columnName);
|
|
57
|
+
if (column) {
|
|
58
|
+
column.setOrder(option.value);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
return (_jsx("div", { className: "repl__hpivot__sort__editor", children: _jsxs("div", { className: "repl__hpivot__sort__column__editor", children: [_jsx("div", { className: "repl__hpivot__sort__column__editor__header", children: "Sorts" }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__content", children: [_jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns", children: [_jsx("div", { className: "repl__hpivot__sort__column__editor__description", children: "Available sort columns:" }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__container", children: [_jsx("div", { className: "query-builder-property-search-panel__header", children: _jsxs("div", { className: "query-builder-property-search-panel__input__container", children: [_jsx("input", { className: clsx('query-builder-property-search-panel__input', {
|
|
62
|
+
'query-builder-property-search-panel__input--searching': hPivotAndSortColumnState.availableSortColumnsSearchText,
|
|
63
|
+
}), spellCheck: false, onChange: onAvailabeSortColumnsSearchTextChange, value: hPivotAndSortColumnState.availableSortColumnsSearchText, placeholder: "Search" }), !hPivotAndSortColumnState.availableSortColumnsSearchText ? (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsx(SearchIcon, {}) }) })) : (_jsx("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearAvailableSortColumnsSearchText, title: "Clear", children: _jsx(TimesIcon, {}) }))] }) }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns__content", children: [_jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns__root", onDoubleClick: () => hPivotAndSortColumnState.addAllAvailableSortColumns(), children: [_jsx(PlusIcon, {}), _jsx("div", { className: "repl__hpivot__sort__column__editor__available__columns__root__label", children: "All" })] }), hPivotAndSortColumnState.availableSortColumnsSearchResults.map((col) => (_jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns__children", children: [_jsx("div", { className: "repl__hpivot__sort__column__editor__available__columns__children__name", onDoubleClick: () => hPivotAndSortColumnState.addAvailableSortColumn(col.column), children: col.column }), _jsx(CustomSelectorInput, { className: "repl__hpivot__sort__column__editor__available__columns__children__order", options: sortOptions, onChange: onAvailableColumnsSortOptionsChanged(col.column), value: { label: col.order, value: col.order }, isClearable: false, darkMode: !editorStore.applicationStore.layoutService
|
|
64
|
+
.TEMPORARY__isLightColorThemeEnabled })] }, col.column)))] })] })] }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__actions", children: [_jsx("div", { className: "repl__hpivot__sort__column__editor__action", children: _jsxs("button", { tabIndex: -1,
|
|
65
|
+
// onClick={clearSearch}
|
|
66
|
+
title: "Add", children: ["Add", _jsx(ChevronRightIcon, {})] }) }), _jsx("div", { className: "repl__hpivot__sort__column__editor__action", children: _jsxs("button", { tabIndex: -1,
|
|
67
|
+
// onClick={clearSearch}
|
|
68
|
+
title: "Remove", children: [_jsx(ChevronLeftIcon, {}), "Remove"] }) })] }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__selected__columns", children: [_jsx("div", { className: "repl__hpivot__sort__column__editor__description", children: "Selected sort columns:" }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__container", children: [_jsx("div", { className: "query-builder-property-search-panel__header", children: _jsxs("div", { className: "query-builder-property-search-panel__input__container", children: [_jsx("input", { className: clsx('query-builder-property-search-panel__input', {
|
|
69
|
+
'query-builder-property-search-panel__input--searching': hPivotAndSortColumnState.selectedSortColumnsSearchText,
|
|
70
|
+
}), spellCheck: false, onChange: onSelectedSortColumnsSearchTextChange, value: hPivotAndSortColumnState.selectedSortColumnsSearchText, placeholder: "Search" }), !hPivotAndSortColumnState.selectedSortColumnsSearchText ? (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsx(SearchIcon, {}) }) })) : (_jsx("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearSelectedSortColumnsSearchText, title: "Clear", children: _jsx(TimesIcon, {}) }))] }) }), _jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns__content", children: [_jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns__root", onDoubleClick: () => hPivotAndSortColumnState.addAllSelectedSortColumns(), children: [_jsx(PlusIcon, {}), _jsx("div", { className: "repl__hpivot__sort__column__editor__available__columns__root__label", children: "All" })] }), hPivotAndSortColumnState.selectedSortColumnsSearchResults.map((col) => (_jsxs("div", { className: "repl__hpivot__sort__column__editor__available__columns__children", children: [_jsx("div", { className: "repl__hpivot__sort__column__editor__available__columns__children__name", onDoubleClick: () => hPivotAndSortColumnState.addSelectedSortColumn(col.column), children: col.column }), _jsx(CustomSelectorInput, { className: "repl__hpivot__sort__column__editor__available__columns__children__order", options: sortOptions, onChange: onSelectedColumnsSortOptionsChanged(col.column), value: { label: col.order, value: col.order }, isClearable: false, darkMode: !editorStore.applicationStore.layoutService
|
|
71
|
+
.TEMPORARY__isLightColorThemeEnabled })] }, col.column)))] })] })] })] })] }) }));
|
|
72
|
+
});
|
|
73
|
+
const PivotPanelEditor = observer((props) => {
|
|
74
|
+
const { triggerElement, editorStore } = props;
|
|
75
|
+
const dataCubeState = editorStore.dataCubeState;
|
|
76
|
+
const applicationStore = editorStore.applicationStore;
|
|
77
|
+
const closeEditor = () => {
|
|
78
|
+
dataCubeState.configState.closePanel();
|
|
79
|
+
};
|
|
80
|
+
const selectedTab = dataCubeState.propertiesPanelState.selectedPivotPanelTab;
|
|
81
|
+
const tabOptions = [
|
|
82
|
+
PIVOT_PANEL_TABS.COLUMNS_AND_PIVOTS,
|
|
83
|
+
PIVOT_PANEL_TABS.HPIVOTS_AND_SORTS,
|
|
84
|
+
PIVOT_PANEL_TABS.GENERAL_PROPERTIES,
|
|
85
|
+
PIVOT_PANEL_TABS.COLUMN_PROPERTIES,
|
|
86
|
+
PIVOT_PANEL_TABS.DEVELOPER_OPTIONS,
|
|
87
|
+
PIVOT_PANEL_TABS.PIVOT_LAYOUT,
|
|
88
|
+
];
|
|
89
|
+
const setSelectedTab = (tab) => {
|
|
90
|
+
dataCubeState.propertiesPanelState.setSelectedPivotPanelTab(tab);
|
|
91
|
+
};
|
|
92
|
+
const onClickOk = () => {
|
|
93
|
+
dataCubeState.propertiesPanelState.applyChanges();
|
|
94
|
+
dataCubeState.configState.closePanel();
|
|
95
|
+
};
|
|
96
|
+
return (_jsx(BasePopover, { open: dataCubeState.configState.isPivotPanelOpened, onClose: closeEditor, anchorEl: triggerElement, anchorOrigin: {
|
|
97
|
+
vertical: 'center',
|
|
98
|
+
horizontal: 'center',
|
|
99
|
+
}, transformOrigin: {
|
|
100
|
+
vertical: 'center',
|
|
101
|
+
horizontal: 'center',
|
|
102
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal embedded-runtime-editor", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: "cube properties" }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: closeEditor, children: _jsx(TimesIcon, {}) }) })] }), _jsx(ModalBody, { children: _jsxs("div", { style: { height: '100%', width: '100%' }, children: [_jsx("div", { className: "panel__header uml-element-editor__tabs__header ", children: _jsx("div", { className: "uml-element-editor__tabs", children: tabOptions.map((tab) => (_jsx("div", { onClick: () => setSelectedTab(tab), className: clsx('uml-element-editor__tab', {
|
|
103
|
+
'uml-element-editor__tab--active': tab === selectedTab,
|
|
104
|
+
}), children: tab }, tab))) }) }), selectedTab === PIVOT_PANEL_TABS.HPIVOTS_AND_SORTS && (_jsx(HPivotAndSortEditor, { editorStore: editorStore }))] }) }), _jsx(ModalFooter, { className: "repl__modal__footer", children: _jsxs("div", { className: "search-modal__actions", children: [_jsx(ModalFooterButton, { text: "Ok", onClick: onClickOk }), _jsx(ModalFooterButton, { text: "Close", onClick: closeEditor }), _jsx(ModalFooterButton, { text: "Apply", onClick: () => dataCubeState.propertiesPanelState.applyChanges() })] }) })] }) }));
|
|
105
|
+
});
|
|
106
|
+
export const GenericEditor = observer((props) => {
|
|
107
|
+
const { queryId } = props;
|
|
30
108
|
const editorStore = useREPLGridClientStore();
|
|
109
|
+
const dataCubeState = editorStore.dataCubeState;
|
|
110
|
+
const pivotPanelButtonRef = useRef(null);
|
|
31
111
|
const selectDarkTheme = () => {
|
|
32
112
|
editorStore.applicationStore.layoutService.setColorTheme(LEGEND_APPLICATION_COLOR_THEME.DEFAULT_DARK, { persist: true });
|
|
33
113
|
};
|
|
@@ -36,31 +116,28 @@ export const Editor = withEditorStore(observer(() => {
|
|
|
36
116
|
};
|
|
37
117
|
const isLightTheme = editorStore.applicationStore.layoutService
|
|
38
118
|
.TEMPORARY__isLightColorThemeEnabled;
|
|
39
|
-
const
|
|
40
|
-
flowResult(
|
|
119
|
+
const saveQuery = () => {
|
|
120
|
+
flowResult(dataCubeState.saveQuery()).catch(editorStore.applicationStore.alertUnhandledError);
|
|
41
121
|
};
|
|
42
122
|
const togglePagination = () => {
|
|
43
|
-
|
|
44
|
-
editorStore.applicationStore.settingService.persistValue(LEGEND_APPLICATION_REPL_SETTING_KEY.PAGINATION,
|
|
123
|
+
dataCubeState.configState.setIsPaginationEnabled(!dataCubeState.configState.isPaginationEnabled);
|
|
124
|
+
editorStore.applicationStore.settingService.persistValue(LEGEND_APPLICATION_REPL_SETTING_KEY.PAGINATION, dataCubeState.configState.isPaginationEnabled);
|
|
45
125
|
};
|
|
46
126
|
useEffect(() => {
|
|
47
|
-
flowResult(
|
|
48
|
-
}, [editorStore]);
|
|
49
|
-
return (_jsxs("div", { className: "repl", children: [_jsx("div", { className: "repl__header", children: _jsxs("div", { className: "repl__header__content", children: [_jsx("div", { className: "repl__header__content__title", children: "
|
|
50
|
-
'repl__header__action__pagination__toggler__btn--toggled':
|
|
51
|
-
}), onClick: togglePagination, tabIndex: -1, children:
|
|
127
|
+
flowResult(dataCubeState.getInitialREPLGridServerResult(queryId)).catch(editorStore.applicationStore.alertUnhandledError);
|
|
128
|
+
}, [dataCubeState, editorStore, queryId]);
|
|
129
|
+
return (_jsxs("div", { className: "repl", children: [_jsx("div", { className: "repl__header", children: _jsxs("div", { className: "repl__header__content", children: [_jsx("div", { className: "repl__header__content__title", children: "Legend DataCube" }), _jsxs("div", { className: "repl__header__actions", children: [_jsx("div", { className: "repl__header__action__pagination", onClick: () => saveQuery(), children: _jsx("div", { className: "repl__header__action__pagination__label", children: "Save Query" }) }), _jsxs("div", { className: "repl__header__action__pagination", children: [_jsx("button", { className: clsx('repl__header__action__pagination__toggler__btn', {
|
|
130
|
+
'repl__header__action__pagination__toggler__btn--toggled': dataCubeState.configState.isPaginationEnabled,
|
|
131
|
+
}), onClick: togglePagination, tabIndex: -1, children: dataCubeState.configState.isPaginationEnabled ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "repl__header__action__pagination__label", children: "Pagination" })] }), _jsx("button", { className: isLightTheme
|
|
52
132
|
? 'repl__header__action'
|
|
53
133
|
: 'repl__header__action repl__header__action--toggled', onClick: selectDarkTheme, children: "Dark" }), _jsx("button", { className: isLightTheme
|
|
54
134
|
? 'repl__header__action repl__header__action--toggled'
|
|
55
|
-
: 'repl__header__action', onClick: selectLightTheme, children: "Light" })] })] }) }), _jsxs("div", { className: "repl__content", children: [
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
: {}, licenseKey: editorStore.replGridState.licenseKey ?? '', rowData: editorStore.replGridState.rowData, columnDefs: editorStore.replGridState.columnDefs, suppressServerSideInfiniteScroll: !editorStore.replGridState.isPaginationEnabled }))] })] }));
|
|
65
|
-
}));
|
|
135
|
+
: 'repl__header__action', onClick: selectLightTheme, children: "Light" })] })] }) }), _jsxs("div", { className: "repl__content", children: [_jsx(DataCubeQueryTextEditor, { editorStore: editorStore }), _jsx(DataCubeGridEditor, { editorStore: editorStore })] }), _jsxs("div", { className: "repl__footer", children: [_jsx("div", { className: "repl__footer__pivot", ref: pivotPanelButtonRef, onClick: () => dataCubeState.configState.openPanel(), children: "Pivot" }), _jsx("div", { className: "repl__footer__filter", children: "Filter" }), _jsx("div", { className: "repl__footer__mode", children: "Modes" }), dataCubeState.configState.isPivotPanelOpened && (_jsx(PivotPanelEditor, { editorStore: editorStore, triggerElement: pivotPanelButtonRef.current }))] })] }));
|
|
136
|
+
});
|
|
137
|
+
export const Editor = observer(() => _jsx(GenericEditor, {}));
|
|
138
|
+
export const REPLQueryEditor = observer(() => {
|
|
139
|
+
const params = useParams();
|
|
140
|
+
const queryId = params[LEGEND_REPL_GRID_CLIENT_PATTERN_TOKEN.QUERY_ID];
|
|
141
|
+
return _jsx(GenericEditor, { queryId: queryId });
|
|
142
|
+
});
|
|
66
143
|
//# sourceMappingURL=REPLGridClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"REPLGridClient.js","sourceRoot":"","sources":["../../src/components/REPLGridClient.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,eAAe,GAChB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF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AC,CAAC,sBAAsB,EAE5B,WAAW,EACT,WAAW,CAAC,aAAa,CAAC,aAAa;4BACrC,CAAC,CAAC;gCACE,oBAAoB,EAAE,IAAI,oBAAoB,CAC5C,aAAa,CACX,WAAW,CAAC,aAAa,CAAC,aAAa,CAAC,MAAM,CAC/C,EACD,WAAW,CAAC,aAAa,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EACvD,WAAW,CACZ;6BACF;4BACH,CAAC,CAAC,EAAE,EAER,UAAU,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,IAAI,EAAE,EACtD,OAAO,EAAE,WAAW,CAAC,aAAa,CAAC,OAAO,EAC1C,UAAU,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,EAChD,gCAAgC,EAC9B,CAAC,WAAW,CAAC,aAAa,CAAC,mBAAmB,GAEhD,CACH,IACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"REPLGridClient.js","sourceRoot":"","sources":["../../src/components/REPLGridClient.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EACL,WAAW,EACX,eAAe,EACf,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,QAAQ,EACR,UAAU,EACV,UAAU,EACV,SAAS,EACT,IAAI,EACJ,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mCAAmC,EAAE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AAS,EAA6B,CAAC;IACtD,MAAM,OAAO,GAAG,MAAM,CAAC,qCAAqC,CAAC,QAAQ,CAAC,CAAC;IACvE,OAAO,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC;AAC7C,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 type { REPLGridClientStore } from '../../stores/REPLGridClientStore.js';
|
|
17
|
+
export declare const DataCubeGridEditor: ((props: {
|
|
18
|
+
editorStore: REPLGridClientStore;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=DataCubeGridEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataCubeGridEditor.d.ts","sourceRoot":"","sources":["../../../src/components/dataCube/DataCubeGridEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,eAAO,MAAM,kBAAkB,WACrB;IAAE,WAAW,EAAE,mBAAmB,CAAA;CAAE;;CA4C7C,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { AgGridComponent } from '../AgGrid.js';
|
|
19
|
+
import { getTDSRowData } from '../../components/grid/GridUtils.js';
|
|
20
|
+
import { ServerSideDataSource } from '../../components/grid/ServerSideDataSource.js';
|
|
21
|
+
import { PanelLoadingIndicator } from '@finos/legend-art';
|
|
22
|
+
export const DataCubeGridEditor = observer((props) => {
|
|
23
|
+
const { editorStore } = props;
|
|
24
|
+
const dataCubeState = editorStore.dataCubeState;
|
|
25
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "repl__query__label", children: "Result" }), _jsx(PanelLoadingIndicator, { isLoading: dataCubeState.executeAction.isInProgress }), dataCubeState.executeAction.hasCompleted && (_jsx(AgGridComponent, { onGridReady: (params) => {
|
|
26
|
+
dataCubeState.configState.setGridApi(params.api);
|
|
27
|
+
}, className: editorStore.applicationStore.layoutService
|
|
28
|
+
.TEMPORARY__isLightColorThemeEnabled
|
|
29
|
+
? 'ag-theme-balham'
|
|
30
|
+
: 'ag-theme-balham-dark', gridOptions: dataCubeState.gridState.initialResult
|
|
31
|
+
? {
|
|
32
|
+
serverSideDatasource: new ServerSideDataSource(getTDSRowData(dataCubeState.gridState.initialResult.result), dataCubeState.gridState.initialResult.builder.columns, editorStore),
|
|
33
|
+
suppressServerSideInfiniteScroll: !dataCubeState.configState.isPaginationEnabled,
|
|
34
|
+
}
|
|
35
|
+
: {}, licenseKey: dataCubeState.configState.licenseKey ?? '', rowData: dataCubeState.gridState.rowData, columnDefs: dataCubeState.gridState.columnDefs }))] }));
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=DataCubeGridEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataCubeGridEditor.js","sourceRoot":"","sources":["../../../src/components/dataCube/DataCubeGridEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,QAAQ,CACxC,CAAC,KAA2C,EAAE,EAAE;IAC9C,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;IAEhD,OAAO,CACL,8BACE,cAAK,SAAS,EAAC,oBAAoB,uBAAa,EAChD,KAAC,qBAAqB,IACpB,SAAS,EAAE,aAAa,CAAC,aAAa,CAAC,YAAY,GACnD,EACD,aAAa,CAAC,aAAa,CAAC,YAAY,IAAI,CAC3C,KAAC,eAAe,IACd,WAAW,EAAE,CAAC,MAAM,EAAQ,EAAE;oBAC5B,aAAa,CAAC,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;gBACnD,CAAC,EACD,SAAS,EACP,WAAW,CAAC,gBAAgB,CAAC,aAAa;qBACvC,mCAAmC;oBACpC,CAAC,CAAC,iBAAiB;oBACnB,CAAC,CAAC,sBAAsB,EAE5B,WAAW,EACT,aAAa,CAAC,SAAS,CAAC,aAAa;oBACnC,CAAC,CAAC;wBACE,oBAAoB,EAAE,IAAI,oBAAoB,CAC5C,aAAa,CACX,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAC7C,EACD,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EACrD,WAAW,CACZ;wBACD,gCAAgC,EAC9B,CAAC,aAAa,CAAC,WAAW,CAAC,mBAAmB;qBACjD;oBACH,CAAC,CAAC,EAAE,EAER,UAAU,EAAE,aAAa,CAAC,WAAW,CAAC,UAAU,IAAI,EAAE,EACtD,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,EACxC,UAAU,EAAE,aAAa,CAAC,SAAS,CAAC,UAAU,GAC9C,CACH,IACA,CACJ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 type { REPLGridClientStore } from '../../stores/REPLGridClientStore.js';
|
|
17
|
+
export declare const DataCubeQueryTextEditor: ((props: {
|
|
18
|
+
editorStore: REPLGridClientStore;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=DataCubeQueryTextEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataCubeQueryTextEditor.d.ts","sourceRoot":"","sources":["../../../src/components/dataCube/DataCubeQueryTextEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyBH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AA0H/E,eAAO,MAAM,uBAAuB,WAC1B;IAAE,WAAW,EAAE,mBAAmB,CAAA;CAAE;;CAuE7C,CAAC"}
|