@gooddata/sdk-ui-dashboard 11.47.0-alpha.1 → 11.47.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 +5 -5
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/_staging/automation/index.d.ts +7 -1
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +8 -0
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/kdaDialog/composition/hooks/useDataViewWithConfig.d.ts.map +1 -1
- package/esm/kdaDialog/composition/hooks/useDataViewWithConfig.js +11 -1
- package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +5 -5
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.d.ts +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadDashboardParameters.js +4 -3
- package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts +2 -2
- package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/filterViewParameters.js +6 -11
- package/esm/model/store/config/configSelectors.d.ts +6 -6
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +8 -8
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +43 -10
- package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersHelpers.js +66 -27
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts +3 -3
- package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersReducers.js +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +25 -4
- package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
- package/esm/model/store/tabs/parameters/parametersSelectors.js +59 -28
- package/esm/model/store/tabs/parameters/parametersState.d.ts +2 -2
- package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.js +2 -2
- package/esm/presentation/automations/connectors/hooks/useBuildAlertingDialogContext.test.js +1 -1
- package/esm/presentation/automations/connectors/hooks/useBuildScheduledEmailDialogContext.js +2 -2
- package/esm/presentation/automations/connectors/hooks/useBuildScheduledEmailDialogContext.test.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +6 -10
- package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/automationParameters.js +8 -4
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js +2 -2
- package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.d.ts.map +1 -1
- package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.js +2 -2
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +6 -5
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.d.ts.map +1 -1
- package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.js +4 -5
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +0 -20
- package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.localization-bundle.js +0 -20
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-419.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +0 -8
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +0 -8
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +0 -8
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +2 -41
- package/esm/sdk-ui-dashboard.d.ts +5 -11
- package/package.json +21 -21
- package/styles/css/dashboard.css +7 -0
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/drillConfigPanel.css +0 -70
- package/styles/css/drillConfigPanel.css.map +1 -1
- package/styles/css/main.css +12 -71
- package/styles/css/main.css.map +1 -1
- package/styles/css/notifications_channels_dialog.css +7 -0
- package/styles/css/notifications_channels_dialog.css.map +1 -1
- package/styles/css/pdfExportDialog.css +5 -1
- package/styles/css/pdfExportDialog.css.map +1 -1
- package/styles/scss/drillConfigPanel.scss +0 -79
- package/styles/scss/notifications_channels_dialog.scss +9 -0
- package/styles/scss/pdfExportDialog.scss +7 -2
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.d.ts +0 -8
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributes.js +0 -48
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.d.ts +0 -23
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.d.ts.map +0 -1
- package/esm/presentation/widget/insight/configuration/DrillIntersectionIgnoredAttributesSelect.js +0 -77
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IDashboardParameter, type IDashboardTab } from "@gooddata/sdk-model";
|
|
1
|
+
import { type IDashboardParameter, type IDashboardTab, type ParameterValue } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* Per-parameter state tracked by the dashboard store.
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export interface IDashboardParameterEntry {
|
|
|
17
17
|
* off, failed, or missing for the ref). Such entries are skipped when building widget
|
|
18
18
|
* execution overrides so the backend keeps using the parameter's own default.
|
|
19
19
|
*/
|
|
20
|
-
runtimeOverride:
|
|
20
|
+
runtimeOverride: ParameterValue | undefined;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* @alpha
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parametersState.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"parametersState.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAExG;;;;;;;;;GASG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,mBAAmB,CAAC;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,UAAU,EAAE,wBAAwB,EAAE,CAAC;CAC1C;AAED,eAAO,MAAM,sBAAsB,EAAE,gBAEpC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACnC,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,EACrC,cAAc,EAAE,mBAAmB,EAAE,GAAG,SAAS,GAClD,mBAAmB,EAAE,GAAG,SAAS,CAMnC"}
|
|
@@ -7,7 +7,7 @@ import { selectExecutionResultEntities } from "../../../../model/store/execution
|
|
|
7
7
|
import { selectAutomationCommonDateFilterId, selectAutomationDefaultSelectedFilters, selectDashboardHiddenFilters, } from "../../../../model/store/filtering/dashboardFilterSelectors.js";
|
|
8
8
|
import { selectDashboardId, selectEvaluationFrequency } from "../../../../model/store/meta/metaSelectors.js";
|
|
9
9
|
import { selectWidgetLocalIdToTabIdMap } from "../../../../model/store/tabs/layout/layoutSelectors.js";
|
|
10
|
-
import {
|
|
10
|
+
import { selectAutomationParameterValuesForWidget } from "../../../../model/store/tabs/parameters/parametersSelectors.js";
|
|
11
11
|
import { getWidgetTitle } from "../../../../model/utils/dashboardItemUtils.js";
|
|
12
12
|
import { useCommandAsPromise, useDeleteAutomation } from "./useCommandAsPromise.js";
|
|
13
13
|
export function useBuildAlertingDialogContext(opts) {
|
|
@@ -19,7 +19,7 @@ export function useBuildAlertingDialogContext(opts) {
|
|
|
19
19
|
const executionResultEntities = useDashboardSelector(selectExecutionResultEntities);
|
|
20
20
|
const commonDateFilterId = useDashboardSelector(selectAutomationCommonDateFilterId);
|
|
21
21
|
const dashboardEvaluationFrequency = useDashboardSelector(selectEvaluationFrequency);
|
|
22
|
-
const parameterValues = useDashboardSelector(
|
|
22
|
+
const parameterValues = useDashboardSelector(selectAutomationParameterValuesForWidget(widget?.ref));
|
|
23
23
|
const widgetTitle = useMemo(() => {
|
|
24
24
|
if (widget) {
|
|
25
25
|
return getWidgetTitle(widget);
|
|
@@ -43,7 +43,7 @@ vi.mock("../../../../model/store/tabs/layout/layoutSelectors.js", () => ({
|
|
|
43
43
|
selectWidgetLocalIdToTabIdMap: () => ({}),
|
|
44
44
|
}));
|
|
45
45
|
vi.mock("../../../../model/store/tabs/parameters/parametersSelectors.js", () => ({
|
|
46
|
-
|
|
46
|
+
selectAutomationParameterValuesForWidget: () => () => [],
|
|
47
47
|
}));
|
|
48
48
|
vi.mock("../../../../model/utils/dashboardItemUtils.js", () => ({
|
|
49
49
|
getWidgetTitle: () => "widget title",
|
package/esm/presentation/automations/connectors/hooks/useBuildScheduledEmailDialogContext.js
CHANGED
|
@@ -12,7 +12,7 @@ import { selectEffectiveAttributeFiltersModeMap } from "../../../../model/store/
|
|
|
12
12
|
import { selectEffectiveDateFilterMode } from "../../../../model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.js";
|
|
13
13
|
import { selectEffectiveDateFiltersModeMap } from "../../../../model/store/tabs/dateFilterConfigs/dateFilterConfigsSelectors.js";
|
|
14
14
|
import { selectWidgetLocalIdToTabIdMap } from "../../../../model/store/tabs/layout/layoutSelectors.js";
|
|
15
|
-
import {
|
|
15
|
+
import { selectAutomationExportEffectiveParameters } from "../../../../model/store/tabs/parameters/parametersSelectors.js";
|
|
16
16
|
import { selectTabs } from "../../../../model/store/tabs/tabsSelectors.js";
|
|
17
17
|
import { getWidgetTitle } from "../../../../model/utils/dashboardItemUtils.js";
|
|
18
18
|
import { useCommandAsPromise, useDeleteAutomation } from "./useCommandAsPromise.js";
|
|
@@ -24,7 +24,7 @@ export function useBuildScheduledEmailDialogContext(opts) {
|
|
|
24
24
|
const dashboardTitle = useDashboardSelector(selectDashboardTitle);
|
|
25
25
|
const widgetLocalIdToTabIdMap = useDashboardSelector(selectWidgetLocalIdToTabIdMap);
|
|
26
26
|
const commonDateFilterId = useDashboardSelector(selectAutomationCommonDateFilterId);
|
|
27
|
-
const exportParametersByTab = useDashboardSelector(
|
|
27
|
+
const exportParametersByTab = useDashboardSelector(selectAutomationExportEffectiveParameters(widget ? [objRefToString(widget.ref)] : undefined));
|
|
28
28
|
const exportTemplates = useExportTemplates();
|
|
29
29
|
const dateFormat = useDashboardSelector(selectDateFormat);
|
|
30
30
|
const isCrossFiltering = useDashboardSelector(selectIsCrossFiltering);
|
package/esm/presentation/automations/connectors/hooks/useBuildScheduledEmailDialogContext.test.js
CHANGED
|
@@ -60,7 +60,7 @@ vi.mock("../../../../model/store/tabs/tabsSelectors.js", () => ({
|
|
|
60
60
|
selectTabs: () => [],
|
|
61
61
|
}));
|
|
62
62
|
vi.mock("../../../../model/store/tabs/parameters/parametersSelectors.js", () => ({
|
|
63
|
-
|
|
63
|
+
selectAutomationExportEffectiveParameters: () => () => ({}),
|
|
64
64
|
}));
|
|
65
65
|
vi.mock("../../../../model/react/useExportTemplates.js", () => ({
|
|
66
66
|
useExportTemplates: () => [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentSettings.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,4CAA4C,EAIpD,MAAM,qBAAqB,CAAC;AAkC7B,KAAK,WAAW,GAAG,WAAW,CAAC,4CAA4C,CAAC,UAAU,CAAC,CAAC,CAAC;AAIzF,KAAK,uBAAuB,GAAG,MAAM,GAAG,aAAa,GAAG,KAAK,GAAG,SAAS,CAAC;AAE1E,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,QAAQ,EAAE,4CAA4C,CAAC;IACvD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;IACnF,kBAAkB,CAAC,EAAE,WAAW,CAAC;CACpC;AA6BD,wBAAgB,kBAAkB,CAAC,EAC/B,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,kBAAkB,EACrB,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"AttachmentSettings.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,4CAA4C,EAIpD,MAAM,qBAAqB,CAAC;AAkC7B,KAAK,WAAW,GAAG,WAAW,CAAC,4CAA4C,CAAC,UAAU,CAAC,CAAC,CAAC;AAIzF,KAAK,uBAAuB,GAAG,MAAM,GAAG,aAAa,GAAG,KAAK,GAAG,SAAS,CAAC;AAE1E,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,QAAQ,EAAE,4CAA4C,CAAC;IACvD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,4CAA4C,KAAK,IAAI,CAAC;IACnF,kBAAkB,CAAC,EAAE,WAAW,CAAC;CACpC;AA6BD,wBAAgB,kBAAkB,CAAC,EAC/B,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,kBAAkB,EACrB,EAAE,wBAAwB,2CA2W1B"}
|
|
@@ -52,7 +52,9 @@ export function AttachmentSettings({ type, settings, onSettingsChange, defaultPd
|
|
|
52
52
|
const [pageSize, setPageSize] = useState(resolvedDefaultPageSize);
|
|
53
53
|
const [pageOrientation, setPageOrientation] = useState(legacyPageOrientation ?? DEFAULT_PDF_PAGE_ORIENTATION);
|
|
54
54
|
const [csvDelimiterValue, setCsvDelimiterValue] = useState(resolvedCsvState);
|
|
55
|
+
const pageSizeDropdownButtonId = useId();
|
|
55
56
|
const pageSizeMenuId = useId();
|
|
57
|
+
const orientationDropdownButtonId = useId();
|
|
56
58
|
const orientationMenuId = useId();
|
|
57
59
|
const settingsLabel = isPdfTabular
|
|
58
60
|
? intl.formatMessage({ id: "dialogs.export.pdf.headline" })
|
|
@@ -140,12 +142,9 @@ export function AttachmentSettings({ type, settings, onSettingsChange, defaultPd
|
|
|
140
142
|
ariaLabel: intl.formatMessage({ id: "close" }),
|
|
141
143
|
ariaDescribedBy: AUTOMATION_ATTACHMENT_SETTINGS_DIALOG_TITLE_ID,
|
|
142
144
|
} }) }), _jsx("div", { className: "gd-attachment-settings-dropdown-content", children: isPdfTabular ? (_jsxs(_Fragment, { children: [
|
|
143
|
-
_jsxs("div", { className: "gd-pdf-export-dialog-item", children: [
|
|
144
|
-
_jsx("
|
|
145
|
+
_jsxs("div", { className: "gd-input gd-pdf-export-dialog-item", children: [
|
|
146
|
+
_jsx("label", { className: "gd-label", htmlFor: pageSizeDropdownButtonId, children: _jsx(FormattedMessage, { id: "dialogs.export.pdf.pageSize" }) }), _jsx(Dropdown, { fullscreenOnMobile: false, renderButton: ({ isOpen, toggleDropdown }) => (_jsx(DropdownButton, { id: pageSizeDropdownButtonId, value: pageSizeMenuItems.find((item) => item.data === pageSize)
|
|
145
147
|
?.stringTitle, isOpen: isOpen, onClick: toggleDropdown, accessibilityConfig: {
|
|
146
|
-
ariaLabel: intl.formatMessage({
|
|
147
|
-
id: "dialogs.export.pdf.pageSize",
|
|
148
|
-
}),
|
|
149
148
|
ariaHaspopup: "true",
|
|
150
149
|
ariaExpanded: isOpen,
|
|
151
150
|
...(isOpen
|
|
@@ -163,11 +162,8 @@ export function AttachmentSettings({ type, settings, onSettingsChange, defaultPd
|
|
|
163
162
|
id: "dialogs.export.pdf.pageSize",
|
|
164
163
|
}),
|
|
165
164
|
id: `pdf-page-size-menu-${pageSizeMenuId}`,
|
|
166
|
-
}, maxWidth: 150 })), autofocusOnOpen: true })] }), _jsxs("div", { className: "gd-pdf-export-dialog-item", children: [
|
|
167
|
-
_jsx("
|
|
168
|
-
ariaLabel: intl.formatMessage({
|
|
169
|
-
id: "dialogs.export.pdf.pageOrientation",
|
|
170
|
-
}),
|
|
165
|
+
}, maxWidth: 150 })), autofocusOnOpen: true })] }), _jsxs("div", { className: "gd-input gd-pdf-export-dialog-item", children: [
|
|
166
|
+
_jsx("label", { className: "gd-label", htmlFor: orientationDropdownButtonId, children: _jsx(FormattedMessage, { id: "dialogs.export.pdf.pageOrientation" }) }), _jsx(Dropdown, { fullscreenOnMobile: false, renderButton: ({ isOpen, toggleDropdown }) => (_jsx(DropdownButton, { id: orientationDropdownButtonId, value: orientationMenuItems.find((item) => item.data === pageOrientation)?.stringTitle, isOpen: isOpen, onClick: toggleDropdown, accessibilityConfig: {
|
|
171
167
|
ariaHaspopup: "true",
|
|
172
168
|
ariaExpanded: isOpen,
|
|
173
169
|
...(isOpen
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automationParameters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/automationParameters.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,sBAAsB,EAE3B,KAAK,mCAAmC,EACxC,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAIrB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"automationParameters.d.ts","sourceRoot":"","sources":["../../../../../src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AAE,GACpC,OAAO,CAMT;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,sBAAsB,EAAE,EAChC,OAAO,EAAE,wBAAwB,EAAE,GACpC,sBAAsB,EAAE,CAG1B;AAED;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CAClD,UAAU,EAAE,oBAAoB,EAAE,GACnC,yBAAyB,EAAE,CAM7B;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACtC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,EACvD,WAAW,EAAE,OAAO,GACrB,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,CASzD;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,gBAAgB,EAAE,OAAO,EAAE,YAAY,UAAQ,GAAG,OAAO,CAEpG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
import { DashboardParameterModeValues, isIdentifierRef, isNumberParameterDefinition, objRefToString, } from "@gooddata/sdk-model";
|
|
3
|
-
import { exportParametersToValues } from "../../../../_staging/automation/index.js";
|
|
3
|
+
import { exportParametersToValues, isAutomationSupportedParameterValue, } from "../../../../_staging/automation/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* Stored {@link IInsightParameterValue} overrides carry only {ref, value}; title, mode and
|
|
6
6
|
* constraints are re-derived from the current dashboard and workspace catalog.
|
|
@@ -10,7 +10,10 @@ import { exportParametersToValues } from "../../../../_staging/automation/index.
|
|
|
10
10
|
export function reconstructAutomationParametersFromValues(stored, dashboardParameters, catalog) {
|
|
11
11
|
const dashboardByRef = new Map(dashboardParameters.map((parameter) => [objRefToString(parameter.ref), parameter]));
|
|
12
12
|
const workspaceByRef = new Map(catalog.map((parameter) => [objRefToString(parameter.ref), parameter]));
|
|
13
|
-
return stored.
|
|
13
|
+
return stored.flatMap((row) => {
|
|
14
|
+
if (!isAutomationSupportedParameterValue(row.value)) {
|
|
15
|
+
return [];
|
|
16
|
+
}
|
|
14
17
|
const refKey = objRefToString(row.ref);
|
|
15
18
|
const dashboardParameter = dashboardByRef.get(refKey);
|
|
16
19
|
const workspaceParameter = workspaceByRef.get(refKey);
|
|
@@ -63,11 +66,12 @@ export function availableAutomationParameters(catalog, selected, dashboardParame
|
|
|
63
66
|
continue;
|
|
64
67
|
}
|
|
65
68
|
const { defaultValue, constraints } = workspaceParameter.definition;
|
|
69
|
+
// mirror the live-render precedence: runtimeOverride/insight value > dashboard value > default
|
|
70
|
+
const effectiveValue = widgetValueByRef.get(refKey) ?? dashboardParameter?.value ?? defaultValue;
|
|
66
71
|
result.push({
|
|
67
72
|
ref,
|
|
68
73
|
title: dashboardParameter?.label ?? workspaceParameter.title,
|
|
69
|
-
|
|
70
|
-
value: widgetValueByRef.get(refKey) ?? dashboardParameter?.value ?? defaultValue,
|
|
74
|
+
value: isAutomationSupportedParameterValue(effectiveValue) ? effectiveValue : defaultValue,
|
|
71
75
|
mode: DashboardParameterModeValues.ACTIVE,
|
|
72
76
|
...(constraints ? { constraints } : {}),
|
|
73
77
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationParameter.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/components/AutomationParameter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAgC,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,
|
|
1
|
+
{"version":3,"file":"AutomationParameter.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/components/AutomationParameter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAgC,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACvF,OAAO,EAGH,KAAK,mBAAmB,EAK3B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,SAAS,EAAE,oBAAoB,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,UAAU,EACb,EAAE,yBAAyB,GAAG,SAAS,CA0FvC"}
|
package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
3
|
import { DashboardParameterModeValues } from "@gooddata/sdk-model";
|
|
4
|
-
import { Dropdown,
|
|
4
|
+
import { Dropdown, NumberParameterControlDropdown, UiChip, UiTooltip, isActionKey, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
/**
|
|
6
6
|
* Workspace parameter as an editable chip in automation dialogs.
|
|
7
7
|
*
|
|
@@ -33,7 +33,7 @@ export function AutomationParameter({ parameter, onChange, onDelete, overlayPosi
|
|
|
33
33
|
if (isActionKey(event)) {
|
|
34
34
|
event.stopPropagation();
|
|
35
35
|
}
|
|
36
|
-
} })), renderBody: ({ closeDropdown, ariaAttributes }) => (_jsx(
|
|
36
|
+
} })), renderBody: ({ closeDropdown, ariaAttributes }) => (_jsx(NumberParameterControlDropdown, { name: title, value: value, constraints: constraints, inputId: valueInputId, ariaAttributes: ariaAttributes, onApply: (next) => {
|
|
37
37
|
onChange?.(ref, next);
|
|
38
38
|
closeDropdown();
|
|
39
39
|
}, onCancel: closeDropdown })) }));
|
package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAutomationExportParameters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationExportParameters.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAG9B,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,OAAO,EACH,KAAK,oBAAoB,EAK5B,MAAM,2BAA2B,CAAC;AAEnC;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAC7C,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;CAC9F;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,8BAA8B;IAC3C,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,sBAAsB,EAAE,qBAAqB,CAAC;IAC9C;;OAEG;IACH,wBAAwB,EAAE,qBAAqB,CAAC;IAChD;;;OAGG;IACH,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,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;IAChD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACjE,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnF,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;IACpE;;;OAGG;IACH,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB;;;OAGG;IACH,uBAAuB,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/D;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,EAC1C,gBAAgB,EAChB,MAAM,EACN,eAAe,EACf,iBAAiB,EACpB,EAAE,mCAAmC,GAAG,8BAA8B,
|
|
1
|
+
{"version":3,"file":"useAutomationExportParameters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationExportParameters.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAG9B,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,OAAO,EACH,KAAK,oBAAoB,EAK5B,MAAM,2BAA2B,CAAC;AAEnC;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAC7C,MAAM,CAAC,EAAE,uBAAuB,CAA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HANGED
|
@@ -7,7 +7,7 @@ import { useDashboardSelector } from "../../../../model/react/DashboardStoreProv
|
|
|
7
7
|
import { selectCatalogParameters } from "../../../../model/store/catalog/catalogSelectors.js";
|
|
8
8
|
import { selectEnableParameters } from "../../../../model/store/config/configSelectors.js";
|
|
9
9
|
import { selectWidgetLocalIdToTabIdMap } from "../../../../model/store/tabs/layout/layoutSelectors.js";
|
|
10
|
-
import {
|
|
10
|
+
import { selectAutomationExportEffectiveParameters, selectSmartPersistedTabsParameters, } from "../../../../model/store/tabs/parameters/parametersSelectors.js";
|
|
11
11
|
import { selectTabs } from "../../../../model/store/tabs/tabsSelectors.js";
|
|
12
12
|
import { availableAutomationParameters, reconstructAutomationParametersFromExportParameters, shouldStoreExportParameters, toEffectiveParametersByTab, } from "./automationParameters.js";
|
|
13
13
|
/**
|
|
@@ -20,7 +20,7 @@ export function useAutomationExportParameters({ automationToEdit, widget, storeP
|
|
|
20
20
|
const tabs = useDashboardSelector(selectTabs);
|
|
21
21
|
const widgetTabMap = useDashboardSelector(selectWidgetLocalIdToTabIdMap);
|
|
22
22
|
const widgetIds = widget ? [objRefToString(widget.ref)] : undefined;
|
|
23
|
-
const effectiveParametersByTab = useDashboardSelector(
|
|
23
|
+
const effectiveParametersByTab = useDashboardSelector(selectAutomationExportEffectiveParameters(widgetIds));
|
|
24
24
|
const flatTabId = resolveFlatTabId(widget, widgetTabMap, tabs);
|
|
25
25
|
const shouldStore = shouldStoreExportParameters(!!widget, storeParameters);
|
|
26
26
|
const [editedParametersByTab, setEditedParametersByTab] = useState(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardParameterFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/parameterFilter/DashboardParameterFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,
|
|
1
|
+
{"version":3,"file":"DashboardParameterFilter.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/parameterFilter/DashboardParameterFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAgC,KAAK,mBAAmB,EAAkB,MAAM,qBAAqB,CAAC;AAmB7G;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,SAAS,EAAE,mBAAmB,CAAC;CAClC;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,SAAS,EAAE,EAAE,8BAA8B,GAAG,YAAY,GAAG,IAAI,CA0E3G"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { defineMessages, useIntl } from "react-intl";
|
|
3
|
-
import { DashboardParameterModeValues,
|
|
4
|
-
import { Dropdown,
|
|
3
|
+
import { DashboardParameterModeValues, objRefToString } from "@gooddata/sdk-model";
|
|
4
|
+
import { Dropdown, ParameterControl, ParameterControlButton, useIdPrefixed } from "@gooddata/sdk-ui-kit";
|
|
5
5
|
import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
6
6
|
import { selectCatalogParameterByRef } from "../../../model/store/catalog/catalogSelectors.js";
|
|
7
7
|
import { selectIsInEditMode } from "../../../model/store/renderMode/renderModeSelectors.js";
|
|
8
8
|
import { tabsActions } from "../../../model/store/tabs/index.js";
|
|
9
|
+
import { matchingWorkspaceDefinition } from "../../../model/store/tabs/parameters/parametersHelpers.js";
|
|
9
10
|
import { selectParameterReconciliationByRef, selectParameterResetValueByRef, selectParameterRuntimeOverrideByRef, } from "../../../model/store/tabs/parameters/parametersSelectors.js";
|
|
10
11
|
import { DraggableChipSource } from "../../dragAndDrop/DraggableChipSource.js";
|
|
11
12
|
const messages = defineMessages({
|
|
@@ -28,17 +29,17 @@ export function DashboardParameterFilter({ parameter }) {
|
|
|
28
29
|
if (parameter.mode === DashboardParameterModeValues.HIDDEN || runtimeOverride === undefined) {
|
|
29
30
|
return null;
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
+
const definition = matchingWorkspaceDefinition(parameter, workspaceParameter);
|
|
33
|
+
if (!workspaceParameter || !definition) {
|
|
32
34
|
return null;
|
|
33
35
|
}
|
|
34
36
|
const name = parameter.label ?? workspaceParameter.title;
|
|
35
|
-
const { constraints } = workspaceParameter.definition;
|
|
36
37
|
const dragItem = { type: "parameter", ref: parameter.ref };
|
|
37
38
|
const warningTooltip = reconciliation === "reset" ? intl.formatMessage(messages.resetWarning) : undefined;
|
|
38
39
|
if (parameter.mode === DashboardParameterModeValues.READONLY) {
|
|
39
40
|
return (_jsx(DraggableChipSource, { dragItem: dragItem, canDrag: isInEditMode, children: _jsx(ParameterControlButton, { name: name, value: runtimeOverride, isActive: false, isDraggable: isInEditMode, warningTooltip: warningTooltip, "data-testid": `dashboard-parameter-${objRefToString(parameter.ref)}` }) }));
|
|
40
41
|
}
|
|
41
|
-
return (_jsx(DraggableChipSource, { dragItem: dragItem, canDrag: isInEditMode, children: _jsx(Dropdown, { autofocusOnOpen: true, initialFocus: valueInputId, closeOnEscape: true, renderButton: ({ isOpen, toggleDropdown, dropdownId }) => (_jsx(ParameterControlButton, { name: name, value: runtimeOverride, isActive: isOpen, isDraggable: isInEditMode, dropdownId: dropdownId, onClick: () => toggleDropdown(), warningTooltip: warningTooltip, "data-testid": `dashboard-parameter-${objRefToString(parameter.ref)}` })), renderBody: ({ closeDropdown, ariaAttributes }) => (_jsx(
|
|
42
|
+
return (_jsx(DraggableChipSource, { dragItem: dragItem, canDrag: isInEditMode, children: _jsx(Dropdown, { autofocusOnOpen: true, initialFocus: valueInputId, closeOnEscape: true, renderButton: ({ isOpen, toggleDropdown, dropdownId }) => (_jsx(ParameterControlButton, { name: name, value: runtimeOverride, isActive: isOpen, isDraggable: isInEditMode, dropdownId: dropdownId, onClick: () => toggleDropdown(), warningTooltip: warningTooltip, "data-testid": `dashboard-parameter-${objRefToString(parameter.ref)}` })), renderBody: ({ closeDropdown, ariaAttributes }) => (_jsx(ParameterControl, { name: name, definition: definition, value: runtimeOverride, resetValue: resetValue, inputId: valueInputId, ariaAttributes: ariaAttributes, onApply: (value) => {
|
|
42
43
|
dispatch(tabsActions.setParameterRuntimeValue({ ref: parameter.ref, value }));
|
|
43
44
|
closeDropdown();
|
|
44
45
|
}, onCancel: closeDropdown })) }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardParameterPicker.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/parameterFilter/DashboardParameterPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardParameterPicker.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/parameterFilter/DashboardParameterPicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAe1C;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,8BAA8B,GAAG,YAAY,CAmC1G"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { DashboardParameterModeValues,
|
|
2
|
+
import { DashboardParameterModeValues, isIdentifierRef } from "@gooddata/sdk-model";
|
|
3
3
|
import { ParameterPicker } from "@gooddata/sdk-ui-kit";
|
|
4
4
|
import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
|
|
5
5
|
import { selectCatalogParameters, selectCatalogParametersStatus, } from "../../../model/store/catalog/catalogSelectors.js";
|
|
@@ -19,17 +19,16 @@ export function DashboardParameterPicker({ onAdd, onCancel }) {
|
|
|
19
19
|
const isLoading = status === "loading" || status === "uninitialized";
|
|
20
20
|
return (_jsx(ParameterPicker, { parameters: parameters, excludedKeys: excludedKeys, isLoading: isLoading, maxListHeight: PICKER_MAX_LIST_HEIGHT, onAdd: (selected) => {
|
|
21
21
|
for (const { ref, definition } of selected) {
|
|
22
|
-
|
|
23
|
-
if (!isIdentifierRef(ref) || workspaceDefault === undefined) {
|
|
22
|
+
if (!isIdentifierRef(ref)) {
|
|
24
23
|
continue;
|
|
25
24
|
}
|
|
26
25
|
dispatch(tabsActions.addParameter({
|
|
27
26
|
parameter: {
|
|
28
27
|
ref,
|
|
29
|
-
parameterType:
|
|
28
|
+
parameterType: definition.type,
|
|
30
29
|
mode: DashboardParameterModeValues.ACTIVE,
|
|
31
30
|
},
|
|
32
|
-
workspaceDefault,
|
|
31
|
+
workspaceDefault: definition.defaultValue,
|
|
33
32
|
}));
|
|
34
33
|
}
|
|
35
34
|
onAdd?.();
|
|
@@ -468,11 +468,6 @@ export declare const de_DE: {
|
|
|
468
468
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": string;
|
|
469
469
|
"configurationPanel.drillConfig.select": string;
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": string;
|
|
471
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": string;
|
|
472
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": string;
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": string;
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": string;
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": string;
|
|
476
471
|
"configurationPanel.drillConfig.filterSelection.button.withCount": string;
|
|
477
472
|
"configurationPanel.drillConfig.filterSelection.subview.title": string;
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": string;
|
|
@@ -555,9 +550,6 @@ export declare const de_DE: {
|
|
|
555
550
|
"layout.widget.width.max": string;
|
|
556
551
|
"layout.widget.height.min": string;
|
|
557
552
|
"layout.widget.height.max": string;
|
|
558
|
-
"layout.widget.addedByPlugin": string;
|
|
559
|
-
"layout.widget.modifiedByPlugin": string;
|
|
560
|
-
"layout.widget.hideOverlay": string;
|
|
561
553
|
"dropzone.new.row.desc": string;
|
|
562
554
|
"dropzone.widget.desc": string;
|
|
563
555
|
"dropzone.widget.last.in.row.desc": 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAk2BjB,CAAC"}
|
|
@@ -470,11 +470,6 @@ export const de_DE = {
|
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": "Ungültige URL-Parameter",
|
|
471
471
|
"configurationPanel.drillConfig.select": "Befehl auswählen…",
|
|
472
472
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": "Der Datumsattributwert aus der Visualisierung wird nicht übertragen, um das Zieldashboard zu filtern.",
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": "Als Filter übergeben:",
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": "Als Filter übergeben",
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": "Deaktivieren Sie das Attribut oder Datum, um auszuschließen, dass sein Wert als Filter an das Drilldown-Ziel übergeben wird.",
|
|
476
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": "Alle",
|
|
477
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": "Keine",
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.button.withCount": "Verwenden von {count, plural, one {# Filter} other {# Filtern}}",
|
|
479
474
|
"configurationPanel.drillConfig.filterSelection.subview.title": "Filter",
|
|
480
475
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": "Ausgewählte Filter werden an das Drill-Ziel übergeben.",
|
|
@@ -557,9 +552,6 @@ export const de_DE = {
|
|
|
557
552
|
"layout.widget.width.max": "Das Widget kann nicht breiter sein",
|
|
558
553
|
"layout.widget.height.min": "Das Widget befindet sich auf der minimalen Höhe",
|
|
559
554
|
"layout.widget.height.max": "Das Widget befindet sich auf der maximalen Höhe",
|
|
560
|
-
"layout.widget.addedByPlugin": "Über Plugin hinzugefügt",
|
|
561
|
-
"layout.widget.modifiedByPlugin": "Über Plugin bearbeitet",
|
|
562
|
-
"layout.widget.hideOverlay": "Overlay ausblenden",
|
|
563
555
|
"dropzone.new.row.desc": "Zum Erstellen eines{nbsp}<b>neuen Bereichs</b> ablegen",
|
|
564
556
|
"dropzone.widget.desc": "<b>Hier</b> ablegen",
|
|
565
557
|
"dropzone.widget.last.in.row.desc": "Im <b>vorhandenen Abschnitt</b> ablegen",
|
|
@@ -468,11 +468,6 @@ export declare const en_AU: {
|
|
|
468
468
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": string;
|
|
469
469
|
"configurationPanel.drillConfig.select": string;
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": string;
|
|
471
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": string;
|
|
472
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": string;
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": string;
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": string;
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": string;
|
|
476
471
|
"configurationPanel.drillConfig.filterSelection.button.withCount": string;
|
|
477
472
|
"configurationPanel.drillConfig.filterSelection.subview.title": string;
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": string;
|
|
@@ -555,9 +550,6 @@ export declare const en_AU: {
|
|
|
555
550
|
"layout.widget.width.max": string;
|
|
556
551
|
"layout.widget.height.min": string;
|
|
557
552
|
"layout.widget.height.max": string;
|
|
558
|
-
"layout.widget.addedByPlugin": string;
|
|
559
|
-
"layout.widget.modifiedByPlugin": string;
|
|
560
|
-
"layout.widget.hideOverlay": string;
|
|
561
553
|
"dropzone.new.row.desc": string;
|
|
562
554
|
"dropzone.widget.desc": string;
|
|
563
555
|
"dropzone.widget.last.in.row.desc": 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAk2BjB,CAAC"}
|
|
@@ -470,11 +470,6 @@ export const en_AU = {
|
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": "Invalid URL parameters",
|
|
471
471
|
"configurationPanel.drillConfig.select": "Select action…",
|
|
472
472
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": "The date attribute value from the visualisation will not be transferred to filter the target dashboard.",
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": "Pass as filter:",
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": "Pass as filters",
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": "Disable the attribute or date to exclude its value from being passed as a filter to the drill destination.",
|
|
476
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": "All",
|
|
477
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": "None",
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.button.withCount": "Using {count, plural, one {# filter} other {# filters}}",
|
|
479
474
|
"configurationPanel.drillConfig.filterSelection.subview.title": "Filters",
|
|
480
475
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": "Selected filters are passed to the drill destination.",
|
|
@@ -557,9 +552,6 @@ export const en_AU = {
|
|
|
557
552
|
"layout.widget.width.max": "Widget is at the maximum width",
|
|
558
553
|
"layout.widget.height.min": "Widget is at the minimal height.",
|
|
559
554
|
"layout.widget.height.max": "Widget is at the maximum height.",
|
|
560
|
-
"layout.widget.addedByPlugin": "Added by plugin",
|
|
561
|
-
"layout.widget.modifiedByPlugin": "Modified by plugin",
|
|
562
|
-
"layout.widget.hideOverlay": "Hide overlay",
|
|
563
555
|
"dropzone.new.row.desc": "Drop to create a{nbsp}<b>new section</b>",
|
|
564
556
|
"dropzone.widget.desc": "Drop <b>here</b>",
|
|
565
557
|
"dropzone.widget.last.in.row.desc": "Drop to the <b>existing section</b>",
|
|
@@ -468,11 +468,6 @@ export declare const en_GB: {
|
|
|
468
468
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": string;
|
|
469
469
|
"configurationPanel.drillConfig.select": string;
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": string;
|
|
471
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": string;
|
|
472
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": string;
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": string;
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": string;
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": string;
|
|
476
471
|
"configurationPanel.drillConfig.filterSelection.button.withCount": string;
|
|
477
472
|
"configurationPanel.drillConfig.filterSelection.subview.title": string;
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": string;
|
|
@@ -555,9 +550,6 @@ export declare const en_GB: {
|
|
|
555
550
|
"layout.widget.width.max": string;
|
|
556
551
|
"layout.widget.height.min": string;
|
|
557
552
|
"layout.widget.height.max": string;
|
|
558
|
-
"layout.widget.addedByPlugin": string;
|
|
559
|
-
"layout.widget.modifiedByPlugin": string;
|
|
560
|
-
"layout.widget.hideOverlay": string;
|
|
561
553
|
"dropzone.new.row.desc": string;
|
|
562
554
|
"dropzone.widget.desc": string;
|
|
563
555
|
"dropzone.widget.last.in.row.desc": 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAk2BjB,CAAC"}
|
|
@@ -470,11 +470,6 @@ export const en_GB = {
|
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": "Invalid URL parameters",
|
|
471
471
|
"configurationPanel.drillConfig.select": "Choose action…",
|
|
472
472
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": "The date attribute value from the visualisation will not be transferred to filter the target dashboard.",
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": "Pass as filter:",
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": "Pass as filters",
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": "Disable the attribute or date to exclude its value from being passed as a filter to the drilling destination.",
|
|
476
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": "All",
|
|
477
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": "None",
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.button.withCount": "Using {count, plural, one {# filter} other {# filters}}",
|
|
479
474
|
"configurationPanel.drillConfig.filterSelection.subview.title": "Filters",
|
|
480
475
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": "Selected filters are passed to the drill destination.",
|
|
@@ -557,9 +552,6 @@ export const en_GB = {
|
|
|
557
552
|
"layout.widget.width.max": "Widget is at the maximum width",
|
|
558
553
|
"layout.widget.height.min": "Widget is at the minimal height",
|
|
559
554
|
"layout.widget.height.max": "Widget is at the maximum height",
|
|
560
|
-
"layout.widget.addedByPlugin": "Added by plugin",
|
|
561
|
-
"layout.widget.modifiedByPlugin": "Modified by plugin",
|
|
562
|
-
"layout.widget.hideOverlay": "Hide overlay",
|
|
563
555
|
"dropzone.new.row.desc": "Drop to create a{nbsp}<b>new section</b>",
|
|
564
556
|
"dropzone.widget.desc": "Drop <b>here</b>",
|
|
565
557
|
"dropzone.widget.last.in.row.desc": "Drop to the <b>existing section</b>",
|
|
@@ -1875,26 +1875,6 @@ export declare const en_US: {
|
|
|
1875
1875
|
text: string;
|
|
1876
1876
|
crowdinContext: string;
|
|
1877
1877
|
};
|
|
1878
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": {
|
|
1879
|
-
text: string;
|
|
1880
|
-
crowdinContext: string;
|
|
1881
|
-
};
|
|
1882
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": {
|
|
1883
|
-
text: string;
|
|
1884
|
-
crowdinContext: string;
|
|
1885
|
-
};
|
|
1886
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": {
|
|
1887
|
-
text: string;
|
|
1888
|
-
crowdinContext: string;
|
|
1889
|
-
};
|
|
1890
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": {
|
|
1891
|
-
text: string;
|
|
1892
|
-
crowdinContext: string;
|
|
1893
|
-
};
|
|
1894
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": {
|
|
1895
|
-
text: string;
|
|
1896
|
-
crowdinContext: string;
|
|
1897
|
-
};
|
|
1898
1878
|
"configurationPanel.drillConfig.filterSelection.button.withCount": {
|
|
1899
1879
|
text: string;
|
|
1900
1880
|
crowdinContext: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAq4GjB,CAAC"}
|
|
@@ -1877,26 +1877,6 @@ export const en_US = {
|
|
|
1877
1877
|
"text": "The date attribute value from the visualization will not be transferred to filter the target dashboard.",
|
|
1878
1878
|
"crowdinContext": "Warning about limitations when drilling with date attributes"
|
|
1879
1879
|
},
|
|
1880
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": {
|
|
1881
|
-
"text": "Pass as filter:",
|
|
1882
|
-
"crowdinContext": "Label for selecting which attributes to pass as filters during drill"
|
|
1883
|
-
},
|
|
1884
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": {
|
|
1885
|
-
"text": "Pass as filters",
|
|
1886
|
-
"crowdinContext": "Title of the attribute filter selection dropdown"
|
|
1887
|
-
},
|
|
1888
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": {
|
|
1889
|
-
"text": "Disable the attribute or date to exclude its value from being passed as a filter to the drill destination.",
|
|
1890
|
-
"crowdinContext": "Tooltip explaining how to exclude attributes from drill filters"
|
|
1891
|
-
},
|
|
1892
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": {
|
|
1893
|
-
"text": "All",
|
|
1894
|
-
"crowdinContext": "Option to pass all attributes as filters during drill"
|
|
1895
|
-
},
|
|
1896
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": {
|
|
1897
|
-
"text": "None",
|
|
1898
|
-
"crowdinContext": "Option to not pass any attributes as filters during drill"
|
|
1899
|
-
},
|
|
1900
1880
|
"configurationPanel.drillConfig.filterSelection.button.withCount": {
|
|
1901
1881
|
"text": "Using {count, plural, one {# filter} other {# filters}}",
|
|
1902
1882
|
"crowdinContext": "Button label in drill interaction configuration showing how many filters are currently selected. Example output: 'Using 1 filter' or 'Using 3 filters'."
|
|
@@ -468,11 +468,6 @@ export declare const es_419: {
|
|
|
468
468
|
"configurationPanel.drillConfig.drillIntoUrl.invalidCustomUrl": string;
|
|
469
469
|
"configurationPanel.drillConfig.select": string;
|
|
470
470
|
"configurationPanel.drillConfig.drillIntoDashboard.dateFilterWarning": string;
|
|
471
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.label": string;
|
|
472
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.title": string;
|
|
473
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.tooltip": string;
|
|
474
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.all": string;
|
|
475
|
-
"configurationPanel.drillConfig.drillIntersectionIgnoredAttributes.dropdown.none": string;
|
|
476
471
|
"configurationPanel.drillConfig.filterSelection.button.withCount": string;
|
|
477
472
|
"configurationPanel.drillConfig.filterSelection.subview.title": string;
|
|
478
473
|
"configurationPanel.drillConfig.filterSelection.subview.tooltip": string;
|
|
@@ -555,9 +550,6 @@ export declare const es_419: {
|
|
|
555
550
|
"layout.widget.width.max": string;
|
|
556
551
|
"layout.widget.height.min": string;
|
|
557
552
|
"layout.widget.height.max": string;
|
|
558
|
-
"layout.widget.addedByPlugin": string;
|
|
559
|
-
"layout.widget.modifiedByPlugin": string;
|
|
560
|
-
"layout.widget.hideOverlay": string;
|
|
561
553
|
"dropzone.new.row.desc": string;
|
|
562
554
|
"dropzone.widget.desc": string;
|
|
563
555
|
"dropzone.widget.last.in.row.desc": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es-419.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/es-419.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"es-419.localization-bundle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/localization/bundles/es-419.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAk2BlB,CAAC"}
|