@gooddata/sdk-ui 8.13.0-alpha.9 → 9.0.0-alpha.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 (513) 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/helpers/CatalogHelper.js +33 -34
  21. package/dist/base/helpers/CatalogHelper.js.map +1 -1
  22. package/dist/base/index.d.ts +2 -2
  23. package/dist/base/index.d.ts.map +1 -1
  24. package/dist/base/index.js +5 -2
  25. package/dist/base/index.js.map +1 -1
  26. package/dist/base/interfaces/OverTimeComparison.d.ts +1 -1
  27. package/dist/base/interfaces/OverTimeComparison.d.ts.map +1 -1
  28. package/dist/base/localization/IntlStore.d.ts +2 -4
  29. package/dist/base/localization/IntlStore.d.ts.map +1 -1
  30. package/dist/base/localization/IntlStore.js +15 -17
  31. package/dist/base/localization/IntlStore.js.map +1 -1
  32. package/dist/base/localization/IntlWrapper.d.ts +1 -0
  33. package/dist/base/localization/IntlWrapper.d.ts.map +1 -1
  34. package/dist/base/localization/IntlWrapper.js +10 -10
  35. package/dist/base/localization/IntlWrapper.js.map +1 -1
  36. package/dist/base/localization/Locale.d.ts +1 -1
  37. package/dist/base/localization/Locale.d.ts.map +1 -1
  38. package/dist/base/localization/Locale.js +2 -1
  39. package/dist/base/localization/Locale.js.map +1 -1
  40. package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -0
  41. package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
  42. package/dist/base/localization/TranslationsCustomizationProvider/Context.js +15 -15
  43. package/dist/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  44. package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +29 -38
  45. package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  46. package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts +3 -3
  47. package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
  48. package/dist/base/localization/TranslationsCustomizationProvider/utils.js +31 -38
  49. package/dist/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
  50. package/dist/base/localization/TranslationsProvider.d.ts +1 -1
  51. package/dist/base/localization/TranslationsProvider.d.ts.map +1 -1
  52. package/dist/base/localization/TranslationsProvider.js +14 -21
  53. package/dist/base/localization/TranslationsProvider.js.map +1 -1
  54. package/dist/base/localization/bundles/de-DE.json +17 -7
  55. package/dist/base/localization/bundles/en-US.json +98 -27
  56. package/dist/base/localization/bundles/es-ES.json +17 -7
  57. package/dist/base/localization/bundles/fr-FR.json +17 -7
  58. package/dist/base/localization/bundles/ja-JP.json +17 -7
  59. package/dist/base/localization/bundles/nl-NL.json +17 -7
  60. package/dist/base/localization/bundles/pt-BR.json +17 -7
  61. package/dist/base/localization/bundles/pt-PT.json +17 -7
  62. package/dist/base/localization/bundles/ru-RU.json +17 -7
  63. package/dist/base/localization/bundles/zh-Hans.json +17 -7
  64. package/dist/base/localization/intlUtils.d.ts +6 -0
  65. package/dist/base/localization/intlUtils.d.ts.map +1 -1
  66. package/dist/base/localization/intlUtils.js +32 -29
  67. package/dist/base/localization/intlUtils.js.map +1 -1
  68. package/dist/base/localization/messagesMap.js +12 -12
  69. package/dist/base/localization/messagesMap.js.map +1 -1
  70. package/dist/base/measureFormats/fillMissingFormat.js +6 -6
  71. package/dist/base/measureFormats/fillMissingFormat.js.map +1 -1
  72. package/dist/base/measureFormats/fillMissingFormats.js +3 -3
  73. package/dist/base/measureFormats/fillMissingFormats.js.map +1 -1
  74. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
  75. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js +29 -30
  76. package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
  77. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
  78. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +16 -17
  79. package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
  80. package/dist/base/measureTitles/fillMissingTitles.js +55 -56
  81. package/dist/base/measureTitles/fillMissingTitles.js.map +1 -1
  82. package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js +5 -5
  83. package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
  84. package/dist/base/react/BackendContext.d.ts +6 -2
  85. package/dist/base/react/BackendContext.d.ts.map +1 -1
  86. package/dist/base/react/BackendContext.js +18 -17
  87. package/dist/base/react/BackendContext.js.map +1 -1
  88. package/dist/base/react/CancelablePromise.js +23 -25
  89. package/dist/base/react/CancelablePromise.js.map +1 -1
  90. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +2 -2
  91. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
  92. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +39 -33
  93. package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  94. package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts +5 -0
  95. package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
  96. package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +30 -82
  97. package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
  98. package/dist/base/react/ErrorComponent.js +35 -40
  99. package/dist/base/react/ErrorComponent.js.map +1 -1
  100. package/dist/base/react/LoadingComponent.js +42 -36
  101. package/dist/base/react/LoadingComponent.js.map +1 -1
  102. package/dist/base/react/PromiseCache.js +31 -34
  103. package/dist/base/react/PromiseCache.js.map +1 -1
  104. package/dist/base/react/WorkspaceContext.d.ts +6 -2
  105. package/dist/base/react/WorkspaceContext.d.ts.map +1 -1
  106. package/dist/base/react/WorkspaceContext.js +18 -17
  107. package/dist/base/react/WorkspaceContext.js.map +1 -1
  108. package/dist/base/react/legacy/availableDrillTargets.js +16 -17
  109. package/dist/base/react/legacy/availableDrillTargets.js.map +1 -1
  110. package/dist/base/react/legacy/withEntireDataView.js +117 -141
  111. package/dist/base/react/legacy/withEntireDataView.js.map +1 -1
  112. package/dist/base/react/placeholders/aliases.d.ts +15 -15
  113. package/dist/base/react/placeholders/aliases.d.ts.map +1 -1
  114. package/dist/base/react/placeholders/base.d.ts +20 -20
  115. package/dist/base/react/placeholders/base.d.ts.map +1 -1
  116. package/dist/base/react/placeholders/base.js +6 -6
  117. package/dist/base/react/placeholders/base.js.map +1 -1
  118. package/dist/base/react/placeholders/context.d.ts +1 -1
  119. package/dist/base/react/placeholders/context.d.ts.map +1 -1
  120. package/dist/base/react/placeholders/context.js +17 -16
  121. package/dist/base/react/placeholders/context.js.map +1 -1
  122. package/dist/base/react/placeholders/factory.js +16 -18
  123. package/dist/base/react/placeholders/factory.js.map +1 -1
  124. package/dist/base/react/placeholders/hooks.js +41 -47
  125. package/dist/base/react/placeholders/hooks.js.map +1 -1
  126. package/dist/base/react/placeholders/resolve.js +15 -18
  127. package/dist/base/react/placeholders/resolve.js.map +1 -1
  128. package/dist/base/react/useCancelablePromise.d.ts +8 -8
  129. package/dist/base/react/useCancelablePromise.d.ts.map +1 -1
  130. package/dist/base/react/useCancelablePromise.js +24 -21
  131. package/dist/base/react/useCancelablePromise.js.map +1 -1
  132. package/dist/base/react/useCancelablePromiseUtils.js +16 -17
  133. package/dist/base/react/useCancelablePromiseUtils.js.map +1 -1
  134. package/dist/base/react/usePagedResource.js +25 -29
  135. package/dist/base/react/usePagedResource.js.map +1 -1
  136. package/dist/base/react/usePrevious.js +5 -4
  137. package/dist/base/react/usePrevious.js.map +1 -1
  138. package/dist/base/react/usePromiseCache.js +17 -18
  139. package/dist/base/react/usePromiseCache.js.map +1 -1
  140. package/dist/base/react/withContexts.js +6 -6
  141. package/dist/base/react/withContexts.js.map +1 -1
  142. package/dist/base/react/wrapDisplayName.d.ts +1 -1
  143. package/dist/base/react/wrapDisplayName.d.ts.map +1 -1
  144. package/dist/base/react/wrapDisplayName.js +6 -5
  145. package/dist/base/react/wrapDisplayName.js.map +1 -1
  146. package/dist/base/results/dataAccess.d.ts +10 -10
  147. package/dist/base/results/dataAccess.d.ts.map +1 -1
  148. package/dist/base/results/dataAccessConfig.d.ts +3 -3
  149. package/dist/base/results/dataAccessConfig.d.ts.map +1 -1
  150. package/dist/base/results/dataAccessConfig.js +10 -10
  151. package/dist/base/results/dataAccessConfig.js.map +1 -1
  152. package/dist/base/results/facade.js +39 -40
  153. package/dist/base/results/facade.js.map +1 -1
  154. package/dist/base/results/internal/dataAccessDigest.d.ts +6 -6
  155. package/dist/base/results/internal/dataAccessDigest.d.ts.map +1 -1
  156. package/dist/base/results/internal/dataAccessDigest.js +68 -81
  157. package/dist/base/results/internal/dataAccessDigest.js.map +1 -1
  158. package/dist/base/results/internal/dataAccessImpl.d.ts.map +1 -1
  159. package/dist/base/results/internal/dataAccessImpl.js +157 -159
  160. package/dist/base/results/internal/dataAccessImpl.js.map +1 -1
  161. package/dist/base/results/internal/dataAccessMethods.js +52 -58
  162. package/dist/base/results/internal/dataAccessMethods.js.map +1 -1
  163. package/dist/base/results/internal/definitionMethods.js +40 -41
  164. package/dist/base/results/internal/definitionMethods.js.map +1 -1
  165. package/dist/base/results/internal/lazyInitArray.d.ts +1 -1
  166. package/dist/base/results/internal/lazyInitArray.d.ts.map +1 -1
  167. package/dist/base/results/internal/lazyInitArray.js +20 -20
  168. package/dist/base/results/internal/lazyInitArray.js.map +1 -1
  169. package/dist/base/results/internal/resultDataMethods.d.ts +24 -0
  170. package/dist/base/results/internal/resultDataMethods.d.ts.map +1 -1
  171. package/dist/base/results/internal/resultDataMethods.js +59 -29
  172. package/dist/base/results/internal/resultDataMethods.js.map +1 -1
  173. package/dist/base/results/internal/resultMetaMethods.js +68 -76
  174. package/dist/base/results/internal/resultMetaMethods.js.map +1 -1
  175. package/dist/base/results/internal/utils.js +1 -1
  176. package/dist/base/results/internal/utils.js.map +1 -1
  177. package/dist/base/vis/DrillEvents.d.ts +5 -5
  178. package/dist/base/vis/DrillEvents.d.ts.map +1 -1
  179. package/dist/base/vis/DrillEvents.js +8 -8
  180. package/dist/base/vis/DrillEvents.js.map +1 -1
  181. package/dist/base/vis/Events.d.ts +6 -5
  182. package/dist/base/vis/Events.d.ts.map +1 -1
  183. package/dist/base/vis/drilling.d.ts.map +1 -1
  184. package/dist/base/vis/drilling.js +26 -31
  185. package/dist/base/vis/drilling.js.map +1 -1
  186. package/dist/base/vis/export.js +10 -10
  187. package/dist/base/vis/export.js.map +1 -1
  188. package/dist/base/vis/visualizationTypes.d.ts +13 -10
  189. package/dist/base/vis/visualizationTypes.d.ts.map +1 -1
  190. package/dist/base/vis/visualizationTypes.js +4 -1
  191. package/dist/base/vis/visualizationTypes.js.map +1 -1
  192. package/dist/execution/DataViewLoader.js +36 -80
  193. package/dist/execution/DataViewLoader.js.map +1 -1
  194. package/dist/execution/Execute.js +36 -35
  195. package/dist/execution/Execute.js.map +1 -1
  196. package/dist/execution/ExecuteInsight.js +55 -63
  197. package/dist/execution/ExecuteInsight.js.map +1 -1
  198. package/dist/execution/RawExecute.js +28 -28
  199. package/dist/execution/RawExecute.js.map +1 -1
  200. package/dist/execution/createExecution.d.ts +1 -1
  201. package/dist/execution/createExecution.d.ts.map +1 -1
  202. package/dist/execution/createExecution.js +18 -17
  203. package/dist/execution/createExecution.js.map +1 -1
  204. package/dist/execution/interfaces.d.ts +2 -2
  205. package/dist/execution/interfaces.d.ts.map +1 -1
  206. package/dist/execution/useDataExport.d.ts +2 -2
  207. package/dist/execution/useDataExport.d.ts.map +1 -1
  208. package/dist/execution/useDataExport.js +17 -20
  209. package/dist/execution/useDataExport.js.map +1 -1
  210. package/dist/execution/useDataView.d.ts +2 -2
  211. package/dist/execution/useDataView.d.ts.map +1 -1
  212. package/dist/execution/useDataView.js +19 -24
  213. package/dist/execution/useDataView.js.map +1 -1
  214. package/dist/execution/useExecution.js +12 -13
  215. package/dist/execution/useExecution.js.map +1 -1
  216. package/dist/execution/useExecutionDataView.d.ts +1 -1
  217. package/dist/execution/useExecutionDataView.d.ts.map +1 -1
  218. package/dist/execution/useExecutionDataView.js +24 -24
  219. package/dist/execution/useExecutionDataView.js.map +1 -1
  220. package/dist/execution/useInsight.js +10 -10
  221. package/dist/execution/useInsight.js.map +1 -1
  222. package/dist/execution/useInsightDataView.d.ts +1 -1
  223. package/dist/execution/useInsightDataView.d.ts.map +1 -1
  224. package/dist/execution/useInsightDataView.js +28 -29
  225. package/dist/execution/useInsightDataView.js.map +1 -1
  226. package/dist/execution/withExecution.js +28 -57
  227. package/dist/execution/withExecution.js.map +1 -1
  228. package/dist/execution/withExecutionLoading.d.ts +2 -2
  229. package/dist/execution/withExecutionLoading.d.ts.map +1 -1
  230. package/dist/execution/withExecutionLoading.js +90 -107
  231. package/dist/execution/withExecutionLoading.js.map +1 -1
  232. package/dist/index.d.ts +0 -1
  233. package/dist/index.d.ts.map +1 -1
  234. package/dist/index.js +3 -5
  235. package/dist/index.js.map +1 -1
  236. package/dist/kpi/FormattedNumber.d.ts +1 -1
  237. package/dist/kpi/FormattedNumber.d.ts.map +1 -1
  238. package/dist/kpi/FormattedNumber.js +9 -9
  239. package/dist/kpi/FormattedNumber.js.map +1 -1
  240. package/dist/kpi/Kpi.d.ts.map +1 -1
  241. package/dist/kpi/Kpi.js +31 -31
  242. package/dist/kpi/Kpi.js.map +1 -1
  243. package/dist/kpi/KpiError.d.ts +1 -1
  244. package/dist/kpi/KpiError.d.ts.map +1 -1
  245. package/dist/kpi/KpiError.js +5 -4
  246. package/dist/kpi/KpiError.js.map +1 -1
  247. package/dist/locales.d.ts +2 -41
  248. package/dist/locales.d.ts.map +1 -1
  249. package/dist/locales.js +3 -3
  250. package/dist/locales.js.map +1 -1
  251. package/dist/sdk-ui.d.ts +95 -32
  252. package/esm/base/constants/bucketNames.d.ts +26 -16
  253. package/esm/base/constants/bucketNames.d.ts.map +1 -1
  254. package/esm/base/constants/bucketNames.js +38 -34
  255. package/esm/base/constants/bucketNames.js.map +1 -1
  256. package/esm/base/constants/colorPalette.js +1 -1
  257. package/esm/base/constants/colorPalette.js.map +1 -1
  258. package/esm/base/errors/GoodDataSdkError.d.ts +2 -1
  259. package/esm/base/errors/GoodDataSdkError.d.ts.map +1 -1
  260. package/esm/base/errors/GoodDataSdkError.js +67 -112
  261. package/esm/base/errors/GoodDataSdkError.js.map +1 -1
  262. package/esm/base/errors/errorHandling.d.ts.map +1 -1
  263. package/esm/base/errors/errorHandling.js +18 -15
  264. package/esm/base/errors/errorHandling.js.map +1 -1
  265. package/esm/base/headerMatching/HeaderPredicate.d.ts +1 -1
  266. package/esm/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
  267. package/esm/base/headerMatching/HeaderPredicateFactory.js +49 -57
  268. package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
  269. package/esm/base/headerMatching/MappingHeader.d.ts +8 -2
  270. package/esm/base/headerMatching/MappingHeader.d.ts.map +1 -1
  271. package/esm/base/headerMatching/MappingHeader.js +20 -3
  272. package/esm/base/headerMatching/MappingHeader.js.map +1 -1
  273. package/esm/base/helpers/CatalogHelper.js +33 -35
  274. package/esm/base/helpers/CatalogHelper.js.map +1 -1
  275. package/esm/base/index.d.ts +2 -2
  276. package/esm/base/index.d.ts.map +1 -1
  277. package/esm/base/index.js +2 -2
  278. package/esm/base/index.js.map +1 -1
  279. package/esm/base/interfaces/OverTimeComparison.d.ts +1 -1
  280. package/esm/base/interfaces/OverTimeComparison.d.ts.map +1 -1
  281. package/esm/base/interfaces/OverTimeComparison.js +1 -1
  282. package/esm/base/interfaces/OverTimeComparison.js.map +1 -1
  283. package/esm/base/localization/IntlStore.d.ts +2 -4
  284. package/esm/base/localization/IntlStore.d.ts.map +1 -1
  285. package/esm/base/localization/IntlStore.js +8 -11
  286. package/esm/base/localization/IntlStore.js.map +1 -1
  287. package/esm/base/localization/IntlWrapper.d.ts +1 -0
  288. package/esm/base/localization/IntlWrapper.d.ts.map +1 -1
  289. package/esm/base/localization/IntlWrapper.js +3 -4
  290. package/esm/base/localization/IntlWrapper.js.map +1 -1
  291. package/esm/base/localization/Locale.d.ts +1 -1
  292. package/esm/base/localization/Locale.d.ts.map +1 -1
  293. package/esm/base/localization/Locale.js +3 -3
  294. package/esm/base/localization/Locale.js.map +1 -1
  295. package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -0
  296. package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
  297. package/esm/base/localization/TranslationsCustomizationProvider/Context.js +7 -9
  298. package/esm/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  299. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +22 -33
  300. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  301. package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts +3 -3
  302. package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
  303. package/esm/base/localization/TranslationsCustomizationProvider/utils.js +24 -37
  304. package/esm/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
  305. package/esm/base/localization/TranslationsProvider.d.ts +1 -1
  306. package/esm/base/localization/TranslationsProvider.d.ts.map +1 -1
  307. package/esm/base/localization/TranslationsProvider.js +8 -17
  308. package/esm/base/localization/TranslationsProvider.js.map +1 -1
  309. package/esm/base/localization/bundles/de-DE.json +17 -7
  310. package/esm/base/localization/bundles/en-US.json +98 -27
  311. package/esm/base/localization/bundles/es-ES.json +17 -7
  312. package/esm/base/localization/bundles/fr-FR.json +17 -7
  313. package/esm/base/localization/bundles/ja-JP.json +17 -7
  314. package/esm/base/localization/bundles/nl-NL.json +17 -7
  315. package/esm/base/localization/bundles/pt-BR.json +17 -7
  316. package/esm/base/localization/bundles/pt-PT.json +17 -7
  317. package/esm/base/localization/bundles/ru-RU.json +17 -7
  318. package/esm/base/localization/bundles/zh-Hans.json +17 -7
  319. package/esm/base/localization/intlUtils.d.ts +6 -0
  320. package/esm/base/localization/intlUtils.d.ts.map +1 -1
  321. package/esm/base/localization/intlUtils.js +20 -20
  322. package/esm/base/localization/intlUtils.js.map +1 -1
  323. package/esm/base/localization/messagesMap.js +1 -1
  324. package/esm/base/localization/messagesMap.js.map +1 -1
  325. package/esm/base/measureFormats/fillMissingFormat.js +4 -4
  326. package/esm/base/measureFormats/fillMissingFormat.js.map +1 -1
  327. package/esm/base/measureFormats/fillMissingFormats.js +1 -1
  328. package/esm/base/measureFormats/fillMissingFormats.js.map +1 -1
  329. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
  330. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js +26 -28
  331. package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
  332. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
  333. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +12 -14
  334. package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
  335. package/esm/base/measureTitles/fillMissingTitles.js +44 -45
  336. package/esm/base/measureTitles/fillMissingTitles.js.map +1 -1
  337. package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js +3 -3
  338. package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
  339. package/esm/base/react/BackendContext.d.ts +6 -2
  340. package/esm/base/react/BackendContext.d.ts.map +1 -1
  341. package/esm/base/react/BackendContext.js +10 -13
  342. package/esm/base/react/BackendContext.js.map +1 -1
  343. package/esm/base/react/CancelablePromise.js +19 -24
  344. package/esm/base/react/CancelablePromise.js.map +1 -1
  345. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +2 -2
  346. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
  347. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +20 -21
  348. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  349. package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts +5 -0
  350. package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
  351. package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +27 -80
  352. package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
  353. package/esm/base/react/ErrorComponent.js +33 -39
  354. package/esm/base/react/ErrorComponent.js.map +1 -1
  355. package/esm/base/react/LoadingComponent.js +40 -35
  356. package/esm/base/react/LoadingComponent.js.map +1 -1
  357. package/esm/base/react/PromiseCache.js +28 -32
  358. package/esm/base/react/PromiseCache.js.map +1 -1
  359. package/esm/base/react/WorkspaceContext.d.ts +6 -2
  360. package/esm/base/react/WorkspaceContext.d.ts.map +1 -1
  361. package/esm/base/react/WorkspaceContext.js +10 -13
  362. package/esm/base/react/WorkspaceContext.js.map +1 -1
  363. package/esm/base/react/legacy/availableDrillTargets.js +12 -13
  364. package/esm/base/react/legacy/availableDrillTargets.js.map +1 -1
  365. package/esm/base/react/legacy/withEntireDataView.js +102 -127
  366. package/esm/base/react/legacy/withEntireDataView.js.map +1 -1
  367. package/esm/base/react/placeholders/aliases.d.ts +15 -15
  368. package/esm/base/react/placeholders/aliases.d.ts.map +1 -1
  369. package/esm/base/react/placeholders/base.d.ts +20 -20
  370. package/esm/base/react/placeholders/base.d.ts.map +1 -1
  371. package/esm/base/react/placeholders/base.js +2 -2
  372. package/esm/base/react/placeholders/base.js.map +1 -1
  373. package/esm/base/react/placeholders/context.d.ts +1 -1
  374. package/esm/base/react/placeholders/context.d.ts.map +1 -1
  375. package/esm/base/react/placeholders/context.js +12 -13
  376. package/esm/base/react/placeholders/context.js.map +1 -1
  377. package/esm/base/react/placeholders/factory.js +11 -13
  378. package/esm/base/react/placeholders/factory.js.map +1 -1
  379. package/esm/base/react/placeholders/hooks.js +27 -33
  380. package/esm/base/react/placeholders/hooks.js.map +1 -1
  381. package/esm/base/react/placeholders/resolve.js +6 -10
  382. package/esm/base/react/placeholders/resolve.js.map +1 -1
  383. package/esm/base/react/useCancelablePromise.d.ts +8 -8
  384. package/esm/base/react/useCancelablePromise.d.ts.map +1 -1
  385. package/esm/base/react/useCancelablePromise.js +18 -16
  386. package/esm/base/react/useCancelablePromise.js.map +1 -1
  387. package/esm/base/react/useCancelablePromiseUtils.js +13 -15
  388. package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
  389. package/esm/base/react/usePagedResource.js +23 -27
  390. package/esm/base/react/usePagedResource.js.map +1 -1
  391. package/esm/base/react/usePrevious.js +3 -3
  392. package/esm/base/react/usePrevious.js.map +1 -1
  393. package/esm/base/react/usePromiseCache.js +15 -16
  394. package/esm/base/react/usePromiseCache.js.map +1 -1
  395. package/esm/base/react/wrapDisplayName.d.ts +1 -1
  396. package/esm/base/react/wrapDisplayName.d.ts.map +1 -1
  397. package/esm/base/react/wrapDisplayName.js +5 -5
  398. package/esm/base/react/wrapDisplayName.js.map +1 -1
  399. package/esm/base/results/dataAccess.d.ts +10 -10
  400. package/esm/base/results/dataAccess.d.ts.map +1 -1
  401. package/esm/base/results/dataAccessConfig.d.ts +3 -3
  402. package/esm/base/results/dataAccessConfig.d.ts.map +1 -1
  403. package/esm/base/results/dataAccessConfig.js +6 -6
  404. package/esm/base/results/dataAccessConfig.js.map +1 -1
  405. package/esm/base/results/facade.js +30 -31
  406. package/esm/base/results/facade.js.map +1 -1
  407. package/esm/base/results/internal/dataAccessDigest.d.ts +6 -6
  408. package/esm/base/results/internal/dataAccessDigest.d.ts.map +1 -1
  409. package/esm/base/results/internal/dataAccessDigest.js +64 -78
  410. package/esm/base/results/internal/dataAccessDigest.js.map +1 -1
  411. package/esm/base/results/internal/dataAccessImpl.d.ts.map +1 -1
  412. package/esm/base/results/internal/dataAccessImpl.js +136 -139
  413. package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
  414. package/esm/base/results/internal/dataAccessMethods.js +49 -55
  415. package/esm/base/results/internal/dataAccessMethods.js.map +1 -1
  416. package/esm/base/results/internal/definitionMethods.js +33 -34
  417. package/esm/base/results/internal/definitionMethods.js.map +1 -1
  418. package/esm/base/results/internal/lazyInitArray.d.ts +1 -1
  419. package/esm/base/results/internal/lazyInitArray.d.ts.map +1 -1
  420. package/esm/base/results/internal/lazyInitArray.js +18 -19
  421. package/esm/base/results/internal/lazyInitArray.js.map +1 -1
  422. package/esm/base/results/internal/resultDataMethods.d.ts +24 -0
  423. package/esm/base/results/internal/resultDataMethods.d.ts.map +1 -1
  424. package/esm/base/results/internal/resultDataMethods.js +54 -24
  425. package/esm/base/results/internal/resultDataMethods.js.map +1 -1
  426. package/esm/base/results/internal/resultMetaMethods.js +60 -68
  427. package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
  428. package/esm/base/results/internal/utils.js +1 -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/interfaces.d.ts +2 -2
  458. package/esm/execution/interfaces.d.ts.map +1 -1
  459. package/esm/execution/useDataExport.d.ts +2 -2
  460. package/esm/execution/useDataExport.d.ts.map +1 -1
  461. package/esm/execution/useDataExport.js +15 -18
  462. package/esm/execution/useDataExport.js.map +1 -1
  463. package/esm/execution/useDataView.d.ts +2 -2
  464. package/esm/execution/useDataView.d.ts.map +1 -1
  465. package/esm/execution/useDataView.js +17 -22
  466. package/esm/execution/useDataView.js.map +1 -1
  467. package/esm/execution/useExecution.js +10 -11
  468. package/esm/execution/useExecution.js.map +1 -1
  469. package/esm/execution/useExecutionDataView.d.ts +1 -1
  470. package/esm/execution/useExecutionDataView.d.ts.map +1 -1
  471. package/esm/execution/useExecutionDataView.js +19 -20
  472. package/esm/execution/useExecutionDataView.js.map +1 -1
  473. package/esm/execution/useInsight.js +8 -8
  474. package/esm/execution/useInsight.js.map +1 -1
  475. package/esm/execution/useInsightDataView.d.ts +1 -1
  476. package/esm/execution/useInsightDataView.d.ts.map +1 -1
  477. package/esm/execution/useInsightDataView.js +23 -24
  478. package/esm/execution/useInsightDataView.js.map +1 -1
  479. package/esm/execution/withExecution.js +24 -53
  480. package/esm/execution/withExecution.js.map +1 -1
  481. package/esm/execution/withExecutionLoading.d.ts +2 -2
  482. package/esm/execution/withExecutionLoading.d.ts.map +1 -1
  483. package/esm/execution/withExecutionLoading.js +82 -100
  484. package/esm/execution/withExecutionLoading.js.map +1 -1
  485. package/esm/index.d.ts +0 -1
  486. package/esm/index.d.ts.map +1 -1
  487. package/esm/index.js +1 -3
  488. package/esm/index.js.map +1 -1
  489. package/esm/kpi/FormattedNumber.d.ts +1 -1
  490. package/esm/kpi/FormattedNumber.d.ts.map +1 -1
  491. package/esm/kpi/FormattedNumber.js +5 -6
  492. package/esm/kpi/FormattedNumber.js.map +1 -1
  493. package/esm/kpi/Kpi.d.ts.map +1 -1
  494. package/esm/kpi/Kpi.js +20 -21
  495. package/esm/kpi/Kpi.js.map +1 -1
  496. package/esm/kpi/KpiError.d.ts +1 -1
  497. package/esm/kpi/KpiError.d.ts.map +1 -1
  498. package/esm/kpi/KpiError.js +2 -2
  499. package/esm/kpi/KpiError.js.map +1 -1
  500. package/esm/locales.d.ts +2 -41
  501. package/esm/locales.d.ts.map +1 -1
  502. package/esm/locales.js +2 -2
  503. package/esm/locales.js.map +1 -1
  504. package/esm/tsdoc-metadata.json +1 -1
  505. package/package.json +28 -31
  506. package/dist/polyfills.d.ts +0 -3
  507. package/dist/polyfills.d.ts.map +0 -1
  508. package/dist/polyfills.js +0 -8
  509. package/dist/polyfills.js.map +0 -1
  510. package/esm/polyfills.d.ts +0 -3
  511. package/esm/polyfills.d.ts.map +0 -1
  512. package/esm/polyfills.js +0 -6
  513. package/esm/polyfills.js.map +0 -1
@@ -2,19 +2,19 @@
2
2
  // (C) 2019 GoodData Corporation
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.withEntireDataView = void 0;
5
- var tslib_1 = require("tslib");
6
- var sdk_backend_spi_1 = require("@gooddata/sdk-backend-spi");
7
- var sdk_model_1 = require("@gooddata/sdk-model");
8
- var react_1 = tslib_1.__importDefault(require("react"));
9
- var react_intl_1 = require("react-intl");
10
- var noop_1 = tslib_1.__importDefault(require("lodash/noop"));
11
- var omit_1 = tslib_1.__importDefault(require("lodash/omit"));
12
- var GoodDataSdkError_1 = require("../../errors/GoodDataSdkError");
13
- var export_1 = require("../../vis/export");
14
- var facade_1 = require("../../results/facade");
15
- var errorHandling_1 = require("../../errors/errorHandling");
16
- var IntlWrapper_1 = require("../../localization/IntlWrapper");
17
- var availableDrillTargets_1 = require("./availableDrillTargets");
5
+ const tslib_1 = require("tslib");
6
+ const sdk_backend_spi_1 = require("@gooddata/sdk-backend-spi");
7
+ const sdk_model_1 = require("@gooddata/sdk-model");
8
+ const react_1 = tslib_1.__importDefault(require("react"));
9
+ const react_intl_1 = require("react-intl");
10
+ const noop_1 = tslib_1.__importDefault(require("lodash/noop"));
11
+ const omit_1 = tslib_1.__importDefault(require("lodash/omit"));
12
+ const GoodDataSdkError_1 = require("../../errors/GoodDataSdkError");
13
+ const export_1 = require("../../vis/export");
14
+ const facade_1 = require("../../results/facade");
15
+ const errorHandling_1 = require("../../errors/errorHandling");
16
+ const IntlWrapper_1 = require("../../localization/IntlWrapper");
17
+ const availableDrillTargets_1 = require("./availableDrillTargets");
18
18
  /**
19
19
  * A HOC to wrap data visualization components with loading / error handling.
20
20
  *
@@ -26,170 +26,146 @@ var availableDrillTargets_1 = require("./availableDrillTargets");
26
26
  * @internal
27
27
  */
28
28
  function withEntireDataView(InnerComponent) {
29
- var LoadingHOCWrapped = /** @class */ (function (_super) {
30
- tslib_1.__extends(LoadingHOCWrapped, _super);
31
- function LoadingHOCWrapped(props) {
32
- var _this = _super.call(this, props) || this;
33
- _this.hasUnmounted = false;
29
+ class LoadingHOCWrapped extends react_1.default.Component {
30
+ constructor(props) {
31
+ super(props);
32
+ this.hasUnmounted = false;
34
33
  /**
35
34
  * Fingerprint of the last execution definition the initialize was called with.
36
35
  */
37
- _this.lastInitRequestFingerprint = null;
38
- _this.stripWorkspace = function (props) {
39
- return omit_1.default(props, ["workspace"]);
36
+ this.lastInitRequestFingerprint = null;
37
+ this.stripWorkspace = (props) => {
38
+ return (0, omit_1.default)(props, ["workspace"]);
40
39
  };
41
- _this.state = {
40
+ this.state = {
42
41
  isLoading: false,
43
42
  error: null,
44
43
  executionResult: null,
45
44
  dataView: null,
46
45
  };
47
- _this.onLoadingChanged = _this.onLoadingChanged.bind(_this);
48
- _this.onDataTooLarge = _this.onDataTooLarge.bind(_this);
49
- _this.onNegativeValues = _this.onNegativeValues.bind(_this);
50
- return _this;
46
+ this.onLoadingChanged = this.onLoadingChanged.bind(this);
47
+ this.onDataTooLarge = this.onDataTooLarge.bind(this);
48
+ this.onNegativeValues = this.onNegativeValues.bind(this);
51
49
  }
52
- LoadingHOCWrapped.prototype.componentDidMount = function () {
50
+ componentDidMount() {
53
51
  this.initDataLoading(this.props.execution);
54
- };
55
- LoadingHOCWrapped.prototype.render = function () {
56
- var _a = this.state, isLoading = _a.isLoading, error = _a.error, dataView = _a.dataView;
57
- var intl = this.props.intl;
52
+ }
53
+ render() {
54
+ const { isLoading, error, dataView } = this.state;
55
+ const { intl } = this.props;
58
56
  // lower-level components do not need workspace
59
- var props = this.stripWorkspace(this.props);
60
- return (react_1.default.createElement(InnerComponent, tslib_1.__assign({}, props, { dataView: dataView, onDataTooLarge: this.onDataTooLarge, onNegativeValues: this.onNegativeValues, error: error, isLoading: isLoading, intl: intl })));
61
- };
62
- LoadingHOCWrapped.prototype.UNSAFE_componentWillReceiveProps = function (nextProps) {
57
+ const props = this.stripWorkspace(this.props);
58
+ return (react_1.default.createElement(InnerComponent, Object.assign({}, props, { dataView: dataView, onDataTooLarge: this.onDataTooLarge, onNegativeValues: this.onNegativeValues, error: error, isLoading: isLoading, intl: intl })));
59
+ }
60
+ UNSAFE_componentWillReceiveProps(nextProps) {
63
61
  // we need strict equality here in case only the buckets changed (not measures or attributes)
64
62
  if (!this.props.execution.equals(nextProps.execution)) {
65
63
  this.initDataLoading(nextProps.execution);
66
64
  }
67
- };
68
- LoadingHOCWrapped.prototype.componentWillUnmount = function () {
65
+ }
66
+ componentWillUnmount() {
69
67
  this.hasUnmounted = true;
70
68
  this.onLoadingChanged = noop_1.default;
71
69
  this.onError = noop_1.default;
72
- };
73
- LoadingHOCWrapped.prototype.onLoadingChanged = function (loadingState) {
74
- var onLoadingChanged = this.props.onLoadingChanged;
70
+ }
71
+ onLoadingChanged(loadingState) {
72
+ const { onLoadingChanged } = this.props;
75
73
  onLoadingChanged === null || onLoadingChanged === void 0 ? void 0 : onLoadingChanged(loadingState);
76
- var isLoading = loadingState.isLoading;
77
- var state = { isLoading: isLoading };
74
+ const { isLoading } = loadingState;
75
+ const state = { isLoading };
78
76
  if (isLoading) {
79
77
  state.error = null;
80
78
  }
81
79
  this.setState(state);
82
- };
83
- LoadingHOCWrapped.prototype.onError = function (error) {
80
+ }
81
+ onError(error) {
84
82
  var _a, _b;
85
- var onExportReady = this.props.onExportReady;
83
+ const { onExportReady } = this.props;
86
84
  this.setState({ error: error.getMessage(), dataView: null });
87
85
  this.onLoadingChanged({ isLoading: false });
88
86
  if (onExportReady) {
89
- onExportReady(export_1.createExportErrorFunction(error));
87
+ onExportReady((0, export_1.createExportErrorFunction)(error));
90
88
  }
91
89
  (_b = (_a = this.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, error);
92
- };
93
- LoadingHOCWrapped.prototype.onDataTooLarge = function () {
90
+ }
91
+ onDataTooLarge() {
94
92
  this.onError(new GoodDataSdkError_1.DataTooLargeToDisplaySdkError());
95
- };
96
- LoadingHOCWrapped.prototype.onNegativeValues = function () {
93
+ }
94
+ onNegativeValues() {
97
95
  this.onError(new GoodDataSdkError_1.NegativeValuesSdkError());
98
- };
99
- LoadingHOCWrapped.prototype.initDataLoading = function (execution) {
100
- return tslib_1.__awaiter(this, void 0, void 0, function () {
101
- var _a, onExportReady, pushData, exportTitle, executionResult_1, dataView, availableDrillTargets, error_1, availableDrillTargets;
102
- return tslib_1.__generator(this, function (_b) {
103
- switch (_b.label) {
104
- case 0:
105
- _a = this.props, onExportReady = _a.onExportReady, pushData = _a.pushData, exportTitle = _a.exportTitle;
106
- this.onLoadingChanged({ isLoading: true });
107
- this.setState({ dataView: null });
108
- this.lastInitRequestFingerprint = sdk_model_1.defFingerprint(execution.definition);
109
- _b.label = 1;
110
- case 1:
111
- _b.trys.push([1, 4, , 5]);
112
- return [4 /*yield*/, execution.execute()];
113
- case 2:
114
- executionResult_1 = _b.sent();
115
- if (this.lastInitRequestFingerprint !== sdk_model_1.defFingerprint(execution.definition)) {
116
- return [2 /*return*/];
117
- }
118
- if (this.hasUnmounted) {
119
- return [2 /*return*/];
120
- }
121
- return [4 /*yield*/, executionResult_1.readAll().catch(function (err) {
122
- /**
123
- * When execution result is received successfully,
124
- * but data load fails with unexpected http response,
125
- * we still want to push availableDrillTargets
126
- */
127
- if (sdk_backend_spi_1.isUnexpectedResponseError(err) && pushData) {
128
- var availableDrillTargets = availableDrillTargets_1.getAvailableDrillTargets(facade_1.DataViewFacade.forResult(executionResult_1));
129
- pushData({ availableDrillTargets: availableDrillTargets });
130
- }
131
- throw err;
132
- })];
133
- case 3:
134
- dataView = _b.sent();
135
- if (this.hasUnmounted) {
136
- return [2 /*return*/];
137
- }
138
- if (this.lastInitRequestFingerprint !== sdk_model_1.defFingerprint(dataView.definition)) {
139
- /*
140
- * Stop right now if the data are not relevant anymore because there was another
141
- * initialize request in the meantime.
142
- */
143
- return [2 /*return*/];
144
- }
145
- this.setState({ dataView: dataView, error: null, executionResult: executionResult_1 });
146
- this.onLoadingChanged({ isLoading: false });
147
- if (onExportReady) {
148
- onExportReady(export_1.createExportFunction(dataView.result, exportTitle));
149
- }
150
- if (pushData) {
151
- availableDrillTargets = availableDrillTargets_1.getAvailableDrillTargets(facade_1.DataViewFacade.for(dataView));
152
- pushData({ dataView: dataView, availableDrillTargets: availableDrillTargets });
153
- }
154
- return [3 /*break*/, 5];
155
- case 4:
156
- error_1 = _b.sent();
157
- if (this.lastInitRequestFingerprint !== sdk_model_1.defFingerprint(execution.definition)) {
158
- return [2 /*return*/];
159
- }
160
- if (this.hasUnmounted) {
161
- return [2 /*return*/];
162
- }
163
- /*
164
- * There can be situations, where there is no data to visualize but the result / dataView contains
165
- * metadata essential for setup of drilling. Look for that and if available push up.
166
- */
167
- if (sdk_backend_spi_1.isNoDataError(error_1) && error_1.dataView && pushData) {
168
- availableDrillTargets = availableDrillTargets_1.getAvailableDrillTargets(facade_1.DataViewFacade.for(error_1.dataView));
169
- pushData({ availableDrillTargets: availableDrillTargets });
170
- }
171
- this.onError(errorHandling_1.convertError(error_1));
172
- return [3 /*break*/, 5];
173
- case 5: return [2 /*return*/];
96
+ }
97
+ async initDataLoading(execution) {
98
+ const { onExportReady, pushData, exportTitle } = this.props;
99
+ this.onLoadingChanged({ isLoading: true });
100
+ this.setState({ dataView: null });
101
+ this.lastInitRequestFingerprint = (0, sdk_model_1.defFingerprint)(execution.definition);
102
+ try {
103
+ const executionResult = await execution.execute();
104
+ if (this.lastInitRequestFingerprint !== (0, sdk_model_1.defFingerprint)(execution.definition)) {
105
+ return;
106
+ }
107
+ if (this.hasUnmounted) {
108
+ return;
109
+ }
110
+ const dataView = await executionResult.readAll().catch((err) => {
111
+ /**
112
+ * When execution result is received successfully,
113
+ * but data load fails with unexpected http response,
114
+ * we still want to push availableDrillTargets
115
+ */
116
+ if ((0, sdk_backend_spi_1.isUnexpectedResponseError)(err) && pushData) {
117
+ const availableDrillTargets = (0, availableDrillTargets_1.getAvailableDrillTargets)(facade_1.DataViewFacade.forResult(executionResult));
118
+ pushData({ availableDrillTargets });
174
119
  }
120
+ throw err;
175
121
  });
176
- });
177
- };
178
- LoadingHOCWrapped.defaultProps = InnerComponent.defaultProps || {};
179
- return LoadingHOCWrapped;
180
- }(react_1.default.Component));
181
- var IntlLoadingHOC = react_intl_1.injectIntl(LoadingHOCWrapped);
182
- return /** @class */ (function (_super) {
183
- tslib_1.__extends(LoadingHOC, _super);
184
- function LoadingHOC() {
185
- return _super !== null && _super.apply(this, arguments) || this;
122
+ if (this.hasUnmounted) {
123
+ return;
124
+ }
125
+ if (this.lastInitRequestFingerprint !== (0, sdk_model_1.defFingerprint)(dataView.definition)) {
126
+ /*
127
+ * Stop right now if the data are not relevant anymore because there was another
128
+ * initialize request in the meantime.
129
+ */
130
+ return;
131
+ }
132
+ this.setState({ dataView, error: null, executionResult });
133
+ this.onLoadingChanged({ isLoading: false });
134
+ if (onExportReady) {
135
+ onExportReady((0, export_1.createExportFunction)(dataView.result, exportTitle));
136
+ }
137
+ if (pushData) {
138
+ const availableDrillTargets = (0, availableDrillTargets_1.getAvailableDrillTargets)(facade_1.DataViewFacade.for(dataView));
139
+ pushData({ dataView, availableDrillTargets });
140
+ }
141
+ }
142
+ catch (error) {
143
+ if (this.lastInitRequestFingerprint !== (0, sdk_model_1.defFingerprint)(execution.definition)) {
144
+ return;
145
+ }
146
+ if (this.hasUnmounted) {
147
+ return;
148
+ }
149
+ /*
150
+ * There can be situations, where there is no data to visualize but the result / dataView contains
151
+ * metadata essential for setup of drilling. Look for that and if available push up.
152
+ */
153
+ if ((0, sdk_backend_spi_1.isNoDataError)(error) && error.dataView && pushData) {
154
+ const availableDrillTargets = (0, availableDrillTargets_1.getAvailableDrillTargets)(facade_1.DataViewFacade.for(error.dataView));
155
+ pushData({ availableDrillTargets });
156
+ }
157
+ this.onError((0, errorHandling_1.convertError)(error));
158
+ }
186
159
  }
187
- LoadingHOC.prototype.render = function () {
160
+ }
161
+ LoadingHOCWrapped.defaultProps = InnerComponent.defaultProps || {};
162
+ const IntlLoadingHOC = (0, react_intl_1.injectIntl)(LoadingHOCWrapped);
163
+ return class LoadingHOC extends react_1.default.Component {
164
+ render() {
188
165
  return (react_1.default.createElement(IntlWrapper_1.IntlWrapper, { locale: this.props.locale },
189
- react_1.default.createElement(IntlLoadingHOC, tslib_1.__assign({}, this.props))));
190
- };
191
- return LoadingHOC;
192
- }(react_1.default.Component));
166
+ react_1.default.createElement(IntlLoadingHOC, Object.assign({}, this.props))));
167
+ }
168
+ };
193
169
  }
194
170
  exports.withEntireDataView = withEntireDataView;
195
171
  //# sourceMappingURL=withEntireDataView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"withEntireDataView.js","sourceRoot":"","sources":["../../../../src/base/react/legacy/withEntireDataView.tsx"],"names":[],"mappings":";AAAA,gCAAgC;;;;AAEhC,6DAMmC;AACnC,iDAAqD;AACrD,wDAA0B;AAC1B,yCAAmD;AACnD,6DAA+B;AAC/B,6DAA+B;AAG/B,kEAIuC;AACvC,2CAAmF;AACnF,+CAAsD;AACtD,4DAA0D;AAC1D,8DAA6D;AAE7D,iEAAmE;AAmDnE;;;;;;;;;GASG;AACH,SAAgB,kBAAkB,CAC9B,cAA+D;IAE/D;QAAgC,6CAA8D;QAU1F,2BAAY,KAAgC;YAA5C,YACI,kBAAM,KAAK,CAAC,SAYf;YApBO,kBAAY,GAAY,KAAK,CAAC;YAEtC;;eAEG;YACK,gCAA0B,GAAkB,IAAI,CAAC;YA4KjD,oBAAc,GAAG,UAAC,KAAgC;gBACtD,OAAO,cAAI,CAAC,KAAK,EAAE,CAAC,WAAW,CAAC,CAAQ,CAAC;YAC7C,CAAC,CAAC;YAzKE,KAAI,CAAC,KAAK,GAAG;gBACT,SAAS,EAAE,KAA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Ac,uBAAM,IAAI,CAAC,KAAa,EAAI,CACjC,CACjB,CAAC;QACN,CAAC;QACL,iBAAC;IAAD,CAAC,AARM,CAAyB,eAAK,CAAC,SAAS,GAQ7C;AACN,CAAC;AAvMD,gDAuMC"}
1
+ {"version":3,"file":"withEntireDataView.js","sourceRoot":"","sources":["../../../../src/base/react/legacy/withEntireDataView.tsx"],"names":[],"mappings":";AAAA,gCAAgC;;;;AAEhC,+DAMmC;AACnC,mDAAqD;AACrD,0DAA0B;AAC1B,2CAAmD;AACnD,+DAA+B;AAC/B,+DAA+B;AAG/B,oEAIuC;AACvC,6CAAmF;AACnF,iDAAsD;AACtD,8DAA0D;AAC1D,gEAA6D;AAE7D,mEAAmE;AAmDnE;;;;;;;;;GASG;AACH,SAAgB,kBAAkB,CAC9B,cAA+D;IAE/D,MAAM,iBAAkB,SAAQ,eAAK,CAAC,SAAwD;QAU1F,YAAY,KAAgC;YACxC,KAAK,CAAC,KAAK,CAAC,CAAC;YART,iBAAY,GAAY,KAAK,CAAC;YAEtC;;eAEG;YACK,+BAA0B,GAAkB,IAAI,CAAC;YA4KjD,mBAAc,GAAG,CAAC,KAAgC,EAA6B,EAAE;gBACrF,OAAO,IAAA,cAAI,EAAC,KAAK,EAAE,CAAC,WAAW,CAAC,CAAQ,CAAC;YAC7C,CAAC,CAAC;YAzKE,IAAI,CAAC,KAAK,GAAG;gBACT,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,IAAI;gBACX,eAAe,EAAE,IAAI;gBACrB,QAAQ,EAAE,IAAI;aACjB,CAAC;YAEF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACzD,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QA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AE;gBACZ,IAAI,IAAI,CAAC,0BAA0B,KAAK,IAAA,0BAAc,EAAC,SAAS,CAAC,UAAU,CAAC,EAAE;oBAC1E,OAAO;iBACV;gBAED,IAAI,IAAI,CAAC,YAAY,EAAE;oBACnB,OAAO;iBACV;gBAED;;;mBAGG;gBACH,IAAI,IAAA,+BAAa,EAAC,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,IAAI,QAAQ,EAAE;oBACpD,MAAM,qBAAqB,GAAG,IAAA,gDAAwB,EAClD,uBAAc,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CACrC,CAAC;oBAEF,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC,CAAC;iBACvC;gBAED,IAAI,CAAC,OAAO,CAAC,IAAA,4BAAY,EAAC,KAAK,CAAC,CAAC,CAAC;aACrC;QACL,CAAC;;IAjLa,8BAAY,GAAG,cAAc,CAAC,YAAY,IAAI,EAAE,AAApC,CAAqC;IAwLnE,MAAM,cAAc,GAAG,IAAA,uBAAU,EAAoC,iBAAiB,CAAC,CAAC;IAExF,OAAO,MAAM,UAAW,SAAQ,eAAK,CAAC,SAAY;QACvC,MAAM;YACT,OAAO,CACH,8BAAC,yBAAW,IAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBAClC,8BAAC,cAAc,oBAAM,IAAI,CAAC,KAAa,EAAI,CACjC,CACjB,CAAC;QACN,CAAC;KACJ,CAAC;AACN,CAAC;AAvMD,gDAuMC"}
@@ -5,88 +5,88 @@ import { ValueOrPlaceholder, ValuesOrPlaceholders, AnyMeasure, ValueOrMultiValue
5
5
  *
6
6
  * @public
7
7
  */
8
- export declare type FilterOrPlaceholder = ValueOrPlaceholder<IFilter> | ValueOrPlaceholder<IDateFilter> | ValueOrPlaceholder<IMeasureFilter> | ValueOrPlaceholder<IAttributeFilter> | ValueOrPlaceholder<IAbsoluteDateFilter> | ValueOrPlaceholder<IRelativeDateFilter> | ValueOrPlaceholder<IPositiveAttributeFilter> | ValueOrPlaceholder<INegativeAttributeFilter> | ValueOrPlaceholder<IMeasureValueFilter> | ValueOrPlaceholder<IRankingFilter>;
8
+ export type FilterOrPlaceholder = ValueOrPlaceholder<IFilter> | ValueOrPlaceholder<IDateFilter> | ValueOrPlaceholder<IMeasureFilter> | ValueOrPlaceholder<IAttributeFilter> | ValueOrPlaceholder<IAbsoluteDateFilter> | ValueOrPlaceholder<IRelativeDateFilter> | ValueOrPlaceholder<IPositiveAttributeFilter> | ValueOrPlaceholder<INegativeAttributeFilter> | ValueOrPlaceholder<IMeasureValueFilter> | ValueOrPlaceholder<IRankingFilter>;
9
9
  /**
10
10
  * Alias for all possible nullable filter or placeholder signatures.
11
11
  *
12
12
  * @public
13
13
  */
14
- export declare type NullableFilterOrPlaceholder = FilterOrPlaceholder | ValueOrPlaceholder<INullableFilter> | ValueOrPlaceholder<IFilter | null> | ValueOrPlaceholder<IDateFilter | null> | ValueOrPlaceholder<IMeasureFilter | null> | ValueOrPlaceholder<IAttributeFilter | null> | ValueOrPlaceholder<IAbsoluteDateFilter | null> | ValueOrPlaceholder<IRelativeDateFilter | null> | ValueOrPlaceholder<IPositiveAttributeFilter | null> | ValueOrPlaceholder<INegativeAttributeFilter | null> | ValueOrPlaceholder<IMeasureValueFilter | null> | ValueOrPlaceholder<IRankingFilter | null>;
14
+ export type NullableFilterOrPlaceholder = FilterOrPlaceholder | ValueOrPlaceholder<INullableFilter> | ValueOrPlaceholder<IFilter | null> | ValueOrPlaceholder<IDateFilter | null> | ValueOrPlaceholder<IMeasureFilter | null> | ValueOrPlaceholder<IAttributeFilter | null> | ValueOrPlaceholder<IAbsoluteDateFilter | null> | ValueOrPlaceholder<IRelativeDateFilter | null> | ValueOrPlaceholder<IPositiveAttributeFilter | null> | ValueOrPlaceholder<INegativeAttributeFilter | null> | ValueOrPlaceholder<IMeasureValueFilter | null> | ValueOrPlaceholder<IRankingFilter | null>;
15
15
  /**
16
16
  *
17
17
  * @public
18
18
  */
19
- export declare type FilterOrMultiValuePlaceholder = ValueOrMultiValuePlaceholder<IFilter> | ValueOrMultiValuePlaceholder<IDateFilter> | ValueOrMultiValuePlaceholder<IMeasureFilter> | ValueOrMultiValuePlaceholder<IAttributeFilter> | ValueOrMultiValuePlaceholder<IAbsoluteDateFilter> | ValueOrMultiValuePlaceholder<IRelativeDateFilter> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter> | ValueOrMultiValuePlaceholder<IMeasureValueFilter> | ValueOrMultiValuePlaceholder<IRankingFilter>;
19
+ export type FilterOrMultiValuePlaceholder = ValueOrMultiValuePlaceholder<IFilter> | ValueOrMultiValuePlaceholder<IDateFilter> | ValueOrMultiValuePlaceholder<IMeasureFilter> | ValueOrMultiValuePlaceholder<IAttributeFilter> | ValueOrMultiValuePlaceholder<IAbsoluteDateFilter> | ValueOrMultiValuePlaceholder<IRelativeDateFilter> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter> | ValueOrMultiValuePlaceholder<IMeasureValueFilter> | ValueOrMultiValuePlaceholder<IRankingFilter>;
20
20
  /**
21
21
  * Alias for all possible filters or their placeholder signatures.
22
22
  *
23
23
  * @public
24
24
  */
25
- export declare type FiltersOrPlaceholders = Array<FilterOrMultiValuePlaceholder>;
25
+ export type FiltersOrPlaceholders = Array<FilterOrMultiValuePlaceholder>;
26
26
  /**
27
27
  * Alias for all possible nullable filters or their placeholder signatures.
28
28
  *
29
29
  * @public
30
30
  */
31
- export declare type NullableFiltersOrPlaceholders = Array<FilterOrMultiValuePlaceholder | ValueOrMultiValuePlaceholder<INullableFilter> | ValueOrMultiValuePlaceholder<IFilter | null> | ValueOrMultiValuePlaceholder<IDateFilter | null> | ValueOrMultiValuePlaceholder<IMeasureFilter | null> | ValueOrMultiValuePlaceholder<IAttributeFilter | null> | ValueOrMultiValuePlaceholder<IAbsoluteDateFilter | null> | ValueOrMultiValuePlaceholder<IRelativeDateFilter | null> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter | null> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter | null> | ValueOrMultiValuePlaceholder<IMeasureValueFilter | null> | ValueOrMultiValuePlaceholder<IRankingFilter | null>>;
31
+ export type NullableFiltersOrPlaceholders = Array<FilterOrMultiValuePlaceholder | ValueOrMultiValuePlaceholder<INullableFilter> | ValueOrMultiValuePlaceholder<IFilter | null> | ValueOrMultiValuePlaceholder<IDateFilter | null> | ValueOrMultiValuePlaceholder<IMeasureFilter | null> | ValueOrMultiValuePlaceholder<IAttributeFilter | null> | ValueOrMultiValuePlaceholder<IAbsoluteDateFilter | null> | ValueOrMultiValuePlaceholder<IRelativeDateFilter | null> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter | null> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter | null> | ValueOrMultiValuePlaceholder<IMeasureValueFilter | null> | ValueOrMultiValuePlaceholder<IRankingFilter | null>>;
32
32
  /**
33
33
  * Alias for all possible attribute filter or placeholder signatures.
34
34
  *
35
35
  * @public
36
36
  */
37
- export declare type AttributeFilterOrPlaceholder = ValueOrPlaceholder<IAttributeFilter> | ValueOrPlaceholder<IPositiveAttributeFilter> | ValueOrPlaceholder<INegativeAttributeFilter>;
37
+ export type AttributeFilterOrPlaceholder = ValueOrPlaceholder<IAttributeFilter> | ValueOrPlaceholder<IPositiveAttributeFilter> | ValueOrPlaceholder<INegativeAttributeFilter>;
38
38
  /**
39
39
  * Alias for all possible attribute filters or their placeholder signatures.
40
40
  *
41
41
  * @public
42
42
  */
43
- export declare type AttributeFiltersOrPlaceholders = Array<ValueOrMultiValuePlaceholder<IAttributeFilter> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter>>;
43
+ export type AttributeFiltersOrPlaceholders = Array<ValueOrMultiValuePlaceholder<IAttributeFilter> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter>>;
44
44
  /**
45
45
  * Alias for all possible attribute or placeholder signatures.
46
46
  *
47
47
  * @public
48
48
  */
49
- export declare type AttributeOrPlaceholder = ValueOrPlaceholder<IAttribute>;
49
+ export type AttributeOrPlaceholder = ValueOrPlaceholder<IAttribute>;
50
50
  /**
51
51
  * Alias for all possible attributes or their placeholder signatures.
52
52
  *
53
53
  * @public
54
54
  */
55
- export declare type AttributesOrPlaceholders = ValuesOrPlaceholders<IAttribute>;
55
+ export type AttributesOrPlaceholders = ValuesOrPlaceholders<IAttribute>;
56
56
  /**
57
57
  * Alias for all possible measure or placeholder signatures.
58
58
  *
59
59
  * @public
60
60
  */
61
- export declare type MeasureOrPlaceholder = ValueOrPlaceholder<AnyMeasure>;
61
+ export type MeasureOrPlaceholder = ValueOrPlaceholder<AnyMeasure>;
62
62
  /**
63
63
  * Alias for all possible measures or their placeholder signatures.
64
64
  *
65
65
  * @public
66
66
  */
67
- export declare type MeasuresOrPlaceholders = ValuesOrPlaceholders<AnyMeasure>;
67
+ export type MeasuresOrPlaceholders = ValuesOrPlaceholders<AnyMeasure>;
68
68
  /**
69
69
  * Alias for all possible attribute, measure or placeholder signatures.
70
70
  *
71
71
  * @public
72
72
  */
73
- export declare type AttributeMeasureOrPlaceholder = ValueOrPlaceholder<IAttribute | AnyMeasure> | ValueOrPlaceholder<IAttribute> | ValueOrPlaceholder<AnyMeasure>;
73
+ export type AttributeMeasureOrPlaceholder = ValueOrPlaceholder<IAttribute | AnyMeasure> | ValueOrPlaceholder<IAttribute> | ValueOrPlaceholder<AnyMeasure>;
74
74
  /**
75
75
  * Alias for all possible attributes, measures or their placeholders signatures.
76
76
  *
77
77
  * @public
78
78
  */
79
- export declare type AttributesMeasuresOrPlaceholders = Array<ValueOrMultiValuePlaceholder<IAttribute | AnyMeasure> | ValueOrMultiValuePlaceholder<IAttribute> | ValueOrMultiValuePlaceholder<AnyMeasure>>;
79
+ export type AttributesMeasuresOrPlaceholders = Array<ValueOrMultiValuePlaceholder<IAttribute | AnyMeasure> | ValueOrMultiValuePlaceholder<IAttribute> | ValueOrMultiValuePlaceholder<AnyMeasure>>;
80
80
  /**
81
81
  * Alias for all possible sorts or their placeholders signatures.
82
82
  *
83
83
  * @public
84
84
  */
85
- export declare type SortsOrPlaceholders = ValuesOrPlaceholders<ISortItem>;
85
+ export type SortsOrPlaceholders = ValuesOrPlaceholders<ISortItem>;
86
86
  /**
87
87
  * Alias for all possible totals or their placeholders signatures.
88
88
  *
89
89
  * @public
90
90
  */
91
- export declare type TotalsOrPlaceholders = ValuesOrPlaceholders<ITotal>;
91
+ export type TotalsOrPlaceholders = ValuesOrPlaceholders<ITotal>;
92
92
  //# sourceMappingURL=aliases.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../../../../src/base/react/placeholders/aliases.ts"],"names":[],"mappings":"AACA,OAAO,EACH,OAAO,EACP,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,SAAS,EACT,MAAM,EACT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAY5G;;;;GAIG;AACH,oBAAY,mBAAmB,GACzB,kBAAkB,CAAC,OAAO,CAAC,GAC3B,kBAAkB,CAAC,WAAW,CAAC,GAC/B,kBAAkB,CAAC,cAAc,CAAC,GAClC,kBAAkB,CAAC,gBAAgB,CAAC,GAEpC,kBAAkB,CAAC,mBAAmB,CAAC,GACvC,kBAAkB,CAAC,mBAAmB,CAAC,GACvC,kBAAkB,CAAC,wBAAwB,CAAC,GAC5C,kBAAkB,CAAC,wBAAwB,CAAC,GAC5C,kBAAkB,CAAC,mBAAmB,CAAC,GACvC,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UAAU,GAAG,UAAU,CAAC,GACrD,4BAA4B,CAAC,UAAU,CAAC,GACxC,4BAA4B,CAAC,UAAU,CAAC,CAC7C,CAAC;AAIF;;;;GAIG;AACH,oBAAY,mBAAmB,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAIlE;;;;GAIG;AACH,oBAAY,oBAAoB,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../../../../src/base/react/placeholders/aliases.ts"],"names":[],"mappings":"AACA,OAAO,EACH,OAAO,EACP,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,SAAS,EACT,MAAM,EACT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAY5G;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GACzB,kBAAkB,CAAC,OAAO,CAAC,GAC3B,kBAAkB,CAAC,WAAW,CAAC,GAC/B,kBAAkB,CAAC,cAAc,CAAC,GAClC,kBAAkB,CAAC,gBAAgB,CAAC,GAEpC,kBAAkB,CAAC,mBAAmB,CAAC,GACvC,kBAAkB,CAAC,mBAAmB,CAAC,GACvC,kBAAkB,CAAC,wBAAwB,CAAC,GAC5C,kBAAkB,CAAC,wBAAwB,CAAC,GAC5C,kBAAkB,CAAC,mBAAmB,CAAC,GACvC,kBAAkB,CAAC,cAAc,CAAC,CAAC;AAIzC;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GACjC,mBAAmB,GACnB,kBAAkB,CAAC,eAAe,CAAC,GACnC,kBAAkB,CAAC,OAAO,GAAG,IAAI,CAAC,GAClC,kBAAkB,CAAC,WAAW,GAAG,IAAI,CAAC,GACtC,kBAAkB,CAA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AAC,CAAC;AAIlE;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import { IMeasure, IMeasureDefinitionType } from "@gooddata/sdk-model";
4
4
  * Any placeholder type - placeholder or composed placeholder.
5
5
  * @public
6
6
  */
7
- export declare type AnyPlaceholder<T = any> = IPlaceholder<T> | IComposedPlaceholder<T, any, any>;
7
+ export type AnyPlaceholder<T = any> = IPlaceholder<T> | IComposedPlaceholder<T, any, any>;
8
8
  /**
9
9
  * Type-guard testing whether the provided object is an instance of {@link AnyPlaceholder}.
10
10
  * @public
@@ -41,7 +41,7 @@ export declare function isAnyPlaceholder<T>(obj: unknown): obj is AnyPlaceholder
41
41
  *
42
42
  * @public
43
43
  */
44
- export declare type IPlaceholder<T> = {
44
+ export type IPlaceholder<T> = {
45
45
  type: "IPlaceholder";
46
46
  id: string;
47
47
  defaultValue?: T;
@@ -83,7 +83,7 @@ export declare function isComposedPlaceholder<TReturn, TValue extends any[], TCo
83
83
  * React hook to obtain and set {@link IPlaceholder} value.
84
84
  * @public
85
85
  */
86
- export declare type IUsePlaceholderHook<T extends IPlaceholder<any>> = () => [
86
+ export type IUsePlaceholderHook<T extends IPlaceholder<any>> = () => [
87
87
  PlaceholderValue<T> | undefined,
88
88
  (valueOrUpdateCallback: ValueOrUpdateCallback<PlaceholderValue<T> | undefined>) => void
89
89
  ];
@@ -91,7 +91,7 @@ export declare type IUsePlaceholderHook<T extends IPlaceholder<any>> = () => [
91
91
  * React hook to obtain {@link IComposedPlaceholder} value.
92
92
  * @public
93
93
  */
94
- export declare type IUseComposedPlaceholderHook<T extends IComposedPlaceholder<any, any, any>> = (resolutionContext: ComposedPlaceholderResolutionContext<T>) => PlaceholderResolvedValue<T>;
94
+ export type IUseComposedPlaceholderHook<T extends IComposedPlaceholder<any, any, any>> = (resolutionContext: ComposedPlaceholderResolutionContext<T>) => PlaceholderResolvedValue<T>;
95
95
  /**
96
96
  * Get composed placeholder resolution context type.
97
97
  *
@@ -102,7 +102,7 @@ export declare type IUseComposedPlaceholderHook<T extends IComposedPlaceholder<a
102
102
  *
103
103
  * @public
104
104
  */
105
- export declare type ComposedPlaceholderResolutionContext<T> = T extends IComposedPlaceholder<any, any, infer TContext> ? TContext : any;
105
+ export type ComposedPlaceholderResolutionContext<T> = T extends IComposedPlaceholder<any, any, infer TContext> ? TContext : any;
106
106
  /**
107
107
  * Convert union type to intersection type.
108
108
  *
@@ -114,7 +114,7 @@ export declare type ComposedPlaceholderResolutionContext<T> = T extends ICompose
114
114
  *
115
115
  * @public
116
116
  */
117
- export declare type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never;
117
+ export type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never;
118
118
  /**
119
119
  * Flatten array type.
120
120
  *
@@ -130,7 +130,7 @@ export declare type UnionToIntersection<T> = (T extends any ? (x: T) => any : ne
130
130
  * ```
131
131
  * @public
132
132
  */
133
- export declare type Flatten<T> = T extends Array<infer A> ? A : T;
133
+ export type Flatten<T> = T extends Array<infer A> ? A : T;
134
134
  /**
135
135
  * Get placeholder value type.
136
136
  *
@@ -147,7 +147,7 @@ export declare type Flatten<T> = T extends Array<infer A> ? A : T;
147
147
  *
148
148
  * @public
149
149
  */
150
- export declare type PlaceholderValue<T> = T extends IPlaceholder<infer A> ? A : T extends IComposedPlaceholder<infer B, any, any> ? B : T;
150
+ export type PlaceholderValue<T> = T extends IPlaceholder<infer A> ? A : T extends IComposedPlaceholder<infer B, any, any> ? B : T;
151
151
  /**
152
152
  * Convert tuple of placeholders to tuple of their respective value types.
153
153
  *
@@ -160,7 +160,7 @@ export declare type PlaceholderValue<T> = T extends IPlaceholder<infer A> ? A :
160
160
  *
161
161
  * @public
162
162
  */
163
- export declare type PlaceholdersValues<Tuple extends [...any[]]> = {
163
+ export type PlaceholdersValues<Tuple extends [...any[]]> = {
164
164
  [Index in keyof Tuple]: PlaceholderValue<Tuple[Index]>;
165
165
  };
166
166
  /**
@@ -181,7 +181,7 @@ export declare type PlaceholdersValues<Tuple extends [...any[]]> = {
181
181
  *
182
182
  * @public
183
183
  */
184
- export declare type PlaceholderResolvedValue<T> = T extends Array<infer A> ? Flatten<PlaceholderResolvedValue<A>>[] : T extends IPlaceholder<infer B> ? B : T extends IComposedPlaceholder<infer C, any, any> ? C : T;
184
+ export type PlaceholderResolvedValue<T> = T extends Array<infer A> ? Flatten<PlaceholderResolvedValue<A>>[] : T extends IPlaceholder<infer B> ? B : T extends IComposedPlaceholder<infer C, any, any> ? C : T;
185
185
  /**
186
186
  * Convert tuple of values that may contain placeholders to tuple of their respective resolved value types.
187
187
  *
@@ -197,7 +197,7 @@ export declare type PlaceholderResolvedValue<T> = T extends Array<infer A> ? Fla
197
197
  *
198
198
  * @public
199
199
  */
200
- export declare type PlaceholdersResolvedValues<Tuple extends any[]> = {
200
+ export type PlaceholdersResolvedValues<Tuple extends any[]> = {
201
201
  [Index in keyof Tuple]: PlaceholderResolvedValue<Tuple[Index]>;
202
202
  };
203
203
  /**
@@ -209,7 +209,7 @@ export declare type PlaceholdersResolvedValues<Tuple extends any[]> = {
209
209
  * ```
210
210
  * @public
211
211
  */
212
- export declare type ArrayOf<T> = T extends any ? T[] : never;
212
+ export type ArrayOf<T> = T extends any ? T[] : never;
213
213
  /**
214
214
  * Generate all possible combinations of arrays signatures for the union type.
215
215
  *
@@ -220,7 +220,7 @@ export declare type ArrayOf<T> = T extends any ? T[] : never;
220
220
  *
221
221
  * @public
222
222
  */
223
- export declare type AnyArrayOf<T> = T[] | ArrayOf<T>;
223
+ export type AnyArrayOf<T> = T[] | ArrayOf<T>;
224
224
  /**
225
225
  * Wrap each member of the union type in AnyPlaceholder.
226
226
  *
@@ -231,7 +231,7 @@ export declare type AnyArrayOf<T> = T[] | ArrayOf<T>;
231
231
  *
232
232
  * @public
233
233
  */
234
- export declare type PlaceholderOf<T> = T extends any ? AnyPlaceholder<T> : never;
234
+ export type PlaceholderOf<T> = T extends any ? AnyPlaceholder<T> : never;
235
235
  /**
236
236
  * Generate all possible combinations of placeholder signatures for the union type.
237
237
  *
@@ -243,19 +243,19 @@ export declare type PlaceholderOf<T> = T extends any ? AnyPlaceholder<T> : never
243
243
  * ```
244
244
  * @public
245
245
  */
246
- export declare type AnyPlaceholderOf<T> = AnyPlaceholder<T> | PlaceholderOf<T>;
246
+ export type AnyPlaceholderOf<T> = AnyPlaceholder<T> | PlaceholderOf<T>;
247
247
  /**
248
248
  * Represents value of type T or any placeholder that may hold value T.
249
249
  *
250
250
  * @public
251
251
  */
252
- export declare type ValueOrPlaceholder<T> = T | AnyPlaceholderOf<T>;
252
+ export type ValueOrPlaceholder<T> = T | AnyPlaceholderOf<T>;
253
253
  /**
254
254
  * Represents array of values T or placeholders that may hold value T.
255
255
  *
256
256
  * @public
257
257
  */
258
- export declare type ValuesOrPlaceholders<T> = AnyArrayOf<ValueOrMultiValuePlaceholder<T>>;
258
+ export type ValuesOrPlaceholders<T> = AnyArrayOf<ValueOrMultiValuePlaceholder<T>>;
259
259
  /**
260
260
  * Generate union of measures from union of measure definitions.
261
261
  *
@@ -265,15 +265,15 @@ export declare type ValuesOrPlaceholders<T> = AnyArrayOf<ValueOrMultiValuePlaceh
265
265
  *
266
266
  * @public
267
267
  */
268
- export declare type MeasureOf<T extends IMeasureDefinitionType> = T extends any ? IMeasure<T> : never;
268
+ export type MeasureOf<T extends IMeasureDefinitionType> = T extends any ? IMeasure<T> : never;
269
269
  /**
270
270
  * Represents all possible measure signatures.
271
271
  *
272
272
  * @public
273
273
  */
274
- export declare type AnyMeasure = IMeasure | MeasureOf<IMeasureDefinitionType>;
274
+ export type AnyMeasure = IMeasure | MeasureOf<IMeasureDefinitionType>;
275
275
  /**
276
276
  * @public
277
277
  */
278
- export declare type ValueOrMultiValuePlaceholder<T> = ValueOrPlaceholder<T> | AnyPlaceholderOf<T[]>;
278
+ export type ValueOrMultiValuePlaceholder<T> = ValueOrPlaceholder<T> | AnyPlaceholderOf<T[]>;
279
279
  //# sourceMappingURL=base.d.ts.map