@gooddata/sdk-ui 9.0.0-alpha.2 → 9.0.0-alpha.21
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/headerMatching/MappingHeader.d.ts +3 -3
- package/dist/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/dist/base/headerMatching/MappingHeader.js +1 -1
- package/dist/base/index.d.ts +1 -1
- package/dist/base/index.d.ts.map +1 -1
- package/dist/base/index.js +3 -3
- package/dist/base/index.js.map +1 -1
- package/dist/base/localization/bundles/de-DE.json +3 -0
- package/dist/base/localization/bundles/es-ES.json +3 -0
- package/dist/base/localization/bundles/fr-FR.json +3 -0
- package/dist/base/localization/bundles/ja-JP.json +3 -0
- package/dist/base/localization/bundles/nl-NL.json +3 -0
- package/dist/base/localization/bundles/pt-BR.json +3 -0
- package/dist/base/localization/bundles/pt-PT.json +3 -0
- package/dist/base/localization/bundles/ru-RU.json +3 -0
- package/dist/base/localization/bundles/zh-Hans.json +3 -0
- package/dist/base/results/dataAccess.d.ts +10 -11
- package/dist/base/results/dataAccess.d.ts.map +1 -1
- package/dist/base/results/dataAccessConfig.d.ts +1 -1
- package/dist/base/results/dataAccessConfig.d.ts.map +1 -1
- package/dist/base/results/internal/dataAccessImpl.d.ts.map +1 -1
- package/dist/base/results/internal/dataAccessImpl.js +4 -1
- package/dist/base/results/internal/dataAccessImpl.js.map +1 -1
- package/dist/base/results/internal/resultMetaMethods.d.ts.map +1 -1
- package/dist/base/results/internal/resultMetaMethods.js +1 -1
- package/dist/base/results/internal/resultMetaMethods.js.map +1 -1
- package/dist/base/results/internal/utils.d.ts +8 -1
- package/dist/base/results/internal/utils.d.ts.map +1 -1
- package/dist/base/results/internal/utils.js +13 -1
- package/dist/base/results/internal/utils.js.map +1 -1
- package/dist/execution/index.d.ts +0 -2
- package/dist/execution/index.d.ts.map +1 -1
- package/dist/execution/index.js +1 -5
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/useExecutionDataView.d.ts.map +1 -1
- package/dist/execution/useExecutionDataView.js +23 -3
- package/dist/execution/useExecutionDataView.js.map +1 -1
- package/dist/sdk-ui.d.ts +22 -218
- package/esm/base/headerMatching/MappingHeader.d.ts +3 -3
- package/esm/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/esm/base/headerMatching/MappingHeader.js +1 -1
- package/esm/base/index.d.ts +1 -1
- package/esm/base/index.d.ts.map +1 -1
- package/esm/base/index.js +1 -1
- package/esm/base/index.js.map +1 -1
- package/esm/base/localization/bundles/de-DE.json +3 -0
- package/esm/base/localization/bundles/es-ES.json +3 -0
- package/esm/base/localization/bundles/fr-FR.json +3 -0
- package/esm/base/localization/bundles/ja-JP.json +3 -0
- package/esm/base/localization/bundles/nl-NL.json +3 -0
- package/esm/base/localization/bundles/pt-BR.json +3 -0
- package/esm/base/localization/bundles/pt-PT.json +3 -0
- package/esm/base/localization/bundles/ru-RU.json +3 -0
- package/esm/base/localization/bundles/zh-Hans.json +3 -0
- package/esm/base/results/dataAccess.d.ts +10 -11
- package/esm/base/results/dataAccess.d.ts.map +1 -1
- package/esm/base/results/dataAccessConfig.d.ts +1 -1
- package/esm/base/results/dataAccessConfig.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.js +5 -2
- package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
- package/esm/base/results/internal/resultMetaMethods.d.ts.map +1 -1
- package/esm/base/results/internal/resultMetaMethods.js +2 -2
- package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
- package/esm/base/results/internal/utils.d.ts +8 -1
- package/esm/base/results/internal/utils.d.ts.map +1 -1
- package/esm/base/results/internal/utils.js +11 -0
- package/esm/base/results/internal/utils.js.map +1 -1
- package/esm/execution/index.d.ts +0 -2
- package/esm/execution/index.d.ts.map +1 -1
- package/esm/execution/index.js +0 -2
- package/esm/execution/index.js.map +1 -1
- package/esm/execution/useExecutionDataView.d.ts.map +1 -1
- package/esm/execution/useExecutionDataView.js +24 -4
- package/esm/execution/useExecutionDataView.js.map +1 -1
- package/package.json +8 -8
- package/dist/base/helpers/CatalogHelper.d.ts +0 -99
- package/dist/base/helpers/CatalogHelper.d.ts.map +0 -1
- package/dist/base/helpers/CatalogHelper.js +0 -89
- package/dist/base/helpers/CatalogHelper.js.map +0 -1
- package/dist/execution/useDataView.d.ts +0 -31
- package/dist/execution/useDataView.d.ts.map +0 -1
- package/dist/execution/useDataView.js +0 -38
- package/dist/execution/useDataView.js.map +0 -1
- package/dist/execution/useExecution.d.ts +0 -70
- package/dist/execution/useExecution.d.ts.map +0 -1
- package/dist/execution/useExecution.js +0 -28
- package/dist/execution/useExecution.js.map +0 -1
- package/esm/base/helpers/CatalogHelper.d.ts +0 -99
- package/esm/base/helpers/CatalogHelper.d.ts.map +0 -1
- package/esm/base/helpers/CatalogHelper.js +0 -85
- package/esm/base/helpers/CatalogHelper.js.map +0 -1
- package/esm/execution/useDataView.d.ts +0 -31
- package/esm/execution/useDataView.d.ts.map +0 -1
- package/esm/execution/useDataView.js +0 -34
- package/esm/execution/useDataView.js.map +0 -1
- package/esm/execution/useExecution.d.ts +0 -70
- package/esm/execution/useExecution.d.ts.map +0 -1
- package/esm/execution/useExecution.js +0 -24
- package/esm/execution/useExecution.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
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;AAgBjB;;;;;;;;;GASG;AACH,MAAM,UAAU,WAAW,CACvB,EACI,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GAIW,EACxB,IAAqB;IAErB,OAAO,oBAAoB,CACvB;QACI,OAAO,EAAE,SAAS;YACd,CAAC,CAAC,GAAG,EAAE,CACD,SAAS;iBACJ,OAAO,EAAE;iBACT,IAAI,CAAC,CAAC,eAAe,EAAE,EAAE,CACtB,MAAM;gBACF,CAAC,CAAC,eAAe,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC;gBACxD,CAAC,CAAC,eAAe,CAAC,OAAO,EAAE,CAClC;iBACA,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;gBACf,OAAO,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACxC,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;gBACb,MAAM,YAAY,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC,CAAC;YACZ,CAAC,CAAC,IAAI;QACV,QAAQ;QACR,OAAO;QACP,SAAS;QACT,SAAS;QACT,SAAS;KACZ,EACD,IAAI,CACP,CAAC;AACN,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { IAnalyticalBackend, IPreparedExecution } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { AttributesMeasuresOrPlaceholders, AttributesOrPlaceholders, TotalsOrPlaceholders, NullableFiltersOrPlaceholders, SortsOrPlaceholders } from "../base";
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use {@link useExecutionDataView} instead
|
|
5
|
-
* @beta
|
|
6
|
-
*/
|
|
7
|
-
export interface IUseExecutionConfig {
|
|
8
|
-
/**
|
|
9
|
-
* Data series will be built using the provided measures that are further scoped for
|
|
10
|
-
* elements of the specified attributes.
|
|
11
|
-
*/
|
|
12
|
-
seriesBy: AttributesMeasuresOrPlaceholders;
|
|
13
|
-
/**
|
|
14
|
-
* Slice all data series by elements of these attributes.
|
|
15
|
-
*/
|
|
16
|
-
slicesBy?: AttributesOrPlaceholders;
|
|
17
|
-
/**
|
|
18
|
-
* Include these totals among the data slices.
|
|
19
|
-
*/
|
|
20
|
-
totals?: TotalsOrPlaceholders;
|
|
21
|
-
/**
|
|
22
|
-
* Filters to apply on server side.
|
|
23
|
-
*/
|
|
24
|
-
filters?: NullableFiltersOrPlaceholders;
|
|
25
|
-
/**
|
|
26
|
-
* Sorting to apply on server side.
|
|
27
|
-
*/
|
|
28
|
-
sortBy?: SortsOrPlaceholders;
|
|
29
|
-
/**
|
|
30
|
-
* Resolution context for composed placeholders.
|
|
31
|
-
*/
|
|
32
|
-
placeholdersResolutionContext?: any;
|
|
33
|
-
/**
|
|
34
|
-
* Informative name of the component.
|
|
35
|
-
*
|
|
36
|
-
* @remarks
|
|
37
|
-
* This value is sent as telemetry information together with the actual execution request.
|
|
38
|
-
* We recommend to set this because it can be useful for diagnostic purposes.
|
|
39
|
-
*
|
|
40
|
-
* Defaults 'Execute'.
|
|
41
|
-
*/
|
|
42
|
-
componentName?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Backend to work with.
|
|
45
|
-
*
|
|
46
|
-
* @remarks
|
|
47
|
-
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
48
|
-
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
49
|
-
*/
|
|
50
|
-
backend?: IAnalyticalBackend;
|
|
51
|
-
/**
|
|
52
|
-
* Workspace where execution should be executed.
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
56
|
-
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
57
|
-
*/
|
|
58
|
-
workspace?: string;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* This hook provides a simplified interface for creating executions.
|
|
62
|
-
*
|
|
63
|
-
* @remarks
|
|
64
|
-
* It builds the execution on top of the backend passed to the BackendProvider, and workspace passed to the WorkspaceProvider.
|
|
65
|
-
*
|
|
66
|
-
* @deprecated use {@link useExecutionDataView} instead
|
|
67
|
-
* @beta
|
|
68
|
-
*/
|
|
69
|
-
export declare function useExecution(config: IUseExecutionConfig): IPreparedExecution;
|
|
70
|
-
//# sourceMappingURL=useExecution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;;GAGG;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;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,mBAAmB,GAAG,kBAAkB,CAkB5E"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { useBackend, useResolveValuesWithPlaceholders, useWorkspace, } from "../base";
|
|
2
|
-
import { createExecution } from "./createExecution";
|
|
3
|
-
/**
|
|
4
|
-
* This hook provides a simplified interface for creating executions.
|
|
5
|
-
*
|
|
6
|
-
* @remarks
|
|
7
|
-
* It builds the execution on top of the backend passed to the BackendProvider, and workspace passed to the WorkspaceProvider.
|
|
8
|
-
*
|
|
9
|
-
* @deprecated use {@link useExecutionDataView} instead
|
|
10
|
-
* @beta
|
|
11
|
-
*/
|
|
12
|
-
export function useExecution(config) {
|
|
13
|
-
const backend = useBackend(config.backend);
|
|
14
|
-
const workspace = useWorkspace(config.workspace);
|
|
15
|
-
const [seriesBy, slicesBy, totals, filters, sortBy] = useResolveValuesWithPlaceholders([config.seriesBy, config.slicesBy, config.totals, config.filters, config.sortBy], config.placeholdersResolutionContext);
|
|
16
|
-
return createExecution(Object.assign(Object.assign({}, config), { backend,
|
|
17
|
-
workspace,
|
|
18
|
-
seriesBy,
|
|
19
|
-
slicesBy,
|
|
20
|
-
totals,
|
|
21
|
-
filters,
|
|
22
|
-
sortBy }));
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=useExecution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAoEpD;;;;;;;;GAQG;AACH,MAAM,UAAU,YAAY,CAAC,MAA2B;IACpD,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACjD,MAAM,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,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,CAAC;IAEF,OAAO,eAAe,iCACf,MAAM,KACT,OAAO;QACP,SAAS;QACT,QAAQ;QACR,QAAQ;QACR,MAAM;QACN,OAAO;QACP,MAAM,IACR,CAAC;AACP,CAAC"}
|