@finos/legend-application-repl 0.0.60 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/LegendREPL.d.ts +3 -4
- package/lib/application/LegendREPL.d.ts.map +1 -1
- package/lib/application/LegendREPL.js +3 -9
- package/lib/application/LegendREPL.js.map +1 -1
- package/lib/{__lib__/LegendREPLEvent.d.ts → application/LegendREPLApplicationStore.d.ts} +4 -5
- package/lib/application/LegendREPLApplicationStore.d.ts.map +1 -0
- package/lib/{stores/dataCube/editor/DataCubeEditorPanelState.js → application/LegendREPLApplicationStore.js} +1 -1
- package/lib/application/LegendREPLApplicationStore.js.map +1 -0
- package/lib/components/LegendREPLApplication.d.ts +5 -3
- package/lib/components/LegendREPLApplication.d.ts.map +1 -1
- package/lib/components/LegendREPLApplication.js +22 -8
- package/lib/components/LegendREPLApplication.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -27
- package/lib/stores/LegendREPLDataCubeApplicationEngine.d.ts +38 -0
- package/lib/stores/LegendREPLDataCubeApplicationEngine.d.ts.map +1 -0
- package/lib/stores/LegendREPLDataCubeApplicationEngine.js +71 -0
- package/lib/stores/LegendREPLDataCubeApplicationEngine.js.map +1 -0
- package/lib/stores/LegendREPLDataCubeEngine.d.ts +34 -0
- package/lib/stores/LegendREPLDataCubeEngine.d.ts.map +1 -0
- package/lib/stores/LegendREPLDataCubeEngine.js +76 -0
- package/lib/stores/LegendREPLDataCubeEngine.js.map +1 -0
- package/lib/{server/REPLServerClient.d.ts → stores/LegendREPLServerClient.d.ts} +33 -4
- package/lib/stores/LegendREPLServerClient.d.ts.map +1 -0
- package/lib/{server/REPLServerClient.js → stores/LegendREPLServerClient.js} +2 -2
- package/lib/stores/LegendREPLServerClient.js.map +1 -0
- package/package.json +11 -32
- package/src/application/LegendREPL.tsx +7 -11
- package/src/{__lib__/LegendREPLEvent.ts → application/LegendREPLApplicationStore.ts} +11 -4
- package/src/components/LegendREPLApplication.tsx +60 -26
- package/src/index.tsx +1 -2
- package/src/stores/LegendREPLDataCubeApplicationEngine.ts +109 -0
- package/src/stores/LegendREPLDataCubeEngine.ts +130 -0
- package/src/{server/REPLServerClient.ts → stores/LegendREPLServerClient.ts} +38 -10
- package/tsconfig.json +5 -110
- package/lib/__lib__/LegendREPLEvent.d.ts.map +0 -1
- package/lib/__lib__/LegendREPLEvent.js +0 -21
- package/lib/__lib__/LegendREPLEvent.js.map +0 -1
- package/lib/__lib__/LegendREPLSetting.d.ts +0 -19
- package/lib/__lib__/LegendREPLSetting.d.ts.map +0 -1
- package/lib/__lib__/LegendREPLSetting.js +0 -20
- package/lib/__lib__/LegendREPLSetting.js.map +0 -1
- package/lib/application/LegendREPLDocumentation.d.ts +0 -22
- package/lib/application/LegendREPLDocumentation.d.ts.map +0 -1
- package/lib/application/LegendREPLDocumentation.js +0 -23
- package/lib/application/LegendREPLDocumentation.js.map +0 -1
- package/lib/application/LegendREPLPluginManager.d.ts +0 -32
- package/lib/application/LegendREPLPluginManager.d.ts.map +0 -1
- package/lib/application/LegendREPLPluginManager.js +0 -46
- package/lib/application/LegendREPLPluginManager.js.map +0 -1
- package/lib/components/Core_LegendREPLApplicationPlugin.d.ts +0 -23
- package/lib/components/Core_LegendREPLApplicationPlugin.d.ts.map +0 -1
- package/lib/components/Core_LegendREPLApplicationPlugin.js +0 -33
- package/lib/components/Core_LegendREPLApplicationPlugin.js.map +0 -1
- package/lib/components/LegendREPLFrameworkProvider.d.ts +0 -22
- package/lib/components/LegendREPLFrameworkProvider.d.ts.map +0 -1
- package/lib/components/LegendREPLFrameworkProvider.js +0 -29
- package/lib/components/LegendREPLFrameworkProvider.js.map +0 -1
- package/lib/components/REPLStoreProvider.d.ts +0 -24
- package/lib/components/REPLStoreProvider.d.ts.map +0 -1
- package/lib/components/REPLStoreProvider.js +0 -38
- package/lib/components/REPLStoreProvider.js.map +0 -1
- package/lib/components/dataCube/DataCube.d.ts +0 -19
- package/lib/components/dataCube/DataCube.d.ts.map +0 -1
- package/lib/components/dataCube/DataCube.js +0 -68
- package/lib/components/dataCube/DataCube.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditor.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditor.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditor.js +0 -50
- package/lib/components/dataCube/editor/DataCubeEditor.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.js +0 -273
- package/lib/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorColumnsPanel.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditorColumnsPanel.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorColumnsPanel.js +0 -35
- package/lib/components/dataCube/editor/DataCubeEditorColumnsPanel.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorColumnsSelector.d.ts +0 -32
- package/lib/components/dataCube/editor/DataCubeEditorColumnsSelector.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorColumnsSelector.js +0 -307
- package/lib/components/dataCube/editor/DataCubeEditorColumnsSelector.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.js +0 -167
- package/lib/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.js +0 -29
- package/lib/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorSortsPanel.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditorSortsPanel.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorSortsPanel.js +0 -62
- package/lib/components/dataCube/editor/DataCubeEditorSortsPanel.js.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.d.ts +0 -22
- package/lib/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.d.ts.map +0 -1
- package/lib/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.js +0 -25
- package/lib/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.js.map +0 -1
- package/lib/components/dataCube/extend/DataCubeColumnEditor.d.ts +0 -22
- package/lib/components/dataCube/extend/DataCubeColumnEditor.d.ts.map +0 -1
- package/lib/components/dataCube/extend/DataCubeColumnEditor.js +0 -166
- package/lib/components/dataCube/extend/DataCubeColumnEditor.js.map +0 -1
- package/lib/components/dataCube/filter/DataCubeFilterEditor.d.ts +0 -22
- package/lib/components/dataCube/filter/DataCubeFilterEditor.d.ts.map +0 -1
- package/lib/components/dataCube/filter/DataCubeFilterEditor.js +0 -312
- package/lib/components/dataCube/filter/DataCubeFilterEditor.js.map +0 -1
- package/lib/components/dataCube/grid/DataCubeGrid.d.ts +0 -27
- package/lib/components/dataCube/grid/DataCubeGrid.d.ts.map +0 -1
- package/lib/components/dataCube/grid/DataCubeGrid.js +0 -241
- package/lib/components/dataCube/grid/DataCubeGrid.js.map +0 -1
- package/lib/components/dataCube/grid/DataCubeGridShared.d.ts +0 -18
- package/lib/components/dataCube/grid/DataCubeGridShared.d.ts.map +0 -1
- package/lib/components/dataCube/grid/DataCubeGridShared.js +0 -25
- package/lib/components/dataCube/grid/DataCubeGridShared.js.map +0 -1
- package/lib/components/repl/Alert.d.ts +0 -35
- package/lib/components/repl/Alert.d.ts.map +0 -1
- package/lib/components/repl/Alert.js +0 -91
- package/lib/components/repl/Alert.js.map +0 -1
- package/lib/components/repl/DocumentationPanel.d.ts +0 -19
- package/lib/components/repl/DocumentationPanel.d.ts.map +0 -1
- package/lib/components/repl/DocumentationPanel.js +0 -30
- package/lib/components/repl/DocumentationPanel.js.map +0 -1
- package/lib/components/repl/Form.d.ts +0 -54
- package/lib/components/repl/Form.d.ts.map +0 -1
- package/lib/components/repl/Form.js +0 -252
- package/lib/components/repl/Form.js.map +0 -1
- package/lib/components/repl/LayoutManager.d.ts +0 -27
- package/lib/components/repl/LayoutManager.d.ts.map +0 -1
- package/lib/components/repl/LayoutManager.js +0 -116
- package/lib/components/repl/LayoutManager.js.map +0 -1
- package/lib/components/repl/PureCodeEditor.d.ts +0 -22
- package/lib/components/repl/PureCodeEditor.d.ts.map +0 -1
- package/lib/components/repl/PureCodeEditor.js +0 -64
- package/lib/components/repl/PureCodeEditor.js.map +0 -1
- package/lib/components/repl/SettingsPanel.d.ts +0 -19
- package/lib/components/repl/SettingsPanel.d.ts.map +0 -1
- package/lib/components/repl/SettingsPanel.js +0 -53
- package/lib/components/repl/SettingsPanel.js.map +0 -1
- package/lib/server/DataCubeQuery.d.ts +0 -40
- package/lib/server/DataCubeQuery.d.ts.map +0 -1
- package/lib/server/DataCubeQuery.js +0 -79
- package/lib/server/DataCubeQuery.js.map +0 -1
- package/lib/server/REPLEngine.d.ts +0 -74
- package/lib/server/REPLEngine.d.ts.map +0 -1
- package/lib/server/REPLEngine.js +0 -32
- package/lib/server/REPLEngine.js.map +0 -1
- package/lib/server/REPLServerClient.d.ts.map +0 -1
- package/lib/server/REPLServerClient.js.map +0 -1
- package/lib/stores/LayoutManagerState.d.ts +0 -63
- package/lib/stores/LayoutManagerState.d.ts.map +0 -1
- package/lib/stores/LayoutManagerState.js +0 -128
- package/lib/stores/LayoutManagerState.js.map +0 -1
- package/lib/stores/LegendREPLApplicationPlugin.d.ts +0 -28
- package/lib/stores/LegendREPLApplicationPlugin.d.ts.map +0 -1
- package/lib/stores/LegendREPLApplicationPlugin.js +0 -35
- package/lib/stores/LegendREPLApplicationPlugin.js.map +0 -1
- package/lib/stores/LegendREPLBaseStore.d.ts +0 -25
- package/lib/stores/LegendREPLBaseStore.d.ts.map +0 -1
- package/lib/stores/LegendREPLBaseStore.js +0 -24
- package/lib/stores/LegendREPLBaseStore.js.map +0 -1
- package/lib/stores/REPLStore.d.ts +0 -50
- package/lib/stores/REPLStore.d.ts.map +0 -1
- package/lib/stores/REPLStore.js +0 -104
- package/lib/stores/REPLStore.js.map +0 -1
- package/lib/stores/dataCube/DataCubeEngine.d.ts +0 -98
- package/lib/stores/dataCube/DataCubeEngine.d.ts.map +0 -1
- package/lib/stores/dataCube/DataCubeEngine.js +0 -211
- package/lib/stores/dataCube/DataCubeEngine.js.map +0 -1
- package/lib/stores/dataCube/DataCubeState.d.ts +0 -50
- package/lib/stores/dataCube/DataCubeState.d.ts.map +0 -1
- package/lib/stores/dataCube/DataCubeState.js +0 -108
- package/lib/stores/dataCube/DataCubeState.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeConfiguration.d.ts +0 -107
- package/lib/stores/dataCube/core/DataCubeConfiguration.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeConfiguration.js +0 -185
- package/lib/stores/dataCube/core/DataCubeConfiguration.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeConfigurationBuilder.d.ts +0 -25
- package/lib/stores/dataCube/core/DataCubeConfigurationBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeConfigurationBuilder.js +0 -50
- package/lib/stores/dataCube/core/DataCubeConfigurationBuilder.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeInfoState.d.ts +0 -33
- package/lib/stores/dataCube/core/DataCubeInfoState.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeInfoState.js +0 -48
- package/lib/stores/dataCube/core/DataCubeInfoState.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQueryBuilder.d.ts +0 -35
- package/lib/stores/dataCube/core/DataCubeQueryBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQueryBuilder.js +0 -130
- package/lib/stores/dataCube/core/DataCubeQueryBuilder.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQueryBuilderUtils.d.ts +0 -50
- package/lib/stores/dataCube/core/DataCubeQueryBuilderUtils.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQueryBuilderUtils.js +0 -320
- package/lib/stores/dataCube/core/DataCubeQueryBuilderUtils.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQueryEngine.d.ts +0 -224
- package/lib/stores/dataCube/core/DataCubeQueryEngine.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQueryEngine.js +0 -286
- package/lib/stores/dataCube/core/DataCubeQueryEngine.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshot.d.ts +0 -84
- package/lib/stores/dataCube/core/DataCubeQuerySnapshot.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshot.js +0 -81
- package/lib/stores/dataCube/core/DataCubeQuerySnapshot.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilder.d.ts +0 -33
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilder.js +0 -265
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilder.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilderUtils.d.ts +0 -30
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilderUtils.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilderUtils.js +0 -125
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotBuilderUtils.js.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.d.ts +0 -49
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.d.ts.map +0 -1
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.js +0 -87
- package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation.d.ts +0 -28
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation.js +0 -25
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Average.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Average.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Average.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Average.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Count.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Count.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Count.js +0 -47
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Count.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__First.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__First.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__First.js +0 -44
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__First.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.js +0 -53
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Last.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Last.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Last.js +0 -44
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Last.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Max.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Max.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Max.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Max.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Min.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Min.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Min.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Min.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Sum.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Sum.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Sum.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Sum.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.js +0 -44
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.js.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.d.ts +0 -27
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.d.ts.map +0 -1
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.js +0 -39
- package/lib/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterEditorState.d.ts +0 -36
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterEditorState.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterEditorState.js +0 -153
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterEditorState.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation.d.ts +0 -32
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation.js +0 -48
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Contain.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Contain.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Contain.js +0 -59
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Contain.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWith.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWith.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWith.js +0 -59
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWith.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Equal.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Equal.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Equal.js +0 -136
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Equal.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualColumn.js +0 -65
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThan.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThan.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThan.js +0 -67
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThan.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.js +0 -67
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNotNull.d.ts +0 -31
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNotNull.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNotNull.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNotNull.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNull.d.ts +0 -31
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNull.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNull.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNull.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThan.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThan.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThan.js +0 -67
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThan.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanColumn.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.js +0 -67
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotContain.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotContain.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotContain.js +0 -59
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotContain.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEndWith.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEndWith.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEndWith.js +0 -59
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEndWith.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqual.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqual.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqual.js +0 -69
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqual.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.js +0 -65
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotStartWith.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotStartWith.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotStartWith.js +0 -59
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotStartWith.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWith.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWith.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWith.js +0 -59
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWith.js.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.d.ts +0 -34
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.d.ts.map +0 -1
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.js +0 -64
- package/lib/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorColumnPropertiesPanelState.d.ts +0 -37
- package/lib/stores/dataCube/editor/DataCubeEditorColumnPropertiesPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorColumnPropertiesPanelState.js +0 -68
- package/lib/stores/dataCube/editor/DataCubeEditorColumnPropertiesPanelState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsPanelState.d.ts +0 -58
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsPanelState.js +0 -127
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsPanelState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsSelectorState.d.ts +0 -42
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsSelectorState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsSelectorState.js +0 -74
- package/lib/stores/dataCube/editor/DataCubeEditorColumnsSelectorState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorGeneralPropertiesPanelState.d.ts +0 -35
- package/lib/stores/dataCube/editor/DataCubeEditorGeneralPropertiesPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorGeneralPropertiesPanelState.js +0 -59
- package/lib/stores/dataCube/editor/DataCubeEditorGeneralPropertiesPanelState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorHorizontalPivotsPanelState.d.ts +0 -43
- package/lib/stores/dataCube/editor/DataCubeEditorHorizontalPivotsPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorHorizontalPivotsPanelState.js +0 -92
- package/lib/stores/dataCube/editor/DataCubeEditorHorizontalPivotsPanelState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorMutableConfiguration.d.ts +0 -107
- package/lib/stores/dataCube/editor/DataCubeEditorMutableConfiguration.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorMutableConfiguration.js +0 -467
- package/lib/stores/dataCube/editor/DataCubeEditorMutableConfiguration.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorPanelState.d.ts +0 -29
- package/lib/stores/dataCube/editor/DataCubeEditorPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorPanelState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorSortsPanelState.d.ts +0 -41
- package/lib/stores/dataCube/editor/DataCubeEditorSortsPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorSortsPanelState.js +0 -77
- package/lib/stores/dataCube/editor/DataCubeEditorSortsPanelState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorState.d.ts +0 -64
- package/lib/stores/dataCube/editor/DataCubeEditorState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorState.js +0 -156
- package/lib/stores/dataCube/editor/DataCubeEditorState.js.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.d.ts +0 -35
- package/lib/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.d.ts.map +0 -1
- package/lib/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.js +0 -58
- package/lib/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.js.map +0 -1
- package/lib/stores/dataCube/extend/DataCubeColumnEditorState.d.ts +0 -61
- package/lib/stores/dataCube/extend/DataCubeColumnEditorState.d.ts.map +0 -1
- package/lib/stores/dataCube/extend/DataCubeColumnEditorState.js +0 -262
- package/lib/stores/dataCube/extend/DataCubeColumnEditorState.js.map +0 -1
- package/lib/stores/dataCube/extend/DataCubeExtendManagerState.d.ts +0 -46
- package/lib/stores/dataCube/extend/DataCubeExtendManagerState.d.ts.map +0 -1
- package/lib/stores/dataCube/extend/DataCubeExtendManagerState.js +0 -119
- package/lib/stores/dataCube/extend/DataCubeExtendManagerState.js.map +0 -1
- package/lib/stores/dataCube/filter/DataCubeFilterEditorState.d.ts +0 -61
- package/lib/stores/dataCube/filter/DataCubeFilterEditorState.d.ts.map +0 -1
- package/lib/stores/dataCube/filter/DataCubeFilterEditorState.js +0 -230
- package/lib/stores/dataCube/filter/DataCubeFilterEditorState.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridClientEngine.d.ts +0 -92
- package/lib/stores/dataCube/grid/DataCubeGridClientEngine.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridClientEngine.js +0 -357
- package/lib/stores/dataCube/grid/DataCubeGridClientEngine.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.d.ts +0 -31
- package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.js +0 -152
- package/lib/stores/dataCube/grid/DataCubeGridClientExportEngine.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.d.ts +0 -220
- package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.js +0 -586
- package/lib/stores/dataCube/grid/DataCubeGridConfigurationBuilder.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridControllerState.d.ts +0 -88
- package/lib/stores/dataCube/grid/DataCubeGridControllerState.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridControllerState.js +0 -325
- package/lib/stores/dataCube/grid/DataCubeGridControllerState.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.d.ts +0 -19
- package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.js +0 -684
- package/lib/stores/dataCube/grid/DataCubeGridMenuBuilder.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridQueryBuilder.d.ts +0 -23
- package/lib/stores/dataCube/grid/DataCubeGridQueryBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridQueryBuilder.js +0 -130
- package/lib/stores/dataCube/grid/DataCubeGridQueryBuilder.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.d.ts +0 -27
- package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.js +0 -60
- package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.js.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridState.d.ts +0 -55
- package/lib/stores/dataCube/grid/DataCubeGridState.d.ts.map +0 -1
- package/lib/stores/dataCube/grid/DataCubeGridState.js +0 -114
- package/lib/stores/dataCube/grid/DataCubeGridState.js.map +0 -1
- package/src/__lib__/LegendREPLSetting.ts +0 -19
- package/src/application/LegendREPLDocumentation.ts +0 -22
- package/src/application/LegendREPLPluginManager.ts +0 -65
- package/src/components/Core_LegendREPLApplicationPlugin.tsx +0 -40
- package/src/components/LegendREPLFrameworkProvider.tsx +0 -52
- package/src/components/REPLStoreProvider.tsx +0 -63
- package/src/components/dataCube/DataCube.tsx +0 -157
- package/src/components/dataCube/editor/DataCubeEditor.tsx +0 -113
- package/src/components/dataCube/editor/DataCubeEditorColumnPropertiesPanel.tsx +0 -1209
- package/src/components/dataCube/editor/DataCubeEditorColumnsPanel.tsx +0 -121
- package/src/components/dataCube/editor/DataCubeEditorColumnsSelector.tsx +0 -596
- package/src/components/dataCube/editor/DataCubeEditorGeneralPropertiesPanel.tsx +0 -786
- package/src/components/dataCube/editor/DataCubeEditorHorizontalPivotsPanel.tsx +0 -61
- package/src/components/dataCube/editor/DataCubeEditorSortsPanel.tsx +0 -166
- package/src/components/dataCube/editor/DataCubeEditorVerticalPivotsPanel.tsx +0 -43
- package/src/components/dataCube/extend/DataCubeColumnEditor.tsx +0 -363
- package/src/components/dataCube/filter/DataCubeFilterEditor.tsx +0 -907
- package/src/components/dataCube/grid/DataCubeGrid.tsx +0 -385
- package/src/components/dataCube/grid/DataCubeGridShared.tsx +0 -45
- package/src/components/repl/Alert.tsx +0 -182
- package/src/components/repl/DocumentationPanel.tsx +0 -40
- package/src/components/repl/Form.tsx +0 -579
- package/src/components/repl/LayoutManager.tsx +0 -190
- package/src/components/repl/PureCodeEditor.tsx +0 -91
- package/src/components/repl/SettingsPanel.tsx +0 -207
- package/src/server/DataCubeQuery.ts +0 -130
- package/src/server/REPLEngine.ts +0 -110
- package/src/stores/LayoutManagerState.ts +0 -176
- package/src/stores/LegendREPLApplicationPlugin.ts +0 -39
- package/src/stores/LegendREPLBaseStore.ts +0 -34
- package/src/stores/REPLStore.tsx +0 -193
- package/src/stores/dataCube/DataCubeEngine.ts +0 -284
- package/src/stores/dataCube/DataCubeState.ts +0 -128
- package/src/stores/dataCube/core/DataCubeConfiguration.ts +0 -240
- package/src/stores/dataCube/core/DataCubeConfigurationBuilder.ts +0 -66
- package/src/stores/dataCube/core/DataCubeInfoState.ts +0 -61
- package/src/stores/dataCube/core/DataCubeQueryBuilder.ts +0 -296
- package/src/stores/dataCube/core/DataCubeQueryBuilderUtils.ts +0 -514
- package/src/stores/dataCube/core/DataCubeQueryEngine.ts +0 -327
- package/src/stores/dataCube/core/DataCubeQuerySnapshot.ts +0 -188
- package/src/stores/dataCube/core/DataCubeQuerySnapshotBuilder.ts +0 -411
- package/src/stores/dataCube/core/DataCubeQuerySnapshotBuilderUtils.ts +0 -197
- package/src/stores/dataCube/core/DataCubeQuerySnapshotManager.ts +0 -155
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation.ts +0 -47
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Average.tsx +0 -52
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Count.tsx +0 -61
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__First.tsx +0 -57
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.tsx +0 -81
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Last.tsx +0 -57
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Max.tsx +0 -52
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Min.tsx +0 -52
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.tsx +0 -55
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.tsx +0 -52
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__Sum.tsx +0 -52
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.tsx +0 -57
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.tsx +0 -52
- package/src/stores/dataCube/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.tsx +0 -52
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterEditorState.ts +0 -231
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation.ts +0 -96
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Contain.tsx +0 -88
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.tsx +0 -94
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWith.tsx +0 -88
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.tsx +0 -94
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__Equal.tsx +0 -170
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.tsx +0 -94
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.tsx +0 -92
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__EqualColumn.tsx +0 -93
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThan.tsx +0 -96
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.tsx +0 -92
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.tsx +0 -96
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.tsx +0 -92
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNotNull.tsx +0 -92
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__IsNull.tsx +0 -89
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThan.tsx +0 -96
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanColumn.tsx +0 -92
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.tsx +0 -96
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.tsx +0 -92
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotContain.tsx +0 -91
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEndWith.tsx +0 -91
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqual.tsx +0 -101
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.tsx +0 -97
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.tsx +0 -95
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.tsx +0 -96
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__NotStartWith.tsx +0 -91
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWith.tsx +0 -88
- package/src/stores/dataCube/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.tsx +0 -94
- package/src/stores/dataCube/editor/DataCubeEditorColumnPropertiesPanelState.ts +0 -111
- package/src/stores/dataCube/editor/DataCubeEditorColumnsPanelState.ts +0 -198
- package/src/stores/dataCube/editor/DataCubeEditorColumnsSelectorState.ts +0 -114
- package/src/stores/dataCube/editor/DataCubeEditorGeneralPropertiesPanelState.ts +0 -87
- package/src/stores/dataCube/editor/DataCubeEditorHorizontalPivotsPanelState.ts +0 -157
- package/src/stores/dataCube/editor/DataCubeEditorMutableConfiguration.ts +0 -677
- package/src/stores/dataCube/editor/DataCubeEditorPanelState.ts +0 -37
- package/src/stores/dataCube/editor/DataCubeEditorSortsPanelState.ts +0 -133
- package/src/stores/dataCube/editor/DataCubeEditorState.tsx +0 -208
- package/src/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.ts +0 -110
- package/src/stores/dataCube/extend/DataCubeColumnEditorState.tsx +0 -366
- package/src/stores/dataCube/extend/DataCubeExtendManagerState.tsx +0 -177
- package/src/stores/dataCube/filter/DataCubeFilterEditorState.tsx +0 -326
- package/src/stores/dataCube/grid/DataCubeGridClientEngine.ts +0 -501
- package/src/stores/dataCube/grid/DataCubeGridClientExportEngine.ts +0 -173
- package/src/stores/dataCube/grid/DataCubeGridConfigurationBuilder.tsx +0 -849
- package/src/stores/dataCube/grid/DataCubeGridControllerState.ts +0 -468
- package/src/stores/dataCube/grid/DataCubeGridMenuBuilder.tsx +0 -856
- package/src/stores/dataCube/grid/DataCubeGridQueryBuilder.ts +0 -195
- package/src/stores/dataCube/grid/DataCubeGridQuerySnapshotBuilder.ts +0 -103
- package/src/stores/dataCube/grid/DataCubeGridState.ts +0 -154
package/src/server/REPLEngine.ts
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
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 { createModelSchema, custom, primitive } from 'serializr';
|
|
18
|
-
import {
|
|
19
|
-
SerializationFactory,
|
|
20
|
-
usingModelSchema,
|
|
21
|
-
type PlainObject,
|
|
22
|
-
} from '@finos/legend-shared';
|
|
23
|
-
import {
|
|
24
|
-
type V1_ValueSpecification,
|
|
25
|
-
type V1_Lambda,
|
|
26
|
-
V1_deserializeValueSpecification,
|
|
27
|
-
V1_serializeValueSpecification,
|
|
28
|
-
} from '@finos/legend-graph';
|
|
29
|
-
import { DataCubeQuery, type DataCubeQueryColumn } from './DataCubeQuery.js';
|
|
30
|
-
|
|
31
|
-
export type DataCubeQueryBuilderError = {
|
|
32
|
-
type: string;
|
|
33
|
-
message: string;
|
|
34
|
-
sourceInformation?: {
|
|
35
|
-
startLine: number;
|
|
36
|
-
startColumn: number;
|
|
37
|
-
endLine: number;
|
|
38
|
-
endColumn: number;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export type DataCubeInfrastructureInfo = {
|
|
43
|
-
gridClientLicense?: string | undefined;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export type DataCubeGetQueryCodeInput = {
|
|
47
|
-
query: PlainObject<V1_ValueSpecification>;
|
|
48
|
-
pretty?: boolean;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export type DataCubeParseQueryInput = {
|
|
52
|
-
code: string;
|
|
53
|
-
returnSourceInformation?: boolean | undefined;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export type CompletionItem = {
|
|
57
|
-
completion: string;
|
|
58
|
-
display: string;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export type DataCubeQueryTypeaheadInput = {
|
|
62
|
-
code: string;
|
|
63
|
-
baseQuery?: PlainObject<V1_ValueSpecification>;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export type DataCubeGetQueryRelationReturnTypeInput = {
|
|
67
|
-
query: PlainObject<V1_Lambda>;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export type DataCubeGetQueryCodeRelationReturnTypeInput = {
|
|
71
|
-
code: string;
|
|
72
|
-
baseQuery?: PlainObject<V1_ValueSpecification>;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
export type DataCubeExecutionInput = {
|
|
76
|
-
query: PlainObject<V1_Lambda>;
|
|
77
|
-
debug?: boolean | undefined;
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export type DataCubeExecutionResult = {
|
|
81
|
-
result: string;
|
|
82
|
-
executedQuery: string;
|
|
83
|
-
executedSQL: string;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export type RelationType = {
|
|
87
|
-
columns: DataCubeQueryColumn[];
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export class DataCubeGetBaseQueryResult {
|
|
91
|
-
query!: DataCubeQuery;
|
|
92
|
-
timestamp!: number;
|
|
93
|
-
partialQuery!: V1_ValueSpecification;
|
|
94
|
-
sourceQuery!: V1_ValueSpecification;
|
|
95
|
-
|
|
96
|
-
static readonly serialization = new SerializationFactory(
|
|
97
|
-
createModelSchema(DataCubeGetBaseQueryResult, {
|
|
98
|
-
partialQuery: custom(
|
|
99
|
-
(val) => V1_serializeValueSpecification(val, []),
|
|
100
|
-
(val) => V1_deserializeValueSpecification(val, []),
|
|
101
|
-
),
|
|
102
|
-
query: usingModelSchema(DataCubeQuery.serialization.schema),
|
|
103
|
-
sourceQuery: custom(
|
|
104
|
-
(val) => V1_serializeValueSpecification(val, []),
|
|
105
|
-
(val) => V1_deserializeValueSpecification(val, []),
|
|
106
|
-
),
|
|
107
|
-
timestamp: primitive(),
|
|
108
|
-
}),
|
|
109
|
-
);
|
|
110
|
-
}
|
|
@@ -1,176 +0,0 @@
|
|
|
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 type { GenericLegendApplicationStore } from '@finos/legend-application';
|
|
18
|
-
import { uuid } from '@finos/legend-shared';
|
|
19
|
-
import {
|
|
20
|
-
action,
|
|
21
|
-
computed,
|
|
22
|
-
makeObservable,
|
|
23
|
-
observable,
|
|
24
|
-
runInAction,
|
|
25
|
-
} from 'mobx';
|
|
26
|
-
|
|
27
|
-
export type WindowConfiguration = {
|
|
28
|
-
x?: number | undefined;
|
|
29
|
-
y?: number | undefined;
|
|
30
|
-
width?: number | undefined;
|
|
31
|
-
height?: number | undefined;
|
|
32
|
-
minWidth?: number | undefined;
|
|
33
|
-
minHeight?: number | undefined;
|
|
34
|
-
center?: boolean | undefined;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
export class LayoutConfiguration {
|
|
38
|
-
title: string;
|
|
39
|
-
readonly contentRenderer: (config: LayoutConfiguration) => React.ReactNode;
|
|
40
|
-
window: WindowConfiguration = {};
|
|
41
|
-
|
|
42
|
-
constructor(
|
|
43
|
-
title: string,
|
|
44
|
-
contentRenderer: (config: LayoutConfiguration) => React.ReactNode,
|
|
45
|
-
) {
|
|
46
|
-
this.contentRenderer = contentRenderer;
|
|
47
|
-
this.title = title;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export class WindowState {
|
|
52
|
-
readonly uuid = uuid();
|
|
53
|
-
readonly configuration: LayoutConfiguration;
|
|
54
|
-
readonly onClose?: (() => void) | undefined;
|
|
55
|
-
|
|
56
|
-
constructor(
|
|
57
|
-
configuration: LayoutConfiguration,
|
|
58
|
-
onClose?: (() => void) | undefined,
|
|
59
|
-
) {
|
|
60
|
-
this.configuration = configuration;
|
|
61
|
-
this.onClose = onClose;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export class LayoutManagerState {
|
|
66
|
-
readonly application: GenericLegendApplicationStore;
|
|
67
|
-
windows: WindowState[] = [];
|
|
68
|
-
|
|
69
|
-
constructor(application: GenericLegendApplicationStore) {
|
|
70
|
-
makeObservable(this, {
|
|
71
|
-
windows: observable,
|
|
72
|
-
newWindow: action,
|
|
73
|
-
bringWindowFront: action,
|
|
74
|
-
closeWindow: action,
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
this.application = application;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
newWindow(window: WindowState) {
|
|
81
|
-
this.windows.push(window);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
bringWindowFront(window: WindowState) {
|
|
85
|
-
const matchingWindow = this.windows.find((w) => w.uuid === window.uuid);
|
|
86
|
-
if (matchingWindow) {
|
|
87
|
-
this.windows = this.windows.filter((w) => w.uuid !== window.uuid);
|
|
88
|
-
this.windows.push(window);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
closeWindow(window: WindowState) {
|
|
93
|
-
const matchingWindow = this.windows.find((w) => w.uuid === window.uuid);
|
|
94
|
-
if (matchingWindow) {
|
|
95
|
-
this.windows = this.windows.filter((w) => w.uuid !== window.uuid);
|
|
96
|
-
window.onClose?.();
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export const WINDOW_DEFAULT_OFFSET = 50;
|
|
102
|
-
export const WINDOW_DEFAULT_WIDTH = 800;
|
|
103
|
-
export const WINDOW_DEFAULT_HEIGHT = 600;
|
|
104
|
-
export const WINDOW_DEFAULT_MIN_WIDTH = 300;
|
|
105
|
-
export const WINDOW_DEFAULT_MIN_HEIGHT = 300;
|
|
106
|
-
|
|
107
|
-
export const DEFAULT_TOOL_PANEL_WINDOW_CONFIG: WindowConfiguration = {
|
|
108
|
-
width: WINDOW_DEFAULT_WIDTH,
|
|
109
|
-
height: WINDOW_DEFAULT_HEIGHT,
|
|
110
|
-
minWidth: WINDOW_DEFAULT_MIN_WIDTH,
|
|
111
|
-
minHeight: WINDOW_DEFAULT_MIN_HEIGHT,
|
|
112
|
-
center: true,
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
export const DEFAULT_SMALL_ALERT_WINDOW_CONFIG: WindowConfiguration = {
|
|
116
|
-
width: 500,
|
|
117
|
-
height: 200,
|
|
118
|
-
minWidth: 200,
|
|
119
|
-
minHeight: 80,
|
|
120
|
-
center: true,
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export const DEFAULT_LARGE_ALERT_WINDOW_CONFIG: WindowConfiguration = {
|
|
124
|
-
width: 600,
|
|
125
|
-
height: 200,
|
|
126
|
-
minWidth: 300,
|
|
127
|
-
minHeight: 150,
|
|
128
|
-
center: true,
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
export class DisplayState {
|
|
132
|
-
readonly layoutManagerState: LayoutManagerState;
|
|
133
|
-
readonly configuration: LayoutConfiguration;
|
|
134
|
-
window?: WindowState | undefined;
|
|
135
|
-
|
|
136
|
-
constructor(
|
|
137
|
-
layoutManagerState: LayoutManagerState,
|
|
138
|
-
title: string,
|
|
139
|
-
contentRenderer: (config: LayoutConfiguration) => React.ReactNode,
|
|
140
|
-
) {
|
|
141
|
-
makeObservable(this, {
|
|
142
|
-
window: observable,
|
|
143
|
-
isOpen: computed,
|
|
144
|
-
open: action,
|
|
145
|
-
close: action,
|
|
146
|
-
});
|
|
147
|
-
|
|
148
|
-
this.layoutManagerState = layoutManagerState;
|
|
149
|
-
this.configuration = new LayoutConfiguration(title, contentRenderer);
|
|
150
|
-
this.configuration.window = DEFAULT_TOOL_PANEL_WINDOW_CONFIG;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
get isOpen() {
|
|
154
|
-
return Boolean(this.window);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
open() {
|
|
158
|
-
if (this.window) {
|
|
159
|
-
this.layoutManagerState.bringWindowFront(this.window);
|
|
160
|
-
} else {
|
|
161
|
-
this.window = new WindowState(this.configuration, () =>
|
|
162
|
-
runInAction(() => {
|
|
163
|
-
this.window = undefined;
|
|
164
|
-
}),
|
|
165
|
-
);
|
|
166
|
-
this.layoutManagerState.newWindow(this.window);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
close() {
|
|
171
|
-
if (this.window) {
|
|
172
|
-
this.layoutManagerState.closeWindow(this.window);
|
|
173
|
-
this.window = undefined;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 { LegendApplicationPlugin } from '@finos/legend-application';
|
|
18
|
-
import type { LegendREPLPluginManager } from '../application/LegendREPLPluginManager.js';
|
|
19
|
-
import { DocumentationKey } from '../application/LegendREPLDocumentation.js';
|
|
20
|
-
|
|
21
|
-
export abstract class LegendREPLApplicationPlugin extends LegendApplicationPlugin {
|
|
22
|
-
/**
|
|
23
|
-
* This helps to better type-check for this empty abtract type
|
|
24
|
-
* See https://github.com/finos/legend-studio/blob/master/docs/technical/typescript-usage.md#understand-typescript-structual-type-system
|
|
25
|
-
*/
|
|
26
|
-
private readonly _$nominalTypeBrand!: 'LegendREPLApplicationPlugin';
|
|
27
|
-
|
|
28
|
-
install(pluginManager: LegendREPLPluginManager) {
|
|
29
|
-
pluginManager.registerApplicationPlugin(this);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
override getExtraRequiredDocumentationKeys() {
|
|
33
|
-
return [
|
|
34
|
-
DocumentationKey.DATA_CUBE_EXTENDED_COLUMN_LEVELS,
|
|
35
|
-
DocumentationKey.DATA_CUBE_COLUMN_KINDS,
|
|
36
|
-
DocumentationKey.DATA_CUBE_COLUMN_DISPLAY_AS_LINK,
|
|
37
|
-
];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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 type { ApplicationStore } from '@finos/legend-application';
|
|
18
|
-
import type { LegendREPLApplicationConfig } from '../application/LegendREPLApplicationConfig.js';
|
|
19
|
-
import type { LegendREPLPluginManager } from '../application/LegendREPLPluginManager.js';
|
|
20
|
-
|
|
21
|
-
export type LegendREPLApplicationStore = ApplicationStore<
|
|
22
|
-
LegendREPLApplicationConfig,
|
|
23
|
-
LegendREPLPluginManager
|
|
24
|
-
>;
|
|
25
|
-
|
|
26
|
-
export class LegendREPLBaseStore {
|
|
27
|
-
readonly application: LegendREPLApplicationStore;
|
|
28
|
-
readonly pluginManager: LegendREPLPluginManager;
|
|
29
|
-
|
|
30
|
-
constructor(application: LegendREPLApplicationStore) {
|
|
31
|
-
this.application = application;
|
|
32
|
-
this.pluginManager = application.pluginManager;
|
|
33
|
-
}
|
|
34
|
-
}
|
package/src/stores/REPLStore.tsx
DELETED
|
@@ -1,193 +0,0 @@
|
|
|
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 type { LegendREPLApplicationStore } from './LegendREPLBaseStore.js';
|
|
18
|
-
import { REPLServerClient } from '../server/REPLServerClient.js';
|
|
19
|
-
import {
|
|
20
|
-
ActionState,
|
|
21
|
-
assertErrorThrown,
|
|
22
|
-
guaranteeNonNullable,
|
|
23
|
-
LogEvent,
|
|
24
|
-
NetworkClient,
|
|
25
|
-
} from '@finos/legend-shared';
|
|
26
|
-
import { makeObservable, observable } from 'mobx';
|
|
27
|
-
import { DataCubeState } from './dataCube/DataCubeState.js';
|
|
28
|
-
import { DataCubeEngine } from './dataCube/DataCubeEngine.js';
|
|
29
|
-
import { LicenseManager } from '@ag-grid-enterprise/core';
|
|
30
|
-
import { ActionAlertType, APPLICATION_EVENT } from '@finos/legend-application';
|
|
31
|
-
import {
|
|
32
|
-
DEFAULT_SMALL_ALERT_WINDOW_CONFIG,
|
|
33
|
-
LayoutConfiguration,
|
|
34
|
-
LayoutManagerState,
|
|
35
|
-
DisplayState,
|
|
36
|
-
WindowState,
|
|
37
|
-
type WindowConfiguration,
|
|
38
|
-
} from './LayoutManagerState.js';
|
|
39
|
-
import {
|
|
40
|
-
Alert,
|
|
41
|
-
AlertType,
|
|
42
|
-
type AlertAction,
|
|
43
|
-
} from '../components/repl/Alert.js';
|
|
44
|
-
import { DocumentationPanel } from '../components/repl/DocumentationPanel.js';
|
|
45
|
-
import { SettingsPanel } from '../components/repl/SettingsPanel.js';
|
|
46
|
-
|
|
47
|
-
export class REPLStore {
|
|
48
|
-
readonly application: LegendREPLApplicationStore;
|
|
49
|
-
readonly client: REPLServerClient;
|
|
50
|
-
readonly layout: LayoutManagerState;
|
|
51
|
-
readonly initState = ActionState.create();
|
|
52
|
-
readonly settingsDisplay: DisplayState;
|
|
53
|
-
readonly documentationDisplay: DisplayState;
|
|
54
|
-
|
|
55
|
-
dataCubeEngine!: DataCubeEngine;
|
|
56
|
-
|
|
57
|
-
// TODO: when we support multi-view, we would need to support multiple states
|
|
58
|
-
dataCube!: DataCubeState;
|
|
59
|
-
|
|
60
|
-
constructor(application: LegendREPLApplicationStore) {
|
|
61
|
-
makeObservable(this, {
|
|
62
|
-
dataCube: observable,
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
this.application = application;
|
|
66
|
-
const baseAddress = guaranteeNonNullable(
|
|
67
|
-
this.application.config.baseAddress,
|
|
68
|
-
);
|
|
69
|
-
this.client = new REPLServerClient(
|
|
70
|
-
new NetworkClient({
|
|
71
|
-
baseUrl: this.application.config.useDynamicREPLServer
|
|
72
|
-
? window.location.origin + baseAddress.replace('/repl/', '')
|
|
73
|
-
: this.application.config.replUrl,
|
|
74
|
-
}),
|
|
75
|
-
);
|
|
76
|
-
this.layout = new LayoutManagerState(this.application);
|
|
77
|
-
this.dataCubeEngine = new DataCubeEngine(this);
|
|
78
|
-
this.dataCube = new DataCubeState(this);
|
|
79
|
-
this.settingsDisplay = new DisplayState(this.layout, 'Settings', () => (
|
|
80
|
-
<SettingsPanel />
|
|
81
|
-
));
|
|
82
|
-
this.settingsDisplay.configuration.window = {
|
|
83
|
-
x: -50,
|
|
84
|
-
y: 50,
|
|
85
|
-
width: 600,
|
|
86
|
-
height: 400,
|
|
87
|
-
minWidth: 300,
|
|
88
|
-
minHeight: 200,
|
|
89
|
-
center: false,
|
|
90
|
-
};
|
|
91
|
-
this.documentationDisplay = new DisplayState(
|
|
92
|
-
this.layout,
|
|
93
|
-
'Documentation',
|
|
94
|
-
() => <DocumentationPanel />,
|
|
95
|
-
);
|
|
96
|
-
this.documentationDisplay.configuration.window = {
|
|
97
|
-
x: -50,
|
|
98
|
-
y: -50,
|
|
99
|
-
width: 400,
|
|
100
|
-
height: 400,
|
|
101
|
-
minWidth: 300,
|
|
102
|
-
minHeight: 200,
|
|
103
|
-
center: false,
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
alertError(
|
|
108
|
-
error: Error,
|
|
109
|
-
options: {
|
|
110
|
-
message: string;
|
|
111
|
-
text?: string | undefined;
|
|
112
|
-
actions?: AlertAction[] | undefined;
|
|
113
|
-
windowTitle?: string | undefined;
|
|
114
|
-
windowConfig?: WindowConfiguration | undefined;
|
|
115
|
-
},
|
|
116
|
-
) {
|
|
117
|
-
const { message, text, actions, windowTitle, windowConfig } = options;
|
|
118
|
-
this.application.notificationService.notifyError(error);
|
|
119
|
-
const window = new WindowState(
|
|
120
|
-
new LayoutConfiguration(windowTitle ?? 'Error', () => (
|
|
121
|
-
<Alert
|
|
122
|
-
type={AlertType.ERROR}
|
|
123
|
-
message={message}
|
|
124
|
-
text={text}
|
|
125
|
-
actions={actions}
|
|
126
|
-
/>
|
|
127
|
-
)),
|
|
128
|
-
);
|
|
129
|
-
window.configuration.window =
|
|
130
|
-
windowConfig ?? DEFAULT_SMALL_ALERT_WINDOW_CONFIG;
|
|
131
|
-
this.layout.newWindow(window);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
alert(options: {
|
|
135
|
-
message: string;
|
|
136
|
-
type: AlertType;
|
|
137
|
-
text?: string | undefined;
|
|
138
|
-
actions?: AlertAction[] | undefined;
|
|
139
|
-
windowTitle?: string | undefined;
|
|
140
|
-
windowConfig?: WindowConfiguration | undefined;
|
|
141
|
-
}) {
|
|
142
|
-
const { message, type, text, actions, windowTitle, windowConfig } = options;
|
|
143
|
-
const window = new WindowState(
|
|
144
|
-
new LayoutConfiguration(windowTitle ?? '', () => (
|
|
145
|
-
<Alert
|
|
146
|
-
type={type}
|
|
147
|
-
message={message}
|
|
148
|
-
text={text}
|
|
149
|
-
actions={actions}
|
|
150
|
-
onClose={() => this.layout.closeWindow(window)}
|
|
151
|
-
/>
|
|
152
|
-
)),
|
|
153
|
-
);
|
|
154
|
-
window.configuration.window =
|
|
155
|
-
windowConfig ?? DEFAULT_SMALL_ALERT_WINDOW_CONFIG;
|
|
156
|
-
this.layout.newWindow(window);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
async initialize() {
|
|
160
|
-
if (!this.initState.isInInitialState) {
|
|
161
|
-
// eslint-disable-next-line no-process-env
|
|
162
|
-
if (process.env.NODE_ENV === 'production') {
|
|
163
|
-
this.application.notificationService.notifyIllegalState(
|
|
164
|
-
'REPL store is re-initialized',
|
|
165
|
-
);
|
|
166
|
-
} else {
|
|
167
|
-
this.application.logService.debug(
|
|
168
|
-
LogEvent.create(APPLICATION_EVENT.DEBUG),
|
|
169
|
-
'REPL store is re-initialized',
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
this.initState.inProgress();
|
|
175
|
-
|
|
176
|
-
try {
|
|
177
|
-
const info = await this.dataCubeEngine.getInfrastructureInfo();
|
|
178
|
-
if (info.gridClientLicense) {
|
|
179
|
-
LicenseManager.setLicenseKey(info.gridClientLicense);
|
|
180
|
-
}
|
|
181
|
-
this.initState.pass();
|
|
182
|
-
} catch (error: unknown) {
|
|
183
|
-
assertErrorThrown(error);
|
|
184
|
-
this.application.alertService.setActionAlertInfo({
|
|
185
|
-
message: `Initialization Failure: ${error.message}`,
|
|
186
|
-
prompt: `Resolve the issue and reload the application.`,
|
|
187
|
-
type: ActionAlertType.ERROR,
|
|
188
|
-
actions: [],
|
|
189
|
-
});
|
|
190
|
-
this.initState.fail();
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|