@gooddata/sdk-ui 8.13.0-alpha.7 → 8.13.0-alpha.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/constants/bucketNames.d.ts +26 -16
- package/dist/base/constants/bucketNames.d.ts.map +1 -1
- package/dist/base/constants/bucketNames.js +37 -33
- package/dist/base/constants/bucketNames.js.map +1 -1
- package/dist/base/errors/GoodDataSdkError.d.ts +2 -1
- package/dist/base/errors/GoodDataSdkError.d.ts.map +1 -1
- package/dist/base/errors/GoodDataSdkError.js +82 -112
- package/dist/base/errors/GoodDataSdkError.js.map +1 -1
- package/dist/base/errors/errorHandling.d.ts.map +1 -1
- package/dist/base/errors/errorHandling.js +26 -23
- package/dist/base/errors/errorHandling.js.map +1 -1
- package/dist/base/headerMatching/HeaderPredicate.d.ts +1 -1
- package/dist/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
- package/dist/base/headerMatching/HeaderPredicateFactory.js +62 -70
- package/dist/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/dist/base/headerMatching/MappingHeader.d.ts +1 -1
- package/dist/base/headerMatching/MappingHeader.d.ts.map +1 -1
- package/dist/base/headerMatching/MappingHeader.js +16 -16
- package/dist/base/headerMatching/MappingHeader.js.map +1 -1
- package/dist/base/helpers/CatalogHelper.js +33 -34
- package/dist/base/helpers/CatalogHelper.js.map +1 -1
- package/dist/base/index.d.ts +1 -1
- package/dist/base/index.d.ts.map +1 -1
- package/dist/base/index.js +4 -2
- package/dist/base/index.js.map +1 -1
- package/dist/base/interfaces/OverTimeComparison.d.ts +1 -1
- package/dist/base/interfaces/OverTimeComparison.d.ts.map +1 -1
- package/dist/base/localization/IntlStore.d.ts +2 -4
- package/dist/base/localization/IntlStore.d.ts.map +1 -1
- package/dist/base/localization/IntlStore.js +15 -17
- package/dist/base/localization/IntlStore.js.map +1 -1
- package/dist/base/localization/IntlWrapper.d.ts +1 -0
- package/dist/base/localization/IntlWrapper.d.ts.map +1 -1
- package/dist/base/localization/IntlWrapper.js +10 -10
- package/dist/base/localization/IntlWrapper.js.map +1 -1
- package/dist/base/localization/Locale.d.ts +1 -1
- package/dist/base/localization/Locale.d.ts.map +1 -1
- package/dist/base/localization/Locale.js +2 -1
- package/dist/base/localization/Locale.js.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -0
- package/dist/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/Context.js +15 -15
- package/dist/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +29 -38
- package/dist/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts +3 -3
- package/dist/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
- package/dist/base/localization/TranslationsCustomizationProvider/utils.js +31 -38
- package/dist/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
- package/dist/base/localization/TranslationsProvider.d.ts +1 -1
- package/dist/base/localization/TranslationsProvider.d.ts.map +1 -1
- package/dist/base/localization/TranslationsProvider.js +14 -21
- package/dist/base/localization/TranslationsProvider.js.map +1 -1
- package/dist/base/localization/bundles/de-DE.json +23 -11
- package/dist/base/localization/bundles/en-US.json +83 -27
- package/dist/base/localization/bundles/es-ES.json +22 -10
- package/dist/base/localization/bundles/fr-FR.json +22 -10
- package/dist/base/localization/bundles/ja-JP.json +22 -10
- package/dist/base/localization/bundles/nl-NL.json +22 -10
- package/dist/base/localization/bundles/pt-BR.json +22 -10
- package/dist/base/localization/bundles/pt-PT.json +22 -10
- package/dist/base/localization/bundles/ru-RU.json +22 -10
- package/dist/base/localization/bundles/zh-Hans.json +22 -10
- package/dist/base/localization/intlUtils.js +22 -28
- package/dist/base/localization/intlUtils.js.map +1 -1
- package/dist/base/localization/messagesMap.js +12 -12
- package/dist/base/localization/messagesMap.js.map +1 -1
- package/dist/base/measureFormats/fillMissingFormat.js +6 -6
- package/dist/base/measureFormats/fillMissingFormat.js.map +1 -1
- package/dist/base/measureFormats/fillMissingFormats.js +3 -3
- package/dist/base/measureFormats/fillMissingFormats.js.map +1 -1
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.d.ts.map +1 -1
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js +29 -30
- package/dist/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +16 -17
- package/dist/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
- package/dist/base/measureTitles/fillMissingTitles.js +55 -56
- package/dist/base/measureTitles/fillMissingTitles.js.map +1 -1
- package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js +5 -5
- package/dist/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
- package/dist/base/react/BackendContext.d.ts +6 -2
- package/dist/base/react/BackendContext.d.ts.map +1 -1
- package/dist/base/react/BackendContext.js +18 -17
- package/dist/base/react/BackendContext.js.map +1 -1
- package/dist/base/react/CancelablePromise.js +23 -25
- package/dist/base/react/CancelablePromise.js.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +2 -2
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +39 -33
- package/dist/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts +5 -0
- package/dist/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
- package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +30 -82
- package/dist/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
- package/dist/base/react/ErrorComponent.js +35 -40
- package/dist/base/react/ErrorComponent.js.map +1 -1
- package/dist/base/react/LoadingComponent.js +42 -36
- package/dist/base/react/LoadingComponent.js.map +1 -1
- package/dist/base/react/PromiseCache.js +31 -34
- package/dist/base/react/PromiseCache.js.map +1 -1
- package/dist/base/react/WorkspaceContext.d.ts +6 -2
- package/dist/base/react/WorkspaceContext.d.ts.map +1 -1
- package/dist/base/react/WorkspaceContext.js +18 -17
- package/dist/base/react/WorkspaceContext.js.map +1 -1
- package/dist/base/react/legacy/availableDrillTargets.js +16 -17
- package/dist/base/react/legacy/availableDrillTargets.js.map +1 -1
- package/dist/base/react/legacy/withEntireDataView.js +117 -141
- package/dist/base/react/legacy/withEntireDataView.js.map +1 -1
- package/dist/base/react/placeholders/aliases.d.ts +15 -15
- package/dist/base/react/placeholders/aliases.d.ts.map +1 -1
- package/dist/base/react/placeholders/base.d.ts +20 -20
- package/dist/base/react/placeholders/base.d.ts.map +1 -1
- package/dist/base/react/placeholders/base.js +6 -6
- package/dist/base/react/placeholders/base.js.map +1 -1
- package/dist/base/react/placeholders/context.d.ts +1 -1
- package/dist/base/react/placeholders/context.d.ts.map +1 -1
- package/dist/base/react/placeholders/context.js +17 -16
- package/dist/base/react/placeholders/context.js.map +1 -1
- package/dist/base/react/placeholders/factory.js +16 -18
- package/dist/base/react/placeholders/factory.js.map +1 -1
- package/dist/base/react/placeholders/hooks.js +41 -47
- package/dist/base/react/placeholders/hooks.js.map +1 -1
- package/dist/base/react/placeholders/resolve.js +15 -18
- package/dist/base/react/placeholders/resolve.js.map +1 -1
- package/dist/base/react/useCancelablePromise.d.ts +8 -8
- package/dist/base/react/useCancelablePromise.d.ts.map +1 -1
- package/dist/base/react/useCancelablePromise.js +24 -21
- package/dist/base/react/useCancelablePromise.js.map +1 -1
- package/dist/base/react/useCancelablePromiseUtils.js +16 -17
- package/dist/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/dist/base/react/usePagedResource.js +25 -29
- package/dist/base/react/usePagedResource.js.map +1 -1
- package/dist/base/react/usePrevious.js +5 -4
- package/dist/base/react/usePrevious.js.map +1 -1
- package/dist/base/react/usePromiseCache.js +17 -18
- package/dist/base/react/usePromiseCache.js.map +1 -1
- package/dist/base/react/withContexts.js +6 -6
- package/dist/base/react/withContexts.js.map +1 -1
- package/dist/base/react/wrapDisplayName.d.ts +1 -1
- package/dist/base/react/wrapDisplayName.d.ts.map +1 -1
- package/dist/base/react/wrapDisplayName.js +6 -5
- package/dist/base/react/wrapDisplayName.js.map +1 -1
- package/dist/base/results/dataAccess.d.ts +10 -10
- package/dist/base/results/dataAccess.d.ts.map +1 -1
- package/dist/base/results/dataAccessConfig.d.ts +3 -3
- package/dist/base/results/dataAccessConfig.d.ts.map +1 -1
- package/dist/base/results/dataAccessConfig.js +10 -10
- package/dist/base/results/dataAccessConfig.js.map +1 -1
- package/dist/base/results/facade.js +39 -40
- package/dist/base/results/facade.js.map +1 -1
- package/dist/base/results/internal/dataAccessDigest.d.ts +6 -6
- package/dist/base/results/internal/dataAccessDigest.d.ts.map +1 -1
- package/dist/base/results/internal/dataAccessDigest.js +68 -81
- package/dist/base/results/internal/dataAccessDigest.js.map +1 -1
- package/dist/base/results/internal/dataAccessImpl.js +151 -159
- package/dist/base/results/internal/dataAccessImpl.js.map +1 -1
- package/dist/base/results/internal/dataAccessMethods.js +52 -58
- package/dist/base/results/internal/dataAccessMethods.js.map +1 -1
- package/dist/base/results/internal/definitionMethods.js +40 -41
- package/dist/base/results/internal/definitionMethods.js.map +1 -1
- package/dist/base/results/internal/lazyInitArray.d.ts +1 -1
- package/dist/base/results/internal/lazyInitArray.d.ts.map +1 -1
- package/dist/base/results/internal/lazyInitArray.js +20 -20
- package/dist/base/results/internal/lazyInitArray.js.map +1 -1
- package/dist/base/results/internal/resultDataMethods.js +28 -29
- package/dist/base/results/internal/resultDataMethods.js.map +1 -1
- package/dist/base/results/internal/resultMetaMethods.js +68 -76
- package/dist/base/results/internal/resultMetaMethods.js.map +1 -1
- package/dist/base/results/internal/utils.js +1 -1
- package/dist/base/results/internal/utils.js.map +1 -1
- package/dist/base/vis/DrillEvents.d.ts +5 -5
- package/dist/base/vis/DrillEvents.d.ts.map +1 -1
- package/dist/base/vis/DrillEvents.js +8 -8
- package/dist/base/vis/DrillEvents.js.map +1 -1
- package/dist/base/vis/Events.d.ts +5 -5
- package/dist/base/vis/Events.d.ts.map +1 -1
- package/dist/base/vis/drilling.d.ts.map +1 -1
- package/dist/base/vis/drilling.js +26 -31
- package/dist/base/vis/drilling.js.map +1 -1
- package/dist/base/vis/export.js +10 -10
- package/dist/base/vis/export.js.map +1 -1
- package/dist/base/vis/visualizationTypes.d.ts +13 -10
- package/dist/base/vis/visualizationTypes.d.ts.map +1 -1
- package/dist/base/vis/visualizationTypes.js +4 -1
- package/dist/base/vis/visualizationTypes.js.map +1 -1
- package/dist/execution/DataViewLoader.js +36 -80
- package/dist/execution/DataViewLoader.js.map +1 -1
- package/dist/execution/Execute.js +36 -35
- package/dist/execution/Execute.js.map +1 -1
- package/dist/execution/ExecuteInsight.js +55 -63
- package/dist/execution/ExecuteInsight.js.map +1 -1
- package/dist/execution/RawExecute.js +28 -28
- package/dist/execution/RawExecute.js.map +1 -1
- package/dist/execution/createExecution.d.ts +1 -1
- package/dist/execution/createExecution.d.ts.map +1 -1
- package/dist/execution/createExecution.js +18 -17
- package/dist/execution/createExecution.js.map +1 -1
- package/dist/execution/interfaces.d.ts +2 -2
- package/dist/execution/interfaces.d.ts.map +1 -1
- package/dist/execution/useDataExport.d.ts +2 -2
- package/dist/execution/useDataExport.d.ts.map +1 -1
- package/dist/execution/useDataExport.js +17 -20
- package/dist/execution/useDataExport.js.map +1 -1
- package/dist/execution/useDataView.d.ts +2 -2
- package/dist/execution/useDataView.d.ts.map +1 -1
- package/dist/execution/useDataView.js +19 -24
- package/dist/execution/useDataView.js.map +1 -1
- package/dist/execution/useExecution.js +12 -13
- package/dist/execution/useExecution.js.map +1 -1
- package/dist/execution/useExecutionDataView.d.ts +1 -1
- package/dist/execution/useExecutionDataView.d.ts.map +1 -1
- package/dist/execution/useExecutionDataView.js +24 -24
- package/dist/execution/useExecutionDataView.js.map +1 -1
- package/dist/execution/useInsight.js +10 -10
- package/dist/execution/useInsight.js.map +1 -1
- package/dist/execution/useInsightDataView.d.ts +1 -1
- package/dist/execution/useInsightDataView.d.ts.map +1 -1
- package/dist/execution/useInsightDataView.js +28 -29
- package/dist/execution/useInsightDataView.js.map +1 -1
- package/dist/execution/withExecution.js +28 -57
- package/dist/execution/withExecution.js.map +1 -1
- package/dist/execution/withExecutionLoading.d.ts +2 -2
- package/dist/execution/withExecutionLoading.d.ts.map +1 -1
- package/dist/execution/withExecutionLoading.js +90 -107
- package/dist/execution/withExecutionLoading.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/kpi/FormattedNumber.d.ts +1 -1
- package/dist/kpi/FormattedNumber.d.ts.map +1 -1
- package/dist/kpi/FormattedNumber.js +9 -9
- package/dist/kpi/FormattedNumber.js.map +1 -1
- package/dist/kpi/Kpi.d.ts.map +1 -1
- package/dist/kpi/Kpi.js +31 -31
- package/dist/kpi/Kpi.js.map +1 -1
- package/dist/kpi/KpiError.d.ts +1 -1
- package/dist/kpi/KpiError.d.ts.map +1 -1
- package/dist/kpi/KpiError.js +5 -4
- package/dist/kpi/KpiError.js.map +1 -1
- package/dist/locales.d.ts +2 -41
- package/dist/locales.d.ts.map +1 -1
- package/dist/locales.js +3 -3
- package/dist/locales.js.map +1 -1
- package/dist/sdk-ui.d.ts +61 -31
- package/esm/base/constants/bucketNames.d.ts +26 -16
- package/esm/base/constants/bucketNames.d.ts.map +1 -1
- package/esm/base/constants/bucketNames.js +38 -34
- package/esm/base/constants/bucketNames.js.map +1 -1
- package/esm/base/constants/colorPalette.js +1 -1
- package/esm/base/constants/colorPalette.js.map +1 -1
- package/esm/base/errors/GoodDataSdkError.d.ts +2 -1
- package/esm/base/errors/GoodDataSdkError.d.ts.map +1 -1
- package/esm/base/errors/GoodDataSdkError.js +67 -112
- package/esm/base/errors/GoodDataSdkError.js.map +1 -1
- package/esm/base/errors/errorHandling.d.ts.map +1 -1
- package/esm/base/errors/errorHandling.js +18 -15
- package/esm/base/errors/errorHandling.js.map +1 -1
- package/esm/base/headerMatching/HeaderPredicate.d.ts +1 -1
- package/esm/base/headerMatching/HeaderPredicate.d.ts.map +1 -1
- package/esm/base/headerMatching/HeaderPredicateFactory.js +49 -57
- package/esm/base/headerMatching/HeaderPredicateFactory.js.map +1 -1
- package/esm/base/headerMatching/MappingHeader.d.ts +1 -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.js +33 -35
- package/esm/base/helpers/CatalogHelper.js.map +1 -1
- package/esm/base/index.d.ts +1 -1
- package/esm/base/index.d.ts.map +1 -1
- package/esm/base/index.js +1 -1
- package/esm/base/index.js.map +1 -1
- package/esm/base/interfaces/OverTimeComparison.d.ts +1 -1
- package/esm/base/interfaces/OverTimeComparison.d.ts.map +1 -1
- package/esm/base/interfaces/OverTimeComparison.js +1 -1
- package/esm/base/interfaces/OverTimeComparison.js.map +1 -1
- package/esm/base/localization/IntlStore.d.ts +2 -4
- package/esm/base/localization/IntlStore.d.ts.map +1 -1
- package/esm/base/localization/IntlStore.js +8 -11
- package/esm/base/localization/IntlStore.js.map +1 -1
- package/esm/base/localization/IntlWrapper.d.ts +1 -0
- package/esm/base/localization/IntlWrapper.d.ts.map +1 -1
- package/esm/base/localization/IntlWrapper.js +3 -4
- package/esm/base/localization/IntlWrapper.js.map +1 -1
- package/esm/base/localization/Locale.d.ts +1 -1
- package/esm/base/localization/Locale.d.ts.map +1 -1
- package/esm/base/localization/Locale.js +3 -3
- package/esm/base/localization/Locale.js.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts +4 -0
- package/esm/base/localization/TranslationsCustomizationProvider/Context.d.ts.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/Context.js +7 -9
- package/esm/base/localization/TranslationsCustomizationProvider/Context.js.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js +22 -33
- package/esm/base/localization/TranslationsCustomizationProvider/TranslationsCustomizationProvider.js.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts +3 -3
- package/esm/base/localization/TranslationsCustomizationProvider/utils.d.ts.map +1 -1
- package/esm/base/localization/TranslationsCustomizationProvider/utils.js +24 -37
- package/esm/base/localization/TranslationsCustomizationProvider/utils.js.map +1 -1
- package/esm/base/localization/TranslationsProvider.d.ts +1 -1
- package/esm/base/localization/TranslationsProvider.d.ts.map +1 -1
- package/esm/base/localization/TranslationsProvider.js +8 -17
- package/esm/base/localization/TranslationsProvider.js.map +1 -1
- package/esm/base/localization/bundles/de-DE.json +23 -11
- package/esm/base/localization/bundles/en-US.json +83 -27
- package/esm/base/localization/bundles/es-ES.json +22 -10
- package/esm/base/localization/bundles/fr-FR.json +22 -10
- package/esm/base/localization/bundles/ja-JP.json +22 -10
- package/esm/base/localization/bundles/nl-NL.json +22 -10
- package/esm/base/localization/bundles/pt-BR.json +22 -10
- package/esm/base/localization/bundles/pt-PT.json +22 -10
- package/esm/base/localization/bundles/ru-RU.json +22 -10
- package/esm/base/localization/bundles/zh-Hans.json +22 -10
- package/esm/base/localization/intlUtils.js +12 -20
- package/esm/base/localization/intlUtils.js.map +1 -1
- package/esm/base/localization/messagesMap.js +1 -1
- package/esm/base/localization/messagesMap.js.map +1 -1
- package/esm/base/measureFormats/fillMissingFormat.js +4 -4
- package/esm/base/measureFormats/fillMissingFormat.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.map +1 -1
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js +26 -28
- package/esm/base/measureTitles/ArithmeticMeasureTitleFactory.js.map +1 -1
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.d.ts.map +1 -1
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js +12 -14
- package/esm/base/measureTitles/DerivedMeasureTitleSuffixFactory.js.map +1 -1
- package/esm/base/measureTitles/fillMissingTitles.js +44 -45
- package/esm/base/measureTitles/fillMissingTitles.js.map +1 -1
- package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js +3 -3
- package/esm/base/measureTitles/ignoreTitlesForSimpleMeasures.js.map +1 -1
- package/esm/base/react/BackendContext.d.ts +6 -2
- package/esm/base/react/BackendContext.d.ts.map +1 -1
- package/esm/base/react/BackendContext.js +10 -13
- package/esm/base/react/BackendContext.js.map +1 -1
- package/esm/base/react/CancelablePromise.js +19 -24
- package/esm/base/react/CancelablePromise.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts +2 -2
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js +20 -21
- package/esm/base/react/ClientWorkspaceContext/ClientWorkspaceContext.js.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts +5 -0
- package/esm/base/react/ClientWorkspaceContext/interfaces.d.ts.map +1 -1
- package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js +27 -80
- package/esm/base/react/ClientWorkspaceContext/resolveLCMWorkspaceIdentifiers.js.map +1 -1
- package/esm/base/react/ErrorComponent.js +33 -39
- package/esm/base/react/ErrorComponent.js.map +1 -1
- package/esm/base/react/LoadingComponent.js +40 -35
- package/esm/base/react/LoadingComponent.js.map +1 -1
- package/esm/base/react/PromiseCache.js +28 -32
- package/esm/base/react/PromiseCache.js.map +1 -1
- package/esm/base/react/WorkspaceContext.d.ts +6 -2
- package/esm/base/react/WorkspaceContext.d.ts.map +1 -1
- package/esm/base/react/WorkspaceContext.js +10 -13
- package/esm/base/react/WorkspaceContext.js.map +1 -1
- package/esm/base/react/legacy/availableDrillTargets.js +12 -13
- package/esm/base/react/legacy/availableDrillTargets.js.map +1 -1
- package/esm/base/react/legacy/withEntireDataView.js +102 -127
- package/esm/base/react/legacy/withEntireDataView.js.map +1 -1
- package/esm/base/react/placeholders/aliases.d.ts +15 -15
- package/esm/base/react/placeholders/aliases.d.ts.map +1 -1
- package/esm/base/react/placeholders/base.d.ts +20 -20
- package/esm/base/react/placeholders/base.d.ts.map +1 -1
- package/esm/base/react/placeholders/base.js +2 -2
- 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 +12 -13
- package/esm/base/react/placeholders/context.js.map +1 -1
- package/esm/base/react/placeholders/factory.js +11 -13
- package/esm/base/react/placeholders/factory.js.map +1 -1
- package/esm/base/react/placeholders/hooks.js +27 -33
- package/esm/base/react/placeholders/hooks.js.map +1 -1
- package/esm/base/react/placeholders/resolve.js +6 -10
- package/esm/base/react/placeholders/resolve.js.map +1 -1
- package/esm/base/react/useCancelablePromise.d.ts +8 -8
- package/esm/base/react/useCancelablePromise.d.ts.map +1 -1
- package/esm/base/react/useCancelablePromise.js +18 -16
- package/esm/base/react/useCancelablePromise.js.map +1 -1
- package/esm/base/react/useCancelablePromiseUtils.js +13 -15
- package/esm/base/react/useCancelablePromiseUtils.js.map +1 -1
- package/esm/base/react/usePagedResource.js +23 -27
- package/esm/base/react/usePagedResource.js.map +1 -1
- package/esm/base/react/usePrevious.js +3 -3
- package/esm/base/react/usePrevious.js.map +1 -1
- package/esm/base/react/usePromiseCache.js +15 -16
- package/esm/base/react/usePromiseCache.js.map +1 -1
- package/esm/base/react/wrapDisplayName.d.ts +1 -1
- package/esm/base/react/wrapDisplayName.d.ts.map +1 -1
- package/esm/base/react/wrapDisplayName.js +5 -5
- package/esm/base/react/wrapDisplayName.js.map +1 -1
- package/esm/base/results/dataAccess.d.ts +10 -10
- 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.js +30 -31
- package/esm/base/results/facade.js.map +1 -1
- package/esm/base/results/internal/dataAccessDigest.d.ts +6 -6
- package/esm/base/results/internal/dataAccessDigest.d.ts.map +1 -1
- package/esm/base/results/internal/dataAccessDigest.js +64 -78
- package/esm/base/results/internal/dataAccessDigest.js.map +1 -1
- package/esm/base/results/internal/dataAccessImpl.js +130 -139
- package/esm/base/results/internal/dataAccessImpl.js.map +1 -1
- package/esm/base/results/internal/dataAccessMethods.js +49 -55
- package/esm/base/results/internal/dataAccessMethods.js.map +1 -1
- package/esm/base/results/internal/definitionMethods.js +33 -34
- package/esm/base/results/internal/definitionMethods.js.map +1 -1
- package/esm/base/results/internal/lazyInitArray.d.ts +1 -1
- package/esm/base/results/internal/lazyInitArray.d.ts.map +1 -1
- package/esm/base/results/internal/lazyInitArray.js +18 -19
- package/esm/base/results/internal/lazyInitArray.js.map +1 -1
- package/esm/base/results/internal/resultDataMethods.js +23 -24
- package/esm/base/results/internal/resultDataMethods.js.map +1 -1
- package/esm/base/results/internal/resultMetaMethods.js +60 -68
- package/esm/base/results/internal/resultMetaMethods.js.map +1 -1
- package/esm/base/results/internal/utils.js +1 -1
- package/esm/base/results/internal/utils.js.map +1 -1
- package/esm/base/vis/DrillEvents.d.ts +5 -5
- 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 +5 -5
- package/esm/base/vis/Events.d.ts.map +1 -1
- package/esm/base/vis/drilling.d.ts.map +1 -1
- package/esm/base/vis/drilling.js +14 -20
- package/esm/base/vis/drilling.js.map +1 -1
- package/esm/base/vis/export.js +10 -10
- package/esm/base/vis/export.js.map +1 -1
- package/esm/base/vis/visualizationTypes.d.ts +13 -10
- package/esm/base/vis/visualizationTypes.d.ts.map +1 -1
- package/esm/base/vis/visualizationTypes.js +5 -2
- package/esm/base/vis/visualizationTypes.js.map +1 -1
- package/esm/execution/DataViewLoader.js +32 -78
- package/esm/execution/DataViewLoader.js.map +1 -1
- package/esm/execution/Execute.js +29 -30
- package/esm/execution/Execute.js.map +1 -1
- package/esm/execution/ExecuteInsight.js +49 -58
- package/esm/execution/ExecuteInsight.js.map +1 -1
- package/esm/execution/RawExecute.js +24 -24
- package/esm/execution/RawExecute.js.map +1 -1
- package/esm/execution/createExecution.d.ts +1 -1
- package/esm/execution/createExecution.d.ts.map +1 -1
- package/esm/execution/createExecution.js +12 -12
- package/esm/execution/createExecution.js.map +1 -1
- package/esm/execution/interfaces.d.ts +2 -2
- package/esm/execution/interfaces.d.ts.map +1 -1
- package/esm/execution/useDataExport.d.ts +2 -2
- package/esm/execution/useDataExport.d.ts.map +1 -1
- package/esm/execution/useDataExport.js +15 -18
- package/esm/execution/useDataExport.js.map +1 -1
- package/esm/execution/useDataView.d.ts +2 -2
- package/esm/execution/useDataView.d.ts.map +1 -1
- package/esm/execution/useDataView.js +17 -22
- package/esm/execution/useDataView.js.map +1 -1
- package/esm/execution/useExecution.js +10 -11
- package/esm/execution/useExecution.js.map +1 -1
- package/esm/execution/useExecutionDataView.d.ts +1 -1
- package/esm/execution/useExecutionDataView.d.ts.map +1 -1
- package/esm/execution/useExecutionDataView.js +19 -20
- package/esm/execution/useExecutionDataView.js.map +1 -1
- package/esm/execution/useInsight.js +8 -8
- package/esm/execution/useInsight.js.map +1 -1
- package/esm/execution/useInsightDataView.d.ts +1 -1
- package/esm/execution/useInsightDataView.d.ts.map +1 -1
- package/esm/execution/useInsightDataView.js +23 -24
- package/esm/execution/useInsightDataView.js.map +1 -1
- package/esm/execution/withExecution.js +24 -53
- package/esm/execution/withExecution.js.map +1 -1
- package/esm/execution/withExecutionLoading.d.ts +2 -2
- package/esm/execution/withExecutionLoading.d.ts.map +1 -1
- package/esm/execution/withExecutionLoading.js +82 -100
- package/esm/execution/withExecutionLoading.js.map +1 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -3
- package/esm/index.js.map +1 -1
- package/esm/kpi/FormattedNumber.d.ts +1 -1
- package/esm/kpi/FormattedNumber.d.ts.map +1 -1
- package/esm/kpi/FormattedNumber.js +5 -6
- package/esm/kpi/FormattedNumber.js.map +1 -1
- package/esm/kpi/Kpi.d.ts.map +1 -1
- package/esm/kpi/Kpi.js +20 -21
- 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/KpiError.js +2 -2
- package/esm/kpi/KpiError.js.map +1 -1
- package/esm/locales.d.ts +2 -41
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +2 -2
- package/esm/locales.js.map +1 -1
- package/esm/tsdoc-metadata.json +1 -1
- package/package.json +28 -31
- package/dist/polyfills.d.ts +0 -3
- package/dist/polyfills.d.ts.map +0 -1
- package/dist/polyfills.js +0 -8
- package/dist/polyfills.js.map +0 -1
- package/esm/polyfills.d.ts +0 -3
- package/esm/polyfills.d.ts.map +0 -1
- package/esm/polyfills.js +0 -6
- package/esm/polyfills.js.map +0 -1
|
@@ -8,36 +8,35 @@ import flatten from "lodash/flatten";
|
|
|
8
8
|
* @param attributes - all attributes from the same dimension as fromAttribute
|
|
9
9
|
*/
|
|
10
10
|
export function getIntersectionAttributes(fromAttribute, attributes) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
});
|
|
11
|
+
const indexOfFromAttribute = attributes.findIndex((attribute) =>
|
|
12
|
+
// to handle duplicated attributes in the same dimension
|
|
13
|
+
attribute.attributeHeader.localIdentifier === fromAttribute.attributeHeader.localIdentifier);
|
|
15
14
|
return attributes.slice(0, indexOfFromAttribute + 1);
|
|
16
15
|
}
|
|
17
16
|
function getAvailableDrillAttributes(dv) {
|
|
18
17
|
return flatten(dv
|
|
19
18
|
.meta()
|
|
20
19
|
.dimensions()
|
|
21
|
-
.map(
|
|
20
|
+
.map((_dimension, index) => {
|
|
22
21
|
return dv
|
|
23
22
|
.meta()
|
|
24
23
|
.attributeDescriptorsForDim(index)
|
|
25
|
-
.map(
|
|
26
|
-
attribute
|
|
24
|
+
.map((attribute, _index, attributes) => ({
|
|
25
|
+
attribute,
|
|
27
26
|
intersectionAttributes: getIntersectionAttributes(attribute, attributes),
|
|
28
|
-
})
|
|
27
|
+
}));
|
|
29
28
|
}));
|
|
30
29
|
}
|
|
31
30
|
export function getAvailableDrillTargets(dv) {
|
|
32
|
-
|
|
31
|
+
const attributes = uniqBy((attributeDescriptor) => attributeDescriptor.attributeHeader.formOf.identifier, dv.meta().attributeDescriptors());
|
|
33
32
|
return {
|
|
34
33
|
measures: dv
|
|
35
34
|
.meta()
|
|
36
35
|
.measureDescriptors()
|
|
37
|
-
.map(
|
|
38
|
-
measure
|
|
39
|
-
attributes
|
|
40
|
-
})
|
|
36
|
+
.map((measure) => ({
|
|
37
|
+
measure,
|
|
38
|
+
attributes,
|
|
39
|
+
})),
|
|
41
40
|
attributes: getAvailableDrillAttributes(dv),
|
|
42
41
|
};
|
|
43
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"availableDrillTargets.js","sourceRoot":"","sources":["../../../../src/base/react/legacy/availableDrillTargets.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,OAAO,MAAM,gBAAgB,CAAC;AASrC;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACrC,aAAmC,EACnC,UAAkC;IAElC,
|
|
1
|
+
{"version":3,"file":"availableDrillTargets.js","sourceRoot":"","sources":["../../../../src/base/react/legacy/availableDrillTargets.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,OAAO,MAAM,gBAAgB,CAAC;AASrC;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACrC,aAAmC,EACnC,UAAkC;IAElC,MAAM,oBAAoB,GAAG,UAAU,CAAC,SAAS,CAC7C,CAAC,SAAS,EAAE,EAAE;IACV,wDAAwD;IACxD,SAAS,CAAC,eAAe,CAAC,eAAe,KAAK,aAAa,CAAC,eAAe,CAAC,eAAe,CAClG,CAAC;IAEF,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,oBAAoB,GAAG,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,2BAA2B,CAAC,EAAkB;IACnD,OAAO,OAAO,CACV,EAAE;SACG,IAAI,EAAE;SACN,UAAU,EAAE;SACZ,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE;QACvB,OAAO,EAAE;aACJ,IAAI,EAAE;aACN,0BAA0B,CAAC,KAAK,CAAC;aACjC,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;YACrC,SAAS;YACT,sBAAsB,EAAE,yBAAyB,CAAC,SAAS,EAAE,UAAU,CAAC;SAC3E,CAAC,CAAC,CAAC;IACZ,CAAC,CAAC,CACT,CAAC;AACN,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,EAAkB;IACvD,MAAM,UAAU,GAAG,MAAM,CACrB,CAAC,mBAAmB,EAAE,EAAE,CAAC,mBAAmB,CAAC,eAAe,CAAC,MAAM,CAAC,UAAU,EAC9E,EAAE,CAAC,IAAI,EAAE,CAAC,oBAAoB,EAAE,CACnC,CAAC;IACF,OAAO;QACH,QAAQ,EAAE,EAAE;aACP,IAAI,EAAE;aACN,kBAAkB,EAAE;aACpB,GAAG,CACA,CAAC,OAA2B,EAAgC,EAAE,CAAC,CAAC;YAC5D,OAAO;YACP,UAAU;SACb,CAAC,CACL;QACL,UAAU,EAAE,2BAA2B,CAAC,EAAE,CAAC;KAC9C,CAAC;AACN,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// (C) 2019 GoodData Corporation
|
|
2
|
-
import { __assign, __awaiter, __extends, __generator } from "tslib";
|
|
3
2
|
import { isNoDataError, isUnexpectedResponseError, } from "@gooddata/sdk-backend-spi";
|
|
4
3
|
import { defFingerprint } from "@gooddata/sdk-model";
|
|
5
4
|
import React from "react";
|
|
@@ -23,169 +22,145 @@ import { getAvailableDrillTargets } from "./availableDrillTargets";
|
|
|
23
22
|
* @internal
|
|
24
23
|
*/
|
|
25
24
|
export function withEntireDataView(InnerComponent) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.hasUnmounted = false;
|
|
25
|
+
class LoadingHOCWrapped extends React.Component {
|
|
26
|
+
constructor(props) {
|
|
27
|
+
super(props);
|
|
28
|
+
this.hasUnmounted = false;
|
|
31
29
|
/**
|
|
32
30
|
* Fingerprint of the last execution definition the initialize was called with.
|
|
33
31
|
*/
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
this.lastInitRequestFingerprint = null;
|
|
33
|
+
this.stripWorkspace = (props) => {
|
|
36
34
|
return omit(props, ["workspace"]);
|
|
37
35
|
};
|
|
38
|
-
|
|
36
|
+
this.state = {
|
|
39
37
|
isLoading: false,
|
|
40
38
|
error: null,
|
|
41
39
|
executionResult: null,
|
|
42
40
|
dataView: null,
|
|
43
41
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return _this;
|
|
42
|
+
this.onLoadingChanged = this.onLoadingChanged.bind(this);
|
|
43
|
+
this.onDataTooLarge = this.onDataTooLarge.bind(this);
|
|
44
|
+
this.onNegativeValues = this.onNegativeValues.bind(this);
|
|
48
45
|
}
|
|
49
|
-
|
|
46
|
+
componentDidMount() {
|
|
50
47
|
this.initDataLoading(this.props.execution);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
const { isLoading, error, dataView } = this.state;
|
|
51
|
+
const { intl } = this.props;
|
|
55
52
|
// lower-level components do not need workspace
|
|
56
|
-
|
|
57
|
-
return (React.createElement(InnerComponent,
|
|
58
|
-
}
|
|
59
|
-
|
|
53
|
+
const props = this.stripWorkspace(this.props);
|
|
54
|
+
return (React.createElement(InnerComponent, Object.assign({}, props, { dataView: dataView, onDataTooLarge: this.onDataTooLarge, onNegativeValues: this.onNegativeValues, error: error, isLoading: isLoading, intl: intl })));
|
|
55
|
+
}
|
|
56
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
60
57
|
// we need strict equality here in case only the buckets changed (not measures or attributes)
|
|
61
58
|
if (!this.props.execution.equals(nextProps.execution)) {
|
|
62
59
|
this.initDataLoading(nextProps.execution);
|
|
63
60
|
}
|
|
64
|
-
}
|
|
65
|
-
|
|
61
|
+
}
|
|
62
|
+
componentWillUnmount() {
|
|
66
63
|
this.hasUnmounted = true;
|
|
67
64
|
this.onLoadingChanged = noop;
|
|
68
65
|
this.onError = noop;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
}
|
|
67
|
+
onLoadingChanged(loadingState) {
|
|
68
|
+
const { onLoadingChanged } = this.props;
|
|
72
69
|
onLoadingChanged === null || onLoadingChanged === void 0 ? void 0 : onLoadingChanged(loadingState);
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
const { isLoading } = loadingState;
|
|
71
|
+
const state = { isLoading };
|
|
75
72
|
if (isLoading) {
|
|
76
73
|
state.error = null;
|
|
77
74
|
}
|
|
78
75
|
this.setState(state);
|
|
79
|
-
}
|
|
80
|
-
|
|
76
|
+
}
|
|
77
|
+
onError(error) {
|
|
81
78
|
var _a, _b;
|
|
82
|
-
|
|
79
|
+
const { onExportReady } = this.props;
|
|
83
80
|
this.setState({ error: error.getMessage(), dataView: null });
|
|
84
81
|
this.onLoadingChanged({ isLoading: false });
|
|
85
82
|
if (onExportReady) {
|
|
86
83
|
onExportReady(createExportErrorFunction(error));
|
|
87
84
|
}
|
|
88
85
|
(_b = (_a = this.props).onError) === null || _b === void 0 ? void 0 : _b.call(_a, error);
|
|
89
|
-
}
|
|
90
|
-
|
|
86
|
+
}
|
|
87
|
+
onDataTooLarge() {
|
|
91
88
|
this.onError(new DataTooLargeToDisplaySdkError());
|
|
92
|
-
}
|
|
93
|
-
|
|
89
|
+
}
|
|
90
|
+
onNegativeValues() {
|
|
94
91
|
this.onError(new NegativeValuesSdkError());
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
return [4 /*yield*/, executionResult_1.readAll().catch(function (err) {
|
|
119
|
-
/**
|
|
120
|
-
* When execution result is received successfully,
|
|
121
|
-
* but data load fails with unexpected http response,
|
|
122
|
-
* we still want to push availableDrillTargets
|
|
123
|
-
*/
|
|
124
|
-
if (isUnexpectedResponseError(err) && pushData) {
|
|
125
|
-
var availableDrillTargets = getAvailableDrillTargets(DataViewFacade.forResult(executionResult_1));
|
|
126
|
-
pushData({ availableDrillTargets: availableDrillTargets });
|
|
127
|
-
}
|
|
128
|
-
throw err;
|
|
129
|
-
})];
|
|
130
|
-
case 3:
|
|
131
|
-
dataView = _b.sent();
|
|
132
|
-
if (this.hasUnmounted) {
|
|
133
|
-
return [2 /*return*/];
|
|
134
|
-
}
|
|
135
|
-
if (this.lastInitRequestFingerprint !== defFingerprint(dataView.definition)) {
|
|
136
|
-
/*
|
|
137
|
-
* Stop right now if the data are not relevant anymore because there was another
|
|
138
|
-
* initialize request in the meantime.
|
|
139
|
-
*/
|
|
140
|
-
return [2 /*return*/];
|
|
141
|
-
}
|
|
142
|
-
this.setState({ dataView: dataView, error: null, executionResult: executionResult_1 });
|
|
143
|
-
this.onLoadingChanged({ isLoading: false });
|
|
144
|
-
if (onExportReady) {
|
|
145
|
-
onExportReady(createExportFunction(dataView.result, exportTitle));
|
|
146
|
-
}
|
|
147
|
-
if (pushData) {
|
|
148
|
-
availableDrillTargets = getAvailableDrillTargets(DataViewFacade.for(dataView));
|
|
149
|
-
pushData({ dataView: dataView, availableDrillTargets: availableDrillTargets });
|
|
150
|
-
}
|
|
151
|
-
return [3 /*break*/, 5];
|
|
152
|
-
case 4:
|
|
153
|
-
error_1 = _b.sent();
|
|
154
|
-
if (this.lastInitRequestFingerprint !== defFingerprint(execution.definition)) {
|
|
155
|
-
return [2 /*return*/];
|
|
156
|
-
}
|
|
157
|
-
if (this.hasUnmounted) {
|
|
158
|
-
return [2 /*return*/];
|
|
159
|
-
}
|
|
160
|
-
/*
|
|
161
|
-
* There can be situations, where there is no data to visualize but the result / dataView contains
|
|
162
|
-
* metadata essential for setup of drilling. Look for that and if available push up.
|
|
163
|
-
*/
|
|
164
|
-
if (isNoDataError(error_1) && error_1.dataView && pushData) {
|
|
165
|
-
availableDrillTargets = getAvailableDrillTargets(DataViewFacade.for(error_1.dataView));
|
|
166
|
-
pushData({ availableDrillTargets: availableDrillTargets });
|
|
167
|
-
}
|
|
168
|
-
this.onError(convertError(error_1));
|
|
169
|
-
return [3 /*break*/, 5];
|
|
170
|
-
case 5: return [2 /*return*/];
|
|
92
|
+
}
|
|
93
|
+
async initDataLoading(execution) {
|
|
94
|
+
const { onExportReady, pushData, exportTitle } = this.props;
|
|
95
|
+
this.onLoadingChanged({ isLoading: true });
|
|
96
|
+
this.setState({ dataView: null });
|
|
97
|
+
this.lastInitRequestFingerprint = defFingerprint(execution.definition);
|
|
98
|
+
try {
|
|
99
|
+
const executionResult = await execution.execute();
|
|
100
|
+
if (this.lastInitRequestFingerprint !== defFingerprint(execution.definition)) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (this.hasUnmounted) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const dataView = await executionResult.readAll().catch((err) => {
|
|
107
|
+
/**
|
|
108
|
+
* When execution result is received successfully,
|
|
109
|
+
* but data load fails with unexpected http response,
|
|
110
|
+
* we still want to push availableDrillTargets
|
|
111
|
+
*/
|
|
112
|
+
if (isUnexpectedResponseError(err) && pushData) {
|
|
113
|
+
const availableDrillTargets = getAvailableDrillTargets(DataViewFacade.forResult(executionResult));
|
|
114
|
+
pushData({ availableDrillTargets });
|
|
171
115
|
}
|
|
116
|
+
throw err;
|
|
172
117
|
});
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
118
|
+
if (this.hasUnmounted) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (this.lastInitRequestFingerprint !== defFingerprint(dataView.definition)) {
|
|
122
|
+
/*
|
|
123
|
+
* Stop right now if the data are not relevant anymore because there was another
|
|
124
|
+
* initialize request in the meantime.
|
|
125
|
+
*/
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
this.setState({ dataView, error: null, executionResult });
|
|
129
|
+
this.onLoadingChanged({ isLoading: false });
|
|
130
|
+
if (onExportReady) {
|
|
131
|
+
onExportReady(createExportFunction(dataView.result, exportTitle));
|
|
132
|
+
}
|
|
133
|
+
if (pushData) {
|
|
134
|
+
const availableDrillTargets = getAvailableDrillTargets(DataViewFacade.for(dataView));
|
|
135
|
+
pushData({ dataView, availableDrillTargets });
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
catch (error) {
|
|
139
|
+
if (this.lastInitRequestFingerprint !== defFingerprint(execution.definition)) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (this.hasUnmounted) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
/*
|
|
146
|
+
* There can be situations, where there is no data to visualize but the result / dataView contains
|
|
147
|
+
* metadata essential for setup of drilling. Look for that and if available push up.
|
|
148
|
+
*/
|
|
149
|
+
if (isNoDataError(error) && error.dataView && pushData) {
|
|
150
|
+
const availableDrillTargets = getAvailableDrillTargets(DataViewFacade.for(error.dataView));
|
|
151
|
+
pushData({ availableDrillTargets });
|
|
152
|
+
}
|
|
153
|
+
this.onError(convertError(error));
|
|
154
|
+
}
|
|
183
155
|
}
|
|
184
|
-
|
|
156
|
+
}
|
|
157
|
+
LoadingHOCWrapped.defaultProps = InnerComponent.defaultProps || {};
|
|
158
|
+
const IntlLoadingHOC = injectIntl(LoadingHOCWrapped);
|
|
159
|
+
return class LoadingHOC extends React.Component {
|
|
160
|
+
render() {
|
|
185
161
|
return (React.createElement(IntlWrapper, { locale: this.props.locale },
|
|
186
|
-
React.createElement(IntlLoadingHOC,
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
}(React.Component));
|
|
162
|
+
React.createElement(IntlLoadingHOC, Object.assign({}, this.props))));
|
|
163
|
+
}
|
|
164
|
+
};
|
|
190
165
|
}
|
|
191
166
|
//# sourceMappingURL=withEntireDataView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withEntireDataView.js","sourceRoot":"","sources":["../../../../src/base/react/legacy/withEntireDataView.tsx"],"names":[],"mappings":"AAAA,gCAAgC
|
|
1
|
+
{"version":3,"file":"withEntireDataView.js","sourceRoot":"","sources":["../../../../src/base/react/legacy/withEntireDataView.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC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,CAAC,CAAC;oBAErF,QAAQ,CAAC,EAAE,QAAQ,EAAE,qBAAqB,EAAE,CAAC,CAAC;iBACjD;aACJ;YAAC,OAAO,KAAK,EAAE;gBACZ,IAAI,IAAI,CAAC,0BAA0B,KAAK,cAAc,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE;oBAC1E,OAAO;iBACV;gBAED,IAAI,IAAI,CAAC,YAAY,EAAE;oBACnB,OAAO;iBACV;gBAED;;;mBAGG;gBACH,IAAI,aAAa,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,IAAI,QAAQ,EAAE;oBACpD,MAAM,qBAAqB,GAAG,wBAAwB,CAClD,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,CACrC,CAAC;oBAEF,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC,CAAC;iBACvC;gBAED,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;aACrC;QACL,CAAC;;IAjLa,8BAAY,GAAG,cAAc,CAAC,YAAY,IAAI,EAAE,AAApC,CAAqC;IAwLnE,MAAM,cAAc,GAAG,UAAU,CAAoC,iBAAiB,CAAC,CAAC;IAExF,OAAO,MAAM,UAAW,SAAQ,KAAK,CAAC,SAAY;QACvC,MAAM;YACT,OAAO,CACH,oBAAC,WAAW,IAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM;gBAClC,oBAAC,cAAc,oBAAM,IAAI,CAAC,KAAa,EAAI,CACjC,CACjB,CAAC;QACN,CAAC;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -5,88 +5,88 @@ import { ValueOrPlaceholder, ValuesOrPlaceholders, AnyMeasure, ValueOrMultiValue
|
|
|
5
5
|
*
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type FilterOrPlaceholder = ValueOrPlaceholder<IFilter> | ValueOrPlaceholder<IDateFilter> | ValueOrPlaceholder<IMeasureFilter> | ValueOrPlaceholder<IAttributeFilter> | ValueOrPlaceholder<IAbsoluteDateFilter> | ValueOrPlaceholder<IRelativeDateFilter> | ValueOrPlaceholder<IPositiveAttributeFilter> | ValueOrPlaceholder<INegativeAttributeFilter> | ValueOrPlaceholder<IMeasureValueFilter> | ValueOrPlaceholder<IRankingFilter>;
|
|
9
9
|
/**
|
|
10
10
|
* Alias for all possible nullable filter or placeholder signatures.
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type NullableFilterOrPlaceholder = FilterOrPlaceholder | ValueOrPlaceholder<INullableFilter> | ValueOrPlaceholder<IFilter | null> | ValueOrPlaceholder<IDateFilter | null> | ValueOrPlaceholder<IMeasureFilter | null> | ValueOrPlaceholder<IAttributeFilter | null> | ValueOrPlaceholder<IAbsoluteDateFilter | null> | ValueOrPlaceholder<IRelativeDateFilter | null> | ValueOrPlaceholder<IPositiveAttributeFilter | null> | ValueOrPlaceholder<INegativeAttributeFilter | null> | ValueOrPlaceholder<IMeasureValueFilter | null> | ValueOrPlaceholder<IRankingFilter | null>;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type FilterOrMultiValuePlaceholder = ValueOrMultiValuePlaceholder<IFilter> | ValueOrMultiValuePlaceholder<IDateFilter> | ValueOrMultiValuePlaceholder<IMeasureFilter> | ValueOrMultiValuePlaceholder<IAttributeFilter> | ValueOrMultiValuePlaceholder<IAbsoluteDateFilter> | ValueOrMultiValuePlaceholder<IRelativeDateFilter> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter> | ValueOrMultiValuePlaceholder<IMeasureValueFilter> | ValueOrMultiValuePlaceholder<IRankingFilter>;
|
|
20
20
|
/**
|
|
21
21
|
* Alias for all possible filters or their placeholder signatures.
|
|
22
22
|
*
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type FiltersOrPlaceholders = Array<FilterOrMultiValuePlaceholder>;
|
|
26
26
|
/**
|
|
27
27
|
* Alias for all possible nullable filters or their placeholder signatures.
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
31
|
+
export type NullableFiltersOrPlaceholders = Array<FilterOrMultiValuePlaceholder | ValueOrMultiValuePlaceholder<INullableFilter> | ValueOrMultiValuePlaceholder<IFilter | null> | ValueOrMultiValuePlaceholder<IDateFilter | null> | ValueOrMultiValuePlaceholder<IMeasureFilter | null> | ValueOrMultiValuePlaceholder<IAttributeFilter | null> | ValueOrMultiValuePlaceholder<IAbsoluteDateFilter | null> | ValueOrMultiValuePlaceholder<IRelativeDateFilter | null> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter | null> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter | null> | ValueOrMultiValuePlaceholder<IMeasureValueFilter | null> | ValueOrMultiValuePlaceholder<IRankingFilter | null>>;
|
|
32
32
|
/**
|
|
33
33
|
* Alias for all possible attribute filter or placeholder signatures.
|
|
34
34
|
*
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
37
|
+
export type AttributeFilterOrPlaceholder = ValueOrPlaceholder<IAttributeFilter> | ValueOrPlaceholder<IPositiveAttributeFilter> | ValueOrPlaceholder<INegativeAttributeFilter>;
|
|
38
38
|
/**
|
|
39
39
|
* Alias for all possible attribute filters or their placeholder signatures.
|
|
40
40
|
*
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
43
|
+
export type AttributeFiltersOrPlaceholders = Array<ValueOrMultiValuePlaceholder<IAttributeFilter> | ValueOrMultiValuePlaceholder<IPositiveAttributeFilter> | ValueOrMultiValuePlaceholder<INegativeAttributeFilter>>;
|
|
44
44
|
/**
|
|
45
45
|
* Alias for all possible attribute or placeholder signatures.
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
48
48
|
*/
|
|
49
|
-
export
|
|
49
|
+
export type AttributeOrPlaceholder = ValueOrPlaceholder<IAttribute>;
|
|
50
50
|
/**
|
|
51
51
|
* Alias for all possible attributes or their placeholder signatures.
|
|
52
52
|
*
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
export
|
|
55
|
+
export type AttributesOrPlaceholders = ValuesOrPlaceholders<IAttribute>;
|
|
56
56
|
/**
|
|
57
57
|
* Alias for all possible measure or placeholder signatures.
|
|
58
58
|
*
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
|
-
export
|
|
61
|
+
export type MeasureOrPlaceholder = ValueOrPlaceholder<AnyMeasure>;
|
|
62
62
|
/**
|
|
63
63
|
* Alias for all possible measures or their placeholder signatures.
|
|
64
64
|
*
|
|
65
65
|
* @public
|
|
66
66
|
*/
|
|
67
|
-
export
|
|
67
|
+
export type MeasuresOrPlaceholders = ValuesOrPlaceholders<AnyMeasure>;
|
|
68
68
|
/**
|
|
69
69
|
* Alias for all possible attribute, measure or placeholder signatures.
|
|
70
70
|
*
|
|
71
71
|
* @public
|
|
72
72
|
*/
|
|
73
|
-
export
|
|
73
|
+
export type AttributeMeasureOrPlaceholder = ValueOrPlaceholder<IAttribute | AnyMeasure> | ValueOrPlaceholder<IAttribute> | ValueOrPlaceholder<AnyMeasure>;
|
|
74
74
|
/**
|
|
75
75
|
* Alias for all possible attributes, measures or their placeholders signatures.
|
|
76
76
|
*
|
|
77
77
|
* @public
|
|
78
78
|
*/
|
|
79
|
-
export
|
|
79
|
+
export type AttributesMeasuresOrPlaceholders = Array<ValueOrMultiValuePlaceholder<IAttribute | AnyMeasure> | ValueOrMultiValuePlaceholder<IAttribute> | ValueOrMultiValuePlaceholder<AnyMeasure>>;
|
|
80
80
|
/**
|
|
81
81
|
* Alias for all possible sorts or their placeholders signatures.
|
|
82
82
|
*
|
|
83
83
|
* @public
|
|
84
84
|
*/
|
|
85
|
-
export
|
|
85
|
+
export type SortsOrPlaceholders = ValuesOrPlaceholders<ISortItem>;
|
|
86
86
|
/**
|
|
87
87
|
* Alias for all possible totals or their placeholders signatures.
|
|
88
88
|
*
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
|
-
export
|
|
91
|
+
export type TotalsOrPlaceholders = ValuesOrPlaceholders<ITotal>;
|
|
92
92
|
//# sourceMappingURL=aliases.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../../../../src/base/react/placeholders/aliases.ts"],"names":[],"mappings":"AACA,OAAO,EACH,OAAO,EACP,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,SAAS,EACT,MAAM,EACT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAY5G;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"aliases.d.ts","sourceRoot":"","sources":["../../../../src/base/react/placeholders/aliases.ts"],"names":[],"mappings":"AACA,OAAO,EACH,OAAO,EACP,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,SAAS,EACT,MAAM,EACT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAY5G;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GACzB,kBAAkB,CAAC,OAAO,CAAC,GAC3B,kBAAkB,CAAC,WAAW,CAAC,GAC/B,kBAAkB,CAAC,cAAc,CAAC,GAClC,kBAAkB,CAAC,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