@gooddata/sdk-ui-dashboard 11.58.0-alpha.2 → 11.58.0-alpha.4
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/NOTICE +8 -8
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +5 -5
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -3
- package/esm/internal.d.ts +1 -0
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +1 -0
- package/esm/model/DashboardTester.d.ts.map +1 -1
- package/esm/model/DashboardTester.js +7 -1
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +6 -1
- package/esm/model/commandHandlers/common/validateDrills.d.ts.map +1 -1
- package/esm/model/commandHandlers/common/validateDrills.js +12 -3
- package/esm/model/commandHandlers/dashboard/dashboardDrillReferences.d.ts +4 -0
- package/esm/model/commandHandlers/dashboard/dashboardDrillReferences.d.ts.map +1 -0
- package/esm/model/commandHandlers/dashboard/dashboardDrillReferences.js +53 -0
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +13 -6
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js +4 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js +30 -6
- package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.js +2 -0
- package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.js +2 -0
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +2 -0
- package/esm/model/commandHandlers/drill/drillToInsightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToInsightHandler.js +3 -1
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js +30 -29
- package/esm/model/commandHandlers/drill/validateDrillAccess.d.ts +6 -0
- package/esm/model/commandHandlers/drill/validateDrillAccess.d.ts.map +1 -0
- package/esm/model/commandHandlers/drill/validateDrillAccess.js +10 -0
- package/esm/model/commandHandlers/parameters/filterParameterDependenciesWorker.d.ts +45 -0
- package/esm/model/commandHandlers/parameters/filterParameterDependenciesWorker.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/filterParameterDependenciesWorker.js +99 -0
- package/esm/model/commandHandlers/parameters/insightParameterDependenciesWorker.d.ts +11 -0
- package/esm/model/commandHandlers/parameters/insightParameterDependenciesWorker.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/insightParameterDependenciesWorker.js +71 -0
- package/esm/model/commandHandlers/parameters/loadFilterParameterDependencies.d.ts +22 -0
- package/esm/model/commandHandlers/parameters/loadFilterParameterDependencies.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/loadFilterParameterDependencies.js +39 -0
- package/esm/model/commandHandlers/parameters/loadInsightParameterDependencies.d.ts +21 -0
- package/esm/model/commandHandlers/parameters/loadInsightParameterDependencies.d.ts.map +1 -0
- package/esm/model/commandHandlers/parameters/loadInsightParameterDependencies.js +86 -0
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +4 -0
- package/esm/model/react/useWidgetExecConfig.d.ts +4 -4
- package/esm/model/react/useWidgetExecConfig.d.ts.map +1 -1
- package/esm/model/react/useWidgetExecConfig.js +2 -2
- package/esm/model/store/catalog/catalogReducers.d.ts +16 -4
- package/esm/model/store/catalog/catalogReducers.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogReducers.js +15 -3
- package/esm/model/store/catalog/catalogSelectors.d.ts +47 -7
- package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogSelectors.js +33 -7
- package/esm/model/store/catalog/catalogState.d.ts +30 -9
- package/esm/model/store/catalog/catalogState.d.ts.map +1 -1
- package/esm/model/store/catalog/catalogState.js +2 -1
- package/esm/model/store/catalog/index.d.ts +4 -1
- package/esm/model/store/catalog/index.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts +8 -2
- package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
- package/esm/model/store/filtering/dashboardFilterSelectors.js +41 -25
- package/esm/model/store/filtering/types.d.ts +5 -0
- package/esm/model/store/filtering/types.d.ts.map +1 -1
- package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/layout/layoutSelectors.js +2 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +42 -8
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +88 -19
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +13 -6
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +24 -13
- package/esm/model/store/ui/index.d.ts +1 -0
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +5 -1
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +8 -4
- package/esm/model/store/ui/uiSelectors.d.ts +5 -1
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +4 -0
- package/esm/model/store/ui/uiState.d.ts +2 -1
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +1 -0
- package/esm/model/store/widgetDrills/drillRestrictionSelectors.d.ts +23 -0
- package/esm/model/store/widgetDrills/drillRestrictionSelectors.d.ts.map +1 -0
- package/esm/model/store/widgetDrills/drillRestrictionSelectors.js +5 -0
- package/esm/model/store/widgetDrills/drillRestrictionUtils.d.ts +5 -0
- package/esm/model/store/widgetDrills/drillRestrictionUtils.d.ts.map +1 -0
- package/esm/model/store/widgetDrills/drillRestrictionUtils.js +27 -0
- package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
- package/esm/model/store/widgetDrills/widgetDrillSelectors.js +9 -5
- package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.js +1 -0
- package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.d.ts +4 -2
- package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.js +12 -3
- package/esm/presentation/automations/alerting/utils/items.js +8 -14
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +8 -2
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts +4 -2
- package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.js +1 -1
- package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -0
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDraftFilterWrites.d.ts +4 -2
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDraftFilterWrites.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDraftFilterWrites.js +25 -6
- package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.js +16 -2
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.js +16 -11
- package/esm/presentation/automations/shared/automationFilters/components/AutomationRestrictedFilters.d.ts +9 -0
- package/esm/presentation/automations/shared/automationFilters/components/AutomationRestrictedFilters.d.ts.map +1 -0
- package/esm/presentation/automations/shared/automationFilters/components/AutomationRestrictedFilters.js +22 -0
- package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.d.ts +2 -2
- package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/hooks/useDefaultSelectedFiltersForExistingAutomation.js +17 -5
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts +8 -0
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +54 -10
- package/esm/presentation/automations/shared/automationFilters/useAutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationFiltersSelect.js +3 -2
- package/esm/presentation/automations/shared/filters/conversions.d.ts +10 -2
- package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
- package/esm/presentation/automations/shared/filters/conversions.js +15 -6
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.js +3 -4
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +20 -7
- package/esm/presentation/dialogs/ExportCsvDialog.d.ts.map +1 -1
- package/esm/presentation/dialogs/ExportCsvDialog.js +2 -1
- package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/IdentifierParametersSection.js +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts +2 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +19 -1
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts.map +1 -1
- package/esm/presentation/drill/DrillSelect/WithDrillSelect.js +12 -4
- package/esm/presentation/drill/DrillSelect/types.d.ts +1 -0
- package/esm/presentation/drill/DrillSelect/types.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts.map +1 -1
- package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js +4 -2
- package/esm/presentation/insightNotSavedDialog/InsightNotSavedDialog.d.ts.map +1 -1
- package/esm/presentation/insightNotSavedDialog/InsightNotSavedDialog.js +4 -5
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +21 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +27 -7
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +5 -2
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +3 -0
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +5 -2
- package/esm/presentation/widget/common/RestrictedPlaceholder.d.ts +4 -8
- package/esm/presentation/widget/common/RestrictedPlaceholder.d.ts.map +1 -1
- package/esm/presentation/widget/common/RestrictedPlaceholder.js +16 -23
- package/esm/presentation/widget/insight/DefaultInsightBody/DefaultInsightBody.d.ts.map +1 -1
- package/esm/presentation/widget/insight/DefaultInsightBody/DefaultInsightBody.js +2 -4
- package/esm/presentation/widget/insight/LayeredTableView.d.ts +1 -1
- package/esm/presentation/widget/insight/LayeredTableView.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +2 -3
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +1 -1
- package/esm/presentation/widget/insight/types.d.ts +1 -1
- package/esm/presentation/widget/insight/types.d.ts.map +1 -1
- package/esm/presentation/widget/richText/RestrictedReferencesDialog.d.ts.map +1 -1
- package/esm/presentation/widget/richText/RestrictedReferencesDialog.js +5 -6
- package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList/VisualizationListItem.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/VisualizationsList/VisualizationListItem.js +1 -4
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +2 -3
- package/esm/sdk-ui-dashboard.d.ts +88 -61
- package/package.json +21 -21
- package/styles/css/dashboard.css +1 -7
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardSettingsDialog.css +4 -0
- package/styles/css/dashboardSettingsDialog.css.map +1 -1
- package/styles/css/export.css +0 -6
- package/styles/css/export.css.map +1 -1
- package/styles/css/main.css +13 -20
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +1 -7
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/richTextWidget.css +4 -0
- package/styles/css/richTextWidget.css.map +1 -1
- package/styles/scss/dashboardSettingsDialog.scss +5 -0
- package/styles/scss/export.scss +0 -9
- package/styles/scss/notifications_channels_dialog.scss +1 -10
- package/styles/scss/richTextWidget.scss +5 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadMeasureParameterDependencies.d.ts +0 -13
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadMeasureParameterDependencies.d.ts.map +0 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadMeasureParameterDependencies.js +0 -98
- package/esm/model/types/drillTypes.d.ts +0 -13
- package/esm/model/types/drillTypes.d.ts.map +0 -1
- package/esm/model/types/drillTypes.js +0 -14
- package/esm/presentation/widget/insight/geoDefaultDisplayFormRefs.d.ts +0 -5
- package/esm/presentation/widget/insight/geoDefaultDisplayFormRefs.d.ts.map +0 -1
- package/esm/presentation/widget/insight/geoDefaultDisplayFormRefs.js +0 -28
- package/esm/presentation/widget/insight/insightToTable.d.ts +0 -74
- package/esm/presentation/widget/insight/insightToTable.d.ts.map +0 -1
- package/esm/presentation/widget/insight/insightToTable.js +0 -482
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayeredTableView.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/LayeredTableView.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAkE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LayeredTableView.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/LayeredTableView.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAkE,MAAM,OAAO,CAAC;AAI1G,OAAO,EAAE,KAAK,qBAAqB,EAAmB,MAAM,sBAAsB,CAAC;AAGnF,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC;IAC9E,WAAW,EAAE,qBAAqB,EAAE,CAAC;CACxC;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,sBAAsB,GAAG,YAAY,CAwG5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrillDialogInsight.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,YAAY,EAMpB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DrillDialogInsight.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,YAAY,EAMpB,MAAM,OAAO,CAAC;AAsCf,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAwC7D;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,OAAO,EACP,MAAM,EACN,OAAO,EACP,SAAS,EACT,SAAS,EACT,OAAO,EACP,OAAO,EAAE,SAAS,EAClB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,QAAQ,EACR,cAAc,EACd,gBAAgB,GACnB,EAAE,sBAAsB,GAAG,YAAY,CAyJvC"}
|
|
@@ -4,6 +4,7 @@ import { useCallback, useEffect, useMemo, useRef, useState, } from "react";
|
|
|
4
4
|
import { createSelector } from "@reduxjs/toolkit";
|
|
5
5
|
import { insightSetFilters } from "@gooddata/sdk-model";
|
|
6
6
|
import { useBackendStrict, useWorkspaceStrict, } from "@gooddata/sdk-ui";
|
|
7
|
+
import { convertInsightToLayerTables, convertInsightToTableDefinition, getGeoTableDisplayFormRefs, } from "@gooddata/sdk-ui-ext";
|
|
7
8
|
import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
|
|
8
9
|
import { useWidgetExecConfig } from "../../../../../model/react/useWidgetExecConfig.js";
|
|
9
10
|
import { useWidgetFilters } from "../../../../../model/react/useWidgetFilters.js";
|
|
@@ -13,9 +14,7 @@ import { selectDrillableItems } from "../../../../../model/store/drill/drillSele
|
|
|
13
14
|
import { selectPermissions } from "../../../../../model/store/permissions/permissionsSelectors.js";
|
|
14
15
|
import { selectPreloadedAttributesWithReferences } from "../../../../../model/store/tabs/filterContext/filterContextSelectors.js";
|
|
15
16
|
import { IntlWrapper } from "../../../../localization/IntlWrapper.js";
|
|
16
|
-
import { getGeoDefaultDisplayFormRefs } from "../../geoDefaultDisplayFormRefs.js";
|
|
17
17
|
import { InsightBody } from "../../InsightBody.js";
|
|
18
|
-
import { convertInsightToLayerTables, convertInsightToTableDefinition } from "../../insightToTable.js";
|
|
19
18
|
import { CustomError } from "../CustomError/CustomError.js";
|
|
20
19
|
import { useInsightPositionStyle } from "../useInsightPositionStyle.js";
|
|
21
20
|
import { useResolveDashboardInsightProperties } from "../useResolveDashboardInsightProperties.js";
|
|
@@ -96,7 +95,7 @@ export function DrillDialogInsight({ insight, widget, backend, workspace, drillS
|
|
|
96
95
|
: undefined, [isWidgetAsTable, syncedInsight, settings, catalogAttributes, preloadedAttributesWithReferences]);
|
|
97
96
|
// Convert insight to table format if needed for drill dialog
|
|
98
97
|
const finalInsight = useMemo(() => {
|
|
99
|
-
const defaultDisplayFormRefs =
|
|
98
|
+
const defaultDisplayFormRefs = getGeoTableDisplayFormRefs(syncedInsight, settings, catalogAttributes, preloadedAttributesWithReferences);
|
|
100
99
|
if (!isWidgetAsTable) {
|
|
101
100
|
return syncedInsight;
|
|
102
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;AA2BvE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAe7G;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAmCD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CA2MhF"}
|
|
@@ -4,6 +4,7 @@ import { useCallback, useState } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { insightTitle, insightVisualizationType, isInsight, } from "@gooddata/sdk-model";
|
|
7
|
+
import { supportsShowAsTable } from "@gooddata/sdk-ui-ext";
|
|
7
8
|
import { Button, FLOATING_ELEMENT_DATA_ATTR, FullScreenOverlay, Overlay, OverlayController, OverlayControllerProvider, RichText, UiIcon, UiTooltip, isNotDocumentFocused, useIdPrefixed, useMediaQuery, } from "@gooddata/sdk-ui-kit";
|
|
8
9
|
import { DOWNLOADER_ID } from "../../../../../_staging/fileUtils/downloadFile.js";
|
|
9
10
|
import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
|
|
@@ -21,7 +22,6 @@ import { useInsightExport } from "../../../common/useInsightExport.js";
|
|
|
21
22
|
import { useShowAsTable } from "../../../showAsTableButton/useShowAsTable.js";
|
|
22
23
|
import { useInsightWarning } from "../../../widget/InsightWidget/useInsightWarning.js";
|
|
23
24
|
import { InsightWidgetWarningPartialResult } from "../../../widget/warningPartialResult/InsightWidgetWarningPartialResult.js";
|
|
24
|
-
import { supportsShowAsTable } from "../../insightToTable.js";
|
|
25
25
|
import { DrillDialog } from "./DrillDialog.js";
|
|
26
26
|
import { DrillDialogInsight } from "./DrillDialogInsight.js";
|
|
27
27
|
import { getTitleWithBreadcrumbs } from "./getTitleWithBreadcrumbs.js";
|
|
@@ -2,9 +2,9 @@ import { type ComponentType } from "react";
|
|
|
2
2
|
import { type IAnalyticalBackend, type IUserWorkspaceSettings } from "@gooddata/sdk-backend-spi";
|
|
3
3
|
import { type IColorPalette, type IExecutionConfig, type IFilter, type IInsight, type IInsightWidget, type ISeparators, type IWorkspacePermissions } from "@gooddata/sdk-model";
|
|
4
4
|
import { type ExplicitDrill, type IDrillEventIntersectionElement, type IErrorProps, type ILoadingProps, type ILocale, type IPushData, type IVisualizationCallbacks, type OnError, type OnExportReady, type OnLoadingChanged } from "@gooddata/sdk-ui";
|
|
5
|
+
import { type ILayerTableDefinition } from "@gooddata/sdk-ui-ext";
|
|
5
6
|
import { type IDrillStep, type OnDashboardDrill, type OnDrillDownSuccess, type OnDrillToAttributeUrlSuccess, type OnDrillToCustomUrlSuccess, type OnDrillToDashboardSuccess, type OnDrillToInsightSuccess, type OnKeyDriverAnalysisSuccess, type OnWidgetDrill } from "../../drill/types.js";
|
|
6
7
|
import { type WidgetExportDataAttributes } from "../../export/types.js";
|
|
7
|
-
import { type ILayerTableDefinition } from "./insightToTable.js";
|
|
8
8
|
/**
|
|
9
9
|
* Insight widget props.
|
|
10
10
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,8BAA8B,EACnC,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,uBAAuB,EAC5B,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACxB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/insight/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RestrictedReferencesDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/RestrictedReferencesDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RestrictedReferencesDialog.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/RestrictedReferencesDialog.tsx"],"names":[],"mappings":"AA0BA;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAWjE;AAED,UAAU,gCAAgC;IACtC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,+FAA+F;IAC/F,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oEAAoE;IACpE,QAAQ,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,KAAK,EACL,WAAW,EACX,QAAQ,GACX,EAAE,gCAAgC,2CAmDlC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2026 GoodData Corporation
|
|
3
|
-
import { useCallback, useMemo } from "react";
|
|
3
|
+
import { useCallback, useMemo, useRef } from "react";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { areObjRefsEqual } from "@gooddata/sdk-model";
|
|
6
|
-
import {
|
|
6
|
+
import { UiButton, UiDialogBody, UiDialogFooter, UiDialogHeader, UiModalDialog, collectReferences, replaceReferences, } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
8
8
|
import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
|
|
9
9
|
/**
|
|
@@ -11,8 +11,6 @@ import { selectRestrictedRichTextReferences } from "../../../model/store/unavail
|
|
|
11
11
|
* stored as the text itself, and thus is the same for every reader and not localised.
|
|
12
12
|
*/
|
|
13
13
|
const RESTRICTED_REFERENCE_REPLACEMENT = "???";
|
|
14
|
-
/** The wrapper is there to catch events, and must not take part in the layout it is dropped into. */
|
|
15
|
-
const noBoxOfItsOwn = { display: "contents" };
|
|
16
14
|
/**
|
|
17
15
|
* Whether the text references an object the current user is not allowed to read. A surface that
|
|
18
16
|
* edits text asks this to know which of its two states it is in, rather than keeping a flag that
|
|
@@ -34,9 +32,10 @@ export function useHasRestrictedReferences(value) {
|
|
|
34
32
|
*/
|
|
35
33
|
export function RestrictedReferencesDialog({ value, onSanitized, onCancel, }) {
|
|
36
34
|
const intl = useIntl();
|
|
35
|
+
const cancelButtonRef = useRef(null);
|
|
37
36
|
const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
|
|
38
37
|
const onConfirm = useCallback(() => {
|
|
39
38
|
onSanitized(replaceReferences(value, restrictedReferences, RESTRICTED_REFERENCE_REPLACEMENT));
|
|
40
39
|
}, [value, restrictedReferences, onSanitized]);
|
|
41
|
-
return (_jsx("span", {
|
|
40
|
+
return (_jsx("span", { className: "gd-restricted-references-dialog-wrapper", onClick: (event) => event.stopPropagation(), children: _jsxs(UiModalDialog, { variant: "confirmation", isOpen: true, width: 440, initialFocus: cancelButtonRef, dataTestId: "rich-text-sanitize-references-dialog", accessibilityConfig: { role: "alertdialog" }, onClose: onCancel, children: [_jsx(UiDialogHeader, { title: intl.formatMessage({ id: "richText.restrictedReferences.dialog.header" }), titleSize: "large", onClose: onCancel }), _jsx(UiDialogBody, { children: intl.formatMessage({ id: "richText.restrictedReferences.dialog.message" }) }), _jsxs(UiDialogFooter, { children: [_jsx(UiButton, { ref: cancelButtonRef, label: intl.formatMessage({ id: "cancel" }), variant: "secondary", size: "medium", onClick: onCancel }), _jsx(UiButton, { label: intl.formatMessage({ id: "richText.restrictedReferences.dialog.submit" }), variant: "danger", size: "medium", onClick: onConfirm })] })] }) }));
|
|
42
41
|
}
|
package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js
CHANGED
|
@@ -4,6 +4,7 @@ import { useCallback, useMemo, useRef } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { insightVisualizationType, widgetTitle, } from "@gooddata/sdk-model";
|
|
7
|
+
import { supportsShowAsTable } from "@gooddata/sdk-ui-ext";
|
|
7
8
|
import { useId } from "@gooddata/sdk-ui-kit";
|
|
8
9
|
import { changeVisualizationSwitcherActiveVisualization } from "../../../model/commands/visualizationSwitcher.js";
|
|
9
10
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
@@ -19,7 +20,6 @@ import { DashboardItemVisualization } from "../../presentationComponents/Dashboa
|
|
|
19
20
|
import { getVisTypeCssClass } from "../../presentationComponents/DashboardItems/utils.js";
|
|
20
21
|
import { useInsightExport } from "../common/useInsightExport.js";
|
|
21
22
|
import { InsightWidgetDescriptionTrigger } from "../description/InsightWidgetDescriptionTrigger.js";
|
|
22
|
-
import { supportsShowAsTable } from "../insight/insightToTable.js";
|
|
23
23
|
import { ShowAsTableButton } from "../showAsTableButton/ShowAsTableButton.js";
|
|
24
24
|
import { useShowAsTable } from "../showAsTableButton/useShowAsTable.js";
|
|
25
25
|
import { useAlertingAndScheduling } from "../widget/InsightWidget/useAlertingAndScheduling.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizationListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/visualizationSwitcher/configuration/VisualizationsList/VisualizationListItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAA4B,MAAM,qBAAqB,CAAC;AA2BnG,UAAU,2BAA2B;IACjC,aAAa,EAAE,cAAc,CAAC;IAC9B,OAAO,EAAE,QAAQ,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,sBAAsB,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,qBAAqB,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,6BAA6B,EAAE,CAAC,qBAAqB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7F;AAED,wBAAgB,qBAAqB,CAAC,EAClC,aAAa,EACb,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,6BAA6B,GAChC,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"VisualizationListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/visualizationSwitcher/configuration/VisualizationsList/VisualizationListItem.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAA4B,MAAM,qBAAqB,CAAC;AA2BnG,UAAU,2BAA2B;IACjC,aAAa,EAAE,cAAc,CAAC;IAC9B,OAAO,EAAE,QAAQ,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,sBAAsB,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,qBAAqB,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,6BAA6B,EAAE,CAAC,qBAAqB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7F;AAED,wBAAgB,qBAAqB,CAAC,EAClC,aAAa,EACb,OAAO,EACP,QAAQ,EACR,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,6BAA6B,GAChC,EAAE,2BAA2B,2CA8E7B"}
|
|
@@ -40,8 +40,5 @@ export function VisualizationListItem({ visualization, insight, isActive, isLast
|
|
|
40
40
|
? intl.formatMessage({ id: "visualizationSwitcher.restrictedEntry" })
|
|
41
41
|
: visualization.title }) }) })] }) }), _jsx(Button, { onClick: () => handleClick(visualization.identifier), value: "\u22EF", className: cx(`gd-vis-switcher-show-more-button gd-button s-visualization-switcher-more-menu-button-${visualization.identifier}`, {
|
|
42
42
|
"is-active": active === visualization.identifier,
|
|
43
|
-
}) }, visualization.identifier)] }, visualization.identifier), isOpen ? (_jsx(VisualizationListMenu, { alignTo: `.s-visualization-switcher-more-menu-button-${visualization.identifier}`, visualization: visualization, isLast: isLast, isFirst: isFirst,
|
|
44
|
-
// the editor cannot read the visualization, so it cannot judge where in the order
|
|
45
|
-
// the entry belongs; removal is the only change it can make
|
|
46
|
-
shouldRenderActions: shouldRenderActions && !isRestricted, onMenuButtonClick: onMenuButtonClick, onVisualizationDeleted: onVisualizationDeleted, onVisualizationPositionChange: onVisualizationPositionChange })) : null] }));
|
|
43
|
+
}) }, visualization.identifier)] }, visualization.identifier), isOpen ? (_jsx(VisualizationListMenu, { alignTo: `.s-visualization-switcher-more-menu-button-${visualization.identifier}`, visualization: visualization, isLast: isLast, isFirst: isFirst, shouldRenderActions: shouldRenderActions, onMenuButtonClick: onMenuButtonClick, onVisualizationDeleted: onVisualizationDeleted, onVisualizationPositionChange: onVisualizationPositionChange })) : null] }));
|
|
47
44
|
}
|
|
@@ -4,6 +4,7 @@ import { useCallback, useMemo } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { insightVisualizationType, widgetTitle } from "@gooddata/sdk-model";
|
|
7
|
+
import { canConvertToTable, convertInsightToTableDefinition, getGeoTableDisplayFormRefs, supportsShowAsTable, } from "@gooddata/sdk-ui-ext";
|
|
7
8
|
import { useId } from "@gooddata/sdk-ui-kit";
|
|
8
9
|
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
9
10
|
import { useDashboardScheduledEmails } from "../../../../model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js";
|
|
@@ -21,8 +22,6 @@ import { useInsightExport } from "../../common/useInsightExport.js";
|
|
|
21
22
|
import { useWidgetHighlighting } from "../../common/useWidgetHighlighting.js";
|
|
22
23
|
import { useInsightWidgetDescriptionComponent } from "../../description/InsightWidgetDescriptionComponentProvider.js";
|
|
23
24
|
import { DashboardInsight } from "../../insight/DashboardInsight.js";
|
|
24
|
-
import { getGeoDefaultDisplayFormRefs } from "../../insight/geoDefaultDisplayFormRefs.js";
|
|
25
|
-
import { canConvertToTable, convertInsightToTableDefinition, supportsShowAsTable, } from "../../insight/insightToTable.js";
|
|
26
25
|
import { ShowAsTableButton } from "../../showAsTableButton/ShowAsTableButton.js";
|
|
27
26
|
import { useShowAsTable } from "../../showAsTableButton/useShowAsTable.js";
|
|
28
27
|
import { InsightWidgetWarningPartialResult } from "../warningPartialResult/InsightWidgetWarningPartialResult.js";
|
|
@@ -136,7 +135,7 @@ function DefaultDashboardInsightWidgetCore({ widget, insight, screen, onError, o
|
|
|
136
135
|
if (!canConvertToTable(visType) && visType !== "table" && visType !== "repeater") {
|
|
137
136
|
return null;
|
|
138
137
|
}
|
|
139
|
-
const defaultDisplayFormRefs =
|
|
138
|
+
const defaultDisplayFormRefs = getGeoTableDisplayFormRefs(insight, settings, catalogAttributes, preloadedAttributesWithReferences);
|
|
140
139
|
return convertInsightToTableDefinition(insight, { settings, defaultDisplayFormRefs });
|
|
141
140
|
}, [
|
|
142
141
|
isExportMode,
|
|
@@ -43,6 +43,7 @@ import { DateFilterType } from '@gooddata/sdk-model';
|
|
|
43
43
|
import { DateString } from '@gooddata/sdk-model';
|
|
44
44
|
import { Dispatch } from '@reduxjs/toolkit';
|
|
45
45
|
import { Dispatch as Dispatch_2 } from 'react';
|
|
46
|
+
import { DRILL_TO_URL_PLACEHOLDER } from '@gooddata/sdk-model/internal';
|
|
46
47
|
import { DrillDefinition } from '@gooddata/sdk-model';
|
|
47
48
|
import { EmptyValues } from '@gooddata/sdk-model';
|
|
48
49
|
import { EntityId } from '@reduxjs/toolkit';
|
|
@@ -173,6 +174,7 @@ import { IKpiComparisonTypeComparison } from '@gooddata/sdk-model';
|
|
|
173
174
|
import { IKpiWidget } from '@gooddata/sdk-model';
|
|
174
175
|
import { IKpiWidgetConfiguration } from '@gooddata/sdk-model';
|
|
175
176
|
import { IKpiWidgetDefinition } from '@gooddata/sdk-model';
|
|
177
|
+
import { ILayerTableDefinition } from '@gooddata/sdk-ui-ext';
|
|
176
178
|
import { IListedDashboard } from '@gooddata/sdk-model';
|
|
177
179
|
import { ILoadingProps } from '@gooddata/sdk-ui';
|
|
178
180
|
import { ILocale } from '@gooddata/sdk-ui';
|
|
@@ -1314,15 +1316,25 @@ export declare const catalogActions: {
|
|
|
1314
1316
|
updateAttributeHierarchy: ActionCreatorWithPayload<ICatalogAttributeHierarchy, "catalog/updateAttributeHierarchy">;
|
|
1315
1317
|
deleteAttributeHierarchy: ActionCreatorWithPayload<ICatalogAttributeHierarchy, "catalog/deleteAttributeHierarchy">;
|
|
1316
1318
|
setCatalogParameters: ActionCreatorWithPayload<ICatalogParametersState, "catalog/setCatalogParameters">;
|
|
1317
|
-
|
|
1319
|
+
setCatalogInsightParameters: ActionCreatorWithPayload<ICatalogInsightParametersState, "catalog/setCatalogInsightParameters">;
|
|
1320
|
+
mergeCatalogInsightParameters: ActionCreatorWithPayload<Record<string, IdentifierRef[]>, "catalog/mergeCatalogInsightParameters">;
|
|
1321
|
+
setCatalogFilterParameters: ActionCreatorWithPayload<ICatalogFilterParametersState, "catalog/setCatalogFilterParameters">;
|
|
1322
|
+
mergeCatalogFilterParameters: ActionCreatorWithPayload<Record<string, IdentifierRef[]>, "catalog/mergeCatalogFilterParameters">;
|
|
1318
1323
|
};
|
|
1319
1324
|
|
|
1320
1325
|
/**
|
|
1321
|
-
* Status of the dashboard-wide
|
|
1326
|
+
* Status of the dashboard-wide dashboard-filter → parameter dependency map.
|
|
1322
1327
|
*
|
|
1323
1328
|
* @alpha
|
|
1324
1329
|
*/
|
|
1325
|
-
export declare type
|
|
1330
|
+
export declare type CatalogFilterParametersStatus = "uninitialized" | "loading" | "loaded" | "failed";
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Status of the dashboard-wide insight → parameter dependency map.
|
|
1334
|
+
*
|
|
1335
|
+
* @alpha
|
|
1336
|
+
*/
|
|
1337
|
+
export declare type CatalogInsightParametersStatus = "uninitialized" | "loading" | "loaded" | "failed";
|
|
1326
1338
|
|
|
1327
1339
|
/**
|
|
1328
1340
|
* Status of catalog parameters loading.
|
|
@@ -1357,7 +1369,9 @@ export declare type CatalogState = {
|
|
|
1357
1369
|
/** @alpha */
|
|
1358
1370
|
parameters: ICatalogParametersState;
|
|
1359
1371
|
/** @alpha */
|
|
1360
|
-
|
|
1372
|
+
insightParameters: ICatalogInsightParametersState;
|
|
1373
|
+
/** @alpha */
|
|
1374
|
+
filterParameters: ICatalogFilterParametersState;
|
|
1361
1375
|
};
|
|
1362
1376
|
|
|
1363
1377
|
/**
|
|
@@ -5456,18 +5470,7 @@ export declare type DraggableLayoutItem = InsightDraggableItem | KpiDraggableIte
|
|
|
5456
5470
|
*/
|
|
5457
5471
|
export declare function drill(drillEvent: IDashboardDrillEvent, drillContext: IDashboardDrillContext, correlationId?: string): IDrill;
|
|
5458
5472
|
|
|
5459
|
-
|
|
5460
|
-
* @internal
|
|
5461
|
-
*/
|
|
5462
|
-
export declare enum DRILL_TO_URL_PLACEHOLDER {
|
|
5463
|
-
DRILL_TO_URL_PLACEHOLDER_PROJECT_ID = "{project_id}",
|
|
5464
|
-
DRILL_TO_URL_PLACEHOLDER_WORKSPACE_ID = "{workspace_id}",
|
|
5465
|
-
DRILL_TO_URL_PLACEHOLDER_INSIGHT_ID = "{visualization_id}",
|
|
5466
|
-
DRILL_TO_URL_PLACEHOLDER_WIDGET_ID = "{widget_id}",
|
|
5467
|
-
DRILL_TO_URL_PLACEHOLDER_DASHBOARD_ID = "{dashboard_id}",
|
|
5468
|
-
DRILL_TO_URL_PLACEHOLDER_CLIENT_ID = "{client_id}",
|
|
5469
|
-
DRILL_TO_URL_PLACEHOLDER_DATA_PRODUCT_ID = "{data_product_id}"
|
|
5470
|
-
}
|
|
5473
|
+
export { DRILL_TO_URL_PLACEHOLDER }
|
|
5471
5474
|
|
|
5472
5475
|
/**
|
|
5473
5476
|
* @internal
|
|
@@ -8087,6 +8090,11 @@ export declare interface IAutomationFiltersTab {
|
|
|
8087
8090
|
* Automation-available filters for the tab (hidden filters removed).
|
|
8088
8091
|
*/
|
|
8089
8092
|
availableFilters: FilterContextItem[];
|
|
8093
|
+
/**
|
|
8094
|
+
* Filters the add-filter dropdown may offer: {@link IAutomationFiltersTab.availableFilters} minus
|
|
8095
|
+
* the ones the user is forbidden to read.
|
|
8096
|
+
*/
|
|
8097
|
+
selectableFilters: FilterContextItem[];
|
|
8090
8098
|
/**
|
|
8091
8099
|
* Default selected filters for the tab
|
|
8092
8100
|
* (no-op filters removed: "all values" attribute filters and "all" measure value filters).
|
|
@@ -8203,11 +8211,13 @@ export declare interface IAutomationsContextValue {
|
|
|
8203
8211
|
lockedFilters: FilterContextItem[];
|
|
8204
8212
|
/** Dashboard filters configured as hidden; from selectDashboardHiddenFilters. */
|
|
8205
8213
|
hiddenFilters: FilterContextItem[];
|
|
8206
|
-
/** Dashboard's applied filters with cross-filtering filters removed; from
|
|
8214
|
+
/** Dashboard's applied filters with cross-filtering filters removed; from selectAllDashboardFiltersWithoutCrossFiltering. */
|
|
8207
8215
|
availableFilters: FilterContextItem[];
|
|
8216
|
+
/** Whether the user may not read the object a filter filters by. Such a filter is kept in the automation, but the filter bar reports it as a count instead of rendering it. */
|
|
8217
|
+
isFilterRestricted: (filter: FilterContextItem) => boolean;
|
|
8208
8218
|
/** Automation-available filters structured per dashboard tab, for whole-dashboard automations on a tabbed dashboard; from selectAutomationFiltersByTab. */
|
|
8209
8219
|
automationFiltersByTab: IAutomationFiltersTab[];
|
|
8210
|
-
/** Automation-available filters with empty (all-values) filters removed; preselects filters for a new automation. From selectAutomationDefaultSelectedFilters. */
|
|
8220
|
+
/** Automation-available filters with empty (all-values) filters removed, except restricted ones; preselects filters for a new automation. From selectAutomationDefaultSelectedFilters. */
|
|
8211
8221
|
defaultSelectedFilters: FilterContextItem[];
|
|
8212
8222
|
/** Dashboard filters available to an automation — hidden filters removed, common date filter included; from selectAutomationAvailableDashboardFilters. */
|
|
8213
8223
|
automationAvailableFilters: FilterContextItem[];
|
|
@@ -8458,15 +8468,29 @@ export declare interface ICancelRenamingDashboardTabPayload {
|
|
|
8458
8468
|
}
|
|
8459
8469
|
|
|
8460
8470
|
/**
|
|
8461
|
-
* Maps each
|
|
8462
|
-
*
|
|
8463
|
-
*
|
|
8471
|
+
* Maps each object a dashboard filter reads (keyed by `serializeObjRef(ref)`: the computed attribute
|
|
8472
|
+
* of an attribute filter, the metric or a computed-attribute dimension of a measure value filter) to
|
|
8473
|
+
* the parameter refs it depends on, as reported by the workspace references service. Complements
|
|
8474
|
+
* {@link ICatalogInsightParametersState} for the parameters a widget reaches only through dashboard
|
|
8475
|
+
* filters, which are not part of its insight.
|
|
8464
8476
|
*
|
|
8465
8477
|
* @alpha
|
|
8466
8478
|
*/
|
|
8467
|
-
export declare interface
|
|
8468
|
-
status:
|
|
8469
|
-
|
|
8479
|
+
export declare interface ICatalogFilterParametersState {
|
|
8480
|
+
status: CatalogFilterParametersStatus;
|
|
8481
|
+
byRef: Record<string, IdentifierRef[]>;
|
|
8482
|
+
}
|
|
8483
|
+
|
|
8484
|
+
/**
|
|
8485
|
+
* Maps each dashboard insight (keyed by `serializeObjRef(insightRef)`) to the parameter refs it
|
|
8486
|
+
* depends on through its metrics and computed attributes, as reported by the workspace references
|
|
8487
|
+
* service. Drives runtime parameter applicability for widget execution.
|
|
8488
|
+
*
|
|
8489
|
+
* @alpha
|
|
8490
|
+
*/
|
|
8491
|
+
export declare interface ICatalogInsightParametersState {
|
|
8492
|
+
status: CatalogInsightParametersStatus;
|
|
8493
|
+
byInsight: Record<string, IdentifierRef[]>;
|
|
8470
8494
|
}
|
|
8471
8495
|
|
|
8472
8496
|
/**
|
|
@@ -17047,21 +17071,7 @@ export declare interface IKpiWidgetComparison {
|
|
|
17047
17071
|
comparisonDirection?: IKpiComparisonDirection;
|
|
17048
17072
|
}
|
|
17049
17073
|
|
|
17050
|
-
|
|
17051
|
-
* Defines a single layer's table conversion result for multi-layer geo charts.
|
|
17052
|
-
*
|
|
17053
|
-
* @alpha
|
|
17054
|
-
*/
|
|
17055
|
-
export declare interface ILayerTableDefinition {
|
|
17056
|
-
/** Stable id — "root" for root layer, layer.id for additional layers */
|
|
17057
|
-
layerId: string;
|
|
17058
|
-
/** Human-readable name for the tab label */
|
|
17059
|
-
layerName: string;
|
|
17060
|
-
/** Normalized layer type */
|
|
17061
|
-
layerType: string;
|
|
17062
|
-
/** Converted table insight for this layer */
|
|
17063
|
-
tableInsight: IInsight;
|
|
17064
|
-
}
|
|
17074
|
+
export { ILayerTableDefinition }
|
|
17065
17075
|
|
|
17066
17076
|
/**
|
|
17067
17077
|
* Coordinates of an item in a layout.
|
|
@@ -23208,6 +23218,7 @@ export declare interface IUiState {
|
|
|
23208
23218
|
insightNotSavedDialog: {
|
|
23209
23219
|
open: boolean;
|
|
23210
23220
|
saveConfirmed: boolean;
|
|
23221
|
+
draftInsightsToPersist: IInsight[];
|
|
23211
23222
|
};
|
|
23212
23223
|
settingsDialog: {
|
|
23213
23224
|
open: boolean;
|
|
@@ -26321,17 +26332,13 @@ export declare type RestrictedFiltersPlaceholderComponentProvider = () => Custom
|
|
|
26321
26332
|
export declare type RestrictedPlaceholderComponentProvider = (widget: IInsightWidget) => CustomRestrictedPlaceholderComponent;
|
|
26322
26333
|
|
|
26323
26334
|
/**
|
|
26324
|
-
* The built-in restricted placeholder content: a lock with the reason and the recovery step
|
|
26325
|
-
*
|
|
26326
|
-
*
|
|
26327
|
-
* in place of the warning, so the two read as the same kind of message. It renders the same at every
|
|
26328
|
-
* size — the tile clips what does not fit and the hover tooltip carries the whole message — so one
|
|
26329
|
-
* widget cannot read differently in two render modes. The measured size is therefore not used, and
|
|
26330
|
-
* is passed to a consumer's replacement only.
|
|
26335
|
+
* The built-in restricted placeholder content: a lock with the reason and the recovery step, as the
|
|
26336
|
+
* design has it. It takes over the whole widget, title included, because a stored title can name the
|
|
26337
|
+
* object the reader may not know exists.
|
|
26331
26338
|
*
|
|
26332
26339
|
* @alpha
|
|
26333
26340
|
*/
|
|
26334
|
-
export declare function RestrictedPlaceholderContent(
|
|
26341
|
+
export declare function RestrictedPlaceholderContent({ width }: IRestrictedPlaceholderContentProps): JSX.Element;
|
|
26335
26342
|
|
|
26336
26343
|
/**
|
|
26337
26344
|
* A convenience function to create UndoLayoutChanges command that will revert the very last command and toss it out
|
|
@@ -27576,24 +27583,41 @@ export declare const selectCatalogDateDatasets: DashboardSelector<ICatalogDateDa
|
|
|
27576
27583
|
export declare const selectCatalogFacts: DashboardSelector<ICatalogFact[]>;
|
|
27577
27584
|
|
|
27578
27585
|
/**
|
|
27586
|
+
* Returns the dashboard-wide map from the serialized ref of an object a dashboard filter reads (a computed
|
|
27587
|
+
* attribute, a metric) to the parameter refs it depends on. Populated during dashboard initialization from
|
|
27588
|
+
* the workspace references service and extended when the filter context gains filters on other objects.
|
|
27589
|
+
*
|
|
27579
27590
|
* @alpha
|
|
27580
27591
|
*/
|
|
27581
|
-
export declare const
|
|
27592
|
+
export declare const selectCatalogFilterParameters: DashboardSelector<Record<string, IdentifierRef[]>>;
|
|
27582
27593
|
|
|
27583
27594
|
/**
|
|
27584
|
-
* Returns the
|
|
27585
|
-
* The map is populated during dashboard initialization from the workspace references service.
|
|
27595
|
+
* Returns the load status of the dashboard-wide dashboard-filter → parameter dependency map.
|
|
27586
27596
|
*
|
|
27587
27597
|
* @alpha
|
|
27588
27598
|
*/
|
|
27589
|
-
export declare const
|
|
27599
|
+
export declare const selectCatalogFilterParametersStatus: DashboardSelector<CatalogFilterParametersStatus>;
|
|
27590
27600
|
|
|
27591
27601
|
/**
|
|
27592
|
-
* Returns the
|
|
27602
|
+
* Returns the dashboard-wide map from serialized insight ref to the parameter refs the insight depends on.
|
|
27603
|
+
* The map is populated during dashboard initialization from the workspace references service and extended
|
|
27604
|
+
* when insights are added later.
|
|
27593
27605
|
*
|
|
27594
27606
|
* @alpha
|
|
27595
27607
|
*/
|
|
27596
|
-
export declare const
|
|
27608
|
+
export declare const selectCatalogInsightParameters: DashboardSelector<Record<string, IdentifierRef[]>>;
|
|
27609
|
+
|
|
27610
|
+
/**
|
|
27611
|
+
* Returns the load status of the dashboard-wide insight → parameter dependency map.
|
|
27612
|
+
*
|
|
27613
|
+
* @alpha
|
|
27614
|
+
*/
|
|
27615
|
+
export declare const selectCatalogInsightParametersStatus: DashboardSelector<CatalogInsightParametersStatus>;
|
|
27616
|
+
|
|
27617
|
+
/**
|
|
27618
|
+
* @alpha
|
|
27619
|
+
*/
|
|
27620
|
+
export declare const selectCatalogIsLoaded: DashboardSelector<boolean>;
|
|
27597
27621
|
|
|
27598
27622
|
/**
|
|
27599
27623
|
* @public
|
|
@@ -27783,11 +27807,6 @@ export declare const selectDashboardDescriptor: DashboardSelector<DashboardDescr
|
|
|
27783
27807
|
*/
|
|
27784
27808
|
export declare const selectDashboardFiltersApplyMode: DashboardSelector<DashboardFiltersApplyMode>;
|
|
27785
27809
|
|
|
27786
|
-
/**
|
|
27787
|
-
* @alpha
|
|
27788
|
-
*/
|
|
27789
|
-
export declare const selectDashboardFiltersWithoutCrossFiltering: DashboardSelector<FilterContextItem[]>;
|
|
27790
|
-
|
|
27791
27810
|
/**
|
|
27792
27811
|
* @alpha
|
|
27793
27812
|
*/
|
|
@@ -28342,14 +28361,14 @@ export declare const selectEffectiveDateFilterTitle: DashboardSelector<string |
|
|
|
28342
28361
|
* Returns the parameter values to inject into the widget's `IExecutionConfig.parameterValues`.
|
|
28343
28362
|
*
|
|
28344
28363
|
* @remarks
|
|
28345
|
-
* For each parameter
|
|
28346
|
-
*
|
|
28364
|
+
* For each parameter the widget's insight depends on (via the dashboard-wide
|
|
28365
|
+
* insight → parameter dependency map), the value is resolved in this order:
|
|
28347
28366
|
*
|
|
28348
28367
|
* 1. dashboard chip on the widget's tab with `runtimeOverride !== undefined`,
|
|
28349
28368
|
* 2. else `insight.parameters` entry for that ref (AD-authored per-insight override),
|
|
28350
28369
|
* 3. else nothing (backend uses workspace default).
|
|
28351
28370
|
*
|
|
28352
|
-
* Parameters
|
|
28371
|
+
* Parameters the widget's insight does not depend on are excluded so that adding/removing
|
|
28353
28372
|
* unrelated parameters does not invalidate the widget's `defFingerprint`. Returns `[]` when
|
|
28354
28373
|
* `enableParameters` is off or while the dependency map has not been loaded.
|
|
28355
28374
|
*
|
|
@@ -28600,6 +28619,13 @@ export declare const selectExecutableDashboardFilters: DashboardSelector<FilterC
|
|
|
28600
28619
|
*/
|
|
28601
28620
|
export declare const selectExecutableDashboardFiltersByTab: DashboardSelector<Record<string, FilterContextItem[]>>;
|
|
28602
28621
|
|
|
28622
|
+
/**
|
|
28623
|
+
* Dashboard filters safe to execute with: the ones the current user may not read are left out.
|
|
28624
|
+
*
|
|
28625
|
+
* @alpha
|
|
28626
|
+
*/
|
|
28627
|
+
export declare const selectExecutableDashboardFiltersWithoutCrossFiltering: DashboardSelector<FilterContextItem[]>;
|
|
28628
|
+
|
|
28603
28629
|
/**
|
|
28604
28630
|
* @alpha
|
|
28605
28631
|
*/
|
|
@@ -31992,6 +32018,7 @@ export declare const uiActions: {
|
|
|
31992
32018
|
openSaveAsDialog: ActionCreatorWithoutPayload<"uiSlice/openSaveAsDialog">;
|
|
31993
32019
|
closeSaveAsDialog: ActionCreatorWithoutPayload<"uiSlice/closeSaveAsDialog">;
|
|
31994
32020
|
openInsightNotSavedDialog: ActionCreatorWithoutPayload<"uiSlice/openInsightNotSavedDialog">;
|
|
32021
|
+
setInsightNotSavedDialogDraftInsightsToPersist: ActionCreatorWithPayload<IInsight[], "uiSlice/setInsightNotSavedDialogDraftInsightsToPersist">;
|
|
31995
32022
|
closeInsightNotSavedDialog: ActionCreatorWithoutPayload<"uiSlice/closeInsightNotSavedDialog">;
|
|
31996
32023
|
confirmInsightNotSavedDialogSubmit: ActionCreatorWithoutPayload<"uiSlice/confirmInsightNotSavedDialogSubmit">;
|
|
31997
32024
|
setFilterBarExpanded: ActionCreatorWithPayload<boolean, "uiSlice/setFilterBarExpanded">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.58.0-alpha.
|
|
3
|
+
"version": "11.58.0-alpha.4",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -60,20 +60,20 @@
|
|
|
60
60
|
"ts-invariant": "0.10.3",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "11.1.1",
|
|
63
|
-
"@gooddata/sdk-backend-base": "11.58.0-alpha.
|
|
64
|
-
"@gooddata/sdk-
|
|
65
|
-
"@gooddata/sdk-
|
|
66
|
-
"@gooddata/sdk-ui
|
|
67
|
-
"@gooddata/sdk-ui": "11.58.0-alpha.
|
|
68
|
-
"@gooddata/sdk-ui-ext": "11.58.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-filters": "11.58.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-geo": "11.58.0-alpha.
|
|
71
|
-
"@gooddata/sdk-ui-kit": "11.58.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-pivot": "11.58.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-semantic-search": "11.58.0-alpha.
|
|
74
|
-
"@gooddata/sdk-ui-theme-provider": "11.58.0-alpha.
|
|
75
|
-
"@gooddata/sdk-ui-vis-commons": "11.58.0-alpha.
|
|
76
|
-
"@gooddata/util": "11.58.0-alpha.
|
|
63
|
+
"@gooddata/sdk-backend-base": "11.58.0-alpha.4",
|
|
64
|
+
"@gooddata/sdk-backend-spi": "11.58.0-alpha.4",
|
|
65
|
+
"@gooddata/sdk-model": "11.58.0-alpha.4",
|
|
66
|
+
"@gooddata/sdk-ui": "11.58.0-alpha.4",
|
|
67
|
+
"@gooddata/sdk-ui-charts": "11.58.0-alpha.4",
|
|
68
|
+
"@gooddata/sdk-ui-ext": "11.58.0-alpha.4",
|
|
69
|
+
"@gooddata/sdk-ui-filters": "11.58.0-alpha.4",
|
|
70
|
+
"@gooddata/sdk-ui-geo": "11.58.0-alpha.4",
|
|
71
|
+
"@gooddata/sdk-ui-kit": "11.58.0-alpha.4",
|
|
72
|
+
"@gooddata/sdk-ui-pivot": "11.58.0-alpha.4",
|
|
73
|
+
"@gooddata/sdk-ui-semantic-search": "11.58.0-alpha.4",
|
|
74
|
+
"@gooddata/sdk-ui-theme-provider": "11.58.0-alpha.4",
|
|
75
|
+
"@gooddata/sdk-ui-vis-commons": "11.58.0-alpha.4",
|
|
76
|
+
"@gooddata/util": "11.58.0-alpha.4"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@microsoft/api-documenter": "7.30.10",
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"typescript": "7.0.2",
|
|
116
116
|
"vitest": "4.1.11",
|
|
117
117
|
"vitest-dom": "0.1.1",
|
|
118
|
-
"@gooddata/eslint-config": "11.58.0-alpha.
|
|
119
|
-
"@gooddata/
|
|
120
|
-
"@gooddata/
|
|
121
|
-
"@gooddata/
|
|
122
|
-
"@gooddata/sdk-backend-mockingbird": "11.58.0-alpha.
|
|
123
|
-
"@gooddata/stylelint-config": "11.58.0-alpha.
|
|
118
|
+
"@gooddata/eslint-config": "11.58.0-alpha.4",
|
|
119
|
+
"@gooddata/i18n-toolkit": "11.58.0-alpha.4",
|
|
120
|
+
"@gooddata/oxlint-config": "11.58.0-alpha.4",
|
|
121
|
+
"@gooddata/reference-workspace": "11.58.0-alpha.4",
|
|
122
|
+
"@gooddata/sdk-backend-mockingbird": "11.58.0-alpha.4",
|
|
123
|
+
"@gooddata/stylelint-config": "11.58.0-alpha.4"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"react": "^18.0.0 || ^19.0.0",
|
package/styles/css/dashboard.css
CHANGED
|
@@ -1613,12 +1613,6 @@
|
|
|
1613
1613
|
justify-content: end;
|
|
1614
1614
|
padding: 10px;
|
|
1615
1615
|
}
|
|
1616
|
-
.gd-attachment-settings-dropdown .gd-attachment-settings-dropdown-item h4 {
|
|
1617
|
-
margin: 0 0 8px 0;
|
|
1618
|
-
color: var(--gd-palette-complementary-7);
|
|
1619
|
-
font-size: 14px;
|
|
1620
|
-
font-weight: 400;
|
|
1621
|
-
}
|
|
1622
1616
|
.gd-attachment-settings-dropdown .gd-attachment-settings-dropdown-error {
|
|
1623
1617
|
margin-top: 6px;
|
|
1624
1618
|
color: var(--gd-message-error-textColor);
|
|
@@ -2027,7 +2021,7 @@
|
|
|
2027
2021
|
margin-bottom: 20px;
|
|
2028
2022
|
}
|
|
2029
2023
|
|
|
2030
|
-
.gd-divider-without-margin {
|
|
2024
|
+
.gd-content-divider.gd-divider-without-margin {
|
|
2031
2025
|
margin-top: 0;
|
|
2032
2026
|
margin-bottom: 0;
|
|
2033
2027
|
}
|