@gooddata/sdk-ui-dashboard 11.42.0-alpha.0 → 11.42.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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -3
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -0
- package/esm/model/store/executionResults/constants.d.ts +7 -0
- package/esm/model/store/executionResults/constants.d.ts.map +1 -0
- package/esm/model/store/executionResults/constants.js +8 -0
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts +12 -0
- package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
- package/esm/model/store/executionResults/executionResultsSelectors.js +16 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +6 -0
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +11 -0
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +7 -0
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +18 -7
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +2 -2
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts +5 -0
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +20 -3
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts.map +1 -1
- package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.js +5 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +13 -2
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.js +5 -2
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +37 -0
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -0
- package/esm/presentation/automations/shared/automationFilters/automationParameters.js +90 -0
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts +23 -2
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.js +27 -15
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts +20 -0
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts.map +1 -0
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js +32 -0
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts +32 -0
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts.map +1 -0
- package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.js +57 -0
- package/esm/presentation/dashboard/components/DashboardLoading.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardLoading.js +12 -2
- package/esm/presentation/export/types.d.ts +1 -1
- package/esm/presentation/export/types.d.ts.map +1 -1
- package/esm/presentation/export/useExportData.d.ts +1 -1
- package/esm/presentation/export/useExportData.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts +20 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +41 -6
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +12 -44
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +12 -44
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +3 -11
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +3 -11
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +3 -11
- package/esm/presentation/shareDialog/DefaultShareDialog.d.ts.map +1 -1
- package/esm/presentation/shareDialog/DefaultShareDialog.js +6 -2
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +39 -16
- package/esm/presentation/topBar/menuButton/types.d.ts +6 -0
- package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/types.js +1 -0
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +7 -0
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.js +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +14 -10
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts +0 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts.map +1 -1
- package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.js +23 -8
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +56 -27
- package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts.map +1 -1
- package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js +4 -89
- package/esm/sdk-ui-dashboard.d.ts +49 -3
- package/package.json +20 -20
- package/styles/css/dashboard.css +7 -2
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +32 -6
- package/styles/css/main.css.map +1 -1
- package/styles/css/warningPartialResult.css +1 -0
- package/styles/css/warningPartialResult.css.map +1 -1
- package/styles/scss/dashboard.scss +14 -2
- package/styles/scss/warningPartialResult.scss +1 -0
package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type Dispatch, type SetStateAction } from "react";
|
|
2
|
+
import { type IAutomationMetadataObjectDefinition, type IdentifierRef, type ObjRef } from "@gooddata/sdk-model";
|
|
3
|
+
import { type IAutomationParameter } from "./automationParameters.js";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface IUseAutomationAlertParameters {
|
|
8
|
+
/**
|
|
9
|
+
* The parameter chips to render. Empty when the `enableParameters` feature is off.
|
|
10
|
+
*/
|
|
11
|
+
automationParameters: IAutomationParameter[];
|
|
12
|
+
/**
|
|
13
|
+
* Workspace parameters addable via the "+" menu (catalog minus the selected set and minus
|
|
14
|
+
* dashboard-`hidden`/`readonly` parameters). Empty when the feature is off.
|
|
15
|
+
*/
|
|
16
|
+
availableParameters: IAutomationParameter[];
|
|
17
|
+
onParameterAdd: (ref: IdentifierRef) => void;
|
|
18
|
+
onParameterChange: (ref: IdentifierRef, value: number) => void;
|
|
19
|
+
onParameterDelete: (ref: IdentifierRef) => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Parameter editing for the alert dialog. The single source of truth is the edited automation's
|
|
23
|
+
* `alert.execution.parameters` ({ref, value} wire shape); the display-ready set is derived per render.
|
|
24
|
+
*
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare function useAutomationAlertParameters({ editedAutomation, setEditedAutomation, widgetRef }: {
|
|
28
|
+
editedAutomation: IAutomationMetadataObjectDefinition | undefined;
|
|
29
|
+
setEditedAutomation: Dispatch<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
|
|
30
|
+
widgetRef?: ObjRef;
|
|
31
|
+
}): IUseAutomationAlertParameters;
|
|
32
|
+
//# sourceMappingURL=useAutomationAlertParameters.d.ts.map
|
package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAutomationAlertParameters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationAlertParameters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAwB,MAAM,OAAO,CAAC;AAEjF,OAAO,EAEH,KAAK,mCAAmC,EAExC,KAAK,aAAa,EAClB,KAAK,MAAM,EAEd,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EACH,KAAK,oBAAoB,EAI5B,MAAM,2BAA2B,CAAC;AAInC;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,EAAE,CAAC;IAC7C;;;OAGG;IACH,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAC5C,cAAc,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,iBAAiB,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACnD;AAED;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAAC,EACzC,gBAAgB,EAChB,mBAAmB,EACnB,SAAS,EACZ,EAAE;IACC,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,CAAC;IAClE,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,6BAA6B,CAkFhC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// (C) 2026 GoodData Corporation
|
|
2
|
+
import { useCallback, useMemo } from "react";
|
|
3
|
+
import { DashboardParameterModeValues, areObjRefsEqual, } from "@gooddata/sdk-model";
|
|
4
|
+
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
5
|
+
import { selectCatalogParameters } from "../../../../model/store/catalog/catalogSelectors.js";
|
|
6
|
+
import { selectEnableParameters } from "../../../../model/store/config/configSelectors.js";
|
|
7
|
+
import { selectEffectiveDashboardParametersForWidget, selectEffectiveParameterValuesForWidget, } from "../../../../model/store/tabs/parameters/parametersSelectors.js";
|
|
8
|
+
import { availableAutomationParameters, reconstructAutomationParametersFromValues, setAlertExecutionParameters, } from "./automationParameters.js";
|
|
9
|
+
const EMPTY_PARAMETERS = [];
|
|
10
|
+
/**
|
|
11
|
+
* Parameter editing for the alert dialog. The single source of truth is the edited automation's
|
|
12
|
+
* `alert.execution.parameters` ({ref, value} wire shape); the display-ready set is derived per render.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export function useAutomationAlertParameters({ editedAutomation, setEditedAutomation, widgetRef, }) {
|
|
17
|
+
const parametersEnabled = useDashboardSelector(selectEnableParameters);
|
|
18
|
+
const catalog = useDashboardSelector(selectCatalogParameters);
|
|
19
|
+
const dashboardParameters = useDashboardSelector(selectEffectiveDashboardParametersForWidget(widgetRef));
|
|
20
|
+
const widgetParameterValues = useDashboardSelector(selectEffectiveParameterValuesForWidget(widgetRef));
|
|
21
|
+
const storedParameters = editedAutomation?.alert?.execution?.parameters;
|
|
22
|
+
const automationParameters = useMemo(() => {
|
|
23
|
+
if (!parametersEnabled || !storedParameters?.length) {
|
|
24
|
+
return EMPTY_PARAMETERS;
|
|
25
|
+
}
|
|
26
|
+
return (reconstructAutomationParametersFromValues(storedParameters, dashboardParameters, catalog)
|
|
27
|
+
// `hidden` parameters stay in the stored payload but are never rendered or user-editable
|
|
28
|
+
.filter((parameter) => parameter.mode !== DashboardParameterModeValues.HIDDEN));
|
|
29
|
+
}, [parametersEnabled, storedParameters, dashboardParameters, catalog]);
|
|
30
|
+
const availableParameters = useMemo(() => parametersEnabled
|
|
31
|
+
? availableAutomationParameters(catalog, automationParameters, dashboardParameters, widgetParameterValues)
|
|
32
|
+
: EMPTY_PARAMETERS, [parametersEnabled, catalog, automationParameters, dashboardParameters, widgetParameterValues]);
|
|
33
|
+
const updateAlertParameters = useCallback((update) => {
|
|
34
|
+
setEditedAutomation((definition) => definition?.alert
|
|
35
|
+
? setAlertExecutionParameters(definition, update(definition.alert.execution.parameters ?? []))
|
|
36
|
+
: definition);
|
|
37
|
+
}, [setEditedAutomation]);
|
|
38
|
+
const onParameterChange = useCallback((ref, value) => {
|
|
39
|
+
updateAlertParameters((current) => current.map((parameter) => areObjRefsEqual(parameter.ref, ref) ? { ...parameter, value } : parameter));
|
|
40
|
+
}, [updateAlertParameters]);
|
|
41
|
+
const onParameterDelete = useCallback((ref) => {
|
|
42
|
+
updateAlertParameters((current) => current.filter((parameter) => !areObjRefsEqual(parameter.ref, ref)));
|
|
43
|
+
}, [updateAlertParameters]);
|
|
44
|
+
const onParameterAdd = useCallback((ref) => {
|
|
45
|
+
const parameter = availableParameters.find((candidate) => areObjRefsEqual(candidate.ref, ref));
|
|
46
|
+
if (parameter) {
|
|
47
|
+
updateAlertParameters((current) => [...current, { ref, value: parameter.value }]);
|
|
48
|
+
}
|
|
49
|
+
}, [availableParameters, updateAlertParameters]);
|
|
50
|
+
return {
|
|
51
|
+
automationParameters,
|
|
52
|
+
availableParameters,
|
|
53
|
+
onParameterChange,
|
|
54
|
+
onParameterDelete,
|
|
55
|
+
onParameterAdd,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLoading.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardLoading.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DashboardLoading.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardLoading.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,2CA8BtD"}
|
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
// (C) 2022-2026 GoodData Corporation
|
|
3
3
|
import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
4
4
|
import { selectDashboardLoading } from "../../../model/store/loading/loadingSelectors.js";
|
|
5
5
|
import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
|
|
6
|
+
import { useDashboardExportData } from "../../export/useExportData.js";
|
|
6
7
|
import { DashboardInner } from "./DashboardInner.js";
|
|
7
8
|
export function DashboardLoading(props) {
|
|
8
9
|
const { loading, error, result } = useDashboardSelector(selectDashboardLoading);
|
|
9
10
|
const { ErrorComponent, LoadingComponent } = useDashboardComponentsContext();
|
|
11
|
+
// The render mode and the settings are set in the store only after the dashboard
|
|
12
|
+
// initialization finishes, so both must be read from the config here.
|
|
13
|
+
const isEarlyExportStatusEnabled = Boolean(props.config?.settings?.enableExportTimeoutFix);
|
|
14
|
+
const exportData = useDashboardExportData(isEarlyExportStatusEnabled ? props.config?.initialRenderMode : undefined, "loading", "root");
|
|
10
15
|
if (error) {
|
|
11
16
|
return _jsx(ErrorComponent, { message: error.message });
|
|
12
17
|
}
|
|
13
18
|
if (loading || !result) {
|
|
14
|
-
|
|
19
|
+
// In export mode, emit the loading export status right away so that the exporter
|
|
20
|
+
// can tell the rendering has started even before any dashboard data is loaded.
|
|
21
|
+
// The element is a hidden sibling (same as the gd-dashboard-meta export data),
|
|
22
|
+
// so it cannot affect the layout of the loading indicator.
|
|
23
|
+
return (_jsxs(_Fragment, { children: [exportData ? _jsx("div", { style: { display: "none" }, ...exportData }) : null, _jsx(LoadingComponent, {})
|
|
24
|
+
] }));
|
|
15
25
|
}
|
|
16
26
|
return _jsx(DashboardInner, { ...props });
|
|
17
27
|
}
|
|
@@ -19,7 +19,7 @@ export type ExportMetaType = "dashboard-id" | "dashboard-title" | "dashboard-des
|
|
|
19
19
|
export type CommonExportDataAttributes = {
|
|
20
20
|
"data-export-type": ExportElementType;
|
|
21
21
|
"data-export-depth"?: string;
|
|
22
|
-
"data-export-status"?: "empty" | "loaded";
|
|
22
|
+
"data-export-status"?: "loading" | "empty" | "loaded";
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* Data attributes with export specification for meta.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GACvB,MAAM,GACN,WAAW,GACX,SAAS,GACT,cAAc,GACd,eAAe,GACf,qBAAqB,GACrB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GACd,oBAAoB,CAAC;AAE3B;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACpB,cAAc,GACd,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,uBAAuB,GACvB,wBAAwB,GACxB,iBAAiB,GACjB,gBAAgB,GAChB,MAAM,GACN,aAAa,GACb,eAAe,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GACvB,MAAM,GACN,WAAW,GACX,SAAS,GACT,cAAc,GACd,eAAe,GACf,qBAAqB,GACrB,QAAQ,GACR,gBAAgB,GAChB,cAAc,GACd,oBAAoB,CAAC;AAE3B;;;;GAIG;AACH,MAAM,MAAM,cAAc,GACpB,cAAc,GACd,iBAAiB,GACjB,uBAAuB,GACvB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,uBAAuB,GACvB,wBAAwB,GACxB,iBAAiB,GACjB,gBAAgB,GAChB,MAAM,GACN,aAAa,GACb,eAAe,CAAC;AAEtB;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;CACzD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACnC,uBAAuB,CAAC,EAAE,cAAc,CAAC;IACzC,8BAA8B,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,cAAc,CAAC;IACvE,8BAA8B,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAClE,gCAAgC,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IAClE,iCAAiC,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnE,+BAA+B,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;IACjE,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACxC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,EAAE,CAAC,EAAE,wBAAwB,CAAC;IAC9B,KAAK,CAAC,EAAE,wBAAwB,CAAC;IACjC,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,SAAS,CAAC,EAAE,wBAAwB,CAAC;IACrC,IAAI,CAAC,EAAE;QACH,IAAI,EAAE,wBAAwB,CAAC;QAC/B,GAAG,EAAE,wBAAwB,CAAC;KACjC,CAAC;IACF,OAAO,CAAC,EAAE;QACN,IAAI,EAAE,wBAAwB,CAAC;QAC/B,QAAQ,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,KAAK,wBAAwB,CAAC;QAC7E,UAAU,EAAE,wBAAwB,CAAC;QACrC,eAAe,EAAE,wBAAwB,CAAC;QAC1C,kBAAkB,EAAE,wBAAwB,CAAC;QAC7C,MAAM,EAAE;YACJ,IAAI,EAAE,wBAAwB,CAAC;YAC/B,KAAK,EAAE,wBAAwB,CAAC;YAChC,UAAU,EAAE,CACR,IAAI,EAAE,sBAAsB,EAC5B,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,OAAO,KACf,wBAAwB,CAAC;SACjC,CAAC;KACL,CAAC;CACL,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,KAAK,CAAC,EAAE,0BAA0B,CAAC;IACnC,WAAW,CAAC,EAAE,qBAAqB,CAAC;CACvC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,WAAW,CAAC,EAAE,sCAAsC,CAAC;IACrD,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CACjC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,GAAG;KAC1C,CAAC,IAAI,uCAAuC,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM;CAClE,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,0BAA0B,GAAG;IAClE,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,kCAAkC,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;CACvE,GAAG,gCAAgC,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,sCAAsC,GAAG,0BAA0B,GAAG;IAC9E,gCAAgC,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrE,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAC9C,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACvC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,0BAA0B,CAAC,EAAE,UAAU,CAAC;CAC3C,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACrC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,GAAG;IAC/C,OAAO,CAAC,EAAE,0BAA0B,CAAC;CACxC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { type CommonExportDataAttributes, type MetaExportData, type MetaExportDa
|
|
|
4
4
|
/**
|
|
5
5
|
* @alpha
|
|
6
6
|
*/
|
|
7
|
-
export declare const useDashboardExportData: (renderMode: RenderMode | undefined, status: "empty" | "loaded", type: "nested" | "root") => CommonExportDataAttributes | undefined;
|
|
7
|
+
export declare const useDashboardExportData: (renderMode: RenderMode | undefined, status: "empty" | "loaded" | "loading", type: "nested" | "root") => CommonExportDataAttributes | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExportData.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/useExportData.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAClC,MAAM,YAAY,CAAC;AAsCpB;;GAEG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"useExportData.d.ts","sourceRoot":"","sources":["../../../src/presentation/export/useExportData.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EACH,KAAK,0BAA0B,EAC/B,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAClC,MAAM,YAAY,CAAC;AAsCpB;;GAEG;AACH,eAAO,MAAM,sBAAsB,iJAalC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,kDA+BhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B,gHA6B3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,mEAyB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,sCAUjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,uIAiBtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,kCAmE7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,mIAelC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;CAwB9B,CAAC"}
|
package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
|
+
import { type IdentifierRef } from "@gooddata/sdk-model";
|
|
1
2
|
import { type IDashboardAttributeFilterPlaceholderProps } from "../types.js";
|
|
2
3
|
/**
|
|
4
|
+
* Addable workspace parameter offered in the dropdown's "parameters" tab (automation dialogs only).
|
|
5
|
+
*
|
|
3
6
|
* @internal
|
|
4
7
|
*/
|
|
5
|
-
export
|
|
8
|
+
export interface IParameterDropdownListItem {
|
|
9
|
+
type: "parameter";
|
|
10
|
+
ref: IdentifierRef;
|
|
11
|
+
title: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export interface IAttributesDropdownProps extends IDashboardAttributeFilterPlaceholderProps {
|
|
17
|
+
/** Addable workspace parameters (automation dialogs only). Renders a "parameters" tab. */
|
|
18
|
+
parameters?: IParameterDropdownListItem[];
|
|
19
|
+
onParameterSelect?: (ref: IdentifierRef) => void;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare function AttributesDropdown({ id, className, bodyClassName, onClose, onOpen, onSelect, attributes, dateDatasets, measures, openOnInit, DropdownButtonComponent, DropdownTitleComponent, renderNoData, overlayPositionType, getCustomItemTitle, accessibilityConfig, returnFocusTo, parameters, onParameterSelect }: IAttributesDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
6
25
|
//# sourceMappingURL=AttributesDropdown.d.ts.map
|
package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AttributesDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.tsx"],"names":[],"mappings":"AAQA,OAAO,EAGH,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAmB7B,OAAO,EAAE,KAAK,yCAAyC,EAAE,MAAM,aAAa,CAAC;AA8D7E;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,WAAW,CAAC;IAClB,GAAG,EAAE,aAAa,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACjB;AAMD;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,yCAAyC;IACvF,0FAA0F;IAC1F,UAAU,CAAC,EAAE,0BAA0B,EAAE,CAAC;IAC1C,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AA6BD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,EAAE,EACF,SAAS,EACT,aAAa,EACb,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,QAAa,EACb,UAAiB,EACjB,uBAAkD,EAClD,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,UAAe,EACf,iBAAiB,EACpB,EAAE,wBAAwB,2CAwU1B"}
|
|
@@ -5,7 +5,7 @@ import cx from "classnames";
|
|
|
5
5
|
import { debounce } from "lodash-es";
|
|
6
6
|
import { useIntl } from "react-intl";
|
|
7
7
|
import { isCatalogAttribute, isCatalogMeasure, } from "@gooddata/sdk-model";
|
|
8
|
-
import { Dropdown, DropdownList, SingleSelectListItem, isEscapeKey, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
|
|
8
|
+
import { Dropdown, DropdownList, SingleSelectListItem, UiIcon, isEscapeKey, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
|
|
9
9
|
import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
|
|
10
10
|
import { selectSupportsMultipleDateFilters } from "../../../../model/store/backendCapabilities/backendCapabilitiesSelectors.js";
|
|
11
11
|
import { selectEnableMeasureValueFilterKD, selectEnableMultipleDateFilters, } from "../../../../model/store/config/configSelectors.js";
|
|
@@ -61,7 +61,10 @@ const dropdownAlignPoints = [
|
|
|
61
61
|
},
|
|
62
62
|
];
|
|
63
63
|
const WIDTH = 253;
|
|
64
|
-
function
|
|
64
|
+
function isParameterDropdownListItem(item) {
|
|
65
|
+
return typeof item === "object" && item !== null && "type" in item && item.type === "parameter";
|
|
66
|
+
}
|
|
67
|
+
function createDefaultSelectedTabId({ hasAttributes, hasDateFilters, hasMeasures, hasParameters, }) {
|
|
65
68
|
if (hasAttributes) {
|
|
66
69
|
return "attributes";
|
|
67
70
|
}
|
|
@@ -71,12 +74,15 @@ function createDefaultSelectedTabId({ hasAttributes, hasDateFilters, hasMeasures
|
|
|
71
74
|
if (hasMeasures) {
|
|
72
75
|
return "metrics";
|
|
73
76
|
}
|
|
77
|
+
if (hasParameters) {
|
|
78
|
+
return "parameters";
|
|
79
|
+
}
|
|
74
80
|
return "attributes";
|
|
75
81
|
}
|
|
76
82
|
/**
|
|
77
83
|
* @internal
|
|
78
84
|
*/
|
|
79
|
-
export function AttributesDropdown({ id, className, bodyClassName, onClose, onOpen, onSelect, attributes, dateDatasets, measures = [], openOnInit = true, DropdownButtonComponent = AddAttributeFilterButton, DropdownTitleComponent, renderNoData, overlayPositionType, getCustomItemTitle, accessibilityConfig, returnFocusTo, }) {
|
|
85
|
+
export function AttributesDropdown({ id, className, bodyClassName, onClose, onOpen, onSelect, attributes, dateDatasets, measures = [], openOnInit = true, DropdownButtonComponent = AddAttributeFilterButton, DropdownTitleComponent, renderNoData, overlayPositionType, getCustomItemTitle, accessibilityConfig, returnFocusTo, parameters = [], onParameterSelect, }) {
|
|
80
86
|
const buttonId = useIdPrefixed(`add-attribute-filter-button-${id ?? ""}-`);
|
|
81
87
|
const intl = useIntl();
|
|
82
88
|
const [searchQuery, setSearchQuery] = useState("");
|
|
@@ -133,13 +139,20 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
133
139
|
insightWidgets,
|
|
134
140
|
insightsMap,
|
|
135
141
|
});
|
|
142
|
+
const filteredParameters = useMemo(() => {
|
|
143
|
+
return searchQuery
|
|
144
|
+
? parameters.filter((parameter) => parameter.title.toLowerCase().includes(searchQuery.toLowerCase()))
|
|
145
|
+
: parameters;
|
|
146
|
+
}, [parameters, searchQuery]);
|
|
136
147
|
const hasAttributes = useMemo(() => attributes.length > 0, [attributes]);
|
|
137
148
|
const hasDateFilters = useMemo(() => offerDateFilters && dateDatasets.length > 0, [dateDatasets, offerDateFilters]);
|
|
138
149
|
const hasMeasures = useMemo(() => metricMeasures.length > 0, [metricMeasures]);
|
|
150
|
+
const hasParameters = useMemo(() => parameters.length > 0, [parameters]);
|
|
139
151
|
const defaultSelectedTabId = createDefaultSelectedTabId({
|
|
140
152
|
hasAttributes,
|
|
141
153
|
hasDateFilters,
|
|
142
154
|
hasMeasures,
|
|
155
|
+
hasParameters,
|
|
143
156
|
});
|
|
144
157
|
const [selectedTabId, setSelectedTabId] = useState(defaultSelectedTabId);
|
|
145
158
|
useEffect(() => {
|
|
@@ -159,8 +172,15 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
159
172
|
if (offerDateFilters && dateDatasets.length) {
|
|
160
173
|
newTabs.push({ id: "dateDatasets", iconOnly: true, icon: "gd-icon-date" });
|
|
161
174
|
}
|
|
175
|
+
if (parameters.length) {
|
|
176
|
+
newTabs.push({
|
|
177
|
+
id: "parameters",
|
|
178
|
+
iconOnly: true,
|
|
179
|
+
iconNode: _jsx(UiIcon, { type: "parameter", size: 16, layout: "block", color: "currentColor" }),
|
|
180
|
+
});
|
|
181
|
+
}
|
|
162
182
|
return newTabs;
|
|
163
|
-
}, [attributes, dateDatasets, enableMeasureValueFilterKD, metricMeasures, offerDateFilters]);
|
|
183
|
+
}, [attributes, dateDatasets, enableMeasureValueFilterKD, metricMeasures, offerDateFilters, parameters]);
|
|
164
184
|
const buttonTitle = intl.formatMessage({ id: "addPanel.filter" });
|
|
165
185
|
const items = useMemo(() => {
|
|
166
186
|
if (selectedTabId === "attributes") {
|
|
@@ -172,8 +192,11 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
172
192
|
if (selectedTabId === "metrics") {
|
|
173
193
|
return metricDropdownItems;
|
|
174
194
|
}
|
|
195
|
+
if (selectedTabId === "parameters") {
|
|
196
|
+
return filteredParameters;
|
|
197
|
+
}
|
|
175
198
|
return [];
|
|
176
|
-
}, [selectedTabId, filteredAttributes, filteredDateDatasets, metricDropdownItems]);
|
|
199
|
+
}, [selectedTabId, filteredAttributes, filteredDateDatasets, metricDropdownItems, filteredParameters]);
|
|
177
200
|
const showTabs = useMemo(() => {
|
|
178
201
|
return tabs.length > 1;
|
|
179
202
|
}, [tabs.length]);
|
|
@@ -190,7 +213,10 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
190
213
|
if (isMetricHeaderListItem(item) || isMetricSeparatorListItem(item)) {
|
|
191
214
|
return;
|
|
192
215
|
}
|
|
193
|
-
if (
|
|
216
|
+
if (isParameterDropdownListItem(item)) {
|
|
217
|
+
onParameterSelect?.(item.ref);
|
|
218
|
+
}
|
|
219
|
+
else if (isCatalogAttribute(item)) {
|
|
194
220
|
onSelect(item.defaultDisplayForm.ref);
|
|
195
221
|
}
|
|
196
222
|
else if (isCatalogMeasure(item)) {
|
|
@@ -206,6 +232,9 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
206
232
|
if (isMetricSeparatorListItem(item)) {
|
|
207
233
|
return "";
|
|
208
234
|
}
|
|
235
|
+
if (isParameterDropdownListItem(item)) {
|
|
236
|
+
return item.title;
|
|
237
|
+
}
|
|
209
238
|
if (isCatalogAttribute(item)) {
|
|
210
239
|
return getAttributeListItemTitle(item, getCustomItemTitle?.(item));
|
|
211
240
|
}
|
|
@@ -220,6 +249,12 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
|
|
|
220
249
|
if (isMetricSeparatorListItem(item)) {
|
|
221
250
|
return _jsx(SingleSelectListItem, { type: item.type });
|
|
222
251
|
}
|
|
252
|
+
if (isParameterDropdownListItem(item)) {
|
|
253
|
+
return (_jsx(SingleSelectListItem, { title: item.title, icon: _jsx(UiIcon, { type: "parameter", size: 16, layout: "block", color: "currentColor" }), onClick: () => {
|
|
254
|
+
onParameterSelect?.(item.ref);
|
|
255
|
+
closeDropdown();
|
|
256
|
+
} }));
|
|
257
|
+
}
|
|
223
258
|
if (isCatalogAttribute(item)) {
|
|
224
259
|
const title = getCustomItemTitle?.(item);
|
|
225
260
|
return (_jsx(AttributeListItem, { item: item, title: title, isLocationIconEnabled: shouldDisplayLocationIcon, onClick: () => {
|
|
@@ -41,6 +41,8 @@ export declare const de_DE: {
|
|
|
41
41
|
"options.menu.export.dialog.widget.EXCEL": string;
|
|
42
42
|
"options.menu.export.dialog.includeExportInfo": string;
|
|
43
43
|
"options.menu.export.EXCEL": string;
|
|
44
|
+
"options.menu.export.partialResults.exportDisabled": string;
|
|
45
|
+
"options.menu.export.partialResults.warning.dashboard": string;
|
|
44
46
|
"options.menu.export.presentation.PPTX": string;
|
|
45
47
|
"options.menu.export.presentation.PDF": string;
|
|
46
48
|
"options.menu.export.image.PNG": string;
|
|
@@ -204,6 +206,7 @@ export declare const de_DE: {
|
|
|
204
206
|
"dialogs.automation.filters.deleteAriaLabel": string;
|
|
205
207
|
"dialogs.automation.filters.deleteTooltip": string;
|
|
206
208
|
"dialogs.automation.filters.lockedTooltip": string;
|
|
209
|
+
"dialogs.automation.parameters.chip": string;
|
|
207
210
|
"dialogs.automation.filters.useFiltersMessage.tooltip": string;
|
|
208
211
|
"dialogs.automation.filters.activeFilters": string;
|
|
209
212
|
"dialogs.automation.filters.missing": string;
|
|
@@ -319,17 +322,6 @@ export declare const de_DE: {
|
|
|
319
322
|
"partial_data_warning.hide_details": string;
|
|
320
323
|
"partial_data_warning.close": string;
|
|
321
324
|
"partial_data_warning.export_raw": string;
|
|
322
|
-
"partial_data_warning.description": string;
|
|
323
|
-
"partial_data_warning.rows.description": string;
|
|
324
|
-
"partial_data_warning.rows.description.unknown_total": string;
|
|
325
|
-
"partial_data_warning.columns.description": string;
|
|
326
|
-
"partial_data_warning.columns.description.unknown_total": string;
|
|
327
|
-
"partial_data_warning.rows_columns.description": string;
|
|
328
|
-
"partial_data_warning.rows_columns.description.unknown_column_total": string;
|
|
329
|
-
"partial_data_warning.rows_columns.description.unknown_row_total": string;
|
|
330
|
-
"partial_data_warning.rows_columns.description.unknown_total": string;
|
|
331
|
-
"partial_data_warning.cells.description": string;
|
|
332
|
-
"partial_data_warning.cells.description.unknown_total": string;
|
|
333
325
|
"export_unsupported.disabled": string;
|
|
334
326
|
"widget.options.description": string;
|
|
335
327
|
"widget.options.menu.exportToCSV": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de-DE.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/de-DE.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"de-DE.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/de-DE.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm2BjB,CAAC"}
|
|
@@ -43,6 +43,8 @@ export const de_DE = {
|
|
|
43
43
|
"options.menu.export.dialog.widget.EXCEL": "Formatierte Daten exportieren (.xlsx)",
|
|
44
44
|
"options.menu.export.dialog.includeExportInfo": "Blatt mit Exportinformationen einfügen",
|
|
45
45
|
"options.menu.export.EXCEL": "Daten (.xlsx)",
|
|
46
|
+
"options.menu.export.partialResults.exportDisabled": "Export nicht möglich, da die Visualisierung die Ergebnislimits überschreitet.",
|
|
47
|
+
"options.menu.export.partialResults.warning.dashboard": "Einige Visualisierungen überschreiten die Ergebnisgrenzen und werden nicht in den XLSX-Export aufgenommen.",
|
|
46
48
|
"options.menu.export.presentation.PPTX": "Slide Deck (.pptx)",
|
|
47
49
|
"options.menu.export.presentation.PDF": "Slide Deck (.pdf)",
|
|
48
50
|
"options.menu.export.image.PNG": "Schnappschuss (.png)",
|
|
@@ -206,6 +208,7 @@ export const de_DE = {
|
|
|
206
208
|
"dialogs.automation.filters.deleteAriaLabel": "Filter entfernen",
|
|
207
209
|
"dialogs.automation.filters.deleteTooltip": "Filter entfernen",
|
|
208
210
|
"dialogs.automation.filters.lockedTooltip": "Dieser Filter ist gesperrt und kann nicht entfernt werden.",
|
|
211
|
+
"dialogs.automation.parameters.chip": "{title} ist {value}",
|
|
209
212
|
"dialogs.automation.filters.useFiltersMessage.tooltip": "Aktivieren Sie dieses Kontrollkästchen, um diese Filter für jeden Export aufzubewahren. Wenn diese Option deaktiviert ist, verwendet der Export die neuesten Standardfilter aus dem Dashboard.",
|
|
210
213
|
"dialogs.automation.filters.activeFilters": "Hinweis: Diese Filter werden immer für zukünftige Exporte verwendet.",
|
|
211
214
|
"dialogs.automation.filters.missing": "<b>Warnung:</b> Einige Filter konnten nicht angewendet werden — sie sind im Dashboard nicht mehr verfügbar.",
|
|
@@ -321,17 +324,6 @@ export const de_DE = {
|
|
|
321
324
|
"partial_data_warning.hide_details": "Details ausblenden",
|
|
322
325
|
"partial_data_warning.close": "Warnung zu Teildaten schließen",
|
|
323
326
|
"partial_data_warning.export_raw": "Vollständiges Ergebnis als Raw (.csv) exportieren",
|
|
324
|
-
"partial_data_warning.description": "Das Ergebnis überschreitet eine Ergebnisgrößenbegrenzung.",
|
|
325
|
-
"partial_data_warning.rows.description": "Das Ergebnis überschreitet das {rowLimit} Zeilenlimit um {rowOverflow} Zeilen.",
|
|
326
|
-
"partial_data_warning.rows.description.unknown_total": "Das Ergebnis überschreitet das {rowLimit} Zeilenlimit.",
|
|
327
|
-
"partial_data_warning.columns.description": "Das Ergebnis überschreitet die {columnLimit} Spaltengrenze um {columnOverflow} Spalten.",
|
|
328
|
-
"partial_data_warning.columns.description.unknown_total": "Das Ergebnis überschreitet die {columnLimit} Spaltengrenze.",
|
|
329
|
-
"partial_data_warning.rows_columns.description": "Das Ergebnis überschreitet sowohl die {columnLimit} Spaltengrenze als auch das {rowLimit} Zeilenlimit um {columnOverflow} Spalten und {rowOverflow} Zeilen.",
|
|
330
|
-
"partial_data_warning.rows_columns.description.unknown_column_total": "Das Ergebnis überschreitet sowohl die {columnLimit} Spaltengrenze als auch das {rowLimit} Zeilenlimit. Es überschreitet das Zeilenlimit um {rowOverflow} Zeilen.",
|
|
331
|
-
"partial_data_warning.rows_columns.description.unknown_row_total": "Das Ergebnis überschreitet sowohl die {columnLimit} Spaltengrenze als auch das {rowLimit} Zeilenlimit. Es überschreitet die Spaltengrenze um {columnOverflow} Spalten.",
|
|
332
|
-
"partial_data_warning.rows_columns.description.unknown_total": "Das Ergebnis überschreitet sowohl die {columnLimit} Spaltengrenze als auch das {rowLimit} Zeilenlimit.",
|
|
333
|
-
"partial_data_warning.cells.description": "Das Ergebnis überschreitet die {cellLimit} Datenpunktgrenze um {cellOverflow} Datenpunkte.",
|
|
334
|
-
"partial_data_warning.cells.description.unknown_total": "Das Ergebnis überschreitet die {cellLimit} Datenpunktgrenze.",
|
|
335
327
|
"export_unsupported.disabled": "Es wird kein Export unterstützt",
|
|
336
328
|
"widget.options.description": "Beschreibung",
|
|
337
329
|
"widget.options.menu.exportToCSV": "Nach CSV exportieren",
|
|
@@ -41,6 +41,8 @@ export declare const en_AU: {
|
|
|
41
41
|
"options.menu.export.dialog.widget.EXCEL": string;
|
|
42
42
|
"options.menu.export.dialog.includeExportInfo": string;
|
|
43
43
|
"options.menu.export.EXCEL": string;
|
|
44
|
+
"options.menu.export.partialResults.exportDisabled": string;
|
|
45
|
+
"options.menu.export.partialResults.warning.dashboard": string;
|
|
44
46
|
"options.menu.export.presentation.PPTX": string;
|
|
45
47
|
"options.menu.export.presentation.PDF": string;
|
|
46
48
|
"options.menu.export.image.PNG": string;
|
|
@@ -204,6 +206,7 @@ export declare const en_AU: {
|
|
|
204
206
|
"dialogs.automation.filters.deleteAriaLabel": string;
|
|
205
207
|
"dialogs.automation.filters.deleteTooltip": string;
|
|
206
208
|
"dialogs.automation.filters.lockedTooltip": string;
|
|
209
|
+
"dialogs.automation.parameters.chip": string;
|
|
207
210
|
"dialogs.automation.filters.useFiltersMessage.tooltip": string;
|
|
208
211
|
"dialogs.automation.filters.activeFilters": string;
|
|
209
212
|
"dialogs.automation.filters.missing": string;
|
|
@@ -319,17 +322,6 @@ export declare const en_AU: {
|
|
|
319
322
|
"partial_data_warning.hide_details": string;
|
|
320
323
|
"partial_data_warning.close": string;
|
|
321
324
|
"partial_data_warning.export_raw": string;
|
|
322
|
-
"partial_data_warning.description": string;
|
|
323
|
-
"partial_data_warning.rows.description": string;
|
|
324
|
-
"partial_data_warning.rows.description.unknown_total": string;
|
|
325
|
-
"partial_data_warning.columns.description": string;
|
|
326
|
-
"partial_data_warning.columns.description.unknown_total": string;
|
|
327
|
-
"partial_data_warning.rows_columns.description": string;
|
|
328
|
-
"partial_data_warning.rows_columns.description.unknown_column_total": string;
|
|
329
|
-
"partial_data_warning.rows_columns.description.unknown_row_total": string;
|
|
330
|
-
"partial_data_warning.rows_columns.description.unknown_total": string;
|
|
331
|
-
"partial_data_warning.cells.description": string;
|
|
332
|
-
"partial_data_warning.cells.description.unknown_total": string;
|
|
333
325
|
"export_unsupported.disabled": string;
|
|
334
326
|
"widget.options.description": string;
|
|
335
327
|
"widget.options.menu.exportToCSV": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-AU.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-AU.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-AU.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-AU.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm2BjB,CAAC"}
|
|
@@ -43,6 +43,8 @@ export const en_AU = {
|
|
|
43
43
|
"options.menu.export.dialog.widget.EXCEL": "Export formatted data (.xlsx)",
|
|
44
44
|
"options.menu.export.dialog.includeExportInfo": "Include sheet with export information",
|
|
45
45
|
"options.menu.export.EXCEL": "Data (.xlsx)",
|
|
46
|
+
"options.menu.export.partialResults.exportDisabled": "Cannot export, because visualisation exceeds result limits.",
|
|
47
|
+
"options.menu.export.partialResults.warning.dashboard": "Some visualisations exceed result limits and won’t be included in the XLSX export.",
|
|
46
48
|
"options.menu.export.presentation.PPTX": "Slide Deck (.pptx)",
|
|
47
49
|
"options.menu.export.presentation.PDF": "Slide Deck (.pdf)",
|
|
48
50
|
"options.menu.export.image.PNG": "Snapshot (.png)",
|
|
@@ -206,6 +208,7 @@ export const en_AU = {
|
|
|
206
208
|
"dialogs.automation.filters.deleteAriaLabel": "Remove filter",
|
|
207
209
|
"dialogs.automation.filters.deleteTooltip": "Remove filter",
|
|
208
210
|
"dialogs.automation.filters.lockedTooltip": "This filter is locked and cannot be removed.",
|
|
211
|
+
"dialogs.automation.parameters.chip": "{title} is {value}",
|
|
209
212
|
"dialogs.automation.filters.useFiltersMessage.tooltip": "Select this option to retain these filters for every export. If not selected, the export will apply the most recent default filters from the dashboard.",
|
|
210
213
|
"dialogs.automation.filters.activeFilters": "Note: These filters will always be used for future exports.",
|
|
211
214
|
"dialogs.automation.filters.missing": "<b>Warning:</b> Some filters couldn’t be applied — they’re no longer available on the dashboard.",
|
|
@@ -321,17 +324,6 @@ export const en_AU = {
|
|
|
321
324
|
"partial_data_warning.hide_details": "Hide details",
|
|
322
325
|
"partial_data_warning.close": "Dismiss partial data warning",
|
|
323
326
|
"partial_data_warning.export_raw": "Export full result as Raw (.csv)",
|
|
324
|
-
"partial_data_warning.description": "The result exceeds a result size limit.",
|
|
325
|
-
"partial_data_warning.rows.description": "The result exceeds the {rowLimit} row limit by {rowOverflow} rows.",
|
|
326
|
-
"partial_data_warning.rows.description.unknown_total": "The result exceeds the {rowLimit} row limit.",
|
|
327
|
-
"partial_data_warning.columns.description": "The result exceeds the {columnLimit} columns limit by {columnOverflow} columns.",
|
|
328
|
-
"partial_data_warning.columns.description.unknown_total": "The result exceeds the {columnLimit} columns limit.",
|
|
329
|
-
"partial_data_warning.rows_columns.description": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit by {columnOverflow} columns and {rowOverflow} rows.",
|
|
330
|
-
"partial_data_warning.rows_columns.description.unknown_column_total": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit. It exceeds the row limit by {rowOverflow} rows.",
|
|
331
|
-
"partial_data_warning.rows_columns.description.unknown_row_total": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit. It exceeds the columns limit by {columnOverflow} columns.",
|
|
332
|
-
"partial_data_warning.rows_columns.description.unknown_total": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit.",
|
|
333
|
-
"partial_data_warning.cells.description": "The result exceeds the {cellLimit} datapoint limit by {cellOverflow} datapoints.",
|
|
334
|
-
"partial_data_warning.cells.description.unknown_total": "The result exceeds the {cellLimit} datapoint limit.",
|
|
335
327
|
"export_unsupported.disabled": "Export is not supported",
|
|
336
328
|
"widget.options.description": "Description",
|
|
337
329
|
"widget.options.menu.exportToCSV": "Export to CSV",
|
|
@@ -41,6 +41,8 @@ export declare const en_GB: {
|
|
|
41
41
|
"options.menu.export.dialog.widget.EXCEL": string;
|
|
42
42
|
"options.menu.export.dialog.includeExportInfo": string;
|
|
43
43
|
"options.menu.export.EXCEL": string;
|
|
44
|
+
"options.menu.export.partialResults.exportDisabled": string;
|
|
45
|
+
"options.menu.export.partialResults.warning.dashboard": string;
|
|
44
46
|
"options.menu.export.presentation.PPTX": string;
|
|
45
47
|
"options.menu.export.presentation.PDF": string;
|
|
46
48
|
"options.menu.export.image.PNG": string;
|
|
@@ -204,6 +206,7 @@ export declare const en_GB: {
|
|
|
204
206
|
"dialogs.automation.filters.deleteAriaLabel": string;
|
|
205
207
|
"dialogs.automation.filters.deleteTooltip": string;
|
|
206
208
|
"dialogs.automation.filters.lockedTooltip": string;
|
|
209
|
+
"dialogs.automation.parameters.chip": string;
|
|
207
210
|
"dialogs.automation.filters.useFiltersMessage.tooltip": string;
|
|
208
211
|
"dialogs.automation.filters.activeFilters": string;
|
|
209
212
|
"dialogs.automation.filters.missing": string;
|
|
@@ -319,17 +322,6 @@ export declare const en_GB: {
|
|
|
319
322
|
"partial_data_warning.hide_details": string;
|
|
320
323
|
"partial_data_warning.close": string;
|
|
321
324
|
"partial_data_warning.export_raw": string;
|
|
322
|
-
"partial_data_warning.description": string;
|
|
323
|
-
"partial_data_warning.rows.description": string;
|
|
324
|
-
"partial_data_warning.rows.description.unknown_total": string;
|
|
325
|
-
"partial_data_warning.columns.description": string;
|
|
326
|
-
"partial_data_warning.columns.description.unknown_total": string;
|
|
327
|
-
"partial_data_warning.rows_columns.description": string;
|
|
328
|
-
"partial_data_warning.rows_columns.description.unknown_column_total": string;
|
|
329
|
-
"partial_data_warning.rows_columns.description.unknown_row_total": string;
|
|
330
|
-
"partial_data_warning.rows_columns.description.unknown_total": string;
|
|
331
|
-
"partial_data_warning.cells.description": string;
|
|
332
|
-
"partial_data_warning.cells.description.unknown_total": string;
|
|
333
325
|
"export_unsupported.disabled": string;
|
|
334
326
|
"widget.options.description": string;
|
|
335
327
|
"widget.options.menu.exportToCSV": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-GB.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-GB.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-GB.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-GB.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAm2BjB,CAAC"}
|
|
@@ -43,6 +43,8 @@ export const en_GB = {
|
|
|
43
43
|
"options.menu.export.dialog.widget.EXCEL": "Export formatted data (.xlsx)",
|
|
44
44
|
"options.menu.export.dialog.includeExportInfo": "Include sheet with export information",
|
|
45
45
|
"options.menu.export.EXCEL": "Data (.xlsx)",
|
|
46
|
+
"options.menu.export.partialResults.exportDisabled": "Cannot export, because visualisation exceeds result limits.",
|
|
47
|
+
"options.menu.export.partialResults.warning.dashboard": "Some visualisations exceed result limits and won’t be included in the XLSX export.",
|
|
46
48
|
"options.menu.export.presentation.PPTX": "Slide Deck (.pptx)",
|
|
47
49
|
"options.menu.export.presentation.PDF": "Slide Deck (.pdf)",
|
|
48
50
|
"options.menu.export.image.PNG": "Snapshot (.png)",
|
|
@@ -206,6 +208,7 @@ export const en_GB = {
|
|
|
206
208
|
"dialogs.automation.filters.deleteAriaLabel": "Remove filter",
|
|
207
209
|
"dialogs.automation.filters.deleteTooltip": "Remove filter",
|
|
208
210
|
"dialogs.automation.filters.lockedTooltip": "This filter is locked and cannot be removed",
|
|
211
|
+
"dialogs.automation.parameters.chip": "{title} is {value}",
|
|
209
212
|
"dialogs.automation.filters.useFiltersMessage.tooltip": "Select to retain these filters for each export. If not selected, the export will utilise the most recent default filters from the dashboard.",
|
|
210
213
|
"dialogs.automation.filters.activeFilters": "Note: These filters will always be used for future exports.",
|
|
211
214
|
"dialogs.automation.filters.missing": "<b>Warning:</b> Some filters couldn't be applied — they're no longer available on the dashboard.",
|
|
@@ -321,17 +324,6 @@ export const en_GB = {
|
|
|
321
324
|
"partial_data_warning.hide_details": "Hide details",
|
|
322
325
|
"partial_data_warning.close": "Dismiss partial data warning",
|
|
323
326
|
"partial_data_warning.export_raw": "Export full result as Raw (.csv)",
|
|
324
|
-
"partial_data_warning.description": "The result exceeds a result size limit.",
|
|
325
|
-
"partial_data_warning.rows.description": "The result exceeds the {rowLimit} row limit by {rowOverflow} rows.",
|
|
326
|
-
"partial_data_warning.rows.description.unknown_total": "The result exceeds the {rowLimit} row limit.",
|
|
327
|
-
"partial_data_warning.columns.description": "The result exceeds the {columnLimit} columns limit by {columnOverflow} columns.",
|
|
328
|
-
"partial_data_warning.columns.description.unknown_total": "The result exceeds the {columnLimit} columns limit.",
|
|
329
|
-
"partial_data_warning.rows_columns.description": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit by {columnOverflow} columns and {rowOverflow} rows.",
|
|
330
|
-
"partial_data_warning.rows_columns.description.unknown_column_total": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit. It exceeds the row limit by {rowOverflow} rows.",
|
|
331
|
-
"partial_data_warning.rows_columns.description.unknown_row_total": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit. It exceeds the columns limit by {columnOverflow} columns.",
|
|
332
|
-
"partial_data_warning.rows_columns.description.unknown_total": "The result exceeds both the {columnLimit} columns and the {rowLimit} row limit.",
|
|
333
|
-
"partial_data_warning.cells.description": "The result exceeds the {cellLimit} datapoint limit by {cellOverflow} datapoints.",
|
|
334
|
-
"partial_data_warning.cells.description.unknown_total": "The result exceeds the {cellLimit} datapoint limit.",
|
|
335
327
|
"export_unsupported.disabled": "Export is not supported",
|
|
336
328
|
"widget.options.description": "Description",
|
|
337
329
|
"widget.options.menu.exportToCSV": "Export to CSV",
|