@gooddata/sdk-ui 8.10.0-alpha.45 → 8.10.0-alpha.48

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 (40) hide show
  1. package/dist/base/react/BackendContext.d.ts +3 -3
  2. package/dist/base/react/BackendContext.js +3 -3
  3. package/dist/base/react/WorkspaceContext.d.ts +3 -3
  4. package/dist/base/react/WorkspaceContext.js +3 -3
  5. package/dist/base/react/placeholders/base.d.ts +1 -1
  6. package/dist/base/react/placeholders/hooks.d.ts +5 -3
  7. package/dist/base/react/placeholders/hooks.d.ts.map +1 -1
  8. package/dist/base/react/placeholders/hooks.js +5 -3
  9. package/dist/base/react/placeholders/hooks.js.map +1 -1
  10. package/dist/base/react/useCancelablePromiseUtils.d.ts +1 -1
  11. package/dist/base/react/useCancelablePromiseUtils.js +1 -1
  12. package/dist/base/results/dataAccess.d.ts +2 -2
  13. package/dist/base/vis/export.d.ts +1 -1
  14. package/dist/base/vis/export.js +2 -2
  15. package/dist/execution/Execute.d.ts +2 -2
  16. package/dist/execution/Execute.js +1 -1
  17. package/dist/execution/createExecution.d.ts +1 -1
  18. package/dist/execution/useExecution.d.ts +1 -1
  19. package/dist/execution/useExecutionDataView.d.ts +1 -1
  20. package/dist/sdk-ui.d.ts +20 -18
  21. package/esm/base/react/BackendContext.d.ts +3 -3
  22. package/esm/base/react/BackendContext.js +3 -3
  23. package/esm/base/react/WorkspaceContext.d.ts +3 -3
  24. package/esm/base/react/WorkspaceContext.js +3 -3
  25. package/esm/base/react/placeholders/base.d.ts +1 -1
  26. package/esm/base/react/placeholders/hooks.d.ts +5 -3
  27. package/esm/base/react/placeholders/hooks.d.ts.map +1 -1
  28. package/esm/base/react/placeholders/hooks.js +5 -3
  29. package/esm/base/react/placeholders/hooks.js.map +1 -1
  30. package/esm/base/react/useCancelablePromiseUtils.d.ts +1 -1
  31. package/esm/base/react/useCancelablePromiseUtils.js +1 -1
  32. package/esm/base/results/dataAccess.d.ts +2 -2
  33. package/esm/base/vis/export.d.ts +1 -1
  34. package/esm/base/vis/export.js +2 -2
  35. package/esm/execution/Execute.d.ts +2 -2
  36. package/esm/execution/Execute.js +1 -1
  37. package/esm/execution/createExecution.d.ts +1 -1
  38. package/esm/execution/useExecution.d.ts +1 -1
  39. package/esm/execution/useExecutionDataView.d.ts +1 -1
  40. package/package.json +7 -7
@@ -20,7 +20,7 @@ export declare const BackendProvider: React.FC<IBackendProviderProps>;
20
20
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
21
21
  *
22
22
  * @remarks
23
- * You can optionally set a backend override that will be returned if defined.
23
+ * You can set a backend override that will be returned if defined.
24
24
  * This makes the usage more ergonomic (see the following example).
25
25
  *
26
26
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useBackendStrict} hook.
@@ -42,7 +42,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
42
42
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
43
43
  *
44
44
  * @remarks
45
- * You can optionally set a backend override that will be returned if defined.
45
+ * You can set a backend override that will be returned if defined.
46
46
  * This makes the usage more ergonomic (see the following example).
47
47
  *
48
48
  * Note: If you do not provide an {@link @gooddata/sdk-backend-spi#IAnalyticalBackend} instance to {@link BackendProvider} or as a parameter for this hook,
@@ -58,7 +58,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
58
58
  *```
59
59
  *
60
60
  * @param backend - backend to use instead of context value. If undefined, the context value is used.
61
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
61
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
62
62
  * @public
63
63
  */
64
64
  export declare const useBackendStrict: (backend?: IAnalyticalBackend | undefined, context?: string) => IAnalyticalBackend;
@@ -21,7 +21,7 @@ exports.BackendProvider = function (_a) {
21
21
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
22
22
  *
23
23
  * @remarks
24
- * You can optionally set a backend override that will be returned if defined.
24
+ * You can set a backend override that will be returned if defined.
25
25
  * This makes the usage more ergonomic (see the following example).
26
26
  *
27
27
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useBackendStrict} hook.
@@ -46,7 +46,7 @@ exports.useBackend = function (backend) {
46
46
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
47
47
  *
48
48
  * @remarks
49
- * You can optionally set a backend override that will be returned if defined.
49
+ * You can set a backend override that will be returned if defined.
50
50
  * This makes the usage more ergonomic (see the following example).
51
51
  *
52
52
  * Note: If you do not provide an {@link @gooddata/sdk-backend-spi#IAnalyticalBackend} instance to {@link BackendProvider} or as a parameter for this hook,
@@ -62,7 +62,7 @@ exports.useBackend = function (backend) {
62
62
  *```
63
63
  *
64
64
  * @param backend - backend to use instead of context value. If undefined, the context value is used.
65
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
65
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
66
66
  * @public
67
67
  */
68
68
  exports.useBackendStrict = function (backend, context) {
@@ -19,7 +19,7 @@ export declare const WorkspaceProvider: React.FC<IWorkspaceProviderProps>;
19
19
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
20
20
  *
21
21
  * @remarks
22
- * You can optionally set a workspace override that will be returned if defined.
22
+ * You can set a workspace override that will be returned if defined.
23
23
  * This makes the usage more ergonomic (see the following example).
24
24
  *
25
25
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useWorkspaceStrict} hook.
@@ -41,7 +41,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
41
41
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
42
42
  *
43
43
  * @remarks
44
- * You can optionally set a workspace override that will be returned if defined.
44
+ * You can set a workspace override that will be returned if defined.
45
45
  * This makes the usage more ergonomic (see the following example).
46
46
  *
47
47
  * Note: Note: If you do not provide a workspace identifier to {@link WorkspaceProvider} or as a parameter for this hook,
@@ -57,7 +57,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
57
57
  * ```
58
58
  *
59
59
  * @param workspace - workspace to use instead of context value. If undefined, the context value is used.
60
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
60
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
61
61
  * @public
62
62
  */
63
63
  export declare const useWorkspaceStrict: (workspace?: string | undefined, context?: string) => string;
@@ -21,7 +21,7 @@ exports.WorkspaceProvider = function (_a) {
21
21
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
22
22
  *
23
23
  * @remarks
24
- * You can optionally set a workspace override that will be returned if defined.
24
+ * You can set a workspace override that will be returned if defined.
25
25
  * This makes the usage more ergonomic (see the following example).
26
26
  *
27
27
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useWorkspaceStrict} hook.
@@ -46,7 +46,7 @@ exports.useWorkspace = function (workspace) {
46
46
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
47
47
  *
48
48
  * @remarks
49
- * You can optionally set a workspace override that will be returned if defined.
49
+ * You can set a workspace override that will be returned if defined.
50
50
  * This makes the usage more ergonomic (see the following example).
51
51
  *
52
52
  * Note: Note: If you do not provide a workspace identifier to {@link WorkspaceProvider} or as a parameter for this hook,
@@ -62,7 +62,7 @@ exports.useWorkspace = function (workspace) {
62
62
  * ```
63
63
  *
64
64
  * @param workspace - workspace to use instead of context value. If undefined, the context value is used.
65
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
65
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
66
66
  * @public
67
67
  */
68
68
  exports.useWorkspaceStrict = function (workspace, context) {
@@ -61,7 +61,7 @@ export declare function isPlaceholder<T>(obj: unknown): obj is IPlaceholder<T>;
61
61
  * You can perform computation on top of resolved placeholder values.
62
62
  * Composed placeholders accepts also other composed placeholders as an input.
63
63
  *
64
- * You can optionally provide custom resolution context to the composed placeholders,
64
+ * You can provide custom resolution context to the composed placeholders,
65
65
  * and use it in your computation, but be aware that this context is shared across all composed placeholders in the call tree
66
66
  * (e.g. when you are calling composed placeholder composed from other composed placeholders,
67
67
  * each composed placeholder will be called with the same resolution context).
@@ -25,7 +25,9 @@ export declare function usePlaceholder<T extends IPlaceholder<any>>(placeholder?
25
25
  export declare function usePlaceholders<T extends IPlaceholder<any>[]>(placeholders: [...T]): [PlaceholdersValues<T>, (valueOrUpdateCallback: ValueOrUpdateCallback<PlaceholdersValues<T>>) => void];
26
26
  /**
27
27
  * React hook to obtain composed placeholder value.
28
- * Optionally provide custom context for the composed placeholders resolution.
28
+ *
29
+ * @remarks
30
+ * You can provide custom context for the composed placeholders resolution.
29
31
  * See {@link IComposedPlaceholder}.
30
32
  *
31
33
  * @public
@@ -35,7 +37,7 @@ export declare function useComposedPlaceholder<TContext, TPlaceholder extends IC
35
37
  * React hook that resolves any value(s) that can possibly contain also placeholder(s) to actual value(s).
36
38
  *
37
39
  * @remarks
38
- * Optionally provide custom context for the composed placeholders resolution.
40
+ * You can provide custom context for the composed placeholders resolution.
39
41
  *
40
42
  * @public
41
43
  */
@@ -44,7 +46,7 @@ export declare function useResolveValueWithPlaceholders<T, C>(value: T, resoluti
44
46
  * React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
45
47
  *
46
48
  * @remarks
47
- * Optionally provide custom context for the composed placeholders resolution.
49
+ * You can provide custom context for the composed placeholders resolution.
48
50
  *
49
51
  * @public
50
52
  */
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/base/react/placeholders/hooks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EACH,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAE7B,MAAM,QAAQ,CAAC;AAUhB;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,YAAY,CAAC,GAAG,CAAC,EACtD,WAAW,CAAC,EAAE,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AE,EAAE,CAAC,EAC/D,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EACd,iBAAiB,CAAC,EAAE,CAAC,GACtB,0BAA0B,CAAC,CAAC,CAAC,CAM/B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAI/C;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAuBxE"}
@@ -69,7 +69,9 @@ function usePlaceholders(placeholders) {
69
69
  exports.usePlaceholders = usePlaceholders;
70
70
  /**
71
71
  * React hook to obtain composed placeholder value.
72
- * Optionally provide custom context for the composed placeholders resolution.
72
+ *
73
+ * @remarks
74
+ * You can provide custom context for the composed placeholders resolution.
73
75
  * See {@link IComposedPlaceholder}.
74
76
  *
75
77
  * @public
@@ -84,7 +86,7 @@ exports.useComposedPlaceholder = useComposedPlaceholder;
84
86
  * React hook that resolves any value(s) that can possibly contain also placeholder(s) to actual value(s).
85
87
  *
86
88
  * @remarks
87
- * Optionally provide custom context for the composed placeholders resolution.
89
+ * You can provide custom context for the composed placeholders resolution.
88
90
  *
89
91
  * @public
90
92
  */
@@ -98,7 +100,7 @@ exports.useResolveValueWithPlaceholders = useResolveValueWithPlaceholders;
98
100
  * React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
99
101
  *
100
102
  * @remarks
101
- * Optionally provide custom context for the composed placeholders resolution.
103
+ * You can provide custom context for the composed placeholders resolution.
102
104
  *
103
105
  * @public
104
106
  */
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/base/react/placeholders/hooks.ts"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,+BAAqD;AACrD,wFAAoD;AAEpD,+BAQgB;AAChB,qCAAsE;AACtE,sEAAqC;AACrC,qCAKmB;AAEnB;;;;;;;;;GASG;AACH,S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AAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;gBACvC,OAAO,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC;aACxC;YAED,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG;gBACtB,IAAI,MAAA;gBACJ,KAAK,EAAE,GAAG;aACb,CAAC;YAEF,OAAO,GAAG,CAAC;QACf,CAAC,CAAM,CAAC;IACZ,CAAC,EAAE,CAAC,+BAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAClC,CAAC;AAvBD,gEAuBC"}
@@ -18,7 +18,7 @@ import { UseCancelablePromiseState, UseCancelablePromiseStatus } from "./useCanc
18
18
  * - ["success", "success"] will be resolved to "success"
19
19
  *
20
20
  * @param states - cancelable promise states (useCancelablePromise return values)
21
- * @param options - optionally specify options for resolving the status
21
+ * @param options - specify options for resolving the status
22
22
  * @returns resolved status
23
23
  * @public
24
24
  */
@@ -24,7 +24,7 @@ var GoodDataSdkError_1 = require("../errors/GoodDataSdkError");
24
24
  * - ["success", "success"] will be resolved to "success"
25
25
  *
26
26
  * @param states - cancelable promise states (useCancelablePromise return values)
27
- * @param options - optionally specify options for resolving the status
27
+ * @param options - specify options for resolving the status
28
28
  * @returns resolved status
29
29
  * @public
30
30
  */
@@ -119,7 +119,7 @@ export declare type DataSeriesDescriptor = DataSeriesHeaders & DataSeriesDescrip
119
119
  readonly attributeDefinitions?: IAttribute[];
120
120
  };
121
121
  /**
122
- * Data series is a sequence of data points that are all computed from a single measure, optionally scoped for
122
+ * Data series is a sequence of data points that are all computed from a single measure, scoped for
123
123
  * particular attribute elements.
124
124
  *
125
125
  * @remarks
@@ -158,7 +158,7 @@ export interface IDataSeries extends DataSeriesDescriptorMethods, Iterable<DataP
158
158
  * @remarks
159
159
  * The collection additionally includes basic information about the
160
160
  * origin of the data series that can be iterated - their number, measures they were calculated from and
161
- * optionally the scoping attributes.
161
+ * the scoping attributes.
162
162
  *
163
163
  * @public
164
164
  */
@@ -6,7 +6,7 @@ import { GoodDataSdkError } from "../errors/GoodDataSdkError";
6
6
  * components via the onExportReady callback.
7
7
  *
8
8
  * @param result - data view that will be exported
9
- * @param exportTitle - optionally specify title
9
+ * @param exportTitle - specify title
10
10
  * @internal
11
11
  */
12
12
  export declare function createExportFunction(result: IExecutionResult, exportTitle?: string): IExportFunction;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // (C) 2007-2020 GoodData Corporation
2
+ // (C) 2007-2022 GoodData Corporation
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.createExportErrorFunction = exports.createExportFunction = void 0;
5
5
  var escapeFileName = function (str) { return str && str.replace(/[/?<>\\:*|":]/g, ""); };
@@ -8,7 +8,7 @@ var escapeFileName = function (str) { return str && str.replace(/[/?<>\\:*|":]/g
8
8
  * components via the onExportReady callback.
9
9
  *
10
10
  * @param result - data view that will be exported
11
- * @param exportTitle - optionally specify title
11
+ * @param exportTitle - specify title
12
12
  * @internal
13
13
  */
14
14
  function createExportFunction(result, exportTitle) {
@@ -25,7 +25,7 @@ export interface IExecuteProps extends IWithLoadingEvents<IExecuteProps> {
25
25
  */
26
26
  workspace?: string;
27
27
  /**
28
- * Data series will be built using the provided measures that are optionally further scoped for
28
+ * Data series will be built using the provided measures that are further scoped for
29
29
  * elements of the specified attributes.
30
30
  */
31
31
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -120,7 +120,7 @@ export interface IExecuteProps extends IWithLoadingEvents<IExecuteProps> {
120
120
  *
121
121
  * @remarks
122
122
  * It is aligned with the `DataAccess` infrastructure which exposes the underlying data as data series that can be
123
- * optionally sliced by additional attributes.
123
+ * sliced by additional attributes.
124
124
  *
125
125
  * Once the executor finishes, the {@link DataViewFacade.data} method will expose the data as series and
126
126
  * slices according to the specification to the executor.
@@ -77,7 +77,7 @@ var WrappedExecute = base_1.withContexts(withExecution_1.withExecution({
77
77
  *
78
78
  * @remarks
79
79
  * It is aligned with the `DataAccess` infrastructure which exposes the underlying data as data series that can be
80
- * optionally sliced by additional attributes.
80
+ * sliced by additional attributes.
81
81
  *
82
82
  * Once the executor finishes, the {@link DataViewFacade.data} method will expose the data as series and
83
83
  * slices according to the specification to the executor.
@@ -19,7 +19,7 @@ export declare type CreateExecutionOptions = {
19
19
  */
20
20
  workspace?: string;
21
21
  /**
22
- * Data series will be built using the provided measures that are optionally further scoped for
22
+ * Data series will be built using the provided measures that are further scoped for
23
23
  * elements of the specified attributes.
24
24
  */
25
25
  seriesBy: IAttributeOrMeasure[];
@@ -6,7 +6,7 @@ import { AttributesMeasuresOrPlaceholders, AttributesOrPlaceholders, TotalsOrPla
6
6
  */
7
7
  export interface IUseExecutionConfig {
8
8
  /**
9
- * Data series will be built using the provided measures that are optionally further scoped for
9
+ * Data series will be built using the provided measures that are further scoped for
10
10
  * elements of the specified attributes.
11
11
  */
12
12
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -7,7 +7,7 @@ import { DataViewFacade, GoodDataSdkError, UseCancelablePromiseState, Attributes
7
7
  */
8
8
  export interface IExecutionConfiguration {
9
9
  /**
10
- * Data series will be built using the provided measures that are optionally further scoped for
10
+ * Data series will be built using the provided measures that are further scoped for
11
11
  * elements of the specified attributes.
12
12
  */
13
13
  seriesBy: AttributesMeasuresOrPlaceholders;
package/dist/sdk-ui.d.ts CHANGED
@@ -389,7 +389,7 @@ export declare function createExportErrorFunction(error: GoodDataSdkError): IExp
389
389
  * components via the onExportReady callback.
390
390
  *
391
391
  * @param result - data view that will be exported
392
- * @param exportTitle - optionally specify title
392
+ * @param exportTitle - specify title
393
393
  * @internal
394
394
  */
395
395
  export declare function createExportFunction(result: IExecutionResult, exportTitle?: string): IExportFunction;
@@ -834,7 +834,7 @@ export declare class ErrorComponent extends React_2.Component<IErrorProps> {
834
834
  *
835
835
  * @remarks
836
836
  * It is aligned with the `DataAccess` infrastructure which exposes the underlying data as data series that can be
837
- * optionally sliced by additional attributes.
837
+ * sliced by additional attributes.
838
838
  *
839
839
  * Once the executor finishes, the {@link DataViewFacade.data} method will expose the data as series and
840
840
  * slices according to the specification to the executor.
@@ -1271,7 +1271,7 @@ export declare interface IColorsData {
1271
1271
  * You can perform computation on top of resolved placeholder values.
1272
1272
  * Composed placeholders accepts also other composed placeholders as an input.
1273
1273
  *
1274
- * You can optionally provide custom resolution context to the composed placeholders,
1274
+ * You can provide custom resolution context to the composed placeholders,
1275
1275
  * and use it in your computation, but be aware that this context is shared across all composed placeholders in the call tree
1276
1276
  * (e.g. when you are calling composed placeholder composed from other composed placeholders,
1277
1277
  * each composed placeholder will be called with the same resolution context).
@@ -1306,7 +1306,7 @@ export declare interface IDataAccessMethods {
1306
1306
  }
1307
1307
 
1308
1308
  /**
1309
- * Data series is a sequence of data points that are all computed from a single measure, optionally scoped for
1309
+ * Data series is a sequence of data points that are all computed from a single measure, scoped for
1310
1310
  * particular attribute elements.
1311
1311
  *
1312
1312
  * @remarks
@@ -1346,7 +1346,7 @@ export declare interface IDataSeries extends DataSeriesDescriptorMethods, Iterab
1346
1346
  * @remarks
1347
1347
  * The collection additionally includes basic information about the
1348
1348
  * origin of the data series that can be iterated - their number, measures they were calculated from and
1349
- * optionally the scoping attributes.
1349
+ * the scoping attributes.
1350
1350
  *
1351
1351
  * @public
1352
1352
  */
@@ -1875,7 +1875,7 @@ export declare interface IExecuteProps extends IWithLoadingEvents<IExecuteProps>
1875
1875
  */
1876
1876
  workspace?: string;
1877
1877
  /**
1878
- * Data series will be built using the provided measures that are optionally further scoped for
1878
+ * Data series will be built using the provided measures that are further scoped for
1879
1879
  * elements of the specified attributes.
1880
1880
  */
1881
1881
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -1971,7 +1971,7 @@ export declare interface IExecuteProps extends IWithLoadingEvents<IExecuteProps>
1971
1971
  */
1972
1972
  export declare interface IExecutionConfiguration {
1973
1973
  /**
1974
- * Data series will be built using the provided measures that are optionally further scoped for
1974
+ * Data series will be built using the provided measures that are further scoped for
1975
1975
  * elements of the specified attributes.
1976
1976
  */
1977
1977
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -2852,7 +2852,7 @@ export declare type IUseComposedPlaceholderHook<T extends IComposedPlaceholder<a
2852
2852
  */
2853
2853
  export declare interface IUseExecutionConfig {
2854
2854
  /**
2855
- * Data series will be built using the provided measures that are optionally further scoped for
2855
+ * Data series will be built using the provided measures that are further scoped for
2856
2856
  * elements of the specified attributes.
2857
2857
  */
2858
2858
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -3676,7 +3676,7 @@ export declare function resolveUseCancelablePromisesError<TError>(states: UseCan
3676
3676
  * - ["success", "success"] will be resolved to "success"
3677
3677
  *
3678
3678
  * @param states - cancelable promise states (useCancelablePromise return values)
3679
- * @param options - optionally specify options for resolving the status
3679
+ * @param options - specify options for resolving the status
3680
3680
  * @returns resolved status
3681
3681
  * @public
3682
3682
  */
@@ -3789,7 +3789,7 @@ export declare function uriMatch(uri: string): IHeaderPredicate;
3789
3789
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
3790
3790
  *
3791
3791
  * @remarks
3792
- * You can optionally set a backend override that will be returned if defined.
3792
+ * You can set a backend override that will be returned if defined.
3793
3793
  * This makes the usage more ergonomic (see the following example).
3794
3794
  *
3795
3795
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useBackendStrict} hook.
@@ -3812,7 +3812,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
3812
3812
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
3813
3813
  *
3814
3814
  * @remarks
3815
- * You can optionally set a backend override that will be returned if defined.
3815
+ * You can set a backend override that will be returned if defined.
3816
3816
  * This makes the usage more ergonomic (see the following example).
3817
3817
  *
3818
3818
  * Note: If you do not provide an {@link @gooddata/sdk-backend-spi#IAnalyticalBackend} instance to {@link BackendProvider} or as a parameter for this hook,
@@ -3828,7 +3828,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
3828
3828
  *```
3829
3829
  *
3830
3830
  * @param backend - backend to use instead of context value. If undefined, the context value is used.
3831
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
3831
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
3832
3832
  * @public
3833
3833
  */
3834
3834
  export declare const useBackendStrict: (backend?: IAnalyticalBackend | undefined, context?: string) => IAnalyticalBackend;
@@ -3959,7 +3959,9 @@ export declare const useClientWorkspaceStatus: () => UseCancelablePromiseStatus;
3959
3959
 
3960
3960
  /**
3961
3961
  * React hook to obtain composed placeholder value.
3962
- * Optionally provide custom context for the composed placeholders resolution.
3962
+ *
3963
+ * @remarks
3964
+ * You can provide custom context for the composed placeholders resolution.
3963
3965
  * See {@link IComposedPlaceholder}.
3964
3966
  *
3965
3967
  * @public
@@ -4089,7 +4091,7 @@ export declare const usePrevious: <T>(props: T) => T;
4089
4091
  * React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
4090
4092
  *
4091
4093
  * @remarks
4092
- * Optionally provide custom context for the composed placeholders resolution.
4094
+ * You can provide custom context for the composed placeholders resolution.
4093
4095
  *
4094
4096
  * @public
4095
4097
  */
@@ -4099,7 +4101,7 @@ export declare function useResolveValuesWithPlaceholders<T extends any[], C>(val
4099
4101
  * React hook that resolves any value(s) that can possibly contain also placeholder(s) to actual value(s).
4100
4102
  *
4101
4103
  * @remarks
4102
- * Optionally provide custom context for the composed placeholders resolution.
4104
+ * You can provide custom context for the composed placeholders resolution.
4103
4105
  *
4104
4106
  * @public
4105
4107
  */
@@ -4109,7 +4111,7 @@ export declare function useResolveValueWithPlaceholders<T, C>(value: T, resoluti
4109
4111
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
4110
4112
  *
4111
4113
  * @remarks
4112
- * You can optionally set a workspace override that will be returned if defined.
4114
+ * You can set a workspace override that will be returned if defined.
4113
4115
  * This makes the usage more ergonomic (see the following example).
4114
4116
  *
4115
4117
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useWorkspaceStrict} hook.
@@ -4132,7 +4134,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
4132
4134
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
4133
4135
  *
4134
4136
  * @remarks
4135
- * You can optionally set a workspace override that will be returned if defined.
4137
+ * You can set a workspace override that will be returned if defined.
4136
4138
  * This makes the usage more ergonomic (see the following example).
4137
4139
  *
4138
4140
  * Note: Note: If you do not provide a workspace identifier to {@link WorkspaceProvider} or as a parameter for this hook,
@@ -4148,7 +4150,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
4148
4150
  * ```
4149
4151
  *
4150
4152
  * @param workspace - workspace to use instead of context value. If undefined, the context value is used.
4151
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
4153
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
4152
4154
  * @public
4153
4155
  */
4154
4156
  export declare const useWorkspaceStrict: (workspace?: string | undefined, context?: string) => string;
@@ -20,7 +20,7 @@ export declare const BackendProvider: React.FC<IBackendProviderProps>;
20
20
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
21
21
  *
22
22
  * @remarks
23
- * You can optionally set a backend override that will be returned if defined.
23
+ * You can set a backend override that will be returned if defined.
24
24
  * This makes the usage more ergonomic (see the following example).
25
25
  *
26
26
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useBackendStrict} hook.
@@ -42,7 +42,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
42
42
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
43
43
  *
44
44
  * @remarks
45
- * You can optionally set a backend override that will be returned if defined.
45
+ * You can set a backend override that will be returned if defined.
46
46
  * This makes the usage more ergonomic (see the following example).
47
47
  *
48
48
  * Note: If you do not provide an {@link @gooddata/sdk-backend-spi#IAnalyticalBackend} instance to {@link BackendProvider} or as a parameter for this hook,
@@ -58,7 +58,7 @@ export declare const useBackend: (backend?: IAnalyticalBackend | undefined) => I
58
58
  *```
59
59
  *
60
60
  * @param backend - backend to use instead of context value. If undefined, the context value is used.
61
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
61
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
62
62
  * @public
63
63
  */
64
64
  export declare const useBackendStrict: (backend?: IAnalyticalBackend | undefined, context?: string) => IAnalyticalBackend;
@@ -18,7 +18,7 @@ export var BackendProvider = function (_a) {
18
18
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
19
19
  *
20
20
  * @remarks
21
- * You can optionally set a backend override that will be returned if defined.
21
+ * You can set a backend override that will be returned if defined.
22
22
  * This makes the usage more ergonomic (see the following example).
23
23
  *
24
24
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useBackendStrict} hook.
@@ -43,7 +43,7 @@ export var useBackend = function (backend) {
43
43
  * Hook to get analytical backend instance provided to {@link BackendProvider}.
44
44
  *
45
45
  * @remarks
46
- * You can optionally set a backend override that will be returned if defined.
46
+ * You can set a backend override that will be returned if defined.
47
47
  * This makes the usage more ergonomic (see the following example).
48
48
  *
49
49
  * Note: If you do not provide an {@link @gooddata/sdk-backend-spi#IAnalyticalBackend} instance to {@link BackendProvider} or as a parameter for this hook,
@@ -59,7 +59,7 @@ export var useBackend = function (backend) {
59
59
  *```
60
60
  *
61
61
  * @param backend - backend to use instead of context value. If undefined, the context value is used.
62
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
62
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
63
63
  * @public
64
64
  */
65
65
  export var useBackendStrict = function (backend, context) {
@@ -19,7 +19,7 @@ export declare const WorkspaceProvider: React.FC<IWorkspaceProviderProps>;
19
19
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
20
20
  *
21
21
  * @remarks
22
- * You can optionally set a workspace override that will be returned if defined.
22
+ * You can set a workspace override that will be returned if defined.
23
23
  * This makes the usage more ergonomic (see the following example).
24
24
  *
25
25
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useWorkspaceStrict} hook.
@@ -41,7 +41,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
41
41
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
42
42
  *
43
43
  * @remarks
44
- * You can optionally set a workspace override that will be returned if defined.
44
+ * You can set a workspace override that will be returned if defined.
45
45
  * This makes the usage more ergonomic (see the following example).
46
46
  *
47
47
  * Note: Note: If you do not provide a workspace identifier to {@link WorkspaceProvider} or as a parameter for this hook,
@@ -57,7 +57,7 @@ export declare const useWorkspace: (workspace?: string | undefined) => string |
57
57
  * ```
58
58
  *
59
59
  * @param workspace - workspace to use instead of context value. If undefined, the context value is used.
60
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
60
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
61
61
  * @public
62
62
  */
63
63
  export declare const useWorkspaceStrict: (workspace?: string | undefined, context?: string) => string;
@@ -18,7 +18,7 @@ export var WorkspaceProvider = function (_a) {
18
18
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
19
19
  *
20
20
  * @remarks
21
- * You can optionally set a workspace override that will be returned if defined.
21
+ * You can set a workspace override that will be returned if defined.
22
22
  * This makes the usage more ergonomic (see the following example).
23
23
  *
24
24
  * Note: For a better TypeScript experience without the hassle of undefined values, you can use the {@link useWorkspaceStrict} hook.
@@ -43,7 +43,7 @@ export var useWorkspace = function (workspace) {
43
43
  * Hook to get workspace instance provided to {@link WorkspaceProvider}.
44
44
  *
45
45
  * @remarks
46
- * You can optionally set a workspace override that will be returned if defined.
46
+ * You can set a workspace override that will be returned if defined.
47
47
  * This makes the usage more ergonomic (see the following example).
48
48
  *
49
49
  * Note: Note: If you do not provide a workspace identifier to {@link WorkspaceProvider} or as a parameter for this hook,
@@ -59,7 +59,7 @@ export var useWorkspace = function (workspace) {
59
59
  * ```
60
60
  *
61
61
  * @param workspace - workspace to use instead of context value. If undefined, the context value is used.
62
- * @param context - optionally provide context to improve error message in raised invariant (e.g. parent hook name).
62
+ * @param context - provide context to improve error message in raised invariant (e.g. parent hook name).
63
63
  * @public
64
64
  */
65
65
  export var useWorkspaceStrict = function (workspace, context) {
@@ -61,7 +61,7 @@ export declare function isPlaceholder<T>(obj: unknown): obj is IPlaceholder<T>;
61
61
  * You can perform computation on top of resolved placeholder values.
62
62
  * Composed placeholders accepts also other composed placeholders as an input.
63
63
  *
64
- * You can optionally provide custom resolution context to the composed placeholders,
64
+ * You can provide custom resolution context to the composed placeholders,
65
65
  * and use it in your computation, but be aware that this context is shared across all composed placeholders in the call tree
66
66
  * (e.g. when you are calling composed placeholder composed from other composed placeholders,
67
67
  * each composed placeholder will be called with the same resolution context).
@@ -25,7 +25,9 @@ export declare function usePlaceholder<T extends IPlaceholder<any>>(placeholder?
25
25
  export declare function usePlaceholders<T extends IPlaceholder<any>[]>(placeholders: [...T]): [PlaceholdersValues<T>, (valueOrUpdateCallback: ValueOrUpdateCallback<PlaceholdersValues<T>>) => void];
26
26
  /**
27
27
  * React hook to obtain composed placeholder value.
28
- * Optionally provide custom context for the composed placeholders resolution.
28
+ *
29
+ * @remarks
30
+ * You can provide custom context for the composed placeholders resolution.
29
31
  * See {@link IComposedPlaceholder}.
30
32
  *
31
33
  * @public
@@ -35,7 +37,7 @@ export declare function useComposedPlaceholder<TContext, TPlaceholder extends IC
35
37
  * React hook that resolves any value(s) that can possibly contain also placeholder(s) to actual value(s).
36
38
  *
37
39
  * @remarks
38
- * Optionally provide custom context for the composed placeholders resolution.
40
+ * You can provide custom context for the composed placeholders resolution.
39
41
  *
40
42
  * @public
41
43
  */
@@ -44,7 +46,7 @@ export declare function useResolveValueWithPlaceholders<T, C>(value: T, resoluti
44
46
  * React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
45
47
  *
46
48
  * @remarks
47
- * Optionally provide custom context for the composed placeholders resolution.
49
+ * You can provide custom context for the composed placeholders resolution.
48
50
  *
49
51
  * @public
50
52
  */
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot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,CAAC,EAC/D,WAAW,EAAE,YAAY,EAAE,iBAAiB,CAAC,EAAE,QAAQ,GAAG,wBAAwB,CAAC,YAAY,CAAC,CAQjG;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,CAAC,EAAE,CAAC,EAChD,KAAK,EAAE,CAAC,EACR,iBAAiB,CAAC,EAAE,CAAC,GACtB,wBAAwB,CAAC,CAAC,CAAC,CAI7B;AAED;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,EAC/D,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EACd,iBAAiB,CAAC,EAAE,CAAC,GACtB,0BAA0B,CAAC,CAAC,CAAC,CAM/B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAI/C;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAuBxE"}
@@ -63,7 +63,9 @@ export function usePlaceholders(placeholders) {
63
63
  }
64
64
  /**
65
65
  * React hook to obtain composed placeholder value.
66
- * Optionally provide custom context for the composed placeholders resolution.
66
+ *
67
+ * @remarks
68
+ * You can provide custom context for the composed placeholders resolution.
67
69
  * See {@link IComposedPlaceholder}.
68
70
  *
69
71
  * @public
@@ -77,7 +79,7 @@ export function useComposedPlaceholder(placeholder, resolutionContext) {
77
79
  * React hook that resolves any value(s) that can possibly contain also placeholder(s) to actual value(s).
78
80
  *
79
81
  * @remarks
80
- * Optionally provide custom context for the composed placeholders resolution.
82
+ * You can provide custom context for the composed placeholders resolution.
81
83
  *
82
84
  * @public
83
85
  */
@@ -90,7 +92,7 @@ export function useResolveValueWithPlaceholders(value, resolutionContext) {
90
92
  * React hook that resolves multiple value(s) that can possibly contain also placeholder(s) to actual value(s).
91
93
  *
92
94
  * @remarks
93
- * Optionally provide custom context for the composed placeholders resolution.
95
+ * You can provide custom context for the composed placeholders resolution.
94
96
  *
95
97
  * @public
96
98
  */
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../../src/base/react/placeholders/hooks.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAOH,aAAa,GAChB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,sBAAsB,EAAqB,MAAM,WAAW,CAAC;AACtE,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EACH,cAAc,EACd,uBAAuB,EACvB,+BAA+B,EAC/B,4BAA4B,GAC/B,MAAM,WAAW,CAAC;AAEnB;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAC1B,WAAe;IAKT,IAAA,KAAyB,sBAAsB,EAAE,EAA/C,KAAK,WAAA,EAAE,WAAW,iBAA6B,CAAC;IACxD,IAAM,wBAAwB,GAAG,aAAa,CAAC,WAAW,CAAC;QACvD,CAAC,CAAC,uBAAuB,CAAC,WAAW,EAAE,KAAK,CAAC;QAC7C,CAAC,CAAC,SAAS,CAAC;IAEhB,IAAM,mBAAmB,GAAG,WAAW,CACnC,UAAC,qBAA6E;QAC1E,WAAW,CAAC,UAAC,CAAC;YACV,SAAS,CACL,aAAa,CAAC,WAAW,CAAC,EAC1B,qFAAqF,CACxF,CAAC;YAEF,IAAM,uBAAuB,GAAG,uBAAuB,CACnD,WAAW,EACX,CAAC,CACmB,CAAC;YAEzB,IAAM,YAAY,GACd,qBAAqB,YAAY,QAAQ;gBACrC,CAAC,CAAC,qBAAqB,CAAC,uBAAuB,CAAC;gBAChD,CAAC,CAAC,qBAAqB,CAAC;YAEhC,OAAO,cAAc,CAAC,WAAW,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;QACxD,CAAC,C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ACtD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAI,KAAQ;IACxC,OAAO,OAAO,CAAC;QACX,OAAO,KAAK,CAAC;IACjB,CAAC,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACjC,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,0BAA0B,CAAkB,MAAS;;IACjE,IAAM,UAAU,GAAG,MAAM,OACrB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,GAAG,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC;QAChB,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC;QACxB,KAAK,EAAE,CAAC;KACX,CAAC,EAHiB,CAGjB,oCAAK,EAAE,CACZ,CAAC;IAEF,OAAO,OAAO,CAAC;QACX,OAAO,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,GAAG,CAAC,UAAC,GAAG,EAAE,GAAG;YACxB,IAAM,IAAI,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC;YAClC,IAAI,IAAI,KAAK,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;gBACvC,OAAO,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC;aACxC;YAED,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG;gBACtB,IAAI,MAAA;gBACJ,KAAK,EAAE,GAAG;aACb,CAAC;YAEF,OAAO,GAAG,CAAC;QACf,CAAC,CAAM,CAAC;IACZ,CAAC,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAClC,CAAC"}
@@ -18,7 +18,7 @@ import { UseCancelablePromiseState, UseCancelablePromiseStatus } from "./useCanc
18
18
  * - ["success", "success"] will be resolved to "success"
19
19
  *
20
20
  * @param states - cancelable promise states (useCancelablePromise return values)
21
- * @param options - optionally specify options for resolving the status
21
+ * @param options - specify options for resolving the status
22
22
  * @returns resolved status
23
23
  * @public
24
24
  */
@@ -21,7 +21,7 @@ import { UnexpectedSdkError } from "../errors/GoodDataSdkError";
21
21
  * - ["success", "success"] will be resolved to "success"
22
22
  *
23
23
  * @param states - cancelable promise states (useCancelablePromise return values)
24
- * @param options - optionally specify options for resolving the status
24
+ * @param options - specify options for resolving the status
25
25
  * @returns resolved status
26
26
  * @public
27
27
  */
@@ -119,7 +119,7 @@ export declare type DataSeriesDescriptor = DataSeriesHeaders & DataSeriesDescrip
119
119
  readonly attributeDefinitions?: IAttribute[];
120
120
  };
121
121
  /**
122
- * Data series is a sequence of data points that are all computed from a single measure, optionally scoped for
122
+ * Data series is a sequence of data points that are all computed from a single measure, scoped for
123
123
  * particular attribute elements.
124
124
  *
125
125
  * @remarks
@@ -158,7 +158,7 @@ export interface IDataSeries extends DataSeriesDescriptorMethods, Iterable<DataP
158
158
  * @remarks
159
159
  * The collection additionally includes basic information about the
160
160
  * origin of the data series that can be iterated - their number, measures they were calculated from and
161
- * optionally the scoping attributes.
161
+ * the scoping attributes.
162
162
  *
163
163
  * @public
164
164
  */
@@ -6,7 +6,7 @@ import { GoodDataSdkError } from "../errors/GoodDataSdkError";
6
6
  * components via the onExportReady callback.
7
7
  *
8
8
  * @param result - data view that will be exported
9
- * @param exportTitle - optionally specify title
9
+ * @param exportTitle - specify title
10
10
  * @internal
11
11
  */
12
12
  export declare function createExportFunction(result: IExecutionResult, exportTitle?: string): IExportFunction;
@@ -1,11 +1,11 @@
1
- // (C) 2007-2020 GoodData Corporation
1
+ // (C) 2007-2022 GoodData Corporation
2
2
  var escapeFileName = function (str) { return str && str.replace(/[/?<>\\:*|":]/g, ""); };
3
3
  /**
4
4
  * Creates function to export data in the provided result. This function is typically passed by visualization
5
5
  * components via the onExportReady callback.
6
6
  *
7
7
  * @param result - data view that will be exported
8
- * @param exportTitle - optionally specify title
8
+ * @param exportTitle - specify title
9
9
  * @internal
10
10
  */
11
11
  export function createExportFunction(result, exportTitle) {
@@ -25,7 +25,7 @@ export interface IExecuteProps extends IWithLoadingEvents<IExecuteProps> {
25
25
  */
26
26
  workspace?: string;
27
27
  /**
28
- * Data series will be built using the provided measures that are optionally further scoped for
28
+ * Data series will be built using the provided measures that are further scoped for
29
29
  * elements of the specified attributes.
30
30
  */
31
31
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -120,7 +120,7 @@ export interface IExecuteProps extends IWithLoadingEvents<IExecuteProps> {
120
120
  *
121
121
  * @remarks
122
122
  * It is aligned with the `DataAccess` infrastructure which exposes the underlying data as data series that can be
123
- * optionally sliced by additional attributes.
123
+ * sliced by additional attributes.
124
124
  *
125
125
  * Once the executor finishes, the {@link DataViewFacade.data} method will expose the data as series and
126
126
  * slices according to the specification to the executor.
@@ -74,7 +74,7 @@ var WrappedExecute = withContexts(withExecution({
74
74
  *
75
75
  * @remarks
76
76
  * It is aligned with the `DataAccess` infrastructure which exposes the underlying data as data series that can be
77
- * optionally sliced by additional attributes.
77
+ * sliced by additional attributes.
78
78
  *
79
79
  * Once the executor finishes, the {@link DataViewFacade.data} method will expose the data as series and
80
80
  * slices according to the specification to the executor.
@@ -19,7 +19,7 @@ export declare type CreateExecutionOptions = {
19
19
  */
20
20
  workspace?: string;
21
21
  /**
22
- * Data series will be built using the provided measures that are optionally further scoped for
22
+ * Data series will be built using the provided measures that are further scoped for
23
23
  * elements of the specified attributes.
24
24
  */
25
25
  seriesBy: IAttributeOrMeasure[];
@@ -6,7 +6,7 @@ import { AttributesMeasuresOrPlaceholders, AttributesOrPlaceholders, TotalsOrPla
6
6
  */
7
7
  export interface IUseExecutionConfig {
8
8
  /**
9
- * Data series will be built using the provided measures that are optionally further scoped for
9
+ * Data series will be built using the provided measures that are further scoped for
10
10
  * elements of the specified attributes.
11
11
  */
12
12
  seriesBy: AttributesMeasuresOrPlaceholders;
@@ -7,7 +7,7 @@ import { DataViewFacade, GoodDataSdkError, UseCancelablePromiseState, Attributes
7
7
  */
8
8
  export interface IExecutionConfiguration {
9
9
  /**
10
- * Data series will be built using the provided measures that are optionally further scoped for
10
+ * Data series will be built using the provided measures that are further scoped for
11
11
  * elements of the specified attributes.
12
12
  */
13
13
  seriesBy: AttributesMeasuresOrPlaceholders;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui",
3
- "version": "8.10.0-alpha.45",
3
+ "version": "8.10.0-alpha.48",
4
4
  "description": "GoodData.UI SDK - Core",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,9 +37,9 @@
37
37
  "dependencies": {
38
38
  "@formatjs/intl-pluralrules": "~1.3.7",
39
39
  "@gooddata/numberjs": "^4.0.1",
40
- "@gooddata/sdk-backend-spi": "^8.10.0-alpha.45",
41
- "@gooddata/sdk-model": "^8.10.0-alpha.45",
42
- "@gooddata/util": "^8.10.0-alpha.45",
40
+ "@gooddata/sdk-backend-spi": "^8.10.0-alpha.48",
41
+ "@gooddata/sdk-model": "^8.10.0-alpha.48",
42
+ "@gooddata/util": "^8.10.0-alpha.48",
43
43
  "custom-event": "^1.0.1",
44
44
  "hoist-non-react-statics": "^3.3.0",
45
45
  "http-status-codes": "^2.1.4",
@@ -57,9 +57,9 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@gooddata/eslint-config": "^2.1.0",
60
- "@gooddata/reference-workspace": "^8.10.0-alpha.45",
61
- "@gooddata/sdk-backend-base": "^8.10.0-alpha.45",
62
- "@gooddata/sdk-backend-mockingbird": "^8.10.0-alpha.45",
60
+ "@gooddata/reference-workspace": "^8.10.0-alpha.48",
61
+ "@gooddata/sdk-backend-base": "^8.10.0-alpha.48",
62
+ "@gooddata/sdk-backend-mockingbird": "^8.10.0-alpha.48",
63
63
  "@gooddata/stylelint-config": "^5.0.0",
64
64
  "@microsoft/api-documenter": "^7.17.0",
65
65
  "@microsoft/api-extractor": "^7.20.0",