@finos/legend-application-repl 0.0.59 → 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 -118
- 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 -174
- 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
|
@@ -1,64 +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
|
-
import type { DataCubeState } from '../DataCubeState.js';
|
|
17
|
-
import { DataCubeEditorSortsPanelState } from './DataCubeEditorSortsPanelState.js';
|
|
18
|
-
import { DataCubeQuerySnapshotController } from '../core/DataCubeQuerySnapshotManager.js';
|
|
19
|
-
import { type DataCubeQuerySnapshot, type DataCubeQuerySnapshotColumn, type DataCubeQuerySnapshotExtendedColumn } from '../core/DataCubeQuerySnapshot.js';
|
|
20
|
-
import { ActionState } from '@finos/legend-shared';
|
|
21
|
-
import { DataCubeEditorGeneralPropertiesPanelState } from './DataCubeEditorGeneralPropertiesPanelState.js';
|
|
22
|
-
import { DataCubeEditorColumnPropertiesPanelState } from './DataCubeEditorColumnPropertiesPanelState.js';
|
|
23
|
-
import { DataCubeEditorColumnsPanelState } from './DataCubeEditorColumnsPanelState.js';
|
|
24
|
-
import { DataCubeEditorVerticalPivotsPanelState } from './DataCubeEditorVerticalPivotsPanelState.js';
|
|
25
|
-
import { DisplayState } from '../../LayoutManagerState.js';
|
|
26
|
-
import { DataCubeEditorHorizontalPivotsPanelState } from './DataCubeEditorHorizontalPivotsPanelState.js';
|
|
27
|
-
export declare enum DataCubeEditorTab {
|
|
28
|
-
GENERAL_PROPERTIES = "General Properties",
|
|
29
|
-
COLUMN_PROPERTIES = "Column Properties",
|
|
30
|
-
COLUMNS = "Columns",
|
|
31
|
-
VERTICAL_PIVOTS = "Vertical Pivots",
|
|
32
|
-
HORIZONTAL_PIVOTS = "Horizontal Pivots",
|
|
33
|
-
SORTS = "Sorts"
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* This query editor state backs the main form editor of data cube. It supports
|
|
37
|
-
* batching changes before application, i.e. allowing user to make multiple edits before
|
|
38
|
-
* applying and propgating them.
|
|
39
|
-
*
|
|
40
|
-
* NOTE: It allows almost FULL 1-1 control over the data cube query state.
|
|
41
|
-
* It could also host other form editor states like filter editors, but due to ergonomic
|
|
42
|
-
* reasons, those have been separated out into their own respective query editor states.
|
|
43
|
-
*/
|
|
44
|
-
export declare class DataCubeEditorState extends DataCubeQuerySnapshotController {
|
|
45
|
-
readonly display: DisplayState;
|
|
46
|
-
readonly finalizationState: ActionState;
|
|
47
|
-
readonly generalProperties: DataCubeEditorGeneralPropertiesPanelState;
|
|
48
|
-
readonly columnProperties: DataCubeEditorColumnPropertiesPanelState;
|
|
49
|
-
readonly columns: DataCubeEditorColumnsPanelState;
|
|
50
|
-
readonly horizontalPivots: DataCubeEditorHorizontalPivotsPanelState;
|
|
51
|
-
readonly verticalPivots: DataCubeEditorVerticalPivotsPanelState;
|
|
52
|
-
readonly sorts: DataCubeEditorSortsPanelState;
|
|
53
|
-
currentTab: DataCubeEditorTab;
|
|
54
|
-
sourceColumns: DataCubeQuerySnapshotColumn[];
|
|
55
|
-
leafExtendColumns: DataCubeQuerySnapshotExtendedColumn[];
|
|
56
|
-
groupExtendColumns: DataCubeQuerySnapshotExtendedColumn[];
|
|
57
|
-
constructor(dataCube: DataCubeState);
|
|
58
|
-
setCurrentTab(val: DataCubeEditorTab): void;
|
|
59
|
-
applySnapshot(snapshot: DataCubeQuerySnapshot, previousSnapshot: DataCubeQuerySnapshot | undefined): Promise<void>;
|
|
60
|
-
applyChanges(options?: {
|
|
61
|
-
closeAfterApply?: boolean | undefined;
|
|
62
|
-
}): Promise<void>;
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=DataCubeEditorState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataCubeEditorState.d.ts","sourceRoot":"","sources":["../../../../src/stores/dataCube/editor/DataCubeEditorState.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,+BA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AQ,EAAE,aAAa;IA8BnC,aAAa,CAAC,GAAG,EAAE,iBAAiB;IAIrB,aAAa,CAC1B,QAAQ,EAAE,qBAAqB,EAC/B,gBAAgB,EAAE,qBAAqB,GAAG,SAAS;IAkB/C,YAAY,CAAC,OAAO,CAAC,EAAE;QAAE,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE;CA2EvE"}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { action, makeObservable, observable } from 'mobx';
|
|
18
|
-
import { DataCubeEditorSortsPanelState } from './DataCubeEditorSortsPanelState.js';
|
|
19
|
-
import { DataCubeQuerySnapshotController } from '../core/DataCubeQuerySnapshotManager.js';
|
|
20
|
-
import { _toCol, } from '../core/DataCubeQuerySnapshot.js';
|
|
21
|
-
import { ActionState, assertErrorThrown, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
22
|
-
import { DataCubeEditorGeneralPropertiesPanelState } from './DataCubeEditorGeneralPropertiesPanelState.js';
|
|
23
|
-
import { DataCubeEditorColumnPropertiesPanelState } from './DataCubeEditorColumnPropertiesPanelState.js';
|
|
24
|
-
import { DataCubeEditorColumnsPanelState } from './DataCubeEditorColumnsPanelState.js';
|
|
25
|
-
import { DataCubeConfiguration } from '../core/DataCubeConfiguration.js';
|
|
26
|
-
import { DataCubeEditorVerticalPivotsPanelState } from './DataCubeEditorVerticalPivotsPanelState.js';
|
|
27
|
-
import { DisplayState } from '../../LayoutManagerState.js';
|
|
28
|
-
import { DataCubeEditor } from '../../../components/dataCube/editor/DataCubeEditor.js';
|
|
29
|
-
import { buildExecutableQuery } from '../core/DataCubeQueryBuilder.js';
|
|
30
|
-
import { _lambda } from '../core/DataCubeQueryBuilderUtils.js';
|
|
31
|
-
import { DataCubeEditorHorizontalPivotsPanelState } from './DataCubeEditorHorizontalPivotsPanelState.js';
|
|
32
|
-
export var DataCubeEditorTab;
|
|
33
|
-
(function (DataCubeEditorTab) {
|
|
34
|
-
DataCubeEditorTab["GENERAL_PROPERTIES"] = "General Properties";
|
|
35
|
-
DataCubeEditorTab["COLUMN_PROPERTIES"] = "Column Properties";
|
|
36
|
-
DataCubeEditorTab["COLUMNS"] = "Columns";
|
|
37
|
-
DataCubeEditorTab["VERTICAL_PIVOTS"] = "Vertical Pivots";
|
|
38
|
-
DataCubeEditorTab["HORIZONTAL_PIVOTS"] = "Horizontal Pivots";
|
|
39
|
-
DataCubeEditorTab["SORTS"] = "Sorts";
|
|
40
|
-
})(DataCubeEditorTab || (DataCubeEditorTab = {}));
|
|
41
|
-
/**
|
|
42
|
-
* This query editor state backs the main form editor of data cube. It supports
|
|
43
|
-
* batching changes before application, i.e. allowing user to make multiple edits before
|
|
44
|
-
* applying and propgating them.
|
|
45
|
-
*
|
|
46
|
-
* NOTE: It allows almost FULL 1-1 control over the data cube query state.
|
|
47
|
-
* It could also host other form editor states like filter editors, but due to ergonomic
|
|
48
|
-
* reasons, those have been separated out into their own respective query editor states.
|
|
49
|
-
*/
|
|
50
|
-
export class DataCubeEditorState extends DataCubeQuerySnapshotController {
|
|
51
|
-
display;
|
|
52
|
-
finalizationState = ActionState.create();
|
|
53
|
-
generalProperties;
|
|
54
|
-
columnProperties;
|
|
55
|
-
columns;
|
|
56
|
-
horizontalPivots;
|
|
57
|
-
verticalPivots;
|
|
58
|
-
sorts;
|
|
59
|
-
currentTab = DataCubeEditorTab.GENERAL_PROPERTIES;
|
|
60
|
-
sourceColumns = [];
|
|
61
|
-
leafExtendColumns = [];
|
|
62
|
-
groupExtendColumns = [];
|
|
63
|
-
constructor(dataCube) {
|
|
64
|
-
super(dataCube);
|
|
65
|
-
makeObservable(this, {
|
|
66
|
-
currentTab: observable,
|
|
67
|
-
setCurrentTab: action,
|
|
68
|
-
sourceColumns: observable.ref,
|
|
69
|
-
leafExtendColumns: observable.ref,
|
|
70
|
-
groupExtendColumns: observable.ref,
|
|
71
|
-
applySnapshot: action,
|
|
72
|
-
applyChanges: action,
|
|
73
|
-
});
|
|
74
|
-
this.display = new DisplayState(this.dataCube.repl.layout, 'Properties', () => _jsx(DataCubeEditor, { dataCube: this.dataCube }));
|
|
75
|
-
this.generalProperties = new DataCubeEditorGeneralPropertiesPanelState(this);
|
|
76
|
-
this.columnProperties = new DataCubeEditorColumnPropertiesPanelState(this);
|
|
77
|
-
this.columns = new DataCubeEditorColumnsPanelState(this);
|
|
78
|
-
this.horizontalPivots = new DataCubeEditorHorizontalPivotsPanelState(this);
|
|
79
|
-
this.verticalPivots = new DataCubeEditorVerticalPivotsPanelState(this);
|
|
80
|
-
this.sorts = new DataCubeEditorSortsPanelState(this);
|
|
81
|
-
}
|
|
82
|
-
setCurrentTab(val) {
|
|
83
|
-
this.currentTab = val;
|
|
84
|
-
}
|
|
85
|
-
async applySnapshot(snapshot, previousSnapshot) {
|
|
86
|
-
this.sourceColumns = snapshot.data.sourceColumns;
|
|
87
|
-
this.leafExtendColumns = snapshot.data.leafExtendedColumns;
|
|
88
|
-
this.groupExtendColumns = snapshot.data.groupExtendedColumns;
|
|
89
|
-
const configuration = DataCubeConfiguration.serialization.fromJson(snapshot.data.configuration);
|
|
90
|
-
this.generalProperties.applySnaphot(snapshot, configuration);
|
|
91
|
-
this.columnProperties.applySnaphot(snapshot, configuration);
|
|
92
|
-
this.columns.applySnaphot(snapshot, configuration);
|
|
93
|
-
this.horizontalPivots.applySnaphot(snapshot, configuration);
|
|
94
|
-
this.verticalPivots.applySnaphot(snapshot, configuration);
|
|
95
|
-
this.sorts.applySnaphot(snapshot, configuration);
|
|
96
|
-
}
|
|
97
|
-
async applyChanges(options) {
|
|
98
|
-
const task = this.dataCube.newTask('Validate query');
|
|
99
|
-
this.finalizationState.inProgress();
|
|
100
|
-
const baseSnapshot = guaranteeNonNullable(this.getLatestSnapshot());
|
|
101
|
-
const newSnapshot = baseSnapshot.clone();
|
|
102
|
-
// grid configuration must be processed before processing columns' configuration
|
|
103
|
-
// to properly generate the container configuration
|
|
104
|
-
this.generalProperties.buildSnapshot(newSnapshot, baseSnapshot);
|
|
105
|
-
this.columnProperties.buildSnapshot(newSnapshot, baseSnapshot);
|
|
106
|
-
// NOTE: column selection must be processed first since the snapshot
|
|
107
|
-
// processing of other parts of the query can be affected by column selection.
|
|
108
|
-
this.columns.buildSnapshot(newSnapshot, baseSnapshot);
|
|
109
|
-
this.horizontalPivots.buildSnapshot(newSnapshot, baseSnapshot);
|
|
110
|
-
this.verticalPivots.buildSnapshot(newSnapshot, baseSnapshot);
|
|
111
|
-
this.sorts.buildSnapshot(newSnapshot, baseSnapshot);
|
|
112
|
-
// finalize
|
|
113
|
-
newSnapshot.finalize();
|
|
114
|
-
if (newSnapshot.hashCode !== baseSnapshot.hashCode) {
|
|
115
|
-
// NOTE: Compile the query to validate. This is a helpful check for a lot of different scenarios
|
|
116
|
-
// where the consistency of the query might be thrown off by changes from various parts that the
|
|
117
|
-
// editor does not have full control over (i.e. extended columns, pivot cast columns, etc.)
|
|
118
|
-
// e.g. when a column that group-level extended columns' expressions depend on has been unselected.
|
|
119
|
-
try {
|
|
120
|
-
const tempSnapshot = newSnapshot.clone();
|
|
121
|
-
// NOTE: in order to obtain the actual pivot result columns information, we need to execute
|
|
122
|
-
// the query which is expensive in certain cases, so here, we just compute the "optimistic" set
|
|
123
|
-
// of pivot result columns for casting to guarantee validation is not thronn off.
|
|
124
|
-
if (tempSnapshot.data.pivot) {
|
|
125
|
-
tempSnapshot.data.pivot.castColumns =
|
|
126
|
-
this.sorts.selector.availableColumns
|
|
127
|
-
.filter((col) => !tempSnapshot.data.groupExtendedColumns.find((column) => column.name === col.name))
|
|
128
|
-
.map((col) => _toCol(col));
|
|
129
|
-
}
|
|
130
|
-
await this.dataCube.engine.getQueryRelationType(_lambda([], [
|
|
131
|
-
buildExecutableQuery(tempSnapshot, this.dataCube.engine.filterOperations, this.dataCube.engine.aggregateOperations),
|
|
132
|
-
]));
|
|
133
|
-
}
|
|
134
|
-
catch (error) {
|
|
135
|
-
assertErrorThrown(error);
|
|
136
|
-
this.dataCube.repl.alertError(error, {
|
|
137
|
-
message: `Query Validation Failure: ${error.message}`,
|
|
138
|
-
});
|
|
139
|
-
this.dataCube.endTask(task);
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
finally {
|
|
143
|
-
this.finalizationState.complete();
|
|
144
|
-
}
|
|
145
|
-
this.publishSnapshot(newSnapshot);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
this.finalizationState.complete();
|
|
149
|
-
}
|
|
150
|
-
if (options?.closeAfterApply) {
|
|
151
|
-
this.display.close();
|
|
152
|
-
}
|
|
153
|
-
this.dataCube.endTask(task);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
//# sourceMappingURL=DataCubeEditorState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataCubeEditorState.js","sourceRoot":"","sources":["../../../../src/stores/dataCube/editor/DataCubeEditorState.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,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,CAAC,MAAM,CAAC,mBAAmB,CACzC;iBACF,CACF,CACF,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACzB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE;oBACnC,OAAO,EAAE,6BAA6B,KAAK,CAAC,OAAO,EAAE;iBACtD,CAAC,CAAC;gBACH,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;gBAC5B,OAAO;YACT,CAAC;oBAAS,CAAC;gBACT,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;YACpC,CAAC;YAED,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QACpC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QAED,IAAI,OAAO,EAAE,eAAe,EAAE,CAAC;YAC7B,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACvB,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
|
|
@@ -1,35 +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
|
-
import type { DataCubeState } from '../DataCubeState.js';
|
|
17
|
-
import type { DataCubeConfiguration } from '../core/DataCubeConfiguration.js';
|
|
18
|
-
import { type DataCubeQuerySnapshot } from '../core/DataCubeQuerySnapshot.js';
|
|
19
|
-
import { DataCubeEditorColumnsSelectorColumnState, DataCubeEditorColumnsSelectorState } from './DataCubeEditorColumnsSelectorState.js';
|
|
20
|
-
import type { DataCubeQueryEditorPanelState } from './DataCubeEditorPanelState.js';
|
|
21
|
-
import type { DataCubeEditorState } from './DataCubeEditorState.js';
|
|
22
|
-
export declare class DataCubeEditorVerticalPivotColumnsSelectorState extends DataCubeEditorColumnsSelectorState<DataCubeEditorColumnsSelectorColumnState> {
|
|
23
|
-
cloneColumn(column: DataCubeEditorColumnsSelectorColumnState): DataCubeEditorColumnsSelectorColumnState;
|
|
24
|
-
get availableColumns(): DataCubeEditorColumnsSelectorColumnState[];
|
|
25
|
-
}
|
|
26
|
-
export declare class DataCubeEditorVerticalPivotsPanelState implements DataCubeQueryEditorPanelState {
|
|
27
|
-
readonly dataCube: DataCubeState;
|
|
28
|
-
readonly editor: DataCubeEditorState;
|
|
29
|
-
readonly selector: DataCubeEditorVerticalPivotColumnsSelectorState;
|
|
30
|
-
constructor(editor: DataCubeEditorState);
|
|
31
|
-
adaptPropagatedChanges(): void;
|
|
32
|
-
applySnaphot(snapshot: DataCubeQuerySnapshot, configuration: DataCubeConfiguration): void;
|
|
33
|
-
buildSnapshot(newSnapshot: DataCubeQuerySnapshot, baseSnapshot: DataCubeQuerySnapshot): void;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=DataCubeEditorVerticalPivotsPanelState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataCubeEditorVerticalPivotsPanelState.d.ts","sourceRoot":"","sources":["../../../../src/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,wCAAwC,EACxC,kCAAkC,EACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,qBAAa,+CAAgD,SAAQ,kCAAkC,CAAC,wCAAwC,CAAC;IACtI,WAAW,CAClB,MAAM,EAAE,wCAAwC,GAC/C,wCAAwC;IAO3C,IAAa,gBAAgB,+CAkB5B;CACF;AAED,qBAAa,sCACX,YAAW,6BAA6B;IAExC,QAAQ,CAAC,QAAQ,EAAG,aAAa,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAG,mBAAmB,CAAC;IACtC,QAAQ,CAAC,QAAQ,EAAG,+CAA+C,CAAC;gBAExD,MAAM,EAAE,mBAAmB;IAMvC,sBAAsB,IAAI,IAAI;IAQ9B,YAAY,CACV,QAAQ,EAAE,qBAAqB,EAC/B,aAAa,EAAE,qBAAqB;IAUtC,aAAa,CACX,WAAW,EAAE,qBAAqB,EAClC,YAAY,EAAE,qBAAqB;CAYtC"}
|
|
@@ -1,58 +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
|
-
import { uniqBy } from '@finos/legend-shared';
|
|
17
|
-
import { DataCubeColumnKind } from '../core/DataCubeQueryEngine.js';
|
|
18
|
-
import { _toCol, } from '../core/DataCubeQuerySnapshot.js';
|
|
19
|
-
import { DataCubeEditorColumnsSelectorColumnState, DataCubeEditorColumnsSelectorState, } from './DataCubeEditorColumnsSelectorState.js';
|
|
20
|
-
export class DataCubeEditorVerticalPivotColumnsSelectorState extends DataCubeEditorColumnsSelectorState {
|
|
21
|
-
cloneColumn(column) {
|
|
22
|
-
return new DataCubeEditorColumnsSelectorColumnState(column.name, column.type);
|
|
23
|
-
}
|
|
24
|
-
get availableColumns() {
|
|
25
|
-
return this.editor.columnProperties.columns
|
|
26
|
-
.filter((column) => column.kind === DataCubeColumnKind.DIMENSION &&
|
|
27
|
-
// exclude group-level extended columns
|
|
28
|
-
!this.editor.groupExtendColumns.find((col) => col.name === column.name) &&
|
|
29
|
-
// exclude pivot columns
|
|
30
|
-
!this.editor.horizontalPivots.selector.selectedColumns.find((col) => col.name === column.name))
|
|
31
|
-
.map((col) => new DataCubeEditorColumnsSelectorColumnState(col.name, col.type));
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export class DataCubeEditorVerticalPivotsPanelState {
|
|
35
|
-
dataCube;
|
|
36
|
-
editor;
|
|
37
|
-
selector;
|
|
38
|
-
constructor(editor) {
|
|
39
|
-
this.editor = editor;
|
|
40
|
-
this.dataCube = editor.dataCube;
|
|
41
|
-
this.selector = new DataCubeEditorVerticalPivotColumnsSelectorState(editor);
|
|
42
|
-
}
|
|
43
|
-
adaptPropagatedChanges() {
|
|
44
|
-
this.selector.setSelectedColumns(this.selector.selectedColumns.filter((column) => this.selector.availableColumns.find((col) => col.name === column.name)));
|
|
45
|
-
}
|
|
46
|
-
applySnaphot(snapshot, configuration) {
|
|
47
|
-
this.selector.setSelectedColumns((snapshot.data.groupBy?.columns ?? []).map((col) => new DataCubeEditorColumnsSelectorColumnState(col.name, col.type)));
|
|
48
|
-
}
|
|
49
|
-
buildSnapshot(newSnapshot, baseSnapshot) {
|
|
50
|
-
newSnapshot.data.groupBy = this.selector.selectedColumns.length
|
|
51
|
-
? {
|
|
52
|
-
columns: this.selector.selectedColumns.map((col) => _toCol(col)),
|
|
53
|
-
}
|
|
54
|
-
: undefined;
|
|
55
|
-
newSnapshot.data.selectColumns = uniqBy([...newSnapshot.data.selectColumns, ...this.selector.selectedColumns], (col) => col.name).map((col) => _toCol(col));
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=DataCubeEditorVerticalPivotsPanelState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataCubeEditorVerticalPivotsPanelState.js","sourceRoot":"","sources":["../../../../src/stores/dataCube/editor/DataCubeEditorVerticalPivotsPanelState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EACL,MAAM,GAEP,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,wCAAwC,EACxC,kCAAkC,GACnC,MAAM,yCAAyC,CAAC;AAIjD,MAAM,OAAO,+CAAgD,SAAQ,kCAA4E;IACtI,WAAW,CAClB,MAAgD;QAEhD,OAAO,IAAI,wCAAwC,CACjD,MAAM,CAAC,IAAI,EACX,MAAM,CAAC,IAAI,CACZ,CAAC;IACJ,CAAC;IAED,IAAa,gBAAgB;QAC3B,OAAO,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO;aACxC,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,IAAI,KAAK,kBAAkB,CAAC,SAA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,GAAG,CACxC,CAAC,GAAG,EAAE,EAAE,CACN,IAAI,wCAAwC,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CACnE,CACF,CAAC;IACJ,CAAC;IAED,aAAa,CACX,WAAkC,EAClC,YAAmC;QAEnC,WAAW,CAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,MAAM;YAC7D,CAAC,CAAC;gBACE,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aACjE;YACH,CAAC,CAAC,SAAS,CAAC;QACd,WAAW,CAAC,IAAI,CAAC,aAAa,GAAG,MAAM,CACrC,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,EACrE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAClB,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,CAAC;CACF"}
|
|
@@ -1,61 +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
|
-
import type { DataCubeState } from '../DataCubeState.js';
|
|
17
|
-
import { DisplayState } from '../../LayoutManagerState.js';
|
|
18
|
-
import { editor as monacoEditorAPI, Uri } from 'monaco-editor';
|
|
19
|
-
import { ActionState } from '@finos/legend-shared';
|
|
20
|
-
import { DataCubeColumnKind } from '../core/DataCubeQueryEngine.js';
|
|
21
|
-
import type { DataCubeQueryBuilderError } from '../../../server/REPLEngine.js';
|
|
22
|
-
import type { DataCubeExtendManagerState } from './DataCubeExtendManagerState.js';
|
|
23
|
-
import { type V1_ValueSpecification } from '@finos/legend-graph';
|
|
24
|
-
import type { DataCubeColumnConfiguration } from '../core/DataCubeConfiguration.js';
|
|
25
|
-
export declare class DataCubeNewColumnState {
|
|
26
|
-
readonly uuid: string;
|
|
27
|
-
readonly dataCube: DataCubeState;
|
|
28
|
-
readonly manager: DataCubeExtendManagerState;
|
|
29
|
-
private readonly _name;
|
|
30
|
-
readonly display: DisplayState;
|
|
31
|
-
readonly validationState: ActionState;
|
|
32
|
-
readonly finalizationState: ActionState;
|
|
33
|
-
name: string;
|
|
34
|
-
expectedType: string;
|
|
35
|
-
isGroupLevel: boolean;
|
|
36
|
-
columnKind?: DataCubeColumnKind | undefined;
|
|
37
|
-
code: string;
|
|
38
|
-
codePrefix: string;
|
|
39
|
-
codeSuffix: string;
|
|
40
|
-
editor?: monacoEditorAPI.IStandaloneCodeEditor | undefined;
|
|
41
|
-
readonly editorModel: monacoEditorAPI.ITextModel;
|
|
42
|
-
readonly editorModelUri: Uri;
|
|
43
|
-
codeError?: DataCubeQueryBuilderError | undefined;
|
|
44
|
-
returnType?: string | undefined;
|
|
45
|
-
constructor(manager: DataCubeExtendManagerState, referenceColumn?: DataCubeColumnConfiguration | undefined);
|
|
46
|
-
setName(value: string): void;
|
|
47
|
-
get isNameValid(): boolean;
|
|
48
|
-
setExpectedType(value: string): void;
|
|
49
|
-
get isTypeValid(): boolean;
|
|
50
|
-
setColumnKind(isGroupLevel: boolean, columnKind: DataCubeColumnKind | undefined): void;
|
|
51
|
-
setCode(value: string): void;
|
|
52
|
-
setEditor(editor: monacoEditorAPI.IStandaloneCodeEditor): void;
|
|
53
|
-
setReturnType(value: string | undefined): void;
|
|
54
|
-
showError(error: DataCubeQueryBuilderError): void;
|
|
55
|
-
clearError(): void;
|
|
56
|
-
buildExtendBaseQuery(): V1_ValueSpecification;
|
|
57
|
-
getReturnType(): Promise<string | undefined>;
|
|
58
|
-
applyChanges(): Promise<void>;
|
|
59
|
-
close(): void;
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=DataCubeColumnEditorState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataCubeColumnEditorState.d.ts","sourceRoot":"","sources":["../../../../src/stores/dataCube/extend/DataCubeColumnEditorState.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EACL,WAAW,EAMZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAEL,kBAAkB,EAInB,MAAM,gCAAgC,CAAC;AAMxC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAIL,KAAK,qBAAqB,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAEpF,qBAAa,sBAAsB;IACjC,QAAQ,CAAC,IAAI,SAAU;IACvB,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;IAI7C,OAA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