@finos/legend-application-repl 0.0.21 → 0.0.23

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.
Files changed (291) hide show
  1. package/lib/{stores/CompletionResult.d.ts → __lib__/LegendREPLEvent.d.ts} +4 -6
  2. package/lib/__lib__/LegendREPLEvent.d.ts.map +1 -0
  3. package/lib/__lib__/LegendREPLEvent.js +21 -0
  4. package/lib/__lib__/LegendREPLEvent.js.map +1 -0
  5. package/lib/{stores/dataCube/DataCubePanelState.js → __lib__/LegendREPLSetting.d.ts} +3 -6
  6. package/lib/__lib__/LegendREPLSetting.d.ts.map +1 -0
  7. package/lib/{components/grid/TDSLambdaBuilder.d.ts → __lib__/LegendREPLSetting.js} +5 -4
  8. package/lib/__lib__/LegendREPLSetting.js.map +1 -0
  9. package/lib/application/{LegendREPLGridClient.d.ts → LegendREPL.d.ts} +10 -10
  10. package/lib/application/LegendREPL.d.ts.map +1 -0
  11. package/lib/application/{LegendREPLGridClient.js → LegendREPL.js} +10 -15
  12. package/lib/application/LegendREPL.js.map +1 -0
  13. package/lib/application/{LegendREPLGridClientApplicationConfig.d.ts → LegendREPLApplicationConfig.d.ts} +4 -4
  14. package/lib/application/LegendREPLApplicationConfig.d.ts.map +1 -0
  15. package/lib/application/{LegendREPLGridClientApplicationConfig.js → LegendREPLApplicationConfig.js} +2 -2
  16. package/lib/application/LegendREPLApplicationConfig.js.map +1 -0
  17. package/lib/application/{LegendREPLGridClientPluginManager.d.ts → LegendREPLPluginManager.d.ts} +4 -4
  18. package/lib/application/LegendREPLPluginManager.d.ts.map +1 -0
  19. package/lib/application/{LegendREPLGridClientPluginManager.js → LegendREPLPluginManager.js} +3 -3
  20. package/lib/application/LegendREPLPluginManager.js.map +1 -0
  21. package/lib/components/{Core_LegendREPLGridClientApplicationPlugin.d.ts → Core_LegendREPLApplicationPlugin.d.ts} +3 -3
  22. package/lib/components/Core_LegendREPLApplicationPlugin.d.ts.map +1 -0
  23. package/lib/components/{Core_LegendREPLGridClientApplicationPlugin.js → Core_LegendREPLApplicationPlugin.js} +12 -7
  24. package/lib/components/Core_LegendREPLApplicationPlugin.js.map +1 -0
  25. package/lib/components/{AgGrid.d.ts → LegendREPLApplication.d.ts} +8 -6
  26. package/lib/components/LegendREPLApplication.d.ts.map +1 -0
  27. package/lib/components/LegendREPLApplication.js +32 -0
  28. package/lib/components/LegendREPLApplication.js.map +1 -0
  29. package/lib/components/{LegendREPLGridClientFrameworkProvider.d.ts → LegendREPLFrameworkProvider.d.ts} +4 -4
  30. package/lib/components/LegendREPLFrameworkProvider.d.ts.map +1 -0
  31. package/lib/components/{LegendREPLGridClientFrameworkProvider.js → LegendREPLFrameworkProvider.js} +9 -9
  32. package/lib/components/LegendREPLFrameworkProvider.js.map +1 -0
  33. package/lib/components/{REPLGridClientStoreProvider.d.ts → REPLStoreProvider.d.ts} +5 -5
  34. package/lib/components/REPLStoreProvider.d.ts.map +1 -0
  35. package/lib/components/{REPLGridClientStoreProvider.js → REPLStoreProvider.js} +9 -9
  36. package/lib/components/REPLStoreProvider.js.map +1 -0
  37. package/lib/components/dataCube/DataCube.d.ts +19 -0
  38. package/lib/components/dataCube/DataCube.d.ts.map +1 -0
  39. package/lib/components/dataCube/DataCube.js +33 -0
  40. package/lib/components/dataCube/DataCube.js.map +1 -0
  41. package/lib/components/{REPLGridClient.d.ts → dataCube/editor/DataCubeEditor.d.ts} +5 -9
  42. package/lib/components/dataCube/editor/DataCubeEditor.d.ts.map +1 -0
  43. package/lib/components/dataCube/editor/DataCubeEditor.js +54 -0
  44. package/lib/components/dataCube/editor/DataCubeEditor.js.map +1 -0
  45. package/lib/components/dataCube/editor/DataCubeEditorCodePanel.d.ts +19 -0
  46. package/lib/components/dataCube/editor/DataCubeEditorCodePanel.d.ts.map +1 -0
  47. package/lib/components/dataCube/{DataCubeQueryTextEditor.js → editor/DataCubeEditorCodePanel.js} +20 -20
  48. package/lib/components/dataCube/editor/DataCubeEditorCodePanel.js.map +1 -0
  49. package/lib/components/dataCube/{DataCubeGridEditor.d.ts → editor/DataCubeEditorSortPanel.d.ts} +4 -4
  50. package/lib/components/dataCube/editor/DataCubeEditorSortPanel.d.ts.map +1 -0
  51. package/lib/components/dataCube/editor/DataCubeEditorSortPanel.js +61 -0
  52. package/lib/components/dataCube/editor/DataCubeEditorSortPanel.js.map +1 -0
  53. package/lib/components/dataCube/{DataCubeQueryTextEditor.d.ts → grid/DataCubeGrid.d.ts} +4 -4
  54. package/lib/components/dataCube/grid/DataCubeGrid.d.ts.map +1 -0
  55. package/lib/components/dataCube/grid/DataCubeGrid.js +59 -0
  56. package/lib/components/dataCube/grid/DataCubeGrid.js.map +1 -0
  57. package/lib/grid.css +1 -1
  58. package/lib/index.css +2 -2
  59. package/lib/index.css.map +1 -1
  60. package/lib/index.d.ts +1 -1
  61. package/lib/index.d.ts.map +1 -1
  62. package/lib/index.js +8 -8
  63. package/lib/index.js.map +1 -1
  64. package/lib/package.json +3 -3
  65. package/lib/repl.css +1 -1
  66. package/lib/server/REPLServerClient.d.ts +11 -13
  67. package/lib/server/REPLServerClient.d.ts.map +1 -1
  68. package/lib/server/REPLServerClient.js +27 -15
  69. package/lib/server/REPLServerClient.js.map +1 -1
  70. package/lib/server/models/DataCubeEngineModels.d.ts +50 -0
  71. package/lib/server/models/DataCubeEngineModels.d.ts.map +1 -0
  72. package/lib/server/models/DataCubeEngineModels.js +39 -0
  73. package/lib/server/models/DataCubeEngineModels.js.map +1 -0
  74. package/lib/server/models/DataCubeQuery.d.ts +41 -0
  75. package/lib/server/models/DataCubeQuery.d.ts.map +1 -0
  76. package/lib/server/models/DataCubeQuery.js +78 -0
  77. package/lib/server/models/DataCubeQuery.js.map +1 -0
  78. package/lib/stores/{LegendREPLGridClientApplicationPlugin.d.ts → LegendREPLApplicationPlugin.d.ts} +4 -4
  79. package/lib/stores/LegendREPLApplicationPlugin.d.ts.map +1 -0
  80. package/lib/stores/{LegendREPLGridClientApplicationPlugin.js → LegendREPLApplicationPlugin.js} +2 -2
  81. package/lib/stores/LegendREPLApplicationPlugin.js.map +1 -0
  82. package/lib/stores/LegendREPLBaseStore.d.ts +25 -0
  83. package/lib/stores/LegendREPLBaseStore.d.ts.map +1 -0
  84. package/lib/stores/{LegendREPLGridClientBaseStore.js → LegendREPLBaseStore.js} +2 -2
  85. package/lib/stores/LegendREPLBaseStore.js.map +1 -0
  86. package/lib/stores/dataCube/DataCubeMetaModelConst.d.ts +49 -0
  87. package/lib/stores/dataCube/DataCubeMetaModelConst.d.ts.map +1 -0
  88. package/lib/stores/dataCube/DataCubeMetaModelConst.js +57 -0
  89. package/lib/stores/dataCube/DataCubeMetaModelConst.js.map +1 -0
  90. package/lib/stores/dataCube/DataCubeState.d.ts +18 -23
  91. package/lib/stores/dataCube/DataCubeState.d.ts.map +1 -1
  92. package/lib/stores/dataCube/DataCubeState.js +31 -181
  93. package/lib/stores/dataCube/DataCubeState.js.map +1 -1
  94. package/lib/stores/{REPLGridClientStore.d.ts → dataCube/DataCubeStore.d.ts} +7 -7
  95. package/lib/stores/dataCube/DataCubeStore.d.ts.map +1 -0
  96. package/lib/stores/{REPLGridClientStore.js → dataCube/DataCubeStore.js} +5 -4
  97. package/lib/stores/dataCube/DataCubeStore.js.map +1 -0
  98. package/lib/stores/dataCube/core/DataCubeEngine.d.ts +29 -0
  99. package/lib/stores/dataCube/core/DataCubeEngine.d.ts.map +1 -0
  100. package/lib/stores/dataCube/core/DataCubeEngine.js +47 -0
  101. package/lib/stores/dataCube/core/DataCubeEngine.js.map +1 -0
  102. package/lib/stores/dataCube/core/DataCubeQueryAnalyzer.d.ts +37 -0
  103. package/lib/stores/dataCube/core/DataCubeQueryAnalyzer.d.ts.map +1 -0
  104. package/lib/stores/dataCube/core/DataCubeQueryAnalyzer.js +269 -0
  105. package/lib/stores/dataCube/core/DataCubeQueryAnalyzer.js.map +1 -0
  106. package/lib/stores/dataCube/core/DataCubeQueryBuilder.d.ts +19 -0
  107. package/lib/stores/dataCube/core/DataCubeQueryBuilder.d.ts.map +1 -0
  108. package/lib/stores/dataCube/core/DataCubeQueryBuilder.js +98 -0
  109. package/lib/stores/dataCube/core/DataCubeQueryBuilder.js.map +1 -0
  110. package/lib/stores/dataCube/core/DataCubeQuerySnapshot.d.ts +73 -0
  111. package/lib/stores/dataCube/core/DataCubeQuerySnapshot.d.ts.map +1 -0
  112. package/lib/stores/dataCube/core/DataCubeQuerySnapshot.js +56 -0
  113. package/lib/stores/dataCube/core/DataCubeQuerySnapshot.js.map +1 -0
  114. package/lib/stores/dataCube/{DataCubePanelState.d.ts → core/DataCubeQuerySnapshotManager.d.ts} +11 -6
  115. package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.d.ts.map +1 -0
  116. package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.js +46 -0
  117. package/lib/stores/dataCube/core/DataCubeQuerySnapshotManager.js.map +1 -0
  118. package/lib/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.d.ts +27 -0
  119. package/lib/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.d.ts.map +1 -0
  120. package/lib/{components/grid/REPLGridServerResult.js → stores/dataCube/core/DataCubeQuerySnapshotSubscriber.js} +18 -10
  121. package/lib/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.js.map +1 -0
  122. package/lib/stores/dataCube/{DataCubeQueryEditorState.d.ts → editor/DataCubeEditorCodeState.d.ts} +12 -2
  123. package/lib/stores/dataCube/editor/DataCubeEditorCodeState.d.ts.map +1 -0
  124. package/lib/stores/dataCube/editor/DataCubeEditorCodeState.js +87 -0
  125. package/lib/stores/dataCube/editor/DataCubeEditorCodeState.js.map +1 -0
  126. package/lib/stores/dataCube/editor/DataCubeEditorQuerySnapshotBuilder.d.ts +28 -0
  127. package/lib/stores/dataCube/editor/DataCubeEditorQuerySnapshotBuilder.d.ts.map +1 -0
  128. package/lib/stores/dataCube/editor/DataCubeEditorQuerySnapshotBuilder.js +17 -0
  129. package/lib/stores/dataCube/editor/DataCubeEditorQuerySnapshotBuilder.js.map +1 -0
  130. package/lib/stores/dataCube/editor/DataCubeEditorSortState.d.ts +46 -0
  131. package/lib/stores/dataCube/editor/DataCubeEditorSortState.d.ts.map +1 -0
  132. package/lib/stores/dataCube/editor/DataCubeEditorSortState.js +133 -0
  133. package/lib/stores/dataCube/editor/DataCubeEditorSortState.js.map +1 -0
  134. package/lib/stores/dataCube/editor/DataCubeEditorState.d.ts +44 -0
  135. package/lib/stores/dataCube/editor/DataCubeEditorState.d.ts.map +1 -0
  136. package/lib/stores/dataCube/editor/DataCubeEditorState.js +77 -0
  137. package/lib/stores/dataCube/editor/DataCubeEditorState.js.map +1 -0
  138. package/lib/{components/grid/ServerSideDataSource.d.ts → stores/dataCube/grid/DataCubeGridClientEngine.d.ts} +17 -14
  139. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.d.ts.map +1 -0
  140. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.js +96 -0
  141. package/lib/stores/dataCube/grid/DataCubeGridClientEngine.js.map +1 -0
  142. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotAnalyzer.d.ts +19 -0
  143. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotAnalyzer.d.ts.map +1 -0
  144. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotAnalyzer.js +224 -0
  145. package/lib/stores/dataCube/grid/DataCubeGridQuerySnapshotAnalyzer.js.map +1 -0
  146. package/lib/stores/dataCube/grid/DataCubeGridState.d.ts +33 -0
  147. package/lib/stores/dataCube/grid/DataCubeGridState.d.ts.map +1 -0
  148. package/lib/stores/dataCube/grid/DataCubeGridState.js +50 -0
  149. package/lib/stores/dataCube/grid/DataCubeGridState.js.map +1 -0
  150. package/package.json +9 -9
  151. package/src/{Const.ts → __lib__/LegendREPLEvent.ts} +1 -16
  152. package/{lib/components/grid/REPLGridServerResult.d.ts → src/__lib__/LegendREPLSetting.ts} +3 -6
  153. package/src/application/LegendREPL.tsx +64 -0
  154. package/src/application/{LegendREPLGridClientApplicationConfig.ts → LegendREPLApplicationConfig.ts} +3 -3
  155. package/src/application/{LegendREPLGridClientPluginManager.ts → LegendREPLPluginManager.ts} +5 -5
  156. package/src/components/{Core_LegendREPLGridClientApplicationPlugin.tsx → Core_LegendREPLApplicationPlugin.tsx} +11 -6
  157. package/src/components/{LegendREPLGridClientApplication.tsx → LegendREPLApplication.tsx} +11 -28
  158. package/src/components/LegendREPLFrameworkProvider.tsx +57 -0
  159. package/src/components/{REPLGridClientStoreProvider.tsx → REPLStoreProvider.tsx} +17 -21
  160. package/src/components/dataCube/DataCube.tsx +63 -0
  161. package/src/components/dataCube/editor/DataCubeEditor.tsx +127 -0
  162. package/src/components/dataCube/{DataCubeQueryTextEditor.tsx → editor/DataCubeEditorCodePanel.tsx} +69 -76
  163. package/src/components/dataCube/editor/DataCubeEditorSortPanel.tsx +274 -0
  164. package/src/components/dataCube/grid/DataCubeGrid.tsx +77 -0
  165. package/src/index.tsx +12 -8
  166. package/src/server/REPLServerClient.ts +50 -78
  167. package/src/server/models/DataCubeEngineModels.ts +84 -0
  168. package/src/server/models/DataCubeQuery.ts +130 -0
  169. package/src/stores/{LegendREPLGridClientApplicationPlugin.ts → LegendREPLApplicationPlugin.ts} +4 -4
  170. package/src/stores/{LegendREPLGridClientBaseStore.ts → LegendREPLBaseStore.ts} +9 -9
  171. package/src/stores/dataCube/DataCubeMetaModelConst.ts +61 -0
  172. package/src/stores/dataCube/DataCubeState.ts +39 -303
  173. package/src/stores/{REPLGridClientStore.ts → dataCube/DataCubeStore.ts} +8 -6
  174. package/src/stores/dataCube/core/DataCubeEngine.ts +79 -0
  175. package/src/stores/dataCube/core/DataCubeQueryAnalyzer.ts +424 -0
  176. package/src/stores/dataCube/core/DataCubeQueryBuilder.ts +151 -0
  177. package/src/stores/dataCube/core/DataCubeQuerySnapshot.ts +201 -0
  178. package/src/stores/dataCube/core/DataCubeQuerySnapshotManager.ts +67 -0
  179. package/src/stores/dataCube/core/DataCubeQuerySnapshotSubscriber.ts +43 -0
  180. package/src/stores/dataCube/editor/DataCubeEditorCodeState.ts +166 -0
  181. package/src/{components/grid/REPLGridServerResult.ts → stores/dataCube/editor/DataCubeEditorQuerySnapshotBuilder.ts} +14 -11
  182. package/src/stores/dataCube/editor/DataCubeEditorSortState.ts +198 -0
  183. package/src/stores/dataCube/editor/DataCubeEditorState.ts +94 -0
  184. package/src/stores/dataCube/grid/DataCubeGridClientEngine.ts +152 -0
  185. package/src/stores/dataCube/grid/DataCubeGridQuerySnapshotAnalyzer.ts +245 -0
  186. package/src/stores/dataCube/grid/DataCubeGridState.ts +62 -0
  187. package/tsconfig.json +33 -29
  188. package/lib/Const.d.ts +0 -32
  189. package/lib/Const.d.ts.map +0 -1
  190. package/lib/Const.js +0 -35
  191. package/lib/Const.js.map +0 -1
  192. package/lib/application/LegendREPLGridClient.d.ts.map +0 -1
  193. package/lib/application/LegendREPLGridClient.js.map +0 -1
  194. package/lib/application/LegendREPLGridClientApplicationConfig.d.ts.map +0 -1
  195. package/lib/application/LegendREPLGridClientApplicationConfig.js.map +0 -1
  196. package/lib/application/LegendREPLGridClientPluginManager.d.ts.map +0 -1
  197. package/lib/application/LegendREPLGridClientPluginManager.js.map +0 -1
  198. package/lib/components/AgGrid.d.ts.map +0 -1
  199. package/lib/components/AgGrid.js +0 -41
  200. package/lib/components/AgGrid.js.map +0 -1
  201. package/lib/components/Core_LegendREPLGridClientApplicationPlugin.d.ts.map +0 -1
  202. package/lib/components/Core_LegendREPLGridClientApplicationPlugin.js.map +0 -1
  203. package/lib/components/LegendREPLGridClientApplication.d.ts +0 -31
  204. package/lib/components/LegendREPLGridClientApplication.d.ts.map +0 -1
  205. package/lib/components/LegendREPLGridClientApplication.js +0 -39
  206. package/lib/components/LegendREPLGridClientApplication.js.map +0 -1
  207. package/lib/components/LegendREPLGridClientFrameworkProvider.d.ts.map +0 -1
  208. package/lib/components/LegendREPLGridClientFrameworkProvider.js.map +0 -1
  209. package/lib/components/REPLGridClient.d.ts.map +0 -1
  210. package/lib/components/REPLGridClient.js +0 -143
  211. package/lib/components/REPLGridClient.js.map +0 -1
  212. package/lib/components/REPLGridClientStoreProvider.d.ts.map +0 -1
  213. package/lib/components/REPLGridClientStoreProvider.js.map +0 -1
  214. package/lib/components/dataCube/DataCubeGridEditor.d.ts.map +0 -1
  215. package/lib/components/dataCube/DataCubeGridEditor.js +0 -37
  216. package/lib/components/dataCube/DataCubeGridEditor.js.map +0 -1
  217. package/lib/components/dataCube/DataCubeQueryTextEditor.d.ts.map +0 -1
  218. package/lib/components/dataCube/DataCubeQueryTextEditor.js.map +0 -1
  219. package/lib/components/grid/GridUtils.d.ts +0 -31
  220. package/lib/components/grid/GridUtils.d.ts.map +0 -1
  221. package/lib/components/grid/GridUtils.js +0 -174
  222. package/lib/components/grid/GridUtils.js.map +0 -1
  223. package/lib/components/grid/REPLGridServerResult.d.ts.map +0 -1
  224. package/lib/components/grid/REPLGridServerResult.js.map +0 -1
  225. package/lib/components/grid/ServerSideDataSource.d.ts.map +0 -1
  226. package/lib/components/grid/ServerSideDataSource.js +0 -109
  227. package/lib/components/grid/ServerSideDataSource.js.map +0 -1
  228. package/lib/components/grid/TDSLambdaBuilder.d.ts.map +0 -1
  229. package/lib/components/grid/TDSLambdaBuilder.js +0 -314
  230. package/lib/components/grid/TDSLambdaBuilder.js.map +0 -1
  231. package/lib/components/grid/TDSQuery.d.ts +0 -25
  232. package/lib/components/grid/TDSQuery.d.ts.map +0 -1
  233. package/lib/components/grid/TDSQuery.js +0 -32
  234. package/lib/components/grid/TDSQuery.js.map +0 -1
  235. package/lib/components/grid/TDSRequest.d.ts +0 -103
  236. package/lib/components/grid/TDSRequest.d.ts.map +0 -1
  237. package/lib/components/grid/TDSRequest.js +0 -172
  238. package/lib/components/grid/TDSRequest.js.map +0 -1
  239. package/lib/stores/CompletionResult.d.ts.map +0 -1
  240. package/lib/stores/CompletionResult.js +0 -26
  241. package/lib/stores/CompletionResult.js.map +0 -1
  242. package/lib/stores/LegendREPLGridClientApplicationPlugin.d.ts.map +0 -1
  243. package/lib/stores/LegendREPLGridClientApplicationPlugin.js.map +0 -1
  244. package/lib/stores/LegendREPLGridClientBaseStore.d.ts +0 -25
  245. package/lib/stores/LegendREPLGridClientBaseStore.d.ts.map +0 -1
  246. package/lib/stores/LegendREPLGridClientBaseStore.js.map +0 -1
  247. package/lib/stores/REPLGridClientStore.d.ts.map +0 -1
  248. package/lib/stores/REPLGridClientStore.js.map +0 -1
  249. package/lib/stores/dataCube/DataCubeConfigState.d.ts +0 -32
  250. package/lib/stores/dataCube/DataCubeConfigState.d.ts.map +0 -1
  251. package/lib/stores/dataCube/DataCubeConfigState.js +0 -62
  252. package/lib/stores/dataCube/DataCubeConfigState.js.map +0 -1
  253. package/lib/stores/dataCube/DataCubeGridState.d.ts +0 -39
  254. package/lib/stores/dataCube/DataCubeGridState.d.ts.map +0 -1
  255. package/lib/stores/dataCube/DataCubeGridState.js +0 -108
  256. package/lib/stores/dataCube/DataCubeGridState.js.map +0 -1
  257. package/lib/stores/dataCube/DataCubePanelState.d.ts.map +0 -1
  258. package/lib/stores/dataCube/DataCubePanelState.js.map +0 -1
  259. package/lib/stores/dataCube/DataCubePropertiesPanelState.d.ts +0 -34
  260. package/lib/stores/dataCube/DataCubePropertiesPanelState.d.ts.map +0 -1
  261. package/lib/stores/dataCube/DataCubePropertiesPanelState.js +0 -57
  262. package/lib/stores/dataCube/DataCubePropertiesPanelState.js.map +0 -1
  263. package/lib/stores/dataCube/DataCubeQueryEditorState.d.ts.map +0 -1
  264. package/lib/stores/dataCube/DataCubeQueryEditorState.js +0 -49
  265. package/lib/stores/dataCube/DataCubeQueryEditorState.js.map +0 -1
  266. package/lib/stores/dataCube/DataCubeQueryTextEditorState.d.ts +0 -25
  267. package/lib/stores/dataCube/DataCubeQueryTextEditorState.d.ts.map +0 -1
  268. package/lib/stores/dataCube/DataCubeQueryTextEditorState.js +0 -35
  269. package/lib/stores/dataCube/DataCubeQueryTextEditorState.js.map +0 -1
  270. package/lib/stores/dataCube/HPivotAndSortPanelState.d.ts +0 -40
  271. package/lib/stores/dataCube/HPivotAndSortPanelState.d.ts.map +0 -1
  272. package/lib/stores/dataCube/HPivotAndSortPanelState.js +0 -130
  273. package/lib/stores/dataCube/HPivotAndSortPanelState.js.map +0 -1
  274. package/src/application/LegendREPLGridClient.tsx +0 -72
  275. package/src/components/AgGrid.tsx +0 -59
  276. package/src/components/LegendREPLGridClientFrameworkProvider.tsx +0 -63
  277. package/src/components/REPLGridClient.tsx +0 -560
  278. package/src/components/dataCube/DataCubeGridEditor.tsx +0 -69
  279. package/src/components/grid/GridUtils.ts +0 -220
  280. package/src/components/grid/ServerSideDataSource.ts +0 -197
  281. package/src/components/grid/TDSLambdaBuilder.ts +0 -456
  282. package/src/components/grid/TDSQuery.ts +0 -37
  283. package/src/components/grid/TDSRequest.ts +0 -231
  284. package/src/stores/CompletionResult.ts +0 -30
  285. package/src/stores/dataCube/DataCubeConfigState.ts +0 -79
  286. package/src/stores/dataCube/DataCubeGridState.ts +0 -143
  287. package/src/stores/dataCube/DataCubePanelState.ts +0 -28
  288. package/src/stores/dataCube/DataCubePropertiesPanelState.ts +0 -65
  289. package/src/stores/dataCube/DataCubeQueryEditorState.ts +0 -66
  290. package/src/stores/dataCube/DataCubeQueryTextEditorState.ts +0 -41
  291. package/src/stores/dataCube/HPivotAndSortPanelState.ts +0 -170
@@ -1,314 +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 { V1_AppliedFunction, V1_AppliedProperty, V1_CBoolean, V1_CDateTime, V1_CDecimal, V1_CFloat, V1_CInteger, V1_CStrictDate, V1_CStrictTime, V1_CString, V1_ClassInstance, V1_ColSpec, V1_ColSpecArray, V1_Collection, V1_Lambda, V1_Variable, PRIMITIVE_TYPE, V1_ClassInstanceType, } from '@finos/legend-graph';
17
- import { TDSFilter, TDSFilterCondition, TDS_FILTER_GROUP, TDS_FILTER_OPERATION, TDS_AGGREGATION_FUNCTION, } from './TDSRequest.js';
18
- import { UnsupportedOperationError, guaranteeIsBoolean, guaranteeIsNumber, guaranteeIsString, guaranteeNonNullable, } from '@finos/legend-shared';
19
- import { DEFAULT_VARIABLE_NAME, QUERY_FUNCTION } from '../../Const.js';
20
- const getPrimitiveValueSpecification = (type, column) => {
21
- switch (type) {
22
- case PRIMITIVE_TYPE.STRING: {
23
- const stringValue = new V1_CString();
24
- stringValue.value = guaranteeIsString(column);
25
- return stringValue;
26
- }
27
- case PRIMITIVE_TYPE.BOOLEAN: {
28
- const booleanValue = new V1_CBoolean();
29
- booleanValue.value = guaranteeIsBoolean(column);
30
- return booleanValue;
31
- }
32
- case PRIMITIVE_TYPE.NUMBER:
33
- case PRIMITIVE_TYPE.DECIMAL: {
34
- const cDecimal = new V1_CDecimal();
35
- cDecimal.value = guaranteeIsNumber(column);
36
- return cDecimal;
37
- }
38
- case PRIMITIVE_TYPE.INTEGER: {
39
- const cInteger = new V1_CInteger();
40
- cInteger.value = guaranteeIsNumber(column);
41
- return cInteger;
42
- }
43
- case PRIMITIVE_TYPE.FLOAT: {
44
- const cFloat = new V1_CFloat();
45
- cFloat.value = guaranteeIsNumber(column);
46
- return cFloat;
47
- }
48
- case PRIMITIVE_TYPE.DATE:
49
- case PRIMITIVE_TYPE.DATETIME: {
50
- const cDateTime = new V1_CDateTime();
51
- cDateTime.value = guaranteeIsString(column);
52
- return cDateTime;
53
- }
54
- case PRIMITIVE_TYPE.STRICTDATE: {
55
- const cStrictDate = new V1_CStrictDate();
56
- cStrictDate.value = guaranteeIsString(column);
57
- return cStrictDate;
58
- }
59
- case PRIMITIVE_TYPE.STRICTTIME: {
60
- const cStrictTime = new V1_CStrictTime();
61
- cStrictTime.value = guaranteeIsString(column);
62
- return cStrictTime;
63
- }
64
- default:
65
- throw new UnsupportedOperationError(`Unsupported tds column type ${type}`);
66
- }
67
- };
68
- const updateParentFunction = (expressions, functionName, child) => {
69
- let newExpressions = [
70
- guaranteeNonNullable(expressions[0]),
71
- ];
72
- newExpressions = newExpressions.concat(child);
73
- const childFunc = new V1_AppliedFunction();
74
- childFunc.function = functionName;
75
- childFunc.parameters = newExpressions;
76
- expressions[0] = childFunc;
77
- };
78
- const processFilterOperations = (expressions, filters) => {
79
- if (filters.length === 0) {
80
- return;
81
- }
82
- const filterLambda = new V1_Lambda();
83
- filters.forEach((filterValue) => {
84
- const conditions = filterValue.conditions;
85
- const groupCondition = filterValue.groupOperation;
86
- const defaultVariable = new V1_Variable();
87
- defaultVariable.name = DEFAULT_VARIABLE_NAME;
88
- const conditionExpressions = [];
89
- conditions.forEach((condition) => {
90
- const filterCondition = new V1_AppliedFunction();
91
- const property = new V1_AppliedProperty();
92
- property.property = filterValue.column;
93
- property.class = filterValue.columnType;
94
- property.parameters = [defaultVariable];
95
- switch (condition.operation) {
96
- case TDS_FILTER_OPERATION.EQUALS:
97
- case TDS_FILTER_OPERATION.GREATER_THAN:
98
- case TDS_FILTER_OPERATION.GREATER_THAN_OR_EQUAL:
99
- case TDS_FILTER_OPERATION.LESS_THAN:
100
- case TDS_FILTER_OPERATION.LESS_THAN_OR_EQUAL:
101
- case TDS_FILTER_OPERATION.CONTAINS:
102
- case TDS_FILTER_OPERATION.ENDS_WITH:
103
- case TDS_FILTER_OPERATION.STARTS_WITH: {
104
- filterCondition.function = condition.operation;
105
- filterCondition.parameters.push(property);
106
- filterCondition.parameters.push(getPrimitiveValueSpecification(filterValue.columnType, condition.value));
107
- break;
108
- }
109
- case TDS_FILTER_OPERATION.BLANK: {
110
- filterCondition.function = condition.operation;
111
- filterCondition.parameters.push(property);
112
- break;
113
- }
114
- case TDS_FILTER_OPERATION.NOT_EQUAL: {
115
- filterCondition.function = QUERY_FUNCTION.NOT;
116
- const filterConditionFunc = new V1_AppliedFunction();
117
- filterConditionFunc.function = TDS_FILTER_OPERATION.EQUALS;
118
- filterConditionFunc.parameters.push(property);
119
- filterConditionFunc.parameters.push(getPrimitiveValueSpecification(filterValue.columnType, condition.value));
120
- filterCondition.parameters.push(filterConditionFunc);
121
- break;
122
- }
123
- case TDS_FILTER_OPERATION.NOT_BLANK: {
124
- filterCondition.function = QUERY_FUNCTION.NOT;
125
- const filterConditionFunc = new V1_AppliedFunction();
126
- filterConditionFunc.function = TDS_FILTER_OPERATION.BLANK;
127
- filterConditionFunc.parameters.push(property);
128
- filterConditionFunc.parameters.push(getPrimitiveValueSpecification(filterValue.columnType, condition.value));
129
- filterCondition.parameters.push(filterConditionFunc);
130
- break;
131
- }
132
- case TDS_FILTER_OPERATION.NOT_CONTAINS: {
133
- filterCondition.function = QUERY_FUNCTION.NOT;
134
- const filterConditionFunc = new V1_AppliedFunction();
135
- filterConditionFunc.function = TDS_FILTER_OPERATION.CONTAINS;
136
- filterConditionFunc.parameters.push(property);
137
- filterConditionFunc.parameters.push(getPrimitiveValueSpecification(filterValue.columnType, condition.value));
138
- filterCondition.parameters.push(filterConditionFunc);
139
- break;
140
- }
141
- default:
142
- throw new UnsupportedOperationError(`Unsupported filter operation ${condition.operation}`);
143
- }
144
- conditionExpressions.push(filterCondition);
145
- });
146
- if (conditionExpressions.length > 1) {
147
- const groupFunc = new V1_AppliedFunction();
148
- groupFunc.function = groupCondition;
149
- groupFunc.parameters = conditionExpressions;
150
- filterLambda.body.push(groupFunc);
151
- }
152
- else {
153
- filterLambda.body = filterLambda.body.concat(conditionExpressions);
154
- }
155
- if (filterLambda.body.length > 1) {
156
- const andFunc = new V1_AppliedFunction();
157
- andFunc.function = TDS_FILTER_GROUP.AND;
158
- andFunc.parameters = filterLambda.body;
159
- filterLambda.body = [andFunc];
160
- }
161
- filterLambda.parameters = [defaultVariable];
162
- });
163
- updateParentFunction(expressions, QUERY_FUNCTION.FILTER, [filterLambda]);
164
- };
165
- const getAggregationColSpec = (column, functionName, columnType,
166
- // Temporary. Remove it when we support groupBy with empty aggregations
167
- columnName) => {
168
- const colSpec = new V1_ColSpec();
169
- const aggLambda = new V1_Lambda();
170
- const property = new V1_AppliedProperty();
171
- property.property = column;
172
- property.class = columnType;
173
- const defaultVariable = new V1_Variable();
174
- defaultVariable.name = DEFAULT_VARIABLE_NAME;
175
- property.parameters = [defaultVariable];
176
- aggLambda.body.push(property);
177
- aggLambda.parameters.push(defaultVariable);
178
- colSpec.function1 = aggLambda;
179
- const funcLambda = new V1_Lambda();
180
- const aggFunc = new V1_AppliedFunction();
181
- aggFunc.function = functionName;
182
- const aggVariable = new V1_Variable();
183
- aggVariable.name = 'agg';
184
- funcLambda.body.push(aggFunc);
185
- aggFunc.parameters.push(aggVariable);
186
- funcLambda.parameters.push(aggVariable);
187
- colSpec.function2 = funcLambda;
188
- colSpec.name = columnName ?? column;
189
- return colSpec;
190
- };
191
- const processGroupByOperations = (expressions, groupByOperation, columns) => {
192
- if (!groupByOperation.columns.length) {
193
- return;
194
- }
195
- const groupByInstance = new V1_ClassInstance();
196
- groupByInstance.type = V1_ClassInstanceType.COL_SPEC_ARRAY;
197
- const groupByColSpecArray = new V1_ColSpecArray();
198
- const aggregationColSpecArray = new V1_ColSpecArray();
199
- const aggregationInstance = new V1_ClassInstance();
200
- aggregationInstance.type = V1_ClassInstanceType.COL_SPEC_ARRAY;
201
- if (groupByOperation.groupKeys.length !== groupByOperation.columns.length) {
202
- const groupKeys = groupByOperation.groupKeys;
203
- const currentGroupByColumn = groupByOperation.columns[groupKeys.length];
204
- const columnSpec = new V1_ColSpec();
205
- columnSpec.name = guaranteeNonNullable(currentGroupByColumn);
206
- groupByColSpecArray.colSpecs.push(columnSpec);
207
- // Temporary. Remove it later when we support empty aggregations
208
- if (groupByOperation.aggregations.length === 0) {
209
- const column = guaranteeNonNullable(groupByOperation.columns[0]);
210
- const colSpec = getAggregationColSpec(column, TDS_AGGREGATION_FUNCTION.COUNT, PRIMITIVE_TYPE.STRING, TDS_AGGREGATION_FUNCTION.COUNT);
211
- aggregationColSpecArray.colSpecs.push(colSpec);
212
- }
213
- }
214
- // Projecting the columns when there is an aggregation because that would end up projecting just the aggregation column
215
- if (groupByOperation.groupKeys.length === groupByOperation.columns.length &&
216
- groupByOperation.aggregations.length > 0) {
217
- const aggColumns = groupByOperation.aggregations.map((agg) => agg.column);
218
- columns.forEach((column) => {
219
- if (!aggColumns.includes(column)) {
220
- const colSpec = new V1_ColSpec();
221
- colSpec.name = column;
222
- groupByColSpecArray.colSpecs.push(colSpec);
223
- }
224
- });
225
- }
226
- groupByOperation.aggregations.forEach((agg) => {
227
- const colSpec = getAggregationColSpec(agg.column, agg.function, agg.columnType);
228
- aggregationColSpecArray.colSpecs.push(colSpec);
229
- });
230
- groupByInstance.value = groupByColSpecArray;
231
- aggregationInstance.value = aggregationColSpecArray;
232
- if (groupByColSpecArray.colSpecs.length !== 0 ||
233
- aggregationColSpecArray.colSpecs.length !== 0) {
234
- updateParentFunction(expressions, QUERY_FUNCTION.GROUPBY, [
235
- groupByInstance,
236
- aggregationInstance,
237
- ]);
238
- }
239
- };
240
- const processSortOperations = (expressions, sortOperations, groupBy) => {
241
- if (sortOperations.length === 0) {
242
- return;
243
- }
244
- const sortCollection = new V1_Collection();
245
- sortOperations.forEach((sortValue) => {
246
- if (groupBy.columns.length === groupBy.groupKeys.length ||
247
- groupBy.columns.indexOf(sortValue.column) === groupBy.groupKeys.length) {
248
- const sortFunc = new V1_AppliedFunction();
249
- sortFunc.function = sortValue.order;
250
- const instance = new V1_ClassInstance();
251
- instance.type = V1_ClassInstanceType.COL_SPEC;
252
- const value = new V1_ColSpec();
253
- value.name = sortValue.column;
254
- instance.value = value;
255
- sortFunc.parameters.push(instance);
256
- sortCollection.values.push(sortFunc);
257
- }
258
- });
259
- updateParentFunction(expressions, QUERY_FUNCTION.SORT, [sortCollection]);
260
- };
261
- const updateExpressionWithSlice = (expressions, start, end) => {
262
- if (start === undefined || end === undefined) {
263
- return;
264
- }
265
- const startValue = new V1_CInteger();
266
- startValue.value = start;
267
- const endValue = new V1_CInteger();
268
- endValue.value = end;
269
- const funcBody = expressions[0];
270
- let currentExpression = funcBody;
271
- while (currentExpression instanceof V1_AppliedFunction) {
272
- if (currentExpression.function === QUERY_FUNCTION.FROM) {
273
- if (currentExpression.parameters[0] instanceof V1_AppliedFunction &&
274
- currentExpression.parameters[0].function === QUERY_FUNCTION.SLICE) {
275
- currentExpression.parameters[0].parameters = [
276
- guaranteeNonNullable(currentExpression.parameters[0].parameters[0]),
277
- startValue,
278
- endValue,
279
- ];
280
- break;
281
- }
282
- const sliceFunction = new V1_AppliedFunction();
283
- sliceFunction.function = QUERY_FUNCTION.SLICE;
284
- sliceFunction.parameters = [
285
- guaranteeNonNullable(currentExpression.parameters[0]),
286
- startValue,
287
- endValue,
288
- ];
289
- currentExpression.parameters[0] = sliceFunction;
290
- break;
291
- }
292
- currentExpression = currentExpression.parameters[0];
293
- }
294
- };
295
- export const buildLambdaExpressions = (funcBody, request, isPaginationEnabled) => {
296
- const expressions = [funcBody];
297
- if (isPaginationEnabled) {
298
- updateExpressionWithSlice(expressions, request.startRow, request.endRow);
299
- }
300
- const groupBy = request.groupBy;
301
- for (let index = 0; index < groupBy.groupKeys.length; index++) {
302
- const groupFilter = new TDSFilter(guaranteeNonNullable(groupBy.columns.at(index)), PRIMITIVE_TYPE.STRING, [
303
- new TDSFilterCondition(TDS_FILTER_OPERATION.EQUALS, groupBy.groupKeys.at(index)),
304
- ], TDS_FILTER_GROUP.AND);
305
- request.filter.push(groupFilter);
306
- }
307
- processFilterOperations(expressions, request.filter);
308
- processGroupByOperations(expressions, request.groupBy, request.columns.map((col) => col.name));
309
- processSortOperations(expressions, request.sort, request.groupBy);
310
- const lambda = new V1_Lambda();
311
- lambda.body = expressions;
312
- return lambda;
313
- };
314
- //# sourceMappingURL=TDSLambdaBuilder.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TDSLambdaBuilder.js","sourceRoot":"","sources":["../../../src/components/grid/TDSLambdaBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACd,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,aAAa,EACb,SAAS,EAGT,WAAW,EACX,cAAc,EACd,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,SAAS,EACT,kBAAkB,EAIlB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,8BAA8B,GAAG,CACrC,IAAoB,EACpB,MAAe,EACiB,EAAE;IAClC,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;YAC3B,MAAM,WAAW,GAAG,IAAI,UAAU,EAAE,CAAC;YACrC,WAAW,CAAC,KAAK,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC;YAC9C,OAAO,WAAW,CAAC;QACrB,CAAC;QACD,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;YAC5B,MAAM,YAAY,GAAG,IAAI,WAAW,EAAE,CAAC;YACvC,YAAY,CAAC,KAAK,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;YAChD,OA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C;QACxB,yBAAyB,CAAC,WAAW,EAAE,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC;IACD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAChC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;QAC9D,MAAM,WAAW,GAAG,IAAI,SAAS,CAC/B,oBAAoB,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAC/C,cAAc,CAAC,MAAM,EACrB;YACE,IAAI,kBAAkB,CACpB,oBAAoB,CAAC,MAAM,EAC3B,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,CAC5B;SACF,EACD,gBAAgB,CAAC,GAAG,CACrB,CAAC;QACF,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACnC,CAAC;IACD,uBAAuB,CAAC,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACrD,wBAAwB,CACtB,WAAW,EACX,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CACvC,CAAC;IACF,qBAAqB,CAAC,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG,IAAI,SAAS,EAAE,CAAC;IAC/B,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC;IAC1B,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
@@ -1,25 +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 V1_Lambda } from '@finos/legend-graph';
17
- import { TDSRequest } from './TDSRequest.js';
18
- import { SerializationFactory } from '@finos/legend-shared';
19
- export declare class TDSQuery {
20
- initialQuery: V1_Lambda;
21
- currentQueryInfo: TDSRequest;
22
- constructor(initialQuery: V1_Lambda, currentQueryInfo: TDSRequest);
23
- static readonly serialization: SerializationFactory<TDSQuery>;
24
- }
25
- //# sourceMappingURL=TDSQuery.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TDSQuery.d.ts","sourceRoot":"","sources":["../../../src/components/grid/TDSQuery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAwB,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAoB,MAAM,sBAAsB,CAAC;AAG9E,qBAAa,QAAQ;IACnB,YAAY,EAAG,SAAS,CAAC;IACzB,gBAAgB,EAAG,UAAU,CAAC;gBAElB,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,UAAU;IAKjE,MAAM,CAAC,QAAQ,CAAC,aAAa,iCAK3B;CACH"}
@@ -1,32 +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 { V1_lambdaModelSchema } from '@finos/legend-graph';
17
- import { TDSRequest } from './TDSRequest.js';
18
- import { SerializationFactory, usingModelSchema } from '@finos/legend-shared';
19
- import { createModelSchema } from 'serializr';
20
- export class TDSQuery {
21
- initialQuery;
22
- currentQueryInfo;
23
- constructor(initialQuery, currentQueryInfo) {
24
- this.initialQuery = initialQuery;
25
- this.currentQueryInfo = currentQueryInfo;
26
- }
27
- static serialization = new SerializationFactory(createModelSchema(TDSQuery, {
28
- initialQuery: usingModelSchema(V1_lambdaModelSchema([])),
29
- currentQueryInfo: usingModelSchema(TDSRequest.serialization.schema),
30
- }));
31
- }
32
- //# sourceMappingURL=TDSQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TDSQuery.js","sourceRoot":"","sources":["../../../src/components/grid/TDSQuery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAkB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,OAAO,QAAQ;IACnB,YAAY,CAAa;IACzB,gBAAgB,CAAc;IAE9B,YAAY,YAAuB,EAAE,gBAA4B;QAC/D,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC3C,CAAC;IAED,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,QAAQ,EAAE;QAC1B,YAAY,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;QACxD,gBAAgB,EAAE,gBAAgB,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KACpE,CAAC,CACH,CAAC"}
@@ -1,103 +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 { PRIMITIVE_TYPE } from '@finos/legend-graph';
17
- import { SerializationFactory } from '@finos/legend-shared';
18
- export declare enum TDS_FILTER_OPERATION {
19
- EQUALS = "equal",
20
- NOT_EQUAL = "notEqual",
21
- GREATER_THAN = "greaterThan",
22
- GREATER_THAN_OR_EQUAL = "greaterThanOrEqual",
23
- LESS_THAN = "lessThan",
24
- LESS_THAN_OR_EQUAL = "lessThanOrEqual",
25
- BLANK = "isEmpty",
26
- NOT_BLANK = "isNotEmpty",
27
- CONTAINS = "contains",
28
- NOT_CONTAINS = "notContains",
29
- STARTS_WITH = "startsWith",
30
- ENDS_WITH = "endsWith"
31
- }
32
- export declare enum TDS_FILTER_GROUP {
33
- AND = "and",
34
- OR = "or"
35
- }
36
- export declare enum TDS_AGGREGATION_FUNCTION {
37
- SUM = "sum",
38
- MIN = "min",
39
- MAX = "max",
40
- COUNT = "count",
41
- AVG = "avg",
42
- FIRST = "first",
43
- LAST = "last"
44
- }
45
- export declare enum TDS_SORT_ORDER {
46
- ASCENDING = "ascending",
47
- DESCENDING = "descending"
48
- }
49
- export declare enum FILTER_TYPE {
50
- TEXT = "text",
51
- NUMBER = "number"
52
- }
53
- export declare class TDSFilterCondition {
54
- operation: TDS_FILTER_OPERATION;
55
- value: unknown;
56
- constructor(operation: TDS_FILTER_OPERATION, value: unknown);
57
- static readonly serialization: SerializationFactory<TDSFilterCondition>;
58
- }
59
- export declare class TDSFilter {
60
- column: string;
61
- columnType: PRIMITIVE_TYPE;
62
- conditions: TDSFilterCondition[];
63
- groupOperation: TDS_FILTER_GROUP;
64
- constructor(column: string, columnType: PRIMITIVE_TYPE, conditions: TDSFilterCondition[], groupOperation: TDS_FILTER_GROUP);
65
- static readonly serialization: SerializationFactory<TDSFilter>;
66
- }
67
- export declare class TDSSort {
68
- column: string;
69
- order: TDS_SORT_ORDER;
70
- constructor(column: string, order: TDS_SORT_ORDER);
71
- setOrder(val: TDS_SORT_ORDER): void;
72
- static readonly serialization: SerializationFactory<TDSSort>;
73
- }
74
- export declare class TDSAggregation {
75
- column: string;
76
- columnType: PRIMITIVE_TYPE;
77
- function: TDS_AGGREGATION_FUNCTION;
78
- constructor(column: string, columnType: PRIMITIVE_TYPE, _function: TDS_AGGREGATION_FUNCTION);
79
- static readonly serialization: SerializationFactory<TDSAggregation>;
80
- }
81
- export declare class TDSGroupby {
82
- columns: string[];
83
- groupKeys: string[];
84
- aggregations: TDSAggregation[];
85
- constructor(columns: string[], groupKeys: string[], aggregations: TDSAggregation[]);
86
- static readonly serialization: SerializationFactory<TDSGroupby>;
87
- }
88
- export declare class TDSColumn {
89
- name: string;
90
- constructor(name: string);
91
- static readonly serialization: SerializationFactory<TDSColumn>;
92
- }
93
- export declare class TDSRequest {
94
- startRow?: number | undefined;
95
- endRow?: number | undefined;
96
- columns: TDSColumn[];
97
- filter: TDSFilter[];
98
- sort: TDSSort[];
99
- groupBy: TDSGroupby;
100
- constructor(columns: TDSColumn[], filter: TDSFilter[], sort: TDSSort[], groupBy: TDSGroupby, startRow?: number | undefined, endRow?: number | undefined);
101
- static readonly serialization: SerializationFactory<TDSRequest>;
102
- }
103
- //# sourceMappingURL=TDSRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TDSRequest.d.ts","sourceRoot":"","sources":["../../../src/components/grid/TDSRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;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