@gooddata/sdk-ui-analytical-designer 11.70.0-alpha.1 → 11.70.0-alpha.3
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 +48 -81
- package/esm/components/DeleteReportDialog.d.ts.map +1 -1
- package/esm/components/DeleteReportDialog.js +2 -4
- package/esm/components/DeleteReportDialogUsageList.d.ts.map +1 -1
- package/esm/components/DeleteReportDialogUsageList.js +2 -2
- package/esm/components/DeleteReportDialogUsageListItem.d.ts +2 -4
- package/esm/components/DeleteReportDialogUsageListItem.d.ts.map +1 -1
- package/esm/components/DeleteReportDialogUsageListItem.js +3 -3
- package/esm/components/InsightUsageOnDashboards.js +3 -3
- package/esm/components/buckets/MeasureDateFilterPicker.d.ts +0 -4
- package/esm/components/buckets/MeasureDateFilterPicker.d.ts.map +1 -1
- package/esm/components/buckets/MeasureDateFilterPicker.js +8 -3
- package/esm/components/buckets/MeasureDateFilterTitle.d.ts.map +1 -1
- package/esm/components/buckets/MeasureDateFilterTitle.js +5 -14
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateAttributes.d.ts +2 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateAttributes.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateAttributes.js +6 -2
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateFilters.d.ts +2 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateFilters.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/AdditionalDateFilters.js +2 -2
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/EmptyDateValuesFilter.d.ts +6 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/EmptyDateValuesFilter.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/AdditionalFiltersSection/EmptyDateValuesFilter.js +2 -2
- package/esm/components/filterBar/dateFilter/Buttons/applyButtonHook.d.ts +2 -2
- package/esm/components/filterBar/dateFilter/Buttons/applyButtonHook.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/Buttons/applyButtonHook.js +16 -8
- package/esm/components/filterBar/dateFilter/DateFilter.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/DateFilter.js +11 -3
- package/esm/components/filterBar/dateFilter/FilterButton/SelectedPresetName.d.ts +1 -1
- package/esm/components/filterBar/dateFilter/FilterButton/SelectedPresetName.d.ts.map +1 -1
- package/esm/components/filterBar/dateFilter/FilterButton/SelectedPresetName.js +10 -16
- package/esm/components/report/executionProgress/ExecutionProgressPanel.js +6 -4
- package/esm/components/report/executionProgress/ExecutionProgressSteps.d.ts +2 -1
- package/esm/components/report/executionProgress/ExecutionProgressSteps.d.ts.map +1 -1
- package/esm/components/report/executionProgress/ExecutionProgressSteps.js +10 -7
- package/esm/components/report/executionProgress/ExecutionStats.d.ts.map +1 -1
- package/esm/components/report/executionProgress/ExecutionStats.js +14 -13
- package/esm/components/report/executionProgress/timeline.d.ts +5 -1
- package/esm/components/report/executionProgress/timeline.d.ts.map +1 -1
- package/esm/components/report/executionProgress/timeline.js +19 -3
- package/esm/components/saveReportFromKD/DocumentItem.d.ts.map +1 -1
- package/esm/components/saveReportFromKD/DocumentItem.js +3 -3
- package/esm/components/saveReportFromKD/InsightUsageOnDashboardsList.js +1 -1
- package/esm/models/date_filter.d.ts +1 -5
- package/esm/models/date_filter.d.ts.map +1 -1
- package/esm/models/date_filter.js +2 -13
- package/esm/models/empty_date_values_title.d.ts +15 -0
- package/esm/models/empty_date_values_title.d.ts.map +1 -0
- package/esm/models/empty_date_values_title.js +25 -0
- package/esm/models/metadata.d.ts +12 -6
- package/esm/models/metadata.d.ts.map +1 -1
- package/esm/models/metadata.js +30 -17
- package/esm/postMessageApi/outgoing/control_filtering_events.d.ts +1 -0
- package/esm/postMessageApi/outgoing/control_filtering_events.d.ts.map +1 -1
- package/esm/postMessageApi/outgoing/control_filtering_events.js +5 -0
- package/esm/postMessageApi/sagas/api_token_origin_check.d.ts +23 -0
- package/esm/postMessageApi/sagas/api_token_origin_check.d.ts.map +1 -0
- package/esm/postMessageApi/sagas/api_token_origin_check.js +58 -0
- package/esm/postMessageApi/sagas/api_token_received_saga.d.ts +10 -2
- package/esm/postMessageApi/sagas/api_token_received_saga.d.ts.map +1 -1
- package/esm/postMessageApi/sagas/api_token_received_saga.js +19 -2
- package/esm/postMessageApi/sagas/command_received_saga.d.ts +0 -6
- package/esm/postMessageApi/sagas/command_received_saga.d.ts.map +1 -1
- package/esm/postMessageApi/sagas/command_received_saga.js +14 -3
- package/esm/postMessageApi/sagas/control_filtering_saga.d.ts.map +1 -1
- package/esm/postMessageApi/sagas/control_filtering_saga.js +7 -1
- package/esm/postMessageApi/sagas/incoming_command_sagas.d.ts +0 -3
- package/esm/postMessageApi/sagas/incoming_command_sagas.d.ts.map +1 -1
- package/esm/sagas/catalog/catalog_saga.d.ts +2 -3
- package/esm/sagas/catalog/catalog_saga.d.ts.map +1 -1
- package/esm/sagas/catalog/catalog_saga.js +26 -18
- package/esm/sagas/open_report_sagas.d.ts.map +1 -1
- package/esm/sagas/open_report_sagas.js +1 -3
- package/esm/sagas/sagas.d.ts +0 -3
- package/esm/sagas/sagas.d.ts.map +1 -1
- package/esm/selectors/feature_flag_selector.d.ts +23 -2
- package/esm/selectors/feature_flag_selector.d.ts.map +1 -1
- package/esm/selectors/feature_flag_selector.js +2 -0
- package/esm/selectors/report_visualization_selector.d.ts +4 -8
- package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
- package/esm/selectors/save_report_selector.d.ts +2 -0
- package/esm/selectors/save_report_selector.d.ts.map +1 -1
- package/esm/selectors/save_report_selector.js +8 -6
- package/esm/selectors/uri_selector.d.ts +6 -1
- package/esm/selectors/uri_selector.d.ts.map +1 -1
- package/esm/selectors/uri_selector.js +4 -1
- package/esm/store/catalog/catalog_reducer.d.ts +2 -1
- package/esm/store/catalog/catalog_reducer.d.ts.map +1 -1
- package/esm/store/catalog/catalog_reducer.js +3 -0
- package/esm/store/catalog/catalog_selector.d.ts +124 -0
- package/esm/store/catalog/catalog_selector.d.ts.map +1 -1
- package/esm/store/catalog/catalog_selector.js +6 -2
- package/esm/store/catalog/catalog_store_actions.d.ts +3 -4
- package/esm/store/catalog/catalog_store_actions.d.ts.map +1 -1
- package/esm/store/catalog/catalog_store_actions.js +1 -1
- package/esm/store/catalog/catalog_types.d.ts +2 -1
- package/esm/store/catalog/catalog_types.d.ts.map +1 -1
- package/esm/store/execution_progress/execution_loading_view_model.d.ts +4 -6
- package/esm/store/execution_progress/execution_loading_view_model.d.ts.map +1 -1
- package/esm/store/execution_progress/execution_loading_view_model.js +5 -9
- package/esm/store/insight_usage/insight_usage_helpers.d.ts +12 -6
- package/esm/store/insight_usage/insight_usage_helpers.d.ts.map +1 -1
- package/esm/store/insight_usage/insight_usage_helpers.js +10 -20
- package/esm/store/insight_usage/insight_usage_state.d.ts +4 -2
- package/esm/store/insight_usage/insight_usage_state.d.ts.map +1 -1
- package/esm/store/metric_editor/metric_editor_sagas.d.ts.map +1 -1
- package/esm/store/metric_editor/metric_editor_sagas.js +10 -2
- package/esm/store/report/open_report_operation.js +1 -1
- package/esm/translations/en-US.json +12 -0
- package/esm/utils/api.d.ts +3 -3
- package/esm/utils/api.d.ts.map +1 -1
- package/esm/utils/api.js +6 -6
- package/esm/utils/custom_mouse_backend.d.ts.map +1 -1
- package/esm/utils/custom_mouse_backend.js +9 -2
- package/esm/utils/sdkModelToADRep/FilterConverter.d.ts.map +1 -1
- package/esm/utils/sdkModelToADRep/FilterConverter.js +9 -2
- package/package.json +21 -21
|
@@ -151,6 +151,130 @@ export declare const getCatalogParameters: ((state: IAppState) => readonly impor
|
|
|
151
151
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
152
152
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
153
153
|
};
|
|
154
|
+
export declare const getCatalogDateRangeParameters: ((state: IAppState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) & {
|
|
155
|
+
clearCache: () => void;
|
|
156
|
+
resultsCount: () => number;
|
|
157
|
+
resetResultsCount: () => void;
|
|
158
|
+
} & {
|
|
159
|
+
resultFunc: (resultFuncArgs_0: ICatalogState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[];
|
|
160
|
+
memoizedResultFunc: ((resultFuncArgs_0: ICatalogState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) & {
|
|
161
|
+
clearCache: () => void;
|
|
162
|
+
resultsCount: () => number;
|
|
163
|
+
resetResultsCount: () => void;
|
|
164
|
+
};
|
|
165
|
+
lastResult: () => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[];
|
|
166
|
+
dependencies: [typeof getCatalogState];
|
|
167
|
+
recomputations: () => number;
|
|
168
|
+
resetRecomputations: () => void;
|
|
169
|
+
dependencyRecomputations: () => number;
|
|
170
|
+
resetDependencyRecomputations: () => void;
|
|
171
|
+
} & {
|
|
172
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
173
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
174
|
+
};
|
|
175
|
+
export declare const getCatalogDateRangeParameterByRef: (ref: ObjRef) => ((state: IAppState) => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined) & {
|
|
176
|
+
clearCache: () => void;
|
|
177
|
+
resultsCount: () => number;
|
|
178
|
+
resetResultsCount: () => void;
|
|
179
|
+
} & {
|
|
180
|
+
resultFunc: (resultFuncArgs_0: readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined;
|
|
181
|
+
memoizedResultFunc: ((resultFuncArgs_0: readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined) & {
|
|
182
|
+
clearCache: () => void;
|
|
183
|
+
resultsCount: () => number;
|
|
184
|
+
resetResultsCount: () => void;
|
|
185
|
+
};
|
|
186
|
+
lastResult: () => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined;
|
|
187
|
+
dependencies: [((state: IAppState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) & {
|
|
188
|
+
clearCache: () => void;
|
|
189
|
+
resultsCount: () => number;
|
|
190
|
+
resetResultsCount: () => void;
|
|
191
|
+
} & {
|
|
192
|
+
resultFunc: (resultFuncArgs_0: ICatalogState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[];
|
|
193
|
+
memoizedResultFunc: ((resultFuncArgs_0: ICatalogState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) & {
|
|
194
|
+
clearCache: () => void;
|
|
195
|
+
resultsCount: () => number;
|
|
196
|
+
resetResultsCount: () => void;
|
|
197
|
+
};
|
|
198
|
+
lastResult: () => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[];
|
|
199
|
+
dependencies: [typeof getCatalogState];
|
|
200
|
+
recomputations: () => number;
|
|
201
|
+
resetRecomputations: () => void;
|
|
202
|
+
dependencyRecomputations: () => number;
|
|
203
|
+
resetDependencyRecomputations: () => void;
|
|
204
|
+
} & {
|
|
205
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
206
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
207
|
+
}];
|
|
208
|
+
recomputations: () => number;
|
|
209
|
+
resetRecomputations: () => void;
|
|
210
|
+
dependencyRecomputations: () => number;
|
|
211
|
+
resetDependencyRecomputations: () => void;
|
|
212
|
+
} & {
|
|
213
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
214
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
215
|
+
};
|
|
216
|
+
/** Title of the date range parameter `ref` points to, with the id fallbacks of `getParameterTitle`. */
|
|
217
|
+
export declare const getCatalogDateRangeParameterTitle: (ref: ObjRef) => ((state: IAppState) => string) & {
|
|
218
|
+
clearCache: () => void;
|
|
219
|
+
resultsCount: () => number;
|
|
220
|
+
resetResultsCount: () => void;
|
|
221
|
+
} & {
|
|
222
|
+
resultFunc: (resultFuncArgs_0: import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined) => string;
|
|
223
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined) => string) & {
|
|
224
|
+
clearCache: () => void;
|
|
225
|
+
resultsCount: () => number;
|
|
226
|
+
resetResultsCount: () => void;
|
|
227
|
+
};
|
|
228
|
+
lastResult: () => string;
|
|
229
|
+
dependencies: [((state: IAppState) => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined) & {
|
|
230
|
+
clearCache: () => void;
|
|
231
|
+
resultsCount: () => number;
|
|
232
|
+
resetResultsCount: () => void;
|
|
233
|
+
} & {
|
|
234
|
+
resultFunc: (resultFuncArgs_0: readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined;
|
|
235
|
+
memoizedResultFunc: ((resultFuncArgs_0: readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined) & {
|
|
236
|
+
clearCache: () => void;
|
|
237
|
+
resultsCount: () => number;
|
|
238
|
+
resetResultsCount: () => void;
|
|
239
|
+
};
|
|
240
|
+
lastResult: () => import("@gooddata/sdk-model").IDateRangeParameterMetadataObject | undefined;
|
|
241
|
+
dependencies: [((state: IAppState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) & {
|
|
242
|
+
clearCache: () => void;
|
|
243
|
+
resultsCount: () => number;
|
|
244
|
+
resetResultsCount: () => void;
|
|
245
|
+
} & {
|
|
246
|
+
resultFunc: (resultFuncArgs_0: ICatalogState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[];
|
|
247
|
+
memoizedResultFunc: ((resultFuncArgs_0: ICatalogState) => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[]) & {
|
|
248
|
+
clearCache: () => void;
|
|
249
|
+
resultsCount: () => number;
|
|
250
|
+
resetResultsCount: () => void;
|
|
251
|
+
};
|
|
252
|
+
lastResult: () => readonly import("@gooddata/sdk-model").IDateRangeParameterMetadataObject[];
|
|
253
|
+
dependencies: [typeof getCatalogState];
|
|
254
|
+
recomputations: () => number;
|
|
255
|
+
resetRecomputations: () => void;
|
|
256
|
+
dependencyRecomputations: () => number;
|
|
257
|
+
resetDependencyRecomputations: () => void;
|
|
258
|
+
} & {
|
|
259
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
260
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
261
|
+
}];
|
|
262
|
+
recomputations: () => number;
|
|
263
|
+
resetRecomputations: () => void;
|
|
264
|
+
dependencyRecomputations: () => number;
|
|
265
|
+
resetDependencyRecomputations: () => void;
|
|
266
|
+
} & {
|
|
267
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
268
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
269
|
+
}];
|
|
270
|
+
recomputations: () => number;
|
|
271
|
+
resetRecomputations: () => void;
|
|
272
|
+
dependencyRecomputations: () => number;
|
|
273
|
+
resetDependencyRecomputations: () => void;
|
|
274
|
+
} & {
|
|
275
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
276
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
277
|
+
};
|
|
154
278
|
export declare const getCatalogItemById: (id: string) => ((state: IAppState) => CatalogItem | undefined) & {
|
|
155
279
|
clearCache: () => void;
|
|
156
280
|
resultsCount: () => number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog_selector.d.ts","sourceRoot":"","sources":["../../../src/store/catalog/catalog_selector.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,WAA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|
|
|
1
1
|
// (C) 2007-2026 GoodData Corporation
|
|
2
2
|
import { createSelector } from "reselect";
|
|
3
|
-
import { areObjRefsEqual, catalogItemMetadataObject, isCatalogAttribute, isCatalogComputedAttribute, isCatalogFact, isCatalogMeasure, isIdentifierRef, } from "@gooddata/sdk-model";
|
|
3
|
+
import { areObjRefsEqual, catalogItemMetadataObject, getParameterTitle, isCatalogAttribute, isCatalogComputedAttribute, isCatalogFact, isCatalogMeasure, isIdentifierRef, } from "@gooddata/sdk-model";
|
|
4
4
|
import { enableHLL, enableUnavailableItemsVisibility } from "../../selectors/feature_flag_selector.js";
|
|
5
5
|
import { getLocale } from "../../selectors/intl_selector.js";
|
|
6
6
|
import { DateDatasetsService } from "../../services/date_datasets_service.js";
|
|
7
7
|
import { getAvailableDateDatasets } from "../date_datasets/date_datasets_selectors.js";
|
|
8
|
-
import { catalogAttributeHierarchies, catalogDateHierarchies, catalogStateAvailableItemsUris, catalogStateFlags, catalogStateGroups, catalogStateItems, catalogStateParameters, catalogStateTooltipDetails, } from "./catalog_reducer.js";
|
|
8
|
+
import { catalogAttributeHierarchies, catalogDateHierarchies, catalogStateAvailableItemsUris, catalogStateDateRangeParameters, catalogStateFlags, catalogStateGroups, catalogStateItems, catalogStateParameters, catalogStateTooltipDetails, } from "./catalog_reducer.js";
|
|
9
9
|
const getCatalogState = (state) => state.data.catalog;
|
|
10
10
|
const getCatalogGroups = createSelector(getCatalogState, catalogStateGroups);
|
|
11
11
|
export const getSortedCatalogGroups = createSelector(getCatalogGroups, getLocale, (groups, locale) => {
|
|
@@ -19,6 +19,10 @@ export const getCatalogItems = createSelector(getCatalogState, catalogStateItems
|
|
|
19
19
|
export const getDateHierarchies = createSelector(getCatalogState, catalogDateHierarchies);
|
|
20
20
|
export const getAttributeHierarchies = createSelector(getCatalogState, catalogAttributeHierarchies);
|
|
21
21
|
export const getCatalogParameters = createSelector(getCatalogState, catalogStateParameters);
|
|
22
|
+
export const getCatalogDateRangeParameters = createSelector(getCatalogState, catalogStateDateRangeParameters);
|
|
23
|
+
export const getCatalogDateRangeParameterByRef = (ref) => createSelector(getCatalogDateRangeParameters, (parameters) => parameters.find((parameter) => areObjRefsEqual(parameter.ref, ref)));
|
|
24
|
+
/** Title of the date range parameter `ref` points to, with the id fallbacks of `getParameterTitle`. */
|
|
25
|
+
export const getCatalogDateRangeParameterTitle = (ref) => createSelector(getCatalogDateRangeParameterByRef(ref), (parameter) => getParameterTitle(ref, parameter));
|
|
22
26
|
export const getCatalogItemById = (id) => createSelector(getCatalogItems, (items) => items.find((item) => {
|
|
23
27
|
if (isCatalogAttribute(item)) {
|
|
24
28
|
return item.attribute.id === id || item.defaultDisplayForm.id === id;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type CatalogItem, type ICatalogAttributeHierarchy, type ICatalogDateAttributeHierarchy, type ICatalogGroup
|
|
1
|
+
import { type CatalogItem, type ICatalogAttributeHierarchy, type ICatalogDateAttributeHierarchy, type ICatalogGroup } from "@gooddata/sdk-model";
|
|
2
2
|
import { type IOrganizedCatalogTooltipDetails } from "../../typings/catalog.js";
|
|
3
|
+
import { type ICatalogState } from "./catalog_types.js";
|
|
3
4
|
export type CatalogAction = ISetCatalogItemsAction | ISetCatalogGroupsAction | ISetCatalogLoadingFlagAction | ISetCatalogItemsAvailabilityAction | ISetCatalogAvailabilityErrorFlagAction | ISetCatalogFirstLoadedFlagAction | ISetItemTooltipDetailsAction | ISetUpdatedItemsCountAction | IResetTooltipDetailsAction | ISetIsWorkspaceEmptyAction | IToggleUnavailableItemsVisibilityAction | ISetDateHierarchies | ISetAttributeHierarchies | ISetCatalogAttributeHierarchiesHasChanged | ISetCatalogParameters;
|
|
4
5
|
export declare enum CatalogActionTypeKeys {
|
|
5
6
|
STORE_SET_CATALOG_ITEMS = "STORE/SET_CATALOG_ITEMS",
|
|
@@ -86,8 +87,6 @@ export declare const setAttributeHierarchies: import("@reduxjs/toolkit").ActionC
|
|
|
86
87
|
attributeHierarchies: ICatalogAttributeHierarchy[];
|
|
87
88
|
}, CatalogActionTypeKeys.STORE_SET_ATTRIBUTE_HIERARCHIES, never, never>;
|
|
88
89
|
export type ISetAttributeHierarchies = ReturnType<typeof setAttributeHierarchies>;
|
|
89
|
-
export declare const setCatalogParameters: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[
|
|
90
|
-
parameters: readonly IScalarParameterMetadataObject[];
|
|
91
|
-
}, CatalogActionTypeKeys.STORE_SET_CATALOG_PARAMETERS, never, never>;
|
|
90
|
+
export declare const setCatalogParameters: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[lists: Pick<ICatalogState, "dateRangeParameters" | "parameters">], Pick<ICatalogState, "dateRangeParameters" | "parameters">, CatalogActionTypeKeys.STORE_SET_CATALOG_PARAMETERS, never, never>;
|
|
92
91
|
export type ISetCatalogParameters = ReturnType<typeof setCatalogParameters>;
|
|
93
92
|
//# sourceMappingURL=catalog_store_actions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog_store_actions.d.ts","sourceRoot":"","sources":["../../../src/store/catalog/catalog_store_actions.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"catalog_store_actions.d.ts","sourceRoot":"","sources":["../../../src/store/catalog/catalog_store_actions.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,aAAa,EACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAEhF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,MAAM,MAAM,aAAa,GACnB,sBAAsB,GACtB,uBAAuB,GACvB,4BAA4B,GAC5B,kCAAkC,GAClC,sCAAs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 -36,4 +36,4 @@ export const setIsWorkspaceEmpty = createAction(CatalogActionTypeKeys.STORE_SET_
|
|
|
36
36
|
export const toggleUnavailableItemsVisibility = createAction(CatalogActionTypeKeys.STORE_TOGGLE_UNAVAILABLE_ITEMS_VISIBILITY, (showUnavailableItems) => ({ payload: { showUnavailableItems } }));
|
|
37
37
|
export const setDateHierarchies = createAction(CatalogActionTypeKeys.STORE_SET_DATE_HIERARCHIES, (dateHierarchies) => ({ payload: { dateHierarchies } }));
|
|
38
38
|
export const setAttributeHierarchies = createAction(CatalogActionTypeKeys.STORE_SET_ATTRIBUTE_HIERARCHIES, (attributeHierarchies) => ({ payload: { attributeHierarchies } }));
|
|
39
|
-
export const setCatalogParameters = createAction(CatalogActionTypeKeys.STORE_SET_CATALOG_PARAMETERS, (
|
|
39
|
+
export const setCatalogParameters = createAction(CatalogActionTypeKeys.STORE_SET_CATALOG_PARAMETERS, (lists) => ({ payload: lists }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CatalogItem, type ICatalogAttributeHierarchy, type ICatalogDateAttributeHierarchy, type ICatalogGroup, type IScalarParameterMetadataObject } from "@gooddata/sdk-model";
|
|
1
|
+
import { type CatalogItem, type ICatalogAttributeHierarchy, type ICatalogDateAttributeHierarchy, type ICatalogGroup, type IDateRangeParameterMetadataObject, type IScalarParameterMetadataObject } from "@gooddata/sdk-model";
|
|
2
2
|
import { type IOrganizedCatalogTooltipDetails } from "../../typings/catalog.js";
|
|
3
3
|
export interface ICatalogState {
|
|
4
4
|
readonly items: ReadonlyArray<CatalogItem>;
|
|
@@ -22,5 +22,6 @@ export interface ICatalogState {
|
|
|
22
22
|
readonly dateHierarchies: ReadonlyArray<ICatalogDateAttributeHierarchy>;
|
|
23
23
|
readonly attributeHierarchies: ReadonlyArray<ICatalogAttributeHierarchy>;
|
|
24
24
|
readonly parameters: ReadonlyArray<IScalarParameterMetadataObject>;
|
|
25
|
+
readonly dateRangeParameters: ReadonlyArray<IDateRangeParameterMetadataObject>;
|
|
25
26
|
}
|
|
26
27
|
//# sourceMappingURL=catalog_types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog_types.d.ts","sourceRoot":"","sources":["../../../src/store/catalog/catalog_types.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,aAAa,EAClB,KAAK,8BAA8B,EACtC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAEhF,MAAM,WAAW,aAAa;IAC1B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAC3C,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC1D,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE;QACZ,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;QAChC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;QACtC,kEAAkE;QAClE,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;QACpC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;QAC9B,QAAQ,CAAC,2BAA2B,EAAE,OAAO,CAAC;KACjD,CAAC;IACF,cAAc,EAAE;QACZ,CAAC,cAAc,EAAE,MAAM,GAAG,+BAA+B,CAAC;KAC7D,CAAC;IACF,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,eAAe,EAAE,aAAa,CAAC,8BAA8B,CAAC,CAAC;IACxE,QAAQ,CAAC,oBAAoB,EAAE,aAAa,CAAC,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,EAAE,aAAa,CAAC,0BAA0B,CAAC,CAAC;IACzE,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,8BAA8B,CAAC,CAAC;IACnE,QAAQ,CAAC,mBAAmB,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;CAClF"}
|
|
@@ -38,17 +38,15 @@ export interface IExecutionLoadingViewModel {
|
|
|
38
38
|
* never flashes the steps.
|
|
39
39
|
*/
|
|
40
40
|
export declare function buildExecutionLoadingViewModel(progress: IExecutionProgressViewModel): IExecutionLoadingViewModel;
|
|
41
|
-
/** "100ms" under a second, whole seconds rounded down from it ("7s"), as in the design */
|
|
42
|
-
export declare function formatStepDuration(ms: number): string;
|
|
43
41
|
/**
|
|
44
|
-
* The duration a sub-step (or a federated source) shows: a finished one always its duration; a
|
|
45
|
-
* running one a live
|
|
42
|
+
* The duration in ms a sub-step (or a federated source) shows: a finished one always its duration; a
|
|
43
|
+
* running one a live timer from 1 s on, nothing before. The view formats it with the locale.
|
|
46
44
|
*/
|
|
47
|
-
export declare function
|
|
45
|
+
export declare function loadingStepDurationMs(step: {
|
|
48
46
|
startedAt?: number;
|
|
49
47
|
finishedAt?: number;
|
|
50
48
|
state: ExecutionProgressStepState;
|
|
51
|
-
}, serverNow: number):
|
|
49
|
+
}, serverNow: number): number | undefined;
|
|
52
50
|
/** consecutive steps appear at least this far apart, even when their events arrive together */
|
|
53
51
|
export declare const STEP_REVEAL_GAP_MS = 350;
|
|
54
52
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution_loading_view_model.d.ts","sourceRoot":"","sources":["../../../src/store/execution_progress/execution_loading_view_model.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EAEtC,KAAK,2BAA2B,EACnC,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhF,MAAM,WAAW,8BAA8B;IAC3C,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,EAAE,0BAA0B,CAAC;IAClC,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,iCAAiC,EAAE,CAAC;IAC9C,+DAA+D;IAC/D,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,OAAO,CAAC;AAEvD,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,KAAK,EAAE,8BAA8B,EAAE,CAAC;CAC3C;AAID;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC1C,QAAQ,EAAE,2BAA2B,GACtC,0BAA0B,CAyF5B;AAED
|
|
1
|
+
{"version":3,"file":"execution_loading_view_model.d.ts","sourceRoot":"","sources":["../../../src/store/execution_progress/execution_loading_view_model.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EAEtC,KAAK,2BAA2B,EACnC,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhF,MAAM,WAAW,8BAA8B;IAC3C,IAAI,EAAE,wBAAwB,CAAC;IAC/B,KAAK,EAAE,0BAA0B,CAAC;IAClC,kBAAkB;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MA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LoadingViewModel(progress) {
|
|
|
81
81
|
steps: steps.filter((loadingStep) => loadingStep.state !== "pending" && loadingStep.kind !== "render"),
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
/** "100ms" under a second, whole seconds rounded down from it ("7s"), as in the design */
|
|
85
|
-
export function formatStepDuration(ms) {
|
|
86
|
-
return ms < 1000 ? `${Math.max(0, Math.round(ms))}ms` : `${Math.floor(ms / 1000)}s`;
|
|
87
|
-
}
|
|
88
84
|
/**
|
|
89
|
-
* The duration a sub-step (or a federated source) shows: a finished one always its duration; a
|
|
90
|
-
* running one a live
|
|
85
|
+
* The duration in ms a sub-step (or a federated source) shows: a finished one always its duration; a
|
|
86
|
+
* running one a live timer from 1 s on, nothing before. The view formats it with the locale.
|
|
91
87
|
*/
|
|
92
|
-
export function
|
|
88
|
+
export function loadingStepDurationMs(step, serverNow) {
|
|
93
89
|
if (step.startedAt === undefined || step.state === "pending") {
|
|
94
90
|
return undefined;
|
|
95
91
|
}
|
|
96
92
|
if (step.finishedAt !== undefined) {
|
|
97
|
-
return
|
|
93
|
+
return step.finishedAt - step.startedAt;
|
|
98
94
|
}
|
|
99
95
|
const runningMs = serverNow - step.startedAt;
|
|
100
|
-
return runningMs >= 1000 ?
|
|
96
|
+
return runningMs >= 1000 ? runningMs : undefined;
|
|
101
97
|
}
|
|
102
98
|
/** consecutive steps appear at least this far apart, even when their events arrive together */
|
|
103
99
|
export const STEP_REVEAL_GAP_MS = 350;
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { type IPublisherDocumentSummaryV2 } from "@gooddata/sdk-backend-spi";
|
|
2
|
-
import { type IListedDashboard, type IMetadataObject, type IWorkspacePermissions } from "@gooddata/sdk-model";
|
|
2
|
+
import { type IListedDashboard, type IMetadataObject, type IWorkspacePermissions, type ObjectType } from "@gooddata/sdk-model";
|
|
3
3
|
import { type IInsightUsageInDocuments, type IInsightUsageOnDashboard, type IInsightUsageOnDashboardItem } from "./insight_usage_state.js";
|
|
4
4
|
export declare const sortDashboards: (dashboards: IInsightUsageOnDashboardItem[], sourceDashboardId: string) => IInsightUsageOnDashboardItem[];
|
|
5
5
|
export declare const getInsightUsageOnDashboards: (referencedDashboards: IMetadataObject[], allUserDashboards: IListedDashboard[]) => IInsightUsageOnDashboard;
|
|
6
6
|
export declare const canSeeAllDocuments: (permissions: IWorkspacePermissions | null) => boolean;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
* The ids of the documents the user may open. The backend returns only the documents the user may see.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getAccessibleDocumentIds: (documents: IPublisherDocumentSummaryV2[]) => string[];
|
|
11
|
+
export declare const isDocument: ({ type }: {
|
|
12
|
+
type: ObjectType;
|
|
13
|
+
}) => boolean;
|
|
14
|
+
export declare const isTemplate: ({ type }: {
|
|
15
|
+
type: ObjectType;
|
|
16
|
+
}) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Every user sees every template, so only documents can be hidden from the user.
|
|
11
19
|
*/
|
|
12
|
-
export declare const isDocumentShown: (document: Pick<IPublisherDocumentSummaryV2, "isLocked" | "createdBy">, userLogin: string | undefined, permissions: IWorkspacePermissions | null) => boolean;
|
|
13
|
-
export declare const getAccessibleDocumentIds: (documents: IPublisherDocumentSummaryV2[], userLogin: string | undefined, permissions: IWorkspacePermissions | null) => string[];
|
|
14
20
|
export declare const getInsightUsageInDocuments: (referencedDocuments: IMetadataObject[], accessibleDocumentIds: string[]) => IInsightUsageInDocuments;
|
|
15
21
|
export declare const EMPTY_INSIGHT_USAGE_ON_DASHBOARDS: IInsightUsageOnDashboard;
|
|
16
22
|
export declare const EMPTY_INSIGHT_USAGE_IN_DOCUMENTS: IInsightUsageInDocuments;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insight_usage_helpers.d.ts","sourceRoot":"","sources":["../../../src/store/insight_usage/insight_usage_helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"insight_usage_helpers.d.ts","sourceRoot":"","sources":["../../../src/store/insight_usage/insight_usage_helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EAElB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACpC,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,cAAc,eAAgB,4BAA4B,EAAE,qBAAqB,MAAM,mCAO9F,CAAC;AAQP,eAAO,MAAM,2BAA2B,yBACd,eAAe,EAAE,qBACpB,gBAAgB,EAAE,KACtC,wBAeF,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,qBAAqB,GAAG,IAAI,KAAG,OAC9B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,wBAAwB,cAAe,2BAA2B,EAAE,KAAG,MAAM,EAC7B,CAAC;AAI9D,eAAO,MAAM,UAAU,aAAc;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,KAAG,OAA8B,CAAC;AAE3F,eAAO,MAAM,UAAU,aAAc;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,KAAG,OAAuC,CAAC;AAEpG;;GAEG;AACH,eAAO,MAAM,0BAA0B,wBACd,eAAe,EAAE,yBACf,MAAM,EAAE,KAChC,wBASF,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,wBAK/C,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,wBAI9C,CAAC"}
|
|
@@ -24,29 +24,19 @@ export const getInsightUsageOnDashboards = (referencedDashboards, allUserDashboa
|
|
|
24
24
|
};
|
|
25
25
|
export const canSeeAllDocuments = (permissions) => !permissions || permissions.canCreateDocument;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
* The ids of the documents the user may open. The backend returns only the documents the user may see.
|
|
28
|
+
*/
|
|
29
|
+
export const getAccessibleDocumentIds = (documents) => documents.map((document) => objRefToString(document.ref));
|
|
30
|
+
const templateTypes = ["documentTemplate", "pageTemplate"];
|
|
31
|
+
export const isDocument = ({ type }) => type === "document";
|
|
32
|
+
export const isTemplate = ({ type }) => templateTypes.includes(type);
|
|
33
|
+
/**
|
|
34
|
+
* Every user sees every template, so only documents can be hidden from the user.
|
|
30
35
|
*/
|
|
31
|
-
export const isDocumentShown = (document, userLogin, permissions) => {
|
|
32
|
-
if (canSeeAllDocuments(permissions)) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
if (document.isLocked) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
if (permissions.canManageProject) {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
return userLogin !== undefined && document.createdBy?.login === userLogin;
|
|
42
|
-
};
|
|
43
|
-
export const getAccessibleDocumentIds = (documents, userLogin, permissions) => documents
|
|
44
|
-
.filter((document) => isDocumentShown(document, userLogin, permissions))
|
|
45
|
-
.map((document) => objRefToString(document.ref));
|
|
46
36
|
export const getInsightUsageInDocuments = (referencedDocuments, accessibleDocumentIds) => {
|
|
47
37
|
const accessibleDocuments = referencedDocuments
|
|
48
|
-
.filter((
|
|
49
|
-
.map(({ id, title }) => ({ id, title }));
|
|
38
|
+
.filter((item) => isTemplate(item) || accessibleDocumentIds.includes(item.id))
|
|
39
|
+
.map(({ id, title, type }) => ({ id, title, type }));
|
|
50
40
|
return {
|
|
51
41
|
accessibleDocuments: _sortBy(accessibleDocuments, (item) => item.title.trim().toLowerCase()),
|
|
52
42
|
inaccessibleDocumentsCount: referencedDocuments.length - accessibleDocuments.length,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IListedDashboard, type IMetadataObject } from "@gooddata/sdk-model";
|
|
1
|
+
import { type IListedDashboard, type IMetadataObject, type ObjectType } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* `data.insightUsagesOnDashboards` — the raw "which dashboards use this insight" answer stored by
|
|
4
4
|
* the open-report saga. The dialog-facing shape is derived on READ by
|
|
@@ -14,7 +14,7 @@ export declare const insightUsageInitialState: IInsightUsageState;
|
|
|
14
14
|
export interface IInsightUsage {
|
|
15
15
|
allUserDashboards: IListedDashboard[];
|
|
16
16
|
referencedDashboards: IMetadataObject[];
|
|
17
|
-
/**
|
|
17
|
+
/** Documents, document templates and page templates that show the insight. */
|
|
18
18
|
referencedDocuments: IMetadataObject[];
|
|
19
19
|
/** Ids of the referenced documents the user may open. */
|
|
20
20
|
accessibleDocumentIds: string[];
|
|
@@ -37,6 +37,8 @@ export interface IInsightUsageOnDashboardItem {
|
|
|
37
37
|
export interface IInsightUsageInDocumentItem {
|
|
38
38
|
title: string;
|
|
39
39
|
id: string;
|
|
40
|
+
/** `document`, or `documentTemplate` / `pageTemplate` for a template. */
|
|
41
|
+
type: ObjectType;
|
|
40
42
|
}
|
|
41
43
|
/** Derived like {@link IInsightUsageOnDashboard}: the documents the user may open, and how many they may not. */
|
|
42
44
|
export interface IInsightUsageInDocuments {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insight_usage_state.d.ts","sourceRoot":"","sources":["../../../src/store/insight_usage/insight_usage_state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"insight_usage_state.d.ts","sourceRoot":"","sources":["../../../src/store/insight_usage/insight_usage_state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEnG;;;;;;;;GAQG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,IAAI,CAAC;AAEtD,eAAO,MAAM,wBAAwB,EAAE,kBAAyB,CAAC;AAEjE,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC1B,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IACtC,oBAAoB,EAAE,eAAe,EAAE,CAAC;IACxC,8EAA8E;IAC9E,mBAAmB,EAAE,eAAe,EAAE,CAAC;IACvC,yDAAyD;IACzD,qBAAqB,EAAE,MAAM,EAAE,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC,oBAAoB,EAAE,4BAA4B,EAAE,CAAC;IACrD,aAAa,EAAE,4BAA4B,EAAE,CAAC;IAC9C,2BAA2B,EAAE,MAAM,CAAC;IACpC,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,yEAAyE;IACzE,IAAI,EAAE,UAAU,CAAC;CACpB;AAED,iHAAiH;AACjH,MAAM,WAAW,wBAAwB;IACrC,mBAAmB,EAAE,2BAA2B,EAAE,CAAC;IACnD,0BAA0B,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric_editor_sagas.d.ts","sourceRoot":"","sources":["../../../src/store/metric_editor/metric_editor_sagas.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"metric_editor_sagas.d.ts","sourceRoot":"","sources":["../../../src/store/metric_editor/metric_editor_sagas.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,EAA6B,MAAM,2BAA2B,CAAC;AAO9F,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAW5D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAkBhE,eAAO,MAAM,0BAA0B,OAAO,CAAC;AAC/C,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAiB7C,wBAAiB,iBAAiB,6EAWjC;AAuHD,wBAAiB,sBAAsB;;;qIA+CtC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// (C) 2020-2026 GoodData Corporation
|
|
2
2
|
import { defineMessages } from "react-intl";
|
|
3
3
|
import { call, put, select, take, takeEvery } from "redux-saga/effects";
|
|
4
|
+
import { isUnexpectedResponseError } from "@gooddata/sdk-backend-spi";
|
|
4
5
|
import { isCatalogMeasure } from "@gooddata/sdk-model";
|
|
5
6
|
import { _isEmpty, _isEqual, _omit } from "@gooddata/util";
|
|
6
7
|
import { removeBucketItemsByLocalIds } from "../../actions/buckets_actions.js";
|
|
@@ -24,6 +25,7 @@ const metricEditorMessages = defineMessages({
|
|
|
24
25
|
deleteMetricFailed: { id: "messages.deleteMetricFailed" },
|
|
25
26
|
saveMetric: { id: "messages.saveMetric" },
|
|
26
27
|
metricSaveError: { id: "messages.metricSaveError" },
|
|
28
|
+
metricSaveIdConflict: { id: "messages.metricSaveIdConflict" },
|
|
27
29
|
});
|
|
28
30
|
var CatalogItemType;
|
|
29
31
|
(function (CatalogItemType) {
|
|
@@ -113,10 +115,16 @@ function* removeMetricFromBucketWithRefresh() {
|
|
|
113
115
|
yield put(setLoadingGroups(true));
|
|
114
116
|
yield call(removeMetricFromBucket);
|
|
115
117
|
}
|
|
116
|
-
function* handleMetricSaveError() {
|
|
118
|
+
function* handleMetricSaveError(action) {
|
|
119
|
+
// The backend refuses an ID that is already in use (in this workspace or a parent one) with
|
|
120
|
+
// HTTP 409. A retry fails the same way, so the message names the cause instead.
|
|
121
|
+
const { error } = action.payload;
|
|
122
|
+
const isIdConflict = isUnexpectedResponseError(error) && error.httpStatus === 409;
|
|
117
123
|
yield put(addMessage({
|
|
118
124
|
type: "error",
|
|
119
|
-
translationKey:
|
|
125
|
+
translationKey: isIdConflict
|
|
126
|
+
? metricEditorMessages.metricSaveIdConflict.id
|
|
127
|
+
: metricEditorMessages.metricSaveError.id,
|
|
120
128
|
durationInMs: HIDE_ERROR_MESSAGE_AFTER,
|
|
121
129
|
}));
|
|
122
130
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
|
-
import { areObjRefsEqual, filterObjRef, insightFilters,
|
|
2
|
+
import { areObjRefsEqual, filterObjRef, insightFilters, isDateFilterOfAnyType as isSdkDateFilter, } from "@gooddata/sdk-model";
|
|
3
3
|
import { DATE } from "../../constants/bucket.js";
|
|
4
4
|
import { isMeasure } from "../../models/bucket_item.js";
|
|
5
5
|
import { DATE_DATASET_ATTRIBUTE } from "../../models/date_item.js";
|
|
@@ -679,6 +679,10 @@
|
|
|
679
679
|
"text": "Metric save failed, try again later…",
|
|
680
680
|
"crowdinContext": "Use '…' as one character, not 3 dots ('...')."
|
|
681
681
|
},
|
|
682
|
+
"messages.metricSaveIdConflict": {
|
|
683
|
+
"text": "A metric with this ID already exists. Change the ID and save again.",
|
|
684
|
+
"crowdinContext": "Error message shown when a metric cannot be saved because another object already uses its ID."
|
|
685
|
+
},
|
|
682
686
|
"messages.exportResultError": {
|
|
683
687
|
"text": "Failed to export the data. Try again later.",
|
|
684
688
|
"crowdinContext": "Error message when data export fails"
|
|
@@ -1243,6 +1247,10 @@
|
|
|
1243
1247
|
"text": "Select All time in period to include empty values",
|
|
1244
1248
|
"crowdinContext": "Tooltip on disabled Include option in empty values dropdown."
|
|
1245
1249
|
},
|
|
1250
|
+
"filter.date.empty_values.include.title": {
|
|
1251
|
+
"text": "{title}, empty values",
|
|
1252
|
+
"crowdinContext": "Date filter button label when a period (not All time) also includes empty (missing) date values. {title} is the period label, e.g. 'Last 12 months'."
|
|
1253
|
+
},
|
|
1246
1254
|
"filter.compare.apply_on": {
|
|
1247
1255
|
"text": "Apply on",
|
|
1248
1256
|
"crowdinContext": "Label for date comparison application scope selection"
|
|
@@ -1491,6 +1499,10 @@
|
|
|
1491
1499
|
"text": "Execution stats",
|
|
1492
1500
|
"crowdinContext": "Title of the popover with the statistics of how the visualization's data was loaded."
|
|
1493
1501
|
},
|
|
1502
|
+
"executionStats.close": {
|
|
1503
|
+
"text": "Close execution stats",
|
|
1504
|
+
"crowdinContext": "Accessible label of the button that closes the popover with the statistics of how the visualization's data was loaded."
|
|
1505
|
+
},
|
|
1494
1506
|
"executionStats.thisLoad": {
|
|
1495
1507
|
"text": "This load",
|
|
1496
1508
|
"crowdinContext": "Popover section about the last load of the visualization's data."
|
package/esm/utils/api.d.ts
CHANGED
|
@@ -95,9 +95,9 @@ export declare function getComputedAttributes(projectId: string, objRefs: ObjRef
|
|
|
95
95
|
export declare function getInsightReferences(projectId: string, insightRef: ObjRef): Promise<IInsightReferencing>;
|
|
96
96
|
export declare function getAnalyticalDashboards(projectId: string): Promise<IListedDashboard[]>;
|
|
97
97
|
/**
|
|
98
|
-
* The ids of the documents the user may open. When
|
|
99
|
-
* open, so no document the user may not see is named.
|
|
98
|
+
* The ids of the documents the user may open: the ones the backend returns. When they cannot be loaded,
|
|
99
|
+
* none of them count as open, so no document the user may not see is named.
|
|
100
100
|
*/
|
|
101
|
-
export declare function loadAccessibleDocumentIds(projectId: string, documents: IMetadataObject[],
|
|
101
|
+
export declare function loadAccessibleDocumentIds(projectId: string, documents: IMetadataObject[], permissions: IWorkspacePermissions | null): Promise<string[]>;
|
|
102
102
|
export {};
|
|
103
103
|
//# sourceMappingURL=api.d.ts.map
|
package/esm/utils/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAIA,OA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,wBAAwB,CAC1C,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,mCAAmC,EAAE,CAAC,CAEhD;AAED,wBAAsB,aAAa,CAC/B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAErC;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CACvC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,gCAAgC,EAAE,CAAC,CAG7C;AAED,wBAAsB,oBAAoB,CACtC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,GACnB,OAAO,CAAC,mBAAmB,CAAC,CAE9B;AAED,wBAAsB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAE5F;AAgBD;;;GAGG;AACH,wBAAsB,yBAAyB,CAC3C,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,eAAe,EAAE,EAC5B,WAAW,EAAE,qBAAqB,GAAG,IAAI,GAC1C,OAAO,CAAC,MAAM,EAAE,CAAC,CAWnB"}
|
package/esm/utils/api.js
CHANGED
|
@@ -6,7 +6,7 @@ import { backend } from "../backend.js";
|
|
|
6
6
|
import { isElementUrisSupported } from "../selectors/backend_capabilities_selector.js";
|
|
7
7
|
import { getProjectId } from "../selectors/bootstrap_selector.js";
|
|
8
8
|
import { indexValidElements } from "../services/report_service.js";
|
|
9
|
-
import { canSeeAllDocuments, getAccessibleDocumentIds, } from "../store/insight_usage/insight_usage_helpers.js";
|
|
9
|
+
import { canSeeAllDocuments, getAccessibleDocumentIds, isDocument, } from "../store/insight_usage/insight_usage_helpers.js";
|
|
10
10
|
import { getItemCacheState } from "../store/item_cache/item_cache_selectors.js";
|
|
11
11
|
import { isSingleEmptyStringElement } from "./date_filter.js";
|
|
12
12
|
import { displayFormToCacheDisplayForm } from "./displayForms.js";
|
|
@@ -550,17 +550,17 @@ async function getDocumentSummaries(projectId, documentIds) {
|
|
|
550
550
|
return result.items;
|
|
551
551
|
}
|
|
552
552
|
/**
|
|
553
|
-
* The ids of the documents the user may open. When
|
|
554
|
-
* open, so no document the user may not see is named.
|
|
553
|
+
* The ids of the documents the user may open: the ones the backend returns. When they cannot be loaded,
|
|
554
|
+
* none of them count as open, so no document the user may not see is named.
|
|
555
555
|
*/
|
|
556
|
-
export async function loadAccessibleDocumentIds(projectId, documents,
|
|
557
|
-
const documentIds = documents.map(({ id }) => id);
|
|
556
|
+
export async function loadAccessibleDocumentIds(projectId, documents, permissions) {
|
|
557
|
+
const documentIds = documents.filter(isDocument).map(({ id }) => id);
|
|
558
558
|
if (documentIds.length === 0 || canSeeAllDocuments(permissions)) {
|
|
559
559
|
return documentIds;
|
|
560
560
|
}
|
|
561
561
|
try {
|
|
562
562
|
const summaries = await getDocumentSummaries(projectId, documentIds);
|
|
563
|
-
return getAccessibleDocumentIds(summaries
|
|
563
|
+
return getAccessibleDocumentIds(summaries);
|
|
564
564
|
}
|
|
565
565
|
catch {
|
|
566
566
|
return [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom_mouse_backend.d.ts","sourceRoot":"","sources":["../../src/utils/custom_mouse_backend.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,WAAW,EAEnB,MAAM,UAAU,CAAC;AAiBlB,UAAU,oBAAoB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AA6ED,qBAAa,YAAa,YAAW,OAAO;IACxC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAU;IAEzB,OA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chBackend {
|
|
|
218
218
|
};
|
|
219
219
|
handleTopMoveStart = (e) => {
|
|
220
220
|
const clientOffset = getEventClientOffset(e);
|
|
221
|
-
if (clientOffset
|
|
221
|
+
if (!clientOffset) {
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
// The hit test is by coordinates only, so also require the press to land inside
|
|
225
|
+
// the source: a press on an element covering it (e.g. a modal backdrop) must not
|
|
226
|
+
// steal focus from that element.
|
|
227
|
+
const target = e.target;
|
|
228
|
+
const isPressOnSource = getNodesAtOffset(this.sourceNodes, clientOffset).some((sourceId) => this.sourceNodes[sourceId].contains(target));
|
|
229
|
+
if (isPressOnSource) {
|
|
222
230
|
this._mouseClientOffset = clientOffset;
|
|
223
231
|
// note: calling preventDefault here, seems to be the only way to defeat text selection in Safari
|
|
224
232
|
// to handle other browsers, we could just call window.getSelection().removeAllRanges();
|
|
225
|
-
const target = e.target;
|
|
226
233
|
if (target.tagName !== "SELECT" && target.tagName !== "INPUT" && target.tagName !== "TEXTAREA") {
|
|
227
234
|
e.preventDefault();
|
|
228
235
|
// when clicking on draggable (DragSource decorated) component, document.activeElement doesn't change
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterConverter.d.ts","sourceRoot":"","sources":["../../../src/utils/sdkModelToADRep/FilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,OAAO,EAEZ,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"FilterConverter.d.ts","sourceRoot":"","sources":["../../../src/utils/sdkModelToADRep/FilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,KAAK,OAAO,EAEZ,KAAK,cAAc,EA0BtB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EASH,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EACjC,MAAM,iCAAiC,CAAC;AAiJzC,eAAO,MAAM,qBAAqB,WACtB,OAAO,qCACoB,OAAO,KAC3C,iCAkBF,CAAC;AAEF,eAAO,MAAM,aAAa,WACd,cAAc,qCACa,OAAO,KAC3C,yBAoBF,CAAC"}
|