@gooddata/sdk-ui 9.0.0-alpha.8 → 9.0.0-beta.0
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/esm/base/errors/GoodDataSdkError.js +1 -1
- package/esm/base/errors/GoodDataSdkError.js.map +1 -1
- package/esm/base/errors/errorHandling.d.ts +1 -1
- package/esm/base/errors/errorHandling.d.ts.map +1 -1
- package/esm/base/errors/errorHandling.js +2 -2
- package/esm/base/errors/errorHandling.js.map +1 -1
- package/esm/base/headerMatching/HeaderPredicate.d.ts +2 -2
- package/esm/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.d.ts +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.d.ts.map +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.js +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/esm/base/headerMatching/MappingHeader.d.ts +4 -4
- package/esm/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/esm/base/headerMatching/MappingHeader.js +3 -3
- package/esm/base/headerMatching/MappingHeader.js.map +1 -1
- package/esm/base/index.d.ts +58 -58
- package/esm/base/index.d.ts.map +1 -1
- package/esm/base/index.js +48 -48
- package/esm/base/index.js.map +1 -1
- package/esm/base/localization/IntlStore.d.ts +1 -1
- package/esm/base/localization/IntlStore.d.ts.map +1 -1
- package/esm/base/localization/IntlStore.js +3 -3
- package/esm/base/localization/IntlStore.js.map +1 -1
- package/esm/base/localization/IntlWrapper.js +3 -3
- package/esm/base/localization/IntlWrapper.js.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/Context.js +2 -2
- package/esm/base/localization/TranslationsCustomizationProvider/Context.js.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/TranslationsCustomizationProvider/index.d.ts +3 -3
- package/esm/base/localization/TranslationsCustomizationProvider/index.d.ts.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/index.js +3 -3
- package/esm/base/localization/TranslationsCustomizationProvider/index.js.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/utils.js +6 -1
- package/esm/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
- package/esm/base/localization/TranslationsProvider.js +2 -2
- package/esm/base/localization/TranslationsProvider.js.map +1 -1
- package/esm/base/localization/bundles/en-US.json +1 -1
- package/esm/base/localization/intlUtils.d.ts +2 -2
- package/esm/base/localization/intlUtils.d.ts.map +1 -1
- package/esm/base/localization/intlUtils.js +3 -3
- package/esm/base/localization/intlUtils.js.map +1 -1
- package/esm/base/measureFormats/fillMissingFormats.js +1 -1
- package/esm/base/measureFormats/fillMissingFormats.js.map +1 -1
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts +2 -2
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js +2 -2
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts +2 -2
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +3 -3
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
- package/esm/base/measureTitles/fillMissingTitles.d.ts +1 -1
- package/esm/base/measureTitles/fillMissingTitles.d.ts.map +1 -1
- package/esm/base/measureTitles/fillMissingTitles.js +3 -3
- package/esm/base/measureTitles/fillMissingTitles.js.map +1 -1
- package/esm/base/react/BackendContext.js +2 -2
- package/esm/base/react/BackendContext.js.map +1 -1
- package/esm/base/react/CancelablePromise.js +1 -1
- package/esm/base/react/CancelablePromise.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +3 -3
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +6 -6
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.d.ts +1 -1
- package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +2 -2
- package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
- package/esm/base/react/PromiseCache.js +2 -2
- package/esm/base/react/PromiseCache.js.map +1 -1
- package/esm/base/react/WorkspaceContext.js +2 -2
- package/esm/base/react/WorkspaceContext.js.map +1 -1
- package/esm/base/react/legacy/availableDrillTargets.d.ts +2 -2
- package/esm/base/react/legacy/availableDrillTargets.d.ts.map +1 -1
- package/esm/base/react/legacy/availableDrillTargets.js +2 -2
- package/esm/base/react/legacy/availableDrillTargets.js.map +1 -1
- package/esm/base/react/legacy/withEntireDataView.d.ts +2 -2
- package/esm/base/react/legacy/withEntireDataView.d.ts.map +1 -1
- package/esm/base/react/legacy/withEntireDataView.js +8 -8
- package/esm/base/react/legacy/withEntireDataView.js.map +1 -1
- package/esm/base/react/placeholders/aliases.d.ts +1 -1
- package/esm/base/react/placeholders/aliases.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/context.d.ts +1 -1
- package/esm/base/react/placeholders/context.d.ts.map +1 -1
- package/esm/base/react/placeholders/context.js +1 -1
- package/esm/base/react/placeholders/context.js.map +1 -1
- package/esm/base/react/placeholders/factory.d.ts +1 -1
- package/esm/base/react/placeholders/factory.d.ts.map +1 -1
- package/esm/base/react/placeholders/factory.js +2 -2
- package/esm/base/react/placeholders/factory.js.map +1 -1
- package/esm/base/react/placeholders/hooks.d.ts +1 -1
- package/esm/base/react/placeholders/hooks.d.ts.map +1 -1
- package/esm/base/react/placeholders/hooks.js +4 -4
- package/esm/base/react/placeholders/hooks.js.map +1 -1
- package/esm/base/react/placeholders/resolve.d.ts +2 -2
- package/esm/base/react/placeholders/resolve.d.ts.map +1 -1
- package/esm/base/react/placeholders/resolve.js +2 -2
- package/esm/base/react/placeholders/resolve.js.map +1 -1
- package/esm/base/react/useCancelablePromise.js +4 -4
- package/esm/base/react/useCancelablePromise.js.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.d.ts +1 -1
- package/esm/base/react/useCancelablePromiseUtils.d.ts.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.js +2 -2
- package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/esm/base/react/usePagedResource.js +1 -1
- package/esm/base/react/usePagedResource.js.map +1 -1
- package/esm/base/react/usePromiseCache.js +1 -1
- package/esm/base/react/usePromiseCache.js.map +1 -1
- package/esm/base/react/withContexts.js +4 -4
- package/esm/base/react/withContexts.js.map +1 -1
- package/esm/base/results/dataAccess.d.ts +2 -11
- package/esm/base/results/dataAccess.d.ts.map +1 -1
- package/esm/base/results/dataAccessConfig.d.ts +3 -3
- package/esm/base/results/dataAccessConfig.d.ts.map +1 -1
- package/esm/base/results/dataAccessConfig.js +6 -6
- package/esm/base/results/dataAccessConfig.js.map +1 -1
- package/esm/base/results/facade.d.ts +5 -5
- package/esm/base/results/facade.d.ts.map +1 -1
- package/esm/base/results/facade.js +4 -4
- package/esm/base/results/facade.js.map +1 -1
- package/esm/base/results/internal/dataAccessDigest.js +2 -2
- package/esm/base/results/internal/dataAccessDigest.js.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.d.ts +3 -3
- package/esm/base/results/internal/dataAccessImpl.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.js +7 -7
- package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
- package/esm/base/results/internal/dataAccessMethods.d.ts +2 -2
- 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.js +1 -1
- package/esm/base/results/internal/definitionMethods.js.map +1 -1
- package/esm/base/results/internal/lazyInitArray.js +1 -1
- package/esm/base/results/internal/lazyInitArray.js.map +1 -1
- package/esm/base/results/internal/resultDataMethods.js +2 -2
- package/esm/base/results/internal/resultDataMethods.js.map +1 -1
- package/esm/base/results/internal/resultMetaMethods.js +2 -2
- package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
- package/esm/base/vis/DrillEvents.d.ts +2 -2
- package/esm/base/vis/DrillEvents.d.ts.map +1 -1
- package/esm/base/vis/DrillEvents.js +2 -2
- package/esm/base/vis/DrillEvents.js.map +1 -1
- package/esm/base/vis/Events.d.ts +11 -2
- package/esm/base/vis/Events.d.ts.map +1 -1
- package/esm/base/vis/VisualizationProps.d.ts +4 -4
- package/esm/base/vis/VisualizationProps.d.ts.map +1 -1
- package/esm/base/vis/drilling.d.ts +4 -4
- package/esm/base/vis/drilling.d.ts.map +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 +2 -2
- package/esm/base/vis/export.d.ts.map +1 -1
- package/esm/execution/DataViewLoader.d.ts +2 -2
- package/esm/execution/DataViewLoader.d.ts.map +1 -1
- package/esm/execution/DataViewLoader.js +3 -3
- package/esm/execution/DataViewLoader.js.map +1 -1
- package/esm/execution/Execute.d.ts +3 -3
- package/esm/execution/Execute.d.ts.map +1 -1
- package/esm/execution/Execute.js +4 -4
- package/esm/execution/Execute.js.map +1 -1
- package/esm/execution/ExecuteInsight.d.ts +2 -2
- package/esm/execution/ExecuteInsight.d.ts.map +1 -1
- package/esm/execution/ExecuteInsight.js +4 -4
- package/esm/execution/ExecuteInsight.js.map +1 -1
- package/esm/execution/RawExecute.d.ts +2 -2
- package/esm/execution/RawExecute.d.ts.map +1 -1
- package/esm/execution/RawExecute.js +2 -2
- package/esm/execution/RawExecute.js.map +1 -1
- package/esm/execution/createExecution.js +3 -3
- package/esm/execution/createExecution.js.map +1 -1
- package/esm/execution/index.d.ts +10 -10
- package/esm/execution/index.d.ts.map +1 -1
- package/esm/execution/index.js +9 -9
- package/esm/execution/index.js.map +1 -1
- package/esm/execution/interfaces.d.ts +1 -1
- package/esm/execution/interfaces.d.ts.map +1 -1
- package/esm/execution/useDataExport.d.ts +1 -1
- package/esm/execution/useDataExport.d.ts.map +1 -1
- package/esm/execution/useDataExport.js +1 -1
- package/esm/execution/useDataExport.js.map +1 -1
- package/esm/execution/useExecutionDataView.d.ts +2 -2
- 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/useInsight.d.ts +1 -1
- package/esm/execution/useInsight.d.ts.map +1 -1
- package/esm/execution/useInsight.js +1 -1
- package/esm/execution/useInsight.js.map +1 -1
- package/esm/execution/useInsightDataView.d.ts +2 -2
- package/esm/execution/useInsightDataView.d.ts.map +1 -1
- package/esm/execution/useInsightDataView.js +3 -3
- package/esm/execution/useInsightDataView.js.map +1 -1
- package/esm/execution/withExecution.d.ts +1 -1
- package/esm/execution/withExecution.d.ts.map +1 -1
- package/esm/execution/withExecution.js +2 -2
- package/esm/execution/withExecution.js.map +1 -1
- package/esm/execution/withExecutionLoading.d.ts +1 -1
- package/esm/execution/withExecutionLoading.d.ts.map +1 -1
- package/esm/execution/withExecutionLoading.js +2 -2
- package/esm/execution/withExecutionLoading.js.map +1 -1
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -3
- package/esm/index.js.map +1 -1
- package/esm/kpi/FormattedNumber.d.ts +2 -2
- package/esm/kpi/FormattedNumber.d.ts.map +1 -1
- package/esm/kpi/FormattedNumber.js +3 -3
- package/esm/kpi/FormattedNumber.js.map +1 -1
- package/esm/kpi/Kpi.d.ts +4 -4
- package/esm/kpi/Kpi.d.ts.map +1 -1
- package/esm/kpi/Kpi.js +7 -7
- package/esm/kpi/Kpi.js.map +1 -1
- package/esm/kpi/KpiError.d.ts +1 -1
- package/esm/kpi/KpiError.d.ts.map +1 -1
- package/esm/kpi/index.d.ts +1 -1
- package/esm/kpi/index.d.ts.map +1 -1
- package/esm/kpi/index.js +1 -1
- package/esm/kpi/index.js.map +1 -1
- package/{dist → esm}/sdk-ui.d.ts +19 -18
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +29 -39
- package/dist/base/constants/bucketNames.d.ts +0 -33
- package/dist/base/constants/bucketNames.d.ts.map +0 -1
- package/dist/base/constants/bucketNames.js +0 -47
- package/dist/base/constants/bucketNames.js.map +0 -1
- package/dist/base/constants/colorPalette.d.ts +0 -7
- package/dist/base/constants/colorPalette.d.ts.map +0 -1
- package/dist/base/constants/colorPalette.js +0 -90
- package/dist/base/constants/colorPalette.js.map +0 -1
- package/dist/base/errors/GoodDataSdkError.d.ts +0 -245
- package/dist/base/errors/GoodDataSdkError.d.ts.map +0 -1
- package/dist/base/errors/GoodDataSdkError.js +0 -346
- package/dist/base/errors/GoodDataSdkError.js.map +0 -1
- package/dist/base/errors/errorHandling.d.ts +0 -46
- package/dist/base/errors/errorHandling.d.ts.map +0 -1
- package/dist/base/errors/errorHandling.js +0 -115
- package/dist/base/errors/errorHandling.js.map +0 -1
- package/dist/base/headerMatching/HeaderPredicate.d.ts +0 -26
- package/dist/base/headerMatching/HeaderPredicate.d.ts.map +0 -1
- package/dist/base/headerMatching/HeaderPredicate.js +0 -12
- package/dist/base/headerMatching/HeaderPredicate.js.map +0 -1
- package/dist/base/headerMatching/HeaderPredicateFactory.d.ts +0 -79
- package/dist/base/headerMatching/HeaderPredicateFactory.d.ts.map +0 -1
- package/dist/base/headerMatching/HeaderPredicateFactory.js +0 -276
- package/dist/base/headerMatching/HeaderPredicateFactory.js.map +0 -1
- package/dist/base/headerMatching/MappingHeader.d.ts +0 -55
- package/dist/base/headerMatching/MappingHeader.d.ts.map +0 -1
- package/dist/base/headerMatching/MappingHeader.js +0 -125
- package/dist/base/headerMatching/MappingHeader.js.map +0 -1
- package/dist/base/helpers/logging.d.ts +0 -5
- package/dist/base/helpers/logging.d.ts.map +0 -1
- package/dist/base/helpers/logging.js +0 -12
- package/dist/base/helpers/logging.js.map +0 -1
- package/dist/base/index.d.ts +0 -59
- package/dist/base/index.d.ts.map +0 -1
- package/dist/base/index.js +0 -219
- package/dist/base/index.js.map +0 -1
- package/dist/base/interfaces/OverTimeComparison.d.ts +0 -13
- package/dist/base/interfaces/OverTimeComparison.d.ts.map +0 -1
- package/dist/base/interfaces/OverTimeComparison.js +0 -13
- package/dist/base/interfaces/OverTimeComparison.js.map +0 -1
- package/dist/base/localization/IntlStore.d.ts +0 -21
- package/dist/base/localization/IntlStore.d.ts.map +0 -1
- package/dist/base/localization/IntlStore.js +0 -46
- package/dist/base/localization/IntlStore.js.map +0 -1
- package/dist/base/localization/IntlWrapper.d.ts +0 -13
- package/dist/base/localization/IntlWrapper.d.ts.map +0 -1
- package/dist/base/localization/IntlWrapper.js +0 -25
- package/dist/base/localization/IntlWrapper.js.map +0 -1
- package/dist/base/localization/Locale.d.ts +0 -25
- package/dist/base/localization/Locale.d.ts.map +0 -1
- package/dist/base/localization/Locale.js +0 -37
- package/dist/base/localization/Locale.js.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts +0 -27
- package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/Context.js +0 -40
- package/dist/base/localization/TranslationsCustomizationProvider/Context.js.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts +0 -54
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.d.ts.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +0 -49
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/index.d.ts +0 -4
- package/dist/base/localization/TranslationsCustomizationProvider/index.d.ts.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/index.js +0 -16
- package/dist/base/localization/TranslationsCustomizationProvider/index.js.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts +0 -24
- package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +0 -1
- package/dist/base/localization/TranslationsCustomizationProvider/utils.js +0 -74
- package/dist/base/localization/TranslationsCustomizationProvider/utils.js.map +0 -1
- package/dist/base/localization/TranslationsProvider.d.ts +0 -33
- package/dist/base/localization/TranslationsProvider.d.ts.map +0 -1
- package/dist/base/localization/TranslationsProvider.js +0 -31
- package/dist/base/localization/TranslationsProvider.js.map +0 -1
- package/dist/base/localization/bundles/de-DE.json +0 -374
- package/dist/base/localization/bundles/en-US.json +0 -1964
- package/dist/base/localization/bundles/es-ES.json +0 -374
- package/dist/base/localization/bundles/fr-FR.json +0 -374
- package/dist/base/localization/bundles/ja-JP.json +0 -374
- package/dist/base/localization/bundles/nl-NL.json +0 -374
- package/dist/base/localization/bundles/pt-BR.json +0 -374
- package/dist/base/localization/bundles/pt-PT.json +0 -374
- package/dist/base/localization/bundles/ru-RU.json +0 -374
- package/dist/base/localization/bundles/zh-Hans.json +0 -374
- package/dist/base/localization/intlUtils.d.ts +0 -33
- package/dist/base/localization/intlUtils.d.ts.map +0 -1
- package/dist/base/localization/intlUtils.js +0 -65
- package/dist/base/localization/intlUtils.js.map +0 -1
- package/dist/base/localization/messagesMap.d.ts +0 -13
- package/dist/base/localization/messagesMap.d.ts.map +0 -1
- package/dist/base/localization/messagesMap.js +0 -32
- package/dist/base/localization/messagesMap.js.map +0 -1
- package/dist/base/measureFormats/fillMissingFormat.d.ts +0 -12
- package/dist/base/measureFormats/fillMissingFormat.d.ts.map +0 -1
- package/dist/base/measureFormats/fillMissingFormat.js +0 -27
- package/dist/base/measureFormats/fillMissingFormat.js.map +0 -1
- package/dist/base/measureFormats/fillMissingFormats.d.ts +0 -12
- package/dist/base/measureFormats/fillMissingFormats.d.ts.map +0 -1
- package/dist/base/measureFormats/fillMissingFormats.js +0 -20
- package/dist/base/measureFormats/fillMissingFormats.js.map +0 -1
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts +0 -32
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +0 -1
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js +0 -69
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +0 -1
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts +0 -28
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +0 -1
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +0 -49
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +0 -1
- package/dist/base/measureTitles/MeasureTitle.d.ts +0 -21
- package/dist/base/measureTitles/MeasureTitle.d.ts.map +0 -1
- package/dist/base/measureTitles/MeasureTitle.js +0 -3
- package/dist/base/measureTitles/MeasureTitle.js.map +0 -1
- package/dist/base/measureTitles/fillMissingTitles.d.ts +0 -23
- package/dist/base/measureTitles/fillMissingTitles.d.ts.map +0 -1
- package/dist/base/measureTitles/fillMissingTitles.js +0 -157
- package/dist/base/measureTitles/fillMissingTitles.js.map +0 -1
- package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.d.ts +0 -14
- package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.d.ts.map +0 -1
- package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js +0 -32
- package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +0 -1
- package/dist/base/react/BackendContext.d.ts +0 -78
- package/dist/base/react/BackendContext.d.ts.map +0 -1
- package/dist/base/react/BackendContext.js +0 -89
- package/dist/base/react/BackendContext.js.map +0 -1
- package/dist/base/react/CancelablePromise.d.ts +0 -38
- package/dist/base/react/CancelablePromise.d.ts.map +0 -1
- package/dist/base/react/CancelablePromise.js +0 -82
- package/dist/base/react/CancelablePromise.js.map +0 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +0 -116
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +0 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +0 -134
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +0 -1
- package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts +0 -35
- package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts.map +0 -1
- package/dist/base/react/ClientWorkspaceContext/interfaces.js +0 -4
- package/dist/base/react/ClientWorkspaceContext/interfaces.js.map +0 -1
- package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.d.ts +0 -17
- package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.d.ts.map +0 -1
- package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +0 -76
- package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +0 -1
- package/dist/base/react/ErrorComponent.d.ts +0 -35
- package/dist/base/react/ErrorComponent.d.ts.map +0 -1
- package/dist/base/react/ErrorComponent.js +0 -90
- package/dist/base/react/ErrorComponent.js.map +0 -1
- package/dist/base/react/LoadingComponent.d.ts +0 -28
- package/dist/base/react/LoadingComponent.d.ts.map +0 -1
- package/dist/base/react/LoadingComponent.js +0 -81
- package/dist/base/react/LoadingComponent.js.map +0 -1
- package/dist/base/react/PromiseCache.d.ts +0 -21
- package/dist/base/react/PromiseCache.d.ts.map +0 -1
- package/dist/base/react/PromiseCache.js +0 -66
- package/dist/base/react/PromiseCache.js.map +0 -1
- package/dist/base/react/WorkspaceContext.d.ts +0 -77
- package/dist/base/react/WorkspaceContext.d.ts.map +0 -1
- package/dist/base/react/WorkspaceContext.js +0 -89
- package/dist/base/react/WorkspaceContext.js.map +0 -1
- package/dist/base/react/legacy/availableDrillTargets.d.ts +0 -12
- package/dist/base/react/legacy/availableDrillTargets.d.ts.map +0 -1
- package/dist/base/react/legacy/availableDrillTargets.js +0 -49
- package/dist/base/react/legacy/availableDrillTargets.js.map +0 -1
- package/dist/base/react/legacy/withEntireDataView.d.ts +0 -51
- package/dist/base/react/legacy/withEntireDataView.d.ts.map +0 -1
- package/dist/base/react/legacy/withEntireDataView.js +0 -171
- package/dist/base/react/legacy/withEntireDataView.js.map +0 -1
- package/dist/base/react/placeholders/aliases.d.ts +0 -92
- package/dist/base/react/placeholders/aliases.d.ts.map +0 -1
- package/dist/base/react/placeholders/aliases.js +0 -3
- package/dist/base/react/placeholders/aliases.js.map +0 -1
- package/dist/base/react/placeholders/base.d.ts +0 -279
- package/dist/base/react/placeholders/base.d.ts.map +0 -1
- package/dist/base/react/placeholders/base.js +0 -33
- package/dist/base/react/placeholders/base.js.map +0 -1
- package/dist/base/react/placeholders/context.d.ts +0 -36
- package/dist/base/react/placeholders/context.d.ts.map +0 -1
- package/dist/base/react/placeholders/context.js +0 -47
- package/dist/base/react/placeholders/context.js.map +0 -1
- package/dist/base/react/placeholders/factory.d.ts +0 -34
- package/dist/base/react/placeholders/factory.d.ts.map +0 -1
- package/dist/base/react/placeholders/factory.js +0 -45
- package/dist/base/react/placeholders/factory.js.map +0 -1
- package/dist/base/react/placeholders/hooks.d.ts +0 -70
- package/dist/base/react/placeholders/hooks.d.ts.map +0 -1
- package/dist/base/react/placeholders/hooks.js +0 -150
- package/dist/base/react/placeholders/hooks.js.map +0 -1
- package/dist/base/react/placeholders/resolve.d.ts +0 -30
- package/dist/base/react/placeholders/resolve.d.ts.map +0 -1
- package/dist/base/react/placeholders/resolve.js +0 -82
- package/dist/base/react/placeholders/resolve.js.map +0 -1
- package/dist/base/react/safeSerialize.d.ts +0 -9
- package/dist/base/react/safeSerialize.d.ts.map +0 -1
- package/dist/base/react/safeSerialize.js +0 -21
- package/dist/base/react/safeSerialize.js.map +0 -1
- package/dist/base/react/useCancelablePromise.d.ts +0 -99
- package/dist/base/react/useCancelablePromise.d.ts.map +0 -1
- package/dist/base/react/useCancelablePromise.js +0 -112
- package/dist/base/react/useCancelablePromise.js.map +0 -1
- package/dist/base/react/useCancelablePromiseUtils.d.ts +0 -48
- package/dist/base/react/useCancelablePromiseUtils.d.ts.map +0 -1
- package/dist/base/react/useCancelablePromiseUtils.js +0 -107
- package/dist/base/react/useCancelablePromiseUtils.js.map +0 -1
- package/dist/base/react/usePagedResource.d.ts +0 -21
- package/dist/base/react/usePagedResource.d.ts.map +0 -1
- package/dist/base/react/usePagedResource.js +0 -44
- package/dist/base/react/usePagedResource.js.map +0 -1
- package/dist/base/react/usePrevious.d.ts +0 -8
- package/dist/base/react/usePrevious.d.ts.map +0 -1
- package/dist/base/react/usePrevious.js +0 -20
- package/dist/base/react/usePrevious.js.map +0 -1
- package/dist/base/react/usePromiseCache.d.ts +0 -18
- package/dist/base/react/usePromiseCache.d.ts.map +0 -1
- package/dist/base/react/usePromiseCache.js +0 -61
- package/dist/base/react/usePromiseCache.js.map +0 -1
- package/dist/base/react/withContexts.d.ts +0 -11
- package/dist/base/react/withContexts.d.ts.map +0 -1
- package/dist/base/react/withContexts.js +0 -18
- package/dist/base/react/withContexts.js.map +0 -1
- package/dist/base/react/wrapDisplayName.d.ts +0 -7
- package/dist/base/react/wrapDisplayName.d.ts.map +0 -1
- package/dist/base/react/wrapDisplayName.js +0 -24
- package/dist/base/react/wrapDisplayName.js.map +0 -1
- package/dist/base/results/dataAccess.d.ts +0 -381
- package/dist/base/results/dataAccess.d.ts.map +0 -1
- package/dist/base/results/dataAccess.js +0 -3
- package/dist/base/results/dataAccess.js.map +0 -1
- package/dist/base/results/dataAccessConfig.d.ts +0 -42
- package/dist/base/results/dataAccessConfig.d.ts.map +0 -1
- package/dist/base/results/dataAccessConfig.js +0 -38
- package/dist/base/results/dataAccessConfig.js.map +0 -1
- package/dist/base/results/facade.d.ts +0 -95
- package/dist/base/results/facade.d.ts.map +0 -1
- package/dist/base/results/facade.js +0 -158
- package/dist/base/results/facade.js.map +0 -1
- package/dist/base/results/internal/dataAccessDigest.d.ts +0 -113
- package/dist/base/results/internal/dataAccessDigest.d.ts.map +0 -1
- package/dist/base/results/internal/dataAccessDigest.js +0 -143
- package/dist/base/results/internal/dataAccessDigest.js.map +0 -1
- package/dist/base/results/internal/dataAccessImpl.d.ts +0 -37
- package/dist/base/results/internal/dataAccessImpl.d.ts.map +0 -1
- package/dist/base/results/internal/dataAccessImpl.js +0 -384
- package/dist/base/results/internal/dataAccessImpl.js.map +0 -1
- package/dist/base/results/internal/dataAccessMethods.d.ts +0 -8
- package/dist/base/results/internal/dataAccessMethods.d.ts.map +0 -1
- package/dist/base/results/internal/dataAccessMethods.js +0 -122
- package/dist/base/results/internal/dataAccessMethods.js.map +0 -1
- package/dist/base/results/internal/definitionMethods.d.ts +0 -90
- package/dist/base/results/internal/definitionMethods.d.ts.map +0 -1
- package/dist/base/results/internal/definitionMethods.js +0 -82
- package/dist/base/results/internal/definitionMethods.js.map +0 -1
- package/dist/base/results/internal/lazyInitArray.d.ts +0 -15
- package/dist/base/results/internal/lazyInitArray.d.ts.map +0 -1
- package/dist/base/results/internal/lazyInitArray.js +0 -48
- package/dist/base/results/internal/lazyInitArray.js.map +0 -1
- package/dist/base/results/internal/resultDataMethods.d.ts +0 -82
- package/dist/base/results/internal/resultDataMethods.d.ts.map +0 -1
- package/dist/base/results/internal/resultDataMethods.js +0 -85
- package/dist/base/results/internal/resultDataMethods.js.map +0 -1
- package/dist/base/results/internal/resultMetaMethods.d.ts +0 -89
- package/dist/base/results/internal/resultMetaMethods.d.ts.map +0 -1
- package/dist/base/results/internal/resultMetaMethods.js +0 -145
- package/dist/base/results/internal/resultMetaMethods.js.map +0 -1
- package/dist/base/results/internal/utils.d.ts +0 -30
- package/dist/base/results/internal/utils.d.ts.map +0 -1
- package/dist/base/results/internal/utils.js +0 -54
- package/dist/base/results/internal/utils.js.map +0 -1
- package/dist/base/typings/subtract.d.ts +0 -5
- package/dist/base/typings/subtract.d.ts.map +0 -1
- package/dist/base/typings/subtract.js +0 -3
- package/dist/base/typings/subtract.js.map +0 -1
- package/dist/base/vis/DrillEvents.d.ts +0 -191
- package/dist/base/vis/DrillEvents.d.ts.map +0 -1
- package/dist/base/vis/DrillEvents.js +0 -42
- package/dist/base/vis/DrillEvents.js.map +0 -1
- package/dist/base/vis/Events.d.ts +0 -85
- package/dist/base/vis/Events.d.ts.map +0 -1
- package/dist/base/vis/Events.js +0 -3
- package/dist/base/vis/Events.js.map +0 -1
- package/dist/base/vis/VisualizationProps.d.ts +0 -94
- package/dist/base/vis/VisualizationProps.d.ts.map +0 -1
- package/dist/base/vis/VisualizationProps.js +0 -4
- package/dist/base/vis/VisualizationProps.js.map +0 -1
- package/dist/base/vis/drilling.d.ts +0 -30
- package/dist/base/vis/drilling.d.ts.map +0 -1
- package/dist/base/vis/drilling.js +0 -102
- package/dist/base/vis/drilling.js.map +0 -1
- package/dist/base/vis/export.d.ts +0 -21
- package/dist/base/vis/export.d.ts.map +0 -1
- package/dist/base/vis/export.js +0 -47
- package/dist/base/vis/export.js.map +0 -1
- package/dist/base/vis/visualizationTypes.d.ts +0 -76
- package/dist/base/vis/visualizationTypes.d.ts.map +0 -1
- package/dist/base/vis/visualizationTypes.js +0 -46
- package/dist/base/vis/visualizationTypes.js.map +0 -1
- package/dist/execution/DataViewLoader.d.ts +0 -70
- package/dist/execution/DataViewLoader.d.ts.map +0 -1
- package/dist/execution/DataViewLoader.js +0 -102
- package/dist/execution/DataViewLoader.js.map +0 -1
- package/dist/execution/Execute.d.ts +0 -134
- package/dist/execution/Execute.d.ts.map +0 -1
- package/dist/execution/Execute.js +0 -99
- package/dist/execution/Execute.js.map +0 -1
- package/dist/execution/ExecuteInsight.d.ts +0 -136
- package/dist/execution/ExecuteInsight.d.ts.map +0 -1
- package/dist/execution/ExecuteInsight.js +0 -99
- package/dist/execution/ExecuteInsight.js.map +0 -1
- package/dist/execution/RawExecute.d.ts +0 -86
- package/dist/execution/RawExecute.d.ts.map +0 -1
- package/dist/execution/RawExecute.js +0 -76
- package/dist/execution/RawExecute.js.map +0 -1
- package/dist/execution/createExecution.d.ts +0 -61
- package/dist/execution/createExecution.d.ts.map +0 -1
- package/dist/execution/createExecution.js +0 -57
- package/dist/execution/createExecution.js.map +0 -1
- package/dist/execution/index.d.ts +0 -11
- package/dist/execution/index.d.ts.map +0 -1
- package/dist/execution/index.js +0 -23
- package/dist/execution/index.js.map +0 -1
- package/dist/execution/interfaces.d.ts +0 -23
- package/dist/execution/interfaces.d.ts.map +0 -1
- package/dist/execution/interfaces.js +0 -3
- package/dist/execution/interfaces.js.map +0 -1
- package/dist/execution/useDataExport.d.ts +0 -27
- package/dist/execution/useDataExport.d.ts.map +0 -1
- package/dist/execution/useDataExport.js +0 -35
- package/dist/execution/useDataExport.js.map +0 -1
- package/dist/execution/useExecutionDataView.d.ts +0 -94
- package/dist/execution/useExecutionDataView.d.ts.map +0 -1
- package/dist/execution/useExecutionDataView.js +0 -79
- package/dist/execution/useExecutionDataView.js.map +0 -1
- package/dist/execution/useInsight.d.ts +0 -32
- package/dist/execution/useInsight.d.ts.map +0 -1
- package/dist/execution/useInsight.js +0 -22
- package/dist/execution/useInsight.js.map +0 -1
- package/dist/execution/useInsightDataView.d.ts +0 -88
- package/dist/execution/useInsightDataView.d.ts.map +0 -1
- package/dist/execution/useInsightDataView.js +0 -54
- package/dist/execution/useInsightDataView.js.map +0 -1
- package/dist/execution/withExecution.d.ts +0 -59
- package/dist/execution/withExecution.d.ts.map +0 -1
- package/dist/execution/withExecution.js +0 -46
- package/dist/execution/withExecution.js.map +0 -1
- package/dist/execution/withExecutionLoading.d.ts +0 -145
- package/dist/execution/withExecutionLoading.d.ts.map +0 -1
- package/dist/execution/withExecutionLoading.js +0 -157
- package/dist/execution/withExecutionLoading.js.map +0 -1
- package/dist/index.d.ts +0 -22
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -22
- package/dist/index.js.map +0 -1
- package/dist/kpi/FormattedNumber.d.ts +0 -16
- package/dist/kpi/FormattedNumber.d.ts.map +0 -1
- package/dist/kpi/FormattedNumber.js +0 -18
- package/dist/kpi/FormattedNumber.js.map +0 -1
- package/dist/kpi/Kpi.d.ts +0 -65
- package/dist/kpi/Kpi.d.ts.map +0 -1
- package/dist/kpi/Kpi.js +0 -72
- package/dist/kpi/Kpi.js.map +0 -1
- package/dist/kpi/KpiError.d.ts +0 -7
- package/dist/kpi/KpiError.d.ts.map +0 -1
- package/dist/kpi/KpiError.js +0 -23
- package/dist/kpi/KpiError.js.map +0 -1
- package/dist/kpi/index.d.ts +0 -2
- package/dist/kpi/index.d.ts.map +0 -1
- package/dist/kpi/index.js +0 -7
- package/dist/kpi/index.js.map +0 -1
- package/dist/locales.d.ts +0 -3
- package/dist/locales.d.ts.map +0 -1
- package/dist/locales.js +0 -22
- package/dist/locales.js.map +0 -1
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DataViewWindow, IWithLoadingEvents, WithLoadingResult } from "./withExecutionLoading";
|
|
3
|
-
import { IDimension, IExecutionDefinition, INullableFilter, ISortItem, ObjRef } from "@gooddata/sdk-model";
|
|
4
|
-
import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
|
|
5
|
-
import { IExecuteErrorComponent, IExecuteLoadingComponent } from "./interfaces";
|
|
6
|
-
/**
|
|
7
|
-
* Props of the {@link ExecuteInsight} component.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export interface IExecuteInsightProps extends IWithLoadingEvents<IExecuteInsightProps> {
|
|
11
|
-
/**
|
|
12
|
-
* Backend to execute against.
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
16
|
-
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
17
|
-
*/
|
|
18
|
-
backend?: IAnalyticalBackend;
|
|
19
|
-
/**
|
|
20
|
-
* Workspace in whose context to perform the execution.
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
24
|
-
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
25
|
-
*/
|
|
26
|
-
workspace?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Reference to the insight for which you want to get the data view.
|
|
29
|
-
*/
|
|
30
|
-
insight: ObjRef;
|
|
31
|
-
/**
|
|
32
|
-
* Modify sorts on prepared insight execution, before it's executed.
|
|
33
|
-
*/
|
|
34
|
-
sorts?: ISortItem[] | ((def: IExecutionDefinition, props: IExecuteInsightProps) => ISortItem[]);
|
|
35
|
-
/**
|
|
36
|
-
* Modify dimensions on prepared insight execution, before it's executed.
|
|
37
|
-
*/
|
|
38
|
-
dimensions?: IDimension[] | ((def: IExecutionDefinition, props: IExecuteInsightProps) => IDimension[]);
|
|
39
|
-
/**
|
|
40
|
-
* Modify date formatting on prepared insight execution, before it's executed.
|
|
41
|
-
*/
|
|
42
|
-
dateFormat?: string | ((def: IExecutionDefinition, props: IExecuteInsightProps) => string);
|
|
43
|
-
/**
|
|
44
|
-
* Filters to apply on server side.
|
|
45
|
-
*/
|
|
46
|
-
filters?: INullableFilter[];
|
|
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.
|
|
52
|
-
*
|
|
53
|
-
* Note: it is also possible to pass custom name to the export function that will be sent via the
|
|
54
|
-
* onExportReady callback. That approach is preferred if you need to assign the names in an ad-hoc
|
|
55
|
-
* fashion.
|
|
56
|
-
*/
|
|
57
|
-
exportTitle?: string;
|
|
58
|
-
/**
|
|
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.
|
|
64
|
-
*
|
|
65
|
-
* Defaults 'Execute'.
|
|
66
|
-
*/
|
|
67
|
-
componentName?: string;
|
|
68
|
-
/**
|
|
69
|
-
* Specifies whether `Execute` should trigger execution and loading right after it is
|
|
70
|
-
* mounted.
|
|
71
|
-
*
|
|
72
|
-
* @remarks
|
|
73
|
-
* If not specified defaults to `true`.
|
|
74
|
-
*
|
|
75
|
-
* If set to `false`, then the {@link WithLoadingResult#reload} function needs to be called
|
|
76
|
-
* to trigger the execution and loading.
|
|
77
|
-
*/
|
|
78
|
-
loadOnMount?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Specifies whether `Execute` should load all data from backend or just a particular window - specified by
|
|
81
|
-
* offset and size of the window.
|
|
82
|
-
*
|
|
83
|
-
* @remarks
|
|
84
|
-
* If not specified, all data will be loaded.
|
|
85
|
-
*/
|
|
86
|
-
window?: DataViewWindow;
|
|
87
|
-
/**
|
|
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.
|
|
109
|
-
*
|
|
110
|
-
* @param executionResult - execution result, indicating state and/or results
|
|
111
|
-
*/
|
|
112
|
-
children: (executionResult: WithLoadingResult) => React.ReactElement | null;
|
|
113
|
-
/**
|
|
114
|
-
* Provide component for rendering of the loading state.
|
|
115
|
-
*
|
|
116
|
-
* @remarks
|
|
117
|
-
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
118
|
-
* will be called only with a successful result.
|
|
119
|
-
*/
|
|
120
|
-
LoadingComponent?: IExecuteLoadingComponent;
|
|
121
|
-
/**
|
|
122
|
-
* Provide component for rendering of the error state.
|
|
123
|
-
*
|
|
124
|
-
* @remarks
|
|
125
|
-
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
126
|
-
* will be called only with a successful result.
|
|
127
|
-
*/
|
|
128
|
-
ErrorComponent?: IExecuteErrorComponent;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Gets data for a specific stored insight.
|
|
132
|
-
*
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
export declare const ExecuteInsight: React.ComponentType<IExecuteInsightProps>;
|
|
136
|
-
//# sourceMappingURL=ExecuteInsight.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExecuteInsight = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019-2022 GoodData Corporation
|
|
6
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
-
const withExecution_1 = require("./withExecution");
|
|
8
|
-
const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
|
|
9
|
-
const base_1 = require("../base");
|
|
10
|
-
const ts_invariant_1 = tslib_1.__importDefault(require("ts-invariant"));
|
|
11
|
-
const CoreExecute = (props) => {
|
|
12
|
-
const { children, error, isLoading, reload, result, LoadingComponent, ErrorComponent } = props;
|
|
13
|
-
if (ErrorComponent && error) {
|
|
14
|
-
return react_1.default.createElement(ErrorComponent, { error: error });
|
|
15
|
-
}
|
|
16
|
-
if (LoadingComponent && isLoading) {
|
|
17
|
-
return react_1.default.createElement(LoadingComponent, null);
|
|
18
|
-
}
|
|
19
|
-
if (LoadingComponent && ErrorComponent && !result) {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
return children({
|
|
23
|
-
error,
|
|
24
|
-
isLoading,
|
|
25
|
-
reload,
|
|
26
|
-
result,
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
function componentName(props) {
|
|
30
|
-
return props.componentName || "ExecuteInsight";
|
|
31
|
-
}
|
|
32
|
-
function exportTitle(props) {
|
|
33
|
-
return props.exportTitle || componentName(props);
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Gets data for a specific stored insight.
|
|
37
|
-
*
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
exports.ExecuteInsight = (0, base_1.withContexts)((0, withExecution_1.withExecution)({
|
|
41
|
-
exportTitle,
|
|
42
|
-
execution: async (props) => {
|
|
43
|
-
const { insight: insightRef, filters, sorts, dimensions, dateFormat, backend, workspace, executeByReference, } = props;
|
|
44
|
-
(0, 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.");
|
|
45
|
-
(0, 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.");
|
|
46
|
-
const insight = await backend.workspace(workspace).insights().getInsight(insightRef);
|
|
47
|
-
const executionFactory = backend.workspace(workspace).execution();
|
|
48
|
-
const executeFn = (executeByReference ? executionFactory.forInsightByRef : executionFactory.forInsight).bind(executionFactory);
|
|
49
|
-
let insightExecution = executeFn(insight, filters);
|
|
50
|
-
if (sorts) {
|
|
51
|
-
const resolvedSorts = typeof sorts === "function" ? sorts(insightExecution.definition, props) : sorts;
|
|
52
|
-
insightExecution = insightExecution.withSorting(...resolvedSorts);
|
|
53
|
-
}
|
|
54
|
-
if (dimensions) {
|
|
55
|
-
const resolvedDimensions = typeof dimensions === "function"
|
|
56
|
-
? dimensions(insightExecution.definition, props)
|
|
57
|
-
: dimensions;
|
|
58
|
-
insightExecution = insightExecution.withDimensions(...resolvedDimensions);
|
|
59
|
-
}
|
|
60
|
-
if (dateFormat) {
|
|
61
|
-
const resolvedDateFormat = typeof dateFormat === "function"
|
|
62
|
-
? dateFormat(insightExecution.definition, props)
|
|
63
|
-
: dateFormat;
|
|
64
|
-
insightExecution = insightExecution.withDateFormat(resolvedDateFormat);
|
|
65
|
-
}
|
|
66
|
-
return insightExecution;
|
|
67
|
-
},
|
|
68
|
-
events: (props) => {
|
|
69
|
-
const { onError, onLoadingChanged, onLoadingFinish, onLoadingStart, onExportReady } = props;
|
|
70
|
-
return {
|
|
71
|
-
onError,
|
|
72
|
-
onLoadingChanged,
|
|
73
|
-
onLoadingFinish,
|
|
74
|
-
onLoadingStart,
|
|
75
|
-
onExportReady,
|
|
76
|
-
};
|
|
77
|
-
},
|
|
78
|
-
shouldRefetch: (prevProps, nextProps) => {
|
|
79
|
-
const relevantProps = [
|
|
80
|
-
"onError",
|
|
81
|
-
"onLoadingChanged",
|
|
82
|
-
"onLoadingFinish",
|
|
83
|
-
"onLoadingStart",
|
|
84
|
-
];
|
|
85
|
-
const relevantPropsDeepEqual = [
|
|
86
|
-
"insight",
|
|
87
|
-
"filters",
|
|
88
|
-
"window",
|
|
89
|
-
];
|
|
90
|
-
return (relevantProps.some((propName) => prevProps[propName] !== nextProps[propName]) ||
|
|
91
|
-
relevantPropsDeepEqual.some((propName) => !(0, isEqual_1.default)(prevProps[propName], nextProps[propName])));
|
|
92
|
-
},
|
|
93
|
-
loadOnMount: (props) => {
|
|
94
|
-
const { loadOnMount = true } = props !== null && props !== void 0 ? props : {};
|
|
95
|
-
return loadOnMount;
|
|
96
|
-
},
|
|
97
|
-
window: (props) => props.window,
|
|
98
|
-
})(CoreExecute));
|
|
99
|
-
//# sourceMappingURL=ExecuteInsight.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExecuteInsight.js","sourceRoot":"","sources":["../../src/execution/ExecuteInsight.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IPreparedExecution } from "@gooddata/sdk-backend-spi";
|
|
3
|
-
import { WithLoadingResult, IWithLoadingEvents, DataViewWindow } from "./withExecutionLoading";
|
|
4
|
-
import { IExecuteErrorComponent, IExecuteLoadingComponent } from "./interfaces";
|
|
5
|
-
/**
|
|
6
|
-
* Props of the {@link RawExecute} component.
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export interface IRawExecuteProps extends IWithLoadingEvents<IRawExecuteProps> {
|
|
10
|
-
/**
|
|
11
|
-
* Prepared execution which the executor will drive to completion and will obtain data from.
|
|
12
|
-
*/
|
|
13
|
-
execution: IPreparedExecution;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies whether {@link RawExecute} should load all data from backend or just a particular window - specified by
|
|
16
|
-
* offset and size of the window.
|
|
17
|
-
*
|
|
18
|
-
* @remarks
|
|
19
|
-
* If not specified, all data will be loaded.
|
|
20
|
-
*/
|
|
21
|
-
window?: DataViewWindow;
|
|
22
|
-
/**
|
|
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.
|
|
27
|
-
*
|
|
28
|
-
* Note: it is also possible to pass custom name to the export function that will be sent via the
|
|
29
|
-
* onExportReady callback. That approach is preferred if you need to assign the names in an ad-hoc
|
|
30
|
-
* fashion.
|
|
31
|
-
*/
|
|
32
|
-
exportTitle?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Indicates whether the executor should trigger execution and loading right after it is
|
|
35
|
-
* mounted.
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* If not specified defaults to `true`.
|
|
39
|
-
*
|
|
40
|
-
* If set to `false`, then the {@link WithLoadingResult#reload} function needs to be called
|
|
41
|
-
* to trigger the execution and loading.
|
|
42
|
-
*/
|
|
43
|
-
loadOnMount?: boolean;
|
|
44
|
-
/**
|
|
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.
|
|
49
|
-
*
|
|
50
|
-
* @param executionResult - execution result, indicating state and/or results
|
|
51
|
-
*/
|
|
52
|
-
children: (executionResult: WithLoadingResult) => React.ReactElement | null;
|
|
53
|
-
/**
|
|
54
|
-
* Provide component for rendering of the loading state.
|
|
55
|
-
*
|
|
56
|
-
* @remarks
|
|
57
|
-
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
58
|
-
* will be called only with a successful result.
|
|
59
|
-
*/
|
|
60
|
-
LoadingComponent?: IExecuteLoadingComponent;
|
|
61
|
-
/**
|
|
62
|
-
* Provide component for rendering of the error state.
|
|
63
|
-
*
|
|
64
|
-
* @remarks
|
|
65
|
-
* Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result
|
|
66
|
-
* will be called only with a successful result.
|
|
67
|
-
*/
|
|
68
|
-
ErrorComponent?: IExecuteErrorComponent;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Raw executor is the most basic React component to drive custom executions to obtain
|
|
72
|
-
* data from backends.
|
|
73
|
-
*
|
|
74
|
-
* @remarks
|
|
75
|
-
* The component accepts an instance of prepared execution and drives all the necessary
|
|
76
|
-
* APIs and boilerplate needed to obtain a {@link DataViewFacade}.
|
|
77
|
-
* Note that if the resulting data is empty this will NOT throw a {@link @gooddata/sdk-backend-spi#NoDataError}.
|
|
78
|
-
* It is the responsibility of the child component to handle that if they need to.
|
|
79
|
-
*
|
|
80
|
-
* The rendering is delegated to a child component. This will be called every time the
|
|
81
|
-
* state of the loading changes.
|
|
82
|
-
*
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
85
|
-
export declare const RawExecute: React.ComponentClass<IRawExecuteProps, any>;
|
|
86
|
-
//# sourceMappingURL=RawExecute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RawExecute.d.ts","sourceRoot":"","sources":["../../src/execution/RawExecute.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE/F,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAEhF;;;GAGG;AACH,MAAM,WAAW,gBAAiB,SAAQ,kBAAkB,CAAC,gBAAgB,CAAC;IAC1E;;OAEG;IACH,SAAS,EAAE,kBAAkB,CAAC;IAE9B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;;OAOG;IACH,QAAQ,EAAE,CAAC,eAAe,EAAE,iBAAiB,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAE5E;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IAE5C;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,sBAAsB,CAAC;CAC3C;AA+BD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU,6CAoCP,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RawExecute = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019-2022 GoodData Corporation
|
|
6
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
-
const withExecution_1 = require("./withExecution");
|
|
8
|
-
const isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
|
|
9
|
-
const CoreExecutor = (props) => {
|
|
10
|
-
const { children, error, isLoading, reload, result, LoadingComponent, ErrorComponent } = props;
|
|
11
|
-
if (ErrorComponent && error) {
|
|
12
|
-
return react_1.default.createElement(ErrorComponent, { error: error });
|
|
13
|
-
}
|
|
14
|
-
if (LoadingComponent && isLoading) {
|
|
15
|
-
return react_1.default.createElement(LoadingComponent, null);
|
|
16
|
-
}
|
|
17
|
-
if (LoadingComponent && ErrorComponent && !result) {
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
return children({
|
|
21
|
-
error,
|
|
22
|
-
isLoading,
|
|
23
|
-
reload,
|
|
24
|
-
result,
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
function exportTitle(props) {
|
|
28
|
-
return props.exportTitle || "RawExecute";
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Raw executor is the most basic React component to drive custom executions to obtain
|
|
32
|
-
* data from backends.
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* The component accepts an instance of prepared execution and drives all the necessary
|
|
36
|
-
* APIs and boilerplate needed to obtain a {@link DataViewFacade}.
|
|
37
|
-
* Note that if the resulting data is empty this will NOT throw a {@link @gooddata/sdk-backend-spi#NoDataError}.
|
|
38
|
-
* It is the responsibility of the child component to handle that if they need to.
|
|
39
|
-
*
|
|
40
|
-
* The rendering is delegated to a child component. This will be called every time the
|
|
41
|
-
* state of the loading changes.
|
|
42
|
-
*
|
|
43
|
-
* @public
|
|
44
|
-
*/
|
|
45
|
-
exports.RawExecute = (0, withExecution_1.withExecution)({
|
|
46
|
-
exportTitle,
|
|
47
|
-
execution: (props) => props.execution,
|
|
48
|
-
events: (props) => {
|
|
49
|
-
const { onError, onLoadingChanged, onLoadingFinish, onLoadingStart, onExportReady } = props;
|
|
50
|
-
return {
|
|
51
|
-
onError,
|
|
52
|
-
onLoadingChanged,
|
|
53
|
-
onLoadingFinish,
|
|
54
|
-
onLoadingStart,
|
|
55
|
-
onExportReady,
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
shouldRefetch: (prevProps, nextProps) => {
|
|
59
|
-
const relevantProps = [
|
|
60
|
-
"onError",
|
|
61
|
-
"onLoadingChanged",
|
|
62
|
-
"onLoadingFinish",
|
|
63
|
-
"onLoadingStart",
|
|
64
|
-
];
|
|
65
|
-
const relevantPropsDeepEqual = ["window"];
|
|
66
|
-
return (relevantProps.some((propName) => prevProps[propName] !== nextProps[propName]) ||
|
|
67
|
-
relevantPropsDeepEqual.some((propName) => !(0, isEqual_1.default)(prevProps[propName], nextProps[propName])) ||
|
|
68
|
-
prevProps.execution.fingerprint() !== nextProps.execution.fingerprint());
|
|
69
|
-
},
|
|
70
|
-
loadOnMount: (props) => {
|
|
71
|
-
const { loadOnMount = true } = props;
|
|
72
|
-
return loadOnMount;
|
|
73
|
-
},
|
|
74
|
-
window: (props) => props.window,
|
|
75
|
-
})(CoreExecutor);
|
|
76
|
-
//# sourceMappingURL=RawExecute.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RawExecute.js","sourceRoot":"","sources":["../../src/execution/RawExecute.tsx"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,0DAA0B;AAE1B,mDAAgD;AAEhD,qEAAqC;AA6ErC,MAAM,YAAY,GAAoB,CAAC,KAAY,EAAE,EAAE;IACnD,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;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;QACL,SAAS;QACT,MAAM;QACN,MAAM;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,IAAA,6BAAa,EAAmB;IACtD,WAAW;IACX,SAAS,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS;IACvD,MAAM,EAAE,CAAC,KAAuB,EAAE,EAAE;QAChC,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;QAE5F,OAAO;YACH,OAAO;YACP,gBAAgB;YAChB,eAAe;YACf,cAAc;YACd,aAAa;SAChB,CAAC;IACN,CAAC;IACD,aAAa,EAAE,CAAC,SAA2B,EAAE,SAA2B,EAAE,EAAE;QACxE,MAAM,aAAa,GAAkC;YACjD,SAAS;YACT,kBAAkB;YAClB,iBAAiB;YACjB,gBAAgB;SACnB,CAAC;QAEF,MAAM,sBAAsB,GAAkC,CAAC,QAAQ,CAAC,CAAC;QAEzE,OAAO,CACH,aAAa,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,SAAS,CAAC,QAAQ,CAAC,CAAC;YAC7E,sBAAsB,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,IAAA,iBAAO,EAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;YAC7F,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,SAAS,CAAC,WAAW,EAAE,CAC1E,CAAC;IACN,CAAC;IACD,WAAW,EAAE,CAAC,KAAuB,EAAE,EAAE;QACrC,MAAM,EAAE,WAAW,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;QAErC,OAAO,WAAW,CAAC;IACvB,CAAC;IACD,MAAM,EAAE,CAAC,KAAuB,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM;CACpD,CAAC,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { IAttribute, IAttributeOrMeasure, INullableFilter, ISortItem, ITotal } from "@gooddata/sdk-model";
|
|
2
|
-
import { IAnalyticalBackend, IPreparedExecution } from "@gooddata/sdk-backend-spi";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export type CreateExecutionOptions = {
|
|
7
|
-
/**
|
|
8
|
-
* Backend to execute against.
|
|
9
|
-
*
|
|
10
|
-
* Note: the backend must come either from this property or from BackendContext. If you do not specify
|
|
11
|
-
* backend here, then the executor MUST be rendered within an existing BackendContext.
|
|
12
|
-
*/
|
|
13
|
-
backend?: IAnalyticalBackend;
|
|
14
|
-
/**
|
|
15
|
-
* Workspace in whose context to perform the execution.
|
|
16
|
-
*
|
|
17
|
-
* Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
|
|
18
|
-
* workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
|
|
19
|
-
*/
|
|
20
|
-
workspace?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Data series will be built using the provided measures that are further scoped for
|
|
23
|
-
* elements of the specified attributes.
|
|
24
|
-
*/
|
|
25
|
-
seriesBy?: IAttributeOrMeasure[];
|
|
26
|
-
/**
|
|
27
|
-
* Slice all data series by elements of these attributes.
|
|
28
|
-
*/
|
|
29
|
-
slicesBy?: IAttribute[];
|
|
30
|
-
/**
|
|
31
|
-
* Include these totals among the data slices.
|
|
32
|
-
*/
|
|
33
|
-
totals?: ITotal[];
|
|
34
|
-
/**
|
|
35
|
-
* Filters to apply on server side.
|
|
36
|
-
*/
|
|
37
|
-
filters?: INullableFilter[];
|
|
38
|
-
/**
|
|
39
|
-
* Sorting to apply on server side.
|
|
40
|
-
*/
|
|
41
|
-
sortBy?: ISortItem[];
|
|
42
|
-
/**
|
|
43
|
-
* Informative name of the component.
|
|
44
|
-
*
|
|
45
|
-
* @remarks
|
|
46
|
-
* This value is sent as telemetry information together
|
|
47
|
-
* with the actual execution request. We recommend to set this because it can be useful for diagnostic
|
|
48
|
-
* purposes.
|
|
49
|
-
*
|
|
50
|
-
* Defaults 'Execute'.
|
|
51
|
-
*/
|
|
52
|
-
componentName?: string;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Given execute props, this will prepare execution to send to backend.
|
|
56
|
-
*
|
|
57
|
-
* @param options - create execution options
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
export declare function createExecution(options: CreateExecutionOptions): IPreparedExecution;
|
|
61
|
-
//# sourceMappingURL=createExecution.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.d.ts","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":"AACA,OAAO,EACH,UAAU,EACV,mBAAmB,EAEnB,eAAe,EAGf,SAAS,EACT,MAAM,EAIT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAKnF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAEjC;;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;AAuCF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,kBAAkB,CA2BnF"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createExecution = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
// (C) 2019-2022 GoodData Corporation
|
|
6
|
-
const sdk_model_1 = require("@gooddata/sdk-model");
|
|
7
|
-
const compact_1 = tslib_1.__importDefault(require("lodash/compact"));
|
|
8
|
-
const isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
|
|
9
|
-
const ts_invariant_1 = tslib_1.__importDefault(require("ts-invariant"));
|
|
10
|
-
/**
|
|
11
|
-
* When caller desires just data series and no slicing, create a single-dim result.
|
|
12
|
-
*/
|
|
13
|
-
function seriesOnlyDim(seriesBy) {
|
|
14
|
-
return [
|
|
15
|
-
(0, sdk_model_1.newDimension)((0, compact_1.default)([
|
|
16
|
-
...seriesBy.filter(sdk_model_1.isAttribute),
|
|
17
|
-
// only include MeasureGroupIdentifier if there are some measures, otherwise the execution will always fail on the backend
|
|
18
|
-
seriesBy.some(sdk_model_1.isMeasure) && sdk_model_1.MeasureGroupIdentifier,
|
|
19
|
-
])),
|
|
20
|
-
];
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* When caller desires data series to be sliced further by some attributes (and perhaps with totals as well)
|
|
24
|
-
* then create two-dim result resembling a pivot table:
|
|
25
|
-
*
|
|
26
|
-
* - slices are in rows (first dim)
|
|
27
|
-
* - measures & scoping attributes will be in columns (second dim)
|
|
28
|
-
*/
|
|
29
|
-
function seriesAndSlicesDim(seriesBy, slices, totals) {
|
|
30
|
-
return (0, sdk_model_1.newTwoDimensional)([...slices, ...totals], (0, compact_1.default)([
|
|
31
|
-
...seriesBy.filter(sdk_model_1.isAttribute),
|
|
32
|
-
// only include MeasureGroupIdentifier if there are some measures, otherwise the execution will always fail on the backend
|
|
33
|
-
seriesBy.some(sdk_model_1.isMeasure) && sdk_model_1.MeasureGroupIdentifier,
|
|
34
|
-
]));
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Given execute props, this will prepare execution to send to backend.
|
|
38
|
-
*
|
|
39
|
-
* @param options - create execution options
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
|
-
function createExecution(options) {
|
|
43
|
-
const { backend, workspace, seriesBy = [], slicesBy = [], filters = [], sortBy = [], totals = [], componentName = "Execution", } = options;
|
|
44
|
-
(0, ts_invariant_1.default)(backend && workspace, "backend and workspace must be either specified explicitly or be provided by context");
|
|
45
|
-
const dimensions = (0, isEmpty_1.default)(slicesBy)
|
|
46
|
-
? seriesOnlyDim(seriesBy)
|
|
47
|
-
: seriesAndSlicesDim(seriesBy, slicesBy, totals);
|
|
48
|
-
return backend
|
|
49
|
-
.withTelemetry(componentName, options)
|
|
50
|
-
.workspace(workspace)
|
|
51
|
-
.execution()
|
|
52
|
-
.forItems(seriesBy.concat(slicesBy), filters)
|
|
53
|
-
.withSorting(...sortBy)
|
|
54
|
-
.withDimensions(...dimensions);
|
|
55
|
-
}
|
|
56
|
-
exports.createExecution = createExecution;
|
|
57
|
-
//# sourceMappingURL=createExecution.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createExecution.js","sourceRoot":"","sources":["../../src/execution/createExecution.ts"],"names":[],"mappings":";;;;AAAA,qCAAqC;AACrC,mDAY6B;AAE7B,qEAAqC;AACrC,qEAAqC;AACrC,wEAAqC;AA6DrC;;GAEG;AACH,SAAS,aAAa,CAAC,QAA+B;IAClD,OAAO;QACH,IAAA,wBAAY,EACR,IAAA,iBAAO,EAAC;YACJ,GAAG,QAAQ,CAAC,MAAM,CAAC,uBAAW,CAAC;YAC/B,0HAA0H;YAC1H,QAAQ,CAAC,IAAI,CAAC,qBAAS,CAAC,IAAI,kCAAsB;SACrD,CAAC,CACL;KACJ,CAAC;AACN,CAAC;AAED;;;;;;GAMG;AACH,SAAS,kBAAkB,CACvB,QAA+B,EAC/B,MAAoB,EACpB,MAAgB;IAEhB,OAAO,IAAA,6BAAiB,EACpB,CAAC,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,EACtB,IAAA,iBAAO,EAAC;QACJ,GAAG,QAAQ,CAAC,MAAM,CAAC,uBAAW,CAAC;QAC/B,0HAA0H;QAC1H,QAAQ,CAAC,IAAI,CAAC,qBAAS,CAAC,IAAI,kCAAsB;KACrD,CAAC,CACL,CAAC;AACN,CAAC;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,OAA+B;IAC3D,MAAM,EACF,OAAO,EACP,SAAS,EACT,QAAQ,GAAG,EAAE,EACb,QAAQ,GAAG,EAAE,EACb,OAAO,GAAG,EAAE,EACZ,MAAM,GAAG,EAAE,EACX,MAAM,GAAG,EAAE,EACX,aAAa,GAAG,WAAW,GAC9B,GAAG,OAAO,CAAC;IACZ,IAAA,sBAAS,EACL,OAAO,IAAI,SAAS,EACpB,qFAAqF,CACxF,CAAC;IAEF,MAAM,UAAU,GAAG,IAAA,iBAAO,EAAC,QAAQ,CAAC;QAChC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC;QACzB,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;IAErD,OAAO,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;SAC5C,WAAW,CAAC,GAAG,MAAM,CAAC;SACtB,cAAc,CAAC,GAAG,UAAU,CAAC,CAAC;AACvC,CAAC;AA3BD,0CA2BC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { withExecution, IWithExecution } from "./withExecution";
|
|
2
|
-
export { withExecutionLoading, IWithExecutionLoading, IWithLoadingEvents, WithLoadingResult, DataViewWindow, } from "./withExecutionLoading";
|
|
3
|
-
export { RawExecute, IRawExecuteProps } from "./RawExecute";
|
|
4
|
-
export { Execute, IExecuteProps } from "./Execute";
|
|
5
|
-
export { useDataExport, UseDataExportCallbacks, UseDataExportState } from "./useDataExport";
|
|
6
|
-
export { IExecutionConfiguration, IUseExecutionDataViewConfig, UseExecutionDataViewCallbacks, useExecutionDataView, } from "./useExecutionDataView";
|
|
7
|
-
export { IUseInsightDataViewConfig, UseInsightDataViewCallbacks, useInsightDataView, } from "./useInsightDataView";
|
|
8
|
-
export { ExecuteInsight, IExecuteInsightProps } from "./ExecuteInsight";
|
|
9
|
-
export { IExecuteErrorComponent, IExecuteErrorComponentProps, IExecuteLoadingComponent } from "./interfaces";
|
|
10
|
-
export { DataViewLoader } from "./DataViewLoader";
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,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
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// (C) 2020-2022 GoodData Corporation
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.DataViewLoader = exports.ExecuteInsight = exports.useInsightDataView = exports.useExecutionDataView = exports.useDataExport = exports.Execute = exports.RawExecute = exports.withExecutionLoading = exports.withExecution = void 0;
|
|
5
|
-
var withExecution_1 = require("./withExecution");
|
|
6
|
-
Object.defineProperty(exports, "withExecution", { enumerable: true, get: function () { return withExecution_1.withExecution; } });
|
|
7
|
-
var withExecutionLoading_1 = require("./withExecutionLoading");
|
|
8
|
-
Object.defineProperty(exports, "withExecutionLoading", { enumerable: true, get: function () { return withExecutionLoading_1.withExecutionLoading; } });
|
|
9
|
-
var RawExecute_1 = require("./RawExecute");
|
|
10
|
-
Object.defineProperty(exports, "RawExecute", { enumerable: true, get: function () { return RawExecute_1.RawExecute; } });
|
|
11
|
-
var Execute_1 = require("./Execute");
|
|
12
|
-
Object.defineProperty(exports, "Execute", { enumerable: true, get: function () { return Execute_1.Execute; } });
|
|
13
|
-
var useDataExport_1 = require("./useDataExport");
|
|
14
|
-
Object.defineProperty(exports, "useDataExport", { enumerable: true, get: function () { return useDataExport_1.useDataExport; } });
|
|
15
|
-
var useExecutionDataView_1 = require("./useExecutionDataView");
|
|
16
|
-
Object.defineProperty(exports, "useExecutionDataView", { enumerable: true, get: function () { return useExecutionDataView_1.useExecutionDataView; } });
|
|
17
|
-
var useInsightDataView_1 = require("./useInsightDataView");
|
|
18
|
-
Object.defineProperty(exports, "useInsightDataView", { enumerable: true, get: function () { return useInsightDataView_1.useInsightDataView; } });
|
|
19
|
-
var ExecuteInsight_1 = require("./ExecuteInsight");
|
|
20
|
-
Object.defineProperty(exports, "ExecuteInsight", { enumerable: true, get: function () { return ExecuteInsight_1.ExecuteInsight; } });
|
|
21
|
-
var DataViewLoader_1 = require("./DataViewLoader");
|
|
22
|
-
Object.defineProperty(exports, "DataViewLoader", { enumerable: true, get: function () { return DataViewLoader_1.DataViewLoader; } });
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,+DAKgC;AAD5B,4HAAA,oBAAoB,OAAA;AAExB,2DAI8B;AAD1B,wHAAA,kBAAkB,OAAA;AAEtB,mDAAwE;AAA/D,gHAAA,cAAc,OAAA;AAEvB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from "react";
|
|
2
|
-
import { GoodDataSdkError } from "../base";
|
|
3
|
-
/**
|
|
4
|
-
* Properties of the error component provided to Execute or RawExecute components
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface IExecuteErrorComponentProps {
|
|
8
|
-
/**
|
|
9
|
-
* Original error
|
|
10
|
-
*/
|
|
11
|
-
error: GoodDataSdkError;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents a loading component provided to Execute or RawExecute components
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export type IExecuteLoadingComponent = ComponentType;
|
|
18
|
-
/**
|
|
19
|
-
* Represents an error component provided to Execute or RawExecute components
|
|
20
|
-
* @public
|
|
21
|
-
*/
|
|
22
|
-
export type IExecuteErrorComponent = ComponentType<IExecuteErrorComponentProps>;
|
|
23
|
-
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/execution/interfaces.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,KAAK,EAAE,gBAAgB,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;AAErD;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC,2BAA2B,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/execution/interfaces.ts"],"names":[],"mappings":""}
|