@gooddata/sdk-ui 8.13.0-alpha.9 → 9.0.0-alpha.10

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 (535) hide show
  1. package/dist/base/constants/bucketNames.d.ts +26 -16
  2. package/dist/base/constants/bucketNames.d.ts.map +1 -1
  3. package/dist/base/constants/bucketNames.js +37 -33
  4. package/dist/base/constants/bucketNames.js.map +1 -1
  5. package/dist/base/errors/GoodDataSdkError.d.ts +2 -1
  6. package/dist/base/errors/GoodDataSdkError.d.ts.map +1 -1
  7. package/dist/base/errors/GoodDataSdkError.js +82 -112
  8. package/dist/base/errors/GoodDataSdkError.js.map +1 -1
  9. package/dist/base/errors/errorHandling.d.ts.map +1 -1
  10. package/dist/base/errors/errorHandling.js +26 -23
  11. package/dist/base/errors/errorHandling.js.map +1 -1
  12. package/dist/base/headerMatching/HeaderPredicate.d.ts +1 -1
  13. package/dist/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
  14. package/dist/base/headerMatching/HeaderPredicateFactory.js +62 -70
  15. package/dist/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
  16. package/dist/base/headerMatching/MappingHeader.d.ts +8 -2
  17. package/dist/base/headerMatching/MappingHeader.d.ts.map +1 -1
  18. package/dist/base/headerMatching/MappingHeader.js +35 -17
  19. package/dist/base/headerMatching/MappingHeader.js.map +1 -1
  20. package/dist/base/index.d.ts +3 -3
  21. package/dist/base/index.d.ts.map +1 -1
  22. package/dist/base/index.js +7 -4
  23. package/dist/base/index.js.map +1 -1
  24. package/dist/base/interfaces/OverTimeComparison.d.ts +1 -1
  25. package/dist/base/interfaces/OverTimeComparison.d.ts.map +1 -1
  26. package/dist/base/localization/IntlStore.d.ts +2 -4
  27. package/dist/base/localization/IntlStore.d.ts.map +1 -1
  28. package/dist/base/localization/IntlStore.js +15 -17
  29. package/dist/base/localization/IntlStore.js.map +1 -1
  30. package/dist/base/localization/IntlWrapper.d.ts +1 -0
  31. package/dist/base/localization/IntlWrapper.d.ts.map +1 -1
  32. package/dist/base/localization/IntlWrapper.js +10 -10
  33. package/dist/base/localization/IntlWrapper.js.map +1 -1
  34. package/dist/base/localization/Locale.d.ts +1 -1
  35. package/dist/base/localization/Locale.d.ts.map +1 -1
  36. package/dist/base/localization/Locale.js +2 -1
  37. package/dist/base/localization/Locale.js.map +1 -1
  38. package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -0
  39. package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
  40. package/dist/base/localization/TranslationsCustomizationProvider/Context.js +15 -15
  41. package/dist/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  42. package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +29 -38
  43. package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  44. package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts +3 -3
  45. package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
  46. package/dist/base/localization/TranslationsCustomizationProvider/utils.js +31 -38
  47. package/dist/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
  48. package/dist/base/localization/TranslationsProvider.d.ts +1 -1
  49. package/dist/base/localization/TranslationsProvider.d.ts.map +1 -1
  50. package/dist/base/localization/TranslationsProvider.js +14 -21
  51. package/dist/base/localization/TranslationsProvider.js.map +1 -1
  52. package/dist/base/localization/bundles/de-DE.json +20 -7
  53. package/dist/base/localization/bundles/en-US.json +98 -27
  54. package/dist/base/localization/bundles/es-ES.json +20 -7
  55. package/dist/base/localization/bundles/fr-FR.json +20 -7
  56. package/dist/base/localization/bundles/ja-JP.json +20 -7
  57. package/dist/base/localization/bundles/nl-NL.json +20 -7
  58. package/dist/base/localization/bundles/pt-BR.json +20 -7
  59. package/dist/base/localization/bundles/pt-PT.json +20 -7
  60. package/dist/base/localization/bundles/ru-RU.json +20 -7
  61. package/dist/base/localization/bundles/zh-Hans.json +20 -7
  62. package/dist/base/localization/intlUtils.d.ts +6 -0
  63. package/dist/base/localization/intlUtils.d.ts.map +1 -1
  64. package/dist/base/localization/intlUtils.js +32 -29
  65. package/dist/base/localization/intlUtils.js.map +1 -1
  66. package/dist/base/localization/messagesMap.js +12 -12
  67. package/dist/base/localization/messagesMap.js.map +1 -1
  68. package/dist/base/measureFormats/fillMissingFormat.js +6 -6
  69. package/dist/base/measureFormats/fillMissingFormat.js.map +1 -1
  70. package/dist/base/measureFormats/fillMissingFormats.js +3 -3
  71. package/dist/base/measureFormats/fillMissingFormats.js.map +1 -1
  72. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
  73. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js +29 -30
  74. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
  75. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
  76. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +16 -17
  77. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
  78. package/dist/base/measureTitles/fillMissingTitles.js +55 -56
  79. package/dist/base/measureTitles/fillMissingTitles.js.map +1 -1
  80. package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js +5 -5
  81. package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
  82. package/dist/base/react/BackendContext.d.ts +6 -2
  83. package/dist/base/react/BackendContext.d.ts.map +1 -1
  84. package/dist/base/react/BackendContext.js +18 -17
  85. package/dist/base/react/BackendContext.js.map +1 -1
  86. package/dist/base/react/CancelablePromise.js +23 -25
  87. package/dist/base/react/CancelablePromise.js.map +1 -1
  88. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +2 -2
  89. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
  90. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +39 -33
  91. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  92. package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts +5 -0
  93. package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
  94. package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +30 -82
  95. package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
  96. package/dist/base/react/ErrorComponent.js +35 -40
  97. package/dist/base/react/ErrorComponent.js.map +1 -1
  98. package/dist/base/react/LoadingComponent.js +42 -36
  99. package/dist/base/react/LoadingComponent.js.map +1 -1
  100. package/dist/base/react/PromiseCache.js +31 -34
  101. package/dist/base/react/PromiseCache.js.map +1 -1
  102. package/dist/base/react/WorkspaceContext.d.ts +6 -2
  103. package/dist/base/react/WorkspaceContext.d.ts.map +1 -1
  104. package/dist/base/react/WorkspaceContext.js +18 -17
  105. package/dist/base/react/WorkspaceContext.js.map +1 -1
  106. package/dist/base/react/legacy/availableDrillTargets.js +16 -17
  107. package/dist/base/react/legacy/availableDrillTargets.js.map +1 -1
  108. package/dist/base/react/legacy/withEntireDataView.js +117 -141
  109. package/dist/base/react/legacy/withEntireDataView.js.map +1 -1
  110. package/dist/base/react/placeholders/aliases.d.ts +15 -15
  111. package/dist/base/react/placeholders/aliases.d.ts.map +1 -1
  112. package/dist/base/react/placeholders/base.d.ts +20 -20
  113. package/dist/base/react/placeholders/base.d.ts.map +1 -1
  114. package/dist/base/react/placeholders/base.js +6 -6
  115. package/dist/base/react/placeholders/base.js.map +1 -1
  116. package/dist/base/react/placeholders/context.d.ts +1 -1
  117. package/dist/base/react/placeholders/context.d.ts.map +1 -1
  118. package/dist/base/react/placeholders/context.js +17 -16
  119. package/dist/base/react/placeholders/context.js.map +1 -1
  120. package/dist/base/react/placeholders/factory.js +16 -18
  121. package/dist/base/react/placeholders/factory.js.map +1 -1
  122. package/dist/base/react/placeholders/hooks.js +41 -47
  123. package/dist/base/react/placeholders/hooks.js.map +1 -1
  124. package/dist/base/react/placeholders/resolve.js +15 -18
  125. package/dist/base/react/placeholders/resolve.js.map +1 -1
  126. package/dist/base/react/useCancelablePromise.d.ts +8 -8
  127. package/dist/base/react/useCancelablePromise.d.ts.map +1 -1
  128. package/dist/base/react/useCancelablePromise.js +24 -21
  129. package/dist/base/react/useCancelablePromise.js.map +1 -1
  130. package/dist/base/react/useCancelablePromiseUtils.js +16 -17
  131. package/dist/base/react/useCancelablePromiseUtils.js.map +1 -1
  132. package/dist/base/react/usePagedResource.js +25 -29
  133. package/dist/base/react/usePagedResource.js.map +1 -1
  134. package/dist/base/react/usePrevious.js +5 -4
  135. package/dist/base/react/usePrevious.js.map +1 -1
  136. package/dist/base/react/usePromiseCache.js +17 -18
  137. package/dist/base/react/usePromiseCache.js.map +1 -1
  138. package/dist/base/react/withContexts.js +6 -6
  139. package/dist/base/react/withContexts.js.map +1 -1
  140. package/dist/base/react/wrapDisplayName.d.ts +1 -1
  141. package/dist/base/react/wrapDisplayName.d.ts.map +1 -1
  142. package/dist/base/react/wrapDisplayName.js +6 -5
  143. package/dist/base/react/wrapDisplayName.js.map +1 -1
  144. package/dist/base/results/dataAccess.d.ts +18 -10
  145. package/dist/base/results/dataAccess.d.ts.map +1 -1
  146. package/dist/base/results/dataAccessConfig.d.ts +3 -3
  147. package/dist/base/results/dataAccessConfig.d.ts.map +1 -1
  148. package/dist/base/results/dataAccessConfig.js +10 -10
  149. package/dist/base/results/dataAccessConfig.js.map +1 -1
  150. package/dist/base/results/facade.js +39 -40
  151. package/dist/base/results/facade.js.map +1 -1
  152. package/dist/base/results/internal/dataAccessDigest.d.ts +6 -6
  153. package/dist/base/results/internal/dataAccessDigest.d.ts.map +1 -1
  154. package/dist/base/results/internal/dataAccessDigest.js +68 -81
  155. package/dist/base/results/internal/dataAccessDigest.js.map +1 -1
  156. package/dist/base/results/internal/dataAccessImpl.d.ts.map +1 -1
  157. package/dist/base/results/internal/dataAccessImpl.js +160 -159
  158. package/dist/base/results/internal/dataAccessImpl.js.map +1 -1
  159. package/dist/base/results/internal/dataAccessMethods.js +52 -58
  160. package/dist/base/results/internal/dataAccessMethods.js.map +1 -1
  161. package/dist/base/results/internal/definitionMethods.js +40 -41
  162. package/dist/base/results/internal/definitionMethods.js.map +1 -1
  163. package/dist/base/results/internal/lazyInitArray.d.ts +1 -1
  164. package/dist/base/results/internal/lazyInitArray.d.ts.map +1 -1
  165. package/dist/base/results/internal/lazyInitArray.js +20 -20
  166. package/dist/base/results/internal/lazyInitArray.js.map +1 -1
  167. package/dist/base/results/internal/resultDataMethods.d.ts +24 -0
  168. package/dist/base/results/internal/resultDataMethods.d.ts.map +1 -1
  169. package/dist/base/results/internal/resultDataMethods.js +59 -29
  170. package/dist/base/results/internal/resultDataMethods.js.map +1 -1
  171. package/dist/base/results/internal/resultMetaMethods.d.ts.map +1 -1
  172. package/dist/base/results/internal/resultMetaMethods.js +69 -77
  173. package/dist/base/results/internal/resultMetaMethods.js.map +1 -1
  174. package/dist/base/results/internal/utils.d.ts +8 -1
  175. package/dist/base/results/internal/utils.d.ts.map +1 -1
  176. package/dist/base/results/internal/utils.js +14 -2
  177. package/dist/base/results/internal/utils.js.map +1 -1
  178. package/dist/base/vis/DrillEvents.d.ts +5 -5
  179. package/dist/base/vis/DrillEvents.d.ts.map +1 -1
  180. package/dist/base/vis/DrillEvents.js +8 -8
  181. package/dist/base/vis/DrillEvents.js.map +1 -1
  182. package/dist/base/vis/Events.d.ts +6 -5
  183. package/dist/base/vis/Events.d.ts.map +1 -1
  184. package/dist/base/vis/drilling.d.ts.map +1 -1
  185. package/dist/base/vis/drilling.js +26 -31
  186. package/dist/base/vis/drilling.js.map +1 -1
  187. package/dist/base/vis/export.js +10 -10
  188. package/dist/base/vis/export.js.map +1 -1
  189. package/dist/base/vis/visualizationTypes.d.ts +13 -10
  190. package/dist/base/vis/visualizationTypes.d.ts.map +1 -1
  191. package/dist/base/vis/visualizationTypes.js +4 -1
  192. package/dist/base/vis/visualizationTypes.js.map +1 -1
  193. package/dist/execution/DataViewLoader.js +36 -80
  194. package/dist/execution/DataViewLoader.js.map +1 -1
  195. package/dist/execution/Execute.js +36 -35
  196. package/dist/execution/Execute.js.map +1 -1
  197. package/dist/execution/ExecuteInsight.js +55 -63
  198. package/dist/execution/ExecuteInsight.js.map +1 -1
  199. package/dist/execution/RawExecute.js +28 -28
  200. package/dist/execution/RawExecute.js.map +1 -1
  201. package/dist/execution/createExecution.d.ts +1 -1
  202. package/dist/execution/createExecution.d.ts.map +1 -1
  203. package/dist/execution/createExecution.js +18 -17
  204. package/dist/execution/createExecution.js.map +1 -1
  205. package/dist/execution/index.d.ts +0 -2
  206. package/dist/execution/index.d.ts.map +1 -1
  207. package/dist/execution/index.js +1 -5
  208. package/dist/execution/index.js.map +1 -1
  209. package/dist/execution/interfaces.d.ts +2 -2
  210. package/dist/execution/interfaces.d.ts.map +1 -1
  211. package/dist/execution/useDataExport.d.ts +2 -2
  212. package/dist/execution/useDataExport.d.ts.map +1 -1
  213. package/dist/execution/useDataExport.js +17 -20
  214. package/dist/execution/useDataExport.js.map +1 -1
  215. package/dist/execution/useExecutionDataView.d.ts +1 -1
  216. package/dist/execution/useExecutionDataView.d.ts.map +1 -1
  217. package/dist/execution/useExecutionDataView.js +45 -25
  218. package/dist/execution/useExecutionDataView.js.map +1 -1
  219. package/dist/execution/useInsight.js +10 -10
  220. package/dist/execution/useInsight.js.map +1 -1
  221. package/dist/execution/useInsightDataView.d.ts +1 -1
  222. package/dist/execution/useInsightDataView.d.ts.map +1 -1
  223. package/dist/execution/useInsightDataView.js +28 -29
  224. package/dist/execution/useInsightDataView.js.map +1 -1
  225. package/dist/execution/withExecution.js +28 -57
  226. package/dist/execution/withExecution.js.map +1 -1
  227. package/dist/execution/withExecutionLoading.d.ts +2 -2
  228. package/dist/execution/withExecutionLoading.d.ts.map +1 -1
  229. package/dist/execution/withExecutionLoading.js +90 -107
  230. package/dist/execution/withExecutionLoading.js.map +1 -1
  231. package/dist/index.d.ts +0 -1
  232. package/dist/index.d.ts.map +1 -1
  233. package/dist/index.js +3 -5
  234. package/dist/index.js.map +1 -1
  235. package/dist/kpi/FormattedNumber.d.ts +1 -1
  236. package/dist/kpi/FormattedNumber.d.ts.map +1 -1
  237. package/dist/kpi/FormattedNumber.js +9 -9
  238. package/dist/kpi/FormattedNumber.js.map +1 -1
  239. package/dist/kpi/Kpi.d.ts.map +1 -1
  240. package/dist/kpi/Kpi.js +31 -31
  241. package/dist/kpi/Kpi.js.map +1 -1
  242. package/dist/kpi/KpiError.d.ts +1 -1
  243. package/dist/kpi/KpiError.d.ts.map +1 -1
  244. package/dist/kpi/KpiError.js +5 -4
  245. package/dist/kpi/KpiError.js.map +1 -1
  246. package/dist/locales.d.ts +2 -41
  247. package/dist/locales.d.ts.map +1 -1
  248. package/dist/locales.js +3 -3
  249. package/dist/locales.js.map +1 -1
  250. package/dist/sdk-ui.d.ts +111 -235
  251. package/esm/base/constants/bucketNames.d.ts +26 -16
  252. package/esm/base/constants/bucketNames.d.ts.map +1 -1
  253. package/esm/base/constants/bucketNames.js +38 -34
  254. package/esm/base/constants/bucketNames.js.map +1 -1
  255. package/esm/base/constants/colorPalette.js +1 -1
  256. package/esm/base/constants/colorPalette.js.map +1 -1
  257. package/esm/base/errors/GoodDataSdkError.d.ts +2 -1
  258. package/esm/base/errors/GoodDataSdkError.d.ts.map +1 -1
  259. package/esm/base/errors/GoodDataSdkError.js +67 -112
  260. package/esm/base/errors/GoodDataSdkError.js.map +1 -1
  261. package/esm/base/errors/errorHandling.d.ts.map +1 -1
  262. package/esm/base/errors/errorHandling.js +18 -15
  263. package/esm/base/errors/errorHandling.js.map +1 -1
  264. package/esm/base/headerMatching/HeaderPredicate.d.ts +1 -1
  265. package/esm/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
  266. package/esm/base/headerMatching/HeaderPredicateFactory.js +49 -57
  267. package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
  268. package/esm/base/headerMatching/MappingHeader.d.ts +8 -2
  269. package/esm/base/headerMatching/MappingHeader.d.ts.map +1 -1
  270. package/esm/base/headerMatching/MappingHeader.js +20 -3
  271. package/esm/base/headerMatching/MappingHeader.js.map +1 -1
  272. package/esm/base/index.d.ts +3 -3
  273. package/esm/base/index.d.ts.map +1 -1
  274. package/esm/base/index.js +3 -3
  275. package/esm/base/index.js.map +1 -1
  276. package/esm/base/interfaces/OverTimeComparison.d.ts +1 -1
  277. package/esm/base/interfaces/OverTimeComparison.d.ts.map +1 -1
  278. package/esm/base/interfaces/OverTimeComparison.js +1 -1
  279. package/esm/base/interfaces/OverTimeComparison.js.map +1 -1
  280. package/esm/base/localization/IntlStore.d.ts +2 -4
  281. package/esm/base/localization/IntlStore.d.ts.map +1 -1
  282. package/esm/base/localization/IntlStore.js +8 -11
  283. package/esm/base/localization/IntlStore.js.map +1 -1
  284. package/esm/base/localization/IntlWrapper.d.ts +1 -0
  285. package/esm/base/localization/IntlWrapper.d.ts.map +1 -1
  286. package/esm/base/localization/IntlWrapper.js +3 -4
  287. package/esm/base/localization/IntlWrapper.js.map +1 -1
  288. package/esm/base/localization/Locale.d.ts +1 -1
  289. package/esm/base/localization/Locale.d.ts.map +1 -1
  290. package/esm/base/localization/Locale.js +3 -3
  291. package/esm/base/localization/Locale.js.map +1 -1
  292. package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -0
  293. package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
  294. package/esm/base/localization/TranslationsCustomizationProvider/Context.js +7 -9
  295. package/esm/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  296. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +22 -33
  297. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  298. package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts +3 -3
  299. package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
  300. package/esm/base/localization/TranslationsCustomizationProvider/utils.js +24 -37
  301. package/esm/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
  302. package/esm/base/localization/TranslationsProvider.d.ts +1 -1
  303. package/esm/base/localization/TranslationsProvider.d.ts.map +1 -1
  304. package/esm/base/localization/TranslationsProvider.js +8 -17
  305. package/esm/base/localization/TranslationsProvider.js.map +1 -1
  306. package/esm/base/localization/bundles/de-DE.json +20 -7
  307. package/esm/base/localization/bundles/en-US.json +98 -27
  308. package/esm/base/localization/bundles/es-ES.json +20 -7
  309. package/esm/base/localization/bundles/fr-FR.json +20 -7
  310. package/esm/base/localization/bundles/ja-JP.json +20 -7
  311. package/esm/base/localization/bundles/nl-NL.json +20 -7
  312. package/esm/base/localization/bundles/pt-BR.json +20 -7
  313. package/esm/base/localization/bundles/pt-PT.json +20 -7
  314. package/esm/base/localization/bundles/ru-RU.json +20 -7
  315. package/esm/base/localization/bundles/zh-Hans.json +20 -7
  316. package/esm/base/localization/intlUtils.d.ts +6 -0
  317. package/esm/base/localization/intlUtils.d.ts.map +1 -1
  318. package/esm/base/localization/intlUtils.js +20 -20
  319. package/esm/base/localization/intlUtils.js.map +1 -1
  320. package/esm/base/localization/messagesMap.js +1 -1
  321. package/esm/base/localization/messagesMap.js.map +1 -1
  322. package/esm/base/measureFormats/fillMissingFormat.js +4 -4
  323. package/esm/base/measureFormats/fillMissingFormat.js.map +1 -1
  324. package/esm/base/measureFormats/fillMissingFormats.js +1 -1
  325. package/esm/base/measureFormats/fillMissingFormats.js.map +1 -1
  326. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
  327. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js +26 -28
  328. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
  329. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
  330. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +12 -14
  331. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
  332. package/esm/base/measureTitles/fillMissingTitles.js +44 -45
  333. package/esm/base/measureTitles/fillMissingTitles.js.map +1 -1
  334. package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js +3 -3
  335. package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
  336. package/esm/base/react/BackendContext.d.ts +6 -2
  337. package/esm/base/react/BackendContext.d.ts.map +1 -1
  338. package/esm/base/react/BackendContext.js +10 -13
  339. package/esm/base/react/BackendContext.js.map +1 -1
  340. package/esm/base/react/CancelablePromise.js +19 -24
  341. package/esm/base/react/CancelablePromise.js.map +1 -1
  342. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +2 -2
  343. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
  344. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +20 -21
  345. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  346. package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts +5 -0
  347. package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
  348. package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +27 -80
  349. package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
  350. package/esm/base/react/ErrorComponent.js +33 -39
  351. package/esm/base/react/ErrorComponent.js.map +1 -1
  352. package/esm/base/react/LoadingComponent.js +40 -35
  353. package/esm/base/react/LoadingComponent.js.map +1 -1
  354. package/esm/base/react/PromiseCache.js +28 -32
  355. package/esm/base/react/PromiseCache.js.map +1 -1
  356. package/esm/base/react/WorkspaceContext.d.ts +6 -2
  357. package/esm/base/react/WorkspaceContext.d.ts.map +1 -1
  358. package/esm/base/react/WorkspaceContext.js +10 -13
  359. package/esm/base/react/WorkspaceContext.js.map +1 -1
  360. package/esm/base/react/legacy/availableDrillTargets.js +12 -13
  361. package/esm/base/react/legacy/availableDrillTargets.js.map +1 -1
  362. package/esm/base/react/legacy/withEntireDataView.js +102 -127
  363. package/esm/base/react/legacy/withEntireDataView.js.map +1 -1
  364. package/esm/base/react/placeholders/aliases.d.ts +15 -15
  365. package/esm/base/react/placeholders/aliases.d.ts.map +1 -1
  366. package/esm/base/react/placeholders/base.d.ts +20 -20
  367. package/esm/base/react/placeholders/base.d.ts.map +1 -1
  368. package/esm/base/react/placeholders/base.js +2 -2
  369. package/esm/base/react/placeholders/base.js.map +1 -1
  370. package/esm/base/react/placeholders/context.d.ts +1 -1
  371. package/esm/base/react/placeholders/context.d.ts.map +1 -1
  372. package/esm/base/react/placeholders/context.js +12 -13
  373. package/esm/base/react/placeholders/context.js.map +1 -1
  374. package/esm/base/react/placeholders/factory.js +11 -13
  375. package/esm/base/react/placeholders/factory.js.map +1 -1
  376. package/esm/base/react/placeholders/hooks.js +27 -33
  377. package/esm/base/react/placeholders/hooks.js.map +1 -1
  378. package/esm/base/react/placeholders/resolve.js +6 -10
  379. package/esm/base/react/placeholders/resolve.js.map +1 -1
  380. package/esm/base/react/useCancelablePromise.d.ts +8 -8
  381. package/esm/base/react/useCancelablePromise.d.ts.map +1 -1
  382. package/esm/base/react/useCancelablePromise.js +18 -16
  383. package/esm/base/react/useCancelablePromise.js.map +1 -1
  384. package/esm/base/react/useCancelablePromiseUtils.js +13 -15
  385. package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
  386. package/esm/base/react/usePagedResource.js +23 -27
  387. package/esm/base/react/usePagedResource.js.map +1 -1
  388. package/esm/base/react/usePrevious.js +3 -3
  389. package/esm/base/react/usePrevious.js.map +1 -1
  390. package/esm/base/react/usePromiseCache.js +15 -16
  391. package/esm/base/react/usePromiseCache.js.map +1 -1
  392. package/esm/base/react/wrapDisplayName.d.ts +1 -1
  393. package/esm/base/react/wrapDisplayName.d.ts.map +1 -1
  394. package/esm/base/react/wrapDisplayName.js +5 -5
  395. package/esm/base/react/wrapDisplayName.js.map +1 -1
  396. package/esm/base/results/dataAccess.d.ts +18 -10
  397. package/esm/base/results/dataAccess.d.ts.map +1 -1
  398. package/esm/base/results/dataAccessConfig.d.ts +3 -3
  399. package/esm/base/results/dataAccessConfig.d.ts.map +1 -1
  400. package/esm/base/results/dataAccessConfig.js +6 -6
  401. package/esm/base/results/dataAccessConfig.js.map +1 -1
  402. package/esm/base/results/facade.js +30 -31
  403. package/esm/base/results/facade.js.map +1 -1
  404. package/esm/base/results/internal/dataAccessDigest.d.ts +6 -6
  405. package/esm/base/results/internal/dataAccessDigest.d.ts.map +1 -1
  406. package/esm/base/results/internal/dataAccessDigest.js +64 -78
  407. package/esm/base/results/internal/dataAccessDigest.js.map +1 -1
  408. package/esm/base/results/internal/dataAccessImpl.d.ts.map +1 -1
  409. package/esm/base/results/internal/dataAccessImpl.js +140 -140
  410. package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
  411. package/esm/base/results/internal/dataAccessMethods.js +49 -55
  412. package/esm/base/results/internal/dataAccessMethods.js.map +1 -1
  413. package/esm/base/results/internal/definitionMethods.js +33 -34
  414. package/esm/base/results/internal/definitionMethods.js.map +1 -1
  415. package/esm/base/results/internal/lazyInitArray.d.ts +1 -1
  416. package/esm/base/results/internal/lazyInitArray.d.ts.map +1 -1
  417. package/esm/base/results/internal/lazyInitArray.js +18 -19
  418. package/esm/base/results/internal/lazyInitArray.js.map +1 -1
  419. package/esm/base/results/internal/resultDataMethods.d.ts +24 -0
  420. package/esm/base/results/internal/resultDataMethods.d.ts.map +1 -1
  421. package/esm/base/results/internal/resultDataMethods.js +54 -24
  422. package/esm/base/results/internal/resultDataMethods.js.map +1 -1
  423. package/esm/base/results/internal/resultMetaMethods.d.ts.map +1 -1
  424. package/esm/base/results/internal/resultMetaMethods.js +62 -70
  425. package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
  426. package/esm/base/results/internal/utils.d.ts +8 -1
  427. package/esm/base/results/internal/utils.d.ts.map +1 -1
  428. package/esm/base/results/internal/utils.js +12 -1
  429. package/esm/base/results/internal/utils.js.map +1 -1
  430. package/esm/base/vis/DrillEvents.d.ts +5 -5
  431. package/esm/base/vis/DrillEvents.d.ts.map +1 -1
  432. package/esm/base/vis/DrillEvents.js +2 -2
  433. package/esm/base/vis/DrillEvents.js.map +1 -1
  434. package/esm/base/vis/Events.d.ts +6 -5
  435. package/esm/base/vis/Events.d.ts.map +1 -1
  436. package/esm/base/vis/drilling.d.ts.map +1 -1
  437. package/esm/base/vis/drilling.js +14 -20
  438. package/esm/base/vis/drilling.js.map +1 -1
  439. package/esm/base/vis/export.js +10 -10
  440. package/esm/base/vis/export.js.map +1 -1
  441. package/esm/base/vis/visualizationTypes.d.ts +13 -10
  442. package/esm/base/vis/visualizationTypes.d.ts.map +1 -1
  443. package/esm/base/vis/visualizationTypes.js +5 -2
  444. package/esm/base/vis/visualizationTypes.js.map +1 -1
  445. package/esm/execution/DataViewLoader.js +32 -78
  446. package/esm/execution/DataViewLoader.js.map +1 -1
  447. package/esm/execution/Execute.js +29 -30
  448. package/esm/execution/Execute.js.map +1 -1
  449. package/esm/execution/ExecuteInsight.js +49 -58
  450. package/esm/execution/ExecuteInsight.js.map +1 -1
  451. package/esm/execution/RawExecute.js +24 -24
  452. package/esm/execution/RawExecute.js.map +1 -1
  453. package/esm/execution/createExecution.d.ts +1 -1
  454. package/esm/execution/createExecution.d.ts.map +1 -1
  455. package/esm/execution/createExecution.js +12 -12
  456. package/esm/execution/createExecution.js.map +1 -1
  457. package/esm/execution/index.d.ts +0 -2
  458. package/esm/execution/index.d.ts.map +1 -1
  459. package/esm/execution/index.js +0 -2
  460. package/esm/execution/index.js.map +1 -1
  461. package/esm/execution/interfaces.d.ts +2 -2
  462. package/esm/execution/interfaces.d.ts.map +1 -1
  463. package/esm/execution/useDataExport.d.ts +2 -2
  464. package/esm/execution/useDataExport.d.ts.map +1 -1
  465. package/esm/execution/useDataExport.js +15 -18
  466. package/esm/execution/useDataExport.js.map +1 -1
  467. package/esm/execution/useExecutionDataView.d.ts +1 -1
  468. package/esm/execution/useExecutionDataView.d.ts.map +1 -1
  469. package/esm/execution/useExecutionDataView.js +42 -23
  470. package/esm/execution/useExecutionDataView.js.map +1 -1
  471. package/esm/execution/useInsight.js +8 -8
  472. package/esm/execution/useInsight.js.map +1 -1
  473. package/esm/execution/useInsightDataView.d.ts +1 -1
  474. package/esm/execution/useInsightDataView.d.ts.map +1 -1
  475. package/esm/execution/useInsightDataView.js +23 -24
  476. package/esm/execution/useInsightDataView.js.map +1 -1
  477. package/esm/execution/withExecution.js +24 -53
  478. package/esm/execution/withExecution.js.map +1 -1
  479. package/esm/execution/withExecutionLoading.d.ts +2 -2
  480. package/esm/execution/withExecutionLoading.d.ts.map +1 -1
  481. package/esm/execution/withExecutionLoading.js +82 -100
  482. package/esm/execution/withExecutionLoading.js.map +1 -1
  483. package/esm/index.d.ts +0 -1
  484. package/esm/index.d.ts.map +1 -1
  485. package/esm/index.js +1 -3
  486. package/esm/index.js.map +1 -1
  487. package/esm/kpi/FormattedNumber.d.ts +1 -1
  488. package/esm/kpi/FormattedNumber.d.ts.map +1 -1
  489. package/esm/kpi/FormattedNumber.js +5 -6
  490. package/esm/kpi/FormattedNumber.js.map +1 -1
  491. package/esm/kpi/Kpi.d.ts.map +1 -1
  492. package/esm/kpi/Kpi.js +20 -21
  493. package/esm/kpi/Kpi.js.map +1 -1
  494. package/esm/kpi/KpiError.d.ts +1 -1
  495. package/esm/kpi/KpiError.d.ts.map +1 -1
  496. package/esm/kpi/KpiError.js +2 -2
  497. package/esm/kpi/KpiError.js.map +1 -1
  498. package/esm/locales.d.ts +2 -41
  499. package/esm/locales.d.ts.map +1 -1
  500. package/esm/locales.js +2 -2
  501. package/esm/locales.js.map +1 -1
  502. package/esm/tsdoc-metadata.json +1 -1
  503. package/package.json +28 -31
  504. package/dist/base/helpers/CatalogHelper.d.ts +0 -99
  505. package/dist/base/helpers/CatalogHelper.d.ts.map +0 -1
  506. package/dist/base/helpers/CatalogHelper.js +0 -90
  507. package/dist/base/helpers/CatalogHelper.js.map +0 -1
  508. package/dist/execution/useDataView.d.ts +0 -31
  509. package/dist/execution/useDataView.d.ts.map +0 -1
  510. package/dist/execution/useDataView.js +0 -43
  511. package/dist/execution/useDataView.js.map +0 -1
  512. package/dist/execution/useExecution.d.ts +0 -70
  513. package/dist/execution/useExecution.d.ts.map +0 -1
  514. package/dist/execution/useExecution.js +0 -29
  515. package/dist/execution/useExecution.js.map +0 -1
  516. package/dist/polyfills.d.ts +0 -3
  517. package/dist/polyfills.d.ts.map +0 -1
  518. package/dist/polyfills.js +0 -8
  519. package/dist/polyfills.js.map +0 -1
  520. package/esm/base/helpers/CatalogHelper.d.ts +0 -99
  521. package/esm/base/helpers/CatalogHelper.d.ts.map +0 -1
  522. package/esm/base/helpers/CatalogHelper.js +0 -87
  523. package/esm/base/helpers/CatalogHelper.js.map +0 -1
  524. package/esm/execution/useDataView.d.ts +0 -31
  525. package/esm/execution/useDataView.d.ts.map +0 -1
  526. package/esm/execution/useDataView.js +0 -39
  527. package/esm/execution/useDataView.js.map +0 -1
  528. package/esm/execution/useExecution.d.ts +0 -70
  529. package/esm/execution/useExecution.d.ts.map +0 -1
  530. package/esm/execution/useExecution.js +0 -25
  531. package/esm/execution/useExecution.js.map +0 -1
  532. package/esm/polyfills.d.ts +0 -3
  533. package/esm/polyfills.d.ts.map +0 -1
  534. package/esm/polyfills.js +0 -6
  535. package/esm/polyfills.js.map +0 -1
package/dist/locales.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.messages = void 0;
4
- // (C) 2007-2022 GoodData Corporation
5
- var react_intl_1 = require("react-intl");
4
+ // (C) 2007-2023 GoodData Corporation
5
+ const react_intl_1 = require("react-intl");
6
6
  //NOTE: Follow up ticket for move all messages: https://gooddata.atlassian.net/browse/FET-1050
7
- exports.messages = react_intl_1.defineMessages({
7
+ exports.messages = (0, react_intl_1.defineMessages)({
8
8
  sum: { id: "visualizations.measure.arithmetic.sum.title" },
9
9
  difference: { id: "visualizations.measure.arithmetic.difference.title" },
10
10
  multiplication: { id: "visualizations.measure.arithmetic.multiplication.title" },
@@ -1 +1 @@
1
- {"version":3,"file":"locales.js","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AACrC,yCAA4C;AAE5C,8FAA8F;AACjF,QAAA,QAAQ,GAAG,2BAAc,CAAC;IACnC,GAAG,EAAE,EAAE,EAAE,EAAE,6CAA6C,EAAE;IAC1D,UAAU,EAAE,EAAE,EAAE,EAAE,oDAAoD,EAAE;IACxE,cAAc,EAAE,EAAE,EAAE,EAAE,wDAAwD,EAAE;IAChF,KAAK,EAAE,EAAE,EAAE,EAAE,+CAA+C,EAAE;IAC9D,MAAM,EAAE,EAAE,EAAE,EAAE,gDAAgD,EAAE;IAChE,iBAAiB,EAAE,EAAE,EAAE,EAAE,2CAA2C,EAAE;IACtE,cAAc,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE;IAC9D,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;CAC7C,CAAC,CAAC"}
1
+ {"version":3,"file":"locales.js","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AACrC,2CAA+D;AAE/D,8FAA8F;AACjF,QAAA,QAAQ,GAAsC,IAAA,2BAAc,EAAC;IACtE,GAAG,EAAE,EAAE,EAAE,EAAE,6CAA6C,EAAE;IAC1D,UAAU,EAAE,EAAE,EAAE,EAAE,oDAAoD,EAAE;IACxE,cAAc,EAAE,EAAE,EAAE,EAAE,wDAAwD,EAAE;IAChF,KAAK,EAAE,EAAE,EAAE,EAAE,+CAA+C,EAAE;IAC9D,MAAM,EAAE,EAAE,EAAE,EAAE,gDAAgD,EAAE;IAChE,iBAAiB,EAAE,EAAE,EAAE,EAAE,2CAA2C,EAAE;IACtE,cAAc,EAAE,EAAE,EAAE,EAAE,sCAAsC,EAAE;IAC9D,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC1C,CAAC,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE;CAC7C,CAAC,CAAC"}
package/dist/sdk-ui.d.ts CHANGED
@@ -15,11 +15,9 @@
15
15
  /// <reference types="react" />
16
16
 
17
17
  import { AuthenticationFlow } from '@gooddata/sdk-backend-spi';
18
- import { ComponentClass } from 'react';
19
18
  import { ComponentType } from 'react';
20
19
  import { DataValue } from '@gooddata/sdk-model';
21
20
  import { DependencyList } from 'react';
22
- import { FunctionComponent } from 'react';
23
21
  import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
24
22
  import { IAnalyticalBackend } from '@gooddata/sdk-backend-spi';
25
23
  import { IAttribute } from '@gooddata/sdk-model';
@@ -28,6 +26,7 @@ import { IAttributeFilter } from '@gooddata/sdk-model';
28
26
  import { IAttributeOrMeasure } from '@gooddata/sdk-model';
29
27
  import { IBucket } from '@gooddata/sdk-model';
30
28
  import { IColor } from '@gooddata/sdk-model';
29
+ import { IColorDescriptor } from '@gooddata/sdk-model';
31
30
  import { IColorPalette } from '@gooddata/sdk-model';
32
31
  import { IDataView } from '@gooddata/sdk-backend-spi';
33
32
  import { IDateFilter } from '@gooddata/sdk-model';
@@ -66,6 +65,7 @@ import { ISortItem } from '@gooddata/sdk-model';
66
65
  import { ITotal } from '@gooddata/sdk-model';
67
66
  import { ITotalDescriptor } from '@gooddata/sdk-model';
68
67
  import { IWorkspaceSettings } from '@gooddata/sdk-backend-spi';
68
+ import { MessageDescriptor } from 'react-intl';
69
69
  import { ObjRef } from '@gooddata/sdk-model';
70
70
  import { default as React_2 } from 'react';
71
71
  import { ValueOrUpdateCallback } from '@gooddata/sdk-backend-base';
@@ -216,29 +216,41 @@ export declare class BadRequestSdkError extends GoodDataSdkError {
216
216
  constructor(message?: string, cause?: Error);
217
217
  }
218
218
 
219
+ /**
220
+ * @internal
221
+ */
222
+ export declare type BucketNameKeys = keyof typeof BucketNames;
223
+
219
224
  /**
220
225
  * Standard bucket names used in the different visualizations.
221
226
  * @internal
222
227
  */
223
228
  export declare const BucketNames: {
224
- MEASURES: string;
225
- SECONDARY_MEASURES: string;
226
- TERTIARY_MEASURES: string;
227
- ATTRIBUTE: string;
228
- ATTRIBUTES: string;
229
- VIEW: string;
230
- STACK: string;
231
- TREND: string;
232
- SEGMENT: string;
233
- COLUMNS: string;
234
- LOCATION: string;
235
- LONGITUDE: string;
236
- LATITUDE: string;
237
- SIZE: string;
238
- COLOR: string;
239
- TOOLTIP_TEXT: string;
229
+ readonly MEASURES: "measures";
230
+ readonly SECONDARY_MEASURES: "secondary_measures";
231
+ readonly TERTIARY_MEASURES: "tertiary_measures";
232
+ readonly ATTRIBUTE: "attribute";
233
+ readonly ATTRIBUTES: "attributes";
234
+ readonly ATTRIBUTE_FROM: "attribute_from";
235
+ readonly ATTRIBUTE_TO: "attribute_to";
236
+ readonly VIEW: "view";
237
+ readonly STACK: "stack";
238
+ readonly TREND: "trend";
239
+ readonly SEGMENT: "segment";
240
+ readonly COLUMNS: "columns";
241
+ readonly LOCATION: "location";
242
+ readonly LONGITUDE: "longitude";
243
+ readonly LATITUDE: "latitude";
244
+ readonly SIZE: "size";
245
+ readonly COLOR: "color";
246
+ readonly TOOLTIP_TEXT: "tooltipText";
240
247
  };
241
248
 
249
+ /**
250
+ * @internal
251
+ */
252
+ export declare type BucketNameValues = typeof BucketNames[BucketNameKeys];
253
+
242
254
  /**
243
255
  * @internal
244
256
  */
@@ -260,48 +272,6 @@ export declare class CancelledSdkError extends GoodDataSdkError {
260
272
  constructor(message?: string, cause?: Error);
261
273
  }
262
274
 
263
- /**
264
- * Tool that exposes API that to look up measures, attributes, visualizations and other metadata elements
265
- *
266
- * @example
267
- * ```
268
- * import catalog from './catalog.json';
269
- * const C = new CatalogHelper(catalog);
270
- * ```
271
- *
272
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
273
- * @public
274
- */
275
- export declare class CatalogHelper {
276
- measures: {
277
- [key: string]: IIdentifierWithTags;
278
- };
279
- visualizations: {
280
- [key: string]: IIdentifierWithTags;
281
- };
282
- attributes: {
283
- [key: string]: IAttrItem;
284
- };
285
- dateDataSets: {
286
- [key: string]: IDataSet;
287
- };
288
- constructor(catalog: ICatalog);
289
- measure(name: string): string;
290
- measureTags(name: string): string;
291
- visualization(name: string): string;
292
- visualizationTags(name: string): string;
293
- attribute(attributeName: string): string;
294
- attributeTags(attributeName: string): string;
295
- attributeDisplayForm(attributeName: string, displayFormName?: string): string;
296
- attributeDisplayFormTags(attributeName: string, displayFormName?: string): string;
297
- dateDataSet(dataSetName: string): string;
298
- dateDataSetTags(dataSetName: string): string;
299
- dateDataSetAttribute(dataSetName: string, attrName: string): string;
300
- dateDataSetAttributeTags(dataSetName: string, attrName: string): string;
301
- dateDataSetDisplayForm(dataSetName: string, attributeName: string, displayFormName?: string): string;
302
- dateDataSetDisplayFormTags(dataSetName: string, attributeName: string, displayFormName?: string): string;
303
- }
304
-
305
275
  /**
306
276
  * @public
307
277
  */
@@ -310,7 +280,7 @@ export declare type ChartElementType = "slice" | "bar" | "point" | "label" | "ce
310
280
  /**
311
281
  * @public
312
282
  */
313
- export declare type ChartType = "bar" | "column" | "pie" | "line" | "area" | "donut" | "scatter" | "bubble" | "heatmap" | "geo" | "pushpin" | "combo" | "combo2" | "histogram" | "bullet" | "treemap" | "waterfall" | "funnel" | "pareto" | "alluvial";
283
+ export declare type ChartType = "bar" | "column" | "pie" | "line" | "area" | "donut" | "scatter" | "bubble" | "heatmap" | "geo" | "pushpin" | "combo" | "combo2" | "histogram" | "bullet" | "treemap" | "waterfall" | "funnel" | "pyramid" | "pareto" | "alluvial" | "sankey" | "dependencywheel";
314
284
 
315
285
  /**
316
286
  * ClientWorkspaceProvider can be used as a replacement of the {@link WorkspaceProvider},
@@ -507,6 +477,14 @@ export declare type DataSeriesDescriptor = DataSeriesHeaders & DataSeriesDescrip
507
477
  * the same index.
508
478
  */
509
479
  readonly attributeDefinitions?: IAttribute[];
480
+ /**
481
+ * Identifies whether the Data Serie is part of sub-total.
482
+ */
483
+ readonly isSubtotal?: boolean;
484
+ /**
485
+ * Identifies whether the Data Serie is part of grand total.
486
+ */
487
+ readonly isTotal?: boolean;
510
488
  };
511
489
 
512
490
  /**
@@ -898,6 +876,7 @@ export declare const ErrorCodes: {
898
876
  CANCELLED: string;
899
877
  DYNAMIC_SCRIPT_LOAD_ERROR: string;
900
878
  TIMEOUT_ERROR: string;
879
+ VISUALIZATION_CLASS_UNKNOWN: string;
901
880
  };
902
881
 
903
882
  /**
@@ -1120,6 +1099,14 @@ export declare function getMappingHeaderName(header: IMappingHeader): string | u
1120
1099
  */
1121
1100
  export declare function getMappingHeaderUri(header: IMappingHeader): string | undefined;
1122
1101
 
1102
+ /**
1103
+ * @internal
1104
+ */
1105
+ export declare function getTotalInfo(attributeHeaders: IResultAttributeHeader[]): {
1106
+ isTotal: boolean;
1107
+ isSubtotal: boolean;
1108
+ };
1109
+
1123
1110
  /**
1124
1111
  * Convenience function to return translated and formatted string for given key and locale; optionally specify
1125
1112
  * values of parameters to substitute in the translated string.
@@ -1130,9 +1117,7 @@ export declare function getMappingHeaderUri(header: IMappingHeader): string | un
1130
1117
  *
1131
1118
  * @internal
1132
1119
  */
1133
- export declare function getTranslation(translationId: string | {
1134
- id: string;
1135
- }, locale: ILocale, values?: {}): string;
1120
+ export declare function getTranslation(translationId: string | MessageDescriptor, locale: ILocale, values?: {}): string;
1136
1121
 
1137
1122
  /**
1138
1123
  * @internal
@@ -1217,25 +1202,6 @@ export declare interface IArithmeticMeasureTitleProps {
1217
1202
  masterMeasureLocalIdentifiers: string[];
1218
1203
  }
1219
1204
 
1220
- /**
1221
- * @public
1222
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
1223
- */
1224
- export declare interface IAttrItem {
1225
- identifier: string;
1226
- tags: string;
1227
- displayForms: IDisplayForms;
1228
- defaultDisplayForm: IIdentifierWithTags;
1229
- }
1230
-
1231
- /**
1232
- * @public
1233
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
1234
- */
1235
- export declare interface IAttrs {
1236
- [key: string]: IAttrItem;
1237
- }
1238
-
1239
1205
  /**
1240
1206
  * @internal
1241
1207
  */
@@ -1269,6 +1235,10 @@ export declare interface IBackendProviderProps {
1269
1235
  * Specify instance of backend which should be used by components to communicate with the server.
1270
1236
  */
1271
1237
  backend: IAnalyticalBackend;
1238
+ /**
1239
+ * React children
1240
+ */
1241
+ children?: React_2.ReactNode;
1272
1242
  }
1273
1243
 
1274
1244
  /**
@@ -1281,23 +1251,6 @@ export declare interface ICancelablePromise<T> {
1281
1251
  getHasCanceled: () => boolean;
1282
1252
  }
1283
1253
 
1284
- /**
1285
- * @public
1286
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
1287
- */
1288
- export declare interface ICatalog {
1289
- measures?: {
1290
- [key: string]: IIdentifierWithTags;
1291
- };
1292
- visualizations: {
1293
- [key: string]: IIdentifierWithTags;
1294
- };
1295
- attributes: IAttrs;
1296
- dateDataSets: {
1297
- [key: string]: IDataSet;
1298
- };
1299
- }
1300
-
1301
1254
  /**
1302
1255
  * Resolved LCM identifiers of the workspace.
1303
1256
  *
@@ -1320,6 +1273,10 @@ export declare interface IClientWorkspaceIdentifiers {
1320
1273
  * Workspace identifier.
1321
1274
  */
1322
1275
  workspace?: string;
1276
+ /**
1277
+ * React children
1278
+ */
1279
+ children?: React.ReactNode;
1323
1280
  }
1324
1281
 
1325
1282
  /**
@@ -1551,16 +1508,6 @@ export declare interface IDataSeriesCollection extends Iterable<IDataSeries> {
1551
1508
  toArray(): IDataSeries[];
1552
1509
  }
1553
1510
 
1554
- /**
1555
- * @public
1556
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
1557
- */
1558
- export declare interface IDataSet {
1559
- identifier: string;
1560
- tags: string;
1561
- attributes: IAttrs;
1562
- }
1563
-
1564
1511
  /**
1565
1512
  * Data slice is a sequence of data points that are all computed for a particular attribute elements and/or totals but
1566
1513
  * different data series.
@@ -1649,14 +1596,6 @@ export declare interface IDataVisualizationProps extends IVisualizationProps, IV
1649
1596
  */
1650
1597
  export declare function identifierMatch(identifier: string): IHeaderPredicate;
1651
1598
 
1652
- /**
1653
- * @public
1654
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
1655
- */
1656
- export declare interface IDisplayForms {
1657
- [key: string]: IIdentifierWithTags;
1658
- }
1659
-
1660
1599
  /**
1661
1600
  * @public
1662
1601
  */
@@ -2296,20 +2235,12 @@ export declare interface IHighchartsParentTick {
2296
2235
  label: any;
2297
2236
  }
2298
2237
 
2299
- /**
2300
- * @public
2301
- * @deprecated catalog helper is deprecated in favor of code-based catalog that can be generated by catalog-export tool
2302
- */
2303
- export declare interface IIdentifierWithTags {
2304
- identifier: string;
2305
- tags: string;
2306
- }
2307
-
2308
2238
  /**
2309
2239
  * @internal
2310
2240
  */
2311
2241
  export declare interface IIntlWrapperProps {
2312
2242
  locale?: string;
2243
+ children?: React_2.ReactNode;
2313
2244
  }
2314
2245
 
2315
2246
  /**
@@ -2428,7 +2359,7 @@ export declare type ILocale = "en-US" | "de-DE" | "es-ES" | "fr-FR" | "ja-JP" |
2428
2359
  *
2429
2360
  * @public
2430
2361
  */
2431
- export declare type IMappingHeader = IAttributeDescriptor | IResultAttributeHeader | IMeasureDescriptor | ITotalDescriptor;
2362
+ export declare type IMappingHeader = IAttributeDescriptor | IResultAttributeHeader | IMeasureDescriptor | ITotalDescriptor | IColorDescriptor;
2432
2363
 
2433
2364
  /**
2434
2365
  * The properties of the `GdcVisualizationObject.IMeasure` necessary for the creation of the title of the ad hoc measures.
@@ -2530,7 +2461,8 @@ export declare interface IPushData {
2530
2461
  properties?: {
2531
2462
  sortItems?: ISortItem[];
2532
2463
  totals?: ITotal[];
2533
- controls?: object;
2464
+ controls?: Record<string, any>;
2465
+ bucketType?: string;
2534
2466
  };
2535
2467
  propertiesMeta?: any;
2536
2468
  colors?: IColorsData;
@@ -2651,6 +2583,30 @@ export declare interface IResultDataMethods {
2651
2583
  * @returns grand totals in the data view, undefined if there are no grand totals
2652
2584
  */
2653
2585
  totals(): DataValue[][][] | undefined;
2586
+ /**
2587
+ * @returns grand totals for row in the data view, undefined if there are no row grand totals
2588
+ */
2589
+ rowTotals(): DataValue[][] | undefined;
2590
+ /**
2591
+ * @returns grand totals for column in the data view, undefined if there are no column grand totals
2592
+ */
2593
+ columnTotals(): DataValue[][] | undefined;
2594
+ /**
2595
+ * @returns totals of grand totals in the data view, undefined if there are no totals of grand totals
2596
+ */
2597
+ totalOfTotals(): DataValue[][][] | undefined;
2598
+ /**
2599
+ * Tests whether the data view included grand totals for row
2600
+ *
2601
+ * @returns true if row grand totals present, false if not
2602
+ */
2603
+ hasRowTotals(): boolean;
2604
+ /**
2605
+ * Tests whether the data view included grand totals for column
2606
+ *
2607
+ * @returns true if column grand totals present, false if not
2608
+ */
2609
+ hasColumnTotals(): boolean;
2654
2610
  /**
2655
2611
  * Tests whether the data view included grand totals.
2656
2612
  *
@@ -2939,6 +2895,10 @@ export declare interface ITranslationsCustomizationContextProviderProps {
2939
2895
  * Customized translations.
2940
2896
  */
2941
2897
  translations: Record<string, string>;
2898
+ /**
2899
+ * React children
2900
+ */
2901
+ children?: React_2.ReactNode;
2942
2902
  }
2943
2903
 
2944
2904
  /**
@@ -2993,64 +2953,6 @@ export declare type ITranslationsProviderProps = ITranslationsProviderOwnProps &
2993
2953
  */
2994
2954
  export declare type IUseComposedPlaceholderHook<T extends IComposedPlaceholder<any, any, any>> = (resolutionContext: ComposedPlaceholderResolutionContext<T>) => PlaceholderResolvedValue<T>;
2995
2955
 
2996
- /**
2997
- * @deprecated use {@link useExecutionDataView} instead
2998
- * @beta
2999
- */
3000
- export declare interface IUseExecutionConfig {
3001
- /**
3002
- * Data series will be built using the provided measures that are further scoped for
3003
- * elements of the specified attributes.
3004
- */
3005
- seriesBy: AttributesMeasuresOrPlaceholders;
3006
- /**
3007
- * Slice all data series by elements of these attributes.
3008
- */
3009
- slicesBy?: AttributesOrPlaceholders;
3010
- /**
3011
- * Include these totals among the data slices.
3012
- */
3013
- totals?: TotalsOrPlaceholders;
3014
- /**
3015
- * Filters to apply on server side.
3016
- */
3017
- filters?: NullableFiltersOrPlaceholders;
3018
- /**
3019
- * Sorting to apply on server side.
3020
- */
3021
- sortBy?: SortsOrPlaceholders;
3022
- /**
3023
- * Resolution context for composed placeholders.
3024
- */
3025
- placeholdersResolutionContext?: any;
3026
- /**
3027
- * Informative name of the component.
3028
- *
3029
- * @remarks
3030
- * This value is sent as telemetry information together with the actual execution request.
3031
- * We recommend to set this because it can be useful for diagnostic purposes.
3032
- *
3033
- * Defaults 'Execute'.
3034
- */
3035
- componentName?: string;
3036
- /**
3037
- * Backend to work with.
3038
- *
3039
- * @remarks
3040
- * Note: the backend must come either from this property or from BackendContext. If you do not specify
3041
- * backend here, then the executor MUST be rendered within an existing BackendContext.
3042
- */
3043
- backend?: IAnalyticalBackend;
3044
- /**
3045
- * Workspace where execution should be executed.
3046
- *
3047
- * @remarks
3048
- * Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
3049
- * workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
3050
- */
3051
- workspace?: string;
3052
- }
3053
-
3054
2956
  /**
3055
2957
  * Configuration for {@link useExecutionDataView} hook.
3056
2958
  * See also {@link UseExecutionDataViewCallbacks}.
@@ -3412,6 +3314,10 @@ export declare interface IWorkspaceProviderProps {
3412
3314
  * Workspace with which the components should work with.
3413
3315
  */
3414
3316
  workspace: string;
3317
+ /**
3318
+ * React children
3319
+ */
3320
+ children?: React_2.ReactNode;
3415
3321
  }
3416
3322
 
3417
3323
  /**
@@ -3628,18 +3534,18 @@ export declare const OverTimeComparisonTypes: {
3628
3534
  /**
3629
3535
  * @beta
3630
3536
  */
3631
- export declare const pickCorrectInsightWording: (translations: Record<string, string>, settings?: IWorkspaceSettings | undefined) => Record<string, string>;
3537
+ export declare const pickCorrectInsightWording: (translations: Record<string, string>, settings?: IWorkspaceSettings) => Record<string, string>;
3632
3538
 
3633
3539
  /**
3634
3540
  * The function to pick correct wording 'measure' or 'metric'
3635
3541
  * @beta
3636
3542
  */
3637
- export declare const pickCorrectMetricWording: (translations: Record<string, string>, settings?: IWorkspaceSettings | undefined) => Record<string, string>;
3543
+ export declare const pickCorrectMetricWording: (translations: Record<string, string>, settings?: IWorkspaceSettings) => Record<string, string>;
3638
3544
 
3639
3545
  /**
3640
3546
  * @beta
3641
3547
  */
3642
- export declare const pickCorrectWording: (translations: Record<string, string>, settings?: IWorkspaceSettings | undefined) => Record<string, string>;
3548
+ export declare const pickCorrectWording: (translations: Record<string, string>, settings?: IWorkspaceSettings) => Record<string, string>;
3643
3549
 
3644
3550
  /**
3645
3551
  * Wrap each member of the union type in AnyPlaceholder.
@@ -3879,6 +3785,13 @@ export declare type TableElementType = "cell";
3879
3785
  */
3880
3786
  export declare type TableType = "table";
3881
3787
 
3788
+ /**
3789
+ * Returns a string meant to represent the total colum when it is empty.
3790
+ * @param intl - the source of i18n strings
3791
+ * @internal
3792
+ */
3793
+ export declare function totalColumnTitleFromIntl(intl: IntlShape): string;
3794
+
3882
3795
  /**
3883
3796
  * Alias for all possible totals or their placeholders signatures.
3884
3797
  *
@@ -3973,7 +3886,7 @@ export declare function uriMatch(uri: string): IHeaderPredicate;
3973
3886
  * @param backend - backend to use instead of context value. If undefined, the context value is used.
3974
3887
  * @public
3975
3888
  */
3976
- export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => IAnalyticalBackend | undefined;
3889
+ export declare const useBackend: (backend?: IAnalyticalBackend) => IAnalyticalBackend | undefined;
3977
3890
 
3978
3891
  /**
3979
3892
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
@@ -3998,7 +3911,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
3998
3911
  * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
3999
3912
  * @public
4000
3913
  */
4001
- export declare const useBackendStrict: (backend?: IAnalyticalBackend | undefined, context?: string) => IAnalyticalBackend;
3914
+ export declare const useBackendStrict: (backend?: IAnalyticalBackend, context?: string) => IAnalyticalBackend;
4002
3915
 
4003
3916
  /**
4004
3917
  * This hook provides easy way to work with Promises in React components.
@@ -4168,46 +4081,6 @@ export declare type UseDataExportCallbacks = UseCancelablePromiseCallbacks<strin
4168
4081
  */
4169
4082
  export declare type UseDataExportState = UseCancelablePromiseState<string, GoodDataSdkError>;
4170
4083
 
4171
- /**
4172
- * This hook provides easy way to get data for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
4173
- *
4174
- * @remarks
4175
- * You can use it to create custom visualizations on top of GoodData platform.
4176
- * Be aware that execution is re-executed only on dependency list change, not on execution/window/callbacks change.
4177
- *
4178
- * @deprecated use {@link useExecutionDataView} instead
4179
- * @beta
4180
- */
4181
- export declare function useDataView({ execution, window, onCancel, onError, onLoading, onPending, onSuccess, }: {
4182
- execution: IPreparedExecution | undefined | null;
4183
- window?: DataViewWindow;
4184
- } & UseDataViewCallbacks, deps?: DependencyList): UseDataViewState;
4185
-
4186
- /**
4187
- * Callbacks for useDataView hook
4188
- * @deprecated use {@link useExecutionDataView} instead
4189
- * @beta
4190
- */
4191
- export declare type UseDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
4192
-
4193
- /**
4194
- * Indicates current state of useDataView hook
4195
- * @deprecated use {@link useExecutionDataView} instead
4196
- * @beta
4197
- */
4198
- export declare type UseDataViewState = UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
4199
-
4200
- /**
4201
- * This hook provides a simplified interface for creating executions.
4202
- *
4203
- * @remarks
4204
- * It builds the execution on top of the backend passed to the BackendProvider, and workspace passed to the WorkspaceProvider.
4205
- *
4206
- * @deprecated use {@link useExecutionDataView} instead
4207
- * @beta
4208
- */
4209
- export declare function useExecution(config: IUseExecutionConfig): IPreparedExecution;
4210
-
4211
4084
  /**
4212
4085
  * React hook to get data for a specific execution.
4213
4086
  *
@@ -4316,7 +4189,7 @@ export declare function useResolveValueWithPlaceholders<T, C>(value: T, resoluti
4316
4189
  * @param workspace - workspace to use instead of context value. If undefined, the context value is used.
4317
4190
  * @public
4318
4191
  */
4319
- export declare const useWorkspace: (workspace?: string | undefined) => string | undefined;
4192
+ export declare const useWorkspace: (workspace?: string) => string | undefined;
4320
4193
 
4321
4194
  /**
4322
4195
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
@@ -4341,7 +4214,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
4341
4214
  * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
4342
4215
  * @public
4343
4216
  */
4344
- export declare const useWorkspaceStrict: (workspace?: string | undefined, context?: string) => string;
4217
+ export declare const useWorkspaceStrict: (workspace?: string, context?: string) => string;
4345
4218
 
4346
4219
  /**
4347
4220
  * @public
@@ -4411,8 +4284,11 @@ export declare const VisualizationTypes: {
4411
4284
  TREEMAP: "treemap";
4412
4285
  WATERFALL: "waterfall";
4413
4286
  FUNNEL: "funnel";
4287
+ PYRAMID: "pyramid";
4414
4288
  PARETO: "pareto";
4415
4289
  ALLUVIAL: "alluvial";
4290
+ SANKEY: "sankey";
4291
+ DEPENDENCY_WHEEL: "dependencywheel";
4416
4292
  XIRR: "xirr";
4417
4293
  };
4418
4294
 
@@ -4521,7 +4397,7 @@ export declare const WorkspaceProvider: React_2.FC<IWorkspaceProviderProps>;
4521
4397
  * Wrap displayName of React component
4522
4398
  * @internal
4523
4399
  */
4524
- export declare const wrapDisplayName: (hocName: string, BaseComponent?: ComponentClass<any, any> | FunctionComponent<any> | undefined) => <T>(Component: ComponentType<T>) => ComponentType<T>;
4400
+ export declare const wrapDisplayName: (hocName: string, BaseComponent?: React.ComponentType<any>) => <T>(Component: ComponentType<T>) => ComponentType<T>;
4525
4401
 
4526
4402
  /**
4527
4403
  * @public
@@ -3,21 +3,31 @@
3
3
  * @internal
4
4
  */
5
5
  export declare const BucketNames: {
6
- MEASURES: string;
7
- SECONDARY_MEASURES: string;
8
- TERTIARY_MEASURES: string;
9
- ATTRIBUTE: string;
10
- ATTRIBUTES: string;
11
- VIEW: string;
12
- STACK: string;
13
- TREND: string;
14
- SEGMENT: string;
15
- COLUMNS: string;
16
- LOCATION: string;
17
- LONGITUDE: string;
18
- LATITUDE: string;
19
- SIZE: string;
20
- COLOR: string;
21
- TOOLTIP_TEXT: string;
6
+ readonly MEASURES: "measures";
7
+ readonly SECONDARY_MEASURES: "secondary_measures";
8
+ readonly TERTIARY_MEASURES: "tertiary_measures";
9
+ readonly ATTRIBUTE: "attribute";
10
+ readonly ATTRIBUTES: "attributes";
11
+ readonly ATTRIBUTE_FROM: "attribute_from";
12
+ readonly ATTRIBUTE_TO: "attribute_to";
13
+ readonly VIEW: "view";
14
+ readonly STACK: "stack";
15
+ readonly TREND: "trend";
16
+ readonly SEGMENT: "segment";
17
+ readonly COLUMNS: "columns";
18
+ readonly LOCATION: "location";
19
+ readonly LONGITUDE: "longitude";
20
+ readonly LATITUDE: "latitude";
21
+ readonly SIZE: "size";
22
+ readonly COLOR: "color";
23
+ readonly TOOLTIP_TEXT: "tooltipText";
22
24
  };
25
+ /**
26
+ * @internal
27
+ */
28
+ export type BucketNameKeys = keyof typeof BucketNames;
29
+ /**
30
+ * @internal
31
+ */
32
+ export type BucketNameValues = typeof BucketNames[BucketNameKeys];
23
33
  //# sourceMappingURL=bucketNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bucketNames.d.ts","sourceRoot":"","sources":["../../../src/base/constants/bucketNames.ts"],"names":[],"mappings":"AAkBA;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAiBvB,CAAC"}
1
+ {"version":3,"file":"bucketNames.d.ts","sourceRoot":"","sources":["../../../src/base/constants/bucketNames.ts"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;CAmBd,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,WAAW,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,WAAW,CAAC,cAAc,CAAC,CAAC"}