@gooddata/sdk-ui-dashboard 11.8.0-alpha.2 → 11.8.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 +5604 -53560
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/sharedHooks/useRichTextFilters.d.ts +43 -4
- package/esm/_staging/sharedHooks/useRichTextFilters.d.ts.map +1 -1
- package/esm/_staging/sharedHooks/useRichTextFilters.js +58 -29
- package/esm/_staging/sharedHooks/useRichTextFilters.js.map +1 -1
- package/esm/kdaDialog/composition/hooks/useAttributeFiltersChangeHandler.d.ts.map +1 -1
- package/esm/kdaDialog/composition/hooks/useAttributeFiltersChangeHandler.js +5 -2
- package/esm/kdaDialog/composition/hooks/useAttributeFiltersChangeHandler.js.map +1 -1
- package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.d.ts.map +1 -1
- package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.js +4 -2
- package/esm/kdaDialog/composition/hooks/useDrillAttributeHandler.js.map +1 -1
- package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.js +28 -3
- package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.js.map +1 -1
- package/esm/kdaDialog/utils.d.ts +2 -1
- package/esm/kdaDialog/utils.d.ts.map +1 -1
- package/esm/kdaDialog/utils.js +15 -0
- package/esm/kdaDialog/utils.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js +39 -1
- package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js.map +1 -1
- package/esm/model/commands/index.d.ts +1 -1
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/richText.d.ts +48 -0
- package/esm/model/commands/richText.d.ts.map +1 -1
- package/esm/model/commands/richText.js +89 -0
- package/esm/model/commands/richText.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +12 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +17 -1
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +2 -2
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +2 -2
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/meta/index.d.ts +1 -0
- package/esm/model/store/meta/index.d.ts.map +1 -1
- package/esm/model/store/meta/metaReducers.d.ts +5 -1
- package/esm/model/store/meta/metaReducers.d.ts.map +1 -1
- package/esm/model/store/meta/metaReducers.js +6 -0
- package/esm/model/store/meta/metaReducers.js.map +1 -1
- package/esm/model/store/meta/metaSelectors.d.ts +12 -0
- package/esm/model/store/meta/metaSelectors.d.ts.map +1 -1
- package/esm/model/store/meta/metaSelectors.js +25 -1
- package/esm/model/store/meta/metaSelectors.js.map +1 -1
- package/esm/model/store/meta/metaState.d.ts +1 -1
- package/esm/model/store/meta/metaState.d.ts.map +1 -1
- package/esm/model/store/meta/metaState.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingDialog/AlertingDialogHeader.js +2 -3
- package/esm/presentation/alerting/DefaultAlertingDialog/AlertingDialogHeader.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +5 -6
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertOld.d.ts.map +1 -1
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertOld.js +4 -5
- package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertOld.js.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.d.ts +3 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js +22 -13
- package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardTabs.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardTabs.js +46 -16
- package/esm/presentation/dashboard/DashboardHeader/DashboardTabs.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.js +1 -0
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.js.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.js +52 -4
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.js.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/types.d.ts +2 -0
- package/esm/presentation/dashboardSettingsDialog/types.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/types.js +1 -0
- package/esm/presentation/dashboardSettingsDialog/types.js.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.d.ts +4 -21
- package/esm/presentation/dashboardSettingsDialog/useDialogData.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.js +3 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.js +2 -3
- package/esm/presentation/dragAndDrop/draggableAttributeFilter/DefaultAttributeFilterDraggingComponent.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DefaultDateFilterDraggingComponent.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableDateFilter/DefaultDateFilterDraggingComponent.js +2 -3
- package/esm/presentation/dragAndDrop/draggableDateFilter/DefaultDateFilterDraggingComponent.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableFilterDropZone/DraggableFilterDropZone.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableFilterDropZone/DraggableFilterDropZone.js +2 -3
- package/esm/presentation/dragAndDrop/draggableFilterDropZone/DraggableFilterDropZone.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js +2 -3
- package/esm/presentation/dragAndDrop/draggableWidget/AddDashboardLayoutWidgetButton.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddRichTextWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddRichTextWidgetButton.js +2 -3
- package/esm/presentation/dragAndDrop/draggableWidget/AddRichTextWidgetButton.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js +2 -3
- package/esm/presentation/dragAndDrop/draggableWidget/AddVisualizationSwitcherWidgetButton.js.map +1 -1
- package/esm/presentation/drill/utils/kdaUtils.d.ts.map +1 -1
- package/esm/presentation/drill/utils/kdaUtils.js +13 -3
- package/esm/presentation/drill/utils/kdaUtils.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.js +5 -6
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/ResetFiltersButton.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/ResetFiltersButton.js +2 -3
- package/esm/presentation/filterBar/filterBar/ResetFiltersButton.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +32 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +8 -0
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +9 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +66 -8
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.js +2 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +2 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/types.js +1 -0
- package/esm/presentation/scheduledEmail/types.js.map +1 -1
- package/esm/presentation/topBar/shareIndicators/lockedStatus/LockedStatusIndicator.d.ts.map +1 -1
- package/esm/presentation/topBar/shareIndicators/lockedStatus/LockedStatusIndicator.js +2 -3
- package/esm/presentation/topBar/shareIndicators/lockedStatus/LockedStatusIndicator.js.map +1 -1
- package/esm/presentation/widget/common/configuration/useAttributeFilterConfigurationHandling.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/useAttributeFilterConfigurationHandling.js +50 -4
- package/esm/presentation/widget/common/configuration/useAttributeFilterConfigurationHandling.js.map +1 -1
- package/esm/presentation/widget/common/configuration/useDateFilterConfigurationHandling.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/useDateFilterConfigurationHandling.js +43 -5
- package/esm/presentation/widget/common/configuration/useDateFilterConfigurationHandling.js.map +1 -1
- package/esm/presentation/widget/common/configuration/useIsFilterNotApplied.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/useIsFilterNotApplied.js +8 -2
- package/esm/presentation/widget/common/configuration/useIsFilterNotApplied.js.map +1 -1
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +2 -2
- package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js.map +1 -1
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +2 -2
- package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +2 -3
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useHandlePropertiesPushData.js +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useHandlePropertiesPushData.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.js +4 -5
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +2 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js +2 -3
- package/esm/presentation/widget/insight/configuration/InsightCrossFiltering.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js +2 -3
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js.map +1 -1
- package/esm/presentation/widget/richText/EditModeDashboardRichText.d.ts.map +1 -1
- package/esm/presentation/widget/richText/EditModeDashboardRichText.js +4 -5
- package/esm/presentation/widget/richText/EditModeDashboardRichText.js.map +1 -1
- package/esm/presentation/widget/richText/ViewModeDashboardRichText.js +2 -2
- package/esm/presentation/widget/richText/ViewModeDashboardRichText.js.map +1 -1
- package/esm/presentation/widget/richText/configuration/RichTextConfiguration.d.ts +3 -0
- package/esm/presentation/widget/richText/configuration/RichTextConfiguration.d.ts.map +1 -0
- package/esm/presentation/widget/richText/configuration/RichTextConfiguration.js +17 -0
- package/esm/presentation/widget/richText/configuration/RichTextConfiguration.js.map +1 -0
- package/esm/presentation/widget/richText/configuration/RichTextDateDataSetFilter.d.ts +6 -0
- package/esm/presentation/widget/richText/configuration/RichTextDateDataSetFilter.d.ts.map +1 -0
- package/esm/presentation/widget/richText/configuration/RichTextDateDataSetFilter.js +19 -0
- package/esm/presentation/widget/richText/configuration/RichTextDateDataSetFilter.js.map +1 -0
- package/esm/presentation/widget/richText/configuration/RichTextFilters.d.ts +7 -0
- package/esm/presentation/widget/richText/configuration/RichTextFilters.d.ts.map +1 -0
- package/esm/presentation/widget/richText/configuration/RichTextFilters.js +10 -0
- package/esm/presentation/widget/richText/configuration/RichTextFilters.js.map +1 -0
- package/esm/presentation/widget/richText/configuration/index.d.ts +4 -0
- package/esm/presentation/widget/richText/configuration/index.d.ts.map +1 -0
- package/esm/presentation/widget/richText/configuration/index.js +5 -0
- package/esm/presentation/widget/richText/configuration/index.js.map +1 -0
- package/esm/presentation/widget/richText/useEditableRichTextMenu.d.ts.map +1 -1
- package/esm/presentation/widget/richText/useEditableRichTextMenu.js +4 -2
- package/esm/presentation/widget/richText/useEditableRichTextMenu.js.map +1 -1
- package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.d.ts +2 -1
- package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.js +16 -1
- package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +2 -3
- package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js +3 -4
- package/esm/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.js.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +2 -3
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +77 -2
- package/package.json +18 -18
- package/styles/css/dashboard.css +9 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardSettingsDialog.css +7 -1
- package/styles/css/dashboardSettingsDialog.css.map +1 -1
- package/styles/css/main.css +36 -1
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +9 -0
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/scss/dashboardSettingsDialog.scss +7 -1
- package/styles/scss/notifications_channels_dialog.scss +12 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2025 GoodData Corporation
|
|
3
|
+
import { useEffect } from "react";
|
|
4
|
+
import { widgetRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { queryDateDatasetsForInsight, selectIsWidgetLoadingAdditionalDataByWidgetRef, useDashboardQueryProcessing, useDashboardSelector, } from "../../../../model/index.js";
|
|
6
|
+
import { useDateDatasetFilter } from "../../common/configuration/useDateDatasetFilter.js";
|
|
7
|
+
import { DateDatasetFilter } from "../../common/index.js";
|
|
8
|
+
export function RichTextDateDataSetFilter({ widget }) {
|
|
9
|
+
const { status, run: queryDateDatasets, result, } = useDashboardQueryProcessing({
|
|
10
|
+
queryCreator: queryDateDatasetsForInsight,
|
|
11
|
+
});
|
|
12
|
+
const isLoadingAdditionalData = useDashboardSelector(selectIsWidgetLoadingAdditionalDataByWidgetRef(widgetRef(widget)));
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
queryDateDatasets();
|
|
15
|
+
}, [queryDateDatasets]);
|
|
16
|
+
const { handleDateDatasetChanged, shouldOpenDateDatasetPicker } = useDateDatasetFilter(result?.dateDatasets);
|
|
17
|
+
return (_jsx(DateDatasetFilter, { widget: widget, dateFilterCheckboxDisabled: false, isDatasetsLoading: status === "running" || status === "pending" || isLoadingAdditionalData, relatedDateDatasets: result?.dateDatasetsOrdered, isLoadingAdditionalData: isLoadingAdditionalData, shouldOpenDateDatasetPicker: shouldOpenDateDatasetPicker, onDateDatasetChanged: handleDateDatasetChanged }));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=RichTextDateDataSetFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextDateDataSetFilter.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/richText/configuration/RichTextDateDataSetFilter.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAmB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAGH,2BAA2B,EAC3B,8CAA8C,EAC9C,2BAA2B,EAC3B,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAM1D,MAAM,UAAU,yBAAyB,CAAC,EAAE,MAAM,EAAmC;IACjF,MAAM,EACF,MAAM,EACN,GAAG,EAAE,iBAAiB,EACtB,MAAM,GACT,GAAG,2BAA2B,CAI7B;QACE,YAAY,EAAE,2BAA2B;KAC5C,CAAC,CAAC;IAEH,MAAM,uBAAuB,GAAG,oBAAoB,CAChD,8CAA8C,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CACpE,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,iBAAiB,EAAE,CAAC;IACxB,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAExB,MAAM,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,GAAG,oBAAoB,CAClF,MAAM,EAAE,YAAY,CACvB,CAAC;IAEF,OAAO,CACH,KAAC,iBAAiB,IACd,MAAM,EAAE,MAAM,EACd,0BAA0B,EAAE,KAAK,EACjC,iBAAiB,EAAE,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,IAAI,uBAAuB,EAC1F,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAChD,uBAAuB,EAAE,uBAAuB,EAChD,2BAA2B,EAAE,2BAA2B,EACxD,oBAAoB,EAAE,wBAAwB,GAChD,CACL,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IRichTextWidget } from "@gooddata/sdk-model";
|
|
2
|
+
interface IRichTextFiltersProps {
|
|
3
|
+
widget: IRichTextWidget;
|
|
4
|
+
}
|
|
5
|
+
export declare function RichTextFilters({ widget }: IRichTextFiltersProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=RichTextFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/richText/configuration/RichTextFilters.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAMtD,UAAU,qBAAqB;IAC3B,MAAM,EAAE,eAAe,CAAC;CAC3B;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE,qBAAqB,2CAUhE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// (C) 2025 GoodData Corporation
|
|
3
|
+
import { FormattedMessage } from "react-intl";
|
|
4
|
+
import { Typography } from "@gooddata/sdk-ui-kit";
|
|
5
|
+
import { RichTextDateDataSetFilter } from "./RichTextDateDataSetFilter.js";
|
|
6
|
+
import { FilterConfiguration } from "../../common/configuration/FilterConfiguration.js";
|
|
7
|
+
export function RichTextFilters({ widget }) {
|
|
8
|
+
return (_jsxs("div", { className: "s-viz-filters-panel configuration-category", children: [_jsx(Typography, { tagName: "h3", className: "s-viz-filters-headline", children: _jsx(FormattedMessage, { id: "configurationPanel.filterBy" }) }), _jsx(RichTextDateDataSetFilter, { widget: widget }), _jsx(FilterConfiguration, { widget: widget })] }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=RichTextFilters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextFilters.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/richText/configuration/RichTextFilters.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAEhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AAMxF,MAAM,UAAU,eAAe,CAAC,EAAE,MAAM,EAAyB;IAC7D,OAAO,CACH,eAAK,SAAS,EAAC,4CAA4C,aACvD,KAAC,UAAU,IAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAC,wBAAwB,YACvD,KAAC,gBAAgB,IAAC,EAAE,EAAC,6BAA6B,GAAG,GAC5C,EACb,KAAC,yBAAyB,IAAC,MAAM,EAAE,MAAM,GAAI,EAC7C,KAAC,mBAAmB,IAAC,MAAM,EAAE,MAAM,GAAI,IACrC,CACT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/richText/configuration/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// (C) 2025 GoodData Corporation
|
|
2
|
+
export { RichTextConfiguration } from "./RichTextConfiguration.js";
|
|
3
|
+
export { RichTextFilters } from "./RichTextFilters.js";
|
|
4
|
+
export { RichTextDateDataSetFilter } from "./RichTextDateDataSetFilter.js";
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/richText/configuration/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditableRichTextMenu.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/useEditableRichTextMenu.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useEditableRichTextMenu.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/useEditableRichTextMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAStD,OAAO,EAAE,iBAAiB,EAA8B,MAAM,0BAA0B,CAAC;AAEzF,KAAK,6BAA6B,GAAG;IACjC,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAChC,QAAQ,6BAA6B,KACtC;IAAE,SAAS,EAAE,iBAAiB,EAAE,CAAA;CA2BlC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2021-2025 GoodData Corporation
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
|
-
import { useDashboardDispatch, useDashboardEventDispatch } from "../../../model/index.js";
|
|
4
|
+
import { selectEnableRichTextWidgetFilterConfiguration, useDashboardDispatch, useDashboardEventDispatch, useDashboardSelector, } from "../../../model/index.js";
|
|
5
5
|
import { useDashboardCustomizationsContext } from "../../dashboardContexts/index.js";
|
|
6
6
|
import { getDefaultRichTextEditMode } from "../richTextMenu/index.js";
|
|
7
7
|
export const useEditableRichTextMenu = (config) => {
|
|
@@ -9,14 +9,16 @@ export const useEditableRichTextMenu = (config) => {
|
|
|
9
9
|
const intl = useIntl();
|
|
10
10
|
const dispatch = useDashboardDispatch();
|
|
11
11
|
const eventDispatch = useDashboardEventDispatch();
|
|
12
|
+
const enableRichTextWidgetFilterConfiguration = useDashboardSelector(selectEnableRichTextWidgetFilterConfiguration);
|
|
12
13
|
const { richTextMenuItemsProvider } = useDashboardCustomizationsContext();
|
|
13
14
|
const defaultMenuItems = useMemo(() => {
|
|
14
15
|
return getDefaultRichTextEditMode(widget, {
|
|
15
16
|
intl,
|
|
16
17
|
dispatch,
|
|
17
18
|
eventDispatch,
|
|
19
|
+
enableRichTextWidgetFilterConfiguration,
|
|
18
20
|
});
|
|
19
|
-
}, [dispatch, eventDispatch, intl, widget]);
|
|
21
|
+
}, [dispatch, eventDispatch, intl, widget, enableRichTextWidgetFilterConfiguration]);
|
|
20
22
|
const menuItems = useMemo(() => {
|
|
21
23
|
return richTextMenuItemsProvider
|
|
22
24
|
? richTextMenuItemsProvider(widget, defaultMenuItems, closeMenu, "edit")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditableRichTextMenu.js","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/useEditableRichTextMenu.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"useEditableRichTextM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AAC,yBAAyB,EAAE,MAAM,EAAE,gBAAgB,EAAE,SAAS,CAAC,CAAC,CAAC;IAErE,OAAO,EAAE,SAAS,EAAE,CAAC;AACzB,CAAC,CAAC"}
|
|
@@ -9,9 +9,10 @@ export type RichTextMenuItemDependencies = {
|
|
|
9
9
|
intl: IntlShape;
|
|
10
10
|
dispatch: ReturnType<typeof useDashboardDispatch>;
|
|
11
11
|
eventDispatch: ReturnType<typeof useDashboardEventDispatch>;
|
|
12
|
+
enableRichTextWidgetFilterConfiguration?: boolean;
|
|
12
13
|
};
|
|
13
14
|
/**
|
|
14
15
|
* @internal
|
|
15
16
|
*/
|
|
16
|
-
export declare function getDefaultRichTextEditMode(widget: IRichTextWidget, { intl, dispatch }: RichTextMenuItemDependencies): IRichTextMenuItem[];
|
|
17
|
+
export declare function getDefaultRichTextEditMode(widget: IRichTextWidget, { intl, dispatch, enableRichTextWidgetFilterConfiguration }: RichTextMenuItemDependencies): IRichTextMenuItem[];
|
|
17
18
|
//# sourceMappingURL=getDefaultRichTextEditMenuItems.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultRichTextEditMenuItems.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getDefaultRichTextEditMenuItems.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAEH,oBAAoB,EACpB,yBAAyB,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACvC,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IAClD,aAAa,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;IAC5D,uCAAuC,CAAC,EAAE,OAAO,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,eAAe,EACvB,EAAE,IAAI,EAAE,QAAQ,EAAE,uCAA+C,EAAE,EAAE,4BAA4B,GAClG,iBAAiB,EAAE,CA2BrB"}
|
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
// (C) 2021-2025 GoodData Corporation
|
|
2
2
|
import { compact } from "lodash-es";
|
|
3
3
|
import { eagerRemoveSectionItemByWidgetRef, } from "../../../../model/index.js";
|
|
4
|
+
import { RichTextConfiguration } from "../../richText/configuration/RichTextConfiguration.js";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export function getDefaultRichTextEditMode(widget, { intl, dispatch }) {
|
|
8
|
+
export function getDefaultRichTextEditMode(widget, { intl, dispatch, enableRichTextWidgetFilterConfiguration = false }) {
|
|
8
9
|
return compact([
|
|
10
|
+
enableRichTextWidgetFilterConfiguration && {
|
|
11
|
+
type: "submenu",
|
|
12
|
+
itemId: "ConfigurationPanelSubmenu",
|
|
13
|
+
tooltip: "",
|
|
14
|
+
itemName: intl.formatMessage({ id: "configurationPanel.title" }),
|
|
15
|
+
icon: "gd-icon-settings",
|
|
16
|
+
disabled: false,
|
|
17
|
+
className: "s-configuration-panel-submenu",
|
|
18
|
+
SubmenuComponent: RichTextConfiguration,
|
|
19
|
+
},
|
|
20
|
+
enableRichTextWidgetFilterConfiguration && {
|
|
21
|
+
type: "separator",
|
|
22
|
+
itemId: "ConfigurationPanelRemoveSeparator",
|
|
23
|
+
},
|
|
9
24
|
{
|
|
10
25
|
type: "button",
|
|
11
26
|
itemId: "InteractionPanelRemove",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultRichTextEditMenuItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.tsx"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"getDefaultRichTextEditMenuItems.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,EACH,iCAAiC,GAGpC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAa9F;;GAEG;AACH,MAAM,UAAU,0BAA0B,CACtC,MAAuB,EACvB,EAAE,IAAI,EAAE,QAAQ,EAAE,uCAAuC,GAAG,KAAK,EAAgC;IAEjG,OAAO,OAAO,CAAC;QACX,uCAAuC,IAAI;YACvC,IAAI,EAAE,SAAS;YACf,MAAM,EAAE,2BAA2B;YACnC,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,0BAA0B,EAAE,CAAC;YAChE,IAAI,EAAE,kBAAkB;YACxB,QAAQ,EAAE,KAAK;YACf,SAAS,EAAE,+BAA+B;YAC1C,gBAAgB,EAAE,qBAAqB;SAC1C;QACD,uCAAuC,IAAI;YACvC,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,mCAAmC;SAC9C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,wBAAwB;YAChC,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,0CAA0C,EAAE,CAAC;YAChF,IAAI,EAAE,eAAe;YACrB,QAAQ,EAAE,KAAK;YACf,SAAS,EAAE,uBAAuB;YAClC,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;SACzE;KACJ,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditModeDashboardVisualizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,oCAAoC,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"EditModeDashboardVisualizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,oCAAoC,EAAE,MAAM,YAAY,CAAC;AAUlE;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,EACnD,MAAM,EACN,qBAAqB,EACrB,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,MAAM,GACT,EAAE,oCAAoC,2CAgEtC"}
|
package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js
CHANGED
|
@@ -3,14 +3,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import cx from "classnames";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { insightVisualizationType } from "@gooddata/sdk-model";
|
|
6
|
-
import {
|
|
6
|
+
import { IconVisualizationSwitcher, Typography } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
8
8
|
import { AllVisualizationsDashInsights } from "./AllVisualizationsDashInsights.js";
|
|
9
9
|
import { useExecutionProgress } from "./useExecutionProgress.js";
|
|
10
10
|
import { selectInsightsMap, useDashboardSelector } from "../../../model/index.js";
|
|
11
11
|
import { DashboardItem, DashboardItemVisualization, getVisTypeCssClass, } from "../../../presentation/presentationComponents/index.js";
|
|
12
12
|
import { EditableDashboardInsightWidgetHeader } from "../widget/InsightWidget/EditableDashboardInsightWidgetHeader.js";
|
|
13
|
-
const { VisualizationSwitcher: VisualizationSwitcherIcon } = Icon;
|
|
14
13
|
/**
|
|
15
14
|
* @internal
|
|
16
15
|
*/
|
|
@@ -24,7 +23,7 @@ export function EditModeDashboardVisualizationSwitcher({ widget, activeVisualiza
|
|
|
24
23
|
const insight = activeVisualization ? insights.get(activeVisualization.insight) : undefined;
|
|
25
24
|
const { showOthers } = useExecutionProgress();
|
|
26
25
|
if (!activeVisualization || !insight) {
|
|
27
|
-
return (_jsxs("div", { className: "gd-visualization-switcher-widget-empty-content", children: [_jsx(
|
|
26
|
+
return (_jsxs("div", { className: "gd-visualization-switcher-widget-empty-content", children: [_jsx(IconVisualizationSwitcher, { width: 32, height: 38, color: emptyContentIconColor }), _jsx(Typography, { tagName: "p", children: intl.formatMessage({ id: "visualizationSwitcher.emptyContent" }) })] }));
|
|
28
27
|
}
|
|
29
28
|
else {
|
|
30
29
|
const visType = insightVisualizationType(insight);
|
package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditModeDashboardVisualizationSwitcher.js","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EditModeDashboardVisualizationSwitcher.js","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.tsx"],"names":[],"mappings":";AAAA,qCAAq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B,CACnB,CAAC;IACN,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarTop.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ToolbarTop.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAgBrD,UAAU,gBAAgB;IACtB,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,uBAAuB,EAAE,OAAO,CAAC;CACpC;AACD,wBAAgB,UAAU,CAAC,EACvB,cAAc,EACd,UAAU,EACV,qBAAqB,EAAE,cAAc,EACrC,QAAQ,EACR,wBAAwB,EACxB,uBAAuB,GAC1B,EAAE,gBAAgB,2CA6FlB"}
|
|
@@ -3,10 +3,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useCallback } from "react";
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { FormattedMessage } from "react-intl";
|
|
6
|
-
import { Bubble, BubbleHoverTrigger, GD_COLOR_HIGHLIGHT,
|
|
6
|
+
import { Bubble, BubbleHoverTrigger, GD_COLOR_HIGHLIGHT, IconArrowLeft, IconArrowRight, IconTrash, IconVisualizationSwitcher, } from "@gooddata/sdk-ui-kit";
|
|
7
7
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
8
8
|
import { useDashboardUserInteraction } from "../../../../model/index.js";
|
|
9
|
-
const { VisualizationSwitcher: VisualizationSwitcherIcon, ArrowLeft: ArrowLeftIcon, ArrowRight: ArrowRightIcon, Trash: TrashIcon, } = Icon;
|
|
10
9
|
const bubbleAlignPoints = [{ align: "tc bc", offset: { x: 0, y: -8 } }];
|
|
11
10
|
export function ToolbarTop({ visualizations, onNavigate, activeVisualizationId: activeWidgetId, onDelete, toggleVisualizationsList, visualizationsListShown, }) {
|
|
12
11
|
const theme = useTheme();
|
|
@@ -40,9 +39,9 @@ export function ToolbarTop({ visualizations, onNavigate, activeVisualizationId:
|
|
|
40
39
|
const leftSectionClassName = cx("left-section", visualizationsListShown ? "is-active" : null);
|
|
41
40
|
const navigatePrevClassName = cx("navigate-button", "navigate-prev", prevDisabled ? "is-disabled" : null);
|
|
42
41
|
const navigateNextClassName = cx("navigate-button", "navigate-next", nextDisabled ? "is-disabled" : null);
|
|
43
|
-
return (_jsxs("div", { className: "gd-visualization-switcher-toolbar-top bubble bubble-light", children: [_jsx("div", { className: leftSectionClassName, onClick: toggleVisualizationsList, children: _jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx(
|
|
42
|
+
return (_jsxs("div", { className: "gd-visualization-switcher-toolbar-top bubble bubble-light", children: [_jsx("div", { className: leftSectionClassName, onClick: toggleVisualizationsList, children: _jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx(IconVisualizationSwitcher, { color: iconColor, width: 20, height: 20 }), _jsx(Bubble, { alignPoints: bubbleAlignPoints, children: _jsx(FormattedMessage, { id: "visualizationSwitcherToolbar.visualizationsList.tooltip" }) })] }) }), _jsx("div", { className: "vertical-divider" }), _jsxs("div", { className: "middle-section", children: [_jsx("div", { className: navigatePrevClassName, onClick: onNavigatePrev, children: _jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx(IconArrowLeft, { color: prevColor }), _jsx(Bubble, { alignPoints: bubbleAlignPoints, children: _jsx(FormattedMessage, { id: "visualizationSwitcherToolbar.visualizationsList.prev" }) })] }) }), _jsxs("div", { className: "status", children: [activeWidgetIndex + 1, "/", visualizations.length] }), _jsx("div", { className: navigateNextClassName, onClick: onNavigateNext, children: _jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx(IconArrowRight, { color: nextColor }), _jsx(Bubble, { alignPoints: bubbleAlignPoints, children: _jsx(FormattedMessage, { id: "visualizationSwitcherToolbar.visualizationsList.next" }) })] }) })] }), _jsx("div", { className: "vertical-divider" }), _jsx("div", { className: "right-section", children: _jsx("div", { className: "s-visualization-switcher-remove-button", onClick: () => {
|
|
44
43
|
onDelete();
|
|
45
44
|
userInteraction.visualizationSwitcherInteraction("visualizationSwitcherRemoved");
|
|
46
|
-
}, children: _jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx(
|
|
45
|
+
}, children: _jsxs(BubbleHoverTrigger, { eventsOnBubble: true, children: [_jsx(IconTrash, { className: "gd-trash-icon", width: 20 }), _jsx(Bubble, { alignPoints: bubbleAlignPoints, children: _jsx(FormattedMessage, { id: "visualizationSwitcherToolbar.remove" }) })] }) }) })] }));
|
|
47
46
|
}
|
|
48
47
|
//# sourceMappingURL=ToolbarTop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolbarTop.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,
|
|
1
|
+
{"version":3,"file":"ToolbarTop.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/visualizationSwitcher/configuration/ToolbarTop.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,O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AC,wCAAwC,EAClD,OAAO,EAAE,GAAG,EAAE;wBACV,QAAQ,EAAE,CAAC;wBACX,eAAe,CAAC,gCAAgC,CAAC,8BAA8B,CAAC,CAAC;oBACrF,CAAC,YAED,MAAC,kBAAkB,IAAC,cAAc,mBAC9B,KAAC,SAAS,IAAC,SAAS,EAAC,eAAe,EAAC,KAAK,EAAE,EAAE,GAAI,EAClD,KAAC,MAAM,IAAC,WAAW,EAAE,iBAAiB,YAClC,KAAC,gBAAgB,IAAC,EAAE,EAAC,qCAAqC,GAAG,GACxD,IACQ,GACnB,GACJ,IACJ,CACT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardNestedLayoutWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"EditableDashboardNestedLayoutWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEvE;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,EAChD,MAAM,EACN,MAAM,EACN,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,GACvB,EAAE,qBAAqB,2CAyFvB"}
|
|
@@ -2,14 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
// (C) 2020-2025 GoodData Corporation
|
|
3
3
|
import cx from "classnames";
|
|
4
4
|
import { FormattedMessage } from "react-intl";
|
|
5
|
-
import {
|
|
5
|
+
import { IconSmallDragHandle } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { Toolbar } from "./Toolbar.js";
|
|
7
7
|
import { eagerRemoveSectionItemByWidgetRef, selectIsDashboardSaving, toggleLayoutDirection, toggleLayoutSectionHeaders, useDashboardDispatch, useDashboardSelector, useWidgetSelection, } from "../../../../model/index.js";
|
|
8
8
|
import { useScreenSize } from "../../../dashboard/components/DashboardScreenSizeContext.js";
|
|
9
9
|
import { useIsDraggingWidget } from "../../../dragAndDrop/index.js";
|
|
10
10
|
import { DashboardItem, DashboardItemBase } from "../../../presentationComponents/index.js";
|
|
11
11
|
import { DashboardLayout } from "../../dashboardLayout/DashboardLayout.js";
|
|
12
|
-
const { SmallDragHandle: SmallDragHandleIcon } = Icon;
|
|
13
12
|
/**
|
|
14
13
|
* @internal
|
|
15
14
|
*/
|
|
@@ -33,6 +32,6 @@ export function EditableDashboardNestedLayoutWidget({ widget, layout, parentLayo
|
|
|
33
32
|
}, onClose: closeConfigPanel })) : null }));
|
|
34
33
|
}, children: ({ clientWidth, clientHeight }) => (_jsxs(_Fragment, { children: [_jsxs("div", { className: cx("gd-dashboard-nested-layout-tab", {
|
|
35
34
|
"is-selected": isSelected,
|
|
36
|
-
}), children: [_jsx(
|
|
35
|
+
}), children: [_jsx(IconSmallDragHandle, { className: "gd-dashboard-nested-layout-tab__icon" }), _jsx("div", { className: "gd-dashboard-nested-layout-tab__text", children: _jsx(FormattedMessage, { id: "nestedLayout.tab.title" }) })] }), _jsx(DashboardLayout, { widget: widget, layout: layout, clientHeight: clientHeight, clientWidth: clientWidth, parentLayoutItemSize: parentLayoutItemSize, parentLayoutPath: parentLayoutPath })] })) }) }) }));
|
|
37
36
|
}
|
|
38
37
|
//# sourceMappingURL=EditableDashboardNestedLayoutWidget.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardNestedLayoutWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"EditableDashboardNestedLayoutWidget.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.tsx"],"names":[],"mappings":";AAAA,qCAAqC;AAErC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EACH,iCAAiC,EACjC,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAC5F,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAG3E;;GAEG;AACH,MAAM,UAAU,mCAAmC,CAAC,EAChD,MAAM,EACN,MAAM,EACN,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,GACA;IACpB,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,GAAG,kBAAkB,CACrG,MAAM,EAAE,GAAG,CACd,CAAC;IACF,MAAM,QAAQ,GAAG,oBAAoB,CAAC,uBAAuB,CAAC,CAAC;IAC/D,MAAM,UAAU,GAAG,CAAC,QAAQ,CAA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,sCAAsC,GAAG,EACxE,cAAK,SAAS,EAAC,sCAAsC,YACjD,KAAC,gBAAgB,IAAC,EAAE,EAAC,wBAAwB,GAAG,GAC9C,IACJ,EACN,KAAC,eAAe,IACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,GACpC,IACH,CACN,GACe,GACR,GACjB,CACN,CAAC;AACN,CAAC"}
|
|
@@ -3621,7 +3621,7 @@ export declare interface DashboardDeletedPayload {
|
|
|
3621
3621
|
/**
|
|
3622
3622
|
* @public
|
|
3623
3623
|
*/
|
|
3624
|
-
export declare type DashboardDescriptor = Pick<IDashboard, "title" | "description" | "tags" | "disableCrossFiltering" | "disableUserFilterReset" | "disableUserFilterSave" | "disableFilterViews" | "evaluationFrequency"> & IAccessControlAware;
|
|
3624
|
+
export declare type DashboardDescriptor = Pick<IDashboard, "title" | "description" | "tags" | "disableCrossFiltering" | "disableUserFilterReset" | "disableUserFilterSave" | "disableFilterViews" | "evaluationFrequency" | "sectionHeadersDateDataSet"> & IAccessControlAware;
|
|
3625
3625
|
|
|
3626
3626
|
/**
|
|
3627
3627
|
* @public
|
|
@@ -7443,6 +7443,20 @@ export declare function disableInsightWidgetDateFilter(ref: ObjRef, correlationI
|
|
|
7443
7443
|
*/
|
|
7444
7444
|
export declare function disableKpiWidgetDateFilter(ref: ObjRef, correlationId?: string): ChangeKpiWidgetFilterSettings;
|
|
7445
7445
|
|
|
7446
|
+
/**
|
|
7447
|
+
* Creates the ChangeRichTextWidgetFilterSettings command for {@link FilterOpDisableDateFilter} operation.
|
|
7448
|
+
*
|
|
7449
|
+
* Dispatching this command will result in change of Rich Text widget's date filter setting. The date filtering will
|
|
7450
|
+
* be disabled.
|
|
7451
|
+
*
|
|
7452
|
+
* @param ref - reference of the Rich Text widget to modify
|
|
7453
|
+
* @param correlationId - specify correlation id to use for this command. this will be included in all
|
|
7454
|
+
* events that will be emitted during the command processing
|
|
7455
|
+
*
|
|
7456
|
+
* @alpha
|
|
7457
|
+
*/
|
|
7458
|
+
export declare function disableRichTextWidgetDateFilter(ref: ObjRef, correlationId?: string): ChangeRichTextWidgetFilterSettings;
|
|
7459
|
+
|
|
7446
7460
|
/**
|
|
7447
7461
|
* Dispatches a command and returns a promise to wait for it to get resolved.
|
|
7448
7462
|
*
|
|
@@ -8773,7 +8787,7 @@ export declare function getDefaultInsightMenuItems(intl: IntlShape, config: IUse
|
|
|
8773
8787
|
/**
|
|
8774
8788
|
* @internal
|
|
8775
8789
|
*/
|
|
8776
|
-
export declare function getDefaultRichTextEditMode(widget: IRichTextWidget, { intl, dispatch }: RichTextMenuItemDependencies): IRichTextMenuItem[];
|
|
8790
|
+
export declare function getDefaultRichTextEditMode(widget: IRichTextWidget, { intl, dispatch, enableRichTextWidgetFilterConfiguration }: RichTextMenuItemDependencies): IRichTextMenuItem[];
|
|
8777
8791
|
|
|
8778
8792
|
/**
|
|
8779
8793
|
* @internal
|
|
@@ -11199,6 +11213,7 @@ export declare interface IDashboardSettingsApplyPayload {
|
|
|
11199
11213
|
disableUserFilterReset: boolean;
|
|
11200
11214
|
disableFilterViews: boolean;
|
|
11201
11215
|
evaluationFrequency: string | undefined;
|
|
11216
|
+
sectionHeadersDateDataSet: ObjRef | undefined;
|
|
11202
11217
|
}
|
|
11203
11218
|
|
|
11204
11219
|
/**
|
|
@@ -12003,6 +12018,26 @@ export declare function ignoreFilterOnInsightWidget(ref: ObjRef, oneOrMoreDispla
|
|
|
12003
12018
|
*/
|
|
12004
12019
|
export declare function ignoreFilterOnKpiWidget(ref: ObjRef, oneOrMoreDisplayForms: ObjRef | ObjRef[], correlationId?: string): ChangeKpiWidgetFilterSettings;
|
|
12005
12020
|
|
|
12021
|
+
/**
|
|
12022
|
+
* Creates the ChangeRichTextWidgetFilterSettings command for {@link FilterOpIgnoreAttributeFilter} operation.
|
|
12023
|
+
*
|
|
12024
|
+
* Dispatching this command will result in addition of one or more filters into Rich Text widget's attribute filter ignore-list.
|
|
12025
|
+
* Those attribute filters that use the provided displayForms for filtering will be ignored by the widget on top of any
|
|
12026
|
+
* other filters that are already ignored.
|
|
12027
|
+
*
|
|
12028
|
+
* Ignored attribute filters are not passed down to the metrics and will not be used to filter those metrics.
|
|
12029
|
+
*
|
|
12030
|
+
* The operation is idempotent - trying to ignore an attribute filter multiple times will have no effect.
|
|
12031
|
+
*
|
|
12032
|
+
* @param ref - reference of the rich text widget to modify
|
|
12033
|
+
* @param oneOrMoreDisplayForms - one or more refs of display forms used by attribute filters that should be added to the ignore-list
|
|
12034
|
+
* @param correlationId - specify correlation id to use for this command. this will be included in all
|
|
12035
|
+
* events that will be emitted during the command processing
|
|
12036
|
+
*
|
|
12037
|
+
* @alpha
|
|
12038
|
+
*/
|
|
12039
|
+
export declare function ignoreFilterOnRichTextWidget(ref: ObjRef, oneOrMoreDisplayForms: ObjRef | ObjRef[], correlationId?: string): ChangeRichTextWidgetFilterSettings;
|
|
12040
|
+
|
|
12006
12041
|
/**
|
|
12007
12042
|
* @internal
|
|
12008
12043
|
*/
|
|
@@ -15873,6 +15908,7 @@ export declare const metaActions: {
|
|
|
15873
15908
|
setDisableUserFilterSave: ActionCreatorWithPayload<boolean, "meta/setDisableUserFilterSave">;
|
|
15874
15909
|
setDisableFilterViews: ActionCreatorWithPayload<boolean, "meta/setDisableFilterViews">;
|
|
15875
15910
|
setEvaluationFrequency: ActionCreatorWithOptionalPayload<string | undefined, "meta/setEvaluationFrequency">;
|
|
15911
|
+
setSectionHeadersDateDataSet: ActionCreatorWithOptionalPayload<ObjRef | undefined, "meta/setSectionHeadersDateDataSet">;
|
|
15876
15912
|
};
|
|
15877
15913
|
|
|
15878
15914
|
/**
|
|
@@ -18708,6 +18744,7 @@ export declare type RichTextMenuItemDependencies = {
|
|
|
18708
18744
|
intl: IntlShape;
|
|
18709
18745
|
dispatch: ReturnType<typeof useDashboardDispatch>;
|
|
18710
18746
|
eventDispatch: ReturnType<typeof useDashboardEventDispatch>;
|
|
18747
|
+
enableRichTextWidgetFilterConfiguration?: boolean;
|
|
18711
18748
|
};
|
|
18712
18749
|
|
|
18713
18750
|
/**
|
|
@@ -20341,6 +20378,13 @@ export declare const selectEnableDashboardDescriptionDynamicHeight: DashboardSel
|
|
|
20341
20378
|
*/
|
|
20342
20379
|
export declare const selectEnableDashboardFiltersApplyModes: DashboardSelector<boolean>;
|
|
20343
20380
|
|
|
20381
|
+
/**
|
|
20382
|
+
* Returns whether dashboard-level date dataset configuration for section headers is enabled.
|
|
20383
|
+
*
|
|
20384
|
+
* @alpha
|
|
20385
|
+
*/
|
|
20386
|
+
export declare const selectEnableDashboardSectionHeadersDateDataSet: DashboardSelector<boolean>;
|
|
20387
|
+
|
|
20344
20388
|
/**
|
|
20345
20389
|
* Selector for the dashboard share link in the share dialog feature flag
|
|
20346
20390
|
*
|
|
@@ -20519,6 +20563,13 @@ export declare const selectEnableRichTextDescriptions: DashboardSelector<boolean
|
|
|
20519
20563
|
*/
|
|
20520
20564
|
export declare const selectEnableRichTextDynamicReferences: DashboardSelector<boolean>;
|
|
20521
20565
|
|
|
20566
|
+
/**
|
|
20567
|
+
* Returns whether rich text widget filter configuration is enabled.
|
|
20568
|
+
*
|
|
20569
|
+
* @alpha
|
|
20570
|
+
*/
|
|
20571
|
+
export declare const selectEnableRichTextWidgetFilterConfiguration: DashboardSelector<boolean>;
|
|
20572
|
+
|
|
20522
20573
|
/**
|
|
20523
20574
|
* @alpha
|
|
20524
20575
|
*/
|
|
@@ -21628,6 +21679,13 @@ export declare const selectScheduleEmailDialogReturnFocusTo: DashboardSelector<s
|
|
|
21628
21679
|
*/
|
|
21629
21680
|
export declare const selectScreen: DashboardSelector<ScreenSize | undefined>;
|
|
21630
21681
|
|
|
21682
|
+
/**
|
|
21683
|
+
* Selects the date dataset to use for filtering metrics in section header rich text.
|
|
21684
|
+
*
|
|
21685
|
+
* @alpha
|
|
21686
|
+
*/
|
|
21687
|
+
export declare const selectSectionHeadersDateDataSet: DashboardSelector<ObjRef | undefined>;
|
|
21688
|
+
|
|
21631
21689
|
/**
|
|
21632
21690
|
* @internal
|
|
21633
21691
|
*/
|
|
@@ -23270,6 +23328,23 @@ export declare function unignoreFilterOnInsightWidget(ref: ObjRef, oneOrMoreDisp
|
|
|
23270
23328
|
*/
|
|
23271
23329
|
export declare function unignoreFilterOnKpiWidget(ref: ObjRef, oneOrMoreDisplayForms: ObjRef | ObjRef[], correlationId?: string): ChangeKpiWidgetFilterSettings;
|
|
23272
23330
|
|
|
23331
|
+
/**
|
|
23332
|
+
* Creates the ChangeRichTextWidgetFilterSettings command for {@link FilterOpUnignoreAttributeFilter} operation.
|
|
23333
|
+
*
|
|
23334
|
+
* Dispatching this command will result in removal of one or more filters from Rich Text widget's attribute filter ignore-list.
|
|
23335
|
+
* Ignored attribute filters are not passed down to the metrics and will not be used to filter those metrics.
|
|
23336
|
+
*
|
|
23337
|
+
* The operation is idempotent - trying to unignore an attribute filter multiple times will have no effect.
|
|
23338
|
+
*
|
|
23339
|
+
* @param ref - reference of the rich text widget to modify
|
|
23340
|
+
* @param oneOrMoreDisplayForms - one or more refs of display forms used by attribute filters that should be removed from the ignore-list
|
|
23341
|
+
* @param correlationId - specify correlation id to use for this command. this will be included in all
|
|
23342
|
+
* events that will be emitted during the command processing
|
|
23343
|
+
*
|
|
23344
|
+
* @alpha
|
|
23345
|
+
*/
|
|
23346
|
+
export declare function unignoreFilterOnRichTextWidget(ref: ObjRef, oneOrMoreDisplayForms: ObjRef | ObjRef[], correlationId?: string): ChangeRichTextWidgetFilterSettings;
|
|
23347
|
+
|
|
23273
23348
|
/**
|
|
23274
23349
|
* Creates the ChangeVisualizationsFromVisualizationSwitcherWidgetContent command. Dispatching this command will result in the update of visualization
|
|
23275
23350
|
* which form part of the visualization switcher widget.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.8.0-alpha.
|
|
3
|
+
"version": "11.8.0-alpha.4",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"ts-invariant": "^0.7.5",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "^11.1.0",
|
|
63
|
-
"@gooddata/sdk-backend-
|
|
64
|
-
"@gooddata/sdk-
|
|
65
|
-
"@gooddata/sdk-
|
|
66
|
-
"@gooddata/sdk-ui": "11.8.0-alpha.
|
|
67
|
-
"@gooddata/sdk-ui-charts": "11.8.0-alpha.
|
|
68
|
-
"@gooddata/sdk-ui-ext": "11.8.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-filters": "11.8.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-geo": "11.8.0-alpha.
|
|
71
|
-
"@gooddata/sdk-ui-kit": "11.8.0-alpha.
|
|
72
|
-
"@gooddata/sdk-ui-pivot": "11.8.0-alpha.
|
|
73
|
-
"@gooddata/sdk-ui-theme-provider": "11.8.0-alpha.
|
|
74
|
-
"@gooddata/sdk-ui-vis-commons": "11.8.0-alpha.
|
|
75
|
-
"@gooddata/util": "11.8.0-alpha.
|
|
63
|
+
"@gooddata/sdk-backend-spi": "11.8.0-alpha.4",
|
|
64
|
+
"@gooddata/sdk-backend-base": "11.8.0-alpha.4",
|
|
65
|
+
"@gooddata/sdk-model": "11.8.0-alpha.4",
|
|
66
|
+
"@gooddata/sdk-ui": "11.8.0-alpha.4",
|
|
67
|
+
"@gooddata/sdk-ui-charts": "11.8.0-alpha.4",
|
|
68
|
+
"@gooddata/sdk-ui-ext": "11.8.0-alpha.4",
|
|
69
|
+
"@gooddata/sdk-ui-filters": "11.8.0-alpha.4",
|
|
70
|
+
"@gooddata/sdk-ui-geo": "11.8.0-alpha.4",
|
|
71
|
+
"@gooddata/sdk-ui-kit": "11.8.0-alpha.4",
|
|
72
|
+
"@gooddata/sdk-ui-pivot": "11.8.0-alpha.4",
|
|
73
|
+
"@gooddata/sdk-ui-theme-provider": "11.8.0-alpha.4",
|
|
74
|
+
"@gooddata/sdk-ui-vis-commons": "11.8.0-alpha.4",
|
|
75
|
+
"@gooddata/util": "11.8.0-alpha.4"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"typescript": "5.8.3",
|
|
119
119
|
"vitest": "3.2.4",
|
|
120
120
|
"vitest-dom": "0.1.1",
|
|
121
|
-
"@gooddata/
|
|
122
|
-
"@gooddata/
|
|
123
|
-
"@gooddata/
|
|
124
|
-
"@gooddata/
|
|
121
|
+
"@gooddata/i18n-toolkit": "11.8.0-alpha.4",
|
|
122
|
+
"@gooddata/eslint-config": "11.8.0-alpha.4",
|
|
123
|
+
"@gooddata/reference-workspace": "11.8.0-alpha.4",
|
|
124
|
+
"@gooddata/sdk-backend-mockingbird": "11.8.0-alpha.4"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
127
|
"react": "^18.0.0 || ^19.0.0",
|
package/styles/css/dashboard.css
CHANGED
|
@@ -1749,6 +1749,9 @@
|
|
|
1749
1749
|
border-top: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
|
1750
1750
|
border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
|
1751
1751
|
}
|
|
1752
|
+
.gd-notifications-channel-dialog-content-wrapper .gd-ui-kit-tabs {
|
|
1753
|
+
margin: 10px 0 20px;
|
|
1754
|
+
}
|
|
1752
1755
|
|
|
1753
1756
|
.gd-notification-channel-dialog-with-automation-filters {
|
|
1754
1757
|
display: flex;
|
|
@@ -1765,6 +1768,12 @@
|
|
|
1765
1768
|
}
|
|
1766
1769
|
}
|
|
1767
1770
|
|
|
1771
|
+
.gd-notification-channel-dialog-with-tabs .gd-schedule-dialog-tab-content {
|
|
1772
|
+
display: flex;
|
|
1773
|
+
flex-direction: column;
|
|
1774
|
+
flex: 1 1 auto;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1768
1777
|
.gd-divider-with-margin {
|
|
1769
1778
|
margin-top: 0;
|
|
1770
1779
|
margin-bottom: 20px;
|