@gooddata/sdk-ui-dashboard 11.42.0-alpha.2 → 11.42.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.
Files changed (46) hide show
  1. package/NOTICE +6 -6
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts +14 -1
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +50 -0
  7. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  8. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +16 -2
  9. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -1
  10. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  11. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +32 -12
  12. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +39 -1
  13. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -1
  14. package/esm/presentation/automations/shared/automationFilters/automationParameters.js +66 -1
  15. package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts +27 -3
  16. package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
  17. package/esm/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.js +44 -12
  18. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts +2 -1
  19. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts.map +1 -1
  20. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js +7 -1
  21. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts +23 -1
  22. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
  23. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +93 -2
  24. package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.d.ts +75 -0
  25. package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.d.ts.map +1 -0
  26. package/esm/presentation/automations/shared/automationFilters/useAutomationExportParameters.js +143 -0
  27. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts +1 -0
  28. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
  29. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +1 -0
  30. package/esm/presentation/automations/shared/automationFilters/useAutomationFiltersSelect.d.ts.map +1 -1
  31. package/esm/presentation/automations/shared/automationFilters/useAutomationFiltersSelect.js +15 -2
  32. package/esm/presentation/automations/shared/automationFilters/useParameterAnnouncements.d.ts +15 -0
  33. package/esm/presentation/automations/shared/automationFilters/useParameterAnnouncements.d.ts.map +1 -0
  34. package/esm/presentation/automations/shared/automationFilters/useParameterAnnouncements.js +28 -0
  35. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +16 -0
  36. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  37. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +16 -0
  38. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
  39. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +10 -1
  40. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts +5 -4
  41. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts.map +1 -1
  42. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js +3 -3
  43. package/package.json +20 -20
  44. package/styles/css/main.css +1 -1
  45. package/styles/css/warningPartialResult.css +1 -1
  46. package/styles/scss/warningPartialResult.scss +1 -1
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-6-10
10
+ Date generated: 2026-6-15
11
11
 
12
- Revision ID: f75738464fd32f3d4e0f874c715181b53a187ef8
12
+ Revision ID: a109cf6c2e762b7d0655e4f6da695420f910643f
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -383,7 +383,7 @@ Revision ID: f75738464fd32f3d4e0f874c715181b53a187ef8
383
383
  - balanced-match (2.0.0) [MIT]
384
384
  - balanced-match (4.0.4) [MIT]
385
385
  - base64-js (1.5.1) [MIT]
386
- - baseline-browser-mapping (2.10.34) [Apache-2.0]
386
+ - baseline-browser-mapping (2.10.37) [Apache-2.0]
387
387
  - batch (0.6.1) [MIT]
388
388
  - binary-extensions (2.3.0) [MIT]
389
389
  - bl (4.1.0) [MIT]
@@ -5454,9 +5454,9 @@ MIT
5454
5454
 
5455
5455
 
5456
5456
  --------------------------------------------------------------------------------
5457
- Package Title: baseline-browser-mapping (2.10.34)
5457
+ Package Title: baseline-browser-mapping (2.10.37)
5458
5458
 
5459
- Package Locator: npm+baseline-browser-mapping$2.10.34
5459
+ Package Locator: npm+baseline-browser-mapping$2.10.37
5460
5460
 
5461
5461
  Package Depth: Transitive
5462
5462
  --------------------------------------------------------------------------------
@@ -38571,4 +38571,4 @@ POSSIBILITY OF SUCH DAMAGE.
38571
38571
  --------------------------------------------------------------------------------
38572
38572
  --------------------------------------------------------------------------------
38573
38573
 
38574
- Report Generated by FOSSA on 2026-6-10
38574
+ Report Generated by FOSSA on 2026-6-15
@@ -1,4 +1,4 @@
1
- export declare const LIB_VERSION = "11.42.0-alpha.2";
1
+ export declare const LIB_VERSION = "11.42.0-alpha.3";
2
2
  export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
3
3
  export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
4
4
  //# sourceMappingURL=__version.d.ts.map
package/esm/__version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "11.42.0-alpha.2";
3
+ export const LIB_VERSION = "11.42.0-alpha.3";
4
4
  export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
5
5
  export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
@@ -1,4 +1,4 @@
1
- import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IExportDefinitionMetadataObject, type IExportDefinitionMetadataObjectDefinition, type IFilter, type IUser, type IWorkspaceUser } from "@gooddata/sdk-model";
1
+ import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IDashboardExportParameter, type IExportDefinitionMetadataObject, type IExportDefinitionMetadataObjectDefinition, type IFilter, type IUser, type IWorkspaceUser } from "@gooddata/sdk-model";
2
2
  export declare const isDashboardAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean | undefined;
3
3
  export declare const isVisualisationAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean | undefined;
4
4
  export declare const isCsvVisualizationAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean | undefined;
@@ -11,6 +11,19 @@ export declare const getAutomationDashboardFilters: (automation: IAutomationMeta
11
11
  * Returns filtersByTab from the first dashboard export definition.
12
12
  */
13
13
  export declare const getAutomationDashboardFiltersByTab: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => Record<string, FilterContextItem[]> | undefined;
14
+ /**
15
+ * Extracts the per-tab parameter overrides from automation metadata. All export definitions carry
16
+ * the same `content.parametersByTab`, so the first dashboard or visualization-object definition
17
+ * that has them wins.
18
+ */
19
+ export declare const getAutomationExportParametersByTab: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => Record<string, IDashboardExportParameter[]> | undefined;
20
+ /**
21
+ * Returns a copy of the automation with `content.parametersByTab` replaced on every dashboard and
22
+ * visualization-object export definition. Passing `undefined` clears the field (the store-filters
23
+ * off path). No-op when the automation carries no export definitions. Write-side counterpart of
24
+ * {@link getAutomationExportParametersByTab}.
25
+ */
26
+ export declare function setExportParametersByTab(automation: IAutomationMetadataObjectDefinition, parametersByTab: Record<string, IDashboardExportParameter[]> | undefined): IAutomationMetadataObjectDefinition;
14
27
  export declare const getAutomationVisualizationFilters: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => {
15
28
  executionFilters: IFilter[] | undefined;
16
29
  filterContextItems: FilterContextItem[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_staging/automation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,qBAAqB,kHAUjC,CAAC;AAEF,eAAO,MAAM,yBAAyB,kHAUrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,kHAQxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,wHAW9C,CAAC;AAEF,eAAO,MAAM,6BAA6B,kHAQzC,CAAC;AAEF,eAAO,MAAM,mCAAmC,wHAW/C,CAAC;AAEF,eAAO,MAAM,6BAA6B,8HAYzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,8IAY9C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;CAuB7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,oHA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AM,uCAAuC,gEAOnD,CAAC;AAEF,eAAO,MAAM,iCAAiC,0DAe7C,CAAC;AAEF,eAAO,MAAM,gCAAgC,uCAO5C,CAAC;AAEF,eAAO,MAAM,6CAA6C,qDASzD,CAAC"}
@@ -63,6 +63,56 @@ export const getAutomationDashboardFiltersByTab = (automation) => {
63
63
  return isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload);
64
64
  })?.requestPayload?.content.filtersByTab;
65
65
  };
66
+ /**
67
+ * Extracts the per-tab parameter overrides from automation metadata. All export definitions carry
68
+ * the same `content.parametersByTab`, so the first dashboard or visualization-object definition
69
+ * that has them wins.
70
+ */
71
+ export const getAutomationExportParametersByTab = (automation) => {
72
+ return automation?.exportDefinitions
73
+ ?.map((exportDefinition) => exportDefinition.requestPayload)
74
+ .find((requestPayload) => (isExportDefinitionDashboardRequestPayload(requestPayload) ||
75
+ isExportDefinitionVisualizationObjectRequestPayload(requestPayload)) &&
76
+ !!requestPayload.content.parametersByTab)?.content.parametersByTab;
77
+ };
78
+ /**
79
+ * Returns a copy of the automation with `content.parametersByTab` replaced on every dashboard and
80
+ * visualization-object export definition. Passing `undefined` clears the field (the store-filters
81
+ * off path). No-op when the automation carries no export definitions. Write-side counterpart of
82
+ * {@link getAutomationExportParametersByTab}.
83
+ */
84
+ export function setExportParametersByTab(automation, parametersByTab) {
85
+ if (!automation.exportDefinitions?.length) {
86
+ return automation;
87
+ }
88
+ return {
89
+ ...automation,
90
+ exportDefinitions: automation.exportDefinitions.map((exportDefinition) => {
91
+ const { requestPayload } = exportDefinition;
92
+ // Both branches are identical on purpose: narrowing to one variant keeps `content`'s exact type.
93
+ // Spreading the raw union widens `dashboard` to `string | undefined`, matching neither.
94
+ if (isExportDefinitionDashboardRequestPayload(requestPayload)) {
95
+ return {
96
+ ...exportDefinition,
97
+ requestPayload: {
98
+ ...requestPayload,
99
+ content: { ...requestPayload.content, parametersByTab },
100
+ },
101
+ };
102
+ }
103
+ if (isExportDefinitionVisualizationObjectRequestPayload(requestPayload)) {
104
+ return {
105
+ ...exportDefinition,
106
+ requestPayload: {
107
+ ...requestPayload,
108
+ content: { ...requestPayload.content, parametersByTab },
109
+ },
110
+ };
111
+ }
112
+ return exportDefinition;
113
+ }),
114
+ };
115
+ }
66
116
  export const getAutomationVisualizationFilters = (automation) => {
67
117
  if (!automation) {
68
118
  return { executionFilters: undefined, filterContextItems: undefined };
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AA+DA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAgE9D,wBAAgB,2BAA2B,CAAC,EACxC,qBAAqB,EACrB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,MAAM,EACN,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACZ,EAAE,0BAA0B,2CAuhB5B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,0BAA0B,2CAkB5E"}
1
+ {"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AAiEA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAgE9D,wBAAgB,2BAA2B,CAAC,EACxC,qBAAqB,EACrB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,gBAAgB,EAChB,aAAa,EACb,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,MAAM,EACN,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACZ,EAAE,0BAA0B,2CA0kB5B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,0BAA0B,2CAkB5E"}
@@ -20,6 +20,7 @@ import { IntlWrapper } from "../../../localization/IntlWrapper.js";
20
20
  import { ApplyCurrentFiltersConfirmDialog } from "../../shared/automationFilters/components/ApplyLatestFiltersConfirmDialog.js";
21
21
  import { AutomationFiltersSelect } from "../../shared/automationFilters/components/AutomationFiltersSelect.js";
22
22
  import { useValidateExistingAutomationFilters } from "../../shared/automationFilters/hooks/useValidateExistingAutomationFilters.js";
23
+ import { useAutomationExportParameters } from "../../shared/automationFilters/useAutomationExportParameters.js";
23
24
  import { useAutomationFiltersSelect } from "../../shared/automationFilters/useAutomationFiltersSelect.js";
24
25
  import { DeleteScheduleConfirmDialog } from "../DefaultScheduledEmailManagementDialog/components/DeleteScheduleConfirmDialog.js";
25
26
  import { useScheduleEmailDialogAccessibility } from "../hooks/useScheduleEmailDialogAccessibility.js";
@@ -73,7 +74,7 @@ export function ScheduledMailDialogRenderer({ scheduledExportToEdit, users, user
73
74
  widget,
74
75
  });
75
76
  const { locale, dashboardTitle, dateFormat, weekStart, maxAutomationsRecipients, allowHourlyRecurrence, isCrossFiltering, isExecutionTimestampMode, enableNewScheduledExport, enableCustomizableCsvDelimiter, defaultPdfPageSize, } = useDefaultScheduledEmailDialogData();
76
- const { defaultUser, editedAutomation, originalAutomation, isSubmitDisabled, xlsxSettings, pdfSettings, csvSettings, csvRawSettings, startDate, allowExternalRecipients, allowOnlyLoggedUserRecipients, validationErrorMessage, selectedAttachments, isParentValid, onDashboardAttachmentsChange, onWidgetAttachmentsChange, onXlsxSettingsChange, onPdfSettingsChange, onCsvSettingsChange, onCsvRawSettingsChange, slidesTemplateIds, onSlidesTemplateIdChange, onDestinationChange, onMessageChange, onRecipientsChange, onRecurrenceChange, onEvaluationModeChange, onSubjectChange, onTitleChange, onFiltersChange, onApplyCurrentFilters, onStoreFiltersChange, onFiltersByTabChange, enableAutomationEvaluationMode, } = useEditScheduledEmail({
77
+ const { defaultUser, editedAutomation, originalAutomation, isSubmitDisabled, xlsxSettings, pdfSettings, csvSettings, csvRawSettings, startDate, allowExternalRecipients, allowOnlyLoggedUserRecipients, validationErrorMessage, selectedAttachments, isParentValid, onDashboardAttachmentsChange, onWidgetAttachmentsChange, onXlsxSettingsChange, onPdfSettingsChange, onCsvSettingsChange, onCsvRawSettingsChange, slidesTemplateIds, onSlidesTemplateIdChange, onDestinationChange, onMessageChange, onRecipientsChange, onRecurrenceChange, onEvaluationModeChange, onSubjectChange, onTitleChange, onFiltersChange, onApplyCurrentFilters, onStoreFiltersChange, onFiltersByTabChange, setParametersWire, enableAutomationEvaluationMode, } = useEditScheduledEmail({
77
78
  notificationChannels,
78
79
  insight,
79
80
  widget,
@@ -94,6 +95,18 @@ export function ScheduledMailDialogRenderer({ scheduledExportToEdit, users, user
94
95
  setEditedAutomationFiltersByTab,
95
96
  availableFiltersAsVisibleFiltersByTab,
96
97
  });
98
+ const { parametersEnabled, visibleParametersByTab, availableParametersByTab, flatTabId, onParameterAdd, onParameterChange, onParameterDelete, onParameterAddByTab, onParameterChangeByTab, onParameterDeleteByTab, applyLatest: applyLatestParameters, onStoreParametersChange, } = useAutomationExportParameters({
99
+ automationToEdit: scheduledExportToEdit,
100
+ widget,
101
+ storeParameters: storeFilters,
102
+ setParametersWire,
103
+ });
104
+ // The store-filters checkbox gates parameter persistence too; the new value is passed to both
105
+ // sides because the `storeFilters` prop still holds the old one at call time.
106
+ const handleStoreFiltersChange = useCallback((value, filters, filtersByTabParam) => {
107
+ onStoreFiltersChange(value, filters, filtersByTabParam);
108
+ onStoreParametersChange(value);
109
+ }, [onStoreFiltersChange, onStoreParametersChange]);
97
110
  const { isValid } = useValidateExistingAutomationFilters({
98
111
  automationToEdit: scheduledExportToEdit,
99
112
  widget,
@@ -172,6 +185,7 @@ export function ScheduledMailDialogRenderer({ scheduledExportToEdit, users, user
172
185
  if (isApplyCurrentFiltersDialogOpen) {
173
186
  return (_jsx(ApplyCurrentFiltersConfirmDialog, { automationType: "schedule", onCancel: () => onCancel?.(), onEdit: () => {
174
187
  onApplyCurrentFilters();
188
+ applyLatestParameters();
175
189
  setIsApplyCurrentFiltersDialogOpen(false);
176
190
  } }));
177
191
  }
@@ -209,7 +223,7 @@ export function ScheduledMailDialogRenderer({ scheduledExportToEdit, users, user
209
223
  }), children: [
210
224
  _jsx("div", { className: "gd-divider-with-margin" }), selectedTabId === "filters" ? (_jsx("div", { ref: filtersTabContentRef, className: "gd-schedule-dialog-tab-content", style: tabContentHeight
211
225
  ? { minHeight: `${tabContentHeight}px` }
212
- : undefined, children: _jsx(AutomationFiltersSelect, { availableFilters: availableFilters, selectedFilters: editedAutomationFilters, onFiltersChange: onFiltersChange, storeFilters: storeFilters, onStoreFiltersChange: onStoreFiltersChange, isDashboardAutomation: !widget, overlayPositionType: OVERLAY_POSITION_TYPE, hideTitle: true, showAllFilters: true, filtersByTab: filtersByTab, editedFiltersByTab: editedAutomationFiltersByTab, onFiltersByTabChange: onFiltersByTabChange }) })) : (_jsxs("div", { ref: generalTabContentRef, className: "gd-schedule-dialog-tab-content", children: [!widget && hasMultipleTabs ? (_jsx(Message, { type: "progress", className: "gd-schedule-dialog-tab-content-info", children: intl.formatMessage({
226
+ : undefined, children: _jsx(AutomationFiltersSelect, { availableFilters: availableFilters, selectedFilters: editedAutomationFilters, onFiltersChange: onFiltersChange, storeFilters: storeFilters, onStoreFiltersChange: handleStoreFiltersChange, isDashboardAutomation: !widget, overlayPositionType: OVERLAY_POSITION_TYPE, hideTitle: true, showAllFilters: true, filtersByTab: filtersByTab, editedFiltersByTab: editedAutomationFiltersByTab, onFiltersByTabChange: onFiltersByTabChange, parameters: flatTabId ? visibleParametersByTab[flatTabId] : undefined, availableParameters: flatTabId ? availableParametersByTab[flatTabId] : undefined, onParameterChange: onParameterChange, onParameterDelete: onParameterDelete, onParameterAdd: onParameterAdd, parametersByTab: visibleParametersByTab, availableParametersByTab: availableParametersByTab, onParameterChangeByTab: onParameterChangeByTab, onParameterDeleteByTab: onParameterDeleteByTab, onParameterAddByTab: onParameterAddByTab, parametersEnabled: parametersEnabled }) })) : (_jsxs("div", { ref: generalTabContentRef, className: "gd-schedule-dialog-tab-content", children: [!widget && hasMultipleTabs ? (_jsx(Message, { type: "progress", className: "gd-schedule-dialog-tab-content-info", children: intl.formatMessage({
213
227
  id: "dialogs.schedule.email.tabs.info",
214
228
  }) })) : null, _jsx(RecurrenceForm, { startDate: startDate, cronExpression: editedAutomation.schedule?.cron ??
215
229
  getDefaultCronExpression(startDate), cronDescription: editedAutomation.schedule?.cronDescription, timezone: editedAutomation.schedule?.timezone ??
@@ -1,4 +1,4 @@
1
- import { type DashboardAttachmentType, type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IAutomationVisibleFilter, type IExportDefinitionVisualizationObjectSettings, type IFilter, type IInsight, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type WidgetAttachmentType } from "@gooddata/sdk-model";
1
+ import { type DashboardAttachmentType, type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IAutomationVisibleFilter, type IDashboardExportParameter, type IExportDefinitionVisualizationObjectSettings, type IFilter, type IInsight, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type WidgetAttachmentType } from "@gooddata/sdk-model";
2
2
  import { type IAutomationFiltersTab } from "../../../../../model/store/filtering/dashboardFilterSelectors.js";
3
3
  import { type ExtendedDashboardWidget } from "../../../../../model/types/layoutTypes.js";
4
4
  export interface IUseEditScheduledEmailProps {
@@ -87,6 +87,7 @@ export declare function useEditScheduledEmail({ scheduledExportToEdit, notificat
87
87
  onApplyCurrentFilters: () => void;
88
88
  onStoreFiltersChange: (value: boolean, filters?: FilterContextItem[] | undefined, filtersByTabParam?: Record<string, FilterContextItem[]> | undefined) => void;
89
89
  onFiltersByTabChange: (newFiltersByTab: Record<string, FilterContextItem[]>, storeFiltersParam?: boolean | undefined) => void;
90
+ setParametersWire: (wire: Record<string, IDashboardExportParameter[]> | undefined) => void;
90
91
  enableAutomationEvaluationMode: boolean;
91
92
  };
92
93
  //# sourceMappingURL=useEditScheduledEmail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEditScheduledEmail.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.ts"],"names":[],"mappings":"AAOA,OAAO,EAGH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAE9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAE7B,KAAK,4CAA4C,EACjD,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,oBAAoB,EAS5B,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EACH,KAAK,qBAAqB,EAG7B,MAAM,kEAAkE,CAAC;AAK1E,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAkBzF,MAAM,WAAW,2BAA2B;IACxC,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAClD,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,wBAAwB,EAAE,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;IAC1B,uBAAuB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9C,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACvC,0BAA0B,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAEnE;;;OAGG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACnE;;;OAGG;IACH,+BAA+B,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,KAAK,IAAI,CAAC;IACzF,gBAAgB,CAAC,EAAE,qBAAqB,EAAE,GAAG,SAAS,CAAC;IACvD,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,qCAAqC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAAC,CAAC;IAEnF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,EAAE,OAAO,CAAC;IAClC,kBAAkB,CAAC,EAAE,4CAA4C,CAAC,UAAU,CAAC,CAAC;CACjF;AAED,wBAAgB,qBAAqB,CAAC,EAClC,qBAAqB,EACrB,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,uBAAuB,EACvB,gBAAgB,EAChB,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,+BAA+B,EAC/B,gCAAgC,EAChC,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,qCAAqC,EACxC,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAy1B7B"}
1
+ {"version":3,"file":"useEditScheduledEmail.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.ts"],"names":[],"mappings":"AAOA,OAAO,EAGH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAE9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AAO,CAAC;IACvB,eAAe,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,wBAAwB,EAAE,OAAO,CAAC;IAClC,kBAAkB,CAAC,EAAE,4CAA4C,CAAC,UAAU,CAAC,CAAC;CACjF;AAED,wBAAgB,qBAAqB,CAAC,EAClC,qBAAqB,EACrB,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,uBAAuB,EACvB,gBAAgB,EAChB,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,+BAA+B,EAC/B,gCAAgC,EAChC,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,qCAAqC,EACxC,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAu2B7B"}
@@ -2,15 +2,17 @@
2
2
  import { useCallback, useMemo, useState } from "react";
3
3
  import { useIntl } from "react-intl";
4
4
  import { invariant } from "ts-invariant";
5
- import { DEFAULT_CSV_DELIMITER, insightProperties, isAutomationExternalUserRecipient, isAutomationUnknownUserRecipient, isAutomationUserRecipient, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isInsightWidget, isWidget, } from "@gooddata/sdk-model";
6
- import { areAutomationsEqual, convertCurrentUserToAutomationRecipient, convertCurrentUserToWorkspaceUser, convertExternalRecipientToAutomationRecipient, } from "../../../../../_staging/automation/index.js";
5
+ import { DEFAULT_CSV_DELIMITER, insightProperties, isAutomationExternalUserRecipient, isAutomationUnknownUserRecipient, isAutomationUserRecipient, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isInsightWidget, isWidget, objRefToString, } from "@gooddata/sdk-model";
6
+ import { areAutomationsEqual, convertCurrentUserToAutomationRecipient, convertCurrentUserToWorkspaceUser, convertExternalRecipientToAutomationRecipient, getAutomationExportParametersByTab, setExportParametersByTab, } from "../../../../../_staging/automation/index.js";
7
7
  import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
8
8
  import { selectEnableAutomationEvaluationMode, selectEnableExternalRecipients, selectSettings, selectTimezone, } from "../../../../../model/store/config/configSelectors.js";
9
9
  import { selectAutomationCommonDateFilterId, selectDashboardHiddenFilters, } from "../../../../../model/store/filtering/dashboardFilterSelectors.js";
10
10
  import { selectDashboardId, selectDashboardTitle } from "../../../../../model/store/meta/metaSelectors.js";
11
11
  import { selectWidgetLocalIdToTabIdMap } from "../../../../../model/store/tabs/layout/layoutSelectors.js";
12
+ import { selectExportEffectiveParameters } from "../../../../../model/store/tabs/parameters/parametersSelectors.js";
12
13
  import { selectCurrentUser } from "../../../../../model/store/user/userSelectors.js";
13
14
  import { selectUsers } from "../../../../../model/store/users/usersSelectors.js";
15
+ import { shouldStoreExportParameters } from "../../../shared/automationFilters/automationParameters.js";
14
16
  import { getDefaultSelectedFiltersFromFiltersByTab } from "../../../shared/automationFilters/useAutomationFiltersSelect.js";
15
17
  import { getAppliedDashboardFilters, getAppliedWidgetFilters, getVisibleFiltersByFilters, getVisibleFiltersByFiltersByTab, } from "../../../shared/automationFilters/utils.js";
16
18
  import { toModifiedISOStringToTimezone, toNormalizedFirstRunAndCron, toNormalizedStartDate, } from "../../utils/date.js";
@@ -67,6 +69,12 @@ export function useEditScheduledEmail({ scheduledExportToEdit, notificationChann
67
69
  }, [editedAutomationFiltersByTab, filtersDataByTab, storeFilters]);
68
70
  const effectiveVisibleDashboardFilters = getVisibleFiltersByFilters(editedAutomationFilters ?? [], availableFiltersAsVisibleFilters, storeFilters);
69
71
  const effectiveVisibleDashboardFiltersByTab = getVisibleFiltersByFiltersByTab(editedAutomationFiltersByTab, availableFiltersAsVisibleFiltersByTab, storeFilters);
72
+ const effectiveExportParametersByTab = useDashboardSelector(selectExportEffectiveParameters(widget ? [objRefToString(widget.ref)] : undefined));
73
+ // Mirrors the filters seed above, for parameters.
74
+ const parametersByTabForNewAutomation = shouldStoreExportParameters(isWidget, storeFilters) &&
75
+ Object.keys(effectiveExportParametersByTab).length > 0
76
+ ? effectiveExportParametersByTab
77
+ : undefined;
70
78
  const [editedAutomation, setEditedAutomation] = useState(scheduledExportToEdit ??
71
79
  newAutomationMetadataObjectDefinition(isWidget
72
80
  ? {
@@ -84,6 +92,7 @@ export function useEditScheduledEmail({ scheduledExportToEdit, notificationChann
84
92
  defaultPdfPageSize,
85
93
  evaluationMode: "PER_RECIPIENT",
86
94
  targetTabId,
95
+ parametersByTab: parametersByTabForNewAutomation,
87
96
  }
88
97
  : {
89
98
  timezone,
@@ -98,8 +107,13 @@ export function useEditScheduledEmail({ scheduledExportToEdit, notificationChann
98
107
  enableNewScheduledExport,
99
108
  defaultPdfPageSize,
100
109
  evaluationMode: "PER_RECIPIENT",
110
+ parametersByTab: parametersByTabForNewAutomation,
101
111
  }));
102
112
  const [originalAutomation] = useState(editedAutomation);
113
+ // The user-edit path into `content.parametersByTab`: re-encoded wire in, every export definition
114
+ // patched. Handed to `useAutomationExportParameters`, which owns when to call it. Definition
115
+ // rebuilds preserve the wire separately via `withRebuiltExportDefinitions`.
116
+ const setParametersWire = useCallback((wire) => setEditedAutomation((automation) => setExportParametersByTab(automation, wire)), []);
103
117
  const selectedAttachments = useMemo(() => {
104
118
  return (editedAutomation.exportDefinitions
105
119
  ?.map((exportDefinition) => exportDefinition.requestPayload.format)
@@ -174,10 +188,7 @@ export function useEditScheduledEmail({ scheduledExportToEdit, notificationChann
174
188
  format,
175
189
  }));
176
190
  const updatedExportDefinitions = [...keptExportDefinitions, ...newExportDefinitions];
177
- return {
178
- ...s,
179
- exportDefinitions: updatedExportDefinitions,
180
- };
191
+ return withRebuiltExportDefinitions(s, updatedExportDefinitions);
181
192
  });
182
193
  };
183
194
  const onWidgetAttachmentsChange = (formats) => {
@@ -201,10 +212,7 @@ export function useEditScheduledEmail({ scheduledExportToEdit, notificationChann
201
212
  defaultPdfPageSize,
202
213
  }));
203
214
  const updatedExportDefinitions = [...keptExportDefinitions, ...newExportDefinitions];
204
- return {
205
- ...s,
206
- exportDefinitions: updatedExportDefinitions,
207
- };
215
+ return withRebuiltExportDefinitions(s, updatedExportDefinitions);
208
216
  });
209
217
  };
210
218
  const onXlsxSettingsChange = useCallback((settings) => {
@@ -616,9 +624,21 @@ export function useEditScheduledEmail({ scheduledExportToEdit, notificationChann
616
624
  onApplyCurrentFilters,
617
625
  onStoreFiltersChange,
618
626
  onFiltersByTabChange,
627
+ setParametersWire,
619
628
  enableAutomationEvaluationMode,
620
629
  };
621
630
  }
631
+ /**
632
+ * Replaces an automation's export definitions while preserving the current parameter wire. Freshly
633
+ * built definitions carry no `content.parametersByTab`, so without this the stored parameters would
634
+ * silently drop on any attachment-format change — the one place "rebuild definitions" stays paired
635
+ * with "keep parameters".
636
+ */
637
+ function withRebuiltExportDefinitions(automation, exportDefinitions) {
638
+ const next = { ...automation, exportDefinitions };
639
+ const parametersByTab = getAutomationExportParametersByTab(automation);
640
+ return parametersByTab ? setExportParametersByTab(next, parametersByTab) : next;
641
+ }
622
642
  function newDashboardExportDefinitionMetadataObjectDefinition({ dashboardId, dashboardTitle, dashboardFilters, filtersByTab, format, templateId, }) {
623
643
  // Use filtersByTab if provided, otherwise fall back to simple filters
624
644
  const filtersObj = filtersByTab
@@ -704,7 +724,7 @@ function newWidgetExportDefinitionMetadataObjectDefinition({ insight, widget, da
704
724
  },
705
725
  };
706
726
  }
707
- function newAutomationMetadataObjectDefinition({ timezone, dashboardId, notificationChannel, title, insight, widget, recipient, dashboardFilters, filtersByTab, widgetFilters, widgetFiltersWithInsight, visibleFiltersMetadata, visibleFiltersByTab, enableNewScheduledExport, defaultPdfPageSize, evaluationMode, targetTabId, }) {
727
+ function newAutomationMetadataObjectDefinition({ timezone, dashboardId, notificationChannel, title, insight, widget, recipient, dashboardFilters, filtersByTab, widgetFilters, widgetFiltersWithInsight, visibleFiltersMetadata, visibleFiltersByTab, enableNewScheduledExport, defaultPdfPageSize, evaluationMode, targetTabId, parametersByTab, }) {
708
728
  const { firstRun, cron } = toNormalizedFirstRunAndCron(timezone);
709
729
  const exportDefinition = widget && insight
710
730
  ? newWidgetExportDefinitionMetadataObjectDefinition({
@@ -763,5 +783,5 @@ function newAutomationMetadataObjectDefinition({ timezone, dashboardId, notifica
763
783
  dashboard: dashboardId ? { id: dashboardId } : undefined,
764
784
  ...metadataObj,
765
785
  };
766
- return automation;
786
+ return parametersByTab ? setExportParametersByTab(automation, parametersByTab) : automation;
767
787
  }
@@ -1,4 +1,4 @@
1
- import { type DashboardParameterMode, type IAutomationMetadataObjectDefinition, type IDashboardParameter, type IInsightParameterValue, type INumberParameterConstraints, type IParameterMetadataObject, type IdentifierRef } from "@gooddata/sdk-model";
1
+ import { type DashboardParameterMode, type IAutomationMetadataObjectDefinition, type IDashboardExportParameter, type IDashboardParameter, type IInsightParameterValue, type INumberParameterConstraints, type IParameterMetadataObject, type IdentifierRef } from "@gooddata/sdk-model";
2
2
  /**
3
3
  * A workspace parameter resolved for display and editing inside an automation (alert/schedule)
4
4
  * dialog. The `value` is the current effective value the headless run will capture.
@@ -19,6 +19,21 @@ export interface IAutomationParameter {
19
19
  * @internal
20
20
  */
21
21
  export declare function reconstructAutomationParametersFromValues(stored: IInsightParameterValue[], dashboardParameters: IDashboardParameter[], catalog: IParameterMetadataObject[]): IAutomationParameter[];
22
+ /**
23
+ * Stored export overrides ({@link IDashboardExportParameter}) carry the value as a string; it is
24
+ * parsed back to a number and non-finite values are dropped. Title, mode and constraints are
25
+ * re-derived from the current dashboard and workspace catalog, mirroring
26
+ * {@link reconstructAutomationParametersFromValues}.
27
+ *
28
+ * @internal
29
+ */
30
+ export declare function reconstructAutomationParametersFromExportParameters(stored: IDashboardExportParameter[], dashboardParameters: IDashboardParameter[], catalog: IParameterMetadataObject[]): IAutomationParameter[];
31
+ /**
32
+ * The stored value is carried as a string; non-finite values are dropped.
33
+ *
34
+ * @internal
35
+ */
36
+ export declare function exportParametersToValues(stored: IDashboardExportParameter[]): IInsightParameterValue[];
22
37
  /**
23
38
  * Parameters of unsupported types are dropped (cannot be rendered/clamped). Dashboard-`hidden`
24
39
  * and `readonly` ones are dropped too — once added they would derive back to an invisible or
@@ -34,4 +49,27 @@ export declare function availableAutomationParameters(catalog: IParameterMetadat
34
49
  * @internal
35
50
  */
36
51
  export declare function setAlertExecutionParameters(automation: IAutomationMetadataObjectDefinition, parameters: IInsightParameterValue[]): IAutomationMetadataObjectDefinition;
52
+ /**
53
+ * Encodes the display-ready chip set back to the neutral export wire shape ({id, value:string,
54
+ * title}). The full per-tab execution set (including `hidden` entries) is converted, not just the
55
+ * visible chips, so the server resolver does not drop omitted parameters to the workspace default.
56
+ *
57
+ * @internal
58
+ */
59
+ export declare function automationParametersToExportParameters(parameters: IAutomationParameter[]): IDashboardExportParameter[];
60
+ /**
61
+ * Encodes the per-tab execution sets to the neutral export wire shape, or `undefined` when
62
+ * `shouldStore` is false (feature off / store-filters unchecked — signals "omit the field; use
63
+ * latest defaults"). Inverse of {@link reconstructAutomationParametersFromExportParameters}.
64
+ *
65
+ * @internal
66
+ */
67
+ export declare function toEffectiveParametersByTab(parametersByTab: Record<string, IAutomationParameter[]>, shouldStore: boolean): Record<string, IDashboardExportParameter[]> | undefined;
68
+ /**
69
+ * The single home for "does this export persist its parameters": widget schedules always do (they
70
+ * have no store-filters checkbox), dashboard schedules follow the store-filters checkbox.
71
+ *
72
+ * @internal
73
+ */
74
+ export declare function shouldStoreExportParameters(isWidgetSchedule: boolean, storeFilters?: boolean): boolean;
37
75
  //# sourceMappingURL=automationParameters.d.ts.map
@@ -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,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAIrB,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACjC,GAAG,EAAE,aAAa,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,sBAAsB,CAAC;IAC7B,WAAW,CAAC,EAAE,2BAA2B,CAAC;CAC7C;AAED;;;;;GAKG;AACH,wBAAgB,yCAAyC,CACrD,MAAM,EAAE,sBAAsB,EAAE,EAChC,mBAAmB,EAAE,mBAAmB,EAAE,EAC1C,OAAO,EAAE,wBAAwB,EAAE,GACpC,oBAAoB,EAAE,CAkBxB;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CACzC,OAAO,EAAE,wBAAwB,EAAE,EACnC,QAAQ,EAAE,oBAAoB,EAAE,EAChC,mBAAmB,GAAE,mBAAmB,EAAO,EAC/C,qBAAqB,GAAE,sBAAsB,EAAO,GACrD,oBAAoB,EAAE,CAqCxB;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACvC,UAAU,EAAE,mCAAmC,EAC/C,UAAU,EAAE,sBAAsB,EAAE,GACrC,mCAAmC,CAcrC"}
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,EAKrB,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACjC,GAAG,EAAE,aAAa,CAAC;IACnB,KAAK,E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AAO,EAAE,YAAY,UAAQ,GAAG,OAAO,CAEpG"}
@@ -1,5 +1,5 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { DashboardParameterModeValues, isIdentifierRef, isNumberParameterDefinition, objRefToString, } from "@gooddata/sdk-model";
2
+ import { DashboardParameterModeValues, idRef, isIdentifierRef, isNumberParameterDefinition, objRefToString, } from "@gooddata/sdk-model";
3
3
  /**
4
4
  * Stored {@link IInsightParameterValue} overrides carry only {ref, value}; title, mode and
5
5
  * constraints are re-derived from the current dashboard and workspace catalog.
@@ -23,6 +23,31 @@ export function reconstructAutomationParametersFromValues(stored, dashboardParam
23
23
  };
24
24
  });
25
25
  }
26
+ /**
27
+ * Stored export overrides ({@link IDashboardExportParameter}) carry the value as a string; it is
28
+ * parsed back to a number and non-finite values are dropped. Title, mode and constraints are
29
+ * re-derived from the current dashboard and workspace catalog, mirroring
30
+ * {@link reconstructAutomationParametersFromValues}.
31
+ *
32
+ * @internal
33
+ */
34
+ export function reconstructAutomationParametersFromExportParameters(stored, dashboardParameters, catalog) {
35
+ return reconstructAutomationParametersFromValues(exportParametersToValues(stored), dashboardParameters, catalog);
36
+ }
37
+ /**
38
+ * The stored value is carried as a string; non-finite values are dropped.
39
+ *
40
+ * @internal
41
+ */
42
+ export function exportParametersToValues(stored) {
43
+ return stored.reduce((acc, row) => {
44
+ const value = Number(row.value);
45
+ if (Number.isFinite(value)) {
46
+ acc.push({ ref: idRef(row.id, "parameter"), value });
47
+ }
48
+ return acc;
49
+ }, []);
50
+ }
26
51
  /**
27
52
  * Parameters of unsupported types are dropped (cannot be rendered/clamped). Dashboard-`hidden`
28
53
  * and `readonly` ones are dropped too — once added they would derive back to an invisible or
@@ -83,6 +108,46 @@ export function setAlertExecutionParameters(automation, parameters) {
83
108
  },
84
109
  };
85
110
  }
111
+ /**
112
+ * Encodes the display-ready chip set back to the neutral export wire shape ({id, value:string,
113
+ * title}). The full per-tab execution set (including `hidden` entries) is converted, not just the
114
+ * visible chips, so the server resolver does not drop omitted parameters to the workspace default.
115
+ *
116
+ * @internal
117
+ */
118
+ export function automationParametersToExportParameters(parameters) {
119
+ return parameters.map((parameter) => ({
120
+ id: parameter.ref.identifier,
121
+ value: String(parameter.value),
122
+ title: parameter.title,
123
+ }));
124
+ }
125
+ /**
126
+ * Encodes the per-tab execution sets to the neutral export wire shape, or `undefined` when
127
+ * `shouldStore` is false (feature off / store-filters unchecked — signals "omit the field; use
128
+ * latest defaults"). Inverse of {@link reconstructAutomationParametersFromExportParameters}.
129
+ *
130
+ * @internal
131
+ */
132
+ export function toEffectiveParametersByTab(parametersByTab, shouldStore) {
133
+ if (!shouldStore) {
134
+ return undefined;
135
+ }
136
+ const result = {};
137
+ for (const [tabId, parameters] of Object.entries(parametersByTab)) {
138
+ result[tabId] = automationParametersToExportParameters(parameters);
139
+ }
140
+ return Object.keys(result).length > 0 ? result : undefined;
141
+ }
142
+ /**
143
+ * The single home for "does this export persist its parameters": widget schedules always do (they
144
+ * have no store-filters checkbox), dashboard schedules follow the store-filters checkbox.
145
+ *
146
+ * @internal
147
+ */
148
+ export function shouldStoreExportParameters(isWidgetSchedule, storeFilters = false) {
149
+ return isWidgetSchedule || storeFilters;
150
+ }
86
151
  function numberConstraints(workspaceParameter) {
87
152
  return workspaceParameter && isNumberParameterDefinition(workspaceParameter.definition)
88
153
  ? workspaceParameter.definition.constraints
@@ -53,6 +53,10 @@ export interface IAutomationFiltersSelectProps {
53
53
  * Workspace parameters addable via the "+" menu (catalog minus the selected set).
54
54
  */
55
55
  availableParameters?: IAutomationParameter[];
56
+ /**
57
+ * Called when a parameter is added from the "+" menu.
58
+ */
59
+ onParameterAdd?: (ref: IdentifierRef) => void;
56
60
  /**
57
61
  * Called when an `active` parameter chip's value is edited.
58
62
  */
@@ -62,9 +66,29 @@ export interface IAutomationFiltersSelectProps {
62
66
  */
63
67
  onParameterDelete?: (ref: IdentifierRef) => void;
64
68
  /**
65
- * Called when a parameter is added from the "+" menu.
69
+ * Parameter chips per tab. Used in tab-rendering mode (multi-tab dashboard schedules).
66
70
  */
67
- onParameterAdd?: (ref: IdentifierRef) => void;
71
+ parametersByTab?: Record<string, IAutomationParameter[]>;
72
+ /**
73
+ * Addable workspace parameters per tab. Used in tab-rendering mode.
74
+ */
75
+ availableParametersByTab?: Record<string, IAutomationParameter[]>;
76
+ /**
77
+ * Called when a parameter is added from a tab section's "+" menu.
78
+ */
79
+ onParameterAddByTab?: (tabId: string, ref: IdentifierRef) => void;
80
+ /**
81
+ * Called when an `active` parameter chip's value is edited in a tab section.
82
+ */
83
+ onParameterChangeByTab?: (tabId: string, ref: IdentifierRef, value: number) => void;
84
+ /**
85
+ * Called when an `active` parameter chip is removed in a tab section.
86
+ */
87
+ onParameterDeleteByTab?: (tabId: string, ref: IdentifierRef) => void;
88
+ /**
89
+ * When the `enableParameters` feature is on, the store-filters tooltip mentions parameter values too.
90
+ */
91
+ parametersEnabled?: boolean;
68
92
  }
69
- export declare function AutomationFiltersSelect({ availableFilters, selectedFilters, onFiltersChange, isDashboardAutomation, storeFilters, onStoreFiltersChange, areFiltersMissing, overlayPositionType, hideTitle, showAllFilters, disableDateFilters, filtersByTab, editedFiltersByTab, onFiltersByTabChange, parameters, onParameterChange, onParameterDelete, availableParameters, onParameterAdd }: IAutomationFiltersSelectProps): import("react/jsx-runtime").JSX.Element;
93
+ export declare function AutomationFiltersSelect({ availableFilters, selectedFilters, onFiltersChange, isDashboardAutomation, storeFilters, onStoreFiltersChange, areFiltersMissing, overlayPositionType, hideTitle, showAllFilters, disableDateFilters, filtersByTab, editedFiltersByTab, onFiltersByTabChange, parameters, availableParameters, onParameterAdd, onParameterChange, onParameterDelete, parametersByTab, availableParametersByTab, onParameterAddByTab, onParameterChangeByTab, onParameterDeleteByTab, parametersEnabled }: IAutomationFiltersSelectProps): import("react/jsx-runtime").JSX.Element;
70
94
  //# sourceMappingURL=AutomationFiltersSelect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutomationFiltersSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAGxB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EAEnC,KAAK,aAAa,EAClB,KAAK,MAAM,EAYd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGH,KAAK,mBAAmB,EAO3B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kEAAkE,CAAC;AAU9G,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAUvE,MAAM,WAAW,uBAAuB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACzC,gBAAgB,EAAE,+BAA+B,EAAE,CAAC;IACpD,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC9C,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,KAAK,IAAI,CAAC;IACpE,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,eAAe,EAAE,CACb,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,iBAAiB,EAAE,EAC/B,YAAY,EAAE,mBAAmB,EAAE,KAClC,IAAI,CAAC;IACV,YAAY,EAAE,OAAO,CAAC;IACtB,wBAAwB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC1C,gBAAgB,EAAE,iBAAiB,EAAE,GAAG,SAAS,C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CACjD;AAoED,wBAAgB,uBAAuB,CAAC,EACpC,gBAAqB,EACrB,eAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,SAAiB,EACjB,cAAsB,EACtB,kBAA0B,EAC1B,YAAY,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,UAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAwB,EACxB,cAAc,EACjB,EAAE,6BAA6B,2CA0a/B"}
1
+ {"version":3,"file":"AutomationFiltersSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/components/AutomationFiltersSelect.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAGxB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EAEnC,KAAK,aAAa,EAClB,KAAK,MAAM,EAYd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGH,KAAK,mBAAmB,EAO3B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kEAAkE,CAAC;AAU9G,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAWvE,MAAM,WAAW,uBAAuB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACzC,gBAAgB,EAAE,+BAA+B,EAAE,CAAC;IACpD,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC9C,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,KAAK,IAAI,CAAC;IACpE,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,eAAe,EAA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