@gooddata/sdk-ui-dashboard 9.10.0-alpha.9 → 10.0.0-alpha.2
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 +3 -6
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/locales.js +1 -1
- package/esm/locales.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.d.ts +5 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.js +25 -0
- package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.js.map +1 -0
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +18 -3
- package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.d.ts +9 -2
- package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
- package/esm/model/commandHandlers/render/renderingWorker.js +10 -3
- package/esm/model/commandHandlers/render/renderingWorker.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +33 -1
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +26 -0
- package/esm/model/commands/filters.js.map +1 -1
- package/esm/model/commands/index.d.ts +3 -3
- 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/render.d.ts +3 -3
- package/esm/model/commands/render.js +3 -3
- package/esm/model/index.d.ts +1 -1
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -0
- package/esm/model/index.js.map +1 -1
- package/esm/model/react/useDashboardAsyncRender.d.ts +3 -3
- package/esm/model/react/useDashboardAsyncRender.js +4 -4
- package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
- package/esm/model/react/useInitializeDashboardStore.js +11 -2
- package/esm/model/react/useInitializeDashboardStore.js.map +1 -1
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.d.ts +6 -0
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.d.ts.map +1 -1
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.js +6 -0
- package/esm/model/store/backendCapabilities/backendCapabilitiesSelectors.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +18 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +20 -0
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts +9 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +8 -0
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextSelectors.js +2 -1
- package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
- package/esm/model/store/filterContext/index.d.ts +4 -0
- package/esm/model/store/filterContext/index.d.ts.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/layout/layoutUtils.d.ts +2 -1
- package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
- package/esm/model/store/layout/layoutUtils.js +13 -0
- package/esm/model/store/layout/layoutUtils.js.map +1 -1
- package/esm/model/types/dateFilterTypes.d.ts +12 -3
- package/esm/model/types/dateFilterTypes.d.ts.map +1 -1
- package/esm/model/types/dateFilterTypes.js +11 -1
- package/esm/model/types/dateFilterTypes.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +8 -1
- package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +6 -3
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/AttributeFilterConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/AttributeFilterConfiguration.js +2 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/AttributeFilterConfiguration.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.d.ts +3 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.js +39 -7
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFilterConfigurationState.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts +4 -0
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +56 -5
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts +3 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js +14 -7
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.js +3 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/AddLimitingItemDialog.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.d.ts +8 -3
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.js +16 -11
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/DateFiltersPage.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.d.ts +2 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.js +3 -2
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/dialog/ParentFiltersPage.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 +0 -4
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/LimitingItem.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts +5 -5
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.js +75 -31
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts +17 -0
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +59 -0
- package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -0
- package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +8 -8
- package/esm/presentation/localization/bundles/en-US.json +3 -3
- package/esm/presentation/localization/bundles/es-ES.json +9 -9
- package/esm/presentation/localization/bundles/fr-FR.json +8 -8
- package/esm/presentation/localization/bundles/ja-JP.json +8 -8
- package/esm/presentation/localization/bundles/nl-NL.json +7 -7
- package/esm/presentation/localization/bundles/pt-BR.json +9 -9
- package/esm/presentation/localization/bundles/pt-PT.json +9 -9
- package/esm/presentation/localization/bundles/zh-Hans.json +9 -9
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +84 -10
- package/package.json +15 -15
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2024 GoodData Corporation
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { invariant } from "ts-invariant";
|
|
4
|
+
import { isIdentifierRef, areObjRefsEqual, isUriRef, } from "@gooddata/sdk-model";
|
|
4
5
|
import { useDashboardSelector, selectCatalogAttributes, selectAllCatalogDisplayFormsMap, selectCatalogMeasures, selectCatalogFacts, selectAllCatalogDateDatasetsMap, selectDateFilterConfigOverrides, selectDateFilterConfigsOverrides, } from "../../../../../../../model/index.js";
|
|
5
6
|
const findAttributeByLabel = (labelRef, labels, attributes) => {
|
|
6
7
|
const attributeRef = labels.get(labelRef)?.attribute;
|
|
@@ -65,17 +66,39 @@ const mapParentFilters = (parentFilters, validParentFilters, labels, attributes,
|
|
|
65
66
|
isDisabled,
|
|
66
67
|
};
|
|
67
68
|
});
|
|
68
|
-
export const useLimitingItems = (parentFilters, validParentFilters, validateElementsBy, metricsAndFacts) => {
|
|
69
|
+
export const useLimitingItems = (parentFilters, validParentFilters, validateElementsBy, metricsAndFacts, dependentDateFilters, availableDatasets, isEnabledKDAttributeFilterDatesValidation, isSelected, intl) => {
|
|
69
70
|
const attributes = useDashboardSelector(selectCatalogAttributes);
|
|
70
71
|
const labels = useDashboardSelector(selectAllCatalogDisplayFormsMap);
|
|
72
|
+
const dateDataSetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
|
|
73
|
+
const filterConfig = useDashboardSelector(selectDateFilterConfigOverrides);
|
|
74
|
+
const filterConfigByDimension = useDashboardSelector(selectDateFilterConfigsOverrides);
|
|
71
75
|
return useMemo(() => {
|
|
72
76
|
const selectedParentFilterItems = mapParentFilters(parentFilters, validParentFilters, labels, attributes, true);
|
|
73
77
|
const validationItems = validateElementsBy.map((item) => ({
|
|
74
78
|
title: findTitleForCatalogItem(item, metricsAndFacts, attributes),
|
|
75
79
|
item,
|
|
76
80
|
})) ?? [];
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
let dependentDateFilterItems = [];
|
|
82
|
+
if (isEnabledKDAttributeFilterDatesValidation) {
|
|
83
|
+
dependentDateFilterItems = mapDependentDateFilters(dateDataSetsMap, dependentDateFilters, availableDatasets, filterConfigByDimension, isSelected, intl, filterConfig);
|
|
84
|
+
}
|
|
85
|
+
return [...selectedParentFilterItems, ...validationItems, ...dependentDateFilterItems].sort(sortByTypeAndTitle);
|
|
86
|
+
}, [
|
|
87
|
+
parentFilters,
|
|
88
|
+
dateDataSetsMap,
|
|
89
|
+
validParentFilters,
|
|
90
|
+
validateElementsBy,
|
|
91
|
+
attributes,
|
|
92
|
+
labels,
|
|
93
|
+
metricsAndFacts,
|
|
94
|
+
isEnabledKDAttributeFilterDatesValidation,
|
|
95
|
+
dependentDateFilters,
|
|
96
|
+
filterConfigByDimension,
|
|
97
|
+
intl,
|
|
98
|
+
filterConfig,
|
|
99
|
+
availableDatasets,
|
|
100
|
+
isSelected,
|
|
101
|
+
]);
|
|
79
102
|
};
|
|
80
103
|
export const useSearchableLimitingItems = (currentlySelectedItems) => {
|
|
81
104
|
const attributes = useDashboardSelector(selectCatalogAttributes);
|
|
@@ -99,7 +122,7 @@ export const useSearchableLimitingItems = (currentlySelectedItems) => {
|
|
|
99
122
|
.sort(sortByTypeAndTitle);
|
|
100
123
|
}, [currentlySelectedItems, measures, facts, attributes]);
|
|
101
124
|
};
|
|
102
|
-
export const useFilterItems = (parentFilters, validParentFilters, dependentDateFilters, availableDatasets, isEnabledKDAttributeFilterDatesValidation, isSelected, intl) => {
|
|
125
|
+
export const useFilterItems = (parentFilters, validParentFilters, dependentDateFilters, availableDatasets, dependentCommonDateFilter, isEnabledKDAttributeFilterDatesValidation, isSelected, intl) => {
|
|
103
126
|
const labels = useDashboardSelector(selectAllCatalogDisplayFormsMap);
|
|
104
127
|
const attributes = useDashboardSelector(selectCatalogAttributes);
|
|
105
128
|
const dateDataSetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
|
|
@@ -109,7 +132,15 @@ export const useFilterItems = (parentFilters, validParentFilters, dependentDateF
|
|
|
109
132
|
let parentFilterItems = mapParentFilters(parentFilters, validParentFilters, labels, attributes, false).sort(sortByTypeAndTitle);
|
|
110
133
|
if (isEnabledKDAttributeFilterDatesValidation) {
|
|
111
134
|
const dependentDateFilterItems = mapDependentDateFilters(dateDataSetsMap, dependentDateFilters, availableDatasets, filterConfigByDimension, isSelected, intl, filterConfig);
|
|
112
|
-
|
|
135
|
+
const commonDateFilter = [
|
|
136
|
+
{
|
|
137
|
+
title: filterConfig?.filterName ?? intl.formatMessage({ id: "dateFilterDropdown.title" }),
|
|
138
|
+
item: parseCommonDateFilter(dependentCommonDateFilter),
|
|
139
|
+
isDisabled: false,
|
|
140
|
+
type: "commonDate",
|
|
141
|
+
},
|
|
142
|
+
];
|
|
143
|
+
parentFilterItems = [...parentFilterItems, ...dependentDateFilterItems, ...commonDateFilter];
|
|
113
144
|
}
|
|
114
145
|
return parentFilterItems;
|
|
115
146
|
}, [
|
|
@@ -130,17 +161,19 @@ export const useFilterItems = (parentFilters, validParentFilters, dependentDateF
|
|
|
130
161
|
const mapDependentDateFilters = (dateDataSetsMap, dependentDateFilters, availableDatasets, filterConfigByDimension, isSelected, intl, filterConfig) => dependentDateFilters
|
|
131
162
|
.filter((item) => item.isSelected === isSelected)
|
|
132
163
|
.map((item) => {
|
|
133
|
-
|
|
164
|
+
const dateDataSet = item.dataSet ? dateDataSetsMap.get(item.dataSet) : "";
|
|
165
|
+
const dataSetTitle = dateDataSet ? dateDataSet.dataSet.title : "";
|
|
166
|
+
const title = getDatasetTitle(item.dataSet, dataSetTitle, filterConfigByDimension, filterConfig);
|
|
167
|
+
if (item.isCommonDate) {
|
|
168
|
+
const dateFilterTitle = filterConfig?.filterName ?? intl.formatMessage({ id: "dateFilterDropdown.title" });
|
|
134
169
|
return {
|
|
135
|
-
title: intl.formatMessage({ id: "
|
|
170
|
+
title: intl.formatMessage({ id: "attributesDropdown.valuesLimiting.commonDateFilterTitle" }, { dateFilterTitle, dataSetTitle }),
|
|
136
171
|
item,
|
|
137
172
|
isDisabled: false,
|
|
138
173
|
type: "commonDate",
|
|
139
174
|
};
|
|
140
175
|
}
|
|
141
|
-
|
|
142
|
-
const dataSetTitle = dateDataSet ? dateDataSet.dataSet.title : "";
|
|
143
|
-
const title = getDatasetTitle(item.dataSet, dataSetTitle, filterConfigByDimension, intl, filterConfig);
|
|
176
|
+
// TODO: LX-160
|
|
144
177
|
const isDisabled = !availableDatasets.some((availableDataset) => areObjRefsEqual(availableDataset.dataSet.ref, item.dataSet));
|
|
145
178
|
return {
|
|
146
179
|
title,
|
|
@@ -148,28 +181,39 @@ const mapDependentDateFilters = (dateDataSetsMap, dependentDateFilters, availabl
|
|
|
148
181
|
isDisabled,
|
|
149
182
|
};
|
|
150
183
|
});
|
|
151
|
-
|
|
152
|
-
export const useDateFilterItemsWithDimensions = (dependentDateFilters, availableDatasets, isSelected, intl) => {
|
|
153
|
-
const dateDataSetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
|
|
154
|
-
const filterConfig = useDashboardSelector(selectDateFilterConfigOverrides);
|
|
155
|
-
const filterConfigByDimension = useDashboardSelector(selectDateFilterConfigsOverrides);
|
|
156
|
-
return useMemo(() => {
|
|
157
|
-
return mapDependentDateFilters(dateDataSetsMap, dependentDateFilters, availableDatasets, filterConfigByDimension, isSelected, intl, filterConfig);
|
|
158
|
-
}, [
|
|
159
|
-
dateDataSetsMap,
|
|
160
|
-
dependentDateFilters,
|
|
161
|
-
availableDatasets,
|
|
162
|
-
filterConfigByDimension,
|
|
163
|
-
isSelected,
|
|
164
|
-
filterConfig,
|
|
165
|
-
intl,
|
|
166
|
-
]);
|
|
167
|
-
};
|
|
168
|
-
const getDatasetTitle = (dateDataSet, defaultDateFilterTitle, filterConfigByDimension, intl, filterConfig) => {
|
|
184
|
+
const getDatasetTitle = (dateDataSet, defaultDateFilterTitle, filterConfigByDimension, filterConfig) => {
|
|
169
185
|
const usedConfig = dateDataSet
|
|
170
186
|
? filterConfigByDimension.find((config) => areObjRefsEqual(config.dateDataSet, dateDataSet))?.config
|
|
171
187
|
: filterConfig;
|
|
172
|
-
|
|
173
|
-
|
|
188
|
+
return !usedConfig || usedConfig?.filterName === "" ? defaultDateFilterTitle : usedConfig?.filterName;
|
|
189
|
+
};
|
|
190
|
+
export const useCommonDateItems = (availableDatasets, dependentCommonDateFilter, dependentDateFilters) => {
|
|
191
|
+
return useMemo(() => {
|
|
192
|
+
return availableDatasets
|
|
193
|
+
.filter((availableDataset) => !dependentDateFilters?.some((item) => areObjRefsEqual(availableDataset.dataSet.ref, item.dataSet) &&
|
|
194
|
+
!!item.isCommonDate))
|
|
195
|
+
.map((dateDataSet) => {
|
|
196
|
+
return {
|
|
197
|
+
title: dateDataSet.dataSet.title,
|
|
198
|
+
item: parseCommonDateFilter(dependentCommonDateFilter, dateDataSet.dataSet.ref),
|
|
199
|
+
// TODO: LX-160
|
|
200
|
+
isDisabled: false,
|
|
201
|
+
type: "commonDate",
|
|
202
|
+
};
|
|
203
|
+
});
|
|
204
|
+
}, [availableDatasets, dependentCommonDateFilter, dependentDateFilters]);
|
|
205
|
+
};
|
|
206
|
+
const parseCommonDateFilter = (commonDate, dataSet) => {
|
|
207
|
+
invariant(!isUriRef(dataSet));
|
|
208
|
+
return {
|
|
209
|
+
from: commonDate.dateFilter.from,
|
|
210
|
+
to: commonDate.dateFilter.to,
|
|
211
|
+
granularity: commonDate.dateFilter.granularity,
|
|
212
|
+
type: commonDate.dateFilter.type,
|
|
213
|
+
localIdentifier: dataSet?.identifier ?? "commonDate",
|
|
214
|
+
isSelected: true,
|
|
215
|
+
dataSet: dataSet,
|
|
216
|
+
isCommonDate: true,
|
|
217
|
+
};
|
|
174
218
|
};
|
|
175
219
|
//# sourceMappingURL=limitingItemsHook.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"limitingItemsHook.js","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"limitingItemsHook.js","sourceRoot":"","sources":["../../../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/shared/limitingItemsHook.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAGH,eAAe,EACf,eAAe,EAMf,QAAQ,GACX,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,+BAA+B,EAG/B,qBAAqB,EACrB,kBAAkB,EAElB,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,GACnC,MAAM,qCAAqC,CAAC;AAU7C,MAAM,oBAAoB,GAAG,CACzB,QAAgB,EAChB,MAAsD,EACtD,UAA+B,EACjC,EAAE;IACA,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrD,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC;AAClG,CAAC,CAAC;AAEF,MAAM,wBAAwB,GAAG,CAC7B,YAAiD,EACjD,MAAsD,EACtD,UAA+B,EACjC,EAAE,CACA,YAAY,CAAC,KAAK,IAA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AAO,CAAC;YAC3D,CAAC,CAAC,IAAI,CAAC,YAAY,CAC1B,CACR;aACA,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE;YACjB,OAAO;gBACH,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK;gBAChC,IAAI,EAAE,qBAAqB,CAAC,yBAAyB,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC;gBAC/E,eAAe;gBACf,UAAU,EAAE,KAAK;gBACjB,IAAI,EAAE,YAAY;aACrB,CAAC;QACN,CAAC,CAAC,CAAC;IACX,CAAC,EAAE,CAAC,iBAAiB,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAC1B,UAAgC,EAChC,OAAgB,EACa,EAAE;IAC/B,SAAS,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;IAE9B,OAAO;QACH,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;QAChC,EAAE,EAAE,UAAU,CAAC,UAAU,CAAC,EAAE;QAC5B,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,WAAW;QAC9C,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;QAChC,eAAe,EAAE,OAAO,EAAE,UAAU,IAAI,YAAY;QACpD,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE,OAAO;QAChB,YAAY,EAAE,IAAI;KACrB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IDashboardAttributeFilter } from "@gooddata/sdk-model";
|
|
2
|
+
import { IAttributeFilterBaseProps } from "@gooddata/sdk-ui-filters";
|
|
3
|
+
/**
|
|
4
|
+
* Result of the {@link useDependentDateFilters} hook, that can be used as dependent date filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter}.
|
|
5
|
+
*
|
|
6
|
+
* @beta
|
|
7
|
+
*/
|
|
8
|
+
export type UseParentFiltersResult = Pick<IAttributeFilterBaseProps, "dependentDateFilters">;
|
|
9
|
+
/**
|
|
10
|
+
* Returns depdent date filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter} for particular dashboard attribute filter.
|
|
11
|
+
*
|
|
12
|
+
* @param filter - dashboard filter to get the depdendent date filter-related data
|
|
13
|
+
*
|
|
14
|
+
* @beta
|
|
15
|
+
*/
|
|
16
|
+
export declare const useDependentDateFilters: (filter: IDashboardAttributeFilter) => UseParentFiltersResult;
|
|
17
|
+
//# sourceMappingURL=useDependentDateFilters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDependentDateFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useDependentDateFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAwC,MAAM,qBAAqB,CAAC;AAOtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,yBAAyB,EAAE,sBAAsB,CAAC,CAAC;AAE7F;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,WAAY,yBAAyB,KAAG,sBAuC3E,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { invariant } from "ts-invariant";
|
|
4
|
+
import { objRefToString } from "@gooddata/sdk-model";
|
|
5
|
+
import { selectFilterContextDateFilter, selectFilterContextDateFiltersWithDimension, useDashboardSelector, } from "../../../model/index.js";
|
|
6
|
+
/**
|
|
7
|
+
* Returns depdent date filtering input props for {@link @gooddata/sdk-ui-filters#AttributeFilter} for particular dashboard attribute filter.
|
|
8
|
+
*
|
|
9
|
+
* @param filter - dashboard filter to get the depdendent date filter-related data
|
|
10
|
+
*
|
|
11
|
+
* @beta
|
|
12
|
+
*/
|
|
13
|
+
export const useDependentDateFilters = (filter) => {
|
|
14
|
+
const allDateFilters = useDashboardSelector(selectFilterContextDateFiltersWithDimension);
|
|
15
|
+
const commonDateFilter = useDashboardSelector(selectFilterContextDateFilter);
|
|
16
|
+
const commonDateFilterWithAllTime = getCommonDateFilterWithAllTime(commonDateFilter);
|
|
17
|
+
const dependentDateFilters = useMemo(() => {
|
|
18
|
+
return filter.attributeFilter.filterElementsByDate?.map((dependentDateFilter) => {
|
|
19
|
+
if (dependentDateFilter.isCommonDate) {
|
|
20
|
+
const commonDashboardDateFilter = {
|
|
21
|
+
dateFilter: {
|
|
22
|
+
type: commonDateFilterWithAllTime?.dateFilter.type,
|
|
23
|
+
granularity: commonDateFilterWithAllTime?.dateFilter.granularity,
|
|
24
|
+
from: commonDateFilterWithAllTime?.dateFilter.from,
|
|
25
|
+
to: commonDateFilterWithAllTime?.dateFilter.from,
|
|
26
|
+
dataSet: {
|
|
27
|
+
identifier: dependentDateFilter.filterLocalIdentifier,
|
|
28
|
+
type: "dataSet",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
return commonDashboardDateFilter;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
const matchingFilter = allDateFilters.find((filter) => objRefToString(filter.dateFilter.dataSet) ===
|
|
36
|
+
dependentDateFilter.filterLocalIdentifier);
|
|
37
|
+
invariant(matchingFilter); // if this blows up, the state is inconsistent
|
|
38
|
+
return matchingFilter;
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}, [allDateFilters, commonDateFilterWithAllTime, filter.attributeFilter.filterElementsByDate]);
|
|
42
|
+
return {
|
|
43
|
+
dependentDateFilters,
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
const getCommonDateFilterWithAllTime = (commonDate) => {
|
|
47
|
+
if (commonDate) {
|
|
48
|
+
return commonDate;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
return {
|
|
52
|
+
dateFilter: {
|
|
53
|
+
granularity: "GDC.time.date",
|
|
54
|
+
type: "relative",
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=useDependentDateFilters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDependentDateFilters.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/attributeFilter/useDependentDateFilters.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAmD,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAEtG,OAAO,EACH,6BAA6B,EAC7B,2CAA2C,EAC3C,oBAAoB,GACvB,MAAM,yBAAyB,CAAC;AAUjC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAAiC,EAA0B,EAAE;IACjG,MAAM,cAAc,GAAG,oBAAoB,CAAC,2CAA2C,CAAC,CAAC;IACzF,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,6BAA6B,CAAC,CAAC;IAC7E,MAAM,2BAA2B,GAAG,8BAA8B,CAAC,gBAAgB,CAAC,CAAC;IAErF,MAAM,oBAAoB,GAAG,OAAO,CAAC,GAAG,EAAE;QACtC,OAAO,MAAM,CAAC,eAAe,CAAC,oBAAoB,EAAE,GAAG,CAAC,CAAC,mBAAmB,EAAE,EAAE;YAC5E,IAAI,mBAAmB,CAAC,YAAY,EAAE,CAAC;gBACnC,MAAM,yBAAyB,GAAyB;oBACpD,UAAU,EAAE;wBACR,IAAI,EAAE,2BAA2B,EAAE,UAAU,CAAC,IAAI;wBAClD,WAAW,EAAE,2BAA2B,EAAE,UAAU,CAAC,WAAW;wBAChE,IAAI,EAAE,2BAA2B,EAAE,UAAU,CAAC,IAAI;wBAClD,EAAE,EAAE,2BAA2B,EAAE,UAAU,CAAC,IAAI;wBAChD,OAAO,EAAE;4BACL,UAAU,EAAE,mBAAmB,CAAC,qBAAqB;4BACrD,IAAI,EAAE,SAAS;yBAClB;qBACJ;iBACJ,CAAC;gBAEF,OAAO,yBAAyB,CAAC;YACrC,CAAC;iBAAM,CAAC;gBACJ,MAAM,cAAc,GAAG,cAAc,CAAC,IAAI,CACtC,CAAC,MAAM,EAAE,EAAE,CACP,cAAc,CAAC,MAAM,CAAC,UAAU,CAAC,OAAQ,CAAC;oBAC1C,mBAAmB,CAAC,qBAAqB,CAChD,CAAC;gBAEF,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,8CAA8C;gBAEzE,OAAO,cAAc,CAAC;YAC1B,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,cAAc,EAAE,2BAA2B,EAAE,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAE/F,OAAO;QACH,oBAAoB;KACvB,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,8BAA8B,GAAG,CAAC,UAAiC,EAAwB,EAAE;IAC/F,IAAI,UAAU,EAAE,CAAC;QACb,OAAO,UAAU,CAAC;IACtB,CAAC;SAAM,CAAC;QACJ,OAAO;YACH,UAAU,EAAE;gBACR,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,UAAU;aACnB;SACJ,CAAC;IACN,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { invariant } from "ts-invariant";
|
|
4
4
|
import { dashboardAttributeFilterToAttributeFilter } from "../../../_staging/dashboard/dashboardFilterConverter.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"gs.list.cancel": "Abbrechen",
|
|
6
6
|
"gs.list.apply": "Übernehmen",
|
|
7
7
|
"gs.list.only": "Nur",
|
|
8
|
-
"messages.dashboardSaveSuccess": "
|
|
8
|
+
"messages.dashboardSaveSuccess": "Erfolgreich! Ihr Dashboard wurde gespeichert.",
|
|
9
9
|
"options.menu.save.as": "Als neu speichern",
|
|
10
10
|
"options.menu.save.as.tooltip": "Ein leeres Dashboard kann nicht gespeichert werden.",
|
|
11
11
|
"messages.dashboardSaveFailed": "Speichern des Dashboards fehlgeschlagen. Bitte versuchen Sie es noch einmal.",
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "Dashboard-Benutzer können den Filter sehen, ihn aber nicht ändern.",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "Ausgeblendet",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "Dashboard-Benutzer können den Filter nicht sehen, er ist jedoch angewendet.",
|
|
413
|
-
"filter.dependency.icon.tooltip": "
|
|
413
|
+
"filter.dependency.icon.tooltip": "Werte für <strong>{filterTitle}</strong> werden durch Auswahl in einem anderen Filter gefiltert.",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "Diese <strong>Hierarchie</strong> wird bereits für <strong>denselben</strong> Drilldown verwendet.",
|
|
415
415
|
"richText.formattingOptions": "Formatierungsoptionen",
|
|
416
416
|
"richText.deleteDialog.header": "Rich Text löschen?",
|
|
417
417
|
"richText.deleteDialog.message": "Der Rich Text und sein gesamter Inhalt werden unwiderruflich gelöscht.",
|
|
418
418
|
"richText.emptyContent": "Kein Rich-Text-Inhalt",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "Werte filtern nach",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "Begrenzen Sie die Filtermenü-Optionen, indem Sie einen Dashboard-Filter anwenden oder eine Metrik hinzufügen.",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "Hinzufügen",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "Metrik auswählen",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "Dashboard-Filter wählen",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "Hinzufügen",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "Sucht…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "Summe von {fact}",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "Anzahl von {attribute}",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "Es können keine weiteren Elemente hinzugefügt werden.",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "Unbekanntes Element",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "Kein passendes Element gefunden.",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.addFilterTitle": "Wählen Sie den Dashboard-Filter",
|
|
430
|
-
"attributesDropdown.valuesLimiting.addItemTitle": "Hinzufügen",
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "Es müssen keine weiteren Dashboard-Filter hinzugefügt werden.",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "Es können keine weiteren Dashboard-Filter hinzugefügt werden.",
|
|
432
432
|
"attributesDropdown.valuesLimiting.addFilters.title": "Dashboard-Filter",
|
|
433
433
|
"attributesDropdown.valuesLimiting.addFilters.description": "Verwenden Sie einen vorhandenen Dashboard-Filter, um irrelevante Werte auszublenden.",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "Metrik",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Verwenden Sie eine Metrik, um irrelevante Werte auszublenden. Es werden nur Werte mit Ergebnissen ungleich Null für die Metrik angezeigt. <a>
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Verwenden Sie eine Metrik, um irrelevante Werte auszublenden. Es werden nur Werte mit Ergebnissen ungleich Null für die Metrik angezeigt. <a>Mehr erfahren</a>"
|
|
436
436
|
}
|
|
@@ -2408,9 +2408,9 @@
|
|
|
2408
2408
|
"comment": "Description of section that describe the action user can choose. The action selects an existing dashboard filter to be used as a validation items to hide attribute filter elements. Do not translate <a> and </a> placeholders. They will be replaced with HTML tags in the runtime.",
|
|
2409
2409
|
"limit": 0
|
|
2410
2410
|
},
|
|
2411
|
-
"attributesDropdown.valuesLimiting.
|
|
2412
|
-
"value": "
|
|
2413
|
-
"comment": "Do not translate
|
|
2411
|
+
"attributesDropdown.valuesLimiting.commonDateFilterTitle": {
|
|
2412
|
+
"value": "{dateFilterTitle} as {dataSetTitle}",
|
|
2413
|
+
"comment": "Do not translate variables enclosed in {}.",
|
|
2414
2414
|
"limit": 0
|
|
2415
2415
|
},
|
|
2416
2416
|
"attributesDropdown.valuesLimiting.addDateTitle": {
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "Los usuarios del panel pueden ver el filtro, pero no cambiarlo.",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "Oculto",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "Los usuarios del panel no pueden ver el filtro, pero se aplica.",
|
|
413
|
-
"filter.dependency.icon.tooltip": "Los valores
|
|
413
|
+
"filter.dependency.icon.tooltip": "Los valores para <strong>{filterTitle}</strong> se filtran por la selección en otro filtro.",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "Esta <strong>jerarquía</strong> ya se usa para <strong>la misma</strong> exploración.",
|
|
415
415
|
"richText.formattingOptions": "Opciones de formato",
|
|
416
416
|
"richText.deleteDialog.header": "¿Eliminar texto enriquecido?",
|
|
417
417
|
"richText.deleteDialog.message": "El texto enriquecido y todo su contenido se eliminará de forma permanente.",
|
|
418
418
|
"richText.emptyContent": "Sin contenido de texto enriquecido",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "Filtrar valores por",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "Limite las opciones del menú de filtros aplicando un filtro del panel o añadiendo una métrica.",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "Agregar",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "Elija una métrica",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "Elija un filtro del panel",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "Agregar",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "Buscar…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "Suma de {fact}",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "Recuento de {attribute}",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "No más elementos que añadir",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "Elemento desconocido",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "No se ha encontrado ningún elemento coincidente.",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.
|
|
430
|
-
"attributesDropdown.valuesLimiting.
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "No más filtros de panel para agregar.",
|
|
432
|
-
"attributesDropdown.valuesLimiting.addFilters.title": "Filtro de panel",
|
|
433
|
-
"attributesDropdown.valuesLimiting.addFilters.description": "Utilice un filtro de panel existente para ocultar valores irrelevantes.",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "No más filtros del panel que añadir.",
|
|
432
|
+
"attributesDropdown.valuesLimiting.addFilters.title": "Filtro del panel",
|
|
433
|
+
"attributesDropdown.valuesLimiting.addFilters.description": "Use un filtro del panel existente para ocultar los valores irrelevantes.",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "Métrica",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Use una métrica para ocultar los valores irrelevantes. Solo se muestran los valores con resultados no nulos para la métrica. <a>Más información</a>"
|
|
436
436
|
}
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "Les utilisateurs du tableau de bord peuvent voir le filtre mais ne peuvent pas le modifier.",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "Masqué",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "Les utilisateurs du tableau de bord ne peuvent pas voir le filtre, mais il est appliqué.",
|
|
413
|
-
"filter.dependency.icon.tooltip": "Les valeurs
|
|
413
|
+
"filter.dependency.icon.tooltip": "Les valeurs de <strong>{filterTitle}</strong> sont filtrées par sélection dans un autre filtre.",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "Cette <strong>hiérarchie</strong> est déjà utilisée pour <strong>la même</strong> exploration descendante.",
|
|
415
415
|
"richText.formattingOptions": "Options de mise en forme",
|
|
416
416
|
"richText.deleteDialog.header": "Supprimer le texte enrichi ?",
|
|
417
417
|
"richText.deleteDialog.message": "Le texte enrichi et tout son contenu seront supprimés de manière irréversible.",
|
|
418
418
|
"richText.emptyContent": "Pas de texte enrichi",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "Filtrer les valeurs par",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "Limitez les options du menu de filtrage en appliquant un filtre de tableau de bord ou en ajoutant une métrique.",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "Ajouter",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "Choisir une métrique",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "Choisissez un filtre de tableau de bord",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "Ajouter",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "Rechercher…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "Somme de {fact}",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "Nombre de {attribute}",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "Il n'y a plus d'éléments à ajouter.",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "Élément inconnu",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "Aucun élément correspondant n'a été trouvé.",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.
|
|
430
|
-
"attributesDropdown.valuesLimiting.addItemTitle": "Ajouter",
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "Plus de filtres de tableau de bord à ajouter.",
|
|
432
|
-
"attributesDropdown.valuesLimiting.addFilters.title": "Filtre du tableau de bord",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "Plus de filtre de tableau de bord à ajouter.",
|
|
432
|
+
"attributesDropdown.valuesLimiting.addFilters.title": "Filtre de tableau de bord",
|
|
433
433
|
"attributesDropdown.valuesLimiting.addFilters.description": "Utilisez un filtre de tableau de bord existant pour masquer les valeurs non pertinentes.",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "Métrique",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Utilisez une métrique pour masquer les valeurs non pertinentes. Seules les valeurs
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Utilisez une métrique pour masquer les valeurs non pertinentes. Seules les valeurs dont les résultats ne sont pas nuls pour cette métrique s'affichent. <a>En savoir plus</a>"
|
|
436
436
|
}
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "ダッシュボードユーザーはフィルタが表示されますが、変更することはできません。",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "非表示",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "ダッシュボードユーザーにはフィルタが表示されませんが、フィルタは適用されます。",
|
|
413
|
-
"filter.dependency.icon.tooltip": "<strong>{filterTitle}</strong>
|
|
413
|
+
"filter.dependency.icon.tooltip": "<strong>{filterTitle}</strong> の値は、別のフィルタでの選択によってフィルタリングされます。",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "この<strong>階層</strong>は<strong>同じ</strong>ドリルダウンにすでに使用されています。",
|
|
415
415
|
"richText.formattingOptions": "書式設定オプション",
|
|
416
416
|
"richText.deleteDialog.header": "リッチテキストを削除しますか?",
|
|
417
417
|
"richText.deleteDialog.message": "リッチテキストとそのコンテンツはすべて元に戻せない状態で削除されます。",
|
|
418
418
|
"richText.emptyContent": "リッチテキストのコンテンツがありません",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "値を次によりフィルター:",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "ダッシュボードフィルタを適用するか、メトリックを追加して、フィルタメニューオプションを制限してください。",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "追加",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "メトリックを選択",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "ダッシュボードフィルタを選択してください",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "追加",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "検索…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "{fact} の合計",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "{attribute} のカウント",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "追加するアイテムがなくなりました。",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "不明なアイテム",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "一致するアイテムが見つかりませんでした。",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.addFilterTitle": "ダッシュボードフィルターを選択してください",
|
|
430
|
-
"attributesDropdown.valuesLimiting.addItemTitle": "追加",
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "ダッシュボード フィルターを追加する必要はありません。",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "追加するダッシュボードフィルタがなくなりました。",
|
|
432
432
|
"attributesDropdown.valuesLimiting.addFilters.title": "ダッシュボードフィルター",
|
|
433
|
-
"attributesDropdown.valuesLimiting.addFilters.description": "
|
|
433
|
+
"attributesDropdown.valuesLimiting.addFilters.description": "既存のダッシュボードフィルタを使用して、無関係な値を非表示にします。",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "メトリック",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "メトリックを使用して、無関係な値を非表示にします。メトリックの結果が null ではない値のみが表示されます。<a>詳細はこちら</a>"
|
|
436
436
|
}
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "Dashboard-gebruikers kunnen het filter zien maar niet wijzigen.",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "Verborgen",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "Dashboard-gebruikers kunnen het filter niet zien maar het wordt wel toegepast.",
|
|
413
|
-
"filter.dependency.icon.tooltip": "
|
|
413
|
+
"filter.dependency.icon.tooltip": "Waarden voor <strong>{filterTitle}</strong> worden gefilterd door selectie in een ander filter.",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "Deze <strong>hiërarchie</strong> wordt al gebruikt voor <strong>dezelfde</strong> zoom.",
|
|
415
415
|
"richText.formattingOptions": "Opmaakopties",
|
|
416
416
|
"richText.deleteDialog.header": "Tekst met opmaak verwijderen?",
|
|
417
417
|
"richText.deleteDialog.message": "De tekst met opmaak en alle inhoud wordt onomkeerbaar verwijderd.",
|
|
418
418
|
"richText.emptyContent": "Geen inhoud met tekst met opmaak",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "Waarden filteren op",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "Beperk de filtermenu-opties door een dashboardfilter toe te passen of een meetgegeven toe te voegen.",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "Toevoegen",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "Meetgegeven kiezen",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "Dashboardfilter kiezen",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "Toevoegen",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "Zoeken…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "Som van {fact}",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "Aantal van {attribute}",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "Geen items meer om toe te voegen.",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "Onbekend item",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "Geen overeenkomend item gevonden.",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.addFilterTitle": "Kies dashboardfilter",
|
|
430
|
-
"attributesDropdown.valuesLimiting.addItemTitle": "Toevoegen",
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "U hoeft geen dashboardfilters meer toe te voegen.",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "Geen dashboardfilters meer om toe te voegen.",
|
|
432
432
|
"attributesDropdown.valuesLimiting.addFilters.title": "Dashboardfilter",
|
|
433
433
|
"attributesDropdown.valuesLimiting.addFilters.description": "Gebruik een bestaand dashboardfilter om irrelevante waarden te verbergen.",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "Meetgegeven",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Gebruik een
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Gebruik een meetgegeven om irrelevante waarden te verbergen. Alleen waarden met niet-nulresultaten voor het meetgegeven worden weergegeven. <a>Meer info</a>"
|
|
436
436
|
}
|
|
@@ -410,27 +410,27 @@
|
|
|
410
410
|
"filter.configuration.mode.locked.tooltip": "Usuários do painel pode visualizar o filtro, mas não podem alterá-lo.",
|
|
411
411
|
"filter.configuration.mode.hidden.title": "Oculto",
|
|
412
412
|
"filter.configuration.mode.hidden.tooltip": "Usuários do painel não podem visualizar o filtro, mas ele está aplicado.",
|
|
413
|
-
"filter.dependency.icon.tooltip": "
|
|
413
|
+
"filter.dependency.icon.tooltip": "Valores para <strong>{filterTitle}</strong> são filtrados pela seleção em outro filtro.",
|
|
414
414
|
"configurationPanel.drillConfig.alreadyUsedTooltip": "Essa <strong>hierarquia</strong> já está sendo usada para <strong>o mesmo</strong> detalhamento aprofundado.",
|
|
415
415
|
"richText.formattingOptions": "Opções de formatação",
|
|
416
416
|
"richText.deleteDialog.header": "Excluir rich text?",
|
|
417
417
|
"richText.deleteDialog.message": "O rich text e todo o seu conteúdo serão excluídos, isso não pode ser desfeito.",
|
|
418
418
|
"richText.emptyContent": "Sem conteúdo de rich text",
|
|
419
419
|
"attributesDropdown.valuesLimiting.title": "Filtrar valores por",
|
|
420
|
-
"attributesDropdown.valuesLimiting.empty": "
|
|
420
|
+
"attributesDropdown.valuesLimiting.empty": "Limita as opções do menu de filtros aplicando um filtro de dashboard ou adicionando uma métrica.",
|
|
421
421
|
"attributesDropdown.valuesLimiting.addLink": "Adicionar",
|
|
422
|
+
"attributesDropdown.valuesLimiting.addMetricTitle": "Escolher métrica",
|
|
423
|
+
"attributesDropdown.valuesLimiting.addFilterTitle": "Escolher filtro de dashboard",
|
|
424
|
+
"attributesDropdown.valuesLimiting.addItemTitle": "Adicionar",
|
|
422
425
|
"attributesDropdown.valuesLimiting.searchPlaceholder": "Pesquisar…",
|
|
423
426
|
"attributesDropdown.valuesLimiting.sumFact": "Soma de {fact}",
|
|
424
427
|
"attributesDropdown.valuesLimiting.countAttribute": "Contagem de {attribute}",
|
|
425
428
|
"attributesDropdown.valuesLimiting.metricsEmpty": "Não há mais itens para adicionar.",
|
|
426
429
|
"attributesDropdown.valuesLimiting.unknownItem": "Item desconhecido",
|
|
427
430
|
"attributesDropdown.valuesLimiting.searchNoMatch": "Não encontramos itens correspondentes.",
|
|
428
|
-
"attributesDropdown.valuesLimiting.
|
|
429
|
-
"attributesDropdown.valuesLimiting.
|
|
430
|
-
"attributesDropdown.valuesLimiting.
|
|
431
|
-
"attributesDropdown.valuesLimiting.filtersEmpty": "Não há mais filtros de painel para adicionar.",
|
|
432
|
-
"attributesDropdown.valuesLimiting.addFilters.title": "Filtro do painel",
|
|
433
|
-
"attributesDropdown.valuesLimiting.addFilters.description": "Use um filtro de painel existente para ocultar valores irrelevantes.",
|
|
431
|
+
"attributesDropdown.valuesLimiting.filtersEmpty": "Não há filtros de dashboard para adicionar.",
|
|
432
|
+
"attributesDropdown.valuesLimiting.addFilters.title": "Filtro do dashboard",
|
|
433
|
+
"attributesDropdown.valuesLimiting.addFilters.description": "Usa um filtro de dashboard para ocultar valores irrelevantes.",
|
|
434
434
|
"attributesDropdown.valuesLimiting.addLimitingItem.title": "Métrica",
|
|
435
|
-
"attributesDropdown.valuesLimiting.addLimitingItem.description": "
|
|
435
|
+
"attributesDropdown.valuesLimiting.addLimitingItem.description": "Usa uma métrica para ocultar valores irrelevantes. Apenas valores com resultados não nulos para a métrica são mostrados. <a>Saiba mais</a>"
|
|
436
436
|
}
|