@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,228 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { action, computed, makeObservable, observable } from 'mobx';
18
+ import { DataCubeQueryFilterGroupOperator, DataCubeQueryFilterOperator, } from '../core/DataCubeQueryEngine.js';
19
+ import { deepClone, getNonNullableEntry, guaranteeNonNullable, } from '@finos/legend-shared';
20
+ import { DataCubeFilterEditorConditionGroupTreeNode, DataCubeFilterEditorConditionTreeNode, buildFilterEditorTree, buildFilterQuerySnapshot, } from '../core/filter/DataCubeQueryFilterEditorState.js';
21
+ import { DataCubeQuerySnapshotController } from '../core/DataCubeQuerySnapshotManager.js';
22
+ import { DataCubeConfiguration, } from '../core/DataCubeConfiguration.js';
23
+ import { DataCubeFilterEditor } from '../../components/filter/DataCubeFilterEditor.js';
24
+ /**
25
+ * This query editor state backs the form editor for filter. It batches changes made
26
+ * to the filter in the form editor.
27
+ */
28
+ export class DataCubeFilterEditorState extends DataCubeQuerySnapshotController {
29
+ display;
30
+ tree;
31
+ selectedNode;
32
+ columns = [];
33
+ constructor(view) {
34
+ super(view);
35
+ makeObservable(this, {
36
+ tree: observable.ref,
37
+ initializeTree: action,
38
+ refreshTree: action,
39
+ columns: observable.struct,
40
+ applySnapshot: action,
41
+ selectedNode: observable,
42
+ selectedGroupNode: computed,
43
+ setSelectedNode: action,
44
+ addFilterNode: action,
45
+ removeFilterNode: action,
46
+ layerFilterNode: action,
47
+ });
48
+ this.display = this.view.application.layout.newDisplay('Filter', () => _jsx(DataCubeFilterEditor, { view: this.view }), {
49
+ x: -50,
50
+ y: 50,
51
+ width: 600,
52
+ height: 400,
53
+ minWidth: 300,
54
+ minHeight: 200,
55
+ center: false,
56
+ });
57
+ this.tree = {
58
+ nodes: new Map(),
59
+ };
60
+ }
61
+ initializeTree() {
62
+ if (this.tree.root === undefined && this.tree.nodes.size === 0) {
63
+ const root = new DataCubeFilterEditorConditionGroupTreeNode(undefined, DataCubeQueryFilterGroupOperator.AND, undefined);
64
+ this.tree.nodes.set(root.uuid, root);
65
+ this.tree.root = root;
66
+ const condition = this.generateNewFilterNode(root);
67
+ if (condition) {
68
+ root.addChild(condition);
69
+ this.tree.nodes.set(condition.uuid, condition);
70
+ }
71
+ this.refreshTree();
72
+ }
73
+ }
74
+ refreshTree() {
75
+ this.tree = { ...this.tree };
76
+ }
77
+ get selectedGroupNode() {
78
+ return this.selectedNode instanceof
79
+ DataCubeFilterEditorConditionGroupTreeNode
80
+ ? this.selectedNode
81
+ : this.selectedNode?.parent;
82
+ }
83
+ setSelectedNode(node) {
84
+ this.selectedNode = node;
85
+ }
86
+ generateNewFilterNode(baseNode) {
87
+ if (baseNode instanceof DataCubeFilterEditorConditionTreeNode) {
88
+ return new DataCubeFilterEditorConditionTreeNode(undefined, baseNode.column, baseNode.operation, deepClone(baseNode.value), baseNode.not);
89
+ }
90
+ else if (baseNode instanceof DataCubeFilterEditorConditionGroupTreeNode) {
91
+ if (this.columns.length !== 0) {
92
+ const columnConfig = getNonNullableEntry(this.columns, 0);
93
+ const column = {
94
+ name: columnConfig.name,
95
+ type: columnConfig.type,
96
+ };
97
+ const operation = this.view.engine.getFilterOperation(DataCubeQueryFilterOperator.EQUAL);
98
+ return new DataCubeFilterEditorConditionTreeNode(undefined, column, operation, operation.generateDefaultValue(column), undefined);
99
+ }
100
+ }
101
+ return undefined;
102
+ }
103
+ /**
104
+ * Add a new filter condition node just after the specified filter node.
105
+ * The added node is a clone of the specified node to make the filter's overall match unaffected,
106
+ * except if the specified node is a group node, then a new (default) condition will be added.
107
+ */
108
+ addFilterNode(baseNode) {
109
+ if (this.tree.root) {
110
+ const node = this.generateNewFilterNode(baseNode);
111
+ const parentNode = baseNode.parent;
112
+ if (parentNode && node) {
113
+ parentNode.addChild(node, baseNode instanceof DataCubeFilterEditorConditionTreeNode
114
+ ? parentNode.children.indexOf(baseNode) + 1
115
+ : undefined);
116
+ this.tree.nodes.set(node.uuid, node);
117
+ this.refreshTree();
118
+ }
119
+ }
120
+ }
121
+ /**
122
+ * Remove the specified filter node.
123
+ * If its parent node has just one child, then flatten the parent node if:
124
+ * 1. parent node is not the root node and has exactly one child left
125
+ * 2. OR parent node is the root node and has no child left, in this case,
126
+ * flattening means completely remove the filter tree
127
+ */
128
+ removeFilterNode(nodeToRemove) {
129
+ if (this.tree.root) {
130
+ const parentNode = nodeToRemove.parent;
131
+ // skip root node
132
+ if (nodeToRemove !== this.tree.root && parentNode) {
133
+ // remove all nodes in the subtree
134
+ let childNodesToRemove = [nodeToRemove];
135
+ while (childNodesToRemove.length) {
136
+ childNodesToRemove.forEach((node) => {
137
+ if (node instanceof DataCubeFilterEditorConditionGroupTreeNode) {
138
+ node.children.forEach((child) => {
139
+ child.setParent(undefined);
140
+ });
141
+ }
142
+ this.tree.nodes.delete(node.uuid);
143
+ });
144
+ childNodesToRemove = Array.from(this.tree.nodes.values()).filter((node) => node !== this.tree.root && !node.parent);
145
+ }
146
+ // remove node from parent
147
+ parentNode.removeChild(nodeToRemove);
148
+ this.tree.nodes.delete(nodeToRemove.uuid);
149
+ // flatten parent node if
150
+ // 1. parent node is not the root node and has exactly one child left
151
+ // 2. OR parent node is the root node and has no child left, in this case,
152
+ // flattening means completely remove the filter tree
153
+ if (parentNode.children.length === 1) {
154
+ if (parentNode !== this.tree.root) {
155
+ const childNode = getNonNullableEntry(parentNode.children, 0);
156
+ const grandParentNode = guaranteeNonNullable(parentNode.parent);
157
+ parentNode.removeChild(childNode);
158
+ const parentNodeIndex = grandParentNode.children.indexOf(parentNode);
159
+ grandParentNode.removeChild(parentNode);
160
+ this.tree.nodes.delete(parentNode.uuid);
161
+ grandParentNode.addChild(childNode, parentNodeIndex);
162
+ }
163
+ }
164
+ else if (parentNode.children.length === 0) {
165
+ if (parentNode === this.tree.root) {
166
+ this.tree.root = undefined;
167
+ this.tree.nodes.delete(parentNode.uuid);
168
+ }
169
+ }
170
+ this.refreshTree();
171
+ if (this.selectedNode === nodeToRemove) {
172
+ this.setSelectedNode(undefined);
173
+ }
174
+ }
175
+ }
176
+ }
177
+ /**
178
+ * Replace the specified filter node with a group which contains
179
+ * the specified node and a new condition node.
180
+ * The added node is a clone of the specified node to make the filter's overall match unaffected,
181
+ * except if the specified node is a group node, then a new (default) condition will be added.
182
+ */
183
+ layerFilterNode(baseNode) {
184
+ if (this.tree.root) {
185
+ const node = this.generateNewFilterNode(baseNode);
186
+ const parentNode = baseNode.parent;
187
+ if (parentNode && node) {
188
+ const baseNodeIndex = parentNode.children.indexOf(baseNode);
189
+ parentNode.removeChild(baseNode);
190
+ const subGroupNode = new DataCubeFilterEditorConditionGroupTreeNode(undefined,
191
+ // Use OR condition when we create sub-group to relax filtering
192
+ DataCubeQueryFilterGroupOperator.OR, undefined);
193
+ subGroupNode.addChild(baseNode);
194
+ subGroupNode.addChild(node);
195
+ parentNode.addChild(subGroupNode, baseNodeIndex);
196
+ this.tree.nodes.set(subGroupNode.uuid, subGroupNode);
197
+ this.tree.nodes.set(node.uuid, node);
198
+ this.refreshTree();
199
+ if (this.selectedNode === baseNode) {
200
+ this.setSelectedNode(subGroupNode);
201
+ }
202
+ }
203
+ }
204
+ }
205
+ async applySnapshot(snapshot, previousSnapshot) {
206
+ const configuration = DataCubeConfiguration.serialization.fromJson(snapshot.data.configuration);
207
+ // NOTE: filtering group-level extended columns is not supported
208
+ this.columns = configuration.columns.filter((column) => !snapshot.data.groupExtendedColumns.find((col) => col.name === column.name));
209
+ this.tree.nodes = new Map();
210
+ this.tree.root = snapshot.data.filter
211
+ ? buildFilterEditorTree(snapshot.data.filter, undefined, this.tree.nodes, (op) => this.view.engine.getFilterOperation(op))
212
+ : undefined;
213
+ this.setSelectedNode(undefined);
214
+ this.refreshTree();
215
+ }
216
+ applyChanges() {
217
+ const baseSnapshot = guaranteeNonNullable(this.getLatestSnapshot());
218
+ const newSnapshot = baseSnapshot.clone();
219
+ newSnapshot.data.filter = this.tree.root
220
+ ? buildFilterQuerySnapshot(this.tree.root)
221
+ : undefined;
222
+ newSnapshot.finalize();
223
+ if (newSnapshot.hashCode !== baseSnapshot.hashCode) {
224
+ this.publishSnapshot(newSnapshot);
225
+ }
226
+ }
227
+ }
228
+ //# sourceMappingURL=DataCubeFilterEditorState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeFilterEditorState.js","sourceRoot":"","sources":["../../../src/stores/filter/DataCubeFilterEditorState.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,gCAAgC,EAChC,2BAA2B,GAC5B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAGL,0CAA0C,EAC1C,qCAAqC,EACrC,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EACL,qBAAqB,GAEtB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAEvF;;;GAGG;AACH,MAAM,OAAO,yBAA0B,SAAQ,+BAA+B;IACnE,OAAO,CAAe;IAE/B,IAAI,CAA2B;IAC/B,YAAY,CAA4C;IACxD,OAAO,GAAkC,EAAE,CAAC;IAE5C,YAAY,IAAuB;QACjC,KAAK,CAAC,IAAI,CAAC,CAAC;QAEZ,cAAc,CAAC,IAAI,EAAE;YACnB,IAAI,EAAE,UAAU,CAAC,GAAG;YACpB,cAAc,EAAE,MAAM;YACtB,WAAW,EAAE,MAAM;YAEnB,OAAO,EAAE,UAAU,CAAC,MAAM;YAE1B,aAAa,EAAE,MAAM;YAErB,YAAY,EAA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rB,CAAC;IAED,YAAY;QACV,MAAM,YAAY,GAAG,oBAAoB,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,CAAC;QACpE,MAAM,WAAW,GAAG,YAAY,CAAC,KAAK,EAAE,CAAC;QAEzC,WAAW,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI;YACtC,CAAC,CAAC,wBAAwB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YAC1C,CAAC,CAAC,SAAS,CAAC;QAEd,WAAW,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,WAAW,CAAC,QAAQ,KAAK,YAAY,CAAC,QAAQ,EAAE,CAAC;YACnD,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,93 @@
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 { GridApi, IServerSideDatasource, IServerSideGetRowsParams } from '@ag-grid-community/core';
17
+ import type { DataCubeGridState } from './DataCubeGridState.js';
18
+ import type { DataCubeConfiguration, DataCubeConfigurationColorKey } from '../core/DataCubeConfiguration.js';
19
+ import { type DataCubeQuerySnapshot } from '../core/DataCubeQuerySnapshot.js';
20
+ export declare enum DataCubeGridClientExportFormat {
21
+ CSV = "CSV",
22
+ EXCEL = "EXCEL",
23
+ PLAIN_TEXT = "PLAIN_TEXT",
24
+ HTML = "HTML",
25
+ PDF = "PDF"
26
+ }
27
+ export declare enum INTERNAL__GridClientUtilityCssClassName {
28
+ ROOT = "data-cube-grid.ag-theme-quartz",
29
+ HIGHLIGHT_ROW = "data-cube-grid__utility--highlight-row",
30
+ SHOW_VERTICAL_GRID_LINES = "data-cube-grid__utility--show-vertical-grid-lines",
31
+ SHOW_HORIZONTAL_GRID_LINES = "data-cube-grid__utility--show-horizontal-grid-lines",
32
+ BLUR = "data-cube-grid__utility--blur",
33
+ FONT_FAMILY_PREFIX = "data-cube-grid__utility--font-family-",
34
+ FONT_SIZE_PREFIX = "data-cube-grid__utility--font-size-",
35
+ FONT_BOLD = "data-cube-grid__utility--font-style-bold",
36
+ FONT_ITALIC = "data-cube-grid__utility--font-style-italic",
37
+ FONT_UNDERLINE_PREFIX = "data-cube-grid__utility--font-style-underline-",
38
+ FONT_STRIKETHROUGH = "data-cube-grid__utility--font-style-strikethrough",
39
+ FONT_CASE_PREFIX = "data-cube-grid__utility--font-style-case-",
40
+ TEXT_ALIGN_PREFIX = "data-cube-grid__utility--text-align-",
41
+ TEXT_COLOR_PREFIX = "data-cube-grid__utility--text-color-",
42
+ BACKGROUND_COLOR_PREFIX = "data-cube-grid__utility--background-color-",
43
+ PIVOT_COLUMN_GROUP = "data-cube-grid__utility--pivot-column-group",
44
+ PIVOT_COLUMN_GROUP_PREFIX = "data-cube-grid__utility--pivot-column-group-"
45
+ }
46
+ export declare const generateFontFamilyUtilityClassName: (fontFamily: string) => string;
47
+ export declare const generateFontSizeUtilityClassName: (fontSize: number) => string;
48
+ export declare const generateFontUnderlineUtilityClassName: (variant: string | undefined) => string;
49
+ export declare const generateFontCaseUtilityClassName: (fontCase: string | undefined) => string;
50
+ export declare const generateTextAlignUtilityClassName: (alignment: string) => string;
51
+ export declare const generateTextColorUtilityClassName: (color: string, key: DataCubeConfigurationColorKey) => string;
52
+ export declare const generateBackgroundColorUtilityClassName: (color: string, key: DataCubeConfigurationColorKey) => string;
53
+ export declare const INTERNAL__GRID_CLIENT_DEFAULT_CACHE_BLOCK_SIZE = 500;
54
+ export declare const INTERNAL__GRID_CLIENT_DEFAULT_ENABLE_PAGINATION = true;
55
+ export declare const INTERNAL__GRID_CLIENT_MAX_CACHE_BLOCK_SIZE = 10000;
56
+ export declare const INTERNAL__GRID_CLIENT_PIVOT_COLUMN_GROUP_COLOR_ROTATION_SIZE = 5;
57
+ export declare const INTERNAL__GRID_CLIENT_SIDE_BAR_WIDTH = 200;
58
+ export declare const INTERNAL__GRID_CLIENT_COLUMN_MIN_WIDTH = 50;
59
+ export declare const INTERNAL__GRID_CLIENT_HEADER_HEIGHT = 24;
60
+ export declare const INTERNAL__GRID_CLIENT_ROW_HEIGHT = 20;
61
+ export declare const INTERNAL__GRID_CLIENT_TOOLTIP_SHOW_DELAY = 1500;
62
+ export declare const INTERNAL__GRID_CLIENT_AUTO_RESIZE_PADDING = 10;
63
+ export declare const INTERNAL__GRID_CLIENT_MISSING_VALUE = "__MISSING";
64
+ export declare const INTERNAL__GRID_CLIENT_TREE_COLUMN_ID = "ag-Grid-AutoColumn";
65
+ export declare const INTERNAL__GRID_CLIENT_DATA_FETCH_MANUAL_TRIGGER_COLUMN_ID = "INTERNAL__dataFetchManualTrigger";
66
+ export declare const INTERNAL__GRID_CLIENT_ROW_GROUPING_COUNT_AGG_COLUMN_ID = "INTERNAL__count";
67
+ export declare enum GridClientPinnedAlignement {
68
+ LEFT = "left",
69
+ RIGHT = "right"
70
+ }
71
+ export declare enum GridClientSortDirection {
72
+ ASCENDING = "asc",
73
+ DESCENDING = "desc"
74
+ }
75
+ export declare function getDataForAllNodes<T>(client: GridApi<T>): T[];
76
+ /**
77
+ * NOTE: this method does not work for server-side row model.
78
+ * It only works when client-side filter is being applied
79
+ */
80
+ export declare function getDataForAllFilteredNodes<T>(client: GridApi<T>): T[];
81
+ /**
82
+ * This method computes the hash code for the parts of the snapshot that should trigger data fetching.
83
+ * This is used to manually trigger server-side row model data source getRows() method.
84
+ */
85
+ export declare function computeHashCodeForDataFetchManualTrigger(snapshot: DataCubeQuerySnapshot, configuration: DataCubeConfiguration): string;
86
+ export declare class DataCubeGridClientServerSideDataSource implements IServerSideDatasource {
87
+ readonly grid: DataCubeGridState;
88
+ rowCount: number | undefined;
89
+ constructor(grid: DataCubeGridState);
90
+ fetchRows(params: IServerSideGetRowsParams<unknown, unknown>): Promise<void>;
91
+ getRows(params: IServerSideGetRowsParams<unknown, unknown>): void;
92
+ }
93
+ //# sourceMappingURL=DataCubeGridClientEngine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataCubeGridClientEngine.d.ts","sourceRoot":"","sources":["../../../src/stores/grid/DataCubeGridClientEngine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,OAAO,EAEP,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAkBhE,OAAO,KAAK,EACV,qBAAqB,EACrB,6BAA6B,EAC9B,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,kCAAkC,CAAC;AAc1C,oBAAY,8BAA8B;IACxC,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,oBAAY,uCAAuC;IACjD,IAAI,mCAAmC;IACvC,aAAa,2CAA2C;IACxD,wBAAwB,sDAAsD;IAC9E,0BAA0B,wDAAwD;IAElF,IAAI,kCAAkC;IAEtC,kBAAkB,0CAA0C;IAC5D,gBAAgB,wCAAwC;IACxD,SAAS,6CAA6C;IACtD,WAAW,+CAA+C;IAC1D,qBAAqB,mDAAmD;IACxE,kBAAkB,sDAAsD;IACxE,gBAAgB,8CAA8C;IAC9D,iBAAiB,yCAAyC;IAC1D,iBAAiB,yCAAyC;IAC1D,uBAAuB,+CAA+C;IAEtE,kBAAkB,gDAAgD;IAClE,yBAAyB,iDA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