@gooddata/sdk-ui 10.44.0-alpha.3 → 10.44.0-alpha.5

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 (151) hide show
  1. package/esm/base/localization/IntlWrapper.d.ts +3 -3
  2. package/esm/base/localization/IntlWrapper.d.ts.map +1 -1
  3. package/esm/base/localization/IntlWrapper.js +3 -2
  4. package/esm/base/localization/IntlWrapper.js.map +1 -1
  5. package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -4
  6. package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
  7. package/esm/base/localization/TranslationsCustomizationProvider/Context.js +7 -7
  8. package/esm/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
  9. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts +2 -2
  10. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts.map +1 -1
  11. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +3 -2
  12. package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
  13. package/esm/base/localization/bundles/en-US.json +6 -2
  14. package/esm/base/localization/bundles/en-US.localization-bundle.d.ts +1 -0
  15. package/esm/base/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  16. package/esm/base/localization/bundles/en-US.localization-bundle.js +3 -2
  17. package/esm/base/localization/bundles/en-US.localization-bundle.js.map +1 -1
  18. package/esm/base/localization/intlUtils.d.ts +4 -4
  19. package/esm/base/localization/intlUtils.d.ts.map +1 -1
  20. package/esm/base/localization/intlUtils.js +5 -8
  21. package/esm/base/localization/intlUtils.js.map +1 -1
  22. package/esm/base/react/BackendContext.d.ts +4 -4
  23. package/esm/base/react/BackendContext.d.ts.map +1 -1
  24. package/esm/base/react/BackendContext.js +7 -6
  25. package/esm/base/react/BackendContext.js.map +1 -1
  26. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +4 -4
  27. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
  28. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +9 -10
  29. package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
  30. package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts +2 -1
  31. package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
  32. package/esm/base/react/ClientWorkspaceContext/interfaces.js +1 -1
  33. package/esm/base/react/CorrelationContext.d.ts +5 -5
  34. package/esm/base/react/CorrelationContext.d.ts.map +1 -1
  35. package/esm/base/react/CorrelationContext.js +7 -6
  36. package/esm/base/react/CorrelationContext.js.map +1 -1
  37. package/esm/base/react/ErrorComponent.d.ts +1 -2
  38. package/esm/base/react/ErrorComponent.d.ts.map +1 -1
  39. package/esm/base/react/ErrorComponent.js +14 -19
  40. package/esm/base/react/ErrorComponent.js.map +1 -1
  41. package/esm/base/react/LoadingComponent.d.ts +1 -2
  42. package/esm/base/react/LoadingComponent.d.ts.map +1 -1
  43. package/esm/base/react/LoadingComponent.js +3 -12
  44. package/esm/base/react/LoadingComponent.js.map +1 -1
  45. package/esm/base/react/OrganizationContext.d.ts +4 -4
  46. package/esm/base/react/OrganizationContext.d.ts.map +1 -1
  47. package/esm/base/react/OrganizationContext.js +4 -3
  48. package/esm/base/react/OrganizationContext.js.map +1 -1
  49. package/esm/base/react/WorkspaceContext.d.ts +4 -4
  50. package/esm/base/react/WorkspaceContext.d.ts.map +1 -1
  51. package/esm/base/react/WorkspaceContext.js +7 -6
  52. package/esm/base/react/WorkspaceContext.js.map +1 -1
  53. package/esm/base/react/contextStore.d.ts +3 -3
  54. package/esm/base/react/contextStore.d.ts.map +1 -1
  55. package/esm/base/react/contextStore.js +11 -10
  56. package/esm/base/react/contextStore.js.map +1 -1
  57. package/esm/base/react/debounce.js +4 -4
  58. package/esm/base/react/debounce.js.map +1 -1
  59. package/esm/base/react/forwardRefWithGenerics.d.ts +2 -2
  60. package/esm/base/react/forwardRefWithGenerics.d.ts.map +1 -1
  61. package/esm/base/react/forwardRefWithGenerics.js +2 -2
  62. package/esm/base/react/forwardRefWithGenerics.js.map +1 -1
  63. package/esm/base/react/legacy/withEntireDataView.d.ts +2 -2
  64. package/esm/base/react/legacy/withEntireDataView.d.ts.map +1 -1
  65. package/esm/base/react/legacy/withEntireDataView.js +6 -6
  66. package/esm/base/react/legacy/withEntireDataView.js.map +1 -1
  67. package/esm/base/react/placeholders/context.d.ts +2 -2
  68. package/esm/base/react/placeholders/context.d.ts.map +1 -1
  69. package/esm/base/react/placeholders/context.js +4 -3
  70. package/esm/base/react/placeholders/context.js.map +1 -1
  71. package/esm/base/react/useAutoupdateRef.d.ts +1 -2
  72. package/esm/base/react/useAutoupdateRef.d.ts.map +1 -1
  73. package/esm/base/react/useAutoupdateRef.js +3 -3
  74. package/esm/base/react/useAutoupdateRef.js.map +1 -1
  75. package/esm/base/react/useCombineRefs.d.ts +2 -2
  76. package/esm/base/react/useCombineRefs.d.ts.map +1 -1
  77. package/esm/base/react/useCombineRefs.js +2 -2
  78. package/esm/base/react/useCombineRefs.js.map +1 -1
  79. package/esm/base/react/useInitialProp.js +2 -2
  80. package/esm/base/react/useInitialProp.js.map +1 -1
  81. package/esm/base/react/useLocalStorage.d.ts.map +1 -1
  82. package/esm/base/react/useLocalStorage.js +4 -4
  83. package/esm/base/react/useLocalStorage.js.map +1 -1
  84. package/esm/base/react/useObjectDiff.js +3 -3
  85. package/esm/base/react/useObjectDiff.js.map +1 -1
  86. package/esm/base/react/usePagedResource.d.ts +2 -1
  87. package/esm/base/react/usePagedResource.d.ts.map +1 -1
  88. package/esm/base/react/usePagedResource.js.map +1 -1
  89. package/esm/base/react/usePromiseCache.d.ts +2 -1
  90. package/esm/base/react/usePromiseCache.d.ts.map +1 -1
  91. package/esm/base/react/usePromiseCache.js.map +1 -1
  92. package/esm/base/react/usePropState.d.ts +1 -2
  93. package/esm/base/react/usePropState.d.ts.map +1 -1
  94. package/esm/base/react/usePropState.js +3 -3
  95. package/esm/base/react/usePropState.js.map +1 -1
  96. package/esm/base/react/validation/ValidationContextStore.d.ts.map +1 -1
  97. package/esm/base/react/validation/ValidationContextStore.js +7 -7
  98. package/esm/base/react/validation/ValidationContextStore.js.map +1 -1
  99. package/esm/base/react/withContexts.d.ts +2 -1
  100. package/esm/base/react/withContexts.d.ts.map +1 -1
  101. package/esm/base/react/withContexts.js.map +1 -1
  102. package/esm/base/react/wrapDisplayName.d.ts +2 -1
  103. package/esm/base/react/wrapDisplayName.d.ts.map +1 -1
  104. package/esm/base/react/wrapDisplayName.js +1 -1
  105. package/esm/base/react/wrapDisplayName.js.map +1 -1
  106. package/esm/base/vis/VisualizationProps.d.ts +3 -3
  107. package/esm/base/vis/VisualizationProps.d.ts.map +1 -1
  108. package/esm/execution/Execute.d.ts +3 -3
  109. package/esm/execution/Execute.d.ts.map +1 -1
  110. package/esm/execution/Execute.js +4 -5
  111. package/esm/execution/Execute.js.map +1 -1
  112. package/esm/execution/ExecuteInsight.d.ts +3 -3
  113. package/esm/execution/ExecuteInsight.d.ts.map +1 -1
  114. package/esm/execution/ExecuteInsight.js +3 -4
  115. package/esm/execution/ExecuteInsight.js.map +1 -1
  116. package/esm/execution/RawExecute.d.ts +3 -3
  117. package/esm/execution/RawExecute.d.ts.map +1 -1
  118. package/esm/execution/RawExecute.js +3 -4
  119. package/esm/execution/RawExecute.js.map +1 -1
  120. package/esm/execution/useExecutionDataView.d.ts +2 -1
  121. package/esm/execution/useExecutionDataView.d.ts.map +1 -1
  122. package/esm/execution/useExecutionDataView.js.map +1 -1
  123. package/esm/execution/useInsight.d.ts +2 -1
  124. package/esm/execution/useInsight.d.ts.map +1 -1
  125. package/esm/execution/useInsight.js +1 -0
  126. package/esm/execution/useInsight.js.map +1 -1
  127. package/esm/execution/useInsightDataView.d.ts +2 -1
  128. package/esm/execution/useInsightDataView.d.ts.map +1 -1
  129. package/esm/execution/useInsightDataView.js +1 -0
  130. package/esm/execution/useInsightDataView.js.map +1 -1
  131. package/esm/execution/withExecution.d.ts +2 -1
  132. package/esm/execution/withExecution.d.ts.map +1 -1
  133. package/esm/execution/withExecution.js.map +1 -1
  134. package/esm/execution/withExecutionLoading.d.ts +2 -2
  135. package/esm/execution/withExecutionLoading.d.ts.map +1 -1
  136. package/esm/execution/withExecutionLoading.js +7 -6
  137. package/esm/execution/withExecutionLoading.js.map +1 -1
  138. package/esm/kpi/FormattedNumber.d.ts +1 -2
  139. package/esm/kpi/FormattedNumber.d.ts.map +1 -1
  140. package/esm/kpi/FormattedNumber.js +2 -2
  141. package/esm/kpi/FormattedNumber.js.map +1 -1
  142. package/esm/kpi/Kpi.d.ts +4 -4
  143. package/esm/kpi/Kpi.d.ts.map +1 -1
  144. package/esm/kpi/Kpi.js +14 -16
  145. package/esm/kpi/Kpi.js.map +1 -1
  146. package/esm/kpi/KpiError.d.ts +1 -2
  147. package/esm/kpi/KpiError.d.ts.map +1 -1
  148. package/esm/kpi/KpiError.js +3 -4
  149. package/esm/kpi/KpiError.js.map +1 -1
  150. package/esm/sdk-ui.d.ts +62 -54
  151. package/package.json +14 -14
@@ -1 +1 @@
1
- {"version":3,"file":"FormattedNumber.js","sourceRoot":"","sources":["../../src/kpi/FormattedNumber.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAanE;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAyB;IAC3F,MAAM,aAAa,GAAG,qBAAqB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAEhE,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,qBAAqB,CAAC,WAAW,CACvE,aAAa,EACb,MAAM,EACN,UAAU,CACb,CAAC;IAEF,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAE1C,OAAO,CACH,8BAAM,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,IACxD,KAAK,CACH,CACV,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"FormattedNumber.js","sourceRoot":"","sources":["../../src/kpi/FormattedNumber.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAanE;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAyB;IAC3F,MAAM,aAAa,GAAG,qBAAqB,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAEhE,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,qBAAqB,CAAC,WAAW,CACvE,aAAa,EACb,MAAM,EACN,UAAU,CACb,CAAC;IAEF,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAE1C,OAAO,CACH,eAAM,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,YACxD,KAAK,GACH,CACV,CAAC;AACN,CAAC"}
package/esm/kpi/Kpi.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { ComponentType } from "react";
2
2
  import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
3
3
  import { IMeasure, INullableFilter, ISeparators } from "@gooddata/sdk-model";
4
4
  import { IErrorProps, ILoadingProps } from "../base/index.js";
@@ -42,11 +42,11 @@ export interface IKpiProps extends IWithLoadingEvents<IRawExecuteProps> {
42
42
  /**
43
43
  * Specify react component to render while the data is loading.
44
44
  */
45
- LoadingComponent?: React.ComponentType<ILoadingProps>;
45
+ LoadingComponent?: ComponentType<ILoadingProps>;
46
46
  /**
47
47
  * Specify react component to render if execution fails.
48
48
  */
49
- ErrorComponent?: React.ComponentType<IErrorProps>;
49
+ ErrorComponent?: ComponentType<IErrorProps>;
50
50
  }
51
51
  /**
52
52
  * Kpi is a simple component which calculates and renders a single formatted measure value.
@@ -60,5 +60,5 @@ export interface IKpiProps extends IWithLoadingEvents<IRawExecuteProps> {
60
60
  *
61
61
  * @public
62
62
  */
63
- export declare const Kpi: React.ComponentType<IKpiProps>;
63
+ export declare const Kpi: ComponentType<IKpiProps>;
64
64
  //# sourceMappingURL=Kpi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Kpi.d.ts","sourceRoot":"","sources":["../../src/kpi/Kpi.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAI7E,OAAO,EAEH,WAAW,EACX,aAAa,EAIhB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAc,MAAM,uBAAuB,CAAC;AA0GzF;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IACnE;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC;IAEzB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;IAEtD;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;CACrD;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,GAAG,gCAA0B,CAAC"}
1
+ {"version":3,"file":"Kpi.d.ts","sourceRoot":"","sources":["../../src/kpi/Kpi.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAOtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAI7E,OAAO,EAEH,WAAW,EACX,aAAa,EAIhB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAc,MAAM,uBAAuB,CAAC;AA0GzF;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IACnE;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,QAAQ,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC;IAEzB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAEhD;;OAEG;IACH,cAAc,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CAC/C;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,GAAG,0BAA0B,CAAC"}
package/esm/kpi/Kpi.js CHANGED
@@ -1,5 +1,4 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import React from "react";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
3
2
  import isArray from "lodash/isArray.js";
4
3
  import isNil from "lodash/isNil.js";
5
4
  import { injectIntl } from "react-intl";
@@ -12,7 +11,7 @@ import { RawExecute } from "../execution/index.js";
12
11
  // Internals
13
12
  //
14
13
  function KpiLoading() {
15
- return React.createElement(LoadingComponent, { inline: true });
14
+ return _jsx(LoadingComponent, { inline: true });
16
15
  }
17
16
  function CoreKpi(props) {
18
17
  const { backend, workspace, measure, filters, separators, LoadingComponent = KpiLoading, ErrorComponent = KpiError, onError, onLoadingChanged, onLoadingFinish, onLoadingStart, intl, } = props;
@@ -22,17 +21,17 @@ function CoreKpi(props) {
22
21
  .workspace(workspace)
23
22
  .execution()
24
23
  .forItems([measure], filters);
25
- return (React.createElement(RawExecute, { execution: execution, onLoadingStart: onLoadingStart, onLoadingChanged: onLoadingChanged, onLoadingFinish: onLoadingFinish, onError: onError }, ({ error, isLoading, result }) => {
26
- if (error) {
27
- return (React.createElement(ErrorComponent, { code: error.message, message: intl.formatMessage({ id: "visualization.ErrorMessageKpi" }) }));
28
- }
29
- if (isLoading || !result) {
30
- return React.createElement(LoadingComponent, null);
31
- }
32
- const measureData = getMeasureData(result);
33
- const measureFormat = measure.measure.format || getMeasureFormat(result);
34
- return (React.createElement(FormattedNumber, { className: "gdc-kpi", value: measureData, format: measureFormat, separators: separators }));
35
- }));
24
+ return (_jsx(RawExecute, { execution: execution, onLoadingStart: onLoadingStart, onLoadingChanged: onLoadingChanged, onLoadingFinish: onLoadingFinish, onError: onError, children: ({ error, isLoading, result }) => {
25
+ if (error) {
26
+ return (_jsx(ErrorComponent, { code: error.message, message: intl.formatMessage({ id: "visualization.ErrorMessageKpi" }) }));
27
+ }
28
+ if (isLoading || !result) {
29
+ return _jsx(LoadingComponent, {});
30
+ }
31
+ const measureData = getMeasureData(result);
32
+ const measureFormat = measure.measure.format || getMeasureFormat(result);
33
+ return (_jsx(FormattedNumber, { className: "gdc-kpi", value: measureData, format: measureFormat, separators: separators }));
34
+ } }));
36
35
  }
37
36
  const getMeasureData = (result) => {
38
37
  const data = result.rawData().data();
@@ -50,8 +49,7 @@ const getMeasureFormat = (result) => {
50
49
  const IntlKpi = injectIntl(CoreKpi);
51
50
  function RenderKpi(props) {
52
51
  const { locale } = props;
53
- return (React.createElement(IntlWrapper, { locale: locale },
54
- React.createElement(IntlKpi, { ...props })));
52
+ return (_jsx(IntlWrapper, { locale: locale, children: _jsx(IntlKpi, { ...props }) }));
55
53
  }
56
54
  /**
57
55
  * Kpi is a simple component which calculates and renders a single formatted measure value.
@@ -1 +1 @@
1
- {"version":3,"file":"Kpi.js","sourceRoot":"","sources":["../../src/kpi/Kpi.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EAAyB,UAAU,EAAE,MAAM,YAAY,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAIH,WAAW,EACX,gBAAgB,EAChB,YAAY,GACf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAwC,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEzF,EAAE;AACF,YAAY;AACZ,EAAE;AAEF,SAAS,UAAU;IACf,OAAO,oBAAC,gBAAgB,IAAC,MAAM,EAAE,IAAI,GAAI,CAAC;AAC9C,CAAC;AAED,SAAS,OAAO,CAAC,KAAwC;IACrD,MAAM,EACF,OAAO,EACP,SAAS,EACT,OAAO,EACP,OAAO,EACP,UAAU,EACV,gBAAgB,GAAG,UAAU,EAC7B,cAAc,GAAG,QAAQ,EACzB,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,IAAI,GACP,GAAG,KAAK,CAAC;IAEV,SAA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KAAK,GAAI,GACZ,CACjB,CAAC;AACN,CAAC;AA2DD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC"}
@@ -1,7 +1,6 @@
1
- import React from "react";
2
1
  import { IErrorProps } from "../base/index.js";
3
2
  /**
4
3
  * @internal
5
4
  */
6
- export declare function KpiError(props: IErrorProps): React.JSX.Element;
5
+ export declare function KpiError(props: IErrorProps): import("react/jsx-runtime").JSX.Element;
7
6
  //# sourceMappingURL=KpiError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KpiError.d.ts","sourceRoot":"","sources":["../../src/kpi/KpiError.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW,qBAmB1C"}
1
+ {"version":3,"file":"KpiError.d.ts","sourceRoot":"","sources":["../../src/kpi/KpiError.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW,2CAmB1C"}
@@ -1,11 +1,10 @@
1
- // (C) 2019-2025 GoodData Corporation
2
- import React from "react";
1
+ import { jsx as _jsx } from "react/jsx-runtime";
3
2
  /**
4
3
  * @internal
5
4
  */
6
5
  export function KpiError(props) {
7
6
  const message = props.message;
8
- return (React.createElement("span", { className: "gdc-kpi-error", style: {
7
+ return (_jsx("span", { className: "gdc-kpi-error", style: {
9
8
  whiteSpace: "normal",
10
9
  lineHeight: "normal",
11
10
  fontSize: "14px",
@@ -13,6 +12,6 @@ export function KpiError(props) {
13
12
  verticalAlign: "middle",
14
13
  color: "#94a1ad",
15
14
  fontFamily: "gdcustomfont, avenir, Helvetica Neue, arial, sans-serif",
16
- } }, message));
15
+ }, children: message }));
17
16
  }
18
17
  //# sourceMappingURL=KpiError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KpiError.js","sourceRoot":"","sources":["../../src/kpi/KpiError.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAkB;IACvC,MAAM,OAAO,GAAW,KAAK,CAAC,OAAO,CAAC;IAEtC,OAAO,CACH,8BACI,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE;YACH,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,GAAG;YACf,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,SAAS;YAChB,UAAU,EAAE,yDAAyD;SACxE,IAEA,OAAO,CACL,CACV,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"KpiError.js","sourceRoot":"","sources":["../../src/kpi/KpiError.tsx"],"names":[],"mappings":";AAIA;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAkB;IACvC,MAAM,OAAO,GAAW,KAAK,CAAC,OAAO,CAAC;IAEtC,OAAO,CACH,eACI,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE;YACH,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,GAAG;YACf,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,SAAS;YAChB,UAAU,EAAE,yDAAyD;SACxE,YAEA,OAAO,GACL,CACV,CAAC;AACN,CAAC"}
package/esm/sdk-ui.d.ts CHANGED
@@ -13,9 +13,11 @@
13
13
  */
14
14
 
15
15
  import { AuthenticationFlow } from '@gooddata/sdk-backend-spi';
16
+ import { ComponentClass } from 'react';
16
17
  import { ComponentType } from 'react';
17
18
  import { DataValue } from '@gooddata/sdk-model';
18
19
  import { DependencyList } from 'react';
20
+ import { Dispatch } from 'react';
19
21
  import { FC } from 'react';
20
22
  import { ForecastDataValue } from '@gooddata/sdk-model';
21
23
  import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
@@ -69,12 +71,18 @@ import { ISortItem } from '@gooddata/sdk-model';
69
71
  import { ITotal } from '@gooddata/sdk-model';
70
72
  import { ITotalDescriptor } from '@gooddata/sdk-model';
71
73
  import { IWorkspaceSettings } from '@gooddata/sdk-backend-spi';
74
+ import { JSX } from 'react/jsx-runtime';
72
75
  import { MessageDescriptor } from 'react-intl';
76
+ import { MutableRefObject } from 'react';
73
77
  import { NamedExoticComponent } from 'react';
74
78
  import { ObjRef } from '@gooddata/sdk-model';
75
- import { default as React_2 } from 'react';
79
+ import { PropsWithoutRef } from 'react';
76
80
  import { ReactElement } from 'react';
77
81
  import { ReactNode } from 'react';
82
+ import { Ref } from 'react';
83
+ import { RefAttributes } from 'react';
84
+ import { RefObject } from 'react';
85
+ import { SetStateAction } from 'react';
78
86
  import { TotalType } from '@gooddata/sdk-model';
79
87
  import { ValueOrUpdateCallback } from '@gooddata/sdk-backend-base';
80
88
  import { WithIntlProps } from 'react-intl';
@@ -213,7 +221,7 @@ export declare type AttributesOrPlaceholders = ValuesOrPlaceholders<IAttribute>;
213
221
  *
214
222
  * @public
215
223
  */
216
- export declare function BackendProvider({ children, backend }: IBackendProviderProps): React_2.JSX.Element;
224
+ export declare function BackendProvider({ children, backend }: IBackendProviderProps): JSX.Element;
217
225
 
218
226
  /**
219
227
  * Combined provider for both backend and correlation metadata.
@@ -222,7 +230,7 @@ export declare function BackendProvider({ children, backend }: IBackendProviderP
222
230
  *
223
231
  * @public
224
232
  */
225
- export declare function BackendProviderWithCorrelation({ backend: externalBackend, correlationData, children, }: IBackendProviderWithCorrelationProps): React_2.JSX.Element;
233
+ export declare function BackendProviderWithCorrelation({ backend: externalBackend, correlationData, children, }: IBackendProviderWithCorrelationProps): JSX.Element;
226
234
 
227
235
  /**
228
236
  * This error means that server could not understand the request due to invalid syntax.
@@ -331,7 +339,7 @@ export declare type ChartType = "bar" | "column" | "pie" | "line" | "area" | "do
331
339
  *
332
340
  * @alpha
333
341
  */
334
- export declare function ClientWorkspaceProvider(props: IClientWorkspaceProviderProps): React_2.JSX.Element;
342
+ export declare function ClientWorkspaceProvider(props: IClientWorkspaceProviderProps): JSX.Element;
335
343
 
336
344
  /**
337
345
  * This error means that execution of forecast ended with error.
@@ -414,7 +422,7 @@ export declare function convertError(error: unknown): GoodDataSdkError;
414
422
  *
415
423
  * @public
416
424
  */
417
- export declare function CorrelationProvider({ children, correlationData }: ICorrelationProviderProps): React_2.JSX.Element;
425
+ export declare function CorrelationProvider({ children, correlationData }: ICorrelationProviderProps): JSX.Element;
418
426
 
419
427
  /**
420
428
  * Creates a context store.
@@ -1007,7 +1015,7 @@ export declare const ErrorCodes: {
1007
1015
  *
1008
1016
  * @public
1009
1017
  */
1010
- export declare function ErrorComponent({ icon, className, width, height, style, message, description, clientHeight, }: IErrorProps): React_2.JSX.Element;
1018
+ export declare function ErrorComponent({ icon, className, width, height, style, message, description, clientHeight, }: IErrorProps): JSX.Element;
1011
1019
 
1012
1020
  /**
1013
1021
  * The executor provides a more curated experience to obtain and work with data from backends.
@@ -1024,14 +1032,14 @@ export declare function ErrorComponent({ icon, className, width, height, style,
1024
1032
  * See {@link IDataAccessMethods} for additional documentation
1025
1033
  * @public
1026
1034
  */
1027
- export declare function Execute(props: IExecuteProps): React_2.JSX.Element;
1035
+ export declare function Execute(props: IExecuteProps): JSX.Element;
1028
1036
 
1029
1037
  /**
1030
1038
  * Gets data for a specific stored insight.
1031
1039
  *
1032
1040
  * @public
1033
1041
  */
1034
- export declare const ExecuteInsight: React_2.ComponentType<IExecuteInsightProps>;
1042
+ export declare const ExecuteInsight: ComponentType<IExecuteInsightProps>;
1035
1043
 
1036
1044
  /**
1037
1045
  * Drillable item reference or predicate that enables insight / kpi drilling if it matches some attribute or measure of the insight / kpi.
@@ -1149,7 +1157,7 @@ export declare class ForecastNotReceivedSdkError extends GoodDataSdkError {
1149
1157
  *
1150
1158
  * @internal
1151
1159
  */
1152
- export declare function forwardRefWithGenerics<T, P>(render: (props: React_2.PropsWithoutRef<P>, ref: React_2.Ref<T>) => React_2.ReactNode): (props: React_2.PropsWithoutRef<P> & React_2.RefAttributes<T>) => React_2.ReactNode;
1160
+ export declare function forwardRefWithGenerics<T, P>(render: (props: PropsWithoutRef<P>, ref: Ref<T>) => ReactNode): (props: PropsWithoutRef<P> & RefAttributes<T>) => ReactNode;
1153
1161
 
1154
1162
  /**
1155
1163
  * This error means that location bucket is missing
@@ -1406,7 +1414,7 @@ export declare interface IBackendProviderProps {
1406
1414
  /**
1407
1415
  * React children
1408
1416
  */
1409
- children?: React_2.ReactNode;
1417
+ children?: ReactNode;
1410
1418
  }
1411
1419
 
1412
1420
  /**
@@ -1426,7 +1434,7 @@ export declare interface IBackendProviderWithCorrelationProps {
1426
1434
  /**
1427
1435
  * React children
1428
1436
  */
1429
- children?: React_2.ReactNode;
1437
+ children?: ReactNode;
1430
1438
  }
1431
1439
 
1432
1440
  /**
@@ -1464,7 +1472,7 @@ export declare interface IClientWorkspaceIdentifiers {
1464
1472
  /**
1465
1473
  * React children
1466
1474
  */
1467
- children?: React.ReactNode;
1475
+ children?: ReactNode;
1468
1476
  }
1469
1477
 
1470
1478
  /**
@@ -1483,7 +1491,7 @@ export declare interface IClientWorkspaceProviderCoreProps {
1483
1491
  /**
1484
1492
  * Wrapped React components that will have access to the LCMWorkspace context.
1485
1493
  */
1486
- children: React_2.ReactNode;
1494
+ children: ReactNode;
1487
1495
  }
1488
1496
 
1489
1497
  /**
@@ -1580,9 +1588,9 @@ export declare type IContextStore<T> = IContextStoreProvider<T> & {
1580
1588
  /**
1581
1589
  * @internal
1582
1590
  */
1583
- export declare type IContextStoreProvider<T> = React_2.FC<{
1591
+ export declare type IContextStoreProvider<T> = FC<{
1584
1592
  value: T;
1585
- children: React_2.ReactNode;
1593
+ children: ReactNode;
1586
1594
  }>;
1587
1595
 
1588
1596
  /**
@@ -1602,7 +1610,7 @@ export declare interface ICorrelationProviderProps {
1602
1610
  /**
1603
1611
  * React children
1604
1612
  */
1605
- children?: React_2.ReactNode;
1613
+ children?: ReactNode;
1606
1614
  }
1607
1615
 
1608
1616
  /**
@@ -2164,7 +2172,7 @@ export declare interface IExecuteInsightProps extends IWithLoadingEvents<IExecut
2164
2172
  *
2165
2173
  * @param executionResult - execution result, indicating state and/or results
2166
2174
  */
2167
- children: (executionResult: WithLoadingResult) => React_2.ReactElement | null;
2175
+ children: (executionResult: WithLoadingResult) => ReactElement | null;
2168
2176
  /**
2169
2177
  * Provide component for rendering of the loading state.
2170
2178
  *
@@ -2292,7 +2300,7 @@ export declare interface IExecuteProps extends IWithLoadingEvents<IExecuteProps>
2292
2300
  *
2293
2301
  * @param executionResult - execution result, indicating state and/or results
2294
2302
  */
2295
- children: (executionResult: WithLoadingResult) => React_2.ReactElement | null;
2303
+ children: (executionResult: WithLoadingResult) => ReactElement | null;
2296
2304
  /**
2297
2305
  * Provide component for rendering of the loading state.
2298
2306
  *
@@ -2508,7 +2516,7 @@ export declare interface IHighchartsParentTick {
2508
2516
  */
2509
2517
  export declare interface IIntlWrapperProps {
2510
2518
  locale?: string;
2511
- children?: React_2.ReactNode;
2519
+ children?: ReactNode;
2512
2520
  }
2513
2521
 
2514
2522
  /**
@@ -2580,11 +2588,11 @@ export declare interface IKpiProps extends IWithLoadingEvents<IRawExecuteProps>
2580
2588
  /**
2581
2589
  * Specify react component to render while the data is loading.
2582
2590
  */
2583
- LoadingComponent?: React_2.ComponentType<ILoadingProps>;
2591
+ LoadingComponent?: ComponentType<ILoadingProps>;
2584
2592
  /**
2585
2593
  * Specify react component to render if execution fails.
2586
2594
  */
2587
- ErrorComponent?: React_2.ComponentType<IErrorProps>;
2595
+ ErrorComponent?: ComponentType<IErrorProps>;
2588
2596
  }
2589
2597
 
2590
2598
  /**
@@ -2682,7 +2690,7 @@ declare function Intl_2({ children, customLocale, customMessages, forTest, }: {
2682
2690
  customLocale?: ILocale;
2683
2691
  customMessages?: ITranslations;
2684
2692
  forTest?: boolean;
2685
- }): React_2.JSX.Element;
2693
+ }): JSX.Element;
2686
2694
  export { Intl_2 as Intl }
2687
2695
 
2688
2696
  /**
@@ -2695,7 +2703,7 @@ export declare const IntlTranslationsProvider: FC<WithIntlProps<ITranslationsPro
2695
2703
  /**
2696
2704
  * @internal
2697
2705
  */
2698
- export declare function IntlWrapper({ locale, children }: IIntlWrapperProps): React_2.JSX.Element;
2706
+ export declare function IntlWrapper({ locale, children }: IIntlWrapperProps): JSX.Element;
2699
2707
 
2700
2708
  /**
2701
2709
  * @internal
@@ -2718,7 +2726,7 @@ export declare interface IOrganizationProviderProps {
2718
2726
  /**
2719
2727
  * Children to render.
2720
2728
  */
2721
- children?: React_2.ReactNode;
2729
+ children?: ReactNode;
2722
2730
  }
2723
2731
 
2724
2732
  /**
@@ -2785,7 +2793,7 @@ export declare interface IPlaceholderOptions<T> {
2785
2793
  * @public
2786
2794
  */
2787
2795
  export declare interface IPlaceholdersProviderProps {
2788
- children: React_2.ReactNode;
2796
+ children: ReactNode;
2789
2797
  initialValues?: [IPlaceholder<any>, any][];
2790
2798
  }
2791
2799
 
@@ -2865,7 +2873,7 @@ export declare interface IRawExecuteProps extends IWithLoadingEvents<IRawExecute
2865
2873
  *
2866
2874
  * @param executionResult - execution result, indicating state and/or results
2867
2875
  */
2868
- children: (executionResult: WithLoadingResult) => React_2.ReactElement | null;
2876
+ children: (executionResult: WithLoadingResult) => ReactElement | null;
2869
2877
  /**
2870
2878
  * Provide component for rendering of the loading state.
2871
2879
  *
@@ -4473,7 +4481,7 @@ export declare interface ITranslationsCustomizationContextProviderProps {
4473
4481
  /**
4474
4482
  * React children
4475
4483
  */
4476
- children?: React_2.ReactNode;
4484
+ children?: ReactNode;
4477
4485
  }
4478
4486
 
4479
4487
  /**
@@ -4783,11 +4791,11 @@ export declare interface IVisualizationProps {
4783
4791
  * React component to display in the event when there is an error with either obtaining the data from
4784
4792
  * backend or with the data itself.
4785
4793
  */
4786
- ErrorComponent?: React_2.ComponentType<IErrorProps>;
4794
+ ErrorComponent?: ComponentType<IErrorProps>;
4787
4795
  /**
4788
4796
  * React component to display while loading data from the backend.
4789
4797
  */
4790
- LoadingComponent?: React_2.ComponentType<ILoadingProps>;
4798
+ LoadingComponent?: ComponentType<ILoadingProps>;
4791
4799
  }
4792
4800
 
4793
4801
  /**
@@ -4972,7 +4980,7 @@ export declare interface IWorkspaceProviderProps {
4972
4980
  /**
4973
4981
  * React children
4974
4982
  */
4975
- children?: React_2.ReactNode;
4983
+ children?: ReactNode;
4976
4984
  }
4977
4985
 
4978
4986
  /**
@@ -4987,7 +4995,7 @@ export declare interface IWorkspaceProviderProps {
4987
4995
  *
4988
4996
  * @public
4989
4997
  */
4990
- export declare const Kpi: React_2.ComponentType<IKpiProps>;
4998
+ export declare const Kpi: ComponentType<IKpiProps>;
4991
4999
 
4992
5000
  /**
4993
5001
  * Component that renders a default loading indicator.
@@ -4997,7 +5005,7 @@ export declare const Kpi: React_2.ComponentType<IKpiProps>;
4997
5005
  *
4998
5006
  * @public
4999
5007
  */
5000
- export declare function LoadingComponent({ className, color, speed, inline, height, width, imageHeight, imageWidth, }: ILoadingProps): React_2.JSX.Element;
5008
+ export declare function LoadingComponent({ className, color, speed, inline, height, width, imageHeight, imageWidth, }: ILoadingProps): JSX.Element;
5001
5009
 
5002
5010
  /**
5003
5011
  * Array of locales for type-guard. It must be the same as {@link ILocale}
@@ -5189,7 +5197,7 @@ export declare type OnLoadingChanged = (loadingState: ILoadingState) => void;
5189
5197
  *
5190
5198
  * @public
5191
5199
  */
5192
- export declare function OrganizationProvider({ organization, children }: IOrganizationProviderProps): React_2.JSX.Element;
5200
+ export declare function OrganizationProvider({ organization, children }: IOrganizationProviderProps): JSX.Element;
5193
5201
 
5194
5202
  /**
5195
5203
  * @internal
@@ -5339,7 +5347,7 @@ export declare type PushDataCallback = (data: IPushData) => void;
5339
5347
  *
5340
5348
  * @public
5341
5349
  */
5342
- export declare const RawExecute: React_2.ComponentType<IRawExecuteProps>;
5350
+ export declare const RawExecute: ComponentType<IRawExecuteProps>;
5343
5351
 
5344
5352
  /**
5345
5353
  * The function to remove all translation keys that contain special suffixes "._measure" or "._metric"
@@ -5360,7 +5368,7 @@ export declare const removeAllWordingTranslationsWithSpecialSuffix: (translation
5360
5368
  *
5361
5369
  * @alpha
5362
5370
  */
5363
- export declare function ResolvedClientWorkspaceProvider(props: IClientWorkspaceIdentifiers): React_2.JSX.Element;
5371
+ export declare function ResolvedClientWorkspaceProvider(props: IClientWorkspaceIdentifiers): JSX.Element;
5364
5372
 
5365
5373
  /**
5366
5374
  * Resolves LCM workspace identifiers. This function will use the data product and client information
@@ -5484,7 +5492,7 @@ export declare type TotalsOrPlaceholders = ValuesOrPlaceholders<ITotal>;
5484
5492
  /**
5485
5493
  * @beta
5486
5494
  */
5487
- export declare function TranslationsCustomizationContextProvider({ children, translationsCustomizationIsLoading, translations, }: ITranslationsCustomizationContextProviderProps): React_2.JSX.Element;
5495
+ export declare function TranslationsCustomizationContextProvider({ children, translationsCustomizationIsLoading, translations, }: ITranslationsCustomizationContextProviderProps): JSX.Element;
5488
5496
 
5489
5497
  /**
5490
5498
  * This provider is here because of the need for customization of translations.
@@ -5498,7 +5506,7 @@ export declare function TranslationsCustomizationContextProvider({ children, tra
5498
5506
  *
5499
5507
  * @beta
5500
5508
  */
5501
- export declare function TranslationsCustomizationProvider({ render, customize, translations: translationsParam, backend: backendParam, workspace: workspaceParam, }: ITranslationsCustomizationProviderProps): React_2.JSX.Element;
5509
+ export declare function TranslationsCustomizationProvider({ render, customize, translations: translationsParam, backend: backendParam, workspace: workspaceParam, }: ITranslationsCustomizationProviderProps): JSX.Element;
5502
5510
 
5503
5511
  /**
5504
5512
  * @internal
@@ -5550,7 +5558,7 @@ export declare function uriMatch(uri: string): IHeaderPredicate;
5550
5558
  *
5551
5559
  * @internal
5552
5560
  */
5553
- export declare const useAutoupdateRef: <T>(value: T) => React_2.MutableRefObject<T>;
5561
+ export declare const useAutoupdateRef: <T>(value: T) => RefObject<T>;
5554
5562
 
5555
5563
  /**
5556
5564
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
@@ -5755,7 +5763,7 @@ export declare const useClientWorkspaceStatus: () => UseCancelablePromiseStatus;
5755
5763
  /**
5756
5764
  * @internal
5757
5765
  */
5758
- export declare const useCombineRefs: <T>(...refs: Array<React_2.MutableRefObject<T> | ((instance: T) => void) | undefined | null | false>) => (instance: T) => void;
5766
+ export declare const useCombineRefs: <T>(...refs: Array<MutableRefObject<T> | ((instance: T) => void) | undefined | null | false>) => (instance: T) => void;
5759
5767
 
5760
5768
  /**
5761
5769
  * React hook to obtain composed placeholder value.
@@ -5845,7 +5853,7 @@ T,
5845
5853
  *
5846
5854
  * @public
5847
5855
  */
5848
- export declare function useExecutionDataView(config: IUseExecutionDataViewConfig & UseExecutionDataViewCallbacks, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
5856
+ export declare function useExecutionDataView(config: IUseExecutionDataViewConfig & UseExecutionDataViewCallbacks, deps?: DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
5849
5857
 
5850
5858
  /**
5851
5859
  * Callbacks for {@link useExecutionDataView} hook.
@@ -5859,7 +5867,7 @@ export declare type UseExecutionDataViewCallbacks = UseCancelablePromiseCallback
5859
5867
  *
5860
5868
  * @public
5861
5869
  */
5862
- export declare function useInsightDataView(config: IUseInsightDataViewConfig & UseInsightDataViewCallbacks, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
5870
+ export declare function useInsightDataView(config: IUseInsightDataViewConfig & UseInsightDataViewCallbacks, deps?: DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
5863
5871
 
5864
5872
  /**
5865
5873
  * Callbacks for {@link useInsightDataView} hook.
@@ -5900,7 +5908,7 @@ export declare const useOrganization: () => string | undefined;
5900
5908
  * Hook for getting data from paged resource
5901
5909
  * @public
5902
5910
  */
5903
- export declare function usePagedResource<TParams, TItem>(resourceFactory: (params: TParams) => Promise<IPagedResource<TItem>>, fetchParams: TParams[], fetchDeps: React.DependencyList, resetDeps: React.DependencyList, getCacheKey?: (params: TParams) => string, initialState?: IUsePagedResourceState<TItem>, preventResetPromises?: boolean): IUsePagedResourceResult<TItem>;
5911
+ export declare function usePagedResource<TParams, TItem>(resourceFactory: (params: TParams) => Promise<IPagedResource<TItem>>, fetchParams: TParams[], fetchDeps: DependencyList, resetDeps: DependencyList, getCacheKey?: (params: TParams) => string, initialState?: IUsePagedResourceState<TItem>, preventResetPromises?: boolean): IUsePagedResourceResult<TItem>;
5904
5912
 
5905
5913
  /**
5906
5914
  * React hook to obtain/set placeholder value.
@@ -5940,7 +5948,7 @@ export declare const usePrevious: <T>(value: T) => T;
5940
5948
  *
5941
5949
  * @internal
5942
5950
  */
5943
- export declare const usePropState: <T>(prop: T) => readonly [T, React_2.Dispatch<React_2.SetStateAction<T>>];
5951
+ export declare const usePropState: <T>(prop: T) => readonly [T, Dispatch<SetStateAction<T>>];
5944
5952
 
5945
5953
  /**
5946
5954
  * React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
@@ -6110,7 +6118,7 @@ export declare const VisualizationTypes: {
6110
6118
  */
6111
6119
  export declare function withBackend<T extends {
6112
6120
  backend?: IAnalyticalBackend;
6113
- }>(Component: React_2.ComponentType<T>): React_2.ComponentType<T>;
6121
+ }>(Component: ComponentType<T>): ComponentType<T>;
6114
6122
 
6115
6123
  /**
6116
6124
  * Injects backend and workspace provided by BackendProvider & WorkspaceProvider to a component
@@ -6119,7 +6127,7 @@ export declare function withBackend<T extends {
6119
6127
  export declare function withContexts<T extends {
6120
6128
  backend?: IAnalyticalBackend;
6121
6129
  workspace?: string;
6122
- }>(Chart: React.ComponentType<T>): React.ComponentType<T>;
6130
+ }>(Chart: ComponentType<T>): ComponentType<T>;
6123
6131
 
6124
6132
  /**
6125
6133
  * A HOC to wrap data visualization components with loading / error handling.
@@ -6131,7 +6139,7 @@ export declare function withContexts<T extends {
6131
6139
  * @param InnerComponent - component to wrap
6132
6140
  * @internal
6133
6141
  */
6134
- export declare function withEntireDataView<T extends IDataVisualizationProps>(InnerComponent: React_2.ComponentType<T & ILoadingInjectedProps>): React_2.ComponentType<T>;
6142
+ export declare function withEntireDataView<T extends IDataVisualizationProps>(InnerComponent: ComponentType<T & ILoadingInjectedProps>): ComponentType<T>;
6135
6143
 
6136
6144
  /**
6137
6145
  * A React HOC that for driving an execution to get data view that can be visualized.
@@ -6140,7 +6148,7 @@ export declare function withEntireDataView<T extends IDataVisualizationProps>(In
6140
6148
  *
6141
6149
  * @internal
6142
6150
  */
6143
- export declare function withExecution<T>(params: IWithExecution<T>): (WrappedComponent: React.ComponentType<T & WithLoadingResult>) => React.ComponentType<T>;
6151
+ export declare function withExecution<T>(params: IWithExecution<T>): (WrappedComponent: ComponentType<T & WithLoadingResult>) => ComponentType<T>;
6144
6152
 
6145
6153
  /**
6146
6154
  * A React HOC responsible for orchestrating resolution of a data promise (e.g. data to load).
@@ -6150,17 +6158,17 @@ export declare function withExecution<T>(params: IWithExecution<T>): (WrappedCom
6150
6158
  *
6151
6159
  * @internal
6152
6160
  */
6153
- export declare function withExecutionLoading<TProps>(params: IWithExecutionLoading<TProps>): (WrappedComponent: React_2.ComponentType<TProps & WithLoadingResult>) => React_2.ComponentType<TProps>;
6161
+ export declare function withExecutionLoading<TProps>(params: IWithExecutionLoading<TProps>): (WrappedComponent: ComponentType<TProps & WithLoadingResult>) => ComponentType<TProps>;
6154
6162
 
6155
6163
  /**
6156
6164
  * @internal
6157
6165
  */
6158
- export declare function withIntl<P>(WrappedComponent: React_2.FC<P> | React_2.ComponentClass<P>, customLocale?: ILocale, customMessages?: ITranslations): React_2.ComponentType<P>;
6166
+ export declare function withIntl<P>(WrappedComponent: FC<P> | ComponentClass<P>, customLocale?: ILocale, customMessages?: ITranslations): ComponentType<P>;
6159
6167
 
6160
6168
  /**
6161
6169
  * @internal
6162
6170
  */
6163
- export declare function withIntlForTest<P>(WrappedComponent: React_2.FC<P> | React_2.ComponentClass<P>, customLocale?: ILocale, customMessages?: ITranslations): React_2.ComponentType<P>;
6171
+ export declare function withIntlForTest<P>(WrappedComponent: FC<P> | ComponentClass<P>, customLocale?: ILocale, customMessages?: ITranslations): ComponentType<P>;
6164
6172
 
6165
6173
  /**
6166
6174
  * @public
@@ -6189,7 +6197,7 @@ export declare type WithLoadingResult = {
6189
6197
  /**
6190
6198
  * @beta
6191
6199
  */
6192
- export declare function withTranslationsCustomization<T>(Component: React_2.ComponentType<T>): React_2.ComponentType<Omit<T, "translationsCustomizationIsLoading" | "translations">>;
6200
+ export declare function withTranslationsCustomization<T>(Component: ComponentType<T>): ComponentType<Omit<T, "translationsCustomizationIsLoading" | "translations">>;
6193
6201
 
6194
6202
  /**
6195
6203
  * Wraps component into a WorkspaceContext consumer - injecting an instance of workspace from context into the
@@ -6199,20 +6207,20 @@ export declare function withTranslationsCustomization<T>(Component: React_2.Comp
6199
6207
  */
6200
6208
  export declare function withWorkspace<T extends {
6201
6209
  workspace?: string;
6202
- }>(Component: React_2.ComponentType<T>): React_2.ComponentType<T>;
6210
+ }>(Component: ComponentType<T>): ComponentType<T>;
6203
6211
 
6204
6212
  /**
6205
6213
  * WorkspaceProvider can be used to inject analytical workspace instance to all ui-sdk components in your app.
6206
6214
  *
6207
6215
  * @public
6208
6216
  */
6209
- export declare function WorkspaceProvider({ children, workspace }: IWorkspaceProviderProps): React_2.JSX.Element;
6217
+ export declare function WorkspaceProvider({ children, workspace }: IWorkspaceProviderProps): JSX.Element;
6210
6218
 
6211
6219
  /**
6212
6220
  * Wrap displayName of React component
6213
6221
  * @internal
6214
6222
  */
6215
- export declare const wrapDisplayName: (hocName: string, BaseComponent?: React.ComponentType<any>) => (<T>(Component: React.ComponentType<T>) => React.ComponentType<T>);
6223
+ export declare const wrapDisplayName: (hocName: string, BaseComponent?: ComponentType<any>) => (<T>(Component: ComponentType<T>) => ComponentType<T>);
6216
6224
 
6217
6225
  /**
6218
6226
  * @public