@finos/legend-data-cube 0.0.2

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 (517) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/lib/application/DataCubeDocumentation.d.ts +22 -0
  4. package/lib/application/DataCubeDocumentation.d.ts.map +1 -0
  5. package/lib/application/DataCubeDocumentation.js +23 -0
  6. package/lib/application/DataCubeDocumentation.js.map +1 -0
  7. package/lib/components/DataCube.d.ts +19 -0
  8. package/lib/components/DataCube.d.ts.map +1 -0
  9. package/lib/components/DataCube.js +67 -0
  10. package/lib/components/DataCube.js.map +1 -0
  11. package/lib/components/DataCubeProvider.d.ts +27 -0
  12. package/lib/components/DataCubeProvider.d.ts.map +1 -0
  13. package/lib/components/DataCubeProvider.js +34 -0
  14. package/lib/components/DataCubeProvider.js.map +1 -0
  15. package/lib/components/application/DataCubeAlert.d.ts +44 -0
  16. package/lib/components/application/DataCubeAlert.d.ts.map +1 -0
  17. package/lib/components/application/DataCubeAlert.js +83 -0
  18. package/lib/components/application/DataCubeAlert.js.map +1 -0
  19. package/lib/components/application/DataCubeDocumentationPanel.d.ts +19 -0
  20. package/lib/components/application/DataCubeDocumentationPanel.d.ts.map +1 -0
  21. package/lib/components/application/DataCubeDocumentationPanel.js +32 -0
  22. package/lib/components/application/DataCubeDocumentationPanel.js.map +1 -0
  23. package/lib/components/application/DataCubeLayoutManager.d.ts +27 -0
  24. package/lib/components/application/DataCubeLayoutManager.d.ts.map +1 -0
  25. package/lib/components/application/DataCubeLayoutManager.js +116 -0
  26. package/lib/components/application/DataCubeLayoutManager.js.map +1 -0
  27. package/lib/components/application/DataCubeSettingsPanel.d.ts +19 -0
  28. package/lib/components/application/DataCubeSettingsPanel.d.ts.map +1 -0
  29. package/lib/components/application/DataCubeSettingsPanel.js +53 -0
  30. package/lib/components/application/DataCubeSettingsPanel.js.map +1 -0
  31. package/lib/components/editor/DataCubeEditor.d.ts +22 -0
  32. package/lib/components/editor/DataCubeEditor.d.ts.map +1 -0
  33. package/lib/components/editor/DataCubeEditor.js +51 -0
  34. package/lib/components/editor/DataCubeEditor.js.map +1 -0
  35. package/lib/components/editor/DataCubeEditorColumnPropertiesPanel.d.ts +22 -0
  36. package/lib/components/editor/DataCubeEditorColumnPropertiesPanel.d.ts.map +1 -0
  37. package/lib/components/editor/DataCubeEditorColumnPropertiesPanel.js +274 -0
  38. package/lib/components/editor/DataCubeEditorColumnPropertiesPanel.js.map +1 -0
  39. package/lib/components/editor/DataCubeEditorColumnsPanel.d.ts +22 -0
  40. package/lib/components/editor/DataCubeEditorColumnsPanel.d.ts.map +1 -0
  41. package/lib/components/editor/DataCubeEditorColumnsPanel.js +35 -0
  42. package/lib/components/editor/DataCubeEditorColumnsPanel.js.map +1 -0
  43. package/lib/components/editor/DataCubeEditorColumnsSelector.d.ts +32 -0
  44. package/lib/components/editor/DataCubeEditorColumnsSelector.d.ts.map +1 -0
  45. package/lib/components/editor/DataCubeEditorColumnsSelector.js +307 -0
  46. package/lib/components/editor/DataCubeEditorColumnsSelector.js.map +1 -0
  47. package/lib/components/editor/DataCubeEditorGeneralPropertiesPanel.d.ts +22 -0
  48. package/lib/components/editor/DataCubeEditorGeneralPropertiesPanel.d.ts.map +1 -0
  49. package/lib/components/editor/DataCubeEditorGeneralPropertiesPanel.js +167 -0
  50. package/lib/components/editor/DataCubeEditorGeneralPropertiesPanel.js.map +1 -0
  51. package/lib/components/editor/DataCubeEditorHorizontalPivotsPanel.d.ts +22 -0
  52. package/lib/components/editor/DataCubeEditorHorizontalPivotsPanel.d.ts.map +1 -0
  53. package/lib/components/editor/DataCubeEditorHorizontalPivotsPanel.js +29 -0
  54. package/lib/components/editor/DataCubeEditorHorizontalPivotsPanel.js.map +1 -0
  55. package/lib/components/editor/DataCubeEditorSortsPanel.d.ts +22 -0
  56. package/lib/components/editor/DataCubeEditorSortsPanel.d.ts.map +1 -0
  57. package/lib/components/editor/DataCubeEditorSortsPanel.js +62 -0
  58. package/lib/components/editor/DataCubeEditorSortsPanel.js.map +1 -0
  59. package/lib/components/editor/DataCubeEditorVerticalPivotsPanel.d.ts +22 -0
  60. package/lib/components/editor/DataCubeEditorVerticalPivotsPanel.d.ts.map +1 -0
  61. package/lib/components/editor/DataCubeEditorVerticalPivotsPanel.js +25 -0
  62. package/lib/components/editor/DataCubeEditorVerticalPivotsPanel.js.map +1 -0
  63. package/lib/components/extend/DataCubeColumnEditor.d.ts +22 -0
  64. package/lib/components/extend/DataCubeColumnEditor.d.ts.map +1 -0
  65. package/lib/components/extend/DataCubeColumnEditor.js +169 -0
  66. package/lib/components/extend/DataCubeColumnEditor.js.map +1 -0
  67. package/lib/components/filter/DataCubeFilterEditor.d.ts +22 -0
  68. package/lib/components/filter/DataCubeFilterEditor.d.ts.map +1 -0
  69. package/lib/components/filter/DataCubeFilterEditor.js +312 -0
  70. package/lib/components/filter/DataCubeFilterEditor.js.map +1 -0
  71. package/lib/components/grid/DataCubeGrid.d.ts +27 -0
  72. package/lib/components/grid/DataCubeGrid.d.ts.map +1 -0
  73. package/lib/components/grid/DataCubeGrid.js +241 -0
  74. package/lib/components/grid/DataCubeGrid.js.map +1 -0
  75. package/lib/components/grid/DataCubeGridShared.d.ts +18 -0
  76. package/lib/components/grid/DataCubeGridShared.d.ts.map +1 -0
  77. package/lib/components/grid/DataCubeGridShared.js +25 -0
  78. package/lib/components/grid/DataCubeGridShared.js.map +1 -0
  79. package/lib/components/shared/DataCubeFormUtils.d.ts +54 -0
  80. package/lib/components/shared/DataCubeFormUtils.d.ts.map +1 -0
  81. package/lib/components/shared/DataCubeFormUtils.js +251 -0
  82. package/lib/components/shared/DataCubeFormUtils.js.map +1 -0
  83. package/lib/components/shared/DataCubePureCodeEditorUtils.d.ts +22 -0
  84. package/lib/components/shared/DataCubePureCodeEditorUtils.d.ts.map +1 -0
  85. package/lib/components/shared/DataCubePureCodeEditorUtils.js +64 -0
  86. package/lib/components/shared/DataCubePureCodeEditorUtils.js.map +1 -0
  87. package/lib/index.css +17 -0
  88. package/lib/index.css.map +1 -0
  89. package/lib/index.d.ts +21 -0
  90. package/lib/index.d.ts.map +1 -0
  91. package/lib/index.js +21 -0
  92. package/lib/index.js.map +1 -0
  93. package/lib/package.json +89 -0
  94. package/lib/stores/DataCubeState.d.ts +32 -0
  95. package/lib/stores/DataCubeState.d.ts.map +1 -0
  96. package/lib/stores/DataCubeState.js +84 -0
  97. package/lib/stores/DataCubeState.js.map +1 -0
  98. package/lib/stores/DataCubeViewState.d.ts +50 -0
  99. package/lib/stores/DataCubeViewState.d.ts.map +1 -0
  100. package/lib/stores/DataCubeViewState.js +109 -0
  101. package/lib/stores/DataCubeViewState.js.map +1 -0
  102. package/lib/stores/core/DataCubeConfiguration.d.ts +107 -0
  103. package/lib/stores/core/DataCubeConfiguration.d.ts.map +1 -0
  104. package/lib/stores/core/DataCubeConfiguration.js +185 -0
  105. package/lib/stores/core/DataCubeConfiguration.js.map +1 -0
  106. package/lib/stores/core/DataCubeConfigurationBuilder.d.ts +25 -0
  107. package/lib/stores/core/DataCubeConfigurationBuilder.d.ts.map +1 -0
  108. package/lib/stores/core/DataCubeConfigurationBuilder.js +50 -0
  109. package/lib/stores/core/DataCubeConfigurationBuilder.js.map +1 -0
  110. package/lib/stores/core/DataCubeInfoState.d.ts +33 -0
  111. package/lib/stores/core/DataCubeInfoState.d.ts.map +1 -0
  112. package/lib/stores/core/DataCubeInfoState.js +48 -0
  113. package/lib/stores/core/DataCubeInfoState.js.map +1 -0
  114. package/lib/stores/core/DataCubeQueryBuilder.d.ts +35 -0
  115. package/lib/stores/core/DataCubeQueryBuilder.d.ts.map +1 -0
  116. package/lib/stores/core/DataCubeQueryBuilder.js +130 -0
  117. package/lib/stores/core/DataCubeQueryBuilder.js.map +1 -0
  118. package/lib/stores/core/DataCubeQueryBuilderUtils.d.ts +50 -0
  119. package/lib/stores/core/DataCubeQueryBuilderUtils.d.ts.map +1 -0
  120. package/lib/stores/core/DataCubeQueryBuilderUtils.js +320 -0
  121. package/lib/stores/core/DataCubeQueryBuilderUtils.js.map +1 -0
  122. package/lib/stores/core/DataCubeQueryEngine.d.ts +224 -0
  123. package/lib/stores/core/DataCubeQueryEngine.d.ts.map +1 -0
  124. package/lib/stores/core/DataCubeQueryEngine.js +286 -0
  125. package/lib/stores/core/DataCubeQueryEngine.js.map +1 -0
  126. package/lib/stores/core/DataCubeQuerySnapshot.d.ts +89 -0
  127. package/lib/stores/core/DataCubeQuerySnapshot.d.ts.map +1 -0
  128. package/lib/stores/core/DataCubeQuerySnapshot.js +82 -0
  129. package/lib/stores/core/DataCubeQuerySnapshot.js.map +1 -0
  130. package/lib/stores/core/DataCubeQuerySnapshotBuilder.d.ts +33 -0
  131. package/lib/stores/core/DataCubeQuerySnapshotBuilder.d.ts.map +1 -0
  132. package/lib/stores/core/DataCubeQuerySnapshotBuilder.js +260 -0
  133. package/lib/stores/core/DataCubeQuerySnapshotBuilder.js.map +1 -0
  134. package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.d.ts +30 -0
  135. package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.d.ts.map +1 -0
  136. package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.js +125 -0
  137. package/lib/stores/core/DataCubeQuerySnapshotBuilderUtils.js.map +1 -0
  138. package/lib/stores/core/DataCubeQuerySnapshotManager.d.ts +47 -0
  139. package/lib/stores/core/DataCubeQuerySnapshotManager.d.ts.map +1 -0
  140. package/lib/stores/core/DataCubeQuerySnapshotManager.js +84 -0
  141. package/lib/stores/core/DataCubeQuerySnapshotManager.js.map +1 -0
  142. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation.d.ts +28 -0
  143. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation.d.ts.map +1 -0
  144. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation.js +25 -0
  145. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation.js.map +1 -0
  146. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.d.ts +27 -0
  147. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.d.ts.map +1 -0
  148. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.js +39 -0
  149. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.js.map +1 -0
  150. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.d.ts +27 -0
  151. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.d.ts.map +1 -0
  152. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.js +47 -0
  153. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.js.map +1 -0
  154. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__First.d.ts +27 -0
  155. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__First.d.ts.map +1 -0
  156. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__First.js +44 -0
  157. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__First.js.map +1 -0
  158. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.d.ts +27 -0
  159. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.d.ts.map +1 -0
  160. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.js +53 -0
  161. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.js.map +1 -0
  162. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.d.ts +27 -0
  163. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.d.ts.map +1 -0
  164. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.js +44 -0
  165. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.js.map +1 -0
  166. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.d.ts +27 -0
  167. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.d.ts.map +1 -0
  168. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.js +39 -0
  169. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.js.map +1 -0
  170. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.d.ts +27 -0
  171. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.d.ts.map +1 -0
  172. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.js +39 -0
  173. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.js.map +1 -0
  174. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.d.ts +27 -0
  175. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.d.ts.map +1 -0
  176. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.js +39 -0
  177. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.js.map +1 -0
  178. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.d.ts +27 -0
  179. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.d.ts.map +1 -0
  180. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.js +39 -0
  181. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.js.map +1 -0
  182. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.d.ts +27 -0
  183. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.d.ts.map +1 -0
  184. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.js +39 -0
  185. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.js.map +1 -0
  186. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.d.ts +27 -0
  187. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.d.ts.map +1 -0
  188. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.js +44 -0
  189. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.js.map +1 -0
  190. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.d.ts +27 -0
  191. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.d.ts.map +1 -0
  192. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.js +39 -0
  193. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.js.map +1 -0
  194. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.d.ts +27 -0
  195. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.d.ts.map +1 -0
  196. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.js +39 -0
  197. package/lib/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.js.map +1 -0
  198. package/lib/stores/core/filter/DataCubeQueryFilterEditorState.d.ts +36 -0
  199. package/lib/stores/core/filter/DataCubeQueryFilterEditorState.d.ts.map +1 -0
  200. package/lib/stores/core/filter/DataCubeQueryFilterEditorState.js +153 -0
  201. package/lib/stores/core/filter/DataCubeQueryFilterEditorState.js.map +1 -0
  202. package/lib/stores/core/filter/DataCubeQueryFilterOperation.d.ts +32 -0
  203. package/lib/stores/core/filter/DataCubeQueryFilterOperation.d.ts.map +1 -0
  204. package/lib/stores/core/filter/DataCubeQueryFilterOperation.js +48 -0
  205. package/lib/stores/core/filter/DataCubeQueryFilterOperation.js.map +1 -0
  206. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Contain.d.ts +34 -0
  207. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Contain.d.ts.map +1 -0
  208. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Contain.js +59 -0
  209. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Contain.js.map +1 -0
  210. package/lib/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.d.ts +34 -0
  211. package/lib/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.d.ts.map +1 -0
  212. package/lib/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.js +64 -0
  213. package/lib/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.js.map +1 -0
  214. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWith.d.ts +34 -0
  215. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWith.d.ts.map +1 -0
  216. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWith.js +59 -0
  217. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWith.js.map +1 -0
  218. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.d.ts +34 -0
  219. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.d.ts.map +1 -0
  220. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.js +64 -0
  221. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.js.map +1 -0
  222. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Equal.d.ts +34 -0
  223. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Equal.d.ts.map +1 -0
  224. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Equal.js +136 -0
  225. package/lib/stores/core/filter/DataCubeQueryFilterOperation__Equal.js.map +1 -0
  226. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts +34 -0
  227. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts.map +1 -0
  228. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.js +64 -0
  229. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.js.map +1 -0
  230. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts +34 -0
  231. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts.map +1 -0
  232. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.js +64 -0
  233. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.js.map +1 -0
  234. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.d.ts +34 -0
  235. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.d.ts.map +1 -0
  236. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.js +65 -0
  237. package/lib/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.js.map +1 -0
  238. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.d.ts +34 -0
  239. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.d.ts.map +1 -0
  240. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.js +67 -0
  241. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.js.map +1 -0
  242. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.d.ts +34 -0
  243. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.d.ts.map +1 -0
  244. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.js +64 -0
  245. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.js.map +1 -0
  246. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.d.ts +34 -0
  247. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.d.ts.map +1 -0
  248. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.js +67 -0
  249. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.js.map +1 -0
  250. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.d.ts +34 -0
  251. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.d.ts.map +1 -0
  252. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.js +64 -0
  253. package/lib/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.js.map +1 -0
  254. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.d.ts +31 -0
  255. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.d.ts.map +1 -0
  256. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.js +64 -0
  257. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.js.map +1 -0
  258. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNull.d.ts +31 -0
  259. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNull.d.ts.map +1 -0
  260. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNull.js +64 -0
  261. package/lib/stores/core/filter/DataCubeQueryFilterOperation__IsNull.js.map +1 -0
  262. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThan.d.ts +34 -0
  263. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThan.d.ts.map +1 -0
  264. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThan.js +67 -0
  265. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThan.js.map +1 -0
  266. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.d.ts +34 -0
  267. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.d.ts.map +1 -0
  268. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.js +64 -0
  269. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.js.map +1 -0
  270. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.d.ts +34 -0
  271. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.d.ts.map +1 -0
  272. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.js +67 -0
  273. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.js.map +1 -0
  274. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.d.ts +34 -0
  275. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.d.ts.map +1 -0
  276. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.js +64 -0
  277. package/lib/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.js.map +1 -0
  278. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotContain.d.ts +34 -0
  279. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotContain.d.ts.map +1 -0
  280. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotContain.js +59 -0
  281. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotContain.js.map +1 -0
  282. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.d.ts +34 -0
  283. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.d.ts.map +1 -0
  284. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.js +59 -0
  285. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.js.map +1 -0
  286. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.d.ts +34 -0
  287. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.d.ts.map +1 -0
  288. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.js +69 -0
  289. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.js.map +1 -0
  290. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.d.ts +34 -0
  291. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.d.ts.map +1 -0
  292. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.js +64 -0
  293. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.js.map +1 -0
  294. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.d.ts +34 -0
  295. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.d.ts.map +1 -0
  296. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.js +64 -0
  297. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.js.map +1 -0
  298. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.d.ts +34 -0
  299. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.d.ts.map +1 -0
  300. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.js +65 -0
  301. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.js.map +1 -0
  302. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.d.ts +34 -0
  303. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.d.ts.map +1 -0
  304. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.js +59 -0
  305. package/lib/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.js.map +1 -0
  306. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWith.d.ts +34 -0
  307. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWith.d.ts.map +1 -0
  308. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWith.js +59 -0
  309. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWith.js.map +1 -0
  310. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.d.ts +34 -0
  311. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.d.ts.map +1 -0
  312. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.js +64 -0
  313. package/lib/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.js.map +1 -0
  314. package/lib/stores/editor/DataCubeEditorColumnPropertiesPanelState.d.ts +37 -0
  315. package/lib/stores/editor/DataCubeEditorColumnPropertiesPanelState.d.ts.map +1 -0
  316. package/lib/stores/editor/DataCubeEditorColumnPropertiesPanelState.js +68 -0
  317. package/lib/stores/editor/DataCubeEditorColumnPropertiesPanelState.js.map +1 -0
  318. package/lib/stores/editor/DataCubeEditorColumnsPanelState.d.ts +58 -0
  319. package/lib/stores/editor/DataCubeEditorColumnsPanelState.d.ts.map +1 -0
  320. package/lib/stores/editor/DataCubeEditorColumnsPanelState.js +127 -0
  321. package/lib/stores/editor/DataCubeEditorColumnsPanelState.js.map +1 -0
  322. package/lib/stores/editor/DataCubeEditorColumnsSelectorState.d.ts +42 -0
  323. package/lib/stores/editor/DataCubeEditorColumnsSelectorState.d.ts.map +1 -0
  324. package/lib/stores/editor/DataCubeEditorColumnsSelectorState.js +75 -0
  325. package/lib/stores/editor/DataCubeEditorColumnsSelectorState.js.map +1 -0
  326. package/lib/stores/editor/DataCubeEditorGeneralPropertiesPanelState.d.ts +35 -0
  327. package/lib/stores/editor/DataCubeEditorGeneralPropertiesPanelState.d.ts.map +1 -0
  328. package/lib/stores/editor/DataCubeEditorGeneralPropertiesPanelState.js +59 -0
  329. package/lib/stores/editor/DataCubeEditorGeneralPropertiesPanelState.js.map +1 -0
  330. package/lib/stores/editor/DataCubeEditorHorizontalPivotsPanelState.d.ts +38 -0
  331. package/lib/stores/editor/DataCubeEditorHorizontalPivotsPanelState.d.ts.map +1 -0
  332. package/lib/stores/editor/DataCubeEditorHorizontalPivotsPanelState.js +75 -0
  333. package/lib/stores/editor/DataCubeEditorHorizontalPivotsPanelState.js.map +1 -0
  334. package/lib/stores/editor/DataCubeEditorMutableConfiguration.d.ts +107 -0
  335. package/lib/stores/editor/DataCubeEditorMutableConfiguration.d.ts.map +1 -0
  336. package/lib/stores/editor/DataCubeEditorMutableConfiguration.js +467 -0
  337. package/lib/stores/editor/DataCubeEditorMutableConfiguration.js.map +1 -0
  338. package/lib/stores/editor/DataCubeEditorPanelState.d.ts +29 -0
  339. package/lib/stores/editor/DataCubeEditorPanelState.d.ts.map +1 -0
  340. package/lib/stores/editor/DataCubeEditorPanelState.js +17 -0
  341. package/lib/stores/editor/DataCubeEditorPanelState.js.map +1 -0
  342. package/lib/stores/editor/DataCubeEditorSortsPanelState.d.ts +41 -0
  343. package/lib/stores/editor/DataCubeEditorSortsPanelState.d.ts.map +1 -0
  344. package/lib/stores/editor/DataCubeEditorSortsPanelState.js +86 -0
  345. package/lib/stores/editor/DataCubeEditorSortsPanelState.js.map +1 -0
  346. package/lib/stores/editor/DataCubeEditorState.d.ts +64 -0
  347. package/lib/stores/editor/DataCubeEditorState.d.ts.map +1 -0
  348. package/lib/stores/editor/DataCubeEditorState.js +155 -0
  349. package/lib/stores/editor/DataCubeEditorState.js.map +1 -0
  350. package/lib/stores/editor/DataCubeEditorVerticalPivotsPanelState.d.ts +35 -0
  351. package/lib/stores/editor/DataCubeEditorVerticalPivotsPanelState.d.ts.map +1 -0
  352. package/lib/stores/editor/DataCubeEditorVerticalPivotsPanelState.js +58 -0
  353. package/lib/stores/editor/DataCubeEditorVerticalPivotsPanelState.js.map +1 -0
  354. package/lib/stores/engine/DataCubeApplicationEngine.d.ts +55 -0
  355. package/lib/stores/engine/DataCubeApplicationEngine.d.ts.map +1 -0
  356. package/lib/stores/engine/DataCubeApplicationEngine.js +33 -0
  357. package/lib/stores/engine/DataCubeApplicationEngine.js.map +1 -0
  358. package/lib/stores/engine/DataCubeEngine.d.ts +124 -0
  359. package/lib/stores/engine/DataCubeEngine.d.ts.map +1 -0
  360. package/lib/stores/engine/DataCubeEngine.js +182 -0
  361. package/lib/stores/engine/DataCubeEngine.js.map +1 -0
  362. package/lib/stores/engine/DataCubeLayoutManagerState.d.ts +62 -0
  363. package/lib/stores/engine/DataCubeLayoutManagerState.d.ts.map +1 -0
  364. package/lib/stores/engine/DataCubeLayoutManagerState.js +133 -0
  365. package/lib/stores/engine/DataCubeLayoutManagerState.js.map +1 -0
  366. package/lib/stores/engine/DataCubeQuery.d.ts +40 -0
  367. package/lib/stores/engine/DataCubeQuery.d.ts.map +1 -0
  368. package/lib/stores/engine/DataCubeQuery.js +79 -0
  369. package/lib/stores/engine/DataCubeQuery.js.map +1 -0
  370. package/lib/stores/extend/DataCubeColumnEditorState.d.ts +61 -0
  371. package/lib/stores/extend/DataCubeColumnEditorState.d.ts.map +1 -0
  372. package/lib/stores/extend/DataCubeColumnEditorState.js +260 -0
  373. package/lib/stores/extend/DataCubeColumnEditorState.js.map +1 -0
  374. package/lib/stores/extend/DataCubeExtendManagerState.d.ts +46 -0
  375. package/lib/stores/extend/DataCubeExtendManagerState.d.ts.map +1 -0
  376. package/lib/stores/extend/DataCubeExtendManagerState.js +119 -0
  377. package/lib/stores/extend/DataCubeExtendManagerState.js.map +1 -0
  378. package/lib/stores/filter/DataCubeFilterEditorState.d.ts +61 -0
  379. package/lib/stores/filter/DataCubeFilterEditorState.d.ts.map +1 -0
  380. package/lib/stores/filter/DataCubeFilterEditorState.js +228 -0
  381. package/lib/stores/filter/DataCubeFilterEditorState.js.map +1 -0
  382. package/lib/stores/grid/DataCubeGridClientEngine.d.ts +93 -0
  383. package/lib/stores/grid/DataCubeGridClientEngine.d.ts.map +1 -0
  384. package/lib/stores/grid/DataCubeGridClientEngine.js +364 -0
  385. package/lib/stores/grid/DataCubeGridClientEngine.js.map +1 -0
  386. package/lib/stores/grid/DataCubeGridClientExportEngine.d.ts +31 -0
  387. package/lib/stores/grid/DataCubeGridClientExportEngine.d.ts.map +1 -0
  388. package/lib/stores/grid/DataCubeGridClientExportEngine.js +152 -0
  389. package/lib/stores/grid/DataCubeGridClientExportEngine.js.map +1 -0
  390. package/lib/stores/grid/DataCubeGridConfigurationBuilder.d.ts +180 -0
  391. package/lib/stores/grid/DataCubeGridConfigurationBuilder.d.ts.map +1 -0
  392. package/lib/stores/grid/DataCubeGridConfigurationBuilder.js +649 -0
  393. package/lib/stores/grid/DataCubeGridConfigurationBuilder.js.map +1 -0
  394. package/lib/stores/grid/DataCubeGridControllerState.d.ts +89 -0
  395. package/lib/stores/grid/DataCubeGridControllerState.d.ts.map +1 -0
  396. package/lib/stores/grid/DataCubeGridControllerState.js +342 -0
  397. package/lib/stores/grid/DataCubeGridControllerState.js.map +1 -0
  398. package/lib/stores/grid/DataCubeGridMenuBuilder.d.ts +19 -0
  399. package/lib/stores/grid/DataCubeGridMenuBuilder.d.ts.map +1 -0
  400. package/lib/stores/grid/DataCubeGridMenuBuilder.js +687 -0
  401. package/lib/stores/grid/DataCubeGridMenuBuilder.js.map +1 -0
  402. package/lib/stores/grid/DataCubeGridQueryBuilder.d.ts +23 -0
  403. package/lib/stores/grid/DataCubeGridQueryBuilder.d.ts.map +1 -0
  404. package/lib/stores/grid/DataCubeGridQueryBuilder.js +130 -0
  405. package/lib/stores/grid/DataCubeGridQueryBuilder.js.map +1 -0
  406. package/lib/stores/grid/DataCubeGridQuerySnapshotBuilder.d.ts +27 -0
  407. package/lib/stores/grid/DataCubeGridQuerySnapshotBuilder.d.ts.map +1 -0
  408. package/lib/stores/grid/DataCubeGridQuerySnapshotBuilder.js +66 -0
  409. package/lib/stores/grid/DataCubeGridQuerySnapshotBuilder.js.map +1 -0
  410. package/lib/stores/grid/DataCubeGridState.d.ts +55 -0
  411. package/lib/stores/grid/DataCubeGridState.d.ts.map +1 -0
  412. package/lib/stores/grid/DataCubeGridState.js +114 -0
  413. package/lib/stores/grid/DataCubeGridState.js.map +1 -0
  414. package/package.json +89 -0
  415. package/src/application/DataCubeDocumentation.ts +22 -0
  416. package/src/components/DataCube.tsx +157 -0
  417. package/src/components/DataCubeProvider.tsx +58 -0
  418. package/src/components/application/DataCubeAlert.tsx +173 -0
  419. package/src/components/application/DataCubeDocumentationPanel.tsx +42 -0
  420. package/src/components/application/DataCubeLayoutManager.tsx +190 -0
  421. package/src/components/application/DataCubeSettingsPanel.tsx +205 -0
  422. package/src/components/editor/DataCubeEditor.tsx +114 -0
  423. package/src/components/editor/DataCubeEditorColumnPropertiesPanel.tsx +1210 -0
  424. package/src/components/editor/DataCubeEditorColumnsPanel.tsx +121 -0
  425. package/src/components/editor/DataCubeEditorColumnsSelector.tsx +596 -0
  426. package/src/components/editor/DataCubeEditorGeneralPropertiesPanel.tsx +786 -0
  427. package/src/components/editor/DataCubeEditorHorizontalPivotsPanel.tsx +61 -0
  428. package/src/components/editor/DataCubeEditorSortsPanel.tsx +166 -0
  429. package/src/components/editor/DataCubeEditorVerticalPivotsPanel.tsx +43 -0
  430. package/src/components/extend/DataCubeColumnEditor.tsx +366 -0
  431. package/src/components/filter/DataCubeFilterEditor.tsx +907 -0
  432. package/src/components/grid/DataCubeGrid.tsx +384 -0
  433. package/src/components/grid/DataCubeGridShared.tsx +45 -0
  434. package/src/components/shared/DataCubeFormUtils.tsx +574 -0
  435. package/src/components/shared/DataCubePureCodeEditorUtils.tsx +91 -0
  436. package/src/index.tsx +22 -0
  437. package/src/stores/DataCubeState.tsx +100 -0
  438. package/src/stores/DataCubeViewState.ts +129 -0
  439. package/src/stores/core/DataCubeConfiguration.ts +240 -0
  440. package/src/stores/core/DataCubeConfigurationBuilder.ts +66 -0
  441. package/src/stores/core/DataCubeInfoState.ts +61 -0
  442. package/src/stores/core/DataCubeQueryBuilder.ts +296 -0
  443. package/src/stores/core/DataCubeQueryBuilderUtils.ts +514 -0
  444. package/src/stores/core/DataCubeQueryEngine.ts +327 -0
  445. package/src/stores/core/DataCubeQuerySnapshot.ts +191 -0
  446. package/src/stores/core/DataCubeQuerySnapshotBuilder.ts +406 -0
  447. package/src/stores/core/DataCubeQuerySnapshotBuilderUtils.ts +197 -0
  448. package/src/stores/core/DataCubeQuerySnapshotManager.ts +148 -0
  449. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation.ts +47 -0
  450. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Average.tsx +52 -0
  451. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Count.tsx +61 -0
  452. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__First.tsx +57 -0
  453. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__JoinStrings.tsx +81 -0
  454. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Last.tsx +57 -0
  455. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Max.tsx +52 -0
  456. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Min.tsx +52 -0
  457. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevPopulation.tsx +55 -0
  458. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__StdDevSample.tsx +52 -0
  459. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__Sum.tsx +52 -0
  460. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__UniqueValue.tsx +57 -0
  461. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__VariancePopulation.tsx +52 -0
  462. package/src/stores/core/aggregation/DataCubeQueryAggregateOperation__VarianceSample.tsx +52 -0
  463. package/src/stores/core/filter/DataCubeQueryFilterEditorState.ts +231 -0
  464. package/src/stores/core/filter/DataCubeQueryFilterOperation.ts +96 -0
  465. package/src/stores/core/filter/DataCubeQueryFilterOperation__Contain.tsx +88 -0
  466. package/src/stores/core/filter/DataCubeQueryFilterOperation__ContainCaseInsensitive.tsx +94 -0
  467. package/src/stores/core/filter/DataCubeQueryFilterOperation__EndWith.tsx +88 -0
  468. package/src/stores/core/filter/DataCubeQueryFilterOperation__EndWithCaseInsensitive.tsx +94 -0
  469. package/src/stores/core/filter/DataCubeQueryFilterOperation__Equal.tsx +170 -0
  470. package/src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.tsx +94 -0
  471. package/src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.tsx +92 -0
  472. package/src/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.tsx +93 -0
  473. package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.tsx +96 -0
  474. package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.tsx +92 -0
  475. package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqual.tsx +96 -0
  476. package/src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanOrEqualColumn.tsx +92 -0
  477. package/src/stores/core/filter/DataCubeQueryFilterOperation__IsNotNull.tsx +92 -0
  478. package/src/stores/core/filter/DataCubeQueryFilterOperation__IsNull.tsx +89 -0
  479. package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThan.tsx +96 -0
  480. package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThanColumn.tsx +92 -0
  481. package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqual.tsx +96 -0
  482. package/src/stores/core/filter/DataCubeQueryFilterOperation__LessThanOrEqualColumn.tsx +92 -0
  483. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotContain.tsx +91 -0
  484. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEndWith.tsx +91 -0
  485. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqual.tsx +101 -0
  486. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitive.tsx +97 -0
  487. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqualCaseInsensitiveColumn.tsx +95 -0
  488. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotEqualColumn.tsx +96 -0
  489. package/src/stores/core/filter/DataCubeQueryFilterOperation__NotStartWith.tsx +91 -0
  490. package/src/stores/core/filter/DataCubeQueryFilterOperation__StartWith.tsx +88 -0
  491. package/src/stores/core/filter/DataCubeQueryFilterOperation__StartWithCaseInsensitive.tsx +94 -0
  492. package/src/stores/editor/DataCubeEditorColumnPropertiesPanelState.ts +111 -0
  493. package/src/stores/editor/DataCubeEditorColumnsPanelState.ts +198 -0
  494. package/src/stores/editor/DataCubeEditorColumnsSelectorState.ts +115 -0
  495. package/src/stores/editor/DataCubeEditorGeneralPropertiesPanelState.ts +87 -0
  496. package/src/stores/editor/DataCubeEditorHorizontalPivotsPanelState.ts +132 -0
  497. package/src/stores/editor/DataCubeEditorMutableConfiguration.ts +677 -0
  498. package/src/stores/editor/DataCubeEditorPanelState.ts +37 -0
  499. package/src/stores/editor/DataCubeEditorSortsPanelState.ts +147 -0
  500. package/src/stores/editor/DataCubeEditorState.tsx +206 -0
  501. package/src/stores/editor/DataCubeEditorVerticalPivotsPanelState.ts +110 -0
  502. package/src/stores/engine/DataCubeApplicationEngine.tsx +120 -0
  503. package/src/stores/engine/DataCubeEngine.ts +276 -0
  504. package/src/stores/engine/DataCubeLayoutManagerState.ts +184 -0
  505. package/src/stores/engine/DataCubeQuery.ts +130 -0
  506. package/src/stores/extend/DataCubeColumnEditorState.tsx +365 -0
  507. package/src/stores/extend/DataCubeExtendManagerState.tsx +175 -0
  508. package/src/stores/filter/DataCubeFilterEditorState.tsx +327 -0
  509. package/src/stores/grid/DataCubeGridClientEngine.ts +506 -0
  510. package/src/stores/grid/DataCubeGridClientExportEngine.ts +173 -0
  511. package/src/stores/grid/DataCubeGridConfigurationBuilder.tsx +940 -0
  512. package/src/stores/grid/DataCubeGridControllerState.ts +493 -0
  513. package/src/stores/grid/DataCubeGridMenuBuilder.tsx +861 -0
  514. package/src/stores/grid/DataCubeGridQueryBuilder.ts +195 -0
  515. package/src/stores/grid/DataCubeGridQuerySnapshotBuilder.ts +125 -0
  516. package/src/stores/grid/DataCubeGridState.ts +155 -0
  517. package/tsconfig.json +164 -0
@@ -0,0 +1,185 @@
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 { DEFAULT_BACKGROUND_COLOR, DEFAULT_ERROR_FOREGROUND_COLOR, DEFAULT_FOREGROUND_COLOR, DEFAULT_NEGATIVE_FOREGROUND_COLOR, DEFAULT_ROW_HIGHLIGHT_BACKGROUND_COLOR, DEFAULT_ZERO_FOREGROUND_COLOR, DEFAULT_GRID_LINE_COLOR, DEFAULT_FONT_FAMILY, DEFAULT_FONT_SIZE, DEFAULT_FONT_BOLD, DEFAULT_FONT_ITALIC, DEFAULT_FONT_STRIKETHROUGH, DEFAULT_TEXT_ALIGN, DEFAULT_FONT_UNDERLINED, DEFAULT_FONT_CASE, DataCubeColumnKind, } from './DataCubeQueryEngine.js';
17
+ import { SerializationFactory, usingModelSchema } from '@finos/legend-shared';
18
+ import { createModelSchema, list, optional, primitive, raw } from 'serializr';
19
+ export class DataCubeColumnConfiguration {
20
+ name;
21
+ type;
22
+ kind = DataCubeColumnKind.DIMENSION;
23
+ displayName;
24
+ decimals;
25
+ displayCommas = false;
26
+ negativeNumberInParens = false;
27
+ numberScale;
28
+ missingValueDisplayText;
29
+ fontFamily;
30
+ fontSize;
31
+ fontBold;
32
+ fontItalic;
33
+ fontUnderline;
34
+ fontStrikethrough;
35
+ fontCase;
36
+ textAlign;
37
+ normalForegroundColor;
38
+ negativeForegroundColor;
39
+ zeroForegroundColor;
40
+ errorForegroundColor;
41
+ normalBackgroundColor;
42
+ negativeBackgroundColor;
43
+ zeroBackgroundColor;
44
+ errorBackgroundColor;
45
+ /**
46
+ * Used to indicate if the column is to be fetched as part of the result
47
+ * or to be used in aggregation. This would influence data-fetching.
48
+ */
49
+ isSelected = true;
50
+ /**
51
+ * Unlike `isSelected`, this is used to indicate if the column is to be displayed
52
+ * in the grid or not, this would not influence data-fetching, i.e. the column
53
+ * is still fetched and used in various part of the queries, but the column associated
54
+ * will not be displayed in the result grid.
55
+ */
56
+ hideFromView = false;
57
+ blur = false;
58
+ fixedWidth;
59
+ minWidth;
60
+ maxWidth;
61
+ pinned;
62
+ displayAsLink = false;
63
+ linkLabelParameter;
64
+ // NOTE: these configurations, when changed, would potentially trigger data-fetching
65
+ aggregateOperator;
66
+ aggregationParameters = [];
67
+ excludedFromHorizontalPivot = true; // this agrees with default column kind set as Dimension
68
+ horizontalPivotSortFunction;
69
+ constructor(name, type) {
70
+ this.name = name;
71
+ this.type = type;
72
+ }
73
+ static serialization = new SerializationFactory(createModelSchema(DataCubeColumnConfiguration, {
74
+ aggregateOperator: primitive(),
75
+ aggregationParameters: list(raw()),
76
+ blur: primitive(),
77
+ decimals: optional(primitive()),
78
+ displayAsLink: primitive(),
79
+ displayCommas: primitive(),
80
+ displayName: optional(primitive()),
81
+ errorBackgroundColor: optional(primitive()),
82
+ errorForegroundColor: optional(primitive()),
83
+ excludedFromHorizontalPivot: primitive(),
84
+ fixedWidth: optional(primitive()),
85
+ fontBold: optional(primitive()),
86
+ fontCase: optional(primitive()),
87
+ fontFamily: optional(primitive()),
88
+ fontItalic: optional(primitive()),
89
+ fontSize: optional(primitive()),
90
+ fontStrikethrough: optional(primitive()),
91
+ fontUnderline: optional(primitive()),
92
+ hideFromView: primitive(),
93
+ horizontalPivotSortFunction: optional(primitive()),
94
+ isSelected: primitive(),
95
+ kind: primitive(),
96
+ linkLabelParameter: optional(primitive()),
97
+ maxWidth: optional(primitive()),
98
+ minWidth: optional(primitive()),
99
+ missingValueDisplayText: optional(primitive()),
100
+ name: primitive(),
101
+ negativeBackgroundColor: optional(primitive()),
102
+ negativeForegroundColor: optional(primitive()),
103
+ normalBackgroundColor: optional(primitive()),
104
+ normalForegroundColor: optional(primitive()),
105
+ negativeNumberInParens: primitive(),
106
+ numberScale: optional(primitive()),
107
+ pinned: optional(primitive()),
108
+ textAlign: optional(primitive()),
109
+ type: primitive(),
110
+ zeroBackgroundColor: optional(primitive()),
111
+ zeroForegroundColor: optional(primitive()),
112
+ }));
113
+ }
114
+ export class DataCubeConfiguration {
115
+ description;
116
+ columns = [];
117
+ showTreeLines = false;
118
+ showHorizontalGridLines = false;
119
+ showVerticalGridLines = true;
120
+ gridLineColor = DEFAULT_GRID_LINE_COLOR;
121
+ fontFamily = DEFAULT_FONT_FAMILY;
122
+ fontSize = DEFAULT_FONT_SIZE;
123
+ fontBold = DEFAULT_FONT_BOLD;
124
+ fontItalic = DEFAULT_FONT_ITALIC;
125
+ fontUnderline = DEFAULT_FONT_UNDERLINED;
126
+ fontStrikethrough = DEFAULT_FONT_STRIKETHROUGH;
127
+ fontCase = DEFAULT_FONT_CASE;
128
+ textAlign = DEFAULT_TEXT_ALIGN;
129
+ normalForegroundColor = DEFAULT_FOREGROUND_COLOR;
130
+ negativeForegroundColor = DEFAULT_NEGATIVE_FOREGROUND_COLOR;
131
+ zeroForegroundColor = DEFAULT_ZERO_FOREGROUND_COLOR;
132
+ errorForegroundColor = DEFAULT_ERROR_FOREGROUND_COLOR;
133
+ normalBackgroundColor = DEFAULT_BACKGROUND_COLOR;
134
+ negativeBackgroundColor = DEFAULT_BACKGROUND_COLOR;
135
+ zeroBackgroundColor = DEFAULT_BACKGROUND_COLOR;
136
+ errorBackgroundColor = DEFAULT_BACKGROUND_COLOR;
137
+ alternateRows = false;
138
+ alternateRowsStandardMode = true;
139
+ alternateRowsColor = DEFAULT_ROW_HIGHLIGHT_BACKGROUND_COLOR;
140
+ alternateRowsCount = 1;
141
+ selectionStats = [];
142
+ showWarningForTruncatedResult = true;
143
+ // NOTE: these configurations, when changed, would potentially trigger data-fetching
144
+ initialExpandLevel;
145
+ showRootAggregation = false;
146
+ showLeafCount = false;
147
+ pivotTotalColumnPlacement;
148
+ treeGroupSortFunction;
149
+ static serialization = new SerializationFactory(createModelSchema(DataCubeConfiguration, {
150
+ alternateRows: primitive(),
151
+ alternateRowsColor: primitive(),
152
+ alternateRowsCount: primitive(),
153
+ alternateRowsStandardMode: primitive(),
154
+ columns: list(usingModelSchema(DataCubeColumnConfiguration.serialization.schema)),
155
+ errorBackgroundColor: primitive(),
156
+ errorForegroundColor: primitive(),
157
+ description: optional(primitive()),
158
+ fontBold: primitive(),
159
+ fontCase: optional(primitive()),
160
+ fontFamily: primitive(),
161
+ fontItalic: primitive(),
162
+ fontSize: primitive(),
163
+ fontStrikethrough: primitive(),
164
+ fontUnderline: optional(primitive()),
165
+ gridLineColor: primitive(),
166
+ initialExpandLevel: optional(primitive()),
167
+ negativeBackgroundColor: primitive(),
168
+ negativeForegroundColor: primitive(),
169
+ normalBackgroundColor: primitive(),
170
+ normalForegroundColor: primitive(),
171
+ pivotTotalColumnPlacement: optional(primitive()),
172
+ selectionStats: list(primitive()),
173
+ showHorizontalGridLines: primitive(),
174
+ showLeafCount: primitive(),
175
+ showRootAggregation: primitive(),
176
+ showTreeLines: primitive(),
177
+ showVerticalGridLines: primitive(),
178
+ showWarningForTruncatedResult: primitive(),
179
+ textAlign: primitive(),
180
+ treeGroupSortFunction: optional(primitive()),
181
+ zeroBackgroundColor: primitive(),
182
+ zeroForegroundColor: primitive(),
183
+ }));
184
+ }
185
+ //# sourceMappingURL=DataCubeConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeConfiguration.js","sourceRoot":"","sources":["../../../src/stores/core/DataCubeConfiguration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,iCAAiC,EACjC,sCAAsC,EACtC,6BAA6B,EAC7B,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,GASnB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,iBA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pC,uBAAuB,EAAE,SAAS,EAAE;QACpC,qBAAqB,EAAE,SAAS,EAAE;QAClC,qBAAqB,EAAE,SAAS,EAAE;QAClC,yBAAyB,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAChD,cAAc,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;QACjC,uBAAuB,EAAE,SAAS,EAAE;QACpC,aAAa,EAAE,SAAS,EAAE;QAC1B,mBAAmB,EAAE,SAAS,EAAE;QAChC,aAAa,EAAE,SAAS,EAAE;QAC1B,qBAAqB,EAAE,SAAS,EAAE;QAClC,6BAA6B,EAAE,SAAS,EAAE;QAC1C,SAAS,EAAE,SAAS,EAAE;QACtB,qBAAqB,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;QAC5C,mBAAmB,EAAE,SAAS,EAAE;QAChC,mBAAmB,EAAE,SAAS,EAAE;KACjC,CAAC,CACH,CAAC"}
@@ -0,0 +1,25 @@
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 { DataCubeColumnConfiguration, DataCubeConfiguration } from './DataCubeConfiguration.js';
17
+ export declare function buildDefaultColumnConfiguration(column: {
18
+ name: string;
19
+ type: string;
20
+ }): DataCubeColumnConfiguration;
21
+ export declare function buildDefaultConfiguration(columns: {
22
+ name: string;
23
+ type: string;
24
+ }[]): DataCubeConfiguration;
25
+ //# sourceMappingURL=DataCubeConfigurationBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeConfigurationBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/core/DataCubeConfigurationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAOpC,wBAAgB,+BAA+B,CAAC,MAAM,EAAE;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,2BAA2B,CAyB9B;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,GACxC,qBAAqB,CAMvB"}
@@ -0,0 +1,50 @@
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 { PRIMITIVE_TYPE } from '@finos/legend-graph';
17
+ import { DataCubeColumnConfiguration, DataCubeConfiguration, } from './DataCubeConfiguration.js';
18
+ import { DataCubeAggregateOperator, DataCubeColumnKind, DataCubeFontTextAlignment, } from './DataCubeQueryEngine.js';
19
+ export function buildDefaultColumnConfiguration(column) {
20
+ const { name, type } = column;
21
+ const config = new DataCubeColumnConfiguration(name, type);
22
+ switch (type) {
23
+ case PRIMITIVE_TYPE.NUMBER:
24
+ case PRIMITIVE_TYPE.INTEGER:
25
+ case PRIMITIVE_TYPE.DECIMAL:
26
+ case PRIMITIVE_TYPE.FLOAT: {
27
+ config.kind = DataCubeColumnKind.MEASURE;
28
+ config.decimals = type === PRIMITIVE_TYPE.INTEGER ? 0 : 2;
29
+ config.displayCommas = true;
30
+ config.negativeNumberInParens = true;
31
+ config.textAlign = DataCubeFontTextAlignment.RIGHT; // always align number to the right
32
+ config.excludedFromHorizontalPivot = false;
33
+ config.aggregateOperator = DataCubeAggregateOperator.SUM;
34
+ break;
35
+ }
36
+ default: {
37
+ config.kind = DataCubeColumnKind.DIMENSION;
38
+ config.excludedFromHorizontalPivot = true;
39
+ config.aggregateOperator = DataCubeAggregateOperator.UNIQUE;
40
+ break;
41
+ }
42
+ }
43
+ return config;
44
+ }
45
+ export function buildDefaultConfiguration(columns) {
46
+ const configuration = new DataCubeConfiguration();
47
+ configuration.columns = columns.map((column) => buildDefaultColumnConfiguration(column));
48
+ return configuration;
49
+ }
50
+ //# sourceMappingURL=DataCubeConfigurationBuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeConfigurationBuilder.js","sourceRoot":"","sources":["../../../src/stores/core/DataCubeConfigurationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,0BAA0B,CAAC;AAElC,MAAM,UAAU,+BAA+B,CAAC,MAG/C;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;IAC9B,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3D,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,cAAc,CAAC,MAAM,CAAC;QAC3B,KAAK,cAAc,CAAC,OAAO,CAAC;QAC5B,KAAK,cAAc,CAAC,OAAO,CAAC;QAC5B,KAAK,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;YAC1B,MAAM,CAAC,IAAI,GAAG,kBAAkB,CAAC,OAAO,CAAC;YACzC,MAAM,CAAC,QAAQ,GAAG,IAAI,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC1D,MAAM,CAAC,aAAa,GAAG,IAAI,CAAC;YAC5B,MAAM,CAAC,sBAAsB,GAAG,IAAI,CAAC;YACrC,MAAM,CAAC,SAAS,GAAG,yBAAyB,CAAC,KAAK,CAAC,CAAC,mCAAmC;YACvF,MAAM,CAAC,2BAA2B,GAAG,KAAK,CAAC;YAC3C,MAAM,CAAC,iBAAiB,GAAG,yBAAyB,CAAC,GAAG,CAAC;YACzD,MAAM;QACR,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,CAAC,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC3C,MAAM,CAAC,2BAA2B,GAAG,IAAI,CAAC;YAC1C,MAAM,CAAC,iBAAiB,GAAG,yBAAyB,CAAC,MAAM,CAAC;YAC5D,MAAM;QACR,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAAyC;IAEzC,MAAM,aAAa,GAAG,IAAI,qBAAqB,EAAE,CAAC;IAClD,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAC7C,+BAA+B,CAAC,MAAM,CAAC,CACxC,CAAC;IACF,OAAO,aAAa,CAAC;AACvB,CAAC"}
@@ -0,0 +1,33 @@
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 { DataCubeViewState } from '../DataCubeViewState.js';
17
+ import { DataCubeQuerySnapshotController } from './DataCubeQuerySnapshotManager.js';
18
+ import type { DataCubeQuerySnapshot } from './DataCubeQuerySnapshot.js';
19
+ import type { DataCubeQuery } from '../engine/DataCubeQuery.js';
20
+ /**
21
+ * Unlike other query editor state, this state does not support making any
22
+ * modification to the query, it simplies subscribe to extract information
23
+ * from the latest snapshot to help display latest static info about the query.
24
+ */
25
+ export declare class DataCubeInfoState extends DataCubeQuerySnapshotController {
26
+ baseQuery: DataCubeQuery;
27
+ name: string;
28
+ private editionStartTime?;
29
+ constructor(view: DataCubeViewState);
30
+ private setName;
31
+ applySnapshot(snapshot: DataCubeQuerySnapshot, previousSnapshot: DataCubeQuerySnapshot | undefined): Promise<void>;
32
+ }
33
+ //# sourceMappingURL=DataCubeInfoState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeInfoState.d.ts","sourceRoot":"","sources":["../../../src/stores/core/DataCubeInfoState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE;;;;GAIG;AACH,qBAAa,iBAAkB,SAAQ,+BAA+B;IACpE,SAAS,EAAG,aAAa,CAAC;IAC1B,IAAI,SAAuB;IAC3B,OAAO,CAAC,gBAAgB,CAAC,CAAqB;gBAElC,IAAI,EAAE,iBAAiB;IASnC,OAAO,CAAC,OAAO;IAIA,aAAa,CAC1B,QAAQ,EAAE,qBAAqB,EAC/B,gBAAgB,EAAE,qBAAqB,GAAG,SAAS;CAWtD"}
@@ -0,0 +1,48 @@
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 { action, makeObservable, observable } from 'mobx';
17
+ import { DataCubeQuerySnapshotController } from './DataCubeQuerySnapshotManager.js';
18
+ import { formatDate } from '@finos/legend-shared';
19
+ import { DEFAULT_REPORT_NAME } from './DataCubeQueryEngine.js';
20
+ /**
21
+ * Unlike other query editor state, this state does not support making any
22
+ * modification to the query, it simplies subscribe to extract information
23
+ * from the latest snapshot to help display latest static info about the query.
24
+ */
25
+ export class DataCubeInfoState extends DataCubeQuerySnapshotController {
26
+ baseQuery;
27
+ name = DEFAULT_REPORT_NAME;
28
+ editionStartTime;
29
+ constructor(view) {
30
+ super(view);
31
+ makeObservable(this, {
32
+ name: observable,
33
+ setName: action,
34
+ });
35
+ }
36
+ setName(val) {
37
+ this.name = val;
38
+ }
39
+ async applySnapshot(snapshot, previousSnapshot) {
40
+ const data = snapshot.data;
41
+ this.setName(data.name);
42
+ if (!this.editionStartTime) {
43
+ this.editionStartTime = snapshot.timestamp;
44
+ }
45
+ this.view.application.setWindowTitle(`\u229E ${data.name}${this.editionStartTime ? ` - ${formatDate(new Date(this.editionStartTime), 'HH:mm:ss EEE MMM dd yyyy')}` : ''}`);
46
+ }
47
+ }
48
+ //# sourceMappingURL=DataCubeInfoState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeInfoState.js","sourceRoot":"","sources":["../../../src/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
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /***************************************************************************************
17
+ * [CORE]
18
+ *
19
+ * This and its corresponding utilitites are used to build the executable query from
20
+ * the query snapshot. The executable query is then used to fetch data.
21
+ ***************************************************************************************/
22
+ import { type V1_AppliedFunction } from '@finos/legend-graph';
23
+ import { type DataCubeQuerySnapshot } from './DataCubeQuerySnapshot.js';
24
+ import { type DataCubeQueryFunctionMap } from './DataCubeQueryEngine.js';
25
+ import { DataCubeConfiguration } from './DataCubeConfiguration.js';
26
+ import type { DataCubeQueryFilterOperation } from './filter/DataCubeQueryFilterOperation.js';
27
+ import type { DataCubeQueryAggregateOperation } from './aggregation/DataCubeQueryAggregateOperation.js';
28
+ export declare function buildExecutableQuery(snapshot: DataCubeQuerySnapshot, filterOperations: DataCubeQueryFilterOperation[], aggregateOperations: DataCubeQueryAggregateOperation[], options?: {
29
+ postProcessor?: (snapshot: DataCubeQuerySnapshot, sequence: V1_AppliedFunction[], funcMap: DataCubeQueryFunctionMap, configuration: DataCubeConfiguration, filterOperations: DataCubeQueryFilterOperation[], aggregateOperations: DataCubeQueryAggregateOperation[]) => void;
30
+ pagination?: {
31
+ start: number;
32
+ end: number;
33
+ } | undefined;
34
+ }): import("@finos/legend-graph").V1_ValueSpecification;
35
+ //# sourceMappingURL=DataCubeQueryBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/core/DataCubeQueryBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;yFAKyF;AAEzF,OAAO,EAEL,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAIL,KAAK,wBAAwB,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAkB7F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AAExG,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,qBAAqB,EAC/B,gBAAgB,EAAE,4BAA4B,EAAE,EAChD,mBAAmB,EAAE,+BAA+B,EAAE,EACtD,OAAO,CAAC,EAAE;IACR,aAAa,CAAC,EAAE,CACd,QAAQ,EAAE,qBAAqB,EAC/B,QAAQ,EAAE,kBAAkB,EAAE,EAC9B,OAAO,EAAE,wBAAwB,EACjC,aAAa,EAAE,qBAAqB,EACpC,gBAAgB,EAAE,4BAA4B,EAAE,EAChD,mBAAmB,EAAE,+BAA+B,EAAE,KACnD,IAAI,CAAC;IACV,UAAU,CAAC,EACP;QACE,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACb,GACD,SAAS,CAAC;CACf,uDAmNF"}
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /***************************************************************************************
17
+ * [CORE]
18
+ *
19
+ * This and its corresponding utilitites are used to build the executable query from
20
+ * the query snapshot. The executable query is then used to fetch data.
21
+ ***************************************************************************************/
22
+ import { PRIMITIVE_TYPE, V1_deserializeValueSpecification, extractElementNameFromPath as _name, } from '@finos/legend-graph';
23
+ import {} from './DataCubeQuerySnapshot.js';
24
+ import { guaranteeNonNullable, isNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
25
+ import { DataCubeExtendedColumnType, DataCubeFunction, DataCubeQuerySortOperator, } from './DataCubeQueryEngine.js';
26
+ import { DataCubeConfiguration } from './DataCubeConfiguration.js';
27
+ import { _col, _collection, _cols, _colSpec, _deserializeToLambda, _elementPtr, _filter, _function, _groupByAggCols, _lambda, _pivotAggCols, _castCols, _primitiveValue, _var, _functionCompositionProcessor, } from './DataCubeQueryBuilderUtils.js';
28
+ export function buildExecutableQuery(snapshot, filterOperations, aggregateOperations, options) {
29
+ const data = snapshot.data;
30
+ const sourceQuery = V1_deserializeValueSpecification(data.sourceQuery, []);
31
+ const configuration = DataCubeConfiguration.serialization.fromJson(data.configuration);
32
+ const sequence = [];
33
+ const funcMap = {};
34
+ const _process = _functionCompositionProcessor(sequence, funcMap);
35
+ // --------------------------------- LEAF-LEVEL EXTEND ---------------------------------
36
+ if (data.leafExtendedColumns.length) {
37
+ _process('leafExtend', _function(_name(DataCubeFunction.EXTEND), [
38
+ _cols(data.leafExtendedColumns.map((col) => {
39
+ if (col._type === DataCubeExtendedColumnType.SIMPLE) {
40
+ const column = col;
41
+ return _colSpec(column.name, _deserializeToLambda(column.lambda));
42
+ }
43
+ throw new UnsupportedOperationError(`Can't build extended column of type '${col._type}'`);
44
+ })),
45
+ ]));
46
+ }
47
+ // --------------------------------- FILTER ---------------------------------
48
+ if (data.filter) {
49
+ _process('filter', _function(_name(DataCubeFunction.FILTER), [
50
+ _lambda([_var()], [_filter(data.filter, filterOperations)]),
51
+ ]));
52
+ }
53
+ // --------------------------------- SELECT ---------------------------------
54
+ if (data.selectColumns.length) {
55
+ _process('select', _function(_name(DataCubeFunction.SELECT), [
56
+ _cols(data.selectColumns.map((col) => _colSpec(col.name))),
57
+ ]));
58
+ }
59
+ // --------------------------------- PIVOT ---------------------------------
60
+ if (data.pivot) {
61
+ const pivot = data.pivot;
62
+ // pre-sort to maintain stable order for pivot result columns
63
+ _process('sort', _function(_name(DataCubeFunction.SORT), [
64
+ _collection(data.pivot.columns.map((col) => _function(_name(DataCubeFunction.ASC), [_col(col.name)]))),
65
+ ]));
66
+ _process('pivot', _function(_name(DataCubeFunction.PIVOT), [
67
+ _cols(pivot.columns.map((col) => _colSpec(col.name))),
68
+ _cols(_pivotAggCols(pivot.columns, snapshot, configuration, aggregateOperations)),
69
+ ]));
70
+ if (pivot.castColumns.length) {
71
+ _process('pivotCast', _function(_name(DataCubeFunction.CAST), [_castCols(pivot.castColumns)]));
72
+ }
73
+ }
74
+ // --------------------------------- GROUP BY ---------------------------------
75
+ if (data.groupBy) {
76
+ const groupBy = data.groupBy;
77
+ _process('groupBy', _function(_name(DataCubeFunction.GROUP_BY), [
78
+ _cols(groupBy.columns.map((col) => _colSpec(col.name))),
79
+ _cols(_groupByAggCols(groupBy.columns, snapshot, configuration, aggregateOperations)),
80
+ ]));
81
+ }
82
+ // --------------------------------- GROUP-LEVEL EXTEND ---------------------------------
83
+ if (data.groupExtendedColumns.length) {
84
+ _process('groupExtend', _function(_name(DataCubeFunction.EXTEND), [
85
+ _cols(data.groupExtendedColumns.map((col) => {
86
+ if (col._type === DataCubeExtendedColumnType.SIMPLE) {
87
+ const column = col;
88
+ return _colSpec(column.name, _deserializeToLambda(column.lambda));
89
+ }
90
+ throw new UnsupportedOperationError(`Can't build extended column of type '${col._type}'`);
91
+ })),
92
+ ]));
93
+ }
94
+ // --------------------------------- SORT ---------------------------------
95
+ if (data.sortColumns.length) {
96
+ _process('sort', _function(_name(DataCubeFunction.SORT), [
97
+ _collection(data.sortColumns.map((col) => _function(_name(col.operation === DataCubeQuerySortOperator.ASCENDING
98
+ ? DataCubeFunction.ASC
99
+ : DataCubeFunction.DESC), [_col(col.name)]))),
100
+ ]));
101
+ }
102
+ // --------------------------------- LIMIT ---------------------------------
103
+ if (data.limit !== undefined) {
104
+ _process('limit', _function(_name(DataCubeFunction.LIMIT), [
105
+ _primitiveValue(PRIMITIVE_TYPE.INTEGER, data.limit),
106
+ ]));
107
+ }
108
+ // --------------------------------- SLICE ---------------------------------
109
+ if (options?.pagination) {
110
+ sequence.push(_function(_name(DataCubeFunction.SLICE), [
111
+ _primitiveValue(PRIMITIVE_TYPE.INTEGER, options.pagination.start),
112
+ _primitiveValue(PRIMITIVE_TYPE.INTEGER, options.pagination.end),
113
+ ]));
114
+ }
115
+ // --------------------------------- FROM ---------------------------------
116
+ sequence.push(_function(_name(DataCubeFunction.FROM), [
117
+ data.mapping ? _elementPtr(data.mapping) : undefined,
118
+ _elementPtr(data.runtime),
119
+ ].filter(isNonNullable)));
120
+ // --------------------------------- FINALIZE ---------------------------------
121
+ options?.postProcessor?.(snapshot, sequence, funcMap, configuration, filterOperations, aggregateOperations);
122
+ if (!sequence.length) {
123
+ return sourceQuery;
124
+ }
125
+ for (let i = 0; i < sequence.length; i++) {
126
+ guaranteeNonNullable(sequence[i]).parameters.unshift(i === 0 ? sourceQuery : guaranteeNonNullable(sequence[i - 1]));
127
+ }
128
+ return guaranteeNonNullable(sequence[sequence.length - 1]);
129
+ }
130
+ //# sourceMappingURL=DataCubeQueryBuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryBuilder.js","sourceRoot":"","sources":["../../../src/stores/core/DataCubeQueryBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;yFAKyF;AAEzF,OAAO,EACL,cAAc,EAEd,gCAAgC,EAChC,0BAA0B,IAAI,KAAK,GACpC,MAAM,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,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /***************************************************************************************
17
+ * [CORE]
18
+ *
19
+ * These are utilities used to build the executable query from the query snapshot.
20
+ * The executable query is then used to fetch data.
21
+ ***************************************************************************************/
22
+ 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_Collection, V1_Lambda, V1_PackageableElementPtr, V1_Variable, type V1_ValueSpecification, V1_GenericTypeInstance } from '@finos/legend-graph';
23
+ import { type DataCubeQuerySnapshotFilterCondition, type DataCubeQuerySnapshotFilter, type DataCubeQuerySnapshotColumn, type DataCubeQuerySnapshot } from './DataCubeQuerySnapshot.js';
24
+ import { type PlainObject } from '@finos/legend-shared';
25
+ import { type DataCubeOperationValue, type DataCubeQueryFunctionMap } from './DataCubeQueryEngine.js';
26
+ import type { DataCubeQueryFilterOperation } from './filter/DataCubeQueryFilterOperation.js';
27
+ import type { DataCubeQueryAggregateOperation } from './aggregation/DataCubeQueryAggregateOperation.js';
28
+ import { type DataCubeConfiguration } from './DataCubeConfiguration.js';
29
+ export declare function _functionCompositionProcessor(sequence: V1_AppliedFunction[], funcMap: DataCubeQueryFunctionMap): (key: keyof DataCubeQueryFunctionMap, func: V1_AppliedFunction) => void;
30
+ export declare function _functionCompositionUnProcessor(sequence: V1_AppliedFunction[], funcMap: DataCubeQueryFunctionMap): (key: keyof DataCubeQueryFunctionMap) => void;
31
+ export declare function _deserializeToLambda(json: PlainObject<V1_Lambda>): V1_Lambda;
32
+ export declare function _var(name?: string | undefined): V1_Variable;
33
+ export declare function _property(name: string, variable?: V1_Variable | undefined): V1_AppliedProperty;
34
+ export declare function _lambda(parameters: V1_Variable[], body: V1_ValueSpecification[]): V1_Lambda;
35
+ export declare function _functionName(funcNameOrPath: string): string;
36
+ export declare function _function(functionName: string, parameters: V1_ValueSpecification[]): V1_AppliedFunction;
37
+ export declare function _collection(values: V1_ValueSpecification[]): V1_Collection;
38
+ export declare function _primitiveValue(type: string, value: unknown): V1_CInteger | V1_CDecimal | V1_CString | V1_CBoolean | V1_CFloat | V1_CDateTime | V1_CStrictDate | V1_CStrictTime;
39
+ export declare function _elementPtr(fullPath: string): V1_PackageableElementPtr;
40
+ export declare function _colSpec(name: string, function1?: V1_Lambda | undefined, function2?: V1_Lambda | undefined): V1_ColSpec;
41
+ export declare function _value(value: DataCubeOperationValue, variable?: V1_Variable | undefined): V1_AppliedProperty | V1_Collection | V1_CInteger | V1_CDecimal | V1_CString | V1_CBoolean | V1_CFloat | V1_CDateTime | V1_CStrictDate | V1_CStrictTime;
42
+ export declare function _not(fn: V1_AppliedFunction): V1_AppliedFunction;
43
+ export declare function _col(name: string, function1?: V1_Lambda | undefined, function2?: V1_Lambda | undefined): V1_ClassInstance;
44
+ export declare function _cols(colSpecs: V1_ColSpec[]): V1_ClassInstance;
45
+ export declare function _aggCol_basic(column: DataCubeQuerySnapshotColumn, func: string): V1_ColSpec;
46
+ export declare function _pivotAggCols(pivotColumns: DataCubeQuerySnapshotColumn[], snapshot: DataCubeQuerySnapshot, configuration: DataCubeConfiguration, aggregateOperations: DataCubeQueryAggregateOperation[]): V1_ColSpec[];
47
+ export declare function _castCols(columns: DataCubeQuerySnapshotColumn[]): V1_GenericTypeInstance;
48
+ export declare function _groupByAggCols(groupByColumns: DataCubeQuerySnapshotColumn[], snapshot: DataCubeQuerySnapshot, configuration: DataCubeConfiguration, aggregateOperations: DataCubeQueryAggregateOperation[]): V1_ColSpec[];
49
+ export declare function _filter(filter: DataCubeQuerySnapshotFilter | DataCubeQuerySnapshotFilterCondition, filterOperations: DataCubeQueryFilterOperation[]): V1_AppliedFunction;
50
+ //# sourceMappingURL=DataCubeQueryBuilderUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryBuilderUtils.d.ts","sourceRoot":"","sources":["../../../src/stores/core/DataCubeQueryBuilderUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;yFAKyF;AAEzF,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,cAAc,EACd,cAAc,EACd,UAAU,EACV,gBAAgB,EAEhB,UAAU,EAEV,aAAa,EACb,SAAS,EAET,wBAAwB,EAExB,WAAW,EAGX,KAAK,qBAAqB,EAG1B,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,oCAAoC,EACzC,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC3B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAOL,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAIL,KAAK,sBAAsB,EAG3B,KAAK,wBAAwB,EAG9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AAC7F,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,4BAA4B,CAAC;AAIpC,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,kBAA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