@gooddata/sdk-ui-dashboard 11.54.0-alpha.5 → 11.54.0-alpha.6

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 (282) hide show
  1. package/NOTICE +849 -114
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/index.d.ts +2 -1
  5. package/esm/index.d.ts.map +1 -1
  6. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts +7 -0
  7. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts.map +1 -1
  8. package/esm/model/commandHandlers/dashboard/common/parameterHydration.js +17 -1
  9. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  10. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +7 -7
  11. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +1 -1
  12. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  13. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +37 -10
  14. package/esm/presentation/automations/alerting/types.d.ts +34 -6
  15. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  16. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +1 -1
  17. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  18. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +36 -10
  19. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
  20. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +2 -3
  21. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts.map +1 -1
  22. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +10 -8
  23. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +2 -2
  24. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
  25. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +3 -4
  26. package/esm/presentation/automations/scheduledEmail/types.d.ts +38 -7
  27. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  28. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +25 -0
  29. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +1 -0
  30. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.js +22 -0
  31. package/esm/presentation/automations/shared/slots/types.d.ts +53 -26
  32. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  33. package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts +1 -2
  34. package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts.map +1 -1
  35. package/esm/presentation/dialogs/ExportCsvDialog.d.ts +0 -1
  36. package/esm/presentation/dialogs/ExportCsvDialog.d.ts.map +1 -1
  37. package/esm/presentation/dialogs/ExportCsvDialog.js +2 -2
  38. package/esm/presentation/dialogs/ExportCsvDialogProvider.d.ts.map +1 -1
  39. package/esm/presentation/dialogs/ExportCsvDialogProvider.js +1 -1
  40. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +12 -15
  41. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  42. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +12 -15
  43. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +12 -15
  44. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  45. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +14 -17
  46. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +12 -15
  47. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  48. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +14 -17
  49. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +0 -60
  50. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  51. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +0 -60
  52. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +12 -15
  53. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  54. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +14 -17
  55. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +10 -15
  56. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  57. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +12 -17
  58. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +12 -15
  59. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  60. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +14 -17
  61. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +12 -15
  62. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  63. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +14 -17
  64. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +12 -15
  65. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  66. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +14 -17
  67. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +12 -15
  68. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  69. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +14 -17
  70. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +12 -15
  71. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  72. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +14 -17
  73. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +12 -15
  74. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  75. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +12 -15
  76. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +12 -15
  77. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  78. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +14 -17
  79. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +12 -15
  80. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  81. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +14 -17
  82. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +12 -15
  83. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  84. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +14 -17
  85. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +12 -15
  86. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  87. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +16 -19
  88. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +12 -15
  89. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  90. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +16 -19
  91. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +12 -15
  92. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  93. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +14 -17
  94. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +12 -15
  95. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  96. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +14 -17
  97. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +12 -15
  98. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  99. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +14 -17
  100. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +12 -15
  101. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  102. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +14 -17
  103. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +12 -15
  104. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  105. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +14 -17
  106. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +12 -15
  107. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  108. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +14 -17
  109. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +12 -15
  110. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  111. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +12 -15
  112. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +12 -15
  113. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  114. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +14 -17
  115. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +12 -15
  116. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  117. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +14 -17
  118. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  119. package/esm/presentation/widget/common/useInsightExport.js +2 -4
  120. package/esm/sdk-ui-dashboard.d.ts +123 -36
  121. package/package.json +21 -21
  122. package/styles/css/main.css +369 -0
  123. package/styles/css/main.css.map +1 -1
  124. package/esm/_staging/dateFilterConfig/fixtures.d.ts +0 -10
  125. package/esm/_staging/dateFilterConfig/fixtures.d.ts.map +0 -1
  126. package/esm/_staging/dateFilterConfig/fixtures.js +0 -60
  127. package/esm/_staging/layout/coordinates.mock.d.ts +0 -17
  128. package/esm/_staging/layout/coordinates.mock.d.ts.map +0 -1
  129. package/esm/_staging/layout/coordinates.mock.js +0 -103
  130. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts +0 -8
  131. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts.map +0 -1
  132. package/esm/model/commandHandlers/filterContext/filterViewParameters.js +0 -9
  133. package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts +0 -14
  134. package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts.map +0 -1
  135. package/esm/model/fixtures/CatalogAvailability.fixtures.js +0 -57
  136. package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts +0 -56
  137. package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts.map +0 -1
  138. package/esm/model/fixtures/ComplexDashboard.fixtures.js +0 -71
  139. package/esm/model/fixtures/Dashboard.fixtures.d.ts +0 -10
  140. package/esm/model/fixtures/Dashboard.fixtures.d.ts.map +0 -1
  141. package/esm/model/fixtures/Dashboard.fixtures.js +0 -13
  142. package/esm/model/fixtures/Insights.fixtures.d.ts +0 -6
  143. package/esm/model/fixtures/Insights.fixtures.d.ts.map +0 -1
  144. package/esm/model/fixtures/Insights.fixtures.js +0 -11
  145. package/esm/model/fixtures/Layout.fixtures.d.ts +0 -14
  146. package/esm/model/fixtures/Layout.fixtures.d.ts.map +0 -1
  147. package/esm/model/fixtures/Layout.fixtures.js +0 -115
  148. package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts +0 -46
  149. package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts.map +0 -1
  150. package/esm/model/fixtures/SimpleDashboard.fixtures.js +0 -315
  151. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts +0 -28
  152. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts.map +0 -1
  153. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.js +0 -40
  154. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts +0 -16
  155. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts.map +0 -1
  156. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.js +0 -30
  157. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +0 -3
  158. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +0 -1
  159. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +0 -46
  160. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +0 -11
  161. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +0 -1
  162. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +0 -31
  163. package/esm/presentation/automations/alerting/state/fixtures.d.ts +0 -13
  164. package/esm/presentation/automations/alerting/state/fixtures.d.ts.map +0 -1
  165. package/esm/presentation/automations/alerting/state/fixtures.js +0 -37
  166. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +0 -19
  167. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +0 -1
  168. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +0 -28
  169. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +0 -13
  170. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +0 -1
  171. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +0 -56
  172. package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts +0 -18
  173. package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts.map +0 -1
  174. package/esm/presentation/automations/scheduledEmail/state/fixtures.js +0 -105
  175. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts +0 -5
  176. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts.map +0 -1
  177. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.js +0 -22
  178. package/esm/presentation/automations/shared/test/fixtures.d.ts +0 -9
  179. package/esm/presentation/automations/shared/test/fixtures.d.ts.map +0 -1
  180. package/esm/presentation/automations/shared/test/fixtures.js +0 -101
  181. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts +0 -3
  182. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +0 -1
  183. package/esm/presentation/dashboard/components/DashboardMainContent.js +0 -39
  184. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts +0 -16
  185. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts.map +0 -1
  186. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.js +0 -17
  187. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts +0 -3
  188. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts.map +0 -1
  189. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.js +0 -9
  190. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts +0 -6
  191. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts.map +0 -1
  192. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.js +0 -10
  193. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts +0 -8
  194. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts.map +0 -1
  195. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.js +0 -14
  196. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts +0 -6
  197. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts.map +0 -1
  198. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.js +0 -8
  199. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts +0 -8
  200. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts.map +0 -1
  201. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.js +0 -10
  202. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts +0 -8
  203. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts.map +0 -1
  204. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.js +0 -33
  205. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts +0 -8
  206. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts.map +0 -1
  207. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.js +0 -33
  208. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts +0 -17
  209. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts.map +0 -1
  210. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.js +0 -18
  211. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts +0 -12
  212. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts.map +0 -1
  213. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.js +0 -26
  214. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts +0 -20
  215. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts.map +0 -1
  216. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.js +0 -95
  217. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts +0 -14
  218. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts.map +0 -1
  219. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.js +0 -9
  220. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts +0 -9
  221. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts.map +0 -1
  222. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.js +0 -17
  223. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts +0 -6
  224. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts.map +0 -1
  225. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.js +0 -10
  226. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts +0 -9
  227. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts.map +0 -1
  228. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.js +0 -14
  229. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts +0 -8
  230. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts.map +0 -1
  231. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.js +0 -49
  232. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts +0 -7
  233. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts.map +0 -1
  234. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.js +0 -33
  235. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts +0 -62
  236. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts.map +0 -1
  237. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.js +0 -2
  238. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts +0 -11
  239. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts.map +0 -1
  240. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.js +0 -4
  241. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts +0 -8
  242. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts.map +0 -1
  243. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.js +0 -28
  244. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts +0 -26
  245. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts.map +0 -1
  246. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.js +0 -21
  247. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts +0 -7
  248. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts.map +0 -1
  249. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.js +0 -39
  250. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts +0 -9
  251. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts.map +0 -1
  252. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.js +0 -26
  253. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts +0 -7
  254. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts.map +0 -1
  255. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.js +0 -37
  256. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts +0 -8
  257. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts.map +0 -1
  258. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.js +0 -15
  259. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts +0 -7
  260. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts.map +0 -1
  261. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.js +0 -8
  262. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts +0 -7
  263. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts.map +0 -1
  264. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.js +0 -5
  265. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts +0 -12
  266. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts.map +0 -1
  267. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.js +0 -12
  268. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +0 -25
  269. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +0 -1
  270. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +0 -5
  271. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +0 -29
  272. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +0 -1
  273. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +0 -137
  274. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +0 -11
  275. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +0 -1
  276. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +0 -42
  277. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +0 -48
  278. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +0 -1
  279. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +0 -171
  280. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts +0 -4
  281. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts.map +0 -1
  282. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.js +0 -46
@@ -4,12 +4,13 @@ import { useCallback, useMemo, useRef, useState } from "react";
4
4
  import cx from "classnames";
5
5
  import { defineMessage, useIntl } from "react-intl";
6
6
  import { ValidationContextStore, createInvalidNode, useValidationContextValue } from "@gooddata/sdk-ui";
7
- import { Button, ConfirmDialogBase, ContentDivider, Hyperlink, Message, Overlay, OverlayController, OverlayControllerProvider, RecurrenceForm, ScrollablePanel, UiIcon, UiTabs, getTimezoneDisplayLabel, isEnterKey, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
7
+ import { ConfirmDialogBase, ContentDivider, Message, Overlay, OverlayController, OverlayControllerProvider, RecurrenceForm, ScrollablePanel, UiIcon, UiTabs, getTimezoneDisplayLabel, isEnterKey, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
8
8
  import { DASHBOARD_DIALOG_OVERS_Z_INDEX } from "../../../constants/zIndex.js";
9
9
  import { IntlWrapper } from "../../../localization/IntlWrapper.js";
10
10
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
11
11
  import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
12
12
  import { ApplyCurrentFiltersConfirmDialog } from "../../shared/automationFilters/components/ApplyLatestFiltersConfirmDialog.js";
13
+ import { AutomationDialogActionBar, AutomationDialogFooterLeft, } from "../../shared/slots/AutomationDialogActionBar.js";
13
14
  import { DeleteScheduleConfirmDialog } from "../DefaultScheduledEmailManagementDialog/components/DeleteScheduleConfirmDialog.js";
14
15
  import { useScheduleEmailDialogAccessibility } from "../hooks/useScheduleEmailDialogAccessibility.js";
15
16
  import { useScheduledExportActions } from "../state/ScheduledExportActionsContext.js";
@@ -37,16 +38,13 @@ import { useElementHeightSnapshot } from "./hooks/useElementHeightSnapshot.js";
37
38
  import { useSaveScheduledEmailToBackend } from "./hooks/useSaveScheduledEmailToBackend.js";
38
39
  const CLOSE_ON_PARENT_SCROLL = true;
39
40
  const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z_INDEX);
40
- function ScheduledEmailDialogFooter({ isWhiteLabeled, helpTextId, scheduledExportToEdit, isSavingScheduledEmail, onDeleteClick, }) {
41
- const intl = useIntl();
42
- return (_jsxs("div", { className: "gd-notifications-channels-dialog-footer-link", children: [isWhiteLabeled ? null : (_jsx(Hyperlink, { text: intl.formatMessage({ id: helpTextId }), href: "https://www.gooddata.com/docs/cloud/create-dashboards/automation/scheduled-exports/#ScheduleExportsinDashboards-ScheduleExport", iconClass: "gd-icon-circle-question" })), scheduledExportToEdit ? (_jsx(Button, { className: "gd-button-link-dimmed", value: intl.formatMessage({ id: "delete" }), onClick: onDeleteClick, disabled: isSavingScheduledEmail })) : null] }));
43
- }
44
- export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess, onDeleteError, onError, onSave, onSaveError, onSaveSuccess, onSubmit, onSuccess, slots, }) {
41
+ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess, onDeleteError, onError, onSave, onSaveError, onSaveSuccess, onSubmit, onSuccess, slots, topContent, bottomContent, }) {
45
42
  const HeaderSlot = slots?.Header;
46
43
  const FiltersSlot = slots?.Filters;
47
44
  const TimezoneSlot = slots?.Timezone;
48
45
  const DestinationSlot = slots?.Destination;
49
46
  const RecipientsSlot = slots?.Recipients;
47
+ const ActionBarSlot = slots?.ActionBar;
50
48
  const intl = useIntl();
51
49
  const dialogTitleRef = useRef(null);
52
50
  const generalTabContentRef = useRef(null);
@@ -193,6 +191,31 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
193
191
  onKeyDownSubmit: handleSubmitForm,
194
192
  externalRecipientOverride,
195
193
  };
194
+ const actionBarDefaultProps = {
195
+ cancelButtonText: intl.formatMessage({ id: "cancel" }),
196
+ submitButtonText: scheduledExportToEdit
197
+ ? intl.formatMessage({ id: "dialogs.schedule.email.save" })
198
+ : intl.formatMessage({ id: "dialogs.schedule.email.create" }),
199
+ onCancel: () => onCancel?.(),
200
+ onSubmit: handleSaveScheduledEmail,
201
+ isSubmitDisabled: submitDisabled,
202
+ isSaving: isSavingScheduledEmail,
203
+ submitButtonTooltipText: isExecutionTimestampMode
204
+ ? intl.formatMessage({ id: "dialogs.schedule.email.save.executionTimestampMode" })
205
+ : undefined,
206
+ ...(isWhiteLabeled
207
+ ? {}
208
+ : {
209
+ helpLinkText: intl.formatMessage({ id: helpTextId }),
210
+ helpLinkHref: "https://www.gooddata.com/docs/cloud/create-dashboards/automation/scheduled-exports/#ScheduleExportsinDashboards-ScheduleExport",
211
+ }),
212
+ ...(scheduledExportToEdit
213
+ ? {
214
+ deleteButtonText: intl.formatMessage({ id: "delete" }),
215
+ onDelete: () => setScheduledEmailToDelete(editedAutomation),
216
+ }
217
+ : {}),
218
+ };
196
219
  return (_jsxs(_Fragment, { children: [
197
220
  _jsx(Overlay, { className: "gd-notifications-channels-dialog-overlay", isModal: true, positionType: "fixed", ensureVisibility: true, children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ValidationContextStore, { value: validationContextValue, children: _jsxs(ConfirmDialogBase, { className: "gd-notifications-channels-dialog s-gd-notifications-channels-dialog gd-dialog--wide gd-notifications-channels-dialog--wide", isPositive: true, cancelButtonText: intl.formatMessage({ id: "cancel" }), submitButtonText: scheduledExportToEdit
198
221
  ? intl.formatMessage({ id: `dialogs.schedule.email.save` })
@@ -204,7 +227,11 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
204
227
  },
205
228
  titleElementId,
206
229
  dialogId: SCHEDULED_EMAIL_DIALOG_ID,
207
- }, showProgressIndicator: isSavingScheduledEmail, returnFocusTo: returnFocusTo, returnFocusAfterClose: false, footerLeftRenderer: () => (_jsx(ScheduledEmailDialogFooter, { isWhiteLabeled: isWhiteLabeled, helpTextId: helpTextId, scheduledExportToEdit: scheduledExportToEdit, isSavingScheduledEmail: isSavingScheduledEmail, onDeleteClick: () => setScheduledEmailToDelete(editedAutomation) })), isSubmitDisabled: submitDisabled, submitButtonTooltipText: isExecutionTimestampMode
230
+ }, showProgressIndicator: isSavingScheduledEmail, returnFocusTo: returnFocusTo, returnFocusAfterClose: false, footerLeftRenderer: ActionBarSlot
231
+ ? undefined
232
+ : () => (_jsx(AutomationDialogFooterLeft, { helpLinkText: actionBarDefaultProps.helpLinkText, helpLinkHref: actionBarDefaultProps.helpLinkHref, deleteButtonText: actionBarDefaultProps.deleteButtonText, onDelete: actionBarDefaultProps.onDelete, isDeleteDisabled: isSavingScheduledEmail })), footerRenderer: ActionBarSlot
233
+ ? () => (_jsx(ActionBarSlot, { Default: AutomationDialogActionBar, defaultProps: actionBarDefaultProps }))
234
+ : undefined, isSubmitDisabled: submitDisabled, submitButtonTooltipText: isExecutionTimestampMode
208
235
  ? intl.formatMessage({
209
236
  id: "dialogs.schedule.email.save.executionTimestampMode",
210
237
  })
@@ -235,8 +262,7 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
235
262
  }, disableBottomBorder: true })) : null, _jsxs(ScrollablePanel, { className: cx("gd-notifications-channel-dialog-content-wrapper", {
236
263
  "gd-notification-channel-dialog-with-automation-filters": true,
237
264
  "gd-notification-channel-dialog-with-tabs": tabs.length > 1,
238
- }), children: [
239
- _jsx("div", { className: "gd-divider-with-margin" }), selectedTabId === "filters" ? (_jsx("div", { ref: filtersTabContentRef, className: "gd-schedule-dialog-tab-content", style: tabContentHeight
265
+ }), children: [topContent, _jsx("div", { className: "gd-divider-with-margin" }), selectedTabId === "filters" ? (_jsx("div", { ref: filtersTabContentRef, className: "gd-schedule-dialog-tab-content", style: tabContentHeight
240
266
  ? { minHeight: `${tabContentHeight}px` }
241
267
  : undefined, children: FiltersSlot ? (_jsx(FiltersSlot, { Default: ScheduledEmailDialogFilters, defaultProps: filtersDefaultProps })) : (_jsx(ScheduledEmailDialogFilters, { ...filtersDefaultProps })) })) : (_jsxs("div", { ref: generalTabContentRef, className: "gd-schedule-dialog-tab-content", children: [!widget && tabIds.length > 1 ? (_jsx(Message, { type: "progress", className: "gd-schedule-dialog-tab-content-info", children: intl.formatMessage({
242
268
  id: "dialogs.schedule.email.tabs.info",
@@ -257,7 +283,7 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
257
283
  .filter((invalidDatapoint) => invalidDatapoint.severity === "error")
258
284
  .map((invalidDatapoint) => (_jsx(Message, { id: invalidDatapoint.id, type: "error", className: cx("gd-notifications-channels-dialog-error", {
259
285
  "gd-notifications-channels-dialog-error-scrollable": true,
260
- }), children: invalidDatapoint.message }, invalidDatapoint.id)))] }))] })
286
+ }), children: invalidDatapoint.message }, invalidDatapoint.id)))] })), bottomContent] })
261
287
  ] }) }) }) }), scheduledEmailToDelete ? (_jsx(DeleteScheduleConfirmDialog, { scheduledEmail: scheduledEmailToDelete, onCancel: () => setScheduledEmailToDelete(null), onSuccess: handleScheduleDeleteSuccess, onError: onDeleteError })) : null] }));
262
288
  }
263
289
  /**
@@ -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;AAsC7B,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;CACtF;AA6BD,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,wBAAwB,2CA2WhG"}
1
+ {"version":3,"file":"AttachmentSettings.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,4CAA4C,EAIpD,MAAM,qBAAqB,CAAC;AAsC7B,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;CACtF;AA6BD,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,wBAAwB,2CA0WhG"}
@@ -2,7 +2,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
2
2
  // (C) 2025-2026 GoodData Corporation
3
3
  import { useId, useMemo, useState } from "react";
4
4
  import { FormattedMessage, useIntl } from "react-intl";
5
- import { DEFAULT_CSV_DELIMITER, getCsvDelimiterState, getCsvDelimiterValidationError, getCsvDelimiterValue, } from "@gooddata/sdk-model";
5
+ import { getCsvDelimiterState, getCsvDelimiterValidationError, getCsvDelimiterValue, } from "@gooddata/sdk-model";
6
6
  import { Button, ContentDivider, CsvDelimiterPicker, Dropdown, DropdownButton, UiIcon, UiMenu, isEscapeKey, } from "@gooddata/sdk-ui-kit";
7
7
  import { AUTOMATION_ATTACHMENT_SETTINGS_DIALOG_TITLE_ID } from "../../../../../constants/automations.js";
8
8
  const DROPDOWN_ALIGN_POINTS = [
@@ -45,7 +45,6 @@ export function AttachmentSettings({ type, settings, onSettingsChange }) {
45
45
  const legacyOrientation = settings.orientation;
46
46
  const legacyPageOrientation = mapLegacyOrientationToPageOrientation(legacyOrientation);
47
47
  const resolvedDefaultPageSize = settings.pageSize ?? DEFAULT_PDF_PAGE_SIZE;
48
- const resolvedCsvDelimiter = settings.delimiter ?? DEFAULT_CSV_DELIMITER;
49
48
  const resolvedCsvState = getCsvDelimiterState(settings.delimiter);
50
49
  const [mergeHeaders, setMergeHeaders] = useState(settings.mergeHeaders ?? true);
51
50
  const [exportInfo, setExportInfo] = useState(settings.exportInfo ?? true);
@@ -117,7 +116,7 @@ export function AttachmentSettings({ type, settings, onSettingsChange }) {
117
116
  const csvValidationError = csvDelimiterValue.selectedPreset === "custom"
118
117
  ? getCsvDelimiterValidationError(csvDelimiterValue.customDelimiter)
119
118
  : undefined;
120
- const isCsvSettingsDirty = selectedDelimiter !== resolvedCsvDelimiter;
119
+ const isCsvSettingsDirty = selectedDelimiter !== settings.delimiter;
121
120
  const isSettingsDirty = isPdfTabular
122
121
  ? isPdfSettingsDirty
123
122
  : isCsv
@@ -1 +1 @@
1
- {"version":3,"file":"useScheduledEmailExportSettings.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,OAAO,CAAC;AAIhF,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,yBAAyB,EAC9B,KAAK,4CAA4C,EACjD,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,oBAAoB,EAG5B,MAAM,qBAAqB,CAAC;AAe7B,MAAM,WAAW,qCAAqC;IAClD,gBAAgB,EAAE,mCAAmC,CAAC;IACtD,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAAC,CAAC;IACnF,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IAC3D,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,CAAC;IAChF,sBAAsB,EAAE,OAAO,EAAE,CAAC;IAClC,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC7C,kBAAkB,CAAC,EAAE,4CAA4C,CAAC,UAAU,CAAC,CAAC;IAC9E;;;OAGG;IACH,gBAAgB,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAC1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,gBAAgB,EAChB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,YAAY,EACZ,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,iCAAiC,EACjC,kBAAkB,EAClB,gBAAgB,EACnB,EAAE,qCAAqC;;;;;;;;;EAgSvC"}
1
+ {"version":3,"file":"useScheduledEmailExportSettings.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,OAAO,CAAC;AAIhF,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,yBAAyB,EAC9B,KAAK,4CAA4C,EACjD,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,oBAAoB,EAG5B,MAAM,qBAAqB,CAAC;AAe7B,MAAM,WAAW,qCAAqC;IAClD,gBAAgB,EAAE,mCAAmC,CAAC;IACtD,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAAC,CAAC;IACnF,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IAC3D,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,CAAC;IAChF,sBAAsB,EAAE,OAAO,EAAE,CAAC;IAClC,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC7C,kBAAkB,CAAC,EAAE,4CAA4C,CAAC,UAAU,CAAC,CAAC;IAC9E;;;OAGG;IACH,gBAAgB,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAC1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,gBAAgB,EAChB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,YAAY,EACZ,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,iCAAiC,EACjC,kBAAkB,EAClB,gBAAgB,EACnB,EAAE,qCAAqC;;;;;;;;;EAwSvC"}
@@ -153,14 +153,15 @@ export function useScheduledEmailExportSettings({ editedAutomation, setEditedAut
153
153
  if (exportDefinition.requestPayload.format !== "CSV") {
154
154
  return exportDefinition;
155
155
  }
156
+ const { delimiter: _delimiter, ...restSettings } = exportDefinition.requestPayload.settings ?? {};
157
+ const nextSettings = settings.delimiter === undefined
158
+ ? restSettings
159
+ : { ...restSettings, delimiter: settings.delimiter };
156
160
  return {
157
161
  ...exportDefinition,
158
162
  requestPayload: {
159
163
  ...exportDefinition.requestPayload,
160
- settings: {
161
- ...exportDefinition.requestPayload.settings,
162
- delimiter: settings.delimiter,
163
- },
164
+ settings: nextSettings,
164
165
  },
165
166
  };
166
167
  }),
@@ -173,14 +174,15 @@ export function useScheduledEmailExportSettings({ editedAutomation, setEditedAut
173
174
  if (exportDefinition.requestPayload.format !== "CSV_RAW") {
174
175
  return exportDefinition;
175
176
  }
177
+ const { delimiter: _delimiter, ...restSettings } = exportDefinition.requestPayload.settings ?? {};
178
+ const nextSettings = settings.delimiter === undefined
179
+ ? restSettings
180
+ : { ...restSettings, delimiter: settings.delimiter };
176
181
  return {
177
182
  ...exportDefinition,
178
183
  requestPayload: {
179
184
  ...exportDefinition.requestPayload,
180
- settings: {
181
- ...exportDefinition.requestPayload.settings,
182
- delimiter: settings.delimiter,
183
- },
185
+ settings: nextSettings,
184
186
  },
185
187
  };
186
188
  }),
@@ -25,10 +25,10 @@ export declare function useScheduledExportAttachments(): {
25
25
  exportInfo: boolean;
26
26
  };
27
27
  csvSettings: {
28
- delimiter: string;
28
+ delimiter: string | undefined;
29
29
  };
30
30
  csvRawSettings: {
31
- delimiter: string;
31
+ delimiter: string | undefined;
32
32
  };
33
33
  slidesTemplateIds: {
34
34
  PPTX: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useScheduledExportAttachments.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;EAwH5C"}
1
+ {"version":3,"file":"useScheduledExportAttachments.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;;GAWG;AACH,wBAAgB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;EAuH5C"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
2
  import { useMemo } from "react";
3
- import { DEFAULT_CSV_DELIMITER, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
3
+ import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
4
4
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
5
5
  import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
6
6
  import { getDefaultPdfPageSize } from "../utils/pdfPageSize.js";
@@ -21,7 +21,6 @@ export function useScheduledExportAttachments() {
21
21
  const { settings } = useAutomationsContext();
22
22
  const { widget, insight } = useScheduledEmailDialogContext();
23
23
  const { editedAutomation } = useScheduledExportDraft();
24
- const resolvedDefaultCsvDelimiter = settings?.exportCsvCustomDelimiter ?? DEFAULT_CSV_DELIMITER;
25
24
  const defaultPdfPageSize = getDefaultPdfPageSize(settings?.formatLocale);
26
25
  const isWidget = !!widget && !!insight;
27
26
  const selectedAttachments = useMemo(() => {
@@ -64,7 +63,7 @@ export function useScheduledExportAttachments() {
64
63
  ? csvExportDefinition.requestPayload.settings
65
64
  : undefined;
66
65
  const csvSettings = {
67
- delimiter: csvExportSettings?.delimiter ?? resolvedDefaultCsvDelimiter,
66
+ delimiter: csvExportSettings?.delimiter,
68
67
  };
69
68
  const csvRawExportDefinition = editedAutomation.exportDefinitions?.find((exportDefinition) => isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload) &&
70
69
  exportDefinition.requestPayload.format === "CSV_RAW");
@@ -73,7 +72,7 @@ export function useScheduledExportAttachments() {
73
72
  ? csvRawExportDefinition.requestPayload.settings
74
73
  : undefined;
75
74
  const csvRawSettings = {
76
- delimiter: csvRawExportSettings?.delimiter ?? resolvedDefaultCsvDelimiter,
75
+ delimiter: csvRawExportSettings?.delimiter,
77
76
  };
78
77
  // Extract templateId per slides format, scoped to the current dialog mode
79
78
  const getTemplateIdForFormat = (format) => {
@@ -1,9 +1,10 @@
1
1
  import { type ComponentType, type KeyboardEvent, type ReactNode, type Ref } from "react";
2
2
  import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IFilter, type IInsight, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IWidget, type IdentifierRef, type ParameterValue } from "@gooddata/sdk-model";
3
3
  import { type GoodDataSdkError } from "@gooddata/sdk-ui";
4
+ import { type ISlotProps } from "@gooddata/sdk-ui-kit";
4
5
  import { type IAutomationFiltersTab } from "../../../model/store/filtering/types.js";
5
6
  import { type IAutomationParameter } from "../shared/automationFilters/automationParameters.js";
6
- import { type IAutomationDialogDestinationProps, type IAutomationDialogFiltersProps, type IAutomationDialogHeaderProps, type IAutomationDialogRecipientsProps, type ISlotProps } from "../shared/slots/types.js";
7
+ import { type IAutomationDialogActionBarProps, type IAutomationDialogDestinationProps, type IAutomationDialogFiltersProps, type IAutomationDialogHeaderProps, type IAutomationDialogRecipientsProps } from "../shared/slots/types.js";
7
8
  /**
8
9
  * @alpha
9
10
  */
@@ -292,12 +293,12 @@ export interface IScheduledEmailDialogRecipientsProps extends IAutomationDialogR
292
293
  export interface IScheduledEmailDialogSlots {
293
294
  /**
294
295
  * Wraps or replaces the dialog header (the title input row). Must have a stable reference
295
- * identity — see {@link ISlotProps}.
296
+ * identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
296
297
  */
297
298
  Header?: ComponentType<ISlotProps<ScheduledEmailDialogHeaderDefaultProps>>;
298
299
  /**
299
300
  * Wraps or replaces the Filters tab content (the filter and parameter chips). Must have a
300
- * stable reference identity — see {@link ISlotProps}.
301
+ * stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
301
302
  *
302
303
  * Renders only in the fully rendered dialog **and only while the Filters tab is selected**:
303
304
  * not while the dialog context reports loading, not while the stale-filters confirmation
@@ -312,7 +313,7 @@ export interface IScheduledEmailDialogSlots {
312
313
  Filters?: ComponentType<ISlotProps<IScheduledEmailDialogFiltersProps>>;
313
314
  /**
314
315
  * Wraps or replaces the "Time zone" section on the General tab. Must have a stable reference
315
- * identity — see {@link ISlotProps}.
316
+ * identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
316
317
  *
317
318
  * Renders only when the dialog shows the section at all: the dashboard-timezone feature is
318
319
  * enabled and the dashboard allows the view-mode timezone override. When the section is
@@ -321,7 +322,7 @@ export interface IScheduledEmailDialogSlots {
321
322
  Timezone?: ComponentType<ISlotProps<ScheduledEmailDialogTimezoneDefaultProps>>;
322
323
  /**
323
324
  * Wraps or replaces the dialog's destination region (the notification-channel select on the
324
- * General tab). Must have a stable reference identity — see {@link ISlotProps}.
325
+ * General tab). Must have a stable reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
325
326
  *
326
327
  * Renders only in the fully rendered dialog **and only while the General tab is selected**:
327
328
  * not while the dialog context reports loading, and not while the stale-filters confirmation
@@ -330,13 +331,30 @@ export interface IScheduledEmailDialogSlots {
330
331
  Destination?: ComponentType<ISlotProps<IAutomationDialogDestinationProps>>;
331
332
  /**
332
333
  * Wraps or replaces the dialog's recipients region on the General tab. Must have a stable
333
- * reference identity — see {@link ISlotProps}.
334
+ * reference identity — see {@link @gooddata/sdk-ui-kit#ISlotProps}.
334
335
  *
335
336
  * Renders only in the fully rendered dialog **and only while the General tab is selected**:
336
337
  * not while the dialog context reports loading, and not while the stale-filters confirmation
337
338
  * step is shown. It unmounts — losing any local state — on every switch to the Filters tab.
338
339
  */
339
340
  Recipients?: ComponentType<ISlotProps<IScheduledEmailDialogRecipientsProps>>;
341
+ /**
342
+ * Wraps or replaces the dialog's action bar (the footer row: documentation link, Delete in
343
+ * edit mode, Cancel and the submit button). Must have a stable reference identity — see
344
+ * {@link @gooddata/sdk-ui-kit#ISlotProps}.
345
+ *
346
+ * Renders only in the fully rendered dialog: not while the dialog context reports loading
347
+ * (the loading dialog keeps its own footer), and not while the stale-filters confirmation
348
+ * step is shown. Unlike the Filters and Destination slots it renders on **both** tabs — the
349
+ * footer is tab-independent.
350
+ *
351
+ * A replacement that does not render `Default` loses the submit button's Enter-key detection
352
+ * id (Enter no longer submits), the validation aria wiring, and the default row's ordering.
353
+ * Wraps that render `<Default {...defaultProps} />` keep everything; note the Enter-key path
354
+ * invokes the dialog's own submit handler and disabled state, so `defaultProps` overrides
355
+ * affect the buttons only.
356
+ */
357
+ ActionBar?: ComponentType<ISlotProps<IAutomationDialogActionBarProps>>;
340
358
  }
341
359
  /**
342
360
  * Props of {@link DefaultScheduledEmailDialog}.
@@ -357,7 +375,7 @@ export interface IDefaultScheduledEmailDialogProps extends IScheduledEmailDialog
357
375
  *
358
376
  * @example
359
377
  * The dialog is reached through the `Dashboard` component override; define slot components at
360
- * module scope (see {@link ISlotProps}):
378
+ * module scope (see {@link @gooddata/sdk-ui-kit#ISlotProps}):
361
379
  * ```tsx
362
380
  * function RecipientsWithNote({ Default, defaultProps }: ISlotProps<IScheduledEmailDialogRecipientsProps>) {
363
381
  * return (
@@ -376,6 +394,19 @@ export interface IDefaultScheduledEmailDialogProps extends IScheduledEmailDialog
376
394
  * ```
377
395
  */
378
396
  slots?: IScheduledEmailDialogSlots;
397
+ /**
398
+ * Content rendered as the first child of the dialog's scrollable content area, above the
399
+ * form. Rendered only in the fully rendered dialog: not while the dialog context reports
400
+ * loading, and not while the stale-filters confirmation step is shown. Rendered on both
401
+ * tabs — it is a content-area child, not a tab child.
402
+ */
403
+ topContent?: ReactNode;
404
+ /**
405
+ * Content rendered as the last child of the dialog's scrollable content area, below the
406
+ * form. Same rendering conditions as {@link IDefaultScheduledEmailDialogProps.topContent}.
407
+ * Rendered on both tabs — it is a content-area child, not a tab child.
408
+ */
409
+ bottomContent?: ReactNode;
379
410
  }
380
411
  /**
381
412
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/scheduledEmail/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEzF,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,KAAK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;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,MAAM,mDAAmD,GAAG,aAAa,CAAC;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,6CAA6C,GACrD,aAAa,CAAC,oCAAoC,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/scheduledEmail/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEzF,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACxC,MAAM,0BAA0B,CAAC;AAMlC;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAElD;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;;;;;;;;;;OAWG;IACH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A6C,GACrD,aAAa,CAAC,oCAAoC,CAAC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type IAutomationDialogActionBarProps } from "./types.js";
2
+ interface IAutomationDialogFooterLeftProps {
3
+ helpLinkText?: string;
4
+ helpLinkHref?: string;
5
+ deleteButtonText?: string;
6
+ onDelete?: () => void;
7
+ isDeleteDisabled?: boolean;
8
+ }
9
+ /**
10
+ * The footer-left area of both automation dialogs: the documentation link and, in edit mode,
11
+ * the delete button.
12
+ *
13
+ * @internal
14
+ */
15
+ export declare function AutomationDialogFooterLeft({ helpLinkText, helpLinkHref, deleteButtonText, onDelete, isDeleteDisabled }: IAutomationDialogFooterLeftProps): import("react/jsx-runtime").JSX.Element;
16
+ /**
17
+ * Default implementation of both automation dialogs' ActionBar slot. Fully props-driven: every
18
+ * value it renders arrives through {@link IAutomationDialogActionBarProps}, so a wrapping slot
19
+ * can override any of them before spreading onto it.
20
+ *
21
+ * @internal
22
+ */
23
+ export declare function AutomationDialogActionBar({ cancelButtonText, submitButtonText, onCancel, onSubmit, isSubmitDisabled, isSaving, submitButtonTooltipText, helpLinkText, helpLinkHref, onDelete, deleteButtonText }: IAutomationDialogActionBarProps): import("react/jsx-runtime").JSX.Element;
24
+ export {};
25
+ //# sourceMappingURL=AutomationDialogActionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutomationDialogActionBar.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/slots/AutomationDialogActionBar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAElE,UAAU,gCAAgC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EACnB,EAAE,gCAAgC,2CAgBlC;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,uBAAuB,EACvB,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,gBAAgB,EACnB,EAAE,+BAA+B,2CAsBjC"}
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { Button, ConfirmDialogFooter, Hyperlink } from "@gooddata/sdk-ui-kit";
4
+ /**
5
+ * The footer-left area of both automation dialogs: the documentation link and, in edit mode,
6
+ * the delete button.
7
+ *
8
+ * @internal
9
+ */
10
+ export function AutomationDialogFooterLeft({ helpLinkText, helpLinkHref, deleteButtonText, onDelete, isDeleteDisabled, }) {
11
+ return (_jsxs("div", { className: "gd-notifications-channels-dialog-footer-link", children: [helpLinkText && helpLinkHref ? (_jsx(Hyperlink, { text: helpLinkText, href: helpLinkHref, iconClass: "gd-icon-circle-question" })) : null, onDelete ? (_jsx(Button, { className: "gd-button-link-dimmed", value: deleteButtonText, onClick: onDelete, disabled: isDeleteDisabled })) : null] }));
12
+ }
13
+ /**
14
+ * Default implementation of both automation dialogs' ActionBar slot. Fully props-driven: every
15
+ * value it renders arrives through {@link IAutomationDialogActionBarProps}, so a wrapping slot
16
+ * can override any of them before spreading onto it.
17
+ *
18
+ * @internal
19
+ */
20
+ export function AutomationDialogActionBar({ cancelButtonText, submitButtonText, onCancel, onSubmit, isSubmitDisabled, isSaving, submitButtonTooltipText, helpLinkText, helpLinkHref, onDelete, deleteButtonText, }) {
21
+ return (_jsx(ConfirmDialogFooter, { footerLeft: _jsx(AutomationDialogFooterLeft, { helpLinkText: helpLinkText, helpLinkHref: helpLinkHref, deleteButtonText: deleteButtonText, onDelete: onDelete, isDeleteDisabled: isSaving }), showProgressIndicator: isSaving, cancelButtonText: cancelButtonText, onCancel: onCancel, submitButtonText: submitButtonText, onSubmit: onSubmit, isSubmitDisabled: isSubmitDisabled, submitButtonTooltipText: submitButtonTooltipText, isPositive: true }));
22
+ }
@@ -1,31 +1,6 @@
1
- import { type ComponentType, type ReactNode } from "react";
1
+ import { type ReactNode } from "react";
2
2
  import { type FilterContextItem, type IAutomationRecipient, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IdentifierRef, type ParameterValue } from "@gooddata/sdk-model";
3
3
  import { type IAutomationParameter } from "../automationFilters/automationParameters.js";
4
- /**
5
- * Contract of a section-level slot: the default implementation and the exact props the default
6
- * dialog would render it with.
7
- *
8
- * The component a customer assigns to a slot is rendered as an element type, so its reference
9
- * identity is load-bearing: define it at module scope (or memoize it), never inline in a render
10
- * function — an inline definition gets a fresh identity on every render of the declaring
11
- * component, which unmounts and remounts the region, losing focus and transient DOM state.
12
- *
13
- * Render `<Default {...defaultProps} />` inside your own markup to wrap the region rather than
14
- * replace it; a slot that does not spread `defaultProps` onto `Default` loses the default
15
- * behavior wired through them (including the dialog's initial-focus ref).
16
- *
17
- * @alpha
18
- */
19
- export interface ISlotProps<TProps> {
20
- /**
21
- * The default implementation of the region.
22
- */
23
- Default: ComponentType<TProps>;
24
- /**
25
- * The exact props the default dialog would render {@link ISlotProps.Default} with.
26
- */
27
- defaultProps: TProps;
28
- }
29
4
  /**
30
5
  * Members shared by both automation dialogs' header regions.
31
6
  *
@@ -163,4 +138,56 @@ export interface IAutomationDialogRecipientsProps {
163
138
  */
164
139
  externalRecipientOverride?: string;
165
140
  }
141
+ /**
142
+ * Members shared by both automation dialogs' action-bar regions (the footer row).
143
+ *
144
+ * @alpha
145
+ */
146
+ export interface IAutomationDialogActionBarProps {
147
+ /**
148
+ * Label of the cancel button.
149
+ */
150
+ cancelButtonText: string;
151
+ /**
152
+ * Label of the submit button ("Create" / "Save" per mode).
153
+ */
154
+ submitButtonText: string;
155
+ /**
156
+ * Closes the dialog without saving.
157
+ */
158
+ onCancel: () => void;
159
+ /**
160
+ * Submits the automation.
161
+ */
162
+ onSubmit: () => void;
163
+ /**
164
+ * Whether submitting is currently disabled (validation, saving, execution-timestamp mode).
165
+ */
166
+ isSubmitDisabled: boolean;
167
+ /**
168
+ * Whether a save is in flight; drives the progress spinner and disables Delete.
169
+ */
170
+ isSaving: boolean;
171
+ /**
172
+ * Tooltip shown on the disabled submit button, when there is one.
173
+ */
174
+ submitButtonTooltipText?: string;
175
+ /**
176
+ * Text of the documentation link. Absent (with {@link IAutomationDialogActionBarProps.helpLinkHref})
177
+ * when the workspace is white-labeled.
178
+ */
179
+ helpLinkText?: string;
180
+ /**
181
+ * Target of the documentation link. Absent when the workspace is white-labeled.
182
+ */
183
+ helpLinkHref?: string;
184
+ /**
185
+ * Opens the delete confirmation. Absent when creating a new automation.
186
+ */
187
+ onDelete?: () => void;
188
+ /**
189
+ * Label of the delete button. Present with {@link IAutomationDialogActionBarProps.onDelete}.
190
+ */
191
+ deleteButtonText?: string;
192
+ }
166
193
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/slots/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAU,CAAC,MAAM;IAC9B;;OAEG;IACH,OAAO,EAAE,aAA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EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD;AAED;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CAAC,UAAU,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAEvD;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/slots/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,cAA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oB,CAAC;IAElC;;OAEG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC;AAED;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -1,9 +1,8 @@
1
1
  import { type ReactNode } from "react";
2
2
  export interface IExportCsvDialogData {
3
- delimiter: string;
3
+ delimiter?: string;
4
4
  }
5
5
  export interface IExportCsvDialogConfig {
6
- initialDelimiter?: string;
7
6
  onSubmit: (data: IExportCsvDialogData) => void;
8
7
  }
9
8
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ExportCsvDialogContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/ExportCsvDialogContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA6D,MAAM,OAAO,CAAC;AAElG,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,UAAU,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACrD,WAAW,EAAE,MAAM,IAAI,CAAC;CAC3B;AASD;;GAEG;AACH,eAAO,MAAM,yBAAyB,+BAErC,CAAC;AAEF;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAmBpF"}
1
+ {"version":3,"file":"ExportCsvDialogContext.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboardContexts/ExportCsvDialogContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAA6D,MAAM,OAAO,CAAC;AAElG,MAAM,WAAW,oBAAoB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,UAAU,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACrD,WAAW,EAAE,MAAM,IAAI,CAAC;CAC3B;AASD;;GAEG;AACH,eAAO,MAAM,yBAAyB,+BAErC,CAAC;AAEF;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAmBpF"}
@@ -1,6 +1,5 @@
1
1
  import { type IExportCsvDialogData } from "../dashboardContexts/ExportCsvDialogContext.js";
2
2
  export interface IExportCsvDialogProps {
3
- initialDelimiter?: string;
4
3
  onCancel: () => void;
5
4
  onSubmit: (data: IExportCsvDialogData) => void;
6
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ExportCsvDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/dialogs/ExportCsvDialog.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAW3F,MAAM,WAAW,qBAAqB;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,eAAe,6DA+C1B,CAAC"}
1
+ {"version":3,"file":"ExportCsvDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/dialogs/ExportCsvDialog.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAW3F,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,eAAe,6DA2C1B,CAAC"}
@@ -12,9 +12,9 @@ const messages = defineMessages({
12
12
  submit: { id: "dialogs.export.submit" },
13
13
  delimiterLabel: { id: "dialogs.export.csv.delimiter", defaultMessage: "CSV delimiter" },
14
14
  });
15
- export const ExportCsvDialog = memo(function ExportCsvDialog({ initialDelimiter, onCancel, onSubmit, }) {
15
+ export const ExportCsvDialog = memo(function ExportCsvDialog({ onCancel, onSubmit }) {
16
16
  const intl = useIntl();
17
- const [value, setValue] = useState(() => getCsvDelimiterState(initialDelimiter));
17
+ const [value, setValue] = useState(() => getCsvDelimiterState());
18
18
  const validationContextValue = useValidationContextValue(createInvalidNode());
19
19
  const validationError = value.selectedPreset === "custom" ? getCsvDelimiterValidationError(value.customDelimiter) : undefined;
20
20
  const isSubmitDisabled = value.selectedPreset === "custom" ? !value.customDelimiter || Boolean(validationError) : false;
@@ -1 +1 @@
1
- {"version":3,"file":"ExportCsvDialogProvider.d.ts","sourceRoot":"","sources":["../../../src/presentation/dialogs/ExportCsvDialogProvider.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,uBAAuB,mDAatC"}
1
+ {"version":3,"file":"ExportCsvDialogProvider.d.ts","sourceRoot":"","sources":["../../../src/presentation/dialogs/ExportCsvDialogProvider.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,uBAAuB,mDAYtC"}
@@ -7,7 +7,7 @@ import { ExportCsvDialog } from "./ExportCsvDialog.js";
7
7
  */
8
8
  export function ExportCsvDialogProvider() {
9
9
  const { closeDialog, dialogConfig, isOpen } = useExportCsvDialogContext();
10
- return isOpen && dialogConfig ? (_jsx(ExportCsvDialog, { initialDelimiter: dialogConfig.initialDelimiter, onCancel: closeDialog, onSubmit: (data) => {
10
+ return isOpen && dialogConfig ? (_jsx(ExportCsvDialog, { onCancel: closeDialog, onSubmit: (data) => {
11
11
  closeDialog();
12
12
  dialogConfig.onSubmit(data);
13
13
  } })) : null;