@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,136 @@
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 {} from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation, generateDefaultFilterConditionPrimitiveTypeValue, } from './DataCubeQueryFilterOperation.js';
18
+ import { DataCubeColumnDataType, DataCubeFunction, DataCubeQueryFilterOperator, ofDataType, } from '../DataCubeQueryEngine.js';
19
+ import { _function, _functionName, _property, _value, } from '../DataCubeQueryBuilderUtils.js';
20
+ import { guaranteeNonNullable } from '@finos/legend-shared';
21
+ export class DataCubeQueryFilterOperation__Equal extends DataCubeQueryFilterOperation {
22
+ get label() {
23
+ return '=';
24
+ }
25
+ get textLabel() {
26
+ return '=';
27
+ }
28
+ get description() {
29
+ return 'equals';
30
+ }
31
+ get operator() {
32
+ return DataCubeQueryFilterOperator.EQUAL;
33
+ }
34
+ isCompatibleWithColumn(column) {
35
+ return ofDataType(column.type, [
36
+ DataCubeColumnDataType.TEXT,
37
+ DataCubeColumnDataType.NUMBER,
38
+ DataCubeColumnDataType.DATE,
39
+ DataCubeColumnDataType.TIME,
40
+ ]);
41
+ }
42
+ isCompatibleWithValue(value) {
43
+ return (ofDataType(value.type, [
44
+ DataCubeColumnDataType.TEXT,
45
+ DataCubeColumnDataType.NUMBER,
46
+ DataCubeColumnDataType.DATE,
47
+ DataCubeColumnDataType.TIME,
48
+ ]) &&
49
+ value.value !== undefined &&
50
+ !Array.isArray(value.value));
51
+ }
52
+ generateDefaultValue(column) {
53
+ return {
54
+ type: column.type,
55
+ value: generateDefaultFilterConditionPrimitiveTypeValue(column.type),
56
+ };
57
+ }
58
+ buildConditionSnapshot(expression) {
59
+ /** TODO: @datacube roundtrip */
60
+ // export const buildPostFilterConditionState = (
61
+ // postFilterState: QueryBuilderPostFilterState,
62
+ // expression: FunctionExpression,
63
+ // operatorFunctionFullPath: string | undefined,
64
+ // operator: QueryBuilderPostFilterOperator,
65
+ // ): PostFilterConditionState | undefined => {
66
+ // let postConditionState: PostFilterConditionState | undefined;
67
+ // const tdsColumnGetter = operator.getTDSColumnGetter();
68
+ // if (
69
+ // tdsColumnGetter &&
70
+ // expression instanceof AbstractPropertyExpression &&
71
+ // expression.func.value.name === tdsColumnGetter
72
+ // ) {
73
+ // const columnState = findProjectionColumnState(expression, postFilterState);
74
+ // postConditionState = new PostFilterConditionState(
75
+ // postFilterState,
76
+ // columnState,
77
+ // operator,
78
+ // );
79
+ // return postConditionState;
80
+ // } else if (
81
+ // operatorFunctionFullPath &&
82
+ // matchFunctionName(expression.functionName, operatorFunctionFullPath)
83
+ // ) {
84
+ // assertTrue(
85
+ // expression.parametersValues.length === 2,
86
+ // `Can't process ${extractElementNameFromPath(
87
+ // operatorFunctionFullPath,
88
+ // )}() expression: ${extractElementNameFromPath(
89
+ // operatorFunctionFullPath,
90
+ // )}() expects '1 argument'`,
91
+ // );
92
+ // // get projection column
93
+ // const tdsColumnPropertyExpression = guaranteeType(
94
+ // expression.parametersValues[0],
95
+ // AbstractPropertyExpression,
96
+ // `Can't process ${extractElementNameFromPath(
97
+ // operatorFunctionFullPath,
98
+ // )}() expression: expects property expression in lambda body`,
99
+ // );
100
+ // const columnState = findProjectionColumnState(
101
+ // tdsColumnPropertyExpression,
102
+ // postFilterState,
103
+ // );
104
+ // // get operation value specification
105
+ // const rightSide = expression.parametersValues[1];
106
+ // // create state
107
+ // postConditionState = new PostFilterConditionState(
108
+ // postFilterState,
109
+ // columnState,
110
+ // operator,
111
+ // );
112
+ // buildPostFilterConditionValueState(rightSide, postConditionState);
113
+ // //post checks
114
+ // assertTrue(
115
+ // operator.isCompatibleWithPostFilterColumn(postConditionState),
116
+ // `Can't process ${extractElementNameFromPath(
117
+ // operatorFunctionFullPath,
118
+ // )}() expression: property is not compatible with post-filter operator`,
119
+ // );
120
+ // assertTrue(
121
+ // operator.isCompatibleWithConditionValue(postConditionState),
122
+ // `Operator '${operator.getLabel()}' not compatible with value specification ${rightSide?.toString()}`,
123
+ // );
124
+ // }
125
+ // return postConditionState;
126
+ // };
127
+ return undefined;
128
+ }
129
+ buildConditionExpression(condition) {
130
+ return _function(_functionName(DataCubeFunction.EQUAL), [
131
+ _property(condition.name),
132
+ _value(guaranteeNonNullable(condition.value)),
133
+ ]);
134
+ }
135
+ }
136
+ //# sourceMappingURL=DataCubeQueryFilterOperation__Equal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__Equal.js","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__Equal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAC5B,gDAAgD,GACjD,MAAM,mCAAmC,CAAC;AAK3C,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,UAAU,GAEX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,GACP,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,OAAO,mCAAoC,SAAQ,4BAA4B;IACnF,IAAa,KAAK;QAChB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,IAAa,SAAS;QACpB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,2BAA2B,CAAC,KAAK,CAAC;IAC3C,CAAC;IAED,sBAAsB,CAAC,MAAmC;QACxD,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,MAAM;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,IAAI;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,KAA6B;QACjD,OAAO,CACL,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE;YACrB,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,MAAM;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,IAAI;SAC5B,CAAC;YACF,KAAK,CAAC,KAAK,KAAK,SAAS;YACzB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAC5B,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,MAAmC;QACtD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,gDAAgD,CAAC,MAAM,CAAC,IAAI,CAAC;SACrE,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,UAA8B;QACnD,gCAAgC;QAChC,iDAAiD;QACjD,kDAAkD;QAClD,oCAAoC;QACpC,kDAAkD;QAClD,8CAA8C;QAC9C,+CAA+C;QAC/C,kEAAkE;QAClE,2DAA2D;QAC3D,SAAS;QACT,yBAAyB;QACzB,0DAA0D;QAC1D,qDAAqD;QACrD,QAAQ;QACR,kFAAkF;QAClF,yDAAyD;QACzD,yBAAyB;QACzB,qBAAqB;QACrB,kBAAkB;QAClB,SAAS;QACT,iCAAiC;QACjC,gBAAgB;QAChB,kCAAkC;QAClC,2EAA2E;QAC3E,QAAQ;QACR,kBAAkB;QAClB,kDAAkD;QAClD,qDAAqD;QACrD,oCAAoC;QACpC,uDAAuD;QACvD,oCAAoC;QACpC,oCAAoC;QACpC,SAAS;QAET,+BAA+B;QAC/B,yDAAyD;QACzD,wCAAwC;QACxC,oCAAoC;QACpC,qDAAqD;QACrD,oCAAoC;QACpC,sEAAsE;QACtE,SAAS;QACT,qDAAqD;QACrD,qCAAqC;QACrC,yBAAyB;QACzB,SAAS;QAET,2CAA2C;QAC3C,wDAAwD;QAExD,sBAAsB;QACtB,yDAAyD;QACzD,yBAAyB;QACzB,qBAAqB;QACrB,kBAAkB;QAClB,SAAS;QAET,yEAAyE;QAEzE,oBAAoB;QACpB,kBAAkB;QAClB,uEAAuE;QACvE,qDAAqD;QACrD,oCAAoC;QACpC,gFAAgF;QAChF,SAAS;QACT,kBAAkB;QAClB,qEAAqE;QACrE,8GAA8G;QAC9G,SAAS;QACT,MAAM;QACN,+BAA+B;QAC/B,KAAK;QACL,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,wBAAwB,CAAC,SAA+C;QACtE,OAAO,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE;YACtD,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;YACzB,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SAC9C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,34 @@
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_AppliedFunction } from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import type { DataCubeQuerySnapshotColumn, DataCubeQuerySnapshotFilterCondition } from '../DataCubeQuerySnapshot.js';
19
+ import { type DataCubeOperationValue } from '../DataCubeQueryEngine.js';
20
+ export declare class DataCubeQueryFilterOperation__EqualCaseInsensitive extends DataCubeQueryFilterOperation {
21
+ get label(): string;
22
+ get textLabel(): string;
23
+ get description(): string;
24
+ get operator(): string;
25
+ isCompatibleWithColumn(column: DataCubeQuerySnapshotColumn): boolean;
26
+ isCompatibleWithValue(value: DataCubeOperationValue): boolean;
27
+ generateDefaultValue(column: DataCubeQuerySnapshotColumn): {
28
+ type: string;
29
+ value: unknown;
30
+ };
31
+ buildConditionSnapshot(expression: V1_AppliedFunction): undefined;
32
+ buildConditionExpression(condition: DataCubeQuerySnapshotFilterCondition): V1_AppliedFunction;
33
+ }
34
+ //# sourceMappingURL=DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__EqualCaseInsensitive.d.ts","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAKL,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,qBAAa,kDAAmD,SAAQ,4BAA4B;IAClG,IAAa,KAAK,WAEjB;IAED,IAAa,SAAS,WAErB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAa,QAAQ,IAAI,MAAM,CAE9B;IAED,sBAAsB,CAAC,MAAM,EAAE,2BAA2B;IAI1D,qBAAqB,CAAC,KAAK,EAAE,sBAAsB;IAQnD,oBAAoB,CAAC,MAAM,EAAE,2BAA2B;;;;IAOxD,sBAAsB,CAAC,UAAU,EAAE,kBAAkB;IAKrD,wBAAwB,CAAC,SAAS,EAAE,oCAAoC;CAWzE"}
@@ -0,0 +1,64 @@
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 {} from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation, generateDefaultFilterConditionPrimitiveTypeValue, } from './DataCubeQueryFilterOperation.js';
18
+ import { DataCubeColumnDataType, DataCubeFunction, DataCubeQueryFilterOperator, ofDataType, } from '../DataCubeQueryEngine.js';
19
+ import { _function, _functionName, _property, _value, _var, } from '../DataCubeQueryBuilderUtils.js';
20
+ import { guaranteeNonNullable } from '@finos/legend-shared';
21
+ export class DataCubeQueryFilterOperation__EqualCaseInsensitive extends DataCubeQueryFilterOperation {
22
+ get label() {
23
+ return '= (case-insensitive)';
24
+ }
25
+ get textLabel() {
26
+ return '= (case-insensitive)';
27
+ }
28
+ get description() {
29
+ return 'equals (case-insensitive)';
30
+ }
31
+ get operator() {
32
+ return DataCubeQueryFilterOperator.EQUAL_CASE_INSENSITIVE;
33
+ }
34
+ isCompatibleWithColumn(column) {
35
+ return ofDataType(column.type, [DataCubeColumnDataType.TEXT]);
36
+ }
37
+ isCompatibleWithValue(value) {
38
+ return (ofDataType(value.type, [DataCubeColumnDataType.TEXT]) &&
39
+ value.value !== undefined &&
40
+ !Array.isArray(value.value));
41
+ }
42
+ generateDefaultValue(column) {
43
+ return {
44
+ type: column.type,
45
+ value: generateDefaultFilterConditionPrimitiveTypeValue(column.type),
46
+ };
47
+ }
48
+ buildConditionSnapshot(expression) {
49
+ /** TODO: @datacube roundtrip */
50
+ return undefined;
51
+ }
52
+ buildConditionExpression(condition) {
53
+ const variable = _var();
54
+ return _function(_functionName(DataCubeFunction.EQUAL), [
55
+ _function(_functionName(DataCubeFunction.TO_LOWERCASE), [
56
+ _property(condition.name, variable),
57
+ ]),
58
+ _function(_functionName(DataCubeFunction.TO_LOWERCASE), [
59
+ _value(guaranteeNonNullable(condition.value), variable),
60
+ ]),
61
+ ]);
62
+ }
63
+ }
64
+ //# sourceMappingURL=DataCubeQueryFilterOperation__EqualCaseInsensitive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__EqualCaseInsensitive.js","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitive.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAC5B,gDAAgD,GACjD,MAAM,mCAAmC,CAAC;AAK3C,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,UAAU,GAEX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,EACN,IAAI,GACL,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,OAAO,kDAAmD,SAAQ,4BAA4B;IAClG,IAAa,KAAK;QAChB,OAAO,sBAAsB,CAAC;IAChC,CAAC;IAED,IAAa,SAAS;QACpB,OAAO,sBAAsB,CAAC;IAChC,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,2BAA2B,CAAC;IACrC,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,2BAA2B,CAAC,sBAAsB,CAAC;IAC5D,CAAC;IAED,sBAAsB,CAAC,MAAmC;QACxD,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,qBAAqB,CAAC,KAA6B;QACjD,OAAO,CACL,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;YACrD,KAAK,CAAC,KAAK,KAAK,SAAS;YACzB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAC5B,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,MAAmC;QACtD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,gDAAgD,CAAC,MAAM,CAAC,IAAI,CAAC;SACrE,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,UAA8B;QACnD,gCAAgC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,wBAAwB,CAAC,SAA+C;QACtE,MAAM,QAAQ,GAAG,IAAI,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE;YACtD,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,EAAE;gBACtD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC;aACpC,CAAC;YACF,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,EAAE;gBACtD,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;aACxD,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,34 @@
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_AppliedFunction } from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import type { DataCubeQuerySnapshotColumn, DataCubeQuerySnapshotFilterCondition } from '../DataCubeQuerySnapshot.js';
19
+ import { DataCubeOperationAdvancedValueType, type DataCubeOperationValue } from '../DataCubeQueryEngine.js';
20
+ export declare class DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn extends DataCubeQueryFilterOperation {
21
+ get label(): string;
22
+ get textLabel(): string;
23
+ get description(): string;
24
+ get operator(): string;
25
+ isCompatibleWithColumn(column: DataCubeQuerySnapshotColumn): boolean;
26
+ isCompatibleWithValue(value: DataCubeOperationValue): boolean;
27
+ generateDefaultValue(column: DataCubeQuerySnapshotColumn): {
28
+ type: DataCubeOperationAdvancedValueType;
29
+ value: string;
30
+ };
31
+ buildConditionSnapshot(expression: V1_AppliedFunction): undefined;
32
+ buildConditionExpression(condition: DataCubeQuerySnapshotFilterCondition): V1_AppliedFunction;
33
+ }
34
+ //# sourceMappingURL=DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.d.ts","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kCAAkC,EAGlC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,qBAAa,wDAAyD,SAAQ,4BAA4B;IACxG,IAAa,KAAK,WAEjB;IAED,IAAa,SAAS,WAErB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAa,QAAQ,IAAI,MAAM,CAE9B;IAED,sBAAsB,CAAC,MAAM,EAAE,2BAA2B;IAI1D,qBAAqB,CAAC,KAAK,EAAE,sBAAsB;IAQnD,oBAAoB,CAAC,MAAM,EAAE,2BAA2B;;;;IAOxD,sBAAsB,CAAC,UAAU,EAAE,kBAAkB;IAKrD,wBAAwB,CAAC,SAAS,EAAE,oCAAoC;CAWzE"}
@@ -0,0 +1,64 @@
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 {} from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import { DataCubeColumnDataType, DataCubeFunction, DataCubeOperationAdvancedValueType, DataCubeQueryFilterOperator, ofDataType, } from '../DataCubeQueryEngine.js';
19
+ import { _function, _functionName, _property, _value, _var, } from '../DataCubeQueryBuilderUtils.js';
20
+ import { guaranteeNonNullable, isString } from '@finos/legend-shared';
21
+ export class DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn extends DataCubeQueryFilterOperation {
22
+ get label() {
23
+ return '= (case-insensitive) value in column';
24
+ }
25
+ get textLabel() {
26
+ return '= (case-insensitive) value in column';
27
+ }
28
+ get description() {
29
+ return 'equals to (case-insensitive) value in column';
30
+ }
31
+ get operator() {
32
+ return DataCubeQueryFilterOperator.EQUAL_CASE_INSENSITIVE_COLUMN;
33
+ }
34
+ isCompatibleWithColumn(column) {
35
+ return ofDataType(column.type, [DataCubeColumnDataType.TEXT]);
36
+ }
37
+ isCompatibleWithValue(value) {
38
+ return (value.type === DataCubeOperationAdvancedValueType.COLUMN &&
39
+ value.value !== undefined &&
40
+ isString(value.value));
41
+ }
42
+ generateDefaultValue(column) {
43
+ return {
44
+ type: DataCubeOperationAdvancedValueType.COLUMN,
45
+ value: column.name,
46
+ };
47
+ }
48
+ buildConditionSnapshot(expression) {
49
+ /** TODO: @datacube roundtrip */
50
+ return undefined;
51
+ }
52
+ buildConditionExpression(condition) {
53
+ const variable = _var();
54
+ return _function(_functionName(DataCubeFunction.EQUAL), [
55
+ _function(_functionName(DataCubeFunction.TO_LOWERCASE), [
56
+ _property(condition.name, variable),
57
+ ]),
58
+ _function(_functionName(DataCubeFunction.TO_LOWERCASE), [
59
+ _value(guaranteeNonNullable(condition.value), variable),
60
+ ]),
61
+ ]);
62
+ }
63
+ }
64
+ //# sourceMappingURL=DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.js","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__EqualCaseInsensitiveColumn.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAKjF,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,kCAAkC,EAClC,2BAA2B,EAC3B,UAAU,GAEX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,EACN,IAAI,GACL,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,OAAO,wDAAyD,SAAQ,4BAA4B;IACxG,IAAa,KAAK;QAChB,OAAO,sCAAsC,CAAC;IAChD,CAAC;IAED,IAAa,SAAS;QACpB,OAAO,sCAAsC,CAAC;IAChD,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,8CAA8C,CAAC;IACxD,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,2BAA2B,CAAC,6BAA6B,CAAC;IACnE,CAAC;IAED,sBAAsB,CAAC,MAAmC;QACxD,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,qBAAqB,CAAC,KAA6B;QACjD,OAAO,CACL,KAAK,CAAC,IAAI,KAAK,kCAAkC,CAAC,MAAM;YACxD,KAAK,CAAC,KAAK,KAAK,SAAS;YACzB,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CACtB,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,MAAmC;QACtD,OAAO;YACL,IAAI,EAAE,kCAAkC,CAAC,MAAM;YAC/C,KAAK,EAAE,MAAM,CAAC,IAAI;SACnB,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,UAA8B;QACnD,gCAAgC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,wBAAwB,CAAC,SAA+C;QACtE,MAAM,QAAQ,GAAG,IAAI,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE;YACtD,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,EAAE;gBACtD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC;aACpC,CAAC;YACF,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,EAAE;gBACtD,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;aACxD,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,34 @@
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_AppliedFunction } from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import type { DataCubeQuerySnapshotColumn, DataCubeQuerySnapshotFilterCondition } from '../DataCubeQuerySnapshot.js';
19
+ import { DataCubeOperationAdvancedValueType, type DataCubeOperationValue } from '../DataCubeQueryEngine.js';
20
+ export declare class DataCubeQueryFilterOperation__EqualColumn extends DataCubeQueryFilterOperation {
21
+ get label(): string;
22
+ get textLabel(): string;
23
+ get description(): string;
24
+ get operator(): string;
25
+ isCompatibleWithColumn(column: DataCubeQuerySnapshotColumn): boolean;
26
+ isCompatibleWithValue(value: DataCubeOperationValue): boolean;
27
+ generateDefaultValue(column: DataCubeQuerySnapshotColumn): {
28
+ type: DataCubeOperationAdvancedValueType;
29
+ value: string;
30
+ };
31
+ buildConditionSnapshot(expression: V1_AppliedFunction): undefined;
32
+ buildConditionExpression(condition: DataCubeQuerySnapshotFilterCondition): V1_AppliedFunction;
33
+ }
34
+ //# sourceMappingURL=DataCubeQueryFilterOperation__EqualColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__EqualColumn.d.ts","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kCAAkC,EAGlC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,qBAAa,yCAA0C,SAAQ,4BAA4B;IACzF,IAAa,KAAK,WAEjB;IAED,IAAa,SAAS,WAErB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAa,QAAQ,IAAI,MAAM,CAE9B;IAED,sBAAsB,CAAC,MAAM,EAAE,2BAA2B;IAS1D,qBAAqB,CAAC,KAAK,EAAE,sBAAsB;IAQnD,oBAAoB,CAAC,MAAM,EAAE,2BAA2B;;;;IAOxD,sBAAsB,CAAC,UAAU,EAAE,kBAAkB;IAKrD,wBAAwB,CAAC,SAAS,EAAE,oCAAoC;CAOzE"}
@@ -0,0 +1,65 @@
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 {} from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import { DataCubeColumnDataType, DataCubeFunction, DataCubeOperationAdvancedValueType, DataCubeQueryFilterOperator, ofDataType, } from '../DataCubeQueryEngine.js';
19
+ import { _function, _functionName, _property, _value, _var, } from '../DataCubeQueryBuilderUtils.js';
20
+ import { guaranteeNonNullable, isString } from '@finos/legend-shared';
21
+ export class DataCubeQueryFilterOperation__EqualColumn extends DataCubeQueryFilterOperation {
22
+ get label() {
23
+ return '= value in column';
24
+ }
25
+ get textLabel() {
26
+ return '= value in column';
27
+ }
28
+ get description() {
29
+ return 'equals to value in column';
30
+ }
31
+ get operator() {
32
+ return DataCubeQueryFilterOperator.EQUAL_COLUMN;
33
+ }
34
+ isCompatibleWithColumn(column) {
35
+ return ofDataType(column.type, [
36
+ DataCubeColumnDataType.TEXT,
37
+ DataCubeColumnDataType.NUMBER,
38
+ DataCubeColumnDataType.DATE,
39
+ DataCubeColumnDataType.TIME,
40
+ ]);
41
+ }
42
+ isCompatibleWithValue(value) {
43
+ return (value.type === DataCubeOperationAdvancedValueType.COLUMN &&
44
+ value.value !== undefined &&
45
+ isString(value.value));
46
+ }
47
+ generateDefaultValue(column) {
48
+ return {
49
+ type: DataCubeOperationAdvancedValueType.COLUMN,
50
+ value: column.name,
51
+ };
52
+ }
53
+ buildConditionSnapshot(expression) {
54
+ /** TODO: @datacube roundtrip */
55
+ return undefined;
56
+ }
57
+ buildConditionExpression(condition) {
58
+ const variable = _var();
59
+ return _function(_functionName(DataCubeFunction.EQUAL), [
60
+ _property(condition.name, variable),
61
+ _value(guaranteeNonNullable(condition.value), variable),
62
+ ]);
63
+ }
64
+ }
65
+ //# sourceMappingURL=DataCubeQueryFilterOperation__EqualColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__EqualColumn.js","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__EqualColumn.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAKjF,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,kCAAkC,EAClC,2BAA2B,EAC3B,UAAU,GAEX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,EACN,IAAI,GACL,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,OAAO,yCAA0C,SAAQ,4BAA4B;IACzF,IAAa,KAAK;QAChB,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,IAAa,SAAS;QACpB,OAAO,mBAAmB,CAAC;IAC7B,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,2BAA2B,CAAC;IACrC,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,2BAA2B,CAAC,YAAY,CAAC;IAClD,CAAC;IAED,sBAAsB,CAAC,MAAmC;QACxD,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,MAAM;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,IAAI;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,KAA6B;QACjD,OAAO,CACL,KAAK,CAAC,IAAI,KAAK,kCAAkC,CAAC,MAAM;YACxD,KAAK,CAAC,KAAK,KAAK,SAAS;YACzB,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CACtB,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,MAAmC;QACtD,OAAO;YACL,IAAI,EAAE,kCAAkC,CAAC,MAAM;YAC/C,KAAK,EAAE,MAAM,CAAC,IAAI;SACnB,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,UAA8B;QACnD,gCAAgC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,wBAAwB,CAAC,SAA+C;QACtE,MAAM,QAAQ,GAAG,IAAI,EAAE,CAAC;QACxB,OAAO,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE;YACtD,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC;YACnC,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC;SACxD,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,34 @@
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_AppliedFunction } from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import type { DataCubeQuerySnapshotColumn, DataCubeQuerySnapshotFilterCondition } from '../DataCubeQuerySnapshot.js';
19
+ import { type DataCubeOperationValue } from '../DataCubeQueryEngine.js';
20
+ export declare class DataCubeQueryFilterOperation__GreaterThan extends DataCubeQueryFilterOperation {
21
+ get label(): string;
22
+ get textLabel(): string;
23
+ get description(): string;
24
+ get operator(): string;
25
+ isCompatibleWithColumn(column: DataCubeQuerySnapshotColumn): boolean;
26
+ isCompatibleWithValue(value: DataCubeOperationValue): boolean;
27
+ generateDefaultValue(column: DataCubeQuerySnapshotColumn): {
28
+ type: string;
29
+ value: unknown;
30
+ };
31
+ buildConditionSnapshot(expression: V1_AppliedFunction): undefined;
32
+ buildConditionExpression(condition: DataCubeQuerySnapshotFilterCondition): V1_AppliedFunction;
33
+ }
34
+ //# sourceMappingURL=DataCubeQueryFilterOperation__GreaterThan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__GreaterThan.d.ts","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAE7B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAKL,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AASnC,qBAAa,yCAA0C,SAAQ,4BAA4B;IACzF,IAAa,KAAK,WAEjB;IAED,IAAa,SAAS,WAErB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAa,QAAQ,IAAI,MAAM,CAE9B;IAED,sBAAsB,CAAC,MAAM,EAAE,2BAA2B;IAQ1D,qBAAqB,CAAC,KAAK,EAAE,sBAAsB;IAYnD,oBAAoB,CAAC,MAAM,EAAE,2BAA2B;;;;IAOxD,sBAAsB,CAAC,UAAU,EAAE,kBAAkB;IAKrD,wBAAwB,CAAC,SAAS,EAAE,oCAAoC;CAMzE"}
@@ -0,0 +1,67 @@
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 {} from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation, generateDefaultFilterConditionPrimitiveTypeValue, } from './DataCubeQueryFilterOperation.js';
18
+ import { DataCubeColumnDataType, DataCubeFunction, DataCubeQueryFilterOperator, ofDataType, } from '../DataCubeQueryEngine.js';
19
+ import { _function, _functionName, _property, _value, } from '../DataCubeQueryBuilderUtils.js';
20
+ import { guaranteeNonNullable } from '@finos/legend-shared';
21
+ export class DataCubeQueryFilterOperation__GreaterThan extends DataCubeQueryFilterOperation {
22
+ get label() {
23
+ return '>';
24
+ }
25
+ get textLabel() {
26
+ return '>';
27
+ }
28
+ get description() {
29
+ return 'is greater than';
30
+ }
31
+ get operator() {
32
+ return DataCubeQueryFilterOperator.GREATER_THAN;
33
+ }
34
+ isCompatibleWithColumn(column) {
35
+ return ofDataType(column.type, [
36
+ DataCubeColumnDataType.NUMBER,
37
+ DataCubeColumnDataType.DATE,
38
+ DataCubeColumnDataType.TIME,
39
+ ]);
40
+ }
41
+ isCompatibleWithValue(value) {
42
+ return (ofDataType(value.type, [
43
+ DataCubeColumnDataType.NUMBER,
44
+ DataCubeColumnDataType.DATE,
45
+ DataCubeColumnDataType.TIME,
46
+ ]) &&
47
+ value.value !== undefined &&
48
+ !Array.isArray(value.value));
49
+ }
50
+ generateDefaultValue(column) {
51
+ return {
52
+ type: column.type,
53
+ value: generateDefaultFilterConditionPrimitiveTypeValue(column.type),
54
+ };
55
+ }
56
+ buildConditionSnapshot(expression) {
57
+ /** TODO: @datacube roundtrip */
58
+ return undefined;
59
+ }
60
+ buildConditionExpression(condition) {
61
+ return _function(_functionName(DataCubeFunction.GREATER_THAN), [
62
+ _property(condition.name),
63
+ _value(guaranteeNonNullable(condition.value)),
64
+ ]);
65
+ }
66
+ }
67
+ //# sourceMappingURL=DataCubeQueryFilterOperation__GreaterThan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__GreaterThan.js","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThan.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAC5B,gDAAgD,GACjD,MAAM,mCAAmC,CAAC;AAK3C,OAAO,EACL,sBAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,UAAU,GAEX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,SAAS,EACT,aAAa,EACb,SAAS,EACT,MAAM,GACP,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,OAAO,yCAA0C,SAAQ,4BAA4B;IACzF,IAAa,KAAK;QAChB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,IAAa,SAAS;QACpB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,IAAa,WAAW;QACtB,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,2BAA2B,CAAC,YAAY,CAAC;IAClD,CAAC;IAED,sBAAsB,CAAC,MAAmC;QACxD,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE;YAC7B,sBAAsB,CAAC,MAAM;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,IAAI;SAC5B,CAAC,CAAC;IACL,CAAC;IAED,qBAAqB,CAAC,KAA6B;QACjD,OAAO,CACL,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE;YACrB,sBAAsB,CAAC,MAAM;YAC7B,sBAAsB,CAAC,IAAI;YAC3B,sBAAsB,CAAC,IAAI;SAC5B,CAAC;YACF,KAAK,CAAC,KAAK,KAAK,SAAS;YACzB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAC5B,CAAC;IACJ,CAAC;IAED,oBAAoB,CAAC,MAAmC;QACtD,OAAO;YACL,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,gDAAgD,CAAC,MAAM,CAAC,IAAI,CAAC;SACrE,CAAC;IACJ,CAAC;IAED,sBAAsB,CAAC,UAA8B;QACnD,gCAAgC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,wBAAwB,CAAC,SAA+C;QACtE,OAAO,SAAS,CAAC,aAAa,CAAC,gBAAgB,CAAC,YAAY,CAAC,EAAE;YAC7D,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;YACzB,MAAM,CAAC,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;SAC9C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,34 @@
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_AppliedFunction } from '@finos/legend-graph';
17
+ import { DataCubeQueryFilterOperation } from './DataCubeQueryFilterOperation.js';
18
+ import type { DataCubeQuerySnapshotColumn, DataCubeQuerySnapshotFilterCondition } from '../DataCubeQuerySnapshot.js';
19
+ import { DataCubeOperationAdvancedValueType, type DataCubeOperationValue } from '../DataCubeQueryEngine.js';
20
+ export declare class DataCubeQueryFilterOperation__GreaterThanColumn extends DataCubeQueryFilterOperation {
21
+ get label(): string;
22
+ get textLabel(): string;
23
+ get description(): string;
24
+ get operator(): string;
25
+ isCompatibleWithColumn(column: DataCubeQuerySnapshotColumn): boolean;
26
+ isCompatibleWithValue(value: DataCubeOperationValue): boolean;
27
+ generateDefaultValue(column: DataCubeQuerySnapshotColumn): {
28
+ type: DataCubeOperationAdvancedValueType;
29
+ value: string;
30
+ };
31
+ buildConditionSnapshot(expression: V1_AppliedFunction): undefined;
32
+ buildConditionExpression(condition: DataCubeQuerySnapshotFilterCondition): V1_AppliedFunction;
33
+ }
34
+ //# sourceMappingURL=DataCubeQueryFilterOperation__GreaterThanColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeQueryFilterOperation__GreaterThanColumn.d.ts","sourceRoot":"","sources":["../../../../src/stores/core/filter/DataCubeQueryFilterOperation__GreaterThanColumn.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,KAAK,EACV,2BAA2B,EAC3B,oCAAoC,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,kCAAkC,EAGlC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,qBAAa,+CAAgD,SAAQ,4BAA4B;IAC/F,IAAa,KAAK,WAEjB;IAED,IAAa,SAAS,WAErB;IAED,IAAa,WAAW,IAAI,MAAM,CAEjC;IAED,IAAa,QAAQ,IAAI,MAAM,CAE9B;IAED,sBAAsB,CAAC,MAAM,EAAE,2BAA2B;IAQ1D,qBAAqB,CAAC,KAAK,EAAE,sBAAsB;IAQnD,oBAAoB,CAAC,MAAM,EAAE,2BAA2B;;;;IAOxD,sBAAsB,CAAC,UAAU,EAAE,kBAAkB;IAKrD,wBAAwB,CAAC,SAAS,EAAE,oCAAoC;CAOzE"}