@gooddata/sdk-ui-dashboard 11.48.0-alpha.3 → 11.48.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +2 -2
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.d.ts +2 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.js +8 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +1 -0
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- 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 +4 -0
- 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/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/metaState.d.ts +1 -1
- package/esm/model/store/meta/metaState.d.ts.map +1 -1
- package/esm/model/types/commonTypes.d.ts +16 -2
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +2 -6
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts +40 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map +1 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.js +73 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +11 -46
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
- package/esm/presentation/dashboard/DashboardHeader/DashboardTabs.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/DashboardTabs.js +2 -2
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/SettingsDialogProvider.js +1 -0
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.js +12 -2
- package/esm/presentation/dashboardSettingsDialog/types.d.ts +1 -0
- package/esm/presentation/dashboardSettingsDialog/types.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/types.js +1 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.d.ts.map +1 -1
- package/esm/presentation/dashboardSettingsDialog/useDialogData.js +3 -1
- 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 +8 -0
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -2
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -2
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +7 -7
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -2
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +3 -3
- package/esm/presentation/topBar/title/EditableTitle.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +2 -2
- package/esm/sdk-ui-dashboard.d.ts +18 -2
- package/package.json +21 -21
- package/styles/css/alerting.css +0 -6
- package/styles/css/alerting.css.map +1 -1
- package/styles/css/main.css +5 -6
- package/styles/css/main.css.map +1 -1
- package/styles/css/topBar.css +5 -0
- package/styles/css/topBar.css.map +1 -1
- package/styles/scss/alerting.scss +0 -6
- package/styles/scss/topBar.scss +6 -0
|
@@ -9,6 +9,7 @@ import { getAppliedWidgetFilters, getVisibleFiltersByFilters, resolveMvfDimensio
|
|
|
9
9
|
import { convertCurrentUserToAutomationRecipient, convertCurrentUserToWorkspaceUser, convertExternalRecipientToAutomationRecipient, } from "../../../shared/utils/automationUtils.js";
|
|
10
10
|
import { createDefaultAlert } from "../utils/convertors.js";
|
|
11
11
|
import { transformAlertByAnomalyDetection, transformAlertByAttribute, transformAlertByComparisonOperator, transformAlertByDestination, transformAlertByGranularity, transformAlertByMetric, transformAlertByRelativeOperator, transformAlertBySensitivity, } from "../utils/transformation.js";
|
|
12
|
+
import { useAlertFilters } from "./useAlertFilters.js";
|
|
12
13
|
import { useAlertFormValidation } from "./useAlertFormValidation.js";
|
|
13
14
|
import { useAlertSelectedValues } from "./useAlertSelectedValues.js";
|
|
14
15
|
import { useAlertSupportedMetrics } from "./useAlertSupportedMetrics.js";
|
|
@@ -178,60 +179,24 @@ export function useEditAlert({ alertToEdit, notificationChannels, insight, widge
|
|
|
178
179
|
}
|
|
179
180
|
: undefined);
|
|
180
181
|
}, []);
|
|
181
|
-
const onFiltersChange =
|
|
182
|
-
setEditedAutomationFilters(filters);
|
|
183
|
-
setEditedAutomation((s) => {
|
|
184
|
-
if (!s) {
|
|
185
|
-
return undefined;
|
|
186
|
-
}
|
|
187
|
-
const appliedFilters = getAppliedWidgetFilters(filters, dashboardHiddenFilters, widget, insight, commonDateFilterId, true, !s.metadata?.widget);
|
|
188
|
-
const visibleFilters = getVisibleFiltersByFilters(filters, availableFiltersAsVisibleFilters, true);
|
|
189
|
-
const updatedAutomationWithFilters = {
|
|
190
|
-
...s,
|
|
191
|
-
alert: {
|
|
192
|
-
...s.alert,
|
|
193
|
-
execution: {
|
|
194
|
-
...s.alert.execution,
|
|
195
|
-
filters: appliedFilters,
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
metadata: {
|
|
199
|
-
...s.metadata,
|
|
200
|
-
visibleFilters,
|
|
201
|
-
},
|
|
202
|
-
};
|
|
203
|
-
const updatedAutomationWithAttribute = transformAlertByAttribute(supportedAttributes, updatedAutomationWithFilters, selectedAttribute, {
|
|
204
|
-
name: selectedValue ?? "",
|
|
205
|
-
title: "",
|
|
206
|
-
value: "",
|
|
207
|
-
});
|
|
208
|
-
return selectedMeasure
|
|
209
|
-
? transformAlertByMetric(supportedMeasures, updatedAutomationWithAttribute, selectedMeasure, measureFormatMap, weekStart, timezone)
|
|
210
|
-
: updatedAutomationWithAttribute;
|
|
211
|
-
});
|
|
212
|
-
}, [
|
|
213
|
-
setEditedAutomationFilters,
|
|
182
|
+
const { onFiltersChange, onApplyCurrentFilters } = useAlertFilters({
|
|
214
183
|
setEditedAutomation,
|
|
184
|
+
setEditedAutomationFilters,
|
|
185
|
+
filtersForNewAutomation,
|
|
215
186
|
availableFiltersAsVisibleFilters,
|
|
216
|
-
widget,
|
|
217
|
-
insight,
|
|
218
187
|
dashboardHiddenFilters,
|
|
219
188
|
commonDateFilterId,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
selectedValue,
|
|
223
|
-
supportedAttributes,
|
|
224
|
-
//
|
|
225
|
-
selectedMeasure,
|
|
189
|
+
widget,
|
|
190
|
+
insight,
|
|
226
191
|
supportedMeasures,
|
|
192
|
+
supportedAttributes,
|
|
227
193
|
measureFormatMap,
|
|
228
|
-
|
|
194
|
+
selectedMeasure,
|
|
195
|
+
selectedAttribute,
|
|
196
|
+
selectedValue,
|
|
229
197
|
weekStart,
|
|
230
198
|
timezone,
|
|
231
|
-
|
|
232
|
-
const onApplyCurrentFilters = useCallback(() => {
|
|
233
|
-
onFiltersChange(filtersForNewAutomation);
|
|
234
|
-
}, [filtersForNewAutomation, onFiltersChange]);
|
|
199
|
+
});
|
|
235
200
|
const { value, onChange, onBlur, thresholdErrorMessage } = useAlertThreshold({
|
|
236
201
|
setEditedAutomation,
|
|
237
202
|
editedAutomation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAQH,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAQH,kBAAkB,EAIrB,MAAM,sBAAsB,CAAC;AAS9B,UAAU,WAAW;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,EAAE,yBAAyB,CAAC;IACjC,aAAa,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,OAAO,kBAAkB,CAAC;IAChE,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IAChE,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAkBD,wBAAgB,KAAK,CAAC,EAClB,KAAK,EACL,QAAQ,EACR,MAAM,EACN,aAAa,EACb,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACpB,EAAE,WAAW,2CAgKb"}
|
package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback, useMemo } from "react";
|
|
|
4
4
|
import cx from "classnames";
|
|
5
5
|
import { defineMessages, useIntl } from "react-intl";
|
|
6
6
|
import { isInsightWidget } from "@gooddata/sdk-model";
|
|
7
|
-
import { Button, Dropdown, IconAlert, IconAlertPaused, IconEllipsis, IconWarning, SELECT_ITEM_ACTION, ShortenedText, UiListbox, bemFactory,
|
|
7
|
+
import { Button, Dropdown, IconAlert, IconAlertPaused, IconEllipsis, IconWarning, SELECT_ITEM_ACTION, ShortenedText, UiListbox, bemFactory, } from "@gooddata/sdk-ui-kit";
|
|
8
8
|
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
|
|
9
9
|
import { gdColorNegative, gdColorStateBlank } from "../../../../constants/colors.js";
|
|
10
10
|
import { useAlertingManagementDialogContext } from "../../../contexts/AlertingManagementDialogContext.js";
|
|
@@ -64,7 +64,7 @@ export function Alert({ alert, onDelete, onEdit, onTogglePause, focusedAction, i
|
|
|
64
64
|
stringTitle: formatMessage(isPaused ? labelMessages.resume : labelMessages.pause),
|
|
65
65
|
data: "pause",
|
|
66
66
|
},
|
|
67
|
-
|
|
67
|
+
{ type: "separator" },
|
|
68
68
|
deleteItem,
|
|
69
69
|
]
|
|
70
70
|
: [deleteItem];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardTabs.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/DashboardTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,YAAY,EAIpB,MAAM,OAAO,CAAC;AAMf,OAAO,
|
|
1
|
+
{"version":3,"file":"DashboardTabs.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/DashboardTabs.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,YAAY,EAIpB,MAAM,OAAO,CAAC;AAMf,OAAO,EAGH,KAAK,MAAM,EAWd,MAAM,sBAAsB,CAAC;AAmB9B,KAAK,eAAe,GAAG,MAAM,CAAC;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AA+FxD,wBAAgB,qBAAqB,IAAI,mBAAmB,CA4D3D;AAID,UAAU,mBAAmB;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,eAAe,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,CAAC,GAAG,EAAE,eAAe,KAAK,IAAI,CAAC;CACnD;AACD;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC1B,wBAAwB,EACxB,MAAM,EACN,eAAe,EACf,eAAe,EAClB,EAAE,mBAAmB,GAAG,YAAY,GAAG,IAAI,CA0E3C"}
|
|
@@ -4,7 +4,7 @@ import { useCallback, useMemo, useRef, } from "react";
|
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import { v4 as uuid } from "uuid";
|
|
6
6
|
import { usePropState } from "@gooddata/sdk-ui";
|
|
7
|
-
import { DefaultUiTabsTabValue, UiFocusManager, UiIcon, UiIconButton, UiTabs, UiTooltip, bemFactory,
|
|
7
|
+
import { DefaultUiTabsTabValue, UiFocusManager, UiIcon, UiIconButton, UiTabs, UiTooltip, bemFactory, useId, useScopedIdOptional, } from "@gooddata/sdk-ui-kit";
|
|
8
8
|
import { cancelRenamingDashboardTab, createDashboardTab, deleteDashboardTab, renameDashboardTab, repositionDashboardTab, startRenamingDashboardTab, switchDashboardTab, } from "../../../model/commands/tabs.js";
|
|
9
9
|
import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
10
10
|
import { selectIsAddTabButtonHidden } from "../../../model/store/config/configSelectors.js";
|
|
@@ -84,7 +84,7 @@ function buildTabActions(params, isOnlyOneTab) {
|
|
|
84
84
|
createRenameAction(params),
|
|
85
85
|
createMoveLeftAction(params),
|
|
86
86
|
createMoveRightAction(params),
|
|
87
|
-
|
|
87
|
+
{ type: "separator" },
|
|
88
88
|
createDeleteAction(params, isOnlyOneTab),
|
|
89
89
|
];
|
|
90
90
|
return actions.filter((x) => !!x);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsDialogProvider.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/SettingsDialogProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SettingsDialogProvider.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardHeader/SettingsDialogProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AA0DvD;;GAEG;AACH,wBAAgB,sBAAsB,IAAI,YAAY,GAAG,IAAI,CAwB5D"}
|
|
@@ -25,6 +25,7 @@ const useShareDialogDashboardHeader = () => {
|
|
|
25
25
|
dispatch(metaActions.setDisableUserFilterReset(payload.disableUserFilterReset));
|
|
26
26
|
dispatch(metaActions.setDisableFilterViews(payload.disableFilterViews));
|
|
27
27
|
dispatch(metaActions.setDisableUserFilterSave(payload.disableUserFilterSave));
|
|
28
|
+
dispatch(metaActions.setDisablePersistentFiltersAcrossTabs(payload.disablePersistentFiltersAcrossTabs));
|
|
28
29
|
dispatch(metaActions.setEvaluationFrequency(payload.evaluationFrequency));
|
|
29
30
|
dispatch(metaActions.setSectionHeadersDateDataSet(payload.sectionHeadersDateDataSet));
|
|
30
31
|
}, [closeSettingsDialog, dispatch]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultDashboardSettingsDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DefaultDashboardSettingsDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/DefaultDashboardSettingsDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAoD,MAAM,OAAO,CAAC;AAqC5F,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAGhE;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,EAC3C,SAAS,EACT,OAAO,EACP,QAAQ,EACX,EAAE,6BAA6B,GAAG,YAAY,GAAG,IAAI,CAiNrD"}
|
|
@@ -7,7 +7,7 @@ import { Bubble, BubbleHoverTrigger, ConfirmDialog, DialogListHeader, Dropdown,
|
|
|
7
7
|
import { queryDateDatasetsForInsight, } from "../../model/queries/insights.js";
|
|
8
8
|
import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
9
9
|
import { useDashboardQueryProcessing } from "../../model/react/useDashboardQueryProcessing.js";
|
|
10
|
-
import { selectDateFormat, selectEnableDashboardSectionHeadersDateDataSet, selectIsWhiteLabeled, selectLocale, selectSettings, selectWeekStart, } from "../../model/store/config/configSelectors.js";
|
|
10
|
+
import { selectDateFormat, selectEnableDashboardPersistentFiltersAcrossTabs, selectEnableDashboardSectionHeadersDateDataSet, selectIsWhiteLabeled, selectLocale, selectSettings, selectWeekStart, } from "../../model/store/config/configSelectors.js";
|
|
11
11
|
import { selectCrossFilteringEnabledAndSupported } from "../../model/store/topBar/topBarSelectors.js";
|
|
12
12
|
import { useDialogData } from "./useDialogData.js";
|
|
13
13
|
/**
|
|
@@ -24,6 +24,7 @@ export function DefaultDashboardSettingsDialog({ isVisible, onApply, onCancel /*
|
|
|
24
24
|
const settings = useDashboardSelector(selectSettings);
|
|
25
25
|
const isWhiteLabeled = useDashboardSelector(selectIsWhiteLabeled);
|
|
26
26
|
const enableDashboardSectionHeadersDateDataSet = useDashboardSelector(selectEnableDashboardSectionHeadersDateDataSet);
|
|
27
|
+
const enableDashboardPersistentFiltersAcrossTabs = useDashboardSelector(selectEnableDashboardPersistentFiltersAcrossTabs);
|
|
27
28
|
const { run: queryDateDatasets, result, status, } = useDashboardQueryProcessing({
|
|
28
29
|
queryCreator: queryDateDatasetsForInsight,
|
|
29
30
|
});
|
|
@@ -76,7 +77,16 @@ export function DefaultDashboardSettingsDialog({ isVisible, onApply, onCancel /*
|
|
|
76
77
|
...currentData,
|
|
77
78
|
disableUserFilterSave: newValue,
|
|
78
79
|
});
|
|
79
|
-
} }),
|
|
80
|
+
} }), enableDashboardPersistentFiltersAcrossTabs ? (_jsx(ConfigurationOption, { label: intl.formatMessage({
|
|
81
|
+
id: "filters.configurationPanel.persistentFiltersAcrossTabs.toggle",
|
|
82
|
+
}), tooltip: intl.formatMessage({
|
|
83
|
+
id: "filters.configurationPanel.persistentFiltersAcrossTabs.toggle.tooltip",
|
|
84
|
+
}), isChecked: !currentData.disablePersistentFiltersAcrossTabs, onChange: (newValue) => {
|
|
85
|
+
setCurrentData({
|
|
86
|
+
...currentData,
|
|
87
|
+
disablePersistentFiltersAcrossTabs: newValue,
|
|
88
|
+
});
|
|
89
|
+
} })) : null, enableDashboardSectionHeadersDateDataSet ? (_jsx(DateDatasetDropdown, { label: intl.formatMessage({
|
|
80
90
|
id: "settingsDashboardDialog.sectionHeaders.dateDataset",
|
|
81
91
|
}), tooltip: intl.formatMessage({
|
|
82
92
|
id: "settingsDashboardDialog.sectionHeaders.dateDataset.tooltip",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;IAChC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,yBAAyB,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;IAChC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,yBAAyB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,kCAAkC,EAAE,OAAO,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAE5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,CAAC,OAAO,EAAE,8BAA8B,KAAK,IAAI,CAAC;IAE3D;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;CACxB;AAMD;;GAEG;AACH,MAAM,MAAM,sCAAsC,GAAG,aAAa,CAAC,6BAA6B,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2026 GoodData Corporation
|
|
2
2
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDialogData.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/useDialogData.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useDialogData.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardSettingsDialog/useDialogData.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAEjE,wBAAgB,aAAa;;;;;EA4B5B"}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { isEqual } from "lodash-es";
|
|
4
4
|
import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
|
|
5
|
-
import { selectDisableDashboardCrossFiltering, selectDisableDashboardUserFilterReset, selectDisableDashboardUserFilterSave, selectDisableFilterViews, selectEvaluationFrequency, selectSectionHeadersDateDataSet, } from "../../model/store/meta/metaSelectors.js";
|
|
5
|
+
import { selectDisableDashboardCrossFiltering, selectDisableDashboardPersistentFiltersAcrossTabs, selectDisableDashboardUserFilterReset, selectDisableDashboardUserFilterSave, selectDisableFilterViews, selectEvaluationFrequency, selectSectionHeadersDateDataSet, } from "../../model/store/meta/metaSelectors.js";
|
|
6
6
|
export function useDialogData() {
|
|
7
7
|
const disableCrossFiltering = useDashboardSelector(selectDisableDashboardCrossFiltering) ?? false;
|
|
8
8
|
const disableUserFilterReset = useDashboardSelector(selectDisableDashboardUserFilterReset) ?? false;
|
|
9
9
|
const disableFilterViews = useDashboardSelector(selectDisableFilterViews) ?? false;
|
|
10
10
|
const disableUserFilterSave = useDashboardSelector(selectDisableDashboardUserFilterSave) ?? false;
|
|
11
|
+
const disablePersistentFiltersAcrossTabs = useDashboardSelector(selectDisableDashboardPersistentFiltersAcrossTabs) ?? false;
|
|
11
12
|
const evaluationFrequency = useDashboardSelector(selectEvaluationFrequency) ?? undefined;
|
|
12
13
|
const sectionHeadersDateDataSet = useDashboardSelector(selectSectionHeadersDateDataSet) ?? undefined;
|
|
13
14
|
const [currentData, setCurrentData] = useState({
|
|
@@ -15,6 +16,7 @@ export function useDialogData() {
|
|
|
15
16
|
disableUserFilterSave,
|
|
16
17
|
disableUserFilterReset,
|
|
17
18
|
disableFilterViews,
|
|
19
|
+
disablePersistentFiltersAcrossTabs,
|
|
18
20
|
evaluationFrequency,
|
|
19
21
|
sectionHeadersDateDataSet,
|
|
20
22
|
});
|
|
@@ -575,6 +575,14 @@ export declare const en_US: {
|
|
|
575
575
|
text: string;
|
|
576
576
|
crowdinContext: string;
|
|
577
577
|
};
|
|
578
|
+
"filters.configurationPanel.persistentFiltersAcrossTabs.toggle": {
|
|
579
|
+
text: string;
|
|
580
|
+
crowdinContext: string;
|
|
581
|
+
};
|
|
582
|
+
"filters.configurationPanel.persistentFiltersAcrossTabs.toggle.tooltip": {
|
|
583
|
+
text: string;
|
|
584
|
+
crowdinContext: string;
|
|
585
|
+
};
|
|
578
586
|
"settingsDashboardDialog.sectionHeaders.dateDataset": {
|
|
579
587
|
text: string;
|
|
580
588
|
crowdinContext: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA65GjB,CAAC"}
|
|
@@ -577,6 +577,14 @@ export const en_US = {
|
|
|
577
577
|
"text": "<p>Allows users to save filters state as a personal views they can return to later.</p><p>Only the user who saved the view can access it and set it as their default view.</p>",
|
|
578
578
|
"crowdinContext": "Tooltip explaining saved views functionality when hovering over the toggle"
|
|
579
579
|
},
|
|
580
|
+
"filters.configurationPanel.persistentFiltersAcrossTabs.toggle": {
|
|
581
|
+
"text": "Persistent filters across tabs",
|
|
582
|
+
"crowdinContext": "Label for toggle that enables or disables persistent filters across tabs"
|
|
583
|
+
},
|
|
584
|
+
"filters.configurationPanel.persistentFiltersAcrossTabs.toggle.tooltip": {
|
|
585
|
+
"text": "Allow persistent filters across tabs. When enabled, filters will be persistent across tabs.",
|
|
586
|
+
"crowdinContext": "Tooltip explaining persistent filters across tabs functionality when hovering over the toggle"
|
|
587
|
+
},
|
|
580
588
|
"settingsDashboardDialog.sectionHeaders.dateDataset": {
|
|
581
589
|
"text": "Date range in descriptions",
|
|
582
590
|
"crowdinContext": "Label for dropdown to select date dataset for section header Rich Text"
|
|
@@ -48,7 +48,7 @@ export const nl_NL = {
|
|
|
48
48
|
"options.menu.export.EXCEL": "Gegevens (.xlsx)",
|
|
49
49
|
"options.menu.export.partialResults.exportDisabled": "Kan niet exporteren, omdat de visualisatie de resultaatlimieten overschrijdt.",
|
|
50
50
|
"options.menu.export.partialResults.warning.dashboard": "Sommige visualisaties overschrijden de resultaatlimieten en worden niet opgenomen in de XLSX-export.",
|
|
51
|
-
"options.menu.export.presentation.PPTX": "
|
|
51
|
+
"options.menu.export.presentation.PPTX": "Diapresentatie (.pptx)",
|
|
52
52
|
"options.menu.export.presentation.PDF": "Slide Deck (.pdf)",
|
|
53
53
|
"options.menu.export.image.PNG": "Momentopname (.png)",
|
|
54
54
|
"options.menu.export.presentation.unsupported.oldWidget": "Kan niet exporteren. Sla het dashboard opnieuw op of neem contact op met uw beheerder.",
|
|
@@ -251,7 +251,7 @@ export const nl_NL = {
|
|
|
251
251
|
"scheduledEmail.attachmentFormat.widget.formattedXLSX": "Opgemaakte gegevens (.xlsx)",
|
|
252
252
|
"scheduledEmail.attachmentFormat.widget.formattedCSV": "Opgemaakte gegevens (.csv)",
|
|
253
253
|
"scheduledEmail.attachmentFormat.widget.rawCSV": "Ruwe gegevens (.csv)",
|
|
254
|
-
"scheduledEmail.attachmentFormat.dashboard.pptx": "
|
|
254
|
+
"scheduledEmail.attachmentFormat.dashboard.pptx": "Diapresentatie (.pptx)",
|
|
255
255
|
"scheduledEmail.attachmentFormat.dashboard.pdf": "Momentopname (.pdf)",
|
|
256
256
|
"scheduledEmail.attachmentFormat.dashboard.formattedXLSX": "Gegevens (.xlsx)",
|
|
257
257
|
"scheduledEmail.attachmentFormat.dashboard.pdfSlides": "Slide Deck (.pdf)",
|
|
@@ -826,7 +826,7 @@ export const pt_BR = {
|
|
|
826
826
|
"kdaDialog.dialog.keyDrives.button.trendUp": "Aumentar",
|
|
827
827
|
"kdaDialog.dialog.keyDrives.button.trendDown": "Diminuir",
|
|
828
828
|
"kdaDialog.dialog.keyDrives.button.trendAll": "Todos",
|
|
829
|
-
"kdaDialog.dialog.keyDrives.drivers": "{count} {count, plural, one {
|
|
829
|
+
"kdaDialog.dialog.keyDrives.drivers": "{count} {count, plural, one {fator} other {fatores}}",
|
|
830
830
|
"kdaDialog.dialog.keyDrives.overview.summary.home": "Início",
|
|
831
831
|
"kdaDialog.dialog.keyDrives.overview.summary.home.tooltip": "Ir para Resumo da análise",
|
|
832
832
|
"kdaDialog.dialog.keyDrives.overview.summary.breadcrumb.label": "Navegação da análise de fatores-chave",
|
|
@@ -840,7 +840,7 @@ export const pt_BR = {
|
|
|
840
840
|
"kdaDialog.dialog.keyDrives.overview.detail.title": "Mudança em {title} por {category}",
|
|
841
841
|
"kdaDialog.dialog.keyDrives.overview.detail.table.attribute": "Atributo",
|
|
842
842
|
"kdaDialog.dialog.keyDrives.overview.detail.table.driver": "Fator mais significativo",
|
|
843
|
-
"kdaDialog.dialog.keyDrives.overview.detail.table.drivers": "Nº de
|
|
843
|
+
"kdaDialog.dialog.keyDrives.overview.detail.table.drivers": "Nº de fatores",
|
|
844
844
|
"kdaDialog.dialog.bars.attribute.deleteLabel": "Remover filtro de atributo",
|
|
845
845
|
"kdaDialog.dialog.bars.date.period.title": "Comparação de períodos",
|
|
846
846
|
"kdaDialog.dialog.bars.date.period.samePeriodPreviousYear": "Mesmo período do ano anterior",
|
|
@@ -821,7 +821,7 @@ export const pt_PT = {
|
|
|
821
821
|
"kdaDialog.dialog.bars.filters.title": "Filtros",
|
|
822
822
|
"kdaDialog.dialog.bars.date.title": "Intervalo de datas: {title}",
|
|
823
823
|
"kdaDialog.dialog.bars.date.splitter": "Vs",
|
|
824
|
-
"kdaDialog.dialog.keyDrives.title": "
|
|
824
|
+
"kdaDialog.dialog.keyDrives.title": "Fatores-chave",
|
|
825
825
|
"kdaDialog.dialog.keyDrives.tooltip": "Lista dos principais fatores classificados por impacto",
|
|
826
826
|
"kdaDialog.dialog.keyDrives.button.trendUp": "Aumentar",
|
|
827
827
|
"kdaDialog.dialog.keyDrives.button.trendDown": "Diminuir",
|
|
@@ -806,15 +806,15 @@ export const ru_RU = {
|
|
|
806
806
|
"kdaDialog.dialog.closeLabel": "Закрыть анализ",
|
|
807
807
|
"kdaDialog.dialog.close": "Закрыть",
|
|
808
808
|
"kdaDialog.floatingStatus.step1": "Идет выбор ключевых атрибутов с помощью ИИ…",
|
|
809
|
-
"kdaDialog.floatingStatus.step2": "Выполняется вычисление ключевых
|
|
809
|
+
"kdaDialog.floatingStatus.step2": "Выполняется вычисление ключевых факторов…",
|
|
810
810
|
"kdaDialog.floatingStatus.done": "Анализ готов",
|
|
811
811
|
"kdaDialog.floatingStatus.done.opener": "Открыть",
|
|
812
812
|
"kdaDialog.floatingStatus.error": "Сбой анализа",
|
|
813
813
|
"kdaDialog.floatingStatus.error.opener": "Просмотр сведений",
|
|
814
814
|
"kdaDialog.floatingStatus.expand": "Развернуть в диалоговое окно",
|
|
815
815
|
"kdaDialog.floatingStatus.minimize": "Свернуть",
|
|
816
|
-
"kdaDialog.replaceConfirmation.headline": "Заменить текущий анализ ключевых
|
|
817
|
-
"kdaDialog.replaceConfirmation.message": "Анализ ключевых
|
|
816
|
+
"kdaDialog.replaceConfirmation.headline": "Заменить текущий анализ ключевых факторов?",
|
|
817
|
+
"kdaDialog.replaceConfirmation.message": "Анализ ключевых факторов уже выполняется или отображается. Запуск нового анализа приведет к удалению текущих результатов.",
|
|
818
818
|
"kdaDialog.replaceConfirmation.stay": "Остаться",
|
|
819
819
|
"kdaDialog.replaceConfirmation.runAnyway": "Все равно запустить",
|
|
820
820
|
"kdaDialog.dialog.bars.metric.title": "Метрика",
|
|
@@ -826,7 +826,7 @@ export const ru_RU = {
|
|
|
826
826
|
"kdaDialog.dialog.keyDrives.button.trendUp": "Увеличение",
|
|
827
827
|
"kdaDialog.dialog.keyDrives.button.trendDown": "Уменьшение",
|
|
828
828
|
"kdaDialog.dialog.keyDrives.button.trendAll": "Все",
|
|
829
|
-
"kdaDialog.dialog.keyDrives.drivers": "{count} {count, plural, one {
|
|
829
|
+
"kdaDialog.dialog.keyDrives.drivers": "{count} {count, plural, one {фактор} few {фактора} many {факторов} other {факторов}}",
|
|
830
830
|
"kdaDialog.dialog.keyDrives.overview.summary.home": "Главная",
|
|
831
831
|
"kdaDialog.dialog.keyDrives.overview.summary.home.tooltip": "Перейти к сводке анализа",
|
|
832
832
|
"kdaDialog.dialog.keyDrives.overview.summary.breadcrumb.label": "Навигация по анализу ключевых факторов",
|
|
@@ -840,15 +840,15 @@ export const ru_RU = {
|
|
|
840
840
|
"kdaDialog.dialog.keyDrives.overview.detail.title": "Изменение в {title} на {category}",
|
|
841
841
|
"kdaDialog.dialog.keyDrives.overview.detail.table.attribute": "Атрибут",
|
|
842
842
|
"kdaDialog.dialog.keyDrives.overview.detail.table.driver": "Наиболее значимый фактор",
|
|
843
|
-
"kdaDialog.dialog.keyDrives.overview.detail.table.drivers": "Количество
|
|
843
|
+
"kdaDialog.dialog.keyDrives.overview.detail.table.drivers": "Количество факторов",
|
|
844
844
|
"kdaDialog.dialog.bars.attribute.deleteLabel": "Удалить фильтр атрибута",
|
|
845
845
|
"kdaDialog.dialog.bars.date.period.title": "Сравнение периодов",
|
|
846
846
|
"kdaDialog.dialog.bars.date.period.samePeriodPreviousYear": "За тот же период предыдущего года",
|
|
847
847
|
"kdaDialog.dialog.bars.date.period.previousPeriod": "Предыдущий период",
|
|
848
848
|
"kdaDialog.dialog.keyDrives.empty": "Нет ключевых факторов",
|
|
849
849
|
"kdaDialog.dialog.keyDriver.chart.std": "Изменить порог значимости",
|
|
850
|
-
"kdaDialog.dialog.keyDrives.error.general.title": "Не удалось отобразить ключевые
|
|
851
|
-
"kdaDialog.dialog.keyDrives.error.general.description": "Не удалось вычислить ключевые
|
|
850
|
+
"kdaDialog.dialog.keyDrives.error.general.title": "Не удалось отобразить ключевые факторы",
|
|
851
|
+
"kdaDialog.dialog.keyDrives.error.general.description": "Не удалось вычислить ключевые факторы для этой метрики. Если проблема не устранится, обратитесь к администратору.",
|
|
852
852
|
"kdaDialog.dialog.keyDrives.error.traceId": "Идентификатор трассировки ошибки",
|
|
853
853
|
"kdaDialog.dialog.keyDrives.error.traceId.copy": "Копировать в буфер",
|
|
854
854
|
"kdaDialog.dialog.keyDrives.error.details.title": "Необработанное сообщение об ошибке",
|
|
@@ -826,7 +826,7 @@ export const tr_TR = {
|
|
|
826
826
|
"kdaDialog.dialog.keyDrives.button.trendUp": "Artır",
|
|
827
827
|
"kdaDialog.dialog.keyDrives.button.trendDown": "Azalt",
|
|
828
828
|
"kdaDialog.dialog.keyDrives.button.trendAll": "Tümü",
|
|
829
|
-
"kdaDialog.dialog.keyDrives.drivers": "{count} {count, plural, one {
|
|
829
|
+
"kdaDialog.dialog.keyDrives.drivers": "{count} {count, plural, one {etken} other {etkenler}}",
|
|
830
830
|
"kdaDialog.dialog.keyDrives.overview.summary.home": "Ana Sayfa",
|
|
831
831
|
"kdaDialog.dialog.keyDrives.overview.summary.home.tooltip": "Analiz özetine git",
|
|
832
832
|
"kdaDialog.dialog.keyDrives.overview.summary.breadcrumb.label": "Anahtar sürücü analizi gezintisi",
|
|
@@ -840,7 +840,7 @@ export const tr_TR = {
|
|
|
840
840
|
"kdaDialog.dialog.keyDrives.overview.detail.title": "{category} tarafından {title} değişikliği",
|
|
841
841
|
"kdaDialog.dialog.keyDrives.overview.detail.table.attribute": "Öznitelik",
|
|
842
842
|
"kdaDialog.dialog.keyDrives.overview.detail.table.driver": "En önemli etken",
|
|
843
|
-
"kdaDialog.dialog.keyDrives.overview.detail.table.drivers": "
|
|
843
|
+
"kdaDialog.dialog.keyDrives.overview.detail.table.drivers": "Etken sayısı",
|
|
844
844
|
"kdaDialog.dialog.bars.attribute.deleteLabel": "Öznitelik filtresini kaldır",
|
|
845
845
|
"kdaDialog.dialog.bars.date.period.title": "Dönem karşılaştırması",
|
|
846
846
|
"kdaDialog.dialog.bars.date.period.samePeriodPreviousYear": "Geçen yılın aynı dönemi",
|
|
@@ -644,9 +644,9 @@ export const zh_HK = {
|
|
|
644
644
|
"filters.filterViews.dropdown.buttonEmpty": "我嘅觀點",
|
|
645
645
|
"filters.filterViews.dropdown.button": "我嘅觀點({count} )",
|
|
646
646
|
"filters.filterViews.dropdown.title": "我保存嘅視圖",
|
|
647
|
-
"filters.filterViews.dropdown.setAsDefault": "
|
|
647
|
+
"filters.filterViews.dropdown.setAsDefault": "設為預設值",
|
|
648
648
|
"filters.filterViews.dropdown.setAsDefault.ariaLabel": "預設 {name} ",
|
|
649
|
-
"filters.filterViews.dropdown.unsetAsDefault": "
|
|
649
|
+
"filters.filterViews.dropdown.unsetAsDefault": "取消設為預設值",
|
|
650
650
|
"filters.filterViews.dropdown.unsetAsDefault.ariaLabel": "未設定 {name} 為預設",
|
|
651
651
|
"filters.filterViews.dropdown.isDefault": "(默認)",
|
|
652
652
|
"filters.filterViews.dropdown.tooltip": "<p>視圖是儲存的篩選器集,可讓您快速返抵特定的過濾器狀態。</p><p>如果把视圖設置為默認視圖,則每次打開儀錶板時,該視圖都將自動應用。</p>",
|
|
@@ -671,7 +671,7 @@ export const zh_HK = {
|
|
|
671
671
|
"filters.filterViews.add.title": "創建視圖",
|
|
672
672
|
"filters.filterViews.add.nameLabel": "名字",
|
|
673
673
|
"filters.filterViews.add.namePlaceholder": "無標題视圖",
|
|
674
|
-
"filters.filterViews.add.setAsDefaultLabel": "
|
|
674
|
+
"filters.filterViews.add.setAsDefaultLabel": "設為預設值",
|
|
675
675
|
"filters.filterViews.add.deleteTooltip": "刪除",
|
|
676
676
|
"filters.filterViews.add.deleteTooltip.ariaLabel": "刪去 {name}",
|
|
677
677
|
"filters.filterViews.add.hint": "所有當前嘅儀錶板過濾器都將包含在內。",
|
|
@@ -13,5 +13,5 @@ const placeholderMessage = defineMessage({ id: "untitled" });
|
|
|
13
13
|
export function EditableTitle({ title, onTitleChanged }) {
|
|
14
14
|
const intl = useIntl();
|
|
15
15
|
const dashboardTitle = useDashboardSelector(selectDashboardTitle);
|
|
16
|
-
return (_jsx(TitleWrapper, { children: _jsx(EditableLabel, { value: title, onSubmit: onTitleChanged, maxRows: 1, maxLength: DASHBOARD_TITLE_MAX_LENGTH, className: "s-gd-dashboard-title s-dash-title dash-title editable",
|
|
16
|
+
return (_jsx(TitleWrapper, { children: _jsx(EditableLabel, { value: title, onSubmit: onTitleChanged, maxRows: 1, maxLength: DASHBOARD_TITLE_MAX_LENGTH, className: "s-gd-dashboard-title s-dash-title dash-title editable", isEditableLabelWidthDynamic: true, autofocus: !dashboardTitle, placeholder: intl.formatMessage(placeholderMessage), children: title }) }));
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;AAaf,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACH,KAAK,0BAA0B,EAE/B,KAAK,mBAAmB,EAE3B,MAAM,gBAAgB,CAAC;AA6HxB,wBAAgB,wBAAwB,CAAC,EACrC,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACb,EAAE,0BAA0B,GAAG;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC;CAC1B,2CA4EA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,2CAcrE"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// (C) 2021-2026 GoodData Corporation
|
|
3
3
|
import { useMemo, useRef, useState, } from "react";
|
|
4
4
|
import { objRefToString, widgetRef } from "@gooddata/sdk-model";
|
|
5
|
-
import { UiFocusManager, UiMenu, getSelectedMenuId,
|
|
5
|
+
import { UiFocusManager, UiMenu, getSelectedMenuId, } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
|
|
7
7
|
import { selectRenderMode } from "../../../../../model/store/renderMode/renderModeSelectors.js";
|
|
8
8
|
import { isIInsightMenuSubmenu, } from "../../types.js";
|
|
@@ -28,7 +28,7 @@ function getWrappedSubmenuComponent(item, latestWidgetRef, submenuComponentCache
|
|
|
28
28
|
const convertToUiMenuItems = (items, latestWidgetRef, submenuComponentCache) => {
|
|
29
29
|
return items.map((item) => {
|
|
30
30
|
if (item.type === "separator") {
|
|
31
|
-
return
|
|
31
|
+
return { type: "separator", id: item.itemId };
|
|
32
32
|
}
|
|
33
33
|
if (item.type === "group") {
|
|
34
34
|
return {
|
|
@@ -2198,6 +2198,12 @@ export declare type DashboardConfig = {
|
|
|
2198
2198
|
* Settings may influence how the dashboard behaves or what features it exposes.
|
|
2199
2199
|
*/
|
|
2200
2200
|
settings?: ISettings;
|
|
2201
|
+
/**
|
|
2202
|
+
* The current user. When provided, the dashboard reuses it instead of loading the current
|
|
2203
|
+
* user from the backend on initialization - allowing an embedding application that has already
|
|
2204
|
+
* resolved the user to avoid a duplicate request.
|
|
2205
|
+
*/
|
|
2206
|
+
user?: IUser;
|
|
2201
2207
|
/**
|
|
2202
2208
|
* Date filter configuration.
|
|
2203
2209
|
*
|
|
@@ -2397,6 +2403,14 @@ export declare type DashboardConfig = {
|
|
|
2397
2403
|
* If set to false or not set, user filter reset will be enabled if the dashboard is configured to support it.
|
|
2398
2404
|
*/
|
|
2399
2405
|
disableUserFilterReset?: boolean;
|
|
2406
|
+
/**
|
|
2407
|
+
* Disable persisted filters
|
|
2408
|
+
*
|
|
2409
|
+
* @remarks
|
|
2410
|
+
* If set to true, persistent filters across tabs will be disabled even if the dashboard is configured to support it.
|
|
2411
|
+
* If set to false or not set, persisted filters will be enabled if the dashboard is configured to support it.
|
|
2412
|
+
*/
|
|
2413
|
+
disablePersistentFiltersAcrossTabs?: boolean;
|
|
2400
2414
|
/**
|
|
2401
2415
|
* Hide the add tab button in dashboard edit mode.
|
|
2402
2416
|
*
|
|
@@ -2653,7 +2667,7 @@ export declare type DashboardDensity = "comfortable" | "compact";
|
|
|
2653
2667
|
/**
|
|
2654
2668
|
* @public
|
|
2655
2669
|
*/
|
|
2656
|
-
export declare type DashboardDescriptor = Pick<IDashboard, "title" | "description" | "tags" | "disableCrossFiltering" | "disableUserFilterReset" | "disableUserFilterSave" | "disableFilterViews" | "evaluationFrequency" | "sectionHeadersDateDataSet"> & IAccessControlAware;
|
|
2670
|
+
export declare type DashboardDescriptor = Pick<IDashboard, "title" | "description" | "tags" | "disableCrossFiltering" | "disableUserFilterReset" | "disableUserFilterSave" | "disableFilterViews" | "disablePersistentFiltersAcrossTabs" | "evaluationFrequency" | "sectionHeadersDateDataSet"> & IAccessControlAware;
|
|
2657
2671
|
|
|
2658
2672
|
/**
|
|
2659
2673
|
* @public
|
|
@@ -11604,6 +11618,7 @@ export declare interface IDashboardSettingsApplyPayload {
|
|
|
11604
11618
|
disableFilterViews: boolean;
|
|
11605
11619
|
evaluationFrequency: string | undefined;
|
|
11606
11620
|
sectionHeadersDateDataSet: ObjRef | undefined;
|
|
11621
|
+
disablePersistentFiltersAcrossTabs: boolean;
|
|
11607
11622
|
}
|
|
11608
11623
|
|
|
11609
11624
|
/**
|
|
@@ -20198,6 +20213,7 @@ export declare const metaActions: {
|
|
|
20198
20213
|
}, "meta/setMeta">;
|
|
20199
20214
|
setDashboardTitle: ActionCreatorWithPayload<string, "meta/setDashboardTitle">;
|
|
20200
20215
|
setDisableCrossFiltering: ActionCreatorWithPayload<boolean, "meta/setDisableCrossFiltering">;
|
|
20216
|
+
setDisablePersistentFiltersAcrossTabs: ActionCreatorWithPayload<boolean, "meta/setDisablePersistentFiltersAcrossTabs">;
|
|
20201
20217
|
setDisableUserFilterReset: ActionCreatorWithPayload<boolean, "meta/setDisableUserFilterReset">;
|
|
20202
20218
|
setDisableUserFilterSave: ActionCreatorWithPayload<boolean, "meta/setDisableUserFilterSave">;
|
|
20203
20219
|
setDisableFilterViews: ActionCreatorWithPayload<boolean, "meta/setDisableFilterViews">;
|
|
@@ -22070,7 +22086,7 @@ export declare type ResolveAsyncRenderPayload = {
|
|
|
22070
22086
|
*
|
|
22071
22087
|
* @public
|
|
22072
22088
|
*/
|
|
22073
|
-
export declare type ResolvedDashboardConfig = Omit<Required<DashboardConfig>, "mapboxToken" | "agGridToken" | "maxZoomLevel" | "exportId" | "exportType" | "exportMetadata" | "focusObject" | "slideConfig" | "references" | "entitlements" | "initialContent" | "executionTimestamp" | "overrideDefaultFilters" | "overrideDefaultParameters" | "overrideTitle" | "hideWidgetTitles" | "workspaceDescriptor" | "evaluationFrequency" | "externalRecipient" | "openAutomationOnLoad" | "hideAddTabButton"> & DashboardConfig;
|
|
22089
|
+
export declare type ResolvedDashboardConfig = Omit<Required<DashboardConfig>, "mapboxToken" | "agGridToken" | "maxZoomLevel" | "exportId" | "exportType" | "exportMetadata" | "focusObject" | "slideConfig" | "references" | "entitlements" | "initialContent" | "executionTimestamp" | "user" | "overrideDefaultFilters" | "overrideDefaultParameters" | "overrideTitle" | "hideWidgetTitles" | "workspaceDescriptor" | "evaluationFrequency" | "externalRecipient" | "openAutomationOnLoad" | "hideAddTabButton"> & DashboardConfig;
|
|
22074
22090
|
|
|
22075
22091
|
/**
|
|
22076
22092
|
* @alpha
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.48.0-alpha.
|
|
3
|
+
"version": "11.48.0-alpha.5",
|
|
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.48.0-alpha.
|
|
64
|
-
"@gooddata/sdk-backend-spi": "11.48.0-alpha.
|
|
65
|
-
"@gooddata/sdk-
|
|
66
|
-
"@gooddata/sdk-
|
|
67
|
-
"@gooddata/sdk-ui
|
|
68
|
-
"@gooddata/sdk-ui-ext": "11.48.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-
|
|
70
|
-
"@gooddata/sdk-ui-
|
|
71
|
-
"@gooddata/sdk-ui-
|
|
72
|
-
"@gooddata/sdk-ui-
|
|
73
|
-
"@gooddata/sdk-ui-
|
|
74
|
-
"@gooddata/sdk-ui-
|
|
75
|
-
"@gooddata/
|
|
76
|
-
"@gooddata/
|
|
63
|
+
"@gooddata/sdk-backend-base": "11.48.0-alpha.5",
|
|
64
|
+
"@gooddata/sdk-backend-spi": "11.48.0-alpha.5",
|
|
65
|
+
"@gooddata/sdk-model": "11.48.0-alpha.5",
|
|
66
|
+
"@gooddata/sdk-ui-charts": "11.48.0-alpha.5",
|
|
67
|
+
"@gooddata/sdk-ui": "11.48.0-alpha.5",
|
|
68
|
+
"@gooddata/sdk-ui-ext": "11.48.0-alpha.5",
|
|
69
|
+
"@gooddata/sdk-ui-geo": "11.48.0-alpha.5",
|
|
70
|
+
"@gooddata/sdk-ui-filters": "11.48.0-alpha.5",
|
|
71
|
+
"@gooddata/sdk-ui-pivot": "11.48.0-alpha.5",
|
|
72
|
+
"@gooddata/sdk-ui-semantic-search": "11.48.0-alpha.5",
|
|
73
|
+
"@gooddata/sdk-ui-kit": "11.48.0-alpha.5",
|
|
74
|
+
"@gooddata/sdk-ui-theme-provider": "11.48.0-alpha.5",
|
|
75
|
+
"@gooddata/sdk-ui-vis-commons": "11.48.0-alpha.5",
|
|
76
|
+
"@gooddata/util": "11.48.0-alpha.5"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"typescript": "5.9.3",
|
|
120
120
|
"vitest": "4.1.8",
|
|
121
121
|
"vitest-dom": "0.1.1",
|
|
122
|
-
"@gooddata/
|
|
123
|
-
"@gooddata/
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/
|
|
126
|
-
"@gooddata/
|
|
127
|
-
"@gooddata/
|
|
122
|
+
"@gooddata/eslint-config": "11.48.0-alpha.5",
|
|
123
|
+
"@gooddata/i18n-toolkit": "11.48.0-alpha.5",
|
|
124
|
+
"@gooddata/oxlint-config": "11.48.0-alpha.5",
|
|
125
|
+
"@gooddata/reference-workspace": "11.48.0-alpha.5",
|
|
126
|
+
"@gooddata/sdk-backend-mockingbird": "11.48.0-alpha.5",
|
|
127
|
+
"@gooddata/stylelint-config": "11.48.0-alpha.5"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
130
|
"react": "^18.0.0 || ^19.0.0",
|