@gooddata/sdk-ui 8.10.0-alpha.14 → 8.10.0-alpha.142
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 +6 -3
- package/dist/base/index.d.ts.map +1 -1
- package/dist/base/index.js +11 -2
- package/dist/base/index.js.map +1 -1
- package/dist/base/localization/IntlStore.d.ts +3 -1
- package/dist/base/localization/IntlStore.d.ts.map +1 -1
- package/dist/base/localization/IntlStore.js +5 -25
- package/dist/base/localization/IntlStore.js.map +1 -1
- package/dist/base/localization/IntlWrapper.d.ts +0 -12
- package/dist/base/localization/IntlWrapper.d.ts.map +1 -1
- package/dist/base/localization/IntlWrapper.js +3 -28
- package/dist/base/localization/IntlWrapper.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 +4 -4
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
- package/dist/base/localization/TranslationsProvider.d.ts.map +1 -1
- package/dist/base/localization/TranslationsProvider.js +5 -9
- package/dist/base/localization/TranslationsProvider.js.map +1 -1
- package/dist/base/localization/bundles/de-DE.json +80 -18
- package/dist/base/localization/bundles/en-US.json +425 -64
- package/dist/base/localization/bundles/es-ES.json +89 -27
- package/dist/base/localization/bundles/fr-FR.json +79 -17
- package/dist/base/localization/bundles/ja-JP.json +80 -18
- package/dist/base/localization/bundles/nl-NL.json +79 -17
- package/dist/base/localization/bundles/pt-BR.json +79 -17
- package/dist/base/localization/bundles/pt-PT.json +79 -17
- package/dist/base/localization/bundles/ru-RU.json +79 -17
- package/dist/base/localization/bundles/zh-Hans.json +80 -18
- package/dist/base/localization/intlUtils.d.ts +1 -1
- package/dist/base/localization/intlUtils.js +4 -4
- package/dist/base/localization/messagesMap.d.ts +13 -0
- package/dist/base/localization/messagesMap.d.ts.map +1 -0
- package/dist/base/localization/messagesMap.js +32 -0
- package/dist/base/localization/messagesMap.js.map +1 -0
- 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/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js +6 -14
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +4 -3
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
- 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 +3 -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 +11 -2
- 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/locales.d.ts +42 -0
- package/dist/locales.d.ts.map +1 -0
- package/dist/locales.js +22 -0
- package/dist/locales.js.map +1 -0
- 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 +576 -216
- 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 +6 -3
- package/esm/base/index.d.ts.map +1 -1
- package/esm/base/index.js +8 -2
- package/esm/base/index.js.map +1 -1
- package/esm/base/localization/IntlStore.d.ts +3 -1
- package/esm/base/localization/IntlStore.d.ts.map +1 -1
- package/esm/base/localization/IntlStore.js +5 -24
- package/esm/base/localization/IntlStore.js.map +1 -1
- package/esm/base/localization/IntlWrapper.d.ts +0 -12
- package/esm/base/localization/IntlWrapper.d.ts.map +1 -1
- package/esm/base/localization/IntlWrapper.js +2 -27
- package/esm/base/localization/IntlWrapper.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 +4 -4
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
- package/esm/base/localization/TranslationsProvider.d.ts.map +1 -1
- package/esm/base/localization/TranslationsProvider.js +5 -9
- package/esm/base/localization/TranslationsProvider.js.map +1 -1
- package/esm/base/localization/bundles/de-DE.json +80 -18
- package/esm/base/localization/bundles/en-US.json +425 -64
- package/esm/base/localization/bundles/es-ES.json +89 -27
- package/esm/base/localization/bundles/fr-FR.json +79 -17
- package/esm/base/localization/bundles/ja-JP.json +80 -18
- package/esm/base/localization/bundles/nl-NL.json +79 -17
- package/esm/base/localization/bundles/pt-BR.json +79 -17
- package/esm/base/localization/bundles/pt-PT.json +79 -17
- package/esm/base/localization/bundles/ru-RU.json +79 -17
- package/esm/base/localization/bundles/zh-Hans.json +80 -18
- package/esm/base/localization/intlUtils.d.ts +1 -1
- package/esm/base/localization/intlUtils.js +2 -2
- package/esm/base/localization/messagesMap.d.ts +13 -0
- package/esm/base/localization/messagesMap.d.ts.map +1 -0
- package/esm/base/localization/messagesMap.js +28 -0
- package/esm/base/localization/messagesMap.js.map +1 -0
- 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/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js +6 -14
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +4 -3
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
- 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 +3 -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 +12 -3
- 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/locales.d.ts +42 -0
- package/esm/locales.d.ts.map +1 -0
- package/esm/locales.js +19 -0
- package/esm/locales.js.map +1 -0
- 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 +20 -16
- package/dist/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.d.ts +0 -15
- package/dist/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.d.ts.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.js +0 -48
- package/dist/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.js.map +0 -1
- package/esm/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.d.ts +0 -15
- package/esm/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.d.ts.map +0 -1
- package/esm/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.js +0 -43
- package/esm/base/localization/TranslationsCustomizationProvider/workspaceSettingsLoader.js.map +0 -1
package/esm/execution/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2020-
|
|
1
|
+
// (C) 2020-2022 GoodData Corporation
|
|
2
2
|
export { withExecution } from "./withExecution";
|
|
3
3
|
export { withExecutionLoading, } from "./withExecutionLoading";
|
|
4
4
|
export { RawExecute } from "./RawExecute";
|
|
@@ -7,6 +7,7 @@ export { useDataExport } from "./useDataExport";
|
|
|
7
7
|
export { useDataView } from "./useDataView";
|
|
8
8
|
export { useExecution } from "./useExecution";
|
|
9
9
|
export { useExecutionDataView, } from "./useExecutionDataView";
|
|
10
|
-
export { useInsightDataView } from "./useInsightDataView";
|
|
10
|
+
export { useInsightDataView, } from "./useInsightDataView";
|
|
11
11
|
export { ExecuteInsight } from "./ExecuteInsight";
|
|
12
|
+
export { DataViewLoader } from "./DataViewLoader";
|
|
12
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,aAAa,EAAkB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EACH,oBAAoB,GAKvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAoB,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAiB,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAA8C,MAAM,iBAAiB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAA0C,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,YAAY,EAAuB,MAAM,gBAAgB,CAAC;AACnE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/execution/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,aAAa,EAAkB,MAAM,iBAAiB,CAAC;AAChE,OAAO,EACH,oBAAoB,GAKvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAoB,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAiB,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAA8C,MAAM,iBAAiB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAA0C,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,YAAY,EAAuB,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAIH,oBAAoB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAGH,kBAAkB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAwB,MAAM,kBAAkB,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -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"}
|
|
@@ -1,10 +1,12 @@
|
|
|
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
|
*
|
|
7
|
-
* @
|
|
9
|
+
* @public
|
|
8
10
|
*/
|
|
9
11
|
export function useDataExport(_a, deps) {
|
|
10
12
|
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,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"}
|
|
@@ -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"}
|
|
@@ -1,9 +1,12 @@
|
|
|
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
|
*
|
|
9
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
7
10
|
* @beta
|
|
8
11
|
*/
|
|
9
12
|
export function useDataView(_a, deps) {
|
|
@@ -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;
|
|
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,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"}
|
|
@@ -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"}
|
|
@@ -3,8 +3,11 @@ 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
|
*
|
|
10
|
+
* @deprecated use {@link useExecutionDataView} instead
|
|
8
11
|
* @beta
|
|
9
12
|
*/
|
|
10
13
|
export function useExecution(config) {
|
|
@@ -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;AAoEpD;;;;;;;;GAQG;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"}
|
|
@@ -1,47 +1,54 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IAnalyticalBackend, IPreparedExecution } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { DataViewWindow } from "./withExecutionLoading";
|
|
4
|
-
import { DataViewFacade, GoodDataSdkError, UseCancelablePromiseState, AttributesMeasuresOrPlaceholders, AttributesOrPlaceholders, NullableFiltersOrPlaceholders, SortsOrPlaceholders, TotalsOrPlaceholders } from "../base";
|
|
4
|
+
import { DataViewFacade, GoodDataSdkError, UseCancelablePromiseState, AttributesMeasuresOrPlaceholders, AttributesOrPlaceholders, NullableFiltersOrPlaceholders, SortsOrPlaceholders, TotalsOrPlaceholders, UseCancelablePromiseCallbacks } from "../base";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Convenient interfance to define execution by series and slices.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
7
9
|
*/
|
|
8
10
|
export interface IExecutionConfiguration {
|
|
9
11
|
/**
|
|
10
|
-
* Data series will be built using the provided measures that are
|
|
12
|
+
* Data series will be built using the provided measures that are further scoped for
|
|
11
13
|
* elements of the specified attributes.
|
|
12
14
|
*/
|
|
13
15
|
seriesBy: AttributesMeasuresOrPlaceholders;
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
17
|
+
* Slice all data series by elements of these attributes.
|
|
16
18
|
*/
|
|
17
19
|
slicesBy?: AttributesOrPlaceholders;
|
|
18
20
|
/**
|
|
19
|
-
*
|
|
21
|
+
* Include these totals among the data slices.
|
|
20
22
|
*/
|
|
21
23
|
totals?: TotalsOrPlaceholders;
|
|
22
24
|
/**
|
|
23
|
-
*
|
|
25
|
+
* Filters to apply on server side.
|
|
24
26
|
*/
|
|
25
27
|
filters?: NullableFiltersOrPlaceholders;
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
29
|
+
* Sorting to apply on server side.
|
|
28
30
|
*/
|
|
29
31
|
sortBy?: SortsOrPlaceholders;
|
|
30
32
|
/**
|
|
31
|
-
*
|
|
33
|
+
* Resolution context for composed placeholders.
|
|
32
34
|
*/
|
|
33
35
|
placeholdersResolutionContext?: any;
|
|
34
36
|
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
37
|
+
* Informative name of the component.
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* This value is sent as telemetry information together with the actual execution request.
|
|
41
|
+
* We recommend to set this because it can be useful for diagnostic purposes.
|
|
38
42
|
*
|
|
39
43
|
* Defaults 'Execute'.
|
|
40
44
|
*/
|
|
41
45
|
componentName?: string;
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
44
|
-
* @
|
|
48
|
+
* Configuration for {@link useExecutionDataView} hook.
|
|
49
|
+
* See also {@link UseExecutionDataViewCallbacks}.
|
|
50
|
+
*
|
|
51
|
+
* @public
|
|
45
52
|
*/
|
|
46
53
|
export interface IUseExecutionDataViewConfig {
|
|
47
54
|
/**
|
|
@@ -49,13 +56,16 @@ export interface IUseExecutionDataViewConfig {
|
|
|
49
56
|
*/
|
|
50
57
|
execution?: IPreparedExecution | IExecutionConfiguration;
|
|
51
58
|
/**
|
|
52
|
-
*
|
|
59
|
+
* You can define only a specific "window" of data to load.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
53
62
|
* This is useful if you want to page data.
|
|
54
63
|
*/
|
|
55
64
|
window?: DataViewWindow;
|
|
56
65
|
/**
|
|
57
66
|
* Backend to work with.
|
|
58
67
|
*
|
|
68
|
+
* @remarks
|
|
59
69
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
60
70
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
61
71
|
*/
|
|
@@ -63,15 +73,22 @@ export interface IUseExecutionDataViewConfig {
|
|
|
63
73
|
/**
|
|
64
74
|
* Workspace where execution should be executed.
|
|
65
75
|
*
|
|
76
|
+
* @remarks
|
|
66
77
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
67
78
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
68
79
|
*/
|
|
69
80
|
workspace?: string;
|
|
70
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Callbacks for {@link useExecutionDataView} hook.
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare type UseExecutionDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
|
|
71
88
|
/**
|
|
72
89
|
* React hook to get data for a specific execution.
|
|
73
90
|
*
|
|
74
|
-
* @
|
|
91
|
+
* @public
|
|
75
92
|
*/
|
|
76
|
-
export declare function useExecutionDataView(config: IUseExecutionDataViewConfig, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
|
|
93
|
+
export declare function useExecutionDataView(config: IUseExecutionDataViewConfig & UseExecutionDataViewCallbacks, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
|
|
77
94
|
//# sourceMappingURL=useExecutionDataView.d.ts.map
|
|
@@ -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,
|
|
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,EACpB,6BAA6B,EAChC,MAAM,SAAS,CAAC;AAKjB;;;;GAIG;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;;;;;GAKG;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,oBAAY,6BAA6B,GAAG,6BAA6B,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAE5G;;;;GAIG;AACH,wBAAgB,oBAAoB,CAChC,MAAM,EAAE,2BAA2B,GAAG,6BAA6B,EACnE,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,GAC5B,yBAAyB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAwC7D"}
|
|
@@ -13,11 +13,11 @@ function isExecutionConfiguration(obj) {
|
|
|
13
13
|
/**
|
|
14
14
|
* React hook to get data for a specific execution.
|
|
15
15
|
*
|
|
16
|
-
* @
|
|
16
|
+
* @public
|
|
17
17
|
*/
|
|
18
18
|
export function useExecutionDataView(config, deps) {
|
|
19
19
|
var _a;
|
|
20
|
-
var execution = config.execution, window = config.window;
|
|
20
|
+
var execution = config.execution, window = config.window, onCancel = config.onCancel, onError = config.onError, onLoading = config.onLoading, onPending = config.onPending, onSuccess = config.onSuccess;
|
|
21
21
|
var backend = useBackendStrict(config.backend, "useExecutionDataView");
|
|
22
22
|
var workspace = useWorkspaceStrict(config.workspace, "useExecutionDataView");
|
|
23
23
|
var effectiveDeps = deps !== null && deps !== void 0 ? deps : [];
|
|
@@ -37,7 +37,7 @@ export function useExecutionDataView(config, deps) {
|
|
|
37
37
|
backend: backend,
|
|
38
38
|
workspace: workspace }))
|
|
39
39
|
: execution;
|
|
40
|
-
return useDataView({ execution: preparedExecution, window: window }, __spread([
|
|
40
|
+
return useDataView({ execution: preparedExecution, window: window, onCancel: onCancel, onError: onError, onLoading: onLoading, onPending: onPending, onSuccess: onSuccess }, __spread([
|
|
41
41
|
backend,
|
|
42
42
|
workspace,
|
|
43
43
|
(_a = preparedExecution === null || preparedExecution === void 0 ? void 0 : preparedExecution.fingerprint()) !== null && _a !== void 0 ? _a : "__executionFingerprint__"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExecutionDataView.js","sourceRoot":"","sources":["../../src/execution/useExecutionDataView.ts"],"names":[],"mappings":";AAGA,OAAO,EAGH,gBAAgB,EAChB,kBAAkB,EAElB,gCAAgC,
|
|
1
|
+
{"version":3,"file":"useExecutionDataView.js","sourceRoot":"","sources":["../../src/execution/useExecutionDataView.ts"],"names":[],"mappings":";AAGA,OAAO,EAGH,gBAAgB,EAChB,kBAAkB,EAElB,gCAAgC,GAOnC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAmDpD;;GAEG;AACH,SAAS,wBAAwB,CAAC,GAAY;;IAC1C,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,QAAE,GAA+B,0CAAE,QAAQ,CAAA,CAAC;AACzE,CAAC;AAgDD;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAChC,MAAmE,EACnE,IAA2B;;IAEnB,IAAA,SAAS,GAAiE,MAAM,UAAvE,EAAE,MAAM,GAAyD,MAAM,OAA/D,EAAE,QAAQ,GAA+C,MAAM,SAArD,EAAE,OAAO,GAAsC,MAAM,QAA5C,EAAE,SAAS,GAA2B,MAAM,U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ACN,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"}
|
|
@@ -1,42 +1,65 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { IDimension, IExecutionDefinition, INullableFilter, ISortItem, ObjRef } from "@gooddata/sdk-model";
|
|
4
|
-
import { UseCancelablePromiseState, DataViewFacade, GoodDataSdkError } from "../base";
|
|
4
|
+
import { UseCancelablePromiseState, DataViewFacade, GoodDataSdkError, UseCancelablePromiseCallbacks } from "../base";
|
|
5
5
|
import { DataViewWindow } from "./withExecutionLoading";
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* Configuration for {@link useInsightDataView} hook.
|
|
8
|
+
*
|
|
9
|
+
* @public
|
|
8
10
|
*/
|
|
9
11
|
export interface IUseInsightDataViewConfig {
|
|
10
12
|
/**
|
|
11
13
|
* Reference to the insight for which you want to get the data view.
|
|
12
14
|
*
|
|
15
|
+
* @remarks
|
|
13
16
|
* Note: When the reference or identifier is not provided, hook is locked in a "pending" state.
|
|
14
17
|
*/
|
|
15
18
|
insight?: ObjRef;
|
|
16
19
|
/**
|
|
17
|
-
*
|
|
20
|
+
* Modify sorts on prepared insight execution, before it's executed.
|
|
18
21
|
*/
|
|
19
22
|
sorts?: ISortItem[] | ((def: IExecutionDefinition) => ISortItem[]);
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
24
|
+
* Modify dimensions on prepared insight execution, before it's executed.
|
|
22
25
|
*/
|
|
23
26
|
dimensions?: IDimension[] | ((def: IExecutionDefinition) => IDimension[]);
|
|
24
27
|
/**
|
|
25
|
-
*
|
|
28
|
+
* Modify date formatting on prepared insight execution, before it's executed.
|
|
26
29
|
*/
|
|
27
30
|
dateFormat?: string | ((def: IExecutionDefinition) => string);
|
|
28
31
|
/**
|
|
29
|
-
*
|
|
32
|
+
* Specify filters to merge with filters already defined in the insight.
|
|
30
33
|
*/
|
|
31
34
|
filters?: INullableFilter[];
|
|
32
35
|
/**
|
|
33
|
-
*
|
|
36
|
+
* You can define only a specific "window" of data to load.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
34
39
|
* This is useful if you want to page data.
|
|
35
40
|
*/
|
|
36
41
|
window?: DataViewWindow;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates that the execution to obtain the data for the insight should be an 'execution by reference'.
|
|
44
|
+
*
|
|
45
|
+
* Execution by reference means that the useInsightDataView will ask analytical backend to compute results for an insight
|
|
46
|
+
* which is stored on the backend by specifying link to the insight, additional filters and description how
|
|
47
|
+
* to organize the data.
|
|
48
|
+
*
|
|
49
|
+
* Otherwise, a freeform execution is done, in which the InsightView will send to backend the full execution
|
|
50
|
+
* definition of what to compute.
|
|
51
|
+
*
|
|
52
|
+
* This distinction is in place because some backends MAY want to prohibit users from doing freeform executions
|
|
53
|
+
* and only allow computing data for set of insights created by admins.
|
|
54
|
+
*
|
|
55
|
+
* Note: the need for execute by reference is rare. You will typically be notified by the solution admin to use
|
|
56
|
+
* this mode.
|
|
57
|
+
*/
|
|
58
|
+
executeByReference?: boolean;
|
|
37
59
|
/**
|
|
38
60
|
* Backend to work with.
|
|
39
61
|
*
|
|
62
|
+
* @remarks
|
|
40
63
|
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
41
64
|
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
42
65
|
*/
|
|
@@ -44,15 +67,22 @@ export interface IUseInsightDataViewConfig {
|
|
|
44
67
|
/**
|
|
45
68
|
* Workspace where execution should be executed.
|
|
46
69
|
*
|
|
70
|
+
* @remarks
|
|
47
71
|
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
48
72
|
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
49
73
|
*/
|
|
50
74
|
workspace?: string;
|
|
51
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Callbacks for {@link useInsightDataView} hook.
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare type UseInsightDataViewCallbacks = UseCancelablePromiseCallbacks<DataViewFacade, GoodDataSdkError>;
|
|
52
82
|
/**
|
|
53
83
|
* React hook to get data for a specific insight.
|
|
54
84
|
*
|
|
55
|
-
* @
|
|
85
|
+
* @public
|
|
56
86
|
*/
|
|
57
|
-
export declare function useInsightDataView(config: IUseInsightDataViewConfig, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
|
|
87
|
+
export declare function useInsightDataView(config: IUseInsightDataViewConfig & UseInsightDataViewCallbacks, deps?: React.DependencyList): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
|
|
58
88
|
//# sourceMappingURL=useInsightDataView.d.ts.map
|
|
@@ -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,
|
|
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,EAChB,6BAA6B,EAChC,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD;;;;GAIG;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;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,oBAAY,2BAA2B,GAAG,6BAA6B,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAC;AAE1G;;;;GAIG;AACH,wBAAgB,kBAAkB,CAC9B,MAAM,EAAE,yBAAyB,GAAG,2BAA2B,EAC/D,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,GAC5B,yBAAyB,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAoE7D"}
|
|
@@ -5,16 +5,17 @@ import { useInsight } from "./useInsight";
|
|
|
5
5
|
/**
|
|
6
6
|
* React hook to get data for a specific insight.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*/
|
|
10
10
|
export function useInsightDataView(config, deps) {
|
|
11
|
-
var insightRef = config.insight, sorts = config.sorts, dateFormat = config.dateFormat, dimensions = config.dimensions, filters = config.filters, window = config.window;
|
|
11
|
+
var insightRef = config.insight, sorts = config.sorts, dateFormat = config.dateFormat, dimensions = config.dimensions, filters = config.filters, window = config.window, executeByReference = config.executeByReference, onCancel = config.onCancel, onError = config.onError, onLoading = config.onLoading, onPending = config.onPending, onSuccess = config.onSuccess;
|
|
12
12
|
var backend = useBackendStrict(config.backend, "useInsightDataView");
|
|
13
13
|
var workspace = useWorkspaceStrict(config.workspace, "useInsightDataView");
|
|
14
14
|
var effectiveDeps = deps !== null && deps !== void 0 ? deps : [];
|
|
15
15
|
var insightPromise = useInsight({ insight: insightRef, backend: backend, workspace: workspace }, effectiveDeps);
|
|
16
|
-
var
|
|
17
|
-
|
|
16
|
+
var executionFactory = backend.workspace(workspace).execution();
|
|
17
|
+
var executeFn = (executeByReference ? executionFactory.forInsightByRef : executionFactory.forInsight).bind(executionFactory);
|
|
18
|
+
var insightExecution = insightPromise.result && executeFn(insightPromise.result, filters);
|
|
18
19
|
if (insightExecution) {
|
|
19
20
|
if (sorts) {
|
|
20
21
|
var resolvedSorts = typeof sorts === "function" ? sorts(insightExecution.definition) : sorts;
|
|
@@ -34,6 +35,11 @@ export function useInsightDataView(config, deps) {
|
|
|
34
35
|
window: window,
|
|
35
36
|
backend: backend,
|
|
36
37
|
workspace: workspace,
|
|
38
|
+
onCancel: onCancel,
|
|
39
|
+
onError: onError,
|
|
40
|
+
onLoading: onLoading,
|
|
41
|
+
onPending: onPending,
|
|
42
|
+
onSuccess: onSuccess,
|
|
37
43
|
}, deps);
|
|
38
44
|
var cancelablePromises = [insightPromise, executionDataViewPromise];
|
|
39
45
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInsightDataView.js","sourceRoot":"","sources":["../../src/execution/useInsightDataView.ts"],"names":[],"mappings":";AAGA,OAAO,EACH,gBAAgB,EAChB,kBAAkB,EAClB,kCAAkC,EAClC,iCAAiC,
|
|
1
|
+
{"version":3,"file":"useInsightDataView.js","sourceRoot":"","sources":["../../src/execution/useInsightDataView.ts"],"names":[],"mappings":";AAGA,OAAO,EACH,gBAAgB,EAChB,kBAAkB,EAClB,kCAAkC,EAClC,iCAAiC,GAKpC,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAwF1C;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAC9B,MAA+D,EAC/D,IAA2B;IAGvB,IAAS,UAAU,GAYnB,MAAM,QAZa,EACnB,KAAK,GAWL,MAAM,MAXD,EACL,UAAU,GAUV,MAAM,WAVI,EACV,UAAU,GASV,MAAM,WATI,EACV,OAAO,GAQP,MAAM,QARC,EACP,MAAM,GAON,MAAM,OAPA,EACN,kBAAkB,GAMlB,MAAM,mBANY,EAClB,QAAQ,GAKR,MAAM,SALE,EACR,OAAO,GAIP,MAAM,QAJC,EACP,SAAS,GAGT,MAAM,UAHG,EACT,SAAS,GAET,MAAM,UAFG,EACT,SAAS,GACT,MAAM,UADG,CACF;IACX,IAAM,OAAO,GAAG,gBAAgB,CAAC,MAAM,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC;IACvE,IAAM,SAAS,GAAG,kBAAkB,CAAC,MAAM,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;IAC7E,IAAM,aAAa,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC;IAEjC,IAAM,cAAc,GAAG,UAAU,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,SAAA,EAAE,SAAS,WAAA,EAAE,EAAE,aAAa,CAAC,CAAC;IAE9F,IAAM,gBAAgB,GAAG,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,EAAE,CAAC;IAElE,IAAM,SAAS,GAAG,CACd,kB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;IAEF,IAAM,kBAAkB,GAAG,CAAC,cAAc,EAAE,wBAAwB,CAAC,CAAC;IAEtE,OAAO;QACH,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,KAAK,EAAE,iCAAiC,CAAC,kBAAkB,CAAC;QAC5D,MAAM,EAAE,kCAAkC,CAAC,kBAAkB,CAAC;KACF,CAAC;AACrE,CAAC"}
|
|
@@ -22,24 +22,25 @@ export interface IWithExecution<T> {
|
|
|
22
22
|
*/
|
|
23
23
|
exportTitle: string | ((props: T) => string);
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Customize data window to load.
|
|
26
26
|
*
|
|
27
27
|
* By default the HOC loads all the data available in the execution's result.
|
|
28
28
|
*/
|
|
29
29
|
window?: DataViewWindow | ((props: T) => DataViewWindow | undefined);
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Specify event callbacks which the HOC will trigger in different situations.
|
|
32
32
|
*/
|
|
33
33
|
events?: IWithLoadingEvents<T> | ((props: T) => IWithLoadingEvents<T>);
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Customize, whether execution & data loading should start as soon as component is mounted.
|
|
36
36
|
*
|
|
37
|
+
* @remarks
|
|
37
38
|
* Default is true. When not loading on mount, the wrapped component can trigger the load by calling the
|
|
38
39
|
* reload() function which the HOC injects into its props.
|
|
39
40
|
*/
|
|
40
41
|
loadOnMount?: boolean | ((props: T) => boolean);
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Specify function that will be called during component prop updates and will be used to
|
|
43
44
|
* determine whether execution should be re-run and data reloaded.
|
|
44
45
|
*
|
|
45
46
|
* @param prevProps - previous props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withExecution.d.ts","sourceRoot":"","sources":["../../src/execution/withExecution.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAiB,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAEH,kBAAkB,EAClB,iBA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AAc,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,cAAc,GAAG,SAAS,CAAC,CAAC;IAErE;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;IAEvE;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC;IAEhD;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,OAAO,CAAC;CAC3D;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAC3B,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,GAC1B,CAAC,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,GAAG,iBAAiB,CAAC,KAAK,KAAK,CAAC,cAAc,CAAC,CAAC,EAAE,GAAG,CAAC,CAgChG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __generator } from "tslib";
|
|
2
|
-
// (C) 2019-
|
|
2
|
+
// (C) 2019-2022 GoodData Corporation
|
|
3
3
|
import { isNoDataError } from "@gooddata/sdk-backend-spi";
|
|
4
4
|
import { withExecutionLoading, } from "./withExecutionLoading";
|
|
5
5
|
import { DataViewFacade } from "../base";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withExecution.js","sourceRoot":"","sources":["../../src/execution/withExecution.ts"],"names":[],"mappings":";AAAA,qCAAqC;AACrC,OAAO,EAAsB,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EACH,oBAAoB,GAIvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"withExecution.js","sourceRoot":"","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