@gooddata/sdk-ui-dashboard 11.55.0-alpha.0 → 11.55.0-alpha.1

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 (337) hide show
  1. package/NOTICE +3 -3
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/metadata/objRefMap.d.ts +11 -0
  5. package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
  6. package/esm/_staging/metadata/objRefMap.js +19 -1
  7. package/esm/index.d.ts +49 -6
  8. package/esm/index.d.ts.map +1 -1
  9. package/esm/index.js +42 -2
  10. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  11. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
  12. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  13. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +9 -6
  14. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
  15. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
  16. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
  17. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
  18. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
  19. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
  20. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/filterContext/common.js +5 -2
  22. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  23. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
  24. package/esm/model/commands/filters.d.ts +3 -3
  25. package/esm/model/store/config/configSelectors.d.ts +6 -0
  26. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  27. package/esm/model/store/config/configSelectors.js +8 -0
  28. package/esm/model/store/dashboardStore.d.ts +2 -0
  29. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  30. package/esm/model/store/dashboardStore.js +2 -0
  31. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
  32. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  33. package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
  34. package/esm/model/store/tabs/index.d.ts +136 -128
  35. package/esm/model/store/tabs/index.d.ts.map +1 -1
  36. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
  37. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  38. package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
  39. package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
  40. package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
  41. package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
  42. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
  43. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  44. package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
  45. package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
  46. package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
  47. package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
  48. package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
  49. package/esm/model/store/tabs/tabsReducers.js +21 -1
  50. package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
  51. package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
  52. package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
  53. package/esm/model/store/types.d.ts +3 -0
  54. package/esm/model/store/types.d.ts.map +1 -1
  55. package/esm/model/store/unavailableObjects/index.d.ts +8 -0
  56. package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
  57. package/esm/model/store/unavailableObjects/index.js +13 -0
  58. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
  59. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
  60. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
  61. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
  62. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
  63. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
  64. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +8 -0
  65. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  66. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +21 -13
  67. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
  68. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
  69. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogDestination.js → DefaultAlertingDialogDestination.js} +7 -2
  70. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
  71. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
  72. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
  73. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +11 -0
  74. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
  75. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.js} +10 -2
  76. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
  77. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
  78. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogRecipients.js → DefaultAlertingDialogRecipients.js} +7 -3
  79. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +1 -1
  80. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
  81. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +1 -1
  82. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +2 -2
  83. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +1 -1
  84. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts +0 -1
  85. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
  86. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
  87. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.js +1 -1
  88. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.js +2 -2
  89. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
  90. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
  91. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
  92. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
  93. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
  94. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +15 -0
  95. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
  96. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -0
  97. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +16 -0
  98. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
  99. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -0
  100. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +26 -0
  101. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
  102. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -0
  103. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +13 -0
  104. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
  105. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -0
  106. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts +12 -0
  107. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
  108. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -0
  109. package/esm/presentation/automations/alerting/hooks/useAlertValidation.d.ts.map +1 -0
  110. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
  111. package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
  112. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
  113. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
  114. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +1 -1
  115. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
  116. package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
  117. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
  118. package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
  119. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
  120. package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
  121. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
  122. package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
  123. package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
  124. package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
  125. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
  126. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
  127. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
  128. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
  129. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
  130. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
  131. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
  132. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
  133. package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
  134. package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
  135. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
  136. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
  137. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
  138. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
  139. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
  140. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
  141. package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
  142. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +8 -8
  143. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
  144. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
  145. package/esm/presentation/automations/alerting/types.d.ts +48 -6
  146. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  147. package/esm/presentation/automations/alerting/types.js +3 -1
  148. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
  149. package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
  150. package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
  151. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +14 -2
  152. package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
  153. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
  154. package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
  155. package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
  156. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
  157. package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
  158. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
  159. package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
  160. package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
  161. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
  162. package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
  163. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
  164. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
  165. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  166. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
  167. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
  168. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
  169. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
  170. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
  171. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
  172. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
  173. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
  174. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
  175. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
  176. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
  177. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
  178. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
  179. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
  180. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
  181. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
  182. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
  183. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
  184. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
  185. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
  186. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
  187. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
  188. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
  189. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
  190. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
  191. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
  192. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
  193. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
  194. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
  195. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
  196. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
  197. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
  198. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
  199. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
  200. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
  201. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
  202. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
  203. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
  204. package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
  205. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
  206. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
  207. package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
  208. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
  209. package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
  210. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
  211. package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
  212. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
  213. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
  214. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
  215. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
  216. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
  217. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
  218. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
  219. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
  220. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
  221. package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
  222. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
  223. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
  224. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
  225. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
  226. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
  227. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
  228. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
  229. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
  230. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
  231. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
  232. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
  233. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
  234. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
  235. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
  236. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
  237. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
  238. package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
  239. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  240. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +27 -0
  241. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
  242. package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
  243. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
  244. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
  245. package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
  246. package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
  247. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  248. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
  249. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
  250. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
  251. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
  252. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
  253. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
  254. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
  255. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
  256. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
  257. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  258. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -4
  259. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
  260. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
  261. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
  262. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
  263. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
  264. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
  265. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
  266. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
  267. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
  268. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
  269. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
  270. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
  271. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
  272. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
  273. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
  274. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
  275. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
  276. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
  277. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
  278. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
  279. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
  280. package/esm/sdk-ui-dashboard.d.ts +1828 -250
  281. package/package.json +25 -25
  282. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
  283. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
  284. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
  285. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
  286. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
  287. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
  288. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
  289. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
  290. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
  291. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +0 -23
  292. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +0 -1
  293. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
  294. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
  295. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
  296. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
  297. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
  298. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
  299. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
  300. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
  301. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
  302. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
  303. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
  304. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
  305. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
  306. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
  307. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
  308. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
  309. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
  310. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
  311. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
  312. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
  313. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
  314. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
  315. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
  316. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
  317. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
  318. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
  319. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
  320. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
  321. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
  322. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
  323. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
  324. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
  325. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
  326. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
  327. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
  328. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
  329. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
  330. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
  331. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
  332. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
  333. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
  334. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
  335. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
  336. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
  337. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
@@ -5,8 +5,8 @@ import { defineMessage, useIntl } from "react-intl";
5
5
  import { UiIcon } from "@gooddata/sdk-ui-kit";
6
6
  import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
7
7
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
8
- import { isAnomalyDetection } from "../DefaultAlertingDialog/utils/guards.js";
9
- import { isMobileView } from "../DefaultAlertingDialog/utils/responsive.js";
8
+ import { isAnomalyDetection } from "../utils/guards.js";
9
+ import { isMobileView } from "../utils/responsive.js";
10
10
  import { useAlertActions } from "./AlertActionsContext.js";
11
11
  import { useAlertData } from "./AlertDataContext.js";
12
12
  import { useAlertDraft } from "./AlertDraftContext.js";
@@ -18,7 +18,7 @@ import { useAlertSelectedValues } from "./useAlertSelectedValues.js";
18
18
  *
19
19
  * Throws outside the alerting dialog's state providers.
20
20
  *
21
- * @internal
21
+ * @alpha
22
22
  */
23
23
  export function useAlertingDialogHeaderProps({ onCancel, ref, }) {
24
24
  const intl = useIntl();
@@ -48,7 +48,7 @@ export function useAlertingDialogHeaderProps({ onCancel, ref, }) {
48
48
  *
49
49
  * Throws outside the alerting dialog's state providers.
50
50
  *
51
- * @internal
51
+ * @alpha
52
52
  */
53
53
  export function useAlertingDialogFiltersProps() {
54
54
  const { editedAutomation } = useAlertDraft();
@@ -70,7 +70,7 @@ export function useAlertingDialogFiltersProps() {
70
70
  *
71
71
  * Throws outside the alerting dialog's state providers.
72
72
  *
73
- * @internal
73
+ * @alpha
74
74
  */
75
75
  export function useAlertingDialogDestinationProps() {
76
76
  const { notificationChannels } = useAlertingDialogContext();
@@ -87,7 +87,7 @@ export function useAlertingDialogDestinationProps() {
87
87
  *
88
88
  * Throws outside the alerting dialog's state providers.
89
89
  *
90
- * @internal
90
+ * @alpha
91
91
  */
92
92
  export function useAlertingDialogRecipientsProps() {
93
93
  const { maxAutomationsRecipients, externalRecipient: externalRecipientOverride } = useAutomationsContext();
@@ -114,7 +114,7 @@ export function useAlertingDialogRecipientsProps() {
114
114
  *
115
115
  * Throws outside the alerting dialog's state providers.
116
116
  *
117
- * @internal
117
+ * @alpha
118
118
  */
119
119
  export function useAlertingDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete, }) {
120
120
  const intl = useIntl();
@@ -188,8 +188,10 @@ export interface IAlertingDialogSlots {
188
188
  */
189
189
  export interface IDefaultAlertingDialogProps extends IAlertingDialogProps {
190
190
  /**
191
- * Section-level overrides. Each slot receives `{ Default, defaultProps }` and may render its own
192
- * content (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
191
+ * Section-level overrides. Each slot receives `{ Default, defaultProps }` — `Default` is the region's
192
+ * exported render component ({@link DefaultAlertingDialogHeader} for `Header`, and so on) and `defaultProps` the
193
+ * return of the region's props hook ({@link useAlertingDialogHeaderProps}) — and may render its own content
194
+ * (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
193
195
  *
194
196
  * @example
195
197
  * The dialog is reached through the `Dashboard` component override; define slot components at
@@ -339,35 +341,75 @@ export interface IAlertDropdownProps {
339
341
  onResume: () => void;
340
342
  }
341
343
  /**
342
- * @internal
344
+ * The period a relative alert condition compares the measure against.
345
+ *
346
+ * @alpha
343
347
  */
344
348
  export declare enum AlertMetricComparatorType {
345
349
  PreviousPeriod = 0,
346
350
  SamePeriodPreviousYear = 1
347
351
  }
348
352
  /**
349
- * @internal
353
+ * A comparison the alerting dialog can offer for a measure: the derived period-over-period measure
354
+ * and the date dataset and granularity it is computed over.
355
+ *
356
+ * @alpha
350
357
  */
351
358
  export type AlertMetricComparator = {
359
+ /**
360
+ * The derived measure (previous period / same period previous year) the condition compares against.
361
+ */
352
362
  measure: IMeasure;
363
+ /**
364
+ * Whether the derived measure is itself a primary measure of the insight.
365
+ */
353
366
  isPrimary: boolean;
367
+ /**
368
+ * Which period the derived measure shifts by.
369
+ */
354
370
  comparator: AlertMetricComparatorType;
371
+ /**
372
+ * The date dataset the period shift is computed over, when the insight resolves one.
373
+ */
355
374
  dataset?: IDataSetMetadataObject;
375
+ /**
376
+ * The granularity of the period shift, when the insight resolves one.
377
+ */
356
378
  granularity?: DateAttributeGranularity;
357
379
  };
358
380
  /**
359
- * @internal
381
+ * A measure of the insight the alerting dialog can build a condition on, with the comparisons
382
+ * available for it.
383
+ *
384
+ * @alpha
360
385
  */
361
386
  export type AlertMetric = {
387
+ /**
388
+ * The insight measure.
389
+ */
362
390
  measure: IMeasure;
391
+ /**
392
+ * Whether the measure is a primary (non-derived) measure of the insight.
393
+ */
363
394
  isPrimary: boolean;
395
+ /**
396
+ * The period-over-period comparisons the dialog offers for this measure; empty when none apply.
397
+ */
364
398
  comparators: AlertMetricComparator[];
365
399
  };
366
400
  /**
367
- * @internal
401
+ * An attribute of the insight the alert can be sliced by (the "for" row of the condition).
402
+ *
403
+ * @alpha
368
404
  */
369
405
  export type AlertAttribute = {
406
+ /**
407
+ * The insight attribute.
408
+ */
370
409
  attribute: IAttribute;
410
+ /**
411
+ * Whether the attribute is a date attribute.
412
+ */
371
413
  type: "dateAttribute" | "attribute";
372
414
  };
373
415
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,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,oBAAoB;IACjC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,yBAAyB,CAAC;IAExC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;;OAKG;IACH,SAAS,CAAC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EAAE,UAAU,CAAC;IACtB,IAAI,EAAE,eAAe,GAAG,WAAW,CAAC;CACvC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,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,oBAAoB;IACjC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,yBAAyB,CAAC;IAExC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,SAAS,C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AW,CAAC;CACvC,CAAC"}
@@ -4,7 +4,9 @@ export { AlertMetricComparatorType };
4
4
  //
5
5
  //
6
6
  /**
7
- * @internal
7
+ * The period a relative alert condition compares the measure against.
8
+ *
9
+ * @alpha
8
10
  */
9
11
  var AlertMetricComparatorType;
10
12
  (function (AlertMetricComparatorType) {
@@ -1,5 +1,5 @@
1
1
  import { type IAlertComparisonOperator, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IAutomationSchedule, type IAutomationVisibleFilter, type IFilter } from "@gooddata/sdk-model";
2
- import { type AlertMetric } from "../../types.js";
2
+ import { type AlertMetric } from "../types.js";
3
3
  import { type IMeasureFormatMap } from "./getters.js";
4
4
  /**
5
5
  * @internal
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertors.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/convertors.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,wBAAwB,EAG7B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,EAAE,KAAK,iBAAiB,EAAqC,MAAM,cAAc,CAAC;AAGzF;;GAEG;AACH,wBAAgB,kBAAkB,CAC9B,OAAO,EAAE,OAAO,EAAE,EAClB,OAAO,EAAE,WAAW,EAAE,EACtB,OAAO,EAAE,WAAW,GAAG,SAAS,EAChC,qBAAqB,EAAE,MAAM,EAC7B,WAAW,EAAE,oBAAoB,EACjC,gBAAgB,EAAE,iBAAiB,EACnC,kBAAkB,GAAE,wBAAyC,EAC7D,QAAQ,CAAC,EAAE,mBAAmB,EAC9B,oBAAoB,CAAC,EAAE,wBAAwB,EAAE,EACjD,aAAa,CAAC,EAAE,MAAM,EACtB,WAAW,CAAC,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,MAAM,EACnB,mBAAmB,CAAC,EAAE,MAAM,EAC5B,iBAAiB,CAAC,EAAE,MAAM,GAC3B,mCAAmC,GAAG,SAAS,CAwDjD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/cron.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iCAAiC,EAAE,KAAK,SAAS,EAAe,MAAM,qBAAqB,CAAC;AAE1G,wBAAgB,yBAAyB,CACrC,WAAW,CAAC,EAAE,iCAAiC,EAC/C,SAAS,CAAC,EAAE,SAAS,GACtB,MAAM,CAuBR"}
@@ -2,10 +2,22 @@ import { type IntlShape } from "react-intl";
2
2
  import { type IExecutionResult } from "@gooddata/sdk-backend-spi";
3
3
  import { type DateAttributeGranularity, type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAttribute, type IAttributeMetadataObject, type IAutomationAlert, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type ICatalogAttribute, type ICatalogDateAttribute, type ICatalogDateDataset, type IFilter, type IMeasure, type ISeparators, type ObjRef } from "@gooddata/sdk-model";
4
4
  import { AI_OPERATOR, AI_OPERATORS } from "@gooddata/sdk-ui-ext";
5
- import { type AlertAttribute, type AlertMetric, type AlertMetricComparator } from "../../types.js";
5
+ import { type AlertAttribute, type AlertMetric, type AlertMetricComparator } from "../types.js";
6
+ /**
7
+ * Number formats of the widget's measures keyed by measure local identifier, read from the
8
+ * execution result.
9
+ *
10
+ * @alpha
11
+ */
6
12
  export type IMeasureFormatMap = {
7
13
  [key: string]: string;
8
14
  };
15
+ /**
16
+ * The operator id of an anomaly-detection alert condition.
17
+ *
18
+ * @alpha
19
+ */
20
+ export type AlertAiOperator = `${typeof AI_OPERATOR}.${typeof AI_OPERATORS.ANOMALY_DETECTION}`;
9
21
  /**
10
22
  * @internal
11
23
  */
@@ -69,7 +81,7 @@ export declare function getAlertRelativeOperator(alert?: IAutomationAlert): [IAl
69
81
  /**
70
82
  * @internal
71
83
  */
72
- export declare function getAlertAiOperator(alert?: IAutomationAlert): `${typeof AI_OPERATOR}.${typeof AI_OPERATORS.ANOMALY_DETECTION}` | undefined;
84
+ export declare function getAlertAiOperator(alert?: IAutomationAlert): AlertAiOperator | undefined;
73
85
  /**
74
86
  * @internal
75
87
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/getters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACZ,KAAK,QAAQ,EAEb,KAAK,WAAW,EAChB,KAAK,MAAM,EAYd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,WAAW,EACX,YAAY,EAGf,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAMhG;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,OAAO,WAAW,IAAI,OAAO,Y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AkB3C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,qBAAqB,GAAG,iBAAiB,EACnF,UAAU,EAAE,CAAC,EAAE,EACf,SAAS,EAAE,UAAU,iBAUxB;AAED,wBAAgB,mBAAmB,CAC/B,uBAAuB,EAAE,CAAC,MAAM,EAAE,wBAAwB,CAAC,EAAE,EAC7D,OAAO,EAAE,mBAAmB,2BAW/B;AAiDD;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,CAsB1G;AAED,wBAAgB,cAAc,CAC1B,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,WAAW,EAAE,EACvB,KAAK,CAAC,EAAE,yBAAyB,EACjC,UAAU,CAAC,EAAE,WAAW,GACzB,MAAM,CAYR;AAED,wBAAgB,WAAW,CACvB,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,yBAAyB,EAChC,UAAU,CAAC,EAAE,WAAW,GACzB,MAAM,CAQR"}
@@ -2,8 +2,8 @@
2
2
  import { ClientFormatterFacade } from "@gooddata/number-formatter";
3
3
  import { areObjRefsEqual, attributeAlias, isAttributeElementsByValue, isLocalIdRef, isMeasureGroupDescriptor, isNegativeAttributeFilter, isPositiveAttributeFilter, isRelativeDateFilter, measureAlias, measureIdentifier, measureTitle, } from "@gooddata/sdk-model";
4
4
  import { AI_OPERATOR, AI_OPERATORS, getComparisonOperatorTitle, getRelativeOperatorTitle, } from "@gooddata/sdk-ui-ext";
5
- import { DEFAULT_MEASURE_FORMAT } from "../constants.js";
6
5
  import { isChangeOperator, isDifferenceOperator } from "./guards.js";
6
+ const DEFAULT_MEASURE_FORMAT = "#,##0.00";
7
7
  /**
8
8
  * @internal
9
9
  */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"granularity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/granularity.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,wBAAwB,GAAG,MAAM,CAoBpG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guards.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/guards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAG5F;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAKlE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAKtE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAEpE;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAE9E;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAWrE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,OAAO,CAEjF"}
@@ -1,5 +1,5 @@
1
1
  import { type IAutomationMetadataObject, type ICatalogAttribute, type ICatalogDateDataset, type IInsight } from "@gooddata/sdk-model";
2
- import { type AlertAttribute, type AlertMetric } from "../../types.js";
2
+ import { type AlertAttribute, type AlertMetric } from "../types.js";
3
3
  /**
4
4
  * Get supported insight measures by insight
5
5
  * @param insight - insight to get supported measures for
@@ -0,0 +1 @@
1
+ {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/items.ts"],"names":[],"mappings":"AAEA,OAAO,EAIH,KAAK,yBAAyB,EAE9B,KAAK,iBAAiB,EAEtB,KAAK,mBAAmB,EAExB,KAAK,QAAQ,EAqBhB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAA6B,MAAM,aAAa,CAAC;AAgE/F;;;;;GAKG;AACH,wBAAgB,oCAAoC,CAChD,OAAO,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,EACpC,YAAY,GAAE,mBAAmB,EAAO,EACxC,KAAK,CAAC,EAAE,yBAAyB,GAClC,WAAW,EAAE,CAoCf;AA4BD;;;;;;GAMG;AACH,wBAAgB,sCAAsC,CAClD,OAAO,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS,EACpC,UAAU,EAAE,iBAAiB,EAAE,EAC/B,YAAY,GAAE,mBAAmB,EAAO,EACxC,KAAK,CAAC,EAAE,yBAAyB,GAClC,cAAc,EAAE,CAMlB"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2022-2026 GoodData Corporation
2
2
  import { DateGranularity, areObjRefsEqual, bucketAttributes, bucketMeasures, insightBucket, insightFilters, insightVisualizationType, isArithmeticMeasure, isPoPMeasure, isPoPMeasureDefinition, isPreviousPeriodMeasure, isPreviousPeriodMeasureDefinition, isRelativeDateFilter, isSimpleMeasure, newAttribute, newMeasure, newPopMeasure, newPreviousPeriodMeasure, } from "@gooddata/sdk-model";
3
3
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { AlertMetricComparatorType } from "../../types.js";
4
+ import { AlertMetricComparatorType } from "../types.js";
5
5
  import { getCatalogAttribute, getFiltersAttribute } from "./getters.js";
6
6
  const SortedGranularities = [
7
7
  "GDC.time.year",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/responsive.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,eAA2D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"threshold.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/threshold.ts"],"names":[],"mappings":"AAIA,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAoBxF"}
@@ -1,5 +1,5 @@
1
1
  import { type DateAttributeGranularity, type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAutomationAlertCondition, type IAutomationAlertExecutionDefinition, type IAutomationMetadataObject, type IAutomationRecipient, type WeekStart } from "@gooddata/sdk-model";
2
- import { type AlertAttribute, type AlertMetric, type AlertMetricComparator, AlertMetricComparatorType } from "../../types.js";
2
+ import { type AlertAttribute, type AlertMetric, type AlertMetricComparator, AlertMetricComparatorType } from "../types.js";
3
3
  import { type IMeasureFormatMap } from "./getters.js";
4
4
  /**
5
5
  * This function transforms alert by metric. It changes title, condition and execution based on selected metric.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformation.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/transformation.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAG3B,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EAGxC,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EAKzB,KAAK,SAAS,EAOjB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,yBAAyB,EAC5B,MAAM,aAAa,CAAC;AAGrB,OAAO,EACH,KAAK,iBAAiB,EAIzB,MAAM,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,wBAA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,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,MAAM,GACd,yBAAyB,CA2B3B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,MAAM,GAAG,SAAS,GAC1B,yBAAyB,CAM3B;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACvC,KAAK,EAAE,yBAAyB,EAChC,mBAAmB,EAAE,MAAM,EAC3B,UAAU,CAAC,EAAE,oBAAoB,EAAE,GACpC,yBAAyB,CAM3B;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC3C,OAAO,EAAE,WAAW,EAAE,EACtB,KAAK,EAAE,OAAO,CAAC,yBAAyB,CAAC,EACzC,SAAS,EAAE,yBAAyB,EACpC,OAAO,EAAE,WAAW,EACpB,aAAa,EAAE,qBAAqB,GAAG,SAAS,GACjD;IAAE,SAAS,EAAE,mCAAmC,CAAC;IAAC,QAAQ,EAAE,yBAAyB,CAAC,UAAU,CAAC,CAAA;CAAE,CA+ErG;AAmKD,wBAAgB,2BAA2B,CACvC,KAAK,EAAE,yBAAyB,EAChC,WAAW,EAAE,iCAAiC,GAC/C,yBAAyB,CAc3B;AAED,wBAAgB,2BAA2B,CACvC,OAAO,EAAE,WAAW,EAAE,EACtB,KAAK,EAAE,yBAAyB,EAChC,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,iCAAiC,EAC9C,SAAS,CAAC,EAAE,SAAS,GACtB,yBAAyB,CAiC3B"}
@@ -3,7 +3,7 @@ import { isEqual } from "lodash-es";
3
3
  import { invariant } from "ts-invariant";
4
4
  import { isArithmeticMeasure, isLocalIdRef, isMeasureValueFilter, isRankingFilter, isRelativeDateFilter, objRefToString, } from "@gooddata/sdk-model";
5
5
  import { ARITHMETIC_OPERATORS, COMPARISON_OPERATORS, RELATIVE_OPERATORS } from "@gooddata/sdk-ui-ext";
6
- import { AlertMetricComparatorType, } from "../../types.js";
6
+ import { AlertMetricComparatorType, } from "../types.js";
7
7
  import { createCronFromGranularity } from "./cron.js";
8
8
  import { getAttributeRelatedFilterInfo, getMeasureFormat, getMeasureTitle, } from "./getters.js";
9
9
  //alerts transformations
@@ -18,6 +18,15 @@ export declare function ScheduledMailDialogRenderer({ onBack, onCancel, onDelete
18
18
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
19
19
  * outside those providers throws at runtime.
20
20
  *
21
+ * The dialog is composed from the exported region renders — {@link DefaultScheduledEmailDialogHeader},
22
+ * {@link DefaultScheduledEmailDialogFilters}, {@link DefaultScheduledEmailDialogDestination},
23
+ * {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone},
24
+ * {@link DefaultAutomationDialogActionBar} — fed by the matching `use*Props` hooks
25
+ * ({@link useScheduledEmailDialogFiltersProps} and siblings). A custom `ScheduledEmailDialogComponent`
26
+ * that keeps our regions but owns the markup places the connected blocks
27
+ * ({@link ScheduledEmailDialogFilters} and siblings) instead of this component, and reads or writes
28
+ * the same draft through {@link useScheduledExportDraft} and {@link useScheduledExportActions}.
29
+ *
21
30
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
22
31
  * and not while the stale-filters confirmation step is shown. The Filters slot additionally
23
32
  * renders only while the Filters tab is selected — see {@link IScheduledEmailDialogSlots.Filters}.
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AAsDA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAuBrE,wBAAgB,2BAA2B,CAAC,EACxC,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,MAAM,EACN,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACT,KAAK,EACL,UAAU,EACV,aAAa,EAChB,EAAE,iCAAiC,2CA4cnC;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,2CAYnF"}
1
+ {"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AAuDA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAsBrE,wBAAgB,2BAA2B,CAAC,EACxC,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,MAAM,EACN,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACT,KAAK,EACL,UAAU,EACV,aAAa,EAChB,EAAE,iCAAiC,2CAkdnC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,2CAYnF"}
@@ -10,12 +10,13 @@ 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
+ import { AutomationDialogFooterLeft, DefaultAutomationDialogActionBar, } from "../../shared/slots/DefaultAutomationDialogActionBar.js";
14
14
  import { DeleteScheduleConfirmDialog } from "../DefaultScheduledEmailManagementDialog/components/DeleteScheduleConfirmDialog.js";
15
15
  import { useScheduleEmailDialogAccessibility } from "../hooks/useScheduleEmailDialogAccessibility.js";
16
16
  import { useScheduledExportActions } from "../state/ScheduledExportActionsContext.js";
17
17
  import { useScheduledExportDraft } from "../state/ScheduledExportDraftContext.js";
18
18
  import { useScheduledExportFilters } from "../state/ScheduledExportFiltersContext.js";
19
+ import { useSaveScheduledEmailToBackend } from "../state/useSaveScheduledEmailToBackend.js";
19
20
  import { useScheduledEmailDialogActionBarProps, useScheduledEmailDialogDestinationProps, useScheduledEmailDialogFiltersProps, useScheduledEmailDialogHeaderProps, useScheduledEmailDialogRecipientsProps, useScheduledEmailDialogTimezoneProps, } from "../state/useScheduledEmailDialogRegionProps.js";
20
21
  import { useScheduledExportAttachments } from "../state/useScheduledExportAttachments.js";
21
22
  import { useScheduledExportDialogValidity } from "../state/useScheduledExportDialogValidity.js";
@@ -23,18 +24,17 @@ import { getDefaultCronExpression } from "../utils/cron.js";
23
24
  import { TIMEZONE_DEFAULT } from "../utils/timezone.js";
24
25
  import { DashboardAttachments } from "./components/Attachments/DashboardAttachments.js";
25
26
  import { WidgetAttachments } from "./components/Attachments/WidgetAttachments.js";
27
+ import { DefaultScheduledEmailDialogDestination } from "./components/DefaultScheduledEmailDialogDestination.js";
28
+ import { DefaultScheduledEmailDialogFilters } from "./components/DefaultScheduledEmailDialogFilters.js";
29
+ import { DefaultScheduledEmailDialogHeader } from "./components/DefaultScheduledEmailDialogHeader.js";
30
+ import { DefaultScheduledEmailDialogRecipients } from "./components/DefaultScheduledEmailDialogRecipients.js";
31
+ import { DefaultScheduledEmailDialogTimezone } from "./components/DefaultScheduledEmailDialogTimezone.js";
26
32
  import { EvaluationModeCheckbox } from "./components/EvaluationModeCheckbox/EvaluationModeCheckbox.js";
27
- import { ScheduledEmailDialogHeader } from "./components/Header/ScheduleEmailDialogHeader.js";
28
33
  import { MessageForm } from "./components/MessageForm/MessageForm.js";
29
- import { ScheduledEmailDialogDestination } from "./components/ScheduledEmailDialogDestination.js";
30
- import { ScheduledEmailDialogFilters } from "./components/ScheduledEmailDialogFilters.js";
31
- import { ScheduledEmailDialogRecipients } from "./components/ScheduledEmailDialogRecipients.js";
32
- import { ScheduleTimezoneSelect } from "./components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.js";
33
34
  import { SubjectForm } from "./components/SubjectForm/SubjectForm.js";
34
35
  import { SCHEDULED_EMAIL_DIALOG_ID } from "./constants.js";
35
36
  import { DefaultLoadingScheduledEmailDialog } from "./DefaultLoadingScheduledEmailDialog.js";
36
37
  import { useElementHeightSnapshot } from "./hooks/useElementHeightSnapshot.js";
37
- import { useSaveScheduledEmailToBackend } from "./hooks/useSaveScheduledEmailToBackend.js";
38
38
  const CLOSE_ON_PARENT_SCROLL = true;
39
39
  const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z_INDEX);
40
40
  export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess, onDeleteError, onError, onSave, onSaveError, onSaveSuccess, onSubmit, onSuccess, slots, topContent, bottomContent, }) {
@@ -140,9 +140,9 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
140
140
  }, showProgressIndicator: actionBarDefaultProps.isSaving, returnFocusTo: returnFocusTo, returnFocusAfterClose: false, footerLeftRenderer: ActionBarSlot
141
141
  ? undefined
142
142
  : () => (_jsx(AutomationDialogFooterLeft, { helpLinkText: actionBarDefaultProps.helpLinkText, helpLinkHref: actionBarDefaultProps.helpLinkHref, deleteButtonText: actionBarDefaultProps.deleteButtonText, onDelete: actionBarDefaultProps.onDelete, isDeleteDisabled: actionBarDefaultProps.isSaving })), footerRenderer: ActionBarSlot
143
- ? () => (_jsx(ActionBarSlot, { Default: AutomationDialogActionBar, defaultProps: actionBarDefaultProps }))
143
+ ? () => (_jsx(ActionBarSlot, { Default: DefaultAutomationDialogActionBar, defaultProps: actionBarDefaultProps }))
144
144
  : undefined, isSubmitDisabled: actionBarDefaultProps.isSubmitDisabled, submitButtonTooltipText: actionBarDefaultProps.submitButtonTooltipText, initialFocus: dialogTitleRef, submitOnEnterKey: false, onCancel: onCancel, onSubmit: actionBarDefaultProps.onSubmit, headline: undefined, headerLeftButtonRenderer: () => {
145
- return HeaderSlot ? (_jsx(HeaderSlot, { Default: ScheduledEmailDialogHeader, defaultProps: headerDefaultProps })) : (_jsx(ScheduledEmailDialogHeader, { ...headerDefaultProps }));
145
+ return HeaderSlot ? (_jsx(HeaderSlot, { Default: DefaultScheduledEmailDialogHeader, defaultProps: headerDefaultProps })) : (_jsx(DefaultScheduledEmailDialogHeader, { ...headerDefaultProps }));
146
146
  }, children: [
147
147
  _jsx("h2", { className: "sr-only", id: titleElementId, children: intl.formatMessage({ id: "dialogs.schedule.email.accessibilityTitle" }) }), tabs.length > 1 ? (_jsx(UiTabs, { tabs: tabs, selectedTabId: selectedTabId, onTabSelect: handleTabSelect, size: "medium", accessibilityConfig: {
148
148
  role: "tablist",
@@ -155,7 +155,7 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
155
155
  "gd-notification-channel-dialog-with-tabs": tabs.length > 1,
156
156
  }), children: [topContent, _jsx("div", { className: "gd-divider-with-margin" }), selectedTabId === "filters" ? (_jsx("div", { ref: filtersTabContentRef, className: "gd-schedule-dialog-tab-content", style: tabContentHeight
157
157
  ? { minHeight: `${tabContentHeight}px` }
158
- : 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({
158
+ : undefined, children: FiltersSlot ? (_jsx(FiltersSlot, { Default: DefaultScheduledEmailDialogFilters, defaultProps: filtersDefaultProps })) : (_jsx(DefaultScheduledEmailDialogFilters, { ...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({
159
159
  id: "dialogs.schedule.email.tabs.info",
160
160
  }) })) : null, _jsx(RecurrenceForm, { startDate: startDate, cronExpression: editedAutomation.schedule?.cron ??
161
161
  getDefaultCronExpression(startDate), cronDescription: editedAutomation.schedule?.cronDescription, timezone:
@@ -166,9 +166,9 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
166
166
  ? getTimezoneDisplayLabel(editedAutomation.schedule?.timezone ??
167
167
  TIMEZONE_DEFAULT.identifier)
168
168
  : (editedAutomation.schedule?.timezone ??
169
- TIMEZONE_DEFAULT.identifier), dateFormat: dateFormat ?? "MM/dd/yyyy", locale: locale, weekStart: weekStart, onChange: onRecurrenceChange, allowHourlyRecurrence: allowHourlyRecurrence, isWhiteLabeled: isWhiteLabeled, closeDropdownsOnParentScroll: CLOSE_ON_PARENT_SCROLL, onKeyDownSubmit: handleSubmitForm }), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), DestinationSlot ? (_jsx(DestinationSlot, { Default: ScheduledEmailDialogDestination, defaultProps: destinationDefaultProps })) : (_jsx(ScheduledEmailDialogDestination, { ...destinationDefaultProps })), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), RecipientsSlot ? (_jsx(RecipientsSlot, { Default: ScheduledEmailDialogRecipients, defaultProps: recipientsDefaultProps })) : (_jsx(ScheduledEmailDialogRecipients, { ...recipientsDefaultProps })), isInPlatformChannel ? null : (_jsxs(_Fragment, { children: [
169
+ TIMEZONE_DEFAULT.identifier), dateFormat: dateFormat ?? "MM/dd/yyyy", locale: locale, weekStart: weekStart, onChange: onRecurrenceChange, allowHourlyRecurrence: allowHourlyRecurrence, isWhiteLabeled: isWhiteLabeled, closeDropdownsOnParentScroll: CLOSE_ON_PARENT_SCROLL, onKeyDownSubmit: handleSubmitForm }), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), DestinationSlot ? (_jsx(DestinationSlot, { Default: DefaultScheduledEmailDialogDestination, defaultProps: destinationDefaultProps })) : (_jsx(DefaultScheduledEmailDialogDestination, { ...destinationDefaultProps })), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), RecipientsSlot ? (_jsx(RecipientsSlot, { Default: DefaultScheduledEmailDialogRecipients, defaultProps: recipientsDefaultProps })) : (_jsx(DefaultScheduledEmailDialogRecipients, { ...recipientsDefaultProps })), isInPlatformChannel ? null : (_jsxs(_Fragment, { children: [
170
170
  _jsx(SubjectForm, { dashboardTitle: dashboardTitle, editedAutomation: editedAutomation, onChange: onSubjectChange, onKeyDownSubmit: handleSaveScheduledEmail, isSubmitDisabled: isSubmitDisabled }), _jsx(MessageForm, { onChange: onMessageChange, value: editedAutomation.details?.message ?? "" })
171
- ] })), widget ? (_jsx(WidgetAttachments, { selectedAttachments: selectedAttachments, onWidgetAttachmentsChange: onWidgetAttachmentsChange, xlsxSettings: xlsxSettings, pdfSettings: pdfSettings, onXlsxSettingsChange: onXlsxSettingsChange, onPdfSettingsChange: onPdfSettingsChange, csvSettings: csvSettings, onCsvSettingsChange: onCsvSettingsChange, csvRawSettings: csvRawSettings, onCsvRawSettingsChange: onCsvRawSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, isAccessibilityModeEnabled: isAccessibilityModeEnabled, exportTemplates: exportTemplates, slidesTemplateIds: slidesTemplateIds, onSlidesTemplateIdChange: onSlidesTemplateIdChange })) : (_jsx(DashboardAttachments, { selectedAttachments: selectedAttachments, dashboardFilters: dashboardFilters, isCrossFiltering: isCrossFiltering, onDashboardAttachmentsChange: onDashboardAttachmentsChange, xlsxSettings: xlsxSettings, onXlsxSettingsChange: onXlsxSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, exportTemplates: exportTemplates, slidesTemplateIds: slidesTemplateIds, onSlidesTemplateIdChange: onSlidesTemplateIdChange })), canSelectScheduleTimezone ? (TimezoneSlot ? (_jsx(TimezoneSlot, { Default: ScheduleTimezoneSelect, defaultProps: timezoneDefaultProps })) : (_jsx(ScheduleTimezoneSelect, { ...timezoneDefaultProps }))) : null, enableAutomationEvaluationMode ? (_jsx(EvaluationModeCheckbox, { isShared: editedAutomation.evaluationMode === "SHARED", onChange: onEvaluationModeChange })) : null, errorMessage ? (_jsx(Message, { type: "error", className: cx("gd-notifications-channels-dialog-error", {
171
+ ] })), widget ? (_jsx(WidgetAttachments, { selectedAttachments: selectedAttachments, onWidgetAttachmentsChange: onWidgetAttachmentsChange, xlsxSettings: xlsxSettings, pdfSettings: pdfSettings, onXlsxSettingsChange: onXlsxSettingsChange, onPdfSettingsChange: onPdfSettingsChange, csvSettings: csvSettings, onCsvSettingsChange: onCsvSettingsChange, csvRawSettings: csvRawSettings, onCsvRawSettingsChange: onCsvRawSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, isAccessibilityModeEnabled: isAccessibilityModeEnabled, exportTemplates: exportTemplates, slidesTemplateIds: slidesTemplateIds, onSlidesTemplateIdChange: onSlidesTemplateIdChange })) : (_jsx(DashboardAttachments, { selectedAttachments: selectedAttachments, dashboardFilters: dashboardFilters, isCrossFiltering: isCrossFiltering, onDashboardAttachmentsChange: onDashboardAttachmentsChange, xlsxSettings: xlsxSettings, onXlsxSettingsChange: onXlsxSettingsChange, isSlidesExportEnabled: isSlidesExportEnabled, exportTemplates: exportTemplates, slidesTemplateIds: slidesTemplateIds, onSlidesTemplateIdChange: onSlidesTemplateIdChange })), canSelectScheduleTimezone ? (TimezoneSlot ? (_jsx(TimezoneSlot, { Default: DefaultScheduledEmailDialogTimezone, defaultProps: timezoneDefaultProps })) : (_jsx(DefaultScheduledEmailDialogTimezone, { ...timezoneDefaultProps }))) : null, enableAutomationEvaluationMode ? (_jsx(EvaluationModeCheckbox, { isShared: editedAutomation.evaluationMode === "SHARED", onChange: onEvaluationModeChange })) : null, errorMessage ? (_jsx(Message, { type: "error", className: cx("gd-notifications-channels-dialog-error", {
172
172
  "gd-notifications-channels-dialog-error-scrollable": true,
173
173
  }), children: errorMessage })) : null, getInvalidDatapoints()
174
174
  .filter((invalidDatapoint) => invalidDatapoint.severity === "error")
@@ -195,6 +195,15 @@ export function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess,
195
195
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
196
196
  * outside those providers throws at runtime.
197
197
  *
198
+ * The dialog is composed from the exported region renders — {@link DefaultScheduledEmailDialogHeader},
199
+ * {@link DefaultScheduledEmailDialogFilters}, {@link DefaultScheduledEmailDialogDestination},
200
+ * {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone},
201
+ * {@link DefaultAutomationDialogActionBar} — fed by the matching `use*Props` hooks
202
+ * ({@link useScheduledEmailDialogFiltersProps} and siblings). A custom `ScheduledEmailDialogComponent`
203
+ * that keeps our regions but owns the markup places the connected blocks
204
+ * ({@link ScheduledEmailDialogFilters} and siblings) instead of this component, and reads or writes
205
+ * the same draft through {@link useScheduledExportDraft} and {@link useScheduledExportActions}.
206
+ *
198
207
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
199
208
  * and not while the stale-filters confirmation step is shown. The Filters slot additionally
200
209
  * renders only while the Filters tab is selected — see {@link IScheduledEmailDialogSlots.Filters}.
@@ -0,0 +1,11 @@
1
+ import { type IAutomationDialogDestinationProps } from "../../../shared/slots/types.js";
2
+ /**
3
+ * Default render of the scheduled-export dialog's destination region: the notification-channel
4
+ * select. Props-driven — reads no context. The default dialog and
5
+ * {@link ScheduledEmailDialogDestination} render it with
6
+ * {@link useScheduledEmailDialogDestinationProps}; a `slots.Destination` slot receives it as `Default`.
7
+ *
8
+ * @alpha
9
+ */
10
+ export declare function DefaultScheduledEmailDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=DefaultScheduledEmailDialogDestination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultScheduledEmailDialogDestination.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAOxF;;;;;;;GAOG;AACH,wBAAgB,sCAAsC,CAAC,EACnD,oBAAoB,EACpB,6BAA6B,EAC7B,QAAQ,EACX,EAAE,iCAAiC,2CAUnC"}
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { DestinationSelect } from "./DestinationSelect/DestinationSelect.js";
3
+ const OVERLAY_POSITION_TYPE = "sameAsTarget";
4
+ const CLOSE_ON_PARENT_SCROLL = true;
5
+ /**
6
+ * Default render of the scheduled-export dialog's destination region: the notification-channel
7
+ * select. Props-driven — reads no context. The default dialog and
8
+ * {@link ScheduledEmailDialogDestination} render it with
9
+ * {@link useScheduledEmailDialogDestinationProps}; a `slots.Destination` slot receives it as `Default`.
10
+ *
11
+ * @alpha
12
+ */
13
+ export function DefaultScheduledEmailDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange, }) {
14
+ return (_jsx(DestinationSelect, { notificationChannels: notificationChannels, selectedItemId: selectedNotificationChannelId, onChange: onChange, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL, overlayPositionType: OVERLAY_POSITION_TYPE }));
15
+ }
@@ -0,0 +1,12 @@
1
+ import { type IScheduledEmailDialogFiltersProps } from "../../types.js";
2
+ /**
3
+ * Default render of the scheduled-export dialog's filters region: the filter and parameter chips of
4
+ * the Filters tab, flat or per dashboard tab. The title is hidden and the list always expanded
5
+ * because the tab itself provides both. Props-driven — reads no context. The default dialog and
6
+ * {@link ScheduledEmailDialogFilters} render it with {@link useScheduledEmailDialogFiltersProps}; a
7
+ * `slots.Filters` slot receives it as `Default`.
8
+ *
9
+ * @alpha
10
+ */
11
+ export declare function DefaultScheduledEmailDialogFilters(props: IScheduledEmailDialogFiltersProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=DefaultScheduledEmailDialogFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultScheduledEmailDialogFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,gBAAgB,CAAC;AAIxE;;;;;;;;GAQG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,iCAAiC,2CAS1F"}
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { AutomationFiltersSelect } from "../../../shared/automationFilters/components/AutomationFiltersSelect.js";
4
+ const OVERLAY_POSITION_TYPE = "sameAsTarget";
5
+ /**
6
+ * Default render of the scheduled-export dialog's filters region: the filter and parameter chips of
7
+ * the Filters tab, flat or per dashboard tab. The title is hidden and the list always expanded
8
+ * because the tab itself provides both. Props-driven — reads no context. The default dialog and
9
+ * {@link ScheduledEmailDialogFilters} render it with {@link useScheduledEmailDialogFiltersProps}; a
10
+ * `slots.Filters` slot receives it as `Default`.
11
+ *
12
+ * @alpha
13
+ */
14
+ export function DefaultScheduledEmailDialogFilters(props) {
15
+ return (_jsx(AutomationFiltersSelect, { ...props, overlayPositionType: OVERLAY_POSITION_TYPE, hideTitle: true, showAllFilters: true }));
16
+ }
@@ -0,0 +1,11 @@
1
+ import { type IScheduledEmailDialogHeaderProps } from "../../types.js";
2
+ /**
3
+ * Default render of the scheduled-export dialog's header region: the back button and the title input
4
+ * with its length validation. Props-driven — reads no scheduled-email dialog state. The default dialog and
5
+ * {@link ScheduledEmailDialogHeader} render it with {@link useScheduledEmailDialogHeaderProps}; a
6
+ * `slots.Header` slot receives it as `Default`.
7
+ *
8
+ * @alpha
9
+ */
10
+ export declare const DefaultScheduledEmailDialogHeader: import("react").ForwardRefExoticComponent<IScheduledEmailDialogHeaderProps & import("react").RefAttributes<HTMLInputElement>>;
11
+ //# sourceMappingURL=DefaultScheduledEmailDialogHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultScheduledEmailDialogHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC,+HA4I5C,CAAC"}
@@ -5,8 +5,16 @@ import cx from "classnames";
5
5
  import { useIntl } from "react-intl";
6
6
  import { createInvalidDatapoint, createInvalidNode, useValidationContextValue } from "@gooddata/sdk-ui";
7
7
  import { Bubble, BubbleHoverTrigger, Button, IconError, useIdPrefixed } from "@gooddata/sdk-ui-kit";
8
- import { MAX_AUTOMATION_TITLE_LENGTH, isAutomationTitleValid, } from "../../../../shared/utils/automationTitle.js";
9
- export const ScheduledEmailDialogHeader = forwardRef((props, ref) => {
8
+ import { MAX_AUTOMATION_TITLE_LENGTH, isAutomationTitleValid, } from "../../../shared/utils/automationTitle.js";
9
+ /**
10
+ * Default render of the scheduled-export dialog's header region: the back button and the title input
11
+ * with its length validation. Props-driven — reads no scheduled-email dialog state. The default dialog and
12
+ * {@link ScheduledEmailDialogHeader} render it with {@link useScheduledEmailDialogHeaderProps}; a
13
+ * `slots.Header` slot receives it as `Default`.
14
+ *
15
+ * @alpha
16
+ */
17
+ export const DefaultScheduledEmailDialogHeader = forwardRef((props, ref) => {
10
18
  const { title, placeholder, secondaryTitle, secondaryTitleIcon, isSecondaryTitleVisible, onChange, onBack, onTitleKeyDown, } = props;
11
19
  const { formatMessage } = useIntl();
12
20
  const validationContextValue = useValidationContextValue(createInvalidNode({ id: "ScheduleEmailDialogHeader" }));
@@ -59,4 +67,4 @@ export const ScheduledEmailDialogHeader = forwardRef((props, ref) => {
59
67
  ] })) : null] }) })
60
68
  ] }));
61
69
  });
62
- ScheduledEmailDialogHeader.displayName = "ScheduledEmailDialogHeader";
70
+ DefaultScheduledEmailDialogHeader.displayName = "DefaultScheduledEmailDialogHeader";
@@ -0,0 +1,11 @@
1
+ import { type IScheduledEmailDialogRecipientsProps } from "../../types.js";
2
+ /**
3
+ * Default render of the scheduled-export dialog's recipients region: the recipients select.
4
+ * Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogRecipients}
5
+ * render it with {@link useScheduledEmailDialogRecipientsProps}; a `slots.Recipients` slot receives
6
+ * it as `Default`.
7
+ *
8
+ * @alpha
9
+ */
10
+ export declare function DefaultScheduledEmailDialogRecipients(props: IScheduledEmailDialogRecipientsProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=DefaultScheduledEmailDialogRecipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultScheduledEmailDialogRecipients.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,gBAAgB,CAAC;AAI3E;;;;;;;GAOG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,oCAAoC,2CAEhG"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { RecipientsSelect } from "./RecipientsSelect/RecipientsSelect.js";
3
+ /**
4
+ * Default render of the scheduled-export dialog's recipients region: the recipients select.
5
+ * Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogRecipients}
6
+ * render it with {@link useScheduledEmailDialogRecipientsProps}; a `slots.Recipients` slot receives
7
+ * it as `Default`.
8
+ *
9
+ * @alpha
10
+ */
11
+ export function DefaultScheduledEmailDialogRecipients(props) {
12
+ return _jsx(RecipientsSelect, { id: "schedule.email.recipients", ...props });
13
+ }