@gooddata/sdk-ui 8.10.0-alpha.30 → 8.10.0-alpha.33
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.
- package/dist/base/errors/GoodDataSdkError.d.ts +4 -1
- package/dist/base/errors/GoodDataSdkError.d.ts.map +1 -1
- package/dist/base/errors/GoodDataSdkError.js +5 -2
- package/dist/base/errors/GoodDataSdkError.js.map +1 -1
- package/dist/base/errors/errorHandling.d.ts +5 -3
- package/dist/base/errors/errorHandling.d.ts.map +1 -1
- package/dist/base/errors/errorHandling.js +6 -4
- package/dist/base/errors/errorHandling.js.map +1 -1
- package/dist/base/headerMatching/HeaderPredicate.d.ts +5 -1
- package/dist/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
- package/dist/base/headerMatching/HeaderPredicate.js.map +1 -1
- package/dist/base/headerMatching/HeaderPredicateFactory.d.ts +1 -0
- package/dist/base/headerMatching/HeaderPredicateFactory.d.ts.map +1 -1
- package/dist/base/headerMatching/HeaderPredicateFactory.js +1 -0
- package/dist/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/dist/base/headerMatching/MappingHeader.d.ts +2 -0
- package/dist/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/dist/base/headerMatching/MappingHeader.js +1 -1
- package/dist/base/headerMatching/MappingHeader.js.map +1 -1
- package/dist/base/helpers/CatalogHelper.d.ts +5 -3
- package/dist/base/helpers/CatalogHelper.d.ts.map +1 -1
- package/dist/base/helpers/CatalogHelper.js +5 -3
- package/dist/base/helpers/CatalogHelper.js.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts +4 -0
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +2 -0
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
- package/dist/base/react/BackendContext.d.ts +4 -0
- package/dist/base/react/BackendContext.d.ts.map +1 -1
- package/dist/base/react/BackendContext.js +5 -1
- package/dist/base/react/BackendContext.js.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +4 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/dist/base/react/ErrorComponent.d.ts +4 -2
- package/dist/base/react/ErrorComponent.d.ts.map +1 -1
- package/dist/base/react/ErrorComponent.js +5 -3
- package/dist/base/react/ErrorComponent.js.map +1 -1
- package/dist/base/react/LoadingComponent.d.ts +4 -2
- package/dist/base/react/LoadingComponent.d.ts.map +1 -1
- package/dist/base/react/LoadingComponent.js +5 -3
- package/dist/base/react/LoadingComponent.js.map +1 -1
- package/dist/base/react/WorkspaceContext.d.ts +4 -0
- package/dist/base/react/WorkspaceContext.d.ts.map +1 -1
- package/dist/base/react/WorkspaceContext.js +5 -1
- package/dist/base/react/WorkspaceContext.js.map +1 -1
- package/dist/base/react/placeholders/base.d.ts +75 -41
- package/dist/base/react/placeholders/base.d.ts.map +1 -1
- package/dist/base/react/placeholders/base.js +1 -1
- package/dist/base/react/placeholders/base.js.map +1 -1
- package/dist/base/react/placeholders/factory.d.ts +4 -2
- package/dist/base/react/placeholders/factory.d.ts.map +1 -1
- package/dist/base/react/placeholders/factory.js +1 -1
- package/dist/base/react/placeholders/factory.js.map +1 -1
- package/dist/base/react/placeholders/hooks.d.ts +8 -0
- package/dist/base/react/placeholders/hooks.d.ts.map +1 -1
- package/dist/base/react/placeholders/hooks.js +9 -1
- package/dist/base/react/placeholders/hooks.js.map +1 -1
- package/dist/base/react/useCancelablePromise.d.ts +2 -0
- package/dist/base/react/useCancelablePromise.d.ts.map +1 -1
- package/dist/base/react/useCancelablePromise.js +3 -1
- package/dist/base/react/useCancelablePromise.js.map +1 -1
- package/dist/base/react/useCancelablePromiseUtils.d.ts +2 -0
- package/dist/base/react/useCancelablePromiseUtils.d.ts.map +1 -1
- package/dist/base/react/useCancelablePromiseUtils.js +3 -1
- package/dist/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/dist/base/results/dataAccess.d.ts +29 -8
- package/dist/base/results/dataAccess.d.ts.map +1 -1
- package/dist/base/results/dataAccessConfig.d.ts +4 -1
- package/dist/base/results/dataAccessConfig.d.ts.map +1 -1
- package/dist/base/results/dataAccessConfig.js +4 -1
- package/dist/base/results/dataAccessConfig.js.map +1 -1
- package/dist/base/results/facade.d.ts +8 -2
- package/dist/base/results/facade.d.ts.map +1 -1
- package/dist/base/results/facade.js +9 -3
- package/dist/base/results/facade.js.map +1 -1
- package/dist/base/vis/DrillEvents.d.ts +2 -0
- package/dist/base/vis/DrillEvents.d.ts.map +1 -1
- package/dist/base/vis/DrillEvents.js.map +1 -1
- package/dist/base/vis/VisualizationProps.d.ts +11 -4
- package/dist/base/vis/VisualizationProps.d.ts.map +1 -1
- package/dist/base/vis/VisualizationProps.js +1 -1
- package/dist/execution/Execute.d.ts +34 -18
- package/dist/execution/Execute.d.ts.map +1 -1
- package/dist/execution/Execute.js +6 -4
- package/dist/execution/Execute.js.map +1 -1
- package/dist/execution/ExecuteInsight.d.ts +28 -14
- package/dist/execution/ExecuteInsight.d.ts.map +1 -1
- package/dist/execution/ExecuteInsight.js +1 -1
- package/dist/execution/ExecuteInsight.js.map +1 -1
- package/dist/execution/RawExecute.d.ts +19 -7
- package/dist/execution/RawExecute.d.ts.map +1 -1
- package/dist/execution/RawExecute.js +2 -1
- package/dist/execution/RawExecute.js.map +1 -1
- package/dist/execution/createExecution.d.ts +8 -5
- package/dist/execution/createExecution.d.ts.map +1 -1
- package/dist/execution/createExecution.js.map +1 -1
- package/dist/execution/useDataExport.d.ts +2 -0
- package/dist/execution/useDataExport.d.ts.map +1 -1
- package/dist/execution/useDataExport.js +2 -0
- package/dist/execution/useDataExport.js.map +1 -1
- package/dist/execution/useDataView.d.ts +2 -0
- package/dist/execution/useDataView.d.ts.map +1 -1
- package/dist/execution/useDataView.js +2 -0
- package/dist/execution/useDataView.js.map +1 -1
- package/dist/execution/useExecution.d.ts +14 -8
- package/dist/execution/useExecution.d.ts.map +1 -1
- package/dist/execution/useExecution.js +2 -0
- package/dist/execution/useExecution.js.map +1 -1
- package/dist/execution/useExecutionDataView.d.ts +15 -9
- package/dist/execution/useExecutionDataView.d.ts.map +1 -1
- package/dist/execution/useExecutionDataView.js.map +1 -1
- package/dist/execution/useInsightDataView.d.ts +10 -5
- package/dist/execution/useInsightDataView.d.ts.map +1 -1
- package/dist/execution/useInsightDataView.js.map +1 -1
- package/dist/execution/withExecution.d.ts +5 -4
- package/dist/execution/withExecution.d.ts.map +1 -1
- package/dist/execution/withExecution.js +1 -1
- package/dist/execution/withExecution.js.map +1 -1
- package/dist/execution/withExecutionLoading.d.ts +12 -7
- package/dist/execution/withExecutionLoading.d.ts.map +1 -1
- package/dist/execution/withExecutionLoading.js +1 -1
- package/dist/execution/withExecutionLoading.js.map +1 -1
- package/dist/kpi/Kpi.d.ts +13 -9
- package/dist/kpi/Kpi.d.ts.map +1 -1
- package/dist/kpi/Kpi.js +5 -3
- package/dist/kpi/Kpi.js.map +1 -1
- package/dist/sdk-ui.d.ts +345 -152
- package/esm/base/errors/GoodDataSdkError.d.ts +4 -1
- package/esm/base/errors/GoodDataSdkError.d.ts.map +1 -1
- package/esm/base/errors/GoodDataSdkError.js +5 -2
- package/esm/base/errors/GoodDataSdkError.js.map +1 -1
- package/esm/base/errors/errorHandling.d.ts +5 -3
- package/esm/base/errors/errorHandling.d.ts.map +1 -1
- package/esm/base/errors/errorHandling.js +6 -4
- package/esm/base/errors/errorHandling.js.map +1 -1
- package/esm/base/headerMatching/HeaderPredicate.d.ts +5 -1
- package/esm/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
- package/esm/base/headerMatching/HeaderPredicate.js.map +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.d.ts +1 -0
- package/esm/base/headerMatching/HeaderPredicateFactory.d.ts.map +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.js +1 -0
- package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/esm/base/headerMatching/MappingHeader.d.ts +2 -0
- package/esm/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/esm/base/headerMatching/MappingHeader.js +1 -1
- package/esm/base/headerMatching/MappingHeader.js.map +1 -1
- package/esm/base/helpers/CatalogHelper.d.ts +5 -3
- package/esm/base/helpers/CatalogHelper.d.ts.map +1 -1
- package/esm/base/helpers/CatalogHelper.js +5 -3
- package/esm/base/helpers/CatalogHelper.js.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts +4 -0
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +2 -0
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
- package/esm/base/react/BackendContext.d.ts +4 -0
- package/esm/base/react/BackendContext.d.ts.map +1 -1
- package/esm/base/react/BackendContext.js +5 -1
- package/esm/base/react/BackendContext.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +4 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/esm/base/react/ErrorComponent.d.ts +4 -2
- package/esm/base/react/ErrorComponent.d.ts.map +1 -1
- package/esm/base/react/ErrorComponent.js +5 -3
- package/esm/base/react/ErrorComponent.js.map +1 -1
- package/esm/base/react/LoadingComponent.d.ts +4 -2
- package/esm/base/react/LoadingComponent.d.ts.map +1 -1
- package/esm/base/react/LoadingComponent.js +5 -3
- package/esm/base/react/LoadingComponent.js.map +1 -1
- package/esm/base/react/WorkspaceContext.d.ts +4 -0
- package/esm/base/react/WorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/WorkspaceContext.js +5 -1
- package/esm/base/react/WorkspaceContext.js.map +1 -1
- package/esm/base/react/placeholders/base.d.ts +75 -41
- package/esm/base/react/placeholders/base.d.ts.map +1 -1
- package/esm/base/react/placeholders/base.js +1 -1
- package/esm/base/react/placeholders/base.js.map +1 -1
- package/esm/base/react/placeholders/factory.d.ts +4 -2
- package/esm/base/react/placeholders/factory.d.ts.map +1 -1
- package/esm/base/react/placeholders/factory.js +1 -1
- package/esm/base/react/placeholders/factory.js.map +1 -1
- package/esm/base/react/placeholders/hooks.d.ts +8 -0
- package/esm/base/react/placeholders/hooks.d.ts.map +1 -1
- package/esm/base/react/placeholders/hooks.js +9 -1
- package/esm/base/react/placeholders/hooks.js.map +1 -1
- package/esm/base/react/useCancelablePromise.d.ts +2 -0
- package/esm/base/react/useCancelablePromise.d.ts.map +1 -1
- package/esm/base/react/useCancelablePromise.js +3 -1
- package/esm/base/react/useCancelablePromise.js.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.d.ts +2 -0
- package/esm/base/react/useCancelablePromiseUtils.d.ts.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.js +3 -1
- package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/esm/base/results/dataAccess.d.ts +29 -8
- package/esm/base/results/dataAccess.d.ts.map +1 -1
- package/esm/base/results/dataAccessConfig.d.ts +4 -1
- package/esm/base/results/dataAccessConfig.d.ts.map +1 -1
- package/esm/base/results/dataAccessConfig.js +4 -1
- package/esm/base/results/dataAccessConfig.js.map +1 -1
- package/esm/base/results/facade.d.ts +8 -2
- package/esm/base/results/facade.d.ts.map +1 -1
- package/esm/base/results/facade.js +9 -3
- package/esm/base/results/facade.js.map +1 -1
- package/esm/base/vis/DrillEvents.d.ts +2 -0
- package/esm/base/vis/DrillEvents.d.ts.map +1 -1
- package/esm/base/vis/DrillEvents.js.map +1 -1
- package/esm/base/vis/VisualizationProps.d.ts +11 -4
- package/esm/base/vis/VisualizationProps.d.ts.map +1 -1
- package/esm/base/vis/VisualizationProps.js +1 -1
- package/esm/execution/Execute.d.ts +34 -18
- package/esm/execution/Execute.d.ts.map +1 -1
- package/esm/execution/Execute.js +6 -4
- package/esm/execution/Execute.js.map +1 -1
- package/esm/execution/ExecuteInsight.d.ts +28 -14
- package/esm/execution/ExecuteInsight.d.ts.map +1 -1
- package/esm/execution/ExecuteInsight.js +1 -1
- package/esm/execution/ExecuteInsight.js.map +1 -1
- package/esm/execution/RawExecute.d.ts +19 -7
- package/esm/execution/RawExecute.d.ts.map +1 -1
- package/esm/execution/RawExecute.js +2 -1
- package/esm/execution/RawExecute.js.map +1 -1
- package/esm/execution/createExecution.d.ts +8 -5
- package/esm/execution/createExecution.d.ts.map +1 -1
- package/esm/execution/createExecution.js.map +1 -1
- package/esm/execution/useDataExport.d.ts +2 -0
- package/esm/execution/useDataExport.d.ts.map +1 -1
- package/esm/execution/useDataExport.js +2 -0
- package/esm/execution/useDataExport.js.map +1 -1
- package/esm/execution/useDataView.d.ts +2 -0
- package/esm/execution/useDataView.d.ts.map +1 -1
- package/esm/execution/useDataView.js +2 -0
- package/esm/execution/useDataView.js.map +1 -1
- package/esm/execution/useExecution.d.ts +14 -8
- package/esm/execution/useExecution.d.ts.map +1 -1
- package/esm/execution/useExecution.js +2 -0
- package/esm/execution/useExecution.js.map +1 -1
- package/esm/execution/useExecutionDataView.d.ts +15 -9
- package/esm/execution/useExecutionDataView.d.ts.map +1 -1
- package/esm/execution/useExecutionDataView.js.map +1 -1
- package/esm/execution/useInsightDataView.d.ts +10 -5
- package/esm/execution/useInsightDataView.d.ts.map +1 -1
- package/esm/execution/useInsightDataView.js.map +1 -1
- package/esm/execution/withExecution.d.ts +5 -4
- package/esm/execution/withExecution.d.ts.map +1 -1
- package/esm/execution/withExecution.js +1 -1
- package/esm/execution/withExecution.js.map +1 -1
- package/esm/execution/withExecutionLoading.d.ts +12 -7
- package/esm/execution/withExecutionLoading.d.ts.map +1 -1
- package/esm/execution/withExecutionLoading.js +1 -1
- package/esm/execution/withExecutionLoading.js.map +1 -1
- package/esm/kpi/Kpi.d.ts +13 -9
- package/esm/kpi/Kpi.d.ts.map +1 -1
- package/esm/kpi/Kpi.js +5 -3
- package/esm/kpi/Kpi.js.map +1 -1
- package/package.json +7 -7
|
@@ -11,6 +11,7 @@ export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsight
|
|
|
11
11
|
/**
|
|
12
12
|
* Backend to execute against.
|
|
13
13
|
*
|
|
14
|
+
* @remarks
|
|
14
15
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
15
16
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
16
17
|
*/
|
|
@@ -18,6 +19,7 @@ export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsight
|
|
|
18
19
|
/**
|
|
19
20
|
* Workspace in whose context to perform the execution.
|
|
20
21
|
*
|
|
22
|
+
* @remarks
|
|
21
23
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
22
24
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
23
25
|
*/
|
|
@@ -27,24 +29,26 @@ export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsight
|
|
|
27
29
|
*/
|
|
28
30
|
insight: ObjRef;
|
|
29
31
|
/**
|
|
30
|
-
*
|
|
32
|
+
* Modify sorts on prepared insight execution, before it's executed.
|
|
31
33
|
*/
|
|
32
34
|
sorts?: ISortItem[] | ((def: IExecutionDefinition, props: IExecuteInsightProps) => ISortItem[]);
|
|
33
35
|
/**
|
|
34
|
-
*
|
|
36
|
+
* Modify dimensions on prepared insight execution, before it's executed.
|
|
35
37
|
*/
|
|
36
38
|
dimensions?: IDimension[] | ((def: IExecutionDefinition, props: IExecuteInsightProps) => IDimension[]);
|
|
37
39
|
/**
|
|
38
|
-
*
|
|
40
|
+
* Modify date formatting on prepared insight execution, before it's executed.
|
|
39
41
|
*/
|
|
40
42
|
dateFormat?: string | ((def: IExecutionDefinition, props: IExecuteInsightProps) => string);
|
|
41
43
|
/**
|
|
42
|
-
*
|
|
44
|
+
* Filters to apply on server side.
|
|
43
45
|
*/
|
|
44
46
|
filters?: INullableFilter[];
|
|
45
47
|
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
+
* Name to use for files exported from this component.
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* If you do not specify this, then the componentName will be used instead.
|
|
48
52
|
*
|
|
49
53
|
* Note: it is also possible to pass custom name to the export function that will be sent via the
|
|
50
54
|
* onExportReady callback. That approach is preferred if you need to assign the names in an ad-hoc
|
|
@@ -52,16 +56,21 @@ export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsight
|
|
|
52
56
|
*/
|
|
53
57
|
exportTitle?: string;
|
|
54
58
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
59
|
+
* Informative name of the component.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
* This value is sent as telemetry information together with the actual execution request. We recommend to set this
|
|
63
|
+
* because it can be useful for diagnostic purposes.
|
|
58
64
|
*
|
|
59
65
|
* Defaults 'Execute'.
|
|
60
66
|
*/
|
|
61
67
|
componentName?: string;
|
|
62
68
|
/**
|
|
63
69
|
* Specifies whether `Execute` should trigger execution and loading right after it is
|
|
64
|
-
* mounted.
|
|
70
|
+
* mounted.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* If not specified defaults to `true`.
|
|
65
74
|
*
|
|
66
75
|
* If set to `false`, then the {@link WithLoadingResult#reload} function needs to be called
|
|
67
76
|
* to trigger the execution and loading.
|
|
@@ -71,26 +80,31 @@ export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsight
|
|
|
71
80
|
* Specifies whether `Execute` should load all data from backend or just a particular window - specified by
|
|
72
81
|
* offset and size of the window.
|
|
73
82
|
*
|
|
83
|
+
* @remarks
|
|
74
84
|
* If not specified, all data will be loaded.
|
|
75
85
|
*/
|
|
76
86
|
window?: DataViewWindow;
|
|
77
87
|
/**
|
|
78
|
-
* Child component to which rendering is delegated.
|
|
79
|
-
*
|
|
88
|
+
* Child component to which rendering is delegated.
|
|
89
|
+
*
|
|
90
|
+
* @remarks
|
|
91
|
+
* This is a function that will be called every time state of execution and data loading changes.
|
|
80
92
|
*
|
|
81
93
|
* @param executionResult - execution result, indicating state and/or results
|
|
82
94
|
*/
|
|
83
95
|
children: (executionResult: WithLoadingResult) => React.ReactElement | null;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
97
|
+
* Provide component for rendering of the loading state.
|
|
86
98
|
*
|
|
99
|
+
* @remarks
|
|
87
100
|
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
88
101
|
* will be called only with a successful result.
|
|
89
102
|
*/
|
|
90
103
|
LoadingComponent?: IExecuteLoadingComponent;
|
|
91
104
|
/**
|
|
92
|
-
*
|
|
105
|
+
* Provide component for rendering of the error state.
|
|
93
106
|
*
|
|
107
|
+
* @remarks
|
|
94
108
|
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
95
109
|
* will be called only with a successful result.
|
|
96
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecuteInsight.d.ts","sourceRoot":"","sources":["../../src/execution/ExecuteInsight.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC3G,OAAO,EAAE,kBAAkB,EA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,KAAK,MAAM,CAAC,CAAC;IAE3F;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;;;;;;OAOG;IACH,QAAQ,EAAE,CAAC,eAAe,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAE5E;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAE5C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAC;CAC3C;AAmCD;;;;GAIG;AACH,eAAO,MAAM,cAAc,2CA4E1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecuteInsight.js","sourceRoot":"","sources":["../../src/execution/ExecuteInsight.tsx"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"ExecuteInsight.js","sourceRoot":"","sources":["../../src/execution/ExecuteInsight.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,SAAS,MAAM,cAAc,CAAC;AA6HrC,IAAM,WAAW,GAAoB,UAAC,KAAY;IACtC,IAAA,QAAQ,GAAyE,KAAK,SAA9E,EAAE,KAAK,GAAkE,KAAK,MAAvE,EAAE,SAAS,GAAuD,KAAK,UAA5D,EAAE,MAAM,GAA+C,KAAK,OAApD,EAAE,MAAM,GAAuC,KAAK,OA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ChB,eAAe,iBAAA;YACf,cAAc,gBAAA;YACd,aAAa,eAAA;SAChB,CAAC;IACN,CAAC;IACD,aAAa,EAAE,UAAC,SAA+B,EAAE,SAA+B;QAC5E,IAAM,aAAa,GAAsC;YACrD,SAAS;YACT,kBAAkB;YAClB,iBAAiB;YACjB,gBAAgB;SACnB,CAAC;QAEF,IAAM,sBAAsB,GAAsC;YAC9D,SAAS;YACT,SAAS;YACT,QAAQ;SACX,CAAC;QAEF,OAAO,CACH,aAAa,CAAC,IAAI,CAAC,UAAC,QAAQ,IAAK,OAAA,SAAS,CAAC,QAAQ,CAAC,KAAK,SAAS,CAAC,QAAQ,CAAC,EAA3C,CAA2C,CAAC;YAC7E,sBAAsB,CAAC,IAAI,CAAC,UAAC,QAAQ,IAAK,OAAA,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAlD,CAAkD,CAAC,CAChG,CAAC;IACN,CAAC;IACD,WAAW,EAAE,UAAC,KAA4B;QAC9B,IAAA,MAAuB,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,aAAhB,EAAlB,WAAW,mBAAG,IAAI,KAAA,CAAiB;QAE3C,OAAO,WAAW,CAAC;IACvB,CAAC;IACD,MAAM,EAAE,UAAC,KAA2B,IAAK,OAAA,KAAK,CAAC,MAAM,EAAZ,CAAY;CACxD,CAAC,CAAC,WAAW,CAAC,CAClB,CAAC"}
|
|
@@ -15,12 +15,15 @@ export interface IRawExecuteProps extends IWithLoadingEvents<IRawExecuteProps> {
|
|
|
15
15
|
* Specifies whether {@link RawExecute} should load all data from backend or just a particular window - specified by
|
|
16
16
|
* offset and size of the window.
|
|
17
17
|
*
|
|
18
|
+
* @remarks
|
|
18
19
|
* If not specified, all data will be loaded.
|
|
19
20
|
*/
|
|
20
21
|
window?: DataViewWindow;
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
23
|
+
* Name to use for files exported from this component.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* If you do not specify this, then the 'RawExecute' will be used instead.
|
|
24
27
|
*
|
|
25
28
|
* Note: it is also possible to pass custom name to the export function that will be sent via the
|
|
26
29
|
* onExportReady callback. That approach is preferred if you need to assign the names in an ad-hoc
|
|
@@ -29,28 +32,36 @@ export interface IRawExecuteProps extends IWithLoadingEvents<IRawExecuteProps> {
|
|
|
29
32
|
exportTitle?: string;
|
|
30
33
|
/**
|
|
31
34
|
* Indicates whether the executor should trigger execution and loading right after it is
|
|
32
|
-
* mounted.
|
|
35
|
+
* mounted.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* If not specified defaults to `true`.
|
|
33
39
|
*
|
|
34
40
|
* If set to `false`, then the {@link WithLoadingResult#reload} function needs to be called
|
|
35
41
|
* to trigger the execution and loading.
|
|
36
42
|
*/
|
|
37
43
|
loadOnMount?: boolean;
|
|
38
44
|
/**
|
|
39
|
-
* Child component to which rendering is delegated.
|
|
40
|
-
*
|
|
45
|
+
* Child component to which rendering is delegated.
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* This is a function that will be called every time state of execution and data loading changes.
|
|
41
49
|
*
|
|
42
50
|
* @param executionResult - execution result, indicating state and/or results
|
|
43
51
|
*/
|
|
44
52
|
children: (executionResult: WithLoadingResult) => React.ReactElement | null;
|
|
45
53
|
/**
|
|
46
|
-
*
|
|
54
|
+
* Provide component for rendering of the loading state.
|
|
47
55
|
*
|
|
56
|
+
* @remarks
|
|
48
57
|
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
49
58
|
* will be called only with a successful result.
|
|
50
59
|
*/
|
|
51
60
|
LoadingComponent?: IExecuteLoadingComponent;
|
|
52
61
|
/**
|
|
53
|
-
*
|
|
62
|
+
* Provide component for rendering of the error state.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
54
65
|
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
55
66
|
* will be called only with a successful result.
|
|
56
67
|
*/
|
|
@@ -60,6 +71,7 @@ export interface IRawExecuteProps extends IWithLoadingEvents<IRawExecuteProps> {
|
|
|
60
71
|
* Raw executor is the most basic React component to drive custom executions to obtain
|
|
61
72
|
* data from backends.
|
|
62
73
|
*
|
|
74
|
+
* @remarks
|
|
63
75
|
* The component accepts an instance of prepared execution and drives all the necessary
|
|
64
76
|
* APIs and boilerplate needed to obtain a {@link DataViewFacade}.
|
|
65
77
|
* Note that if the resulting data is empty this will NOT throw a {@link @gooddata/sdk-backend-spi#NoDataError}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawExecute.d.ts","sourceRoot":"","sources":["../../src/execution/RawExecute.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE/F,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAEhF;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;OAEG;IACH,SAAS,EAAE,kBAAkB,CAAC;IAE9B
|
|
1
|
+
{"version":3,"file":"RawExecute.d.ts","sourceRoot":"","sources":["../../src/execution/RawExecute.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE/F,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAEhF;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;OAEG;IACH,SAAS,EAAE,kBAAkB,CAAC;IAE9B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;;OAOG;IACH,QAAQ,EAAE,CAAC,eAAe,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAE5E;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAE5C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAC;CAC3C;AA+BD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU,6CAoCP,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2019 GoodData Corporation
|
|
1
|
+
// (C) 2019-2022 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { withExecution } from "./withExecution";
|
|
4
4
|
import isEqual from "lodash/isEqual";
|
|
@@ -27,6 +27,7 @@ function exportTitle(props) {
|
|
|
27
27
|
* Raw executor is the most basic React component to drive custom executions to obtain
|
|
28
28
|
* data from backends.
|
|
29
29
|
*
|
|
30
|
+
* @remarks
|
|
30
31
|
* The component accepts an instance of prepared execution and drives all the necessary
|
|
31
32
|
* APIs and boilerplate needed to obtain a {@link DataViewFacade}.
|
|
32
33
|
* Note that if the resulting data is empty this will NOT throw a {@link @gooddata/sdk-backend-spi#NoDataError}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawExecute.js","sourceRoot":"","sources":["../../src/execution/RawExecute.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"RawExecute.js","sourceRoot":"","sources":["../../src/execution/RawExecute.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,O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,KAAK,cAAV,CAAW;QAE5F,OAAO;YACH,OAAO,SAAA;YACP,gBAAgB,kBAAA;YAChB,eAAe,iBAAA;YACf,cAAc,gBAAA;YACd,aAAa,eAAA;SAChB,CAAC;IACN,CAAC;IACD,aAAa,EAAE,UAAC,SAA2B,EAAE,SAA2B;QACpE,IAAM,aAAa,GAAkC;YACjD,SAAS;YACT,kBAAkB;YAClB,iBAAiB;YACjB,gBAAgB;SACnB,CAAC;QAEF,IAAM,sBAAsB,GAAkC,CAAC,QAAQ,CAAC,CAAC;QAEzE,OAAO,CACH,aAAa,CAAC,IAAI,CAAC,UAAC,QAAQ,IAAK,OAAA,SAAS,CAAC,QAAQ,CAAC,KAAK,SAAS,CAAC,QAAQ,CAAC,EAA3C,CAA2C,CAAC;YAC7E,sBAAsB,CAAC,IAAI,CAAC,UAAC,QAAQ,IAAK,OAAA,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAlD,CAAkD,CAAC;YAC7F,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,CAC1E,CAAC;IACN,CAAC;IACD,WAAW,EAAE,UAAC,KAAuB;QACzB,IAAA,KAAuB,KAAK,YAAV,EAAlB,WAAW,mBAAG,IAAI,KAAA,CAAW;QAErC,OAAO,WAAW,CAAC;IACvB,CAAC;IACD,MAAM,EAAE,UAAC,KAAuB,IAAK,OAAA,KAAK,CAAC,MAAM,EAAZ,CAAY;CACpD,CAAC,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -24,23 +24,26 @@ export declare type CreateExecutionOptions = {
|
|
|
24
24
|
*/
|
|
25
25
|
seriesBy: IAttributeOrMeasure[];
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Slice all data series by elements of these attributes.
|
|
28
28
|
*/
|
|
29
29
|
slicesBy?: IAttribute[];
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Include these totals among the data slices.
|
|
32
32
|
*/
|
|
33
33
|
totals?: ITotal[];
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Filters to apply on server side.
|
|
36
36
|
*/
|
|
37
37
|
filters?: INullableFilter[];
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Sorting to apply on server side.
|
|
40
40
|
*/
|
|
41
41
|
sortBy?: ISortItem[];
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Informative name of the component.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* This value is sent as telemetry information together
|
|
44
47
|
* with the actual execution request. We recommend to set this because it can be useful for diagnostic
|
|
45
48
|
* purposes.
|
|
46
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,mBAAmB,EAEnB,eAAe,EAEf,SAAS,EACT,MAAM,EAIT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAInF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACjC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAErB
|
|
1
|
+
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,mBAAmB,EAEnB,eAAe,EAEf,SAAS,EACT,MAAM,EAIT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAInF;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACjC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC;IAErB;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AA2BF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,kBAAkB,CA2BnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,OAAO,EAKH,WAAW,EAGX,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,GACpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,SAAS,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,OAAO,EAKH,WAAW,EAGX,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,GACpB,MAAM,qBAAqB,C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ACX,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAA;SAC5C,WAAW,oBAAI,MAAM,EAAC,CAAA;SACtB,cAAc,oBAAI,UAAU,GAAE;AACvC,CAAC"}
|
|
@@ -13,6 +13,8 @@ export declare type UseDataExportState = UseCancelablePromiseState<string, GoodD
|
|
|
13
13
|
export declare type UseDataExportCallbacks = UseCancelablePromiseCallbacks<string, GoodDataSdkError>;
|
|
14
14
|
/**
|
|
15
15
|
* This hook provides easy way to export data in your preferred format (csv/xlsx/raw) for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
16
18
|
* As a result, you will receive a string with uri, so you can easily create a download link.
|
|
17
19
|
* Be aware that execution is re-executed only on dependency list change, not on execution/exportConfig/callbacks change.
|
|
18
20
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataExport.d.ts","sourceRoot":"","sources":["../../src/execution/useDataExport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAEH,gBAAgB,EAEhB,6BAA6B,EAC7B,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AAEjB;;;GAGG;AACH,oBAAY,kBAAkB,GAAG,yBAAyB,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAErF;;;GAGG;AACH,oBAAY,sBAAsB,GAAG,6BAA6B,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAE7F
|
|
1
|
+
{"version":3,"file":"useDataExport.d.ts","sourceRoot":"","sources":["../../src/execution/useDataExport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAEH,gBAAgB,EAEhB,6BAA6B,EAC7B,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AAEjB;;;GAGG;AACH,oBAAY,kBAAkB,GAAG,yBAAyB,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAErF;;;GAGG;AACH,oBAAY,sBAAsB,GAAG,6BAA6B,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAE7F;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CACzB,EACI,SAAS,EACT,YAAiB,EACjB,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACZ,EAAE;IACC,SAAS,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,aAAa,CAAC;CAChC,GAAG,sBAAsB,EAC1B,IAAI,CAAC,EAAE,cAAc,GACtB,kBAAkB,CAuBpB"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { convertError, useCancelablePromise, } from "../base";
|
|
2
2
|
/**
|
|
3
3
|
* This hook provides easy way to export data in your preferred format (csv/xlsx/raw) for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
4
6
|
* As a result, you will receive a string with uri, so you can easily create a download link.
|
|
5
7
|
* Be aware that execution is re-executed only on dependency list change, not on execution/exportConfig/callbacks change.
|
|
6
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataExport.js","sourceRoot":"","sources":["../../src/execution/useDataExport.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,YAAY,EAEZ,oBAAoB,GAGvB,MAAM,SAAS,CAAC;AAcjB
|
|
1
|
+
{"version":3,"file":"useDataExport.js","sourceRoot":"","sources":["../../src/execution/useDataExport.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,YAAY,EAEZ,oBAAoB,GAGvB,MAAM,SAAS,CAAC;AAcjB;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa,CACzB,EAW0B,EAC1B,IAAqB;QAXjB,SAAS,eAAA,EACT,oBAAiB,EAAjB,YAAY,mBAAG,EAAE,KAAA,EACjB,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,SAAS,eAAA,EACT,SAAS,eAAA,EACT,SAAS,eAAA;IAOb,OAAO,oBAAoB,CACvB;QACI,OAAO,EAAE,SAAS;YACd,CAAC,CAAC;gBACI,OAAA,SAAS;qBACJ,OAAO,EAAE;qBACT,IAAI,CAAC,UAAC,eAAe,IAAK,OAAA,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,EAApC,CAAoC,CAAC;qBAC/D,IAAI,CAAC,UAAC,YAAY;oBACf,OAAO,YAAY,CAAC,GAAG,CAAC;gBAC5B,CAAC,CAAC;qBACD,KAAK,CAAC,UAAC,KAAK;oBACT,MAAM,YAAY,CAAC,KAAK,CAAC,CAAC;gBAC9B,CAAC,CAAC;YARN,CAQM;YACZ,CAAC,CAAC,IAAI;QACV,QAAQ,UAAA;QACR,OAAO,SAAA;QACP,SAAS,WAAA;QACT,SAAS,WAAA;QACT,SAAS,WAAA;KACZ,EACD,IAAI,CACP,CAAC;AACN,CAAC"}
|
|
@@ -14,6 +14,8 @@ export declare type UseDataViewState = UseCancelablePromiseState<DataViewFacade,
|
|
|
14
14
|
export declare type UseDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
|
|
15
15
|
/**
|
|
16
16
|
* This hook provides easy way to get data for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
17
19
|
* You can use it to create custom visualizations on top of GoodData platform.
|
|
18
20
|
* Be aware that execution is re-executed only on dependency list change, not on execution/window/callbacks change.
|
|
19
21
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":"AACA,OAA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}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { convertError, DataViewFacade, useCancelablePromise, } from "../base";
|
|
2
2
|
/**
|
|
3
3
|
* This hook provides easy way to get data for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
4
6
|
* You can use it to create custom visualizations on top of GoodData platform.
|
|
5
7
|
* Be aware that execution is re-executed only on dependency list change, not on execution/window/callbacks change.
|
|
6
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataView.js","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,YAAY,EACZ,cAAc,EAEd,oBAAoB,GAGvB,MAAM,SAAS,CAAC;AAcjB
|
|
1
|
+
{"version":3,"file":"useDataView.js","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,YAAY,EACZ,cAAc,EAEd,oBAAoB,GAGvB,MAAM,SAAS,CAAC;AAcjB;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CACvB,EAWwB,EACxB,IAAqB;QAXjB,SAAS,eAAA,EACT,MAAM,YAAA,EACN,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,SAAS,eAAA,EACT,SAAS,eAAA,EACT,SAAS,eAAA;IAOb,OAAO,oBAAoB,CACvB;QACI,OAAO,EAAE,SAAS;YACd,CAAC,CAAC;gBACI,OAAA,SAAS;qBACJ,OAAO,EAAE;qBACT,IAAI,CAAC,UAAC,eAAe;oBAClB,OAAA,MAAM;wBACF,CAAC,CAAC,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC;wBACxD,CAAC,CAAC,eAAe,CAAC,OAAO,EAAE;gBAF/B,CAE+B,CAClC;qBACA,IAAI,CAAC,UAAC,QAAQ;oBACX,OAAO,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBACxC,CAAC,CAAC;qBACD,KAAK,CAAC,UAAC,KAAK;oBACT,MAAM,YAAY,CAAC,KAAK,CAAC,CAAC;gBAC9B,CAAC,CAAC;YAZN,CAYM;YACZ,CAAC,CAAC,IAAI;QACV,QAAQ,UAAA;QACR,OAAO,SAAA;QACP,SAAS,WAAA;QACT,SAAS,WAAA;QACT,SAAS,WAAA;KACZ,EACD,IAAI,CACP,CAAC;AACN,CAAC"}
|
|
@@ -10,29 +10,31 @@ export interface IUseExecutionConfig {
|
|
|
10
10
|
*/
|
|
11
11
|
seriesBy: AttributesMeasuresOrPlaceholders;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Slice all data series by elements of these attributes.
|
|
14
14
|
*/
|
|
15
15
|
slicesBy?: AttributesOrPlaceholders;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Include these totals among the data slices.
|
|
18
18
|
*/
|
|
19
19
|
totals?: TotalsOrPlaceholders;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Filters to apply on server side.
|
|
22
22
|
*/
|
|
23
23
|
filters?: NullableFiltersOrPlaceholders;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Sorting to apply on server side.
|
|
26
26
|
*/
|
|
27
27
|
sortBy?: SortsOrPlaceholders;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Resolution context for composed placeholders.
|
|
30
30
|
*/
|
|
31
31
|
placeholdersResolutionContext?: any;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
33
|
+
* Informative name of the component.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* This value is sent as telemetry information together with the actual execution request.
|
|
37
|
+
* We recommend to set this because it can be useful for diagnostic purposes.
|
|
36
38
|
*
|
|
37
39
|
* Defaults 'Execute'.
|
|
38
40
|
*/
|
|
@@ -40,6 +42,7 @@ export interface IUseExecutionConfig {
|
|
|
40
42
|
/**
|
|
41
43
|
* Backend to work with.
|
|
42
44
|
*
|
|
45
|
+
* @remarks
|
|
43
46
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
44
47
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
45
48
|
*/
|
|
@@ -47,6 +50,7 @@ export interface IUseExecutionConfig {
|
|
|
47
50
|
/**
|
|
48
51
|
* Workspace where execution should be executed.
|
|
49
52
|
*
|
|
53
|
+
* @remarks
|
|
50
54
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
51
55
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
52
56
|
*/
|
|
@@ -54,6 +58,8 @@ export interface IUseExecutionConfig {
|
|
|
54
58
|
}
|
|
55
59
|
/**
|
|
56
60
|
* This hook provides a simplified interface for creating executions.
|
|
61
|
+
*
|
|
62
|
+
* @remarks
|
|
57
63
|
* It builds the execution on top of the backend passed to the BackendProvider, and workspace passed to the WorkspaceProvider.
|
|
58
64
|
*
|
|
59
65
|
* @beta
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecution.d.ts","sourceRoot":"","sources":["../../src/execution/useExecution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAIH,gCAAgC,EAChC,wBAAwB,EACxB,oBAAoB,EACpB,6BAA6B,EAC7B,mBAAmB,EACtB,MAAM,SAAS,CAAC;AAGjB;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,QAAQ,EAAE,gCAAgC,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAE7B;;OAEG;IACH,6BAA6B,CAAC,EAAE,GAAG,CAAC;IAEpC
|
|
1
|
+
{"version":3,"file":"useExecution.d.ts","sourceRoot":"","sources":["../../src/execution/useExecution.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAIH,gCAAgC,EAChC,wBAAwB,EACxB,oBAAoB,EACpB,6BAA6B,EAC7B,mBAAmB,EACtB,MAAM,SAAS,CAAC;AAGjB;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,QAAQ,EAAE,gCAAgC,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAE7B;;OAEG;IACH,6BAA6B,CAAC,EAAE,GAAG,CAAC;IAEpC;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,mBAAmB,GAAG,kBAAkB,CAkB5E"}
|
|
@@ -3,6 +3,8 @@ import { useBackend, useResolveValuesWithPlaceholders, useWorkspace, } from "../
|
|
|
3
3
|
import { createExecution } from "./createExecution";
|
|
4
4
|
/**
|
|
5
5
|
* This hook provides a simplified interface for creating executions.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
6
8
|
* It builds the execution on top of the backend passed to the BackendProvider, and workspace passed to the WorkspaceProvider.
|
|
7
9
|
*
|
|
8
10
|
* @beta
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecution.js","sourceRoot":"","sources":["../../src/execution/useExecution.ts"],"names":[],"mappings":";AAEA,OAAO,EACH,UAAU,EACV,gCAAgC,EAChC,YAAY,GAMf,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"useExecution.js","sourceRoot":"","sources":["../../src/execution/useExecution.ts"],"names":[],"mappings":";AAEA,OAAO,EACH,UAAU,EACV,gCAAgC,EAChC,YAAY,GAMf,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAmEpD;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,MAA2B;IACpD,IAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3C,IAAM,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IAC3C,IAAA,KAAA,OAAgD,gCAAgC,CAClF,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAChF,MAAM,CAAC,6BAA6B,CACvC,IAAA,EAHM,QAAQ,QAAA,EAAE,QAAQ,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,QAAA,EAAE,MAAM,QAGjD,CAAC;IAEF,OAAO,eAAe,uBACf,MAAM,KACT,OAAO,SAAA;QACP,SAAS,WAAA;QACT,QAAQ,UAAA;QACR,QAAQ,UAAA;QACR,MAAM,QAAA;QACN,OAAO,SAAA;QACP,MAAM,QAAA,IACR,CAAC;AACP,CAAC"}
|
|
@@ -12,29 +12,31 @@ export interface IExecutionConfiguration {
|
|
|
12
12
|
*/
|
|
13
13
|
seriesBy: AttributesMeasuresOrPlaceholders;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Slice all data series by elements of these attributes.
|
|
16
16
|
*/
|
|
17
17
|
slicesBy?: AttributesOrPlaceholders;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Include these totals among the data slices.
|
|
20
20
|
*/
|
|
21
21
|
totals?: TotalsOrPlaceholders;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Filters to apply on server side.
|
|
24
24
|
*/
|
|
25
25
|
filters?: NullableFiltersOrPlaceholders;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Sorting to apply on server side.
|
|
28
28
|
*/
|
|
29
29
|
sortBy?: SortsOrPlaceholders;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Resolution context for composed placeholders.
|
|
32
32
|
*/
|
|
33
33
|
placeholdersResolutionContext?: any;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
35
|
+
* Informative name of the component.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* This value is sent as telemetry information together with the actual execution request.
|
|
39
|
+
* We recommend to set this because it can be useful for diagnostic purposes.
|
|
38
40
|
*
|
|
39
41
|
* Defaults 'Execute'.
|
|
40
42
|
*/
|
|
@@ -49,13 +51,16 @@ export interface IUseExecutionDataViewConfig {
|
|
|
49
51
|
*/
|
|
50
52
|
execution?: IPreparedExecution | IExecutionConfiguration;
|
|
51
53
|
/**
|
|
52
|
-
*
|
|
54
|
+
* You can define only a specific "window" of data to load.
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
53
57
|
* This is useful if you want to page data.
|
|
54
58
|
*/
|
|
55
59
|
window?: DataViewWindow;
|
|
56
60
|
/**
|
|
57
61
|
* Backend to work with.
|
|
58
62
|
*
|
|
63
|
+
* @remarks
|
|
59
64
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
60
65
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
61
66
|
*/
|
|
@@ -63,6 +68,7 @@ export interface IUseExecutionDataViewConfig {
|
|
|
63
68
|
/**
|
|
64
69
|
* Workspace where execution should be executed.
|
|
65
70
|
*
|
|
71
|
+
* @remarks
|
|
66
72
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
67
73
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
68
74
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecutionDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useExecutionDataView.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EACH,cAAc,EACd,gBAAgB,EAGhB,yBAAyB,EAEzB,gCAAgC,EAChC,wBAAwB,EACxB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACvB,MAAM,SAAS,CAAC;AAKjB;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;OAGG;IACH,QAAQ,EAAE,gCAAgC,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAE7B;;OAEG;IACH,6BAA6B,CAAC,EAAE,GAAG,CAAC;IAEpC
|
|
1
|
+
{"version":3,"file":"useExecutionDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useExecutionDataView.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EACH,cAAc,EACd,gBAAgB,EAGhB,yBAAyB,EAEzB,gCAAgC,EAChC,wBAAwB,EACxB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACvB,MAAM,SAAS,CAAC;AAKjB;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;OAGG;IACH,QAAQ,EAAE,gCAAgC,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IAEpC;;OAEG;IACH,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAE9B;;OAEG;IACH,OAAO,CAAC,EAAE,6BAA6B,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAE7B;;OAEG;IACH,6BAA6B,CAAC,EAAE,GAAG,CAAC;IAEpC;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AASD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,kBAAkB,GAAG,uBAAuB,CAAC;IAEzD;;;;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAChC,MAAM,EAAE,2BAA2B,EACnC,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,GAC5B,yBAAyB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAqC7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecutionDataView.js","sourceRoot":"","sources":["../../src/execution/useExecutionDataView.ts"],"names":[],"mappings":";AAGA,OAAO,EAGH,gBAAgB,EAChB,kBAAkB,EAElB,gCAAgC,GAMnC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB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IAEF,IAAM,iBAAiB,GAAG,wBAAwB,CAAC,SAAS,CAAC;QACzD,CAAC,CAAC,eAAe,uBACR,SAAS,KACZ,QAAQ,EAAE,QAAS,EACnB,QAAQ,UAAA;YACR,MAAM,QAAA;YACN,OAAO,SAAA;YACP,MAAM,QAAA;YACN,OAAO,SAAA;YACP,SAAS,WAAA,IACX;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO,WAAW,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,QAAA,EAAE;QACvD,OAAO;QACP,SAAS;cACT,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,WAAW,qCAAM,0BAA0B;OAC3D,aAAa,EAClB,CAAC;AACP,CAAC;AAED;;GAEG;AACH,SAAS,8BAA8B,CACnC,SAAwD;IAExD,IAAI,wBAAwB,CAAC,SAAS,CAAC,EAAE;QACrC,OAAO,SAAS,CAAC;KACpB;IAED,OAAO,EAAE,CAAC;AACd,CAAC"}
|
|
@@ -10,33 +10,37 @@ export interface IUseInsightDataViewConfig {
|
|
|
10
10
|
/**
|
|
11
11
|
* Reference to the insight for which you want to get the data view.
|
|
12
12
|
*
|
|
13
|
+
* @remarks
|
|
13
14
|
* Note: When the reference or identifier is not provided, hook is locked in a "pending" state.
|
|
14
15
|
*/
|
|
15
16
|
insight?: ObjRef;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
+
* Modify sorts on prepared insight execution, before it's executed.
|
|
18
19
|
*/
|
|
19
20
|
sorts?: ISortItem[] | ((def: IExecutionDefinition) => ISortItem[]);
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
* Modify dimensions on prepared insight execution, before it's executed.
|
|
22
23
|
*/
|
|
23
24
|
dimensions?: IDimension[] | ((def: IExecutionDefinition) => IDimension[]);
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
+
* Modify date formatting on prepared insight execution, before it's executed.
|
|
26
27
|
*/
|
|
27
28
|
dateFormat?: string | ((def: IExecutionDefinition) => string);
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
+
* Specify filters to merge with filters already defined in the insight.
|
|
30
31
|
*/
|
|
31
32
|
filters?: INullableFilter[];
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
+
* You can define only a specific "window" of data to load.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
34
37
|
* This is useful if you want to page data.
|
|
35
38
|
*/
|
|
36
39
|
window?: DataViewWindow;
|
|
37
40
|
/**
|
|
38
41
|
* Backend to work with.
|
|
39
42
|
*
|
|
43
|
+
* @remarks
|
|
40
44
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
41
45
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
42
46
|
*/
|
|
@@ -44,6 +48,7 @@ export interface IUseInsightDataViewConfig {
|
|
|
44
48
|
/**
|
|
45
49
|
* Workspace where execution should be executed.
|
|
46
50
|
*
|
|
51
|
+
* @remarks
|
|
47
52
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
48
53
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
49
54
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useInsightDataView.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC3G,OAAO,EAKH,yBAAyB,EACzB,cAAc,EACd,gBAAgB,EACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC
|
|
1
|
+
{"version":3,"file":"useInsightDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useInsightDataView.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC3G,OAAO,EAKH,yBAAyB,EACzB,cAAc,EACd,gBAAgB,EACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,oBAAoB,KAAK,SAAS,EAAE,CAAC,CAAC;IAEnE;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,oBAAoB,KAAK,UAAU,EAAE,CAAC,CAAC;IAE1E;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,oBAAoB,KAAK,MAAM,CAAC,CAAC;IAE9D;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAE5B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAC9B,MAAM,EAAE,yBAAyB,EACjC,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,GAC5B,yBAAyB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CA8C7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightDataView.js","sourceRoot":"","sources":["../../src/execution/useInsightDataView.ts"],"names":[],"mappings":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