@gooddata/sdk-ui 8.10.0-alpha.9 → 8.10.0-alpha.90
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/README.md +3 -3
- 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 +6 -6
- package/dist/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/dist/base/headerMatching/MappingHeader.d.ts +3 -1
- package/dist/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/dist/base/headerMatching/MappingHeader.js +13 -13
- 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/index.d.ts +4 -2
- package/dist/base/index.d.ts.map +1 -1
- package/dist/base/index.js +9 -1
- package/dist/base/index.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/localization/bundles/de-DE.json +41 -3
- package/dist/base/localization/bundles/en-US.json +317 -11
- package/dist/base/localization/bundles/es-ES.json +50 -12
- package/dist/base/localization/bundles/fr-FR.json +40 -2
- package/dist/base/localization/bundles/ja-JP.json +40 -2
- package/dist/base/localization/bundles/nl-NL.json +40 -2
- package/dist/base/localization/bundles/pt-BR.json +40 -2
- package/dist/base/localization/bundles/pt-PT.json +40 -2
- package/dist/base/localization/bundles/ru-RU.json +40 -2
- package/dist/base/localization/bundles/zh-Hans.json +41 -3
- package/dist/base/measureFormats/fillMissingFormat.d.ts +12 -0
- package/dist/base/measureFormats/fillMissingFormat.d.ts.map +1 -0
- package/dist/base/measureFormats/fillMissingFormat.js +27 -0
- package/dist/base/measureFormats/fillMissingFormat.js.map +1 -0
- package/dist/base/measureFormats/fillMissingFormats.d.ts +12 -0
- package/dist/base/measureFormats/fillMissingFormats.d.ts.map +1 -0
- package/dist/base/measureFormats/fillMissingFormats.js +20 -0
- package/dist/base/measureFormats/fillMissingFormats.js.map +1 -0
- package/dist/base/measureTitles/fillMissingTitles.d.ts.map +1 -1
- package/dist/base/measureTitles/fillMissingTitles.js +4 -13
- package/dist/base/measureTitles/fillMissingTitles.js.map +1 -1
- package/dist/base/react/BackendContext.d.ts +7 -3
- package/dist/base/react/BackendContext.d.ts.map +1 -1
- package/dist/base/react/BackendContext.js +8 -4
- package/dist/base/react/BackendContext.js.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +12 -3
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +14 -3
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts +6 -0
- package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/interfaces.js +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 +7 -3
- package/dist/base/react/WorkspaceContext.d.ts.map +1 -1
- package/dist/base/react/WorkspaceContext.js +8 -4
- package/dist/base/react/WorkspaceContext.js.map +1 -1
- package/dist/base/react/legacy/availableDrillTargets.d.ts +1 -1
- package/dist/base/react/legacy/availableDrillTargets.d.ts.map +1 -1
- package/dist/base/react/legacy/availableDrillTargets.js +1 -1
- package/dist/base/react/legacy/availableDrillTargets.js.map +1 -1
- package/dist/base/react/placeholders/base.d.ts +76 -42
- 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 +13 -3
- package/dist/base/react/placeholders/hooks.d.ts.map +1 -1
- package/dist/base/react/placeholders/hooks.js +14 -4
- package/dist/base/react/placeholders/hooks.js.map +1 -1
- package/dist/base/react/placeholders/resolve.d.ts.map +1 -1
- package/dist/base/react/placeholders/resolve.js +5 -3
- package/dist/base/react/placeholders/resolve.js.map +1 -1
- package/dist/base/react/useCancelablePromise.d.ts +17 -11
- package/dist/base/react/useCancelablePromise.d.ts.map +1 -1
- package/dist/base/react/useCancelablePromise.js +9 -3
- package/dist/base/react/useCancelablePromise.js.map +1 -1
- package/dist/base/react/useCancelablePromiseUtils.d.ts +5 -3
- package/dist/base/react/useCancelablePromiseUtils.d.ts.map +1 -1
- package/dist/base/react/useCancelablePromiseUtils.js +6 -4
- package/dist/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/dist/base/results/dataAccess.d.ts +32 -12
- package/dist/base/results/dataAccess.d.ts.map +1 -1
- package/dist/base/results/dataAccessConfig.d.ts +5 -2
- 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 +10 -8
- package/dist/base/results/facade.d.ts.map +1 -1
- package/dist/base/results/facade.js +9 -7
- package/dist/base/results/facade.js.map +1 -1
- package/dist/base/results/internal/dataAccessDigest.d.ts +2 -2
- package/dist/base/results/internal/dataAccessDigest.d.ts.map +1 -1
- package/dist/base/results/internal/dataAccessDigest.js +5 -7
- package/dist/base/results/internal/dataAccessDigest.js.map +1 -1
- package/dist/base/results/internal/dataAccessImpl.d.ts.map +1 -1
- package/dist/base/results/internal/dataAccessImpl.js +6 -6
- package/dist/base/results/internal/dataAccessImpl.js.map +1 -1
- package/dist/base/results/internal/dataAccessMethods.d.ts.map +1 -1
- package/dist/base/results/internal/dataAccessMethods.js +1 -1
- package/dist/base/results/internal/dataAccessMethods.js.map +1 -1
- package/dist/base/results/internal/definitionMethods.d.ts +1 -1
- package/dist/base/results/internal/definitionMethods.js +1 -1
- package/dist/base/results/internal/resultDataMethods.d.ts +3 -2
- package/dist/base/results/internal/resultDataMethods.d.ts.map +1 -1
- package/dist/base/results/internal/resultDataMethods.js.map +1 -1
- package/dist/base/results/internal/resultMetaMethods.d.ts +3 -3
- package/dist/base/results/internal/resultMetaMethods.d.ts.map +1 -1
- package/dist/base/results/internal/resultMetaMethods.js +9 -10
- package/dist/base/results/internal/resultMetaMethods.js.map +1 -1
- package/dist/base/results/internal/utils.d.ts +2 -1
- package/dist/base/results/internal/utils.d.ts.map +1 -1
- package/dist/base/results/internal/utils.js +1 -1
- package/dist/base/vis/DrillEvents.d.ts +4 -1
- package/dist/base/vis/DrillEvents.d.ts.map +1 -1
- package/dist/base/vis/DrillEvents.js.map +1 -1
- package/dist/base/vis/Events.d.ts +2 -2
- package/dist/base/vis/Events.d.ts.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/base/vis/drilling.js +6 -6
- package/dist/base/vis/drilling.js.map +1 -1
- package/dist/base/vis/export.d.ts +1 -1
- package/dist/base/vis/export.js +3 -3
- package/dist/base/vis/export.js.map +1 -1
- package/dist/execution/DataViewLoader.d.ts +70 -0
- package/dist/execution/DataViewLoader.d.ts.map +1 -0
- package/dist/execution/DataViewLoader.js +146 -0
- package/dist/execution/DataViewLoader.js.map +1 -0
- package/dist/execution/Execute.d.ts +36 -20
- package/dist/execution/Execute.d.ts.map +1 -1
- package/dist/execution/Execute.js +7 -5
- package/dist/execution/Execute.js.map +1 -1
- package/dist/execution/ExecuteInsight.d.ts +47 -16
- package/dist/execution/ExecuteInsight.d.ts.map +1 -1
- package/dist/execution/ExecuteInsight.js +7 -5
- 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 +9 -6
- package/dist/execution/createExecution.d.ts.map +1 -1
- package/dist/execution/createExecution.js.map +1 -1
- package/dist/execution/index.d.ts +3 -2
- package/dist/execution/index.d.ts.map +1 -1
- package/dist/execution/index.js +4 -2
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/useDataExport.d.ts +5 -3
- package/dist/execution/useDataExport.d.ts.map +1 -1
- package/dist/execution/useDataExport.js +3 -1
- package/dist/execution/useDataExport.js.map +1 -1
- package/dist/execution/useDataView.d.ts +5 -0
- package/dist/execution/useDataView.d.ts.map +1 -1
- package/dist/execution/useDataView.js +3 -0
- package/dist/execution/useDataView.js.map +1 -1
- package/dist/execution/useExecution.d.ts +17 -9
- package/dist/execution/useExecution.d.ts.map +1 -1
- package/dist/execution/useExecution.js +3 -0
- package/dist/execution/useExecution.js.map +1 -1
- package/dist/execution/useExecutionDataView.d.ts +32 -15
- package/dist/execution/useExecutionDataView.d.ts.map +1 -1
- package/dist/execution/useExecutionDataView.js +3 -3
- package/dist/execution/useExecutionDataView.js.map +1 -1
- package/dist/execution/useInsightDataView.d.ts +39 -9
- package/dist/execution/useInsightDataView.d.ts.map +1 -1
- package/dist/execution/useInsightDataView.js +10 -4
- 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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.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/polyfills.d.ts.map +1 -1
- package/dist/polyfills.js +3 -1
- package/dist/polyfills.js.map +1 -1
- package/dist/sdk-ui.d.ts +573 -215
- 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 +2 -2
- package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/esm/base/headerMatching/MappingHeader.d.ts +3 -1
- package/esm/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/esm/base/headerMatching/MappingHeader.js +2 -2
- 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/index.d.ts +4 -2
- package/esm/base/index.d.ts.map +1 -1
- package/esm/base/index.js +6 -1
- package/esm/base/index.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/localization/bundles/de-DE.json +41 -3
- package/esm/base/localization/bundles/en-US.json +317 -11
- package/esm/base/localization/bundles/es-ES.json +50 -12
- package/esm/base/localization/bundles/fr-FR.json +40 -2
- package/esm/base/localization/bundles/ja-JP.json +40 -2
- package/esm/base/localization/bundles/nl-NL.json +40 -2
- package/esm/base/localization/bundles/pt-BR.json +40 -2
- package/esm/base/localization/bundles/pt-PT.json +40 -2
- package/esm/base/localization/bundles/ru-RU.json +40 -2
- package/esm/base/localization/bundles/zh-Hans.json +41 -3
- package/esm/base/measureFormats/fillMissingFormat.d.ts +12 -0
- package/esm/base/measureFormats/fillMissingFormat.d.ts.map +1 -0
- package/esm/base/measureFormats/fillMissingFormat.js +23 -0
- package/esm/base/measureFormats/fillMissingFormat.js.map +1 -0
- package/esm/base/measureFormats/fillMissingFormats.d.ts +12 -0
- package/esm/base/measureFormats/fillMissingFormats.d.ts.map +1 -0
- package/esm/base/measureFormats/fillMissingFormats.js +16 -0
- package/esm/base/measureFormats/fillMissingFormats.js.map +1 -0
- package/esm/base/measureTitles/fillMissingTitles.d.ts.map +1 -1
- package/esm/base/measureTitles/fillMissingTitles.js +5 -14
- package/esm/base/measureTitles/fillMissingTitles.js.map +1 -1
- package/esm/base/react/BackendContext.d.ts +7 -3
- package/esm/base/react/BackendContext.d.ts.map +1 -1
- package/esm/base/react/BackendContext.js +8 -4
- package/esm/base/react/BackendContext.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +12 -3
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +14 -2
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts +6 -0
- package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/interfaces.js +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 +7 -3
- package/esm/base/react/WorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/WorkspaceContext.js +8 -4
- package/esm/base/react/WorkspaceContext.js.map +1 -1
- package/esm/base/react/legacy/availableDrillTargets.d.ts +1 -1
- package/esm/base/react/legacy/availableDrillTargets.d.ts.map +1 -1
- package/esm/base/react/legacy/availableDrillTargets.js +1 -1
- package/esm/base/react/legacy/availableDrillTargets.js.map +1 -1
- package/esm/base/react/placeholders/base.d.ts +76 -42
- 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 +13 -3
- package/esm/base/react/placeholders/hooks.d.ts.map +1 -1
- package/esm/base/react/placeholders/hooks.js +14 -4
- package/esm/base/react/placeholders/hooks.js.map +1 -1
- package/esm/base/react/placeholders/resolve.d.ts.map +1 -1
- package/esm/base/react/placeholders/resolve.js +5 -3
- package/esm/base/react/placeholders/resolve.js.map +1 -1
- package/esm/base/react/useCancelablePromise.d.ts +17 -11
- package/esm/base/react/useCancelablePromise.d.ts.map +1 -1
- package/esm/base/react/useCancelablePromise.js +9 -3
- package/esm/base/react/useCancelablePromise.js.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.d.ts +5 -3
- package/esm/base/react/useCancelablePromiseUtils.d.ts.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.js +6 -4
- package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/esm/base/results/dataAccess.d.ts +32 -12
- package/esm/base/results/dataAccess.d.ts.map +1 -1
- package/esm/base/results/dataAccessConfig.d.ts +5 -2
- 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 +10 -8
- package/esm/base/results/facade.d.ts.map +1 -1
- package/esm/base/results/facade.js +9 -7
- package/esm/base/results/facade.js.map +1 -1
- package/esm/base/results/internal/dataAccessDigest.d.ts +2 -2
- package/esm/base/results/internal/dataAccessDigest.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessDigest.js +1 -3
- package/esm/base/results/internal/dataAccessDigest.js.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.js +1 -1
- package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
- package/esm/base/results/internal/dataAccessMethods.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessMethods.js +2 -2
- package/esm/base/results/internal/dataAccessMethods.js.map +1 -1
- package/esm/base/results/internal/definitionMethods.d.ts +1 -1
- package/esm/base/results/internal/definitionMethods.js +1 -1
- package/esm/base/results/internal/resultDataMethods.d.ts +3 -2
- package/esm/base/results/internal/resultDataMethods.d.ts.map +1 -1
- package/esm/base/results/internal/resultDataMethods.js.map +1 -1
- package/esm/base/results/internal/resultMetaMethods.d.ts +3 -3
- package/esm/base/results/internal/resultMetaMethods.d.ts.map +1 -1
- package/esm/base/results/internal/resultMetaMethods.js +3 -4
- package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
- package/esm/base/results/internal/utils.d.ts +2 -1
- package/esm/base/results/internal/utils.d.ts.map +1 -1
- package/esm/base/results/internal/utils.js +1 -1
- package/esm/base/vis/DrillEvents.d.ts +4 -1
- package/esm/base/vis/DrillEvents.d.ts.map +1 -1
- package/esm/base/vis/DrillEvents.js.map +1 -1
- package/esm/base/vis/Events.d.ts +2 -2
- package/esm/base/vis/Events.d.ts.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/base/vis/drilling.js +3 -3
- package/esm/base/vis/drilling.js.map +1 -1
- package/esm/base/vis/export.d.ts +1 -1
- package/esm/base/vis/export.js +3 -3
- package/esm/base/vis/export.js.map +1 -1
- package/esm/execution/DataViewLoader.d.ts +70 -0
- package/esm/execution/DataViewLoader.d.ts.map +1 -0
- package/esm/execution/DataViewLoader.js +143 -0
- package/esm/execution/DataViewLoader.js.map +1 -0
- package/esm/execution/Execute.d.ts +36 -20
- package/esm/execution/Execute.d.ts.map +1 -1
- package/esm/execution/Execute.js +7 -5
- package/esm/execution/Execute.js.map +1 -1
- package/esm/execution/ExecuteInsight.d.ts +47 -16
- package/esm/execution/ExecuteInsight.d.ts.map +1 -1
- package/esm/execution/ExecuteInsight.js +7 -5
- 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 +9 -6
- package/esm/execution/createExecution.d.ts.map +1 -1
- package/esm/execution/createExecution.js.map +1 -1
- package/esm/execution/index.d.ts +3 -2
- package/esm/execution/index.d.ts.map +1 -1
- package/esm/execution/index.js +3 -2
- package/esm/execution/index.js.map +1 -1
- package/esm/execution/useDataExport.d.ts +5 -3
- package/esm/execution/useDataExport.d.ts.map +1 -1
- package/esm/execution/useDataExport.js +3 -1
- package/esm/execution/useDataExport.js.map +1 -1
- package/esm/execution/useDataView.d.ts +5 -0
- package/esm/execution/useDataView.d.ts.map +1 -1
- package/esm/execution/useDataView.js +3 -0
- package/esm/execution/useDataView.js.map +1 -1
- package/esm/execution/useExecution.d.ts +17 -9
- package/esm/execution/useExecution.d.ts.map +1 -1
- package/esm/execution/useExecution.js +3 -0
- package/esm/execution/useExecution.js.map +1 -1
- package/esm/execution/useExecutionDataView.d.ts +32 -15
- package/esm/execution/useExecutionDataView.d.ts.map +1 -1
- package/esm/execution/useExecutionDataView.js +3 -3
- package/esm/execution/useExecutionDataView.js.map +1 -1
- package/esm/execution/useInsightDataView.d.ts +39 -9
- package/esm/execution/useInsightDataView.d.ts.map +1 -1
- package/esm/execution/useInsightDataView.js +10 -4
- 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/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +2 -1
- package/esm/index.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/esm/polyfills.d.ts.map +1 -1
- package/esm/polyfills.js +3 -1
- package/esm/polyfills.js.map +1 -1
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +10 -10
|
@@ -5,12 +5,13 @@ import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
|
5
5
|
import { IExecuteErrorComponent, IExecuteLoadingComponent } from "./interfaces";
|
|
6
6
|
/**
|
|
7
7
|
* Props of the {@link ExecuteInsight} component.
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*/
|
|
10
10
|
export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsightProps> {
|
|
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,48 @@ 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
|
-
*
|
|
79
|
-
*
|
|
88
|
+
* Indicates that the execution to obtain the data for the insight should be an 'execution by reference'.
|
|
89
|
+
*
|
|
90
|
+
* Execution by reference means that the ExecuteInsight will ask analytical backend to compute results for an insight
|
|
91
|
+
* which is stored on the backend by specifying link to the insight, additional filters and description how
|
|
92
|
+
* to organize the data.
|
|
93
|
+
*
|
|
94
|
+
* Otherwise, a freeform execution is done, in which the InsightView will send to backend the full execution
|
|
95
|
+
* definition of what to compute.
|
|
96
|
+
*
|
|
97
|
+
* This distinction is in place because some backends MAY want to prohibit users from doing freeform executions
|
|
98
|
+
* and only allow computing data for set of insights created by admins.
|
|
99
|
+
*
|
|
100
|
+
* Note: the need for execute by reference is rare. You will typically be notified by the solution admin to use
|
|
101
|
+
* this mode.
|
|
102
|
+
*/
|
|
103
|
+
executeByReference?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Child component to which rendering is delegated.
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
* This is a function that will be called every time state of execution and data loading changes.
|
|
80
109
|
*
|
|
81
110
|
* @param executionResult - execution result, indicating state and/or results
|
|
82
111
|
*/
|
|
83
112
|
children: (executionResult: WithLoadingResult) => React.ReactElement | null;
|
|
84
113
|
/**
|
|
85
|
-
*
|
|
114
|
+
* Provide component for rendering of the loading state.
|
|
86
115
|
*
|
|
116
|
+
* @remarks
|
|
87
117
|
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
88
118
|
* will be called only with a successful result.
|
|
89
119
|
*/
|
|
90
120
|
LoadingComponent?: IExecuteLoadingComponent;
|
|
91
121
|
/**
|
|
92
|
-
*
|
|
122
|
+
* Provide component for rendering of the error state.
|
|
93
123
|
*
|
|
124
|
+
* @remarks
|
|
94
125
|
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
95
126
|
* will be called only with a successful result.
|
|
96
127
|
*/
|
|
@@ -99,7 +130,7 @@ export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsight
|
|
|
99
130
|
/**
|
|
100
131
|
* Gets data for a specific stored insight.
|
|
101
132
|
*
|
|
102
|
-
* @
|
|
133
|
+
* @public
|
|
103
134
|
*/
|
|
104
135
|
export declare const ExecuteInsight: React.ComponentType<IExecuteInsightProps>;
|
|
105
136
|
//# sourceMappingURL=ExecuteInsight.d.ts.map
|
|
@@ -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,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAGhF;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF
|
|
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,EAAE,MAAM,2BAA2B,CAAC;AAG/D,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAGhF;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,oBAAoB,EAAE,KAAK,EAAE,oBAAoB,KAAK,SAAS,EAAE,CAAC,CAAC;IAEhG;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,GAAG,EAAE,oBAAoB,EAAE,KAAK,EAAE,oBAAoB,KAAK,UAAU,EAAE,CAAC,CAAC;IAEvG;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,oBAAoB,EAAE,KAAK,EAAE,oBAAoB,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;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;;;;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,2CA4F1B,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExecuteInsight = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019 GoodData Corporation
|
|
5
|
+
// (C) 2019-2022 GoodData Corporation
|
|
6
6
|
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
7
|
var withExecution_1 = require("./withExecution");
|
|
8
8
|
var isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
|
|
@@ -35,22 +35,24 @@ function exportTitle(props) {
|
|
|
35
35
|
/**
|
|
36
36
|
* Gets data for a specific stored insight.
|
|
37
37
|
*
|
|
38
|
-
* @
|
|
38
|
+
* @public
|
|
39
39
|
*/
|
|
40
40
|
exports.ExecuteInsight = base_1.withContexts(withExecution_1.withExecution({
|
|
41
41
|
exportTitle: exportTitle,
|
|
42
42
|
execution: function (props) { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
43
|
-
var insightRef, filters, sorts, dimensions, dateFormat, backend, workspace, insight, insightExecution, resolvedSorts, resolvedDimensions, resolvedDateFormat;
|
|
43
|
+
var insightRef, filters, sorts, dimensions, dateFormat, backend, workspace, executeByReference, insight, executionFactory, executeFn, insightExecution, resolvedSorts, resolvedDimensions, resolvedDateFormat;
|
|
44
44
|
return tslib_1.__generator(this, function (_a) {
|
|
45
45
|
switch (_a.label) {
|
|
46
46
|
case 0:
|
|
47
|
-
insightRef = props.insight, filters = props.filters, sorts = props.sorts, dimensions = props.dimensions, dateFormat = props.dateFormat, backend = props.backend, workspace = props.workspace;
|
|
47
|
+
insightRef = props.insight, filters = props.filters, sorts = props.sorts, dimensions = props.dimensions, dateFormat = props.dateFormat, backend = props.backend, workspace = props.workspace, executeByReference = props.executeByReference;
|
|
48
48
|
ts_invariant_1.default(backend, "The backend in ExecuteInsight must be defined. Either pass it as a prop or make sure there is a BackendProvider up the component tree.");
|
|
49
49
|
ts_invariant_1.default(workspace, "The workspace in ExecuteInsight must be defined. Either pass it as a prop or make sure there is a WorkspaceProvider up the component tree.");
|
|
50
50
|
return [4 /*yield*/, backend.workspace(workspace).insights().getInsight(insightRef)];
|
|
51
51
|
case 1:
|
|
52
52
|
insight = _a.sent();
|
|
53
|
-
|
|
53
|
+
executionFactory = backend.workspace(workspace).execution();
|
|
54
|
+
executeFn = (executeByReference ? executionFactory.forInsightByRef : executionFactory.forInsight).bind(executionFactory);
|
|
55
|
+
insightExecution = executeFn(insight, filters);
|
|
54
56
|
if (sorts) {
|
|
55
57
|
resolvedSorts = typeof sorts === "function" ? sorts(insightExecution.definition, props) : sorts;
|
|
56
58
|
insightExecution = insightExecution.withSorting.apply(insightExecution, tslib_1.__spread(resolvedSorts));
|
|
@@ -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":"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"}
|
|
@@ -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"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RawExecute = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019 GoodData Corporation
|
|
5
|
+
// (C) 2019-2022 GoodData Corporation
|
|
6
6
|
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
7
|
var withExecution_1 = require("./withExecution");
|
|
8
8
|
var isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
|
|
@@ -31,6 +31,7 @@ function exportTitle(props) {
|
|
|
31
31
|
* Raw executor is the most basic React component to drive custom executions to obtain
|
|
32
32
|
* data from backends.
|
|
33
33
|
*
|
|
34
|
+
* @remarks
|
|
34
35
|
* The component accepts an instance of prepared execution and drives all the necessary
|
|
35
36
|
* APIs and boilerplate needed to obtain a {@link DataViewFacade}.
|
|
36
37
|
* 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,wDAA0B;AAE1B,iDAAgD;AAEhD,mEAAqC;AA6ErC,IAAM,YAAY,GAAoB,UAAC,KAAY;IACvC,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,OAA5C,EAAE,gBAAgB,GAAqB,KAAK,iBAA1B,EAAE,cAAc,GAAK,KAAK,eAAV,CAAW;IAE/F,IAAI,cAAc,IAAI,KAAK,EAAE;QACzB,OAAO,8BAAC,cAAc,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;KAC3C;IAED,IAAI,gBAAgB,IAAI,SAAS,EAAE;QAC/B,OAAO,8BAAC,gBAAgB,OAAG,CAAC;KAC/B;IAED,IAAI,gBAAgB,IAAI,cAAc,IAAI,CAAC,MAAM,EAAE;QAC/C,OAAO,IAAI,CAAC;KACf;IAED,OAAO,QAAQ,CAAC;QACZ,KAAK,OAAA;QACL,SAAS,WAAA;QACT,MAAM,QAAA;QACN,MAAM,QAAA;KACT,CAAC,CAAC;AACP,CAAC,CAAC;AAEF,SAAS,WAAW,CAAC,KAAuB;IACxC,OAAO,KAAK,CAAC,WAAW,IAAI,YAAY,CAAC;AAC7C,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACU,QAAA,UAAU,GAAG,6BAAa,CAAmB;IACtD,WAAW,aAAA;IACX,SAAS,EAAE,UAAC,KAAuB,IAAK,OAAA,KAAK,CAAC,SAAS,EAAf,CAAe;IACvD,MAAM,EAAE,UAAC,KAAuB;QACpB,IAAA,OAAO,GAAuE,KAAK,QAA5E,EAAE,gBAAgB,GAAqD,KAAK,iBAA1D,EAAE,eAAe,GAAoC,KAAK,gBAAzC,EAAE,cAAc,GAAoB,KAAK,eAAzB,EAAE,aAAa,GAAK,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,iBAAO,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"}
|
|
@@ -19,28 +19,31 @@ export declare type CreateExecutionOptions = {
|
|
|
19
19
|
*/
|
|
20
20
|
workspace?: string;
|
|
21
21
|
/**
|
|
22
|
-
* Data series will be built using the provided measures that are
|
|
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[];
|
|
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,iDAW6B;AAE7B,mEAAqC;AACrC,sEAAqC;
|
|
1
|
+
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,iDAW6B;AAE7B,mEAAqC;AACrC,sEAAqC;AA6DrC;;GAEG;AACH,SAAS,aAAa,CAAC,QAA+B;IAClD,OAAO,CAAC,wBAAY,kBAAK,QAAQ,CAAC,MAAM,CAAC,uBAAW,CAAC,GAAE,kCAAsB,GAAE,CAAC,CAAC;AACrF,CAAC;AAED;;;;;;GAMG;AACH,SAAS,kBAAkB,CACvB,QAA+B,EAC/B,MAAoB,EACpB,MAAgB;IAEhB,OAAO,6BAAiB,kBAChB,MAAM,EAAK,MAAM,oBACjB,QAAQ,CAAC,MAAM,CAAC,uBAAW,CAAC,GAAE,kCAAsB,GAC3D,CAAC;AACN,CAAC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,OAA+B;;IAEvD,IAAA,OAAO,GAQP,OAAO,QARA,EACP,SAAS,GAOT,OAAO,UAPE,EACT,QAAQ,GAMR,OAAO,SANC,EACR,KAKA,OAAO,SALM,EAAb,QAAQ,mBAAG,EAAE,KAAA,EACb,KAIA,OAAO,QAJK,EAAZ,OAAO,mBAAG,EAAE,KAAA,EACZ,KAGA,OAAO,OAHI,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,KAEA,OAAO,OAFI,EAAX,MAAM,mBAAG,EAAE,KAAA,EACX,KACA,OAAO,cADoB,EAA3B,aAAa,mBAAG,WAAW,KAAA,CACnB;IACZ,sBAAS,CACL,OAAO,IAAI,SAAS,EACpB,qFAAqF,CACxF,CAAC;IAEF,IAAM,UAAU,GAAG,iBAAO,CAAC,QAAQ,CAAC;QAChC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC;QACzB,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAErD,OAAO,CAAA,KAAA,CAAA,KAAA,OAAO;SACT,aAAa,CAAC,aAAa,EAAE,OAAO,CAAC;SACrC,SAAS,CAAC,SAAS,CAAC;SACpB,SAAS,EAAE;SACX,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAA;SAC5C,WAAW,4BAAI,MAAM,EAAC,CAAA;SACtB,cAAc,4BAAI,UAAU,GAAE;AACvC,CAAC;AA3BD,0CA2BC"}
|
|
@@ -5,8 +5,9 @@ export { Execute, IExecuteProps } from "./Execute";
|
|
|
5
5
|
export { useDataExport, UseDataExportCallbacks, UseDataExportState } from "./useDataExport";
|
|
6
6
|
export { useDataView, UseDataViewCallbacks, UseDataViewState } from "./useDataView";
|
|
7
7
|
export { useExecution, IUseExecutionConfig } from "./useExecution";
|
|
8
|
-
export { IExecutionConfiguration, IUseExecutionDataViewConfig, useExecutionDataView, } from "./useExecutionDataView";
|
|
9
|
-
export { IUseInsightDataViewConfig, useInsightDataView } from "./useInsightDataView";
|
|
8
|
+
export { IExecutionConfiguration, IUseExecutionDataViewConfig, UseExecutionDataViewCallbacks, useExecutionDataView, } from "./useExecutionDataView";
|
|
9
|
+
export { IUseInsightDataViewConfig, UseInsightDataViewCallbacks, useInsightDataView, } from "./useInsightDataView";
|
|
10
10
|
export { ExecuteInsight, IExecuteInsightProps } from "./ExecuteInsight";
|
|
11
11
|
export { IExecuteErrorComponent, IExecuteErrorComponentProps, IExecuteLoadingComponent } from "./interfaces";
|
|
12
|
+
export { DataViewLoader } from "./DataViewLoader";
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EACH,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EACH,uBAAuB,EACvB,2BAA2B,EAC3B,oBAAoB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAChE,OAAO,EACH,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EACH,uBAAuB,EACvB,2BAA2B,EAC3B,6BAA6B,EAC7B,oBAAoB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,yBAAyB,EACzB,2BAA2B,EAC3B,kBAAkB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC7G,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/execution/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// (C) 2020-
|
|
2
|
+
// (C) 2020-2022 GoodData Corporation
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ExecuteInsight = exports.useInsightDataView = exports.useExecutionDataView = exports.useExecution = exports.useDataView = exports.useDataExport = exports.Execute = exports.RawExecute = exports.withExecutionLoading = exports.withExecution = void 0;
|
|
4
|
+
exports.DataViewLoader = exports.ExecuteInsight = exports.useInsightDataView = exports.useExecutionDataView = exports.useExecution = exports.useDataView = exports.useDataExport = exports.Execute = exports.RawExecute = exports.withExecutionLoading = exports.withExecution = void 0;
|
|
5
5
|
var withExecution_1 = require("./withExecution");
|
|
6
6
|
Object.defineProperty(exports, "withExecution", { enumerable: true, get: function () { return withExecution_1.withExecution; } });
|
|
7
7
|
var withExecutionLoading_1 = require("./withExecutionLoading");
|
|
@@ -22,4 +22,6 @@ var useInsightDataView_1 = require("./useInsightDataView");
|
|
|
22
22
|
Object.defineProperty(exports, "useInsightDataView", { enumerable: true, get: function () { return useInsightDataView_1.useInsightDataView; } });
|
|
23
23
|
var ExecuteInsight_1 = require("./ExecuteInsight");
|
|
24
24
|
Object.defineProperty(exports, "ExecuteInsight", { enumerable: true, get: function () { return ExecuteInsight_1.ExecuteInsight; } });
|
|
25
|
+
var DataViewLoader_1 = require("./DataViewLoader");
|
|
26
|
+
Object.defineProperty(exports, "DataViewLoader", { enumerable: true, get: function () { return DataViewLoader_1.DataViewLoader; } });
|
|
25
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAErC,iDAAgE;AAAvD,8GAAA,aAAa,OAAA;AACtB,+DAMgC;AAL5B,4HAAA,oBAAoB,OAAA;AAMxB,2CAA4D;AAAnD,wGAAA,UAAU,OAAA;AACnB,qCAAmD;AAA1C,kGAAA,OAAO,OAAA;AAChB,iDAA4F;AAAnF,8GAAA,aAAa,OAAA;AACtB,6CAAoF;AAA3E,0GAAA,WAAW,OAAA;AACpB,+CAAmE;AAA1D,4GAAA,YAAY,OAAA;AACrB,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAErC,iDAAgE;AAAvD,8GAAA,aAAa,OAAA;AACtB,+DAMgC;AAL5B,4HAAA,oBAAoB,OAAA;AAMxB,2CAA4D;AAAnD,wGAAA,UAAU,OAAA;AACnB,qCAAmD;AAA1C,kGAAA,OAAO,OAAA;AAChB,iDAA4F;AAAnF,8GAAA,aAAa,OAAA;AACtB,6CAAoF;AAA3E,0GAAA,WAAW,OAAA;AACpB,+CAAmE;AAA1D,4GAAA,YAAY,OAAA;AACrB,+DAKgC;AAD5B,4HAAA,oBAAoB,OAAA;AAExB,2DAI8B;AAD1B,wHAAA,kBAAkB,OAAA;AAEtB,mDAAwE;AAA/D,gHAAA,cAAc,OAAA;AAEvB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA"}
|
|
@@ -3,20 +3,22 @@ import { IExportConfig, IPreparedExecution } from "@gooddata/sdk-backend-spi";
|
|
|
3
3
|
import { GoodDataSdkError, UseCancelablePromiseCallbacks, UseCancelablePromiseState } from "../base";
|
|
4
4
|
/**
|
|
5
5
|
* Indicates current state of useDataExport hook
|
|
6
|
-
* @
|
|
6
|
+
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare type UseDataExportState = UseCancelablePromiseState<string, GoodDataSdkError>;
|
|
9
9
|
/**
|
|
10
10
|
* Callbacks for useDataExport hook
|
|
11
|
-
* @
|
|
11
|
+
* @public
|
|
12
12
|
*/
|
|
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
|
*
|
|
19
|
-
* @
|
|
21
|
+
* @public
|
|
20
22
|
*/
|
|
21
23
|
export declare function useDataExport({ execution, exportConfig, onCancel, onError, onLoading, onPending, onSuccess, }: {
|
|
22
24
|
execution: IPreparedExecution | undefined | null;
|
|
@@ -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"}
|
|
@@ -4,10 +4,12 @@ exports.useDataExport = void 0;
|
|
|
4
4
|
var base_1 = require("../base");
|
|
5
5
|
/**
|
|
6
6
|
* This hook provides easy way to export data in your preferred format (csv/xlsx/raw) for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
7
9
|
* As a result, you will receive a string with uri, so you can easily create a download link.
|
|
8
10
|
* Be aware that execution is re-executed only on dependency list change, not on execution/exportConfig/callbacks change.
|
|
9
11
|
*
|
|
10
|
-
* @
|
|
12
|
+
* @public
|
|
11
13
|
*/
|
|
12
14
|
function useDataExport(_a, deps) {
|
|
13
15
|
var execution = _a.execution, _b = _a.exportConfig, exportConfig = _b === void 0 ? {} : _b, onCancel = _a.onCancel, onError = _a.onError, onLoading = _a.onLoading, onPending = _a.onPending, onSuccess = _a.onSuccess;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataExport.js","sourceRoot":"","sources":["../../src/execution/useDataExport.ts"],"names":[],"mappings":";;;AAGA,gCAMiB;AAcjB
|
|
1
|
+
{"version":3,"file":"useDataExport.js","sourceRoot":"","sources":["../../src/execution/useDataExport.ts"],"names":[],"mappings":";;;AAGA,gCAMiB;AAcjB;;;;;;;;GAQG;AACH,SAAgB,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,2BAAoB,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,mBAAY,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;AArCD,sCAqCC"}
|
|
@@ -4,19 +4,24 @@ import { DataViewWindow } from "./withExecutionLoading";
|
|
|
4
4
|
import { DataViewFacade, GoodDataSdkError, UseCancelablePromiseCallbacks, UseCancelablePromiseState } from "../base";
|
|
5
5
|
/**
|
|
6
6
|
* Indicates current state of useDataView hook
|
|
7
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
7
8
|
* @beta
|
|
8
9
|
*/
|
|
9
10
|
export declare type UseDataViewState = UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
|
|
10
11
|
/**
|
|
11
12
|
* Callbacks for useDataView hook
|
|
13
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
12
14
|
* @beta
|
|
13
15
|
*/
|
|
14
16
|
export declare type UseDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
|
|
15
17
|
/**
|
|
16
18
|
* This hook provides easy way to get data for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
17
21
|
* You can use it to create custom visualizations on top of GoodData platform.
|
|
18
22
|
* Be aware that execution is re-executed only on dependency list change, not on execution/window/callbacks change.
|
|
19
23
|
*
|
|
24
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
20
25
|
* @beta
|
|
21
26
|
*/
|
|
22
27
|
export declare function useDataView({ execution, window, onCancel, onError, onLoading, onPending, onSuccess, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAEH,cAAc,EACd,gBAAgB,EAEhB,6BAA6B,EAC7B,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AAEjB
|
|
1
|
+
{"version":3,"file":"useDataView.d.ts","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAEH,cAAc,EACd,gBAAgB,EAEhB,6BAA6B,EAC7B,yBAAyB,EAC5B,MAAM,SAAS,CAAC;AAEjB;;;;GAIG;AACH,oBAAY,gBAAgB,GAAG,yBAAyB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAE3F;;;;GAIG;AACH,oBAAY,oBAAoB,GAAG,6BAA6B,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAEnG;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CACvB,EACI,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACZ,EAAE;IACC,SAAS,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI,CAAC;IACjD,MAAM,CAAC,EAAE,cAAc,CAAC;CAC3B,GAAG,oBAAoB,EACxB,IAAI,CAAC,EAAE,cAAc,GACtB,gBAAgB,CA2BlB"}
|
|
@@ -4,9 +4,12 @@ exports.useDataView = void 0;
|
|
|
4
4
|
var base_1 = require("../base");
|
|
5
5
|
/**
|
|
6
6
|
* This hook provides easy way to get data for the provided {@link @gooddata/sdk-backend-spi#IPreparedExecution}.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
7
9
|
* You can use it to create custom visualizations on top of GoodData platform.
|
|
8
10
|
* Be aware that execution is re-executed only on dependency list change, not on execution/window/callbacks change.
|
|
9
11
|
*
|
|
12
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
10
13
|
* @beta
|
|
11
14
|
*/
|
|
12
15
|
function useDataView(_a, deps) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataView.js","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":";;;AAIA,gCAOiB;
|
|
1
|
+
{"version":3,"file":"useDataView.js","sourceRoot":"","sources":["../../src/execution/useDataView.ts"],"names":[],"mappings":";;;AAIA,gCAOiB;AAgBjB;;;;;;;;;GASG;AACH,SAAgB,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,2BAAoB,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,qBAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;gBACxC,CAAC,CAAC;qBACD,KAAK,CAAC,UAAC,KAAK;oBACT,MAAM,mBAAY,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;AAzCD,kCAyCC"}
|
|
@@ -1,38 +1,41 @@
|
|
|
1
1
|
import { IAnalyticalBackend, IPreparedExecution } from "@gooddata/sdk-backend-spi";
|
|
2
2
|
import { AttributesMeasuresOrPlaceholders, AttributesOrPlaceholders, TotalsOrPlaceholders, NullableFiltersOrPlaceholders, SortsOrPlaceholders } from "../base";
|
|
3
3
|
/**
|
|
4
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
4
5
|
* @beta
|
|
5
6
|
*/
|
|
6
7
|
export interface IUseExecutionConfig {
|
|
7
8
|
/**
|
|
8
|
-
* Data series will be built using the provided measures that are
|
|
9
|
+
* Data series will be built using the provided measures that are further scoped for
|
|
9
10
|
* elements of the specified attributes.
|
|
10
11
|
*/
|
|
11
12
|
seriesBy: AttributesMeasuresOrPlaceholders;
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* Slice all data series by elements of these attributes.
|
|
14
15
|
*/
|
|
15
16
|
slicesBy?: AttributesOrPlaceholders;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
+
* Include these totals among the data slices.
|
|
18
19
|
*/
|
|
19
20
|
totals?: TotalsOrPlaceholders;
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
* Filters to apply on server side.
|
|
22
23
|
*/
|
|
23
24
|
filters?: NullableFiltersOrPlaceholders;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
+
* Sorting to apply on server side.
|
|
26
27
|
*/
|
|
27
28
|
sortBy?: SortsOrPlaceholders;
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
+
* Resolution context for composed placeholders.
|
|
30
31
|
*/
|
|
31
32
|
placeholdersResolutionContext?: any;
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
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.
|
|
36
39
|
*
|
|
37
40
|
* Defaults 'Execute'.
|
|
38
41
|
*/
|
|
@@ -40,6 +43,7 @@ export interface IUseExecutionConfig {
|
|
|
40
43
|
/**
|
|
41
44
|
* Backend to work with.
|
|
42
45
|
*
|
|
46
|
+
* @remarks
|
|
43
47
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
44
48
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
45
49
|
*/
|
|
@@ -47,6 +51,7 @@ export interface IUseExecutionConfig {
|
|
|
47
51
|
/**
|
|
48
52
|
* Workspace where execution should be executed.
|
|
49
53
|
*
|
|
54
|
+
* @remarks
|
|
50
55
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
51
56
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
52
57
|
*/
|
|
@@ -54,8 +59,11 @@ export interface IUseExecutionConfig {
|
|
|
54
59
|
}
|
|
55
60
|
/**
|
|
56
61
|
* This hook provides a simplified interface for creating executions.
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
57
64
|
* It builds the execution on top of the backend passed to the BackendProvider, and workspace passed to the WorkspaceProvider.
|
|
58
65
|
*
|
|
66
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
59
67
|
* @beta
|
|
60
68
|
*/
|
|
61
69
|
export declare function useExecution(config: IUseExecutionConfig): IPreparedExecution;
|
|
@@ -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
|
|
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"}
|