@gooddata/sdk-ui-dashboard 11.54.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 (338) hide show
  1. package/NOTICE +3 -3
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/_staging/metadata/objRefMap.d.ts +11 -0
  6. package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
  7. package/esm/_staging/metadata/objRefMap.js +19 -1
  8. package/esm/index.d.ts +49 -6
  9. package/esm/index.d.ts.map +1 -1
  10. package/esm/index.js +42 -2
  11. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  12. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
  13. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  14. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +9 -6
  15. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
  16. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
  17. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
  18. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
  19. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
  20. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
  21. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  22. package/esm/model/commandHandlers/filterContext/common.js +5 -2
  23. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
  25. package/esm/model/commands/filters.d.ts +3 -3
  26. package/esm/model/store/config/configSelectors.d.ts +6 -0
  27. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  28. package/esm/model/store/config/configSelectors.js +8 -0
  29. package/esm/model/store/dashboardStore.d.ts +2 -0
  30. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  31. package/esm/model/store/dashboardStore.js +2 -0
  32. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
  33. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  34. package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
  35. package/esm/model/store/tabs/index.d.ts +136 -128
  36. package/esm/model/store/tabs/index.d.ts.map +1 -1
  37. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
  38. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  39. package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
  40. package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
  41. package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
  42. package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
  43. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
  44. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  45. package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
  46. package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
  47. package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
  48. package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
  49. package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
  50. package/esm/model/store/tabs/tabsReducers.js +21 -1
  51. package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
  52. package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
  53. package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
  54. package/esm/model/store/types.d.ts +3 -0
  55. package/esm/model/store/types.d.ts.map +1 -1
  56. package/esm/model/store/unavailableObjects/index.d.ts +8 -0
  57. package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
  58. package/esm/model/store/unavailableObjects/index.js +13 -0
  59. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
  60. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
  61. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
  62. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
  63. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
  64. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
  65. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +8 -0
  66. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  67. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +21 -13
  68. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
  69. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
  70. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogDestination.js → DefaultAlertingDialogDestination.js} +7 -2
  71. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
  72. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
  73. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
  74. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +11 -0
  75. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
  76. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.js} +10 -2
  77. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
  78. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
  79. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogRecipients.js → DefaultAlertingDialogRecipients.js} +7 -3
  80. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +1 -1
  81. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +1 -1
  82. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.js +1 -1
  83. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +2 -2
  84. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +1 -1
  85. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts +0 -1
  86. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
  87. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
  88. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.js +1 -1
  89. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.js +2 -2
  90. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
  91. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
  92. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
  93. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
  94. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
  95. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +15 -0
  96. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
  97. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -0
  98. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +16 -0
  99. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
  100. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -0
  101. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +26 -0
  102. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
  103. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -0
  104. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +13 -0
  105. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
  106. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -0
  107. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts +12 -0
  108. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
  109. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -0
  110. package/esm/presentation/automations/alerting/hooks/useAlertValidation.d.ts.map +1 -0
  111. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
  112. package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
  113. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
  114. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
  115. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +1 -1
  116. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
  117. package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
  118. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
  119. package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
  120. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
  121. package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
  122. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
  123. package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
  124. package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
  125. package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
  126. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
  127. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
  128. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
  129. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
  130. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
  131. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
  132. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
  133. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
  134. package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
  135. package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
  136. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
  137. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
  138. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
  139. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
  140. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
  141. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
  142. package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
  143. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +8 -8
  144. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
  145. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
  146. package/esm/presentation/automations/alerting/types.d.ts +48 -6
  147. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  148. package/esm/presentation/automations/alerting/types.js +3 -1
  149. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
  150. package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
  151. package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
  152. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +14 -2
  153. package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
  154. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
  155. package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
  156. package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
  157. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
  158. package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
  159. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
  160. package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
  161. package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
  162. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
  163. package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
  164. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
  165. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
  166. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  167. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
  168. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
  169. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
  170. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
  171. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
  172. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
  173. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
  174. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
  175. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
  176. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
  177. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
  178. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
  179. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
  180. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
  181. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
  182. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
  183. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
  184. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
  185. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
  186. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
  187. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
  188. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
  189. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
  190. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
  191. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
  192. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
  193. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
  194. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
  195. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
  196. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
  197. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
  198. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
  199. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
  200. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
  201. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
  202. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
  203. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
  204. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
  205. package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
  206. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
  207. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
  208. package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
  209. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
  210. package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
  211. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
  212. package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
  213. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
  214. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
  215. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
  216. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
  217. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
  218. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
  219. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
  220. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
  221. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
  222. package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
  223. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
  224. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
  225. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
  226. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
  227. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
  228. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
  229. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
  230. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
  231. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
  232. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
  233. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
  234. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
  235. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
  236. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
  237. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
  238. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
  239. package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
  240. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  241. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +27 -0
  242. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
  243. package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
  244. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
  245. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
  246. package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
  247. package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
  248. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  249. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
  250. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
  251. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
  252. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
  253. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
  254. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
  255. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
  256. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
  257. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
  258. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  259. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -4
  260. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
  261. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
  262. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
  263. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
  264. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
  265. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
  266. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
  267. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
  268. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
  269. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
  270. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
  271. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
  272. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
  273. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
  274. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
  275. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
  276. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
  277. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
  278. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
  279. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
  280. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
  281. package/esm/sdk-ui-dashboard.d.ts +1828 -250
  282. package/package.json +25 -25
  283. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
  284. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
  285. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
  286. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
  287. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
  288. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
  289. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
  290. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
  291. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
  292. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +0 -23
  293. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +0 -1
  294. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
  295. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
  296. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
  297. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
  298. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
  299. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
  300. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
  301. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
  302. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
  303. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
  304. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
  305. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
  306. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
  307. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
  308. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
  309. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
  310. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
  311. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
  312. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
  313. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
  314. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
  315. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
  316. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
  317. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
  318. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
  319. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
  320. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
  321. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
  322. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
  323. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
  324. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
  325. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
  326. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
  327. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
  328. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
  329. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
  330. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
  331. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
  332. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
  333. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
  334. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
  335. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
  336. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
  337. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
  338. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
@@ -13,6 +13,8 @@ import { Action } from '@reduxjs/toolkit';
13
13
  import { ActionCreatorWithOptionalPayload } from '@reduxjs/toolkit';
14
14
  import { ActionCreatorWithoutPayload } from '@reduxjs/toolkit';
15
15
  import { ActionCreatorWithPayload } from '@reduxjs/toolkit';
16
+ import { AI_OPERATOR } from '@gooddata/sdk-ui-ext';
17
+ import { AI_OPERATORS } from '@gooddata/sdk-ui-ext';
16
18
  import { AnyAction } from '@reduxjs/toolkit';
17
19
  import { CaseReducer } from '@reduxjs/toolkit';
18
20
  import { CaseReducerActions } from '@reduxjs/toolkit';
@@ -20,6 +22,7 @@ import { ComponentPropsWithRef } from 'react';
20
22
  import { ComponentType } from 'react';
21
23
  import { Context } from 'react';
22
24
  import { CurrentUserPermissions } from '@gooddata/sdk-ui-kit';
25
+ import { DashboardAttachmentType } from '@gooddata/sdk-model';
23
26
  import { DashboardAttributeFilterConfigMode } from '@gooddata/sdk-model';
24
27
  import { DashboardAttributeFilterItem } from '@gooddata/sdk-model';
25
28
  import { DashboardAttributeFilterSelectionMode } from '@gooddata/sdk-model';
@@ -43,14 +46,22 @@ import { EntityState } from '@reduxjs/toolkit';
43
46
  import { ExecutionResultLimitType } from '@gooddata/sdk-model';
44
47
  import { ExplicitDrill } from '@gooddata/sdk-ui';
45
48
  import { FilterContextItem } from '@gooddata/sdk-model';
49
+ import { ForwardRefExoticComponent } from 'react';
46
50
  import { GoodDataSdkError } from '@gooddata/sdk-ui';
47
51
  import { IAbsoluteDateFilter } from '@gooddata/sdk-model';
48
52
  import { IAccessControlAware } from '@gooddata/sdk-model';
49
53
  import { IAccessGrantee } from '@gooddata/sdk-model';
50
54
  import { IActiveCalendars } from '@gooddata/sdk-model';
55
+ import { IAlertAnomalyDetectionGranularity } from '@gooddata/sdk-model';
56
+ import { IAlertAnomalyDetectionSensitivity } from '@gooddata/sdk-model';
57
+ import { IAlertComparisonOperator } from '@gooddata/sdk-model';
58
+ import { IAlertRelativeArithmeticOperator } from '@gooddata/sdk-model';
59
+ import { IAlertRelativeOperator } from '@gooddata/sdk-model';
60
+ import { IAlertTriggerInterval } from '@gooddata/sdk-model';
51
61
  import { IAlertTriggerMode } from '@gooddata/sdk-model';
52
62
  import { IAnalyticalBackend } from '@gooddata/sdk-backend-spi';
53
63
  import { IArbitraryAttributeFilter } from '@gooddata/sdk-model';
64
+ import { IAttribute } from '@gooddata/sdk-model';
54
65
  import { IAttributeDescriptorBody } from '@gooddata/sdk-model';
55
66
  import { IAttributeDisplayFormMetadataObject } from '@gooddata/sdk-model';
56
67
  import { IAttributeElement } from '@gooddata/sdk-model';
@@ -106,6 +117,7 @@ import { IDashboardPermissions } from '@gooddata/sdk-model';
106
117
  import { IDashboardReferences } from '@gooddata/sdk-backend-spi';
107
118
  import { IDashboardTimezoneConfig } from '@gooddata/sdk-model';
108
119
  import { IDashboardWidget } from '@gooddata/sdk-model';
120
+ import { IDataSetMetadataObject } from '@gooddata/sdk-model';
109
121
  import { IDataView } from '@gooddata/sdk-backend-spi';
110
122
  import { IDateFilter } from '@gooddata/sdk-model';
111
123
  import { IDateFilterButtonProps } from '@gooddata/sdk-ui-filters';
@@ -131,6 +143,7 @@ import { IExecutionConfiguration } from '@gooddata/sdk-ui';
131
143
  import { IExecutionDefinition } from '@gooddata/sdk-model';
132
144
  import { IExecutionResult } from '@gooddata/sdk-backend-spi';
133
145
  import { IExecutionResultLimitBreak } from '@gooddata/sdk-model';
146
+ import { IExportDefinitionVisualizationObjectSettings } from '@gooddata/sdk-model';
134
147
  import { IExportResult } from '@gooddata/sdk-backend-spi';
135
148
  import type { IExportTemplate } from '@gooddata/sdk-model';
136
149
  import { IFilter } from '@gooddata/sdk-model';
@@ -188,6 +201,7 @@ import { ITableDataAttributeScope } from '@gooddata/sdk-ui';
188
201
  import { ITempFilterContext } from '@gooddata/sdk-model';
189
202
  import { ITheme } from '@gooddata/sdk-model';
190
203
  import type { ITranslations } from '@gooddata/sdk-ui';
204
+ import { IUnavailableDashboardReference } from '@gooddata/sdk-backend-spi';
191
205
  import { IUpperBoundedFilter } from '@gooddata/sdk-model';
192
206
  import { IUser } from '@gooddata/sdk-model';
193
207
  import { IUserWorkspaceSettings } from '@gooddata/sdk-backend-spi';
@@ -224,6 +238,7 @@ import { ReactNode } from 'react';
224
238
  import { ReactReduxContextValue } from 'react-redux';
225
239
  import { Reducer } from '@reduxjs/toolkit';
226
240
  import { Ref } from 'react';
241
+ import { RefAttributes } from 'react';
227
242
  import { RefObject } from 'react';
228
243
  import { SagaIterator } from 'redux-saga';
229
244
  import { ScreenSize } from '@gooddata/sdk-model';
@@ -239,6 +254,7 @@ import { UseCancelablePromiseState } from '@gooddata/sdk-ui';
239
254
  import { VisualizationProperties } from '@gooddata/sdk-model';
240
255
  import { weakMapMemoize } from '@reduxjs/toolkit';
241
256
  import { WeekStart } from '@gooddata/sdk-model';
257
+ import { WidgetAttachmentType } from '@gooddata/sdk-model';
242
258
  import { WritableDraft } from 'immer';
243
259
 
244
260
  /**
@@ -512,6 +528,29 @@ export declare function addTextAttributeFilter(filter: DashboardTextAttributeFil
512
528
  */
513
529
  export declare function addVisualizationToSwitcherWidgetContent(ref: ObjRef, visualization: IInsightWidget, insight: IInsight, sizeInfo: IVisualizationSizeInfo, correlationId?: string): IAddVisualizationToVisualizationSwitcherWidgetContent;
514
530
 
531
+ /**
532
+ * The operator id of an anomaly-detection alert condition.
533
+ *
534
+ * @alpha
535
+ */
536
+ export declare type AlertAiOperator = `${typeof AI_OPERATOR}.${typeof AI_OPERATORS.ANOMALY_DETECTION}`;
537
+
538
+ /**
539
+ * An attribute of the insight the alert can be sliced by (the "for" row of the condition).
540
+ *
541
+ * @alpha
542
+ */
543
+ export declare type AlertAttribute = {
544
+ /**
545
+ * The insight attribute.
546
+ */
547
+ attribute: IAttribute;
548
+ /**
549
+ * Whether the attribute is a date attribute.
550
+ */
551
+ type: "dateAttribute" | "attribute";
552
+ };
553
+
515
554
  /**
516
555
  * Resolves the dialog component from DashboardComponentsContext and mounts it under the
517
556
  * alerting dialog's state contexts, inside the resolved context decorator — so a decorated
@@ -521,6 +560,26 @@ export declare function addVisualizationToSwitcherWidgetContent(ref: ObjRef, vis
521
560
  */
522
561
  export declare function AlertingDialog(props: IAlertingDialogProps): ReactElement;
523
562
 
563
+ /**
564
+ * The alerting dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
565
+ * connected to the dialog's state.
566
+ *
567
+ * Renders {@link DefaultAutomationDialogActionBar} with the props of
568
+ * {@link useAlertingDialogActionBarProps}; every override prop replaces the hook's value wholesale.
569
+ * The block does not own the submit: pass `submit` and `isSaving` from one {@link useAlertSubmit}
570
+ * instance, so an Enter handler elsewhere in the shell shares its in-flight guard. Renders nothing
571
+ * while `useAlertingDialogContext().isLoading` is true.
572
+ *
573
+ * @example
574
+ * ```tsx
575
+ * const { submit, isSaving } = useAlertSubmit(props);
576
+ * <AlertingDialogActionBar onCancel={props.onCancel} onSubmit={() => void submit()} isSaving={isSaving} />;
577
+ * ```
578
+ *
579
+ * @alpha
580
+ */
581
+ export declare function AlertingDialogActionBar(props: IAlertingDialogActionBarBlockProps): JSX.Element;
582
+
524
583
  /**
525
584
  * Provides the alerting create/edit dialog context.
526
585
  *
@@ -532,6 +591,60 @@ export declare function AlertingDialog(props: IAlertingDialogProps): ReactElemen
532
591
  */
533
592
  export declare const AlertingDialogContextProvider: Provider<IAlertingDialogContextValue | undefined>;
534
593
 
594
+ /**
595
+ * The alerting dialog's destination region (the notification-channel select), connected to the
596
+ * dialog's state.
597
+ *
598
+ * Renders {@link DefaultAlertingDialogDestination} with the props of
599
+ * {@link useAlertingDialogDestinationProps}; every prop passed here replaces the hook's value for
600
+ * that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true. The
601
+ * default dialog renders this region only when more than one channel exists; the block renders
602
+ * wherever it is placed — a shell decides from `useAlertingDialogContext().notificationChannels`.
603
+ *
604
+ * @alpha
605
+ */
606
+ export declare function AlertingDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): JSX.Element;
607
+
608
+ /**
609
+ * The alerting dialog's filters region (the filter and parameter chips), connected to the dialog's
610
+ * state.
611
+ *
612
+ * Renders {@link DefaultAlertingDialogFilters} with the props of {@link useAlertingDialogFiltersProps};
613
+ * every prop passed here replaces the hook's value for that prop wholesale (an `onFiltersChange`
614
+ * override takes over the write and must submit the complete selection). Renders nothing while
615
+ * `useAlertingDialogContext().isLoading` is true. The default dialog also hides this region behind
616
+ * its stale-filters confirmation step; a shell that wants that step builds it from
617
+ * {@link useAlertFilters}.
618
+ *
619
+ * @alpha
620
+ */
621
+ export declare function AlertingDialogFilters(overrides: Partial<IAlertingDialogFiltersProps>): JSX.Element;
622
+
623
+ /**
624
+ * The alerting dialog's header region (the title input row), connected to the dialog's state.
625
+ *
626
+ * Renders {@link DefaultAlertingDialogHeader} with the props of {@link useAlertingDialogHeaderProps}.
627
+ * Every prop passed here replaces the hook's value for that prop wholesale; pass the dialog's
628
+ * `onCancel` so the back button closes the dialog, and `ref` to receive the title input. Renders
629
+ * nothing while `useAlertingDialogContext().isLoading` is true.
630
+ *
631
+ * @example
632
+ * ```tsx
633
+ * function MyAlertingDialog(props: IAlertingDialogProps) {
634
+ * return (
635
+ * <MyShell onClose={props.onCancel}>
636
+ * <AlertingDialogHeader onCancel={props.onCancel} />
637
+ * <AlertingDialogFilters />
638
+ * </MyShell>
639
+ * );
640
+ * }
641
+ * <Dashboard AlertingDialogComponent={MyAlertingDialog} />;
642
+ * ```
643
+ *
644
+ * @alpha
645
+ */
646
+ export declare const AlertingDialogHeader: ForwardRefExoticComponent<Partial<IAlertingDialogHeaderProps> & RefAttributes<HTMLInputElement>>;
647
+
535
648
  /**
536
649
  * The exact props the default dialog renders its header with, including the dialog's
537
650
  * initial-focus ref.
@@ -542,6 +655,18 @@ export declare type AlertingDialogHeaderDefaultProps = IAlertingDialogHeaderProp
542
655
  ref?: Ref<HTMLInputElement>;
543
656
  };
544
657
 
658
+ /**
659
+ * The alerting dialog's recipients region, connected to the dialog's state.
660
+ *
661
+ * Renders {@link DefaultAlertingDialogRecipients} with the props of
662
+ * {@link useAlertingDialogRecipientsProps}; every prop passed here replaces the hook's value for
663
+ * that prop wholesale, e.g. `<AlertingDialogRecipients maxRecipients={3} />`. Renders nothing while
664
+ * `useAlertingDialogContext().isLoading` is true.
665
+ *
666
+ * @alpha
667
+ */
668
+ export declare function AlertingDialogRecipients(overrides: Partial<IAutomationDialogRecipientsProps>): JSX.Element;
669
+
545
670
  /**
546
671
  * @internal
547
672
  */
@@ -552,6 +677,66 @@ export declare type AlertingDisabledReason = "noDestinations" | "oldWidget" | "d
552
677
  */
553
678
  export declare function AlertingManagementDialog(props: IAlertingManagementDialogProps): ReactElement;
554
679
 
680
+ /**
681
+ * A measure of the insight the alerting dialog can build a condition on, with the comparisons
682
+ * available for it.
683
+ *
684
+ * @alpha
685
+ */
686
+ export declare type AlertMetric = {
687
+ /**
688
+ * The insight measure.
689
+ */
690
+ measure: IMeasure;
691
+ /**
692
+ * Whether the measure is a primary (non-derived) measure of the insight.
693
+ */
694
+ isPrimary: boolean;
695
+ /**
696
+ * The period-over-period comparisons the dialog offers for this measure; empty when none apply.
697
+ */
698
+ comparators: AlertMetricComparator[];
699
+ };
700
+
701
+ /**
702
+ * A comparison the alerting dialog can offer for a measure: the derived period-over-period measure
703
+ * and the date dataset and granularity it is computed over.
704
+ *
705
+ * @alpha
706
+ */
707
+ export declare type AlertMetricComparator = {
708
+ /**
709
+ * The derived measure (previous period / same period previous year) the condition compares against.
710
+ */
711
+ measure: IMeasure;
712
+ /**
713
+ * Whether the derived measure is itself a primary measure of the insight.
714
+ */
715
+ isPrimary: boolean;
716
+ /**
717
+ * Which period the derived measure shifts by.
718
+ */
719
+ comparator: AlertMetricComparatorType;
720
+ /**
721
+ * The date dataset the period shift is computed over, when the insight resolves one.
722
+ */
723
+ dataset?: IDataSetMetadataObject;
724
+ /**
725
+ * The granularity of the period shift, when the insight resolves one.
726
+ */
727
+ granularity?: DateAttributeGranularity;
728
+ };
729
+
730
+ /**
731
+ * The period a relative alert condition compares the measure against.
732
+ *
733
+ * @alpha
734
+ */
735
+ export declare enum AlertMetricComparatorType {
736
+ PreviousPeriod = 0,
737
+ SamePeriodPreviousYear = 1
738
+ }
739
+
555
740
  /**
556
741
  * This defines all possible reducers for the cache slice.
557
742
  *
@@ -724,6 +909,27 @@ export declare function attributeHierarchyModified(correlationId?: string): IAtt
724
909
  */
725
910
  export declare function AttributesDropdown({ id, className, bodyClassName, onClose, onOpen, onSelect, attributes, dateDatasets, measures, openOnInit, DropdownButtonComponent, DropdownTitleComponent, renderNoData, overlayPositionType, getCustomItemTitle, accessibilityConfig, returnFocusTo, parameters, onParameterSelect }: IAttributesDropdownProps): JSX.Element;
726
911
 
912
+ /**
913
+ * One distinct value of an attribute in the widget's execution result, as offered by the alert's
914
+ * attribute-value picker.
915
+ *
916
+ * @alpha
917
+ */
918
+ export declare type AttributeValue = {
919
+ /**
920
+ * Display title: the formatted element name when the result has one, the raw name otherwise.
921
+ */
922
+ title: string;
923
+ /**
924
+ * The element URI; this is what the alert stores.
925
+ */
926
+ value: string;
927
+ /**
928
+ * The raw element name.
929
+ */
930
+ name: string;
931
+ };
932
+
727
933
  /**
728
934
  * @alpha
729
935
  */
@@ -3442,6 +3648,8 @@ export declare type DashboardState = {
3442
3648
  accessibleDashboards: IAccessibleDashboardsState;
3443
3649
  /** @alpha */
3444
3650
  inaccessibleDashboards: EntityState<IInaccessibleDashboard, EntityId>;
3651
+ /** @alpha */
3652
+ unavailableObjects: EntityState<IUnavailableDashboardReference, EntityId>;
3445
3653
  dashboardPermissions: DashboardPermissionsState;
3446
3654
  /** @alpha */
3447
3655
  automations: IAutomationsState;
@@ -3966,6 +4174,14 @@ export declare const DEFAULT_TAB_ID = "defaultTabId";
3966
4174
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
3967
4175
  * outside those providers throws at runtime.
3968
4176
  *
4177
+ * The dialog is composed from the exported region renders — {@link DefaultAlertingDialogHeader},
4178
+ * {@link DefaultAlertingDialogFilters}, {@link DefaultAlertingDialogDestination},
4179
+ * {@link DefaultAlertingDialogRecipients}, {@link DefaultAutomationDialogActionBar} — fed by the
4180
+ * matching `use*Props` hooks ({@link useAlertingDialogFiltersProps} and siblings). A custom
4181
+ * `AlertingDialogComponent` that keeps our regions but owns the markup places the connected blocks
4182
+ * ({@link AlertingDialogFilters} and siblings) instead of this component, and reads or writes the
4183
+ * same draft through {@link useAlertDraft} and {@link useAlertActions}.
4184
+ *
3969
4185
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
3970
4186
  * and not while the stale-filters confirmation step is shown.
3971
4187
  *
@@ -3973,6 +4189,47 @@ export declare const DEFAULT_TAB_ID = "defaultTabId";
3973
4189
  */
3974
4190
  export declare function DefaultAlertingDialog(props: IDefaultAlertingDialogProps): JSX.Element;
3975
4191
 
4192
+ /**
4193
+ * Default render of the alerting dialog's destination region: the "Action" row selecting the
4194
+ * notification channel. Props-driven — reads no context. The default dialog and
4195
+ * {@link AlertingDialogDestination} render it with {@link useAlertingDialogDestinationProps}; a
4196
+ * `slots.Destination` slot receives it as `Default`.
4197
+ *
4198
+ * @alpha
4199
+ */
4200
+ export declare function DefaultAlertingDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): JSX.Element;
4201
+
4202
+ /**
4203
+ * Default render of the alerting dialog's filters region: the filter and parameter chips above the
4204
+ * form. Props-driven — reads no context. The default dialog and {@link AlertingDialogFilters} render
4205
+ * it with {@link useAlertingDialogFiltersProps}; a `slots.Filters` slot receives it as `Default`.
4206
+ * Alert automations always store their filters and never target the whole dashboard, so the
4207
+ * store-filters contract is fixed here instead of being carried on the region props.
4208
+ *
4209
+ * @alpha
4210
+ */
4211
+ export declare function DefaultAlertingDialogFilters(props: IAlertingDialogFiltersProps): JSX.Element;
4212
+
4213
+ /**
4214
+ * Default render of the alerting dialog's header region: the back button and the title input with
4215
+ * its length validation. Props-driven — reads no alerting dialog state. The default dialog and
4216
+ * {@link AlertingDialogHeader} render it with {@link useAlertingDialogHeaderProps}; a `slots.Header`
4217
+ * slot receives it as `Default`.
4218
+ *
4219
+ * @alpha
4220
+ */
4221
+ export declare const DefaultAlertingDialogHeader: ForwardRefExoticComponent<IAlertingDialogHeaderProps & RefAttributes<HTMLInputElement>>;
4222
+
4223
+ /**
4224
+ * Default render of the alerting dialog's recipients region: the recipients select in a form-field
4225
+ * row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
4226
+ * The default dialog and {@link AlertingDialogRecipients} render it with
4227
+ * {@link useAlertingDialogRecipientsProps}; a `slots.Recipients` slot receives it as `Default`.
4228
+ *
4229
+ * @alpha
4230
+ */
4231
+ export declare function DefaultAlertingDialogRecipients(props: IAutomationDialogRecipientsProps): JSX.Element;
4232
+
3976
4233
  /**
3977
4234
  * Self-contained version of DefaultAlertingManagementDialogNew that builds the required
3978
4235
  * AutomationsContext and AlertingManagementDialogContext internally from the dashboard
@@ -3983,6 +4240,17 @@ export declare function DefaultAlertingDialog(props: IDefaultAlertingDialogProps
3983
4240
  */
3984
4241
  export declare function DefaultAlertingManagementDialogNew(props: IAlertingManagementDialogProps): JSX.Element;
3985
4242
 
4243
+ /**
4244
+ * Default render of both automation dialogs' action bar: the documentation link and Delete on the
4245
+ * left, Cancel and the submit button on the right. Props-driven — reads no context; every value it
4246
+ * renders arrives through {@link IAutomationDialogActionBarProps}. The default dialogs,
4247
+ * {@link AlertingDialogActionBar} and {@link ScheduledEmailDialogActionBar} render it with the
4248
+ * tree's action-bar props hook; a `slots.ActionBar` slot receives it as `Default`.
4249
+ *
4250
+ * @alpha
4251
+ */
4252
+ export declare function DefaultAutomationDialogActionBar({ cancelButtonText, submitButtonText, onCancel, onSubmit, isSubmitDisabled, isSaving, submitButtonTooltipText, helpLinkText, helpLinkHref, onDelete, deleteButtonText }: IAutomationDialogActionBarProps): JSX.Element;
4253
+
3986
4254
  /**
3987
4255
  * @alpha
3988
4256
  */
@@ -4226,6 +4494,15 @@ export declare function DefaultSaveButton({ isVisible, isEnabled, isSaving, butt
4226
4494
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
4227
4495
  * outside those providers throws at runtime.
4228
4496
  *
4497
+ * The dialog is composed from the exported region renders — {@link DefaultScheduledEmailDialogHeader},
4498
+ * {@link DefaultScheduledEmailDialogFilters}, {@link DefaultScheduledEmailDialogDestination},
4499
+ * {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone},
4500
+ * {@link DefaultAutomationDialogActionBar} — fed by the matching `use*Props` hooks
4501
+ * ({@link useScheduledEmailDialogFiltersProps} and siblings). A custom `ScheduledEmailDialogComponent`
4502
+ * that keeps our regions but owns the markup places the connected blocks
4503
+ * ({@link ScheduledEmailDialogFilters} and siblings) instead of this component, and reads or writes
4504
+ * the same draft through {@link useScheduledExportDraft} and {@link useScheduledExportActions}.
4505
+ *
4229
4506
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
4230
4507
  * and not while the stale-filters confirmation step is shown. The Filters slot additionally
4231
4508
  * renders only while the Filters tab is selected — see {@link IScheduledEmailDialogSlots.Filters}.
@@ -4234,6 +4511,63 @@ export declare function DefaultSaveButton({ isVisible, isEnabled, isSaving, butt
4234
4511
  */
4235
4512
  export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmailDialogProps): JSX.Element;
4236
4513
 
4514
+ /**
4515
+ * Default render of the scheduled-export dialog's destination region: the notification-channel
4516
+ * select. Props-driven — reads no context. The default dialog and
4517
+ * {@link ScheduledEmailDialogDestination} render it with
4518
+ * {@link useScheduledEmailDialogDestinationProps}; a `slots.Destination` slot receives it as `Default`.
4519
+ *
4520
+ * @alpha
4521
+ */
4522
+ export declare function DefaultScheduledEmailDialogDestination({ notificationChannels, selectedNotificationChannelId, onChange }: IAutomationDialogDestinationProps): JSX.Element;
4523
+
4524
+ /**
4525
+ * Default render of the scheduled-export dialog's filters region: the filter and parameter chips of
4526
+ * the Filters tab, flat or per dashboard tab. The title is hidden and the list always expanded
4527
+ * because the tab itself provides both. Props-driven — reads no context. The default dialog and
4528
+ * {@link ScheduledEmailDialogFilters} render it with {@link useScheduledEmailDialogFiltersProps}; a
4529
+ * `slots.Filters` slot receives it as `Default`.
4530
+ *
4531
+ * @alpha
4532
+ */
4533
+ export declare function DefaultScheduledEmailDialogFilters(props: IScheduledEmailDialogFiltersProps): JSX.Element;
4534
+
4535
+ /**
4536
+ * Default render of the scheduled-export dialog's header region: the back button and the title input
4537
+ * with its length validation. Props-driven — reads no scheduled-email dialog state. The default dialog and
4538
+ * {@link ScheduledEmailDialogHeader} render it with {@link useScheduledEmailDialogHeaderProps}; a
4539
+ * `slots.Header` slot receives it as `Default`.
4540
+ *
4541
+ * @alpha
4542
+ */
4543
+ export declare const DefaultScheduledEmailDialogHeader: ForwardRefExoticComponent<IScheduledEmailDialogHeaderProps & RefAttributes<HTMLInputElement>>;
4544
+
4545
+ /**
4546
+ * Default render of the scheduled-export dialog's recipients region: the recipients select.
4547
+ * Props-driven — reads no context. The default dialog and {@link ScheduledEmailDialogRecipients}
4548
+ * render it with {@link useScheduledEmailDialogRecipientsProps}; a `slots.Recipients` slot receives
4549
+ * it as `Default`.
4550
+ *
4551
+ * @alpha
4552
+ */
4553
+ export declare function DefaultScheduledEmailDialogRecipients(props: IScheduledEmailDialogRecipientsProps): JSX.Element;
4554
+
4555
+ /**
4556
+ * The "Time zone" section of the scheduled-email dialog's General tab. Unlike the
4557
+ * dashboard-settings timezone picker, the dropdown offers no browser-detected option — the
4558
+ * schedule runs without a browser. Dashboard schedules offer a Default option (the backend
4559
+ * derives the persisted dashboard/settings timezone at run time); widget schedules always show
4560
+ * a concrete timezone.
4561
+ *
4562
+ * Default render of that section; its props are the slot contract
4563
+ * ({@link IScheduledEmailDialogTimezoneProps}). Props-driven — reads no scheduled-email dialog state. The default dialog
4564
+ * and {@link ScheduledEmailDialogTimezone} render it with {@link useScheduledEmailDialogTimezoneProps};
4565
+ * a `slots.Timezone` slot receives it as `Default`.
4566
+ *
4567
+ * @alpha
4568
+ */
4569
+ export declare function DefaultScheduledEmailDialogTimezone({ isWidget, selection, defaultResolvedTimezone, onTimezoneChange }: IScheduledEmailDialogTimezoneProps): JSX.Element;
4570
+
4237
4571
  /**
4238
4572
  * @alpha
4239
4573
  */
@@ -5813,82 +6147,318 @@ export declare interface IAddVisualizationToVisualizationSwitcherWidgetContentPa
5813
6147
  }
5814
6148
 
5815
6149
  /**
5816
- * @internal
6150
+ * The alerting dialog's mutators: the draft setter and every form change-handler.
6151
+ *
6152
+ * Changes rarely: `onGranularityChange` is re-created when `triggerIntervalDirty` toggles or the
6153
+ * supported measures load.
6154
+ *
6155
+ * @alpha
5817
6156
  */
5818
- export declare interface IAlertDialogContext {
6157
+ export declare interface IAlertActionsContextValue {
5819
6158
  /**
5820
- * Widget to create/edit alert for.
6159
+ * Replaces the draft; the change-handlers below are the preferred, field-scoped writes.
5821
6160
  */
5822
- widgetRef?: ObjRef;
6161
+ setEditedAutomation: Dispatch_2<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
5823
6162
  /**
5824
- * Alert to edit.
6163
+ * Sets the alert title and re-validates its length.
5825
6164
  */
5826
- alert?: IAutomationMetadataObject;
6165
+ onTitleChange: (value: string) => void;
6166
+ /**
6167
+ * Selects the measure the condition targets; resets the comparison to the measure's defaults.
6168
+ */
6169
+ onMeasureChange: (measure: AlertMetric) => void;
6170
+ /**
6171
+ * Slices the condition by an attribute value; `undefined` clears the slice.
6172
+ */
6173
+ onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
6174
+ /**
6175
+ * Switches the condition to a comparison against a fixed threshold.
6176
+ */
6177
+ onComparisonOperatorChange: (measure: AlertMetric, comparisonOperator: IAlertComparisonOperator) => void;
6178
+ /**
6179
+ * Switches the condition to a relative (change / difference) comparison with the given operators.
6180
+ */
6181
+ onRelativeOperatorChange: (measure: AlertMetric, relativeOperator: IAlertRelativeOperator, arithmeticOperator: IAlertRelativeArithmeticOperator) => void;
6182
+ /**
6183
+ * Switches the condition to anomaly detection on the measure.
6184
+ */
6185
+ onAnomalyDetectionChange: (measure: AlertMetric) => void;
6186
+ /**
6187
+ * Sets the period a relative condition compares against (and its granularity when given).
6188
+ */
6189
+ onComparisonTypeChange: (measure: AlertMetric | undefined, relativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined, comparisonType: AlertMetricComparatorType, granularity?: DateAttributeGranularity) => void;
6190
+ /**
6191
+ * Sets the anomaly-detection sensitivity.
6192
+ */
6193
+ onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
6194
+ /**
6195
+ * Sets the trigger interval. `dirty` defaults to true; the granularity handler passes false when it
6196
+ * derives the interval.
6197
+ */
6198
+ onTriggerIntervalChange: (triggerInterval: IAlertTriggerInterval, dirty?: boolean) => void;
6199
+ /**
6200
+ * Sets the anomaly-detection granularity; derives the trigger interval unless the user edited it.
6201
+ */
6202
+ onGranularityChange: (measure: AlertMetric | undefined, granularity: IAlertAnomalyDetectionGranularity) => void;
6203
+ /**
6204
+ * Selects the notification channel; recipients incompatible with it are dropped.
6205
+ */
6206
+ onDestinationChange: (destinationId: string) => void;
6207
+ /**
6208
+ * Sets when the alert fires: every evaluation or once per interval.
6209
+ */
6210
+ onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
6211
+ /**
6212
+ * Replaces the recipients with the complete updated array.
6213
+ */
6214
+ onRecipientsChange: (recipients: IAutomationRecipient[]) => void;
5827
6215
  }
5828
6216
 
5829
6217
  /**
5830
- * Sub-context for the alerting create/edit dialog.
6218
+ * The data the alerting dialog loads asynchronously: the supported measures and attributes with
6219
+ * their formats, the execution-result readers, and the current user's default recipients.
5831
6220
  *
5832
- * The connector hydrates this from dashboard state and provides the CRUD callbacks; the dialog and its
5833
- * hooks read it instead of reaching into the dashboard store. That direction is enforced by the
5834
- * `no-model-imports-in-clean-alerting` rule in `.dependency-cruiser.js`.
6221
+ * Changes when an async load resolves, not per keystroke.
5835
6222
  *
5836
6223
  * @alpha
5837
6224
  */
5838
- export declare interface IAlertingDialogContextValue {
5839
- mode: "create" | "edit";
5840
- widget?: IWidget;
5841
- insight?: IInsight;
5842
- widgetTitle?: string;
5843
- dashboardId?: string;
5844
- dashboardFilters: FilterContextItem[];
5845
- hiddenFilters: FilterContextItem[];
5846
- executionResultByRef: (ref: ObjRef | undefined) => {
5847
- executionResult?: IExecutionResult;
5848
- } | undefined;
5849
- /** Effective widget parameter values for the dialog's widget (replaces direct selectEffectiveParameterValuesForWidget read) */
5850
- parameterValues: IInsightParameterValue[];
6225
+ export declare interface IAlertDataContextValue {
5851
6226
  /**
5852
- * Effective dashboard parameters for the dialog's widget — the owning tab's parameters with any
5853
- * runtime override folded in (replaces the direct selectEffectiveDashboardParametersForWidget
5854
- * read in useAutomationAlertParameters).
6227
+ * Measures of the insight an alert can be built on, with their comparisons.
5855
6228
  */
5856
- dashboardParameters: IDashboardParameter[];
5857
- commonDateFilterId?: string;
5858
- dashboardEvaluationFrequency?: string;
5859
- createAlert(alert: IAutomationMetadataObjectDefinition): Promise<IAutomationMetadataObject>;
5860
- saveAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
5861
- deleteAlert(alert: IAutomationMetadataObject): Promise<void>;
5862
- /** The alert being edited; undefined when creating a new one. */
5863
- alertToEdit?: IAutomationMetadataObject;
5864
- /** Notification channels available as alert destinations. */
5865
- notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
5866
- /** True while the dialog's initial data (automations) is still loading. */
5867
- isLoading: boolean;
6229
+ supportedMeasures: AlertMetric[];
6230
+ /**
6231
+ * Attributes of the insight an alert can be sliced by.
6232
+ */
6233
+ supportedAttributes: AlertAttribute[];
6234
+ /**
6235
+ * Number formats of the insight's measures, by local identifier.
6236
+ */
6237
+ measureFormatMap: IMeasureFormatMap;
6238
+ /**
6239
+ * Whether the widget's execution result is still loading.
6240
+ */
6241
+ isResultLoading: boolean;
6242
+ /**
6243
+ * Distinct values of an attribute in the widget's execution result.
6244
+ */
6245
+ getAttributeValues: (attribute: IAttributeMetadataObject) => AttributeValue[];
6246
+ /**
6247
+ * The measure's current value, optionally sliced by an attribute value; undefined while loading.
6248
+ */
6249
+ getMetricValue: (measure?: IMeasure, attribute?: IAttribute, value?: string | null) => number | undefined;
6250
+ /**
6251
+ * The logged-in user as a recipient.
6252
+ */
6253
+ defaultUser: IAutomationRecipient;
6254
+ /**
6255
+ * The recipient a new alert is seeded with; an external-recipient override replaces the user.
6256
+ */
6257
+ defaultRecipient: IAutomationRecipient;
5868
6258
  }
5869
6259
 
5870
6260
  /**
5871
- * Props of the default alerting dialog's filters region (the filter and parameter chips above
5872
- * the form).
5873
- *
5874
- * @alpha
6261
+ * @internal
5875
6262
  */
5876
- export declare interface IAlertingDialogFiltersProps extends IAutomationDialogFiltersProps {
6263
+ export declare interface IAlertDialogContext {
5877
6264
  /**
5878
- * Disables the date filter chips. The default dialog disables them while the alert uses
5879
- * anomaly detection.
6265
+ * Widget to create/edit alert for.
5880
6266
  */
5881
- disableDateFilters: boolean;
6267
+ widgetRef?: ObjRef;
6268
+ /**
6269
+ * Alert to edit.
6270
+ */
6271
+ alert?: IAutomationMetadataObject;
5882
6272
  }
5883
6273
 
5884
6274
  /**
5885
- * Props of the default alerting dialog's header region (the title input row).
6275
+ * The alerting dialog's validity.
5886
6276
  *
5887
6277
  * @alpha
5888
6278
  */
5889
- export declare interface IAlertingDialogHeaderProps extends IAutomationDialogHeaderProps {
6279
+ export declare interface IAlertDialogValidity {
5890
6280
  /**
5891
- * Called when the header's back/close button is pressed. The default dialog closes on it.
6281
+ * Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
6282
+ */
6283
+ isSubmitDisabled: boolean;
6284
+ /**
6285
+ * The validation message to show; undefined when there is none.
6286
+ */
6287
+ validationErrorMessage: string | undefined;
6288
+ /**
6289
+ * Whether the widget the alert is attached to still exists and supports the alert's measure.
6290
+ */
6291
+ isParentValid: boolean;
6292
+ /**
6293
+ * Whether the measure may be changed — false when the dialog has no insight.
6294
+ */
6295
+ canChangeMeasure: boolean;
6296
+ /**
6297
+ * Whether the saved alert points at a widget whose insight is gone.
6298
+ */
6299
+ isInvalidConnectionToInsight: boolean;
6300
+ }
6301
+
6302
+ /**
6303
+ * The alerting dialog's edit draft: the automation being edited, the baseline it is compared
6304
+ * against, and the form-level warning and title-validity flag that move with it.
6305
+ *
6306
+ * Changes on every keystroke; consumers re-render by design.
6307
+ *
6308
+ * @alpha
6309
+ */
6310
+ export declare interface IAlertDraftContextValue {
6311
+ /**
6312
+ * The alert being edited. Undefined only before the state model has seeded it.
6313
+ */
6314
+ editedAutomation: IAutomationMetadataObjectDefinition | undefined;
6315
+ /**
6316
+ * The draft as it was when the dialog opened; the dirty check compares against it.
6317
+ */
6318
+ originalAutomation: IAutomationMetadataObjectDefinition | undefined;
6319
+ /**
6320
+ * Form-level warning shown below the form, e.g. after switching to a creator-only channel.
6321
+ */
6322
+ warningMessage: string | undefined;
6323
+ /**
6324
+ * Whether the current title passes the length limit.
6325
+ */
6326
+ isTitleValid: boolean;
6327
+ }
6328
+
6329
+ /**
6330
+ * The alerting dialog's filter and export-parameter model: the current selection, the available
6331
+ * filters, the two filter mutators and the staleness flags, plus the automation's execution
6332
+ * parameters and their mutators.
6333
+ *
6334
+ * Changes when a filter or a parameter is edited.
6335
+ *
6336
+ * @alpha
6337
+ */
6338
+ export declare interface IAlertFiltersContextValue {
6339
+ /**
6340
+ * The filters the alert is saved with.
6341
+ */
6342
+ selectedFilters: FilterContextItem[];
6343
+ /**
6344
+ * The dashboard filters the alert may use; undefined until resolved.
6345
+ */
6346
+ availableFilters: FilterContextItem[] | undefined;
6347
+ /**
6348
+ * Replaces the selection with the complete updated array and mirrors it into the draft.
6349
+ */
6350
+ onFiltersChange: (filters: FilterContextItem[]) => void;
6351
+ /**
6352
+ * Replaces the selection with the dashboard's current filters (the stale-filters repair).
6353
+ */
6354
+ onApplyCurrentFilters: () => void;
6355
+ /**
6356
+ * False when the saved filters or the saved parameters no longer match the dashboard; gates the
6357
+ * stale-filters confirmation.
6358
+ */
6359
+ automationIsValid: boolean;
6360
+ /**
6361
+ * Whether the saved filters alone no longer match the dashboard.
6362
+ */
6363
+ filtersAreStale: boolean;
6364
+ /**
6365
+ * The parameter chips to render. Empty when the `enableParameters` feature is off.
6366
+ */
6367
+ automationParameters: IAutomationParameter[];
6368
+ /**
6369
+ * Workspace parameters addable via the "+" menu. Empty when the feature is off.
6370
+ */
6371
+ availableParameters: IAutomationParameter[];
6372
+ /**
6373
+ * Sets a parameter's value.
6374
+ */
6375
+ onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
6376
+ /**
6377
+ * Removes a parameter override.
6378
+ */
6379
+ onParameterDelete: (ref: IdentifierRef) => void;
6380
+ /**
6381
+ * Adds a workspace parameter with its default value.
6382
+ */
6383
+ onParameterAdd: (ref: IdentifierRef) => void;
6384
+ /**
6385
+ * Drops stored parameters whose `ref` left the workspace catalog, keeping every other override.
6386
+ */
6387
+ dropStaleParameters: () => void;
6388
+ }
6389
+
6390
+ /**
6391
+ * Props of {@link AlertingDialogActionBar}: the dialog inputs {@link useAlertingDialogActionBarProps}
6392
+ * needs (`onSubmit` and `isSaving` from {@link useAlertSubmit}, the dialog's `onCancel`, `onDelete`
6393
+ * for edit mode) plus any {@link IAutomationDialogActionBarProps} member to override.
6394
+ *
6395
+ * @alpha
6396
+ */
6397
+ export declare type IAlertingDialogActionBarBlockProps = IUseAlertingDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
6398
+
6399
+ /**
6400
+ * Sub-context for the alerting create/edit dialog.
6401
+ *
6402
+ * The connector hydrates this from dashboard state and provides the CRUD callbacks; the dialog and its
6403
+ * hooks read it instead of reaching into the dashboard store. That direction is enforced by the
6404
+ * `no-model-imports-in-clean-alerting` rule in `.dependency-cruiser.js`.
6405
+ *
6406
+ * @alpha
6407
+ */
6408
+ export declare interface IAlertingDialogContextValue {
6409
+ mode: "create" | "edit";
6410
+ widget?: IWidget;
6411
+ insight?: IInsight;
6412
+ widgetTitle?: string;
6413
+ dashboardId?: string;
6414
+ dashboardFilters: FilterContextItem[];
6415
+ hiddenFilters: FilterContextItem[];
6416
+ executionResultByRef: (ref: ObjRef | undefined) => {
6417
+ executionResult?: IExecutionResult;
6418
+ } | undefined;
6419
+ /** Effective widget parameter values for the dialog's widget (replaces direct selectEffectiveParameterValuesForWidget read) */
6420
+ parameterValues: IInsightParameterValue[];
6421
+ /**
6422
+ * Effective dashboard parameters for the dialog's widget — the owning tab's parameters with any
6423
+ * runtime override folded in (replaces the direct selectEffectiveDashboardParametersForWidget
6424
+ * read in useAutomationAlertParameters).
6425
+ */
6426
+ dashboardParameters: IDashboardParameter[];
6427
+ commonDateFilterId?: string;
6428
+ dashboardEvaluationFrequency?: string;
6429
+ createAlert(alert: IAutomationMetadataObjectDefinition): Promise<IAutomationMetadataObject>;
6430
+ saveAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
6431
+ deleteAlert(alert: IAutomationMetadataObject): Promise<void>;
6432
+ /** The alert being edited; undefined when creating a new one. */
6433
+ alertToEdit?: IAutomationMetadataObject;
6434
+ /** Notification channels available as alert destinations. */
6435
+ notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
6436
+ /** True while the dialog's initial data (automations) is still loading. */
6437
+ isLoading: boolean;
6438
+ }
6439
+
6440
+ /**
6441
+ * Props of the default alerting dialog's filters region (the filter and parameter chips above
6442
+ * the form).
6443
+ *
6444
+ * @alpha
6445
+ */
6446
+ export declare interface IAlertingDialogFiltersProps extends IAutomationDialogFiltersProps {
6447
+ /**
6448
+ * Disables the date filter chips. The default dialog disables them while the alert uses
6449
+ * anomaly detection.
6450
+ */
6451
+ disableDateFilters: boolean;
6452
+ }
6453
+
6454
+ /**
6455
+ * Props of the default alerting dialog's header region (the title input row).
6456
+ *
6457
+ * @alpha
6458
+ */
6459
+ export declare interface IAlertingDialogHeaderProps extends IAutomationDialogHeaderProps {
6460
+ /**
6461
+ * Called when the header's back/close button is pressed. The default dialog closes on it.
5892
6462
  */
5893
6463
  onCancel?: () => void;
5894
6464
  }
@@ -6125,7 +6695,81 @@ export declare interface IAlertingManagementDialogProps {
6125
6695
  }
6126
6696
 
6127
6697
  /**
6128
- * Command for applying all working filters staged for application.
6698
+ * The alerting dialog's currently selected form values, derived from the draft and the supported
6699
+ * measures and attributes.
6700
+ *
6701
+ * @alpha
6702
+ */
6703
+ export declare interface IAlertSelectedValues {
6704
+ /**
6705
+ * The measure the condition targets; undefined until the draft names one the insight supports.
6706
+ */
6707
+ selectedMeasure: AlertMetric | undefined;
6708
+ /**
6709
+ * The operator of a fixed-threshold comparison condition.
6710
+ */
6711
+ selectedComparisonOperator: IAlertComparisonOperator | undefined;
6712
+ /**
6713
+ * The relative and arithmetic operators of a relative condition.
6714
+ */
6715
+ selectedRelativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined;
6716
+ /**
6717
+ * The operator id of an anomaly-detection condition.
6718
+ */
6719
+ selectedAiOperator: AlertAiOperator | undefined;
6720
+ /**
6721
+ * The period comparison a relative condition uses.
6722
+ */
6723
+ selectedComparator: AlertMetricComparator | undefined;
6724
+ /**
6725
+ * The sensitivity of an anomaly-detection condition.
6726
+ */
6727
+ selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
6728
+ /**
6729
+ * The granularity of an anomaly-detection condition.
6730
+ */
6731
+ selectedGranularity: IAlertAnomalyDetectionGranularity | undefined;
6732
+ /**
6733
+ * The attribute the condition is sliced by.
6734
+ */
6735
+ selectedAttribute: AlertAttribute | undefined;
6736
+ /**
6737
+ * The attribute element URI the condition is sliced to; null for the empty value.
6738
+ */
6739
+ selectedValue: string | null | undefined;
6740
+ /**
6741
+ * The notification channel the draft targets, resolved against the available channels.
6742
+ */
6743
+ selectedNotificationChannel: INotificationChannelIdentifier | INotificationChannelMetadataObject | undefined;
6744
+ /**
6745
+ * Whether the selected channel accepts external (e-mail only) recipients.
6746
+ */
6747
+ allowExternalRecipients: boolean;
6748
+ /**
6749
+ * Whether the selected channel accepts only the creator as recipient.
6750
+ */
6751
+ allowOnlyLoggedUserRecipients: boolean;
6752
+ }
6753
+
6754
+ /**
6755
+ * The alerting dialog's submit path.
6756
+ *
6757
+ * @alpha
6758
+ */
6759
+ export declare interface IAlertSubmitState {
6760
+ /**
6761
+ * Whether a create or save is in flight.
6762
+ */
6763
+ isSaving: boolean;
6764
+ /**
6765
+ * Creates the alert (no `alertToEdit`) or saves the edited one; a second call while one is in
6766
+ * flight is ignored.
6767
+ */
6768
+ submit: () => Promise<void>;
6769
+ }
6770
+
6771
+ /**
6772
+ * Command for applying all working filters and working parameter values staged for application.
6129
6773
  * Usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
6130
6774
  *
6131
6775
  * @remarks
@@ -12007,6 +12651,13 @@ export declare interface IDashboardParameterEntry {
12007
12651
  * execution overrides so the backend keeps using the parameter's own default.
12008
12652
  */
12009
12653
  runtimeOverride: ParameterValue | undefined;
12654
+ /**
12655
+ * Staged (not yet applied) value under the apply-all-at-once mode. Presence means the entry
12656
+ * is dirty: staging a value equal to `runtimeOverride` deletes the field instead of storing
12657
+ * it, and every direct runtime write deletes it too. Executions read `runtimeOverride` only;
12658
+ * "Apply All" folds this into `runtimeOverride`.
12659
+ */
12660
+ workingOverride?: ParameterValue;
12010
12661
  }
12011
12662
 
12012
12663
  /**
@@ -13307,8 +13958,10 @@ export declare interface IDateFiltersCustomizer {
13307
13958
  */
13308
13959
  export declare interface IDefaultAlertingDialogProps extends IAlertingDialogProps {
13309
13960
  /**
13310
- * Section-level overrides. Each slot receives `{ Default, defaultProps }` and may render its own
13311
- * content (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
13961
+ * Section-level overrides. Each slot receives `{ Default, defaultProps }` — `Default` is the region's
13962
+ * exported render component ({@link DefaultAlertingDialogHeader} for `Header`, and so on) and `defaultProps` the
13963
+ * return of the region's props hook ({@link useAlertingDialogHeaderProps}) — and may render its own content
13964
+ * (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
13312
13965
  *
13313
13966
  * @example
13314
13967
  * The dialog is reached through the `Dashboard` component override; define slot components at
@@ -13384,8 +14037,10 @@ export declare interface IDefaultDashboardToolbarGroupProps {
13384
14037
  */
13385
14038
  export declare interface IDefaultScheduledEmailDialogProps extends IScheduledEmailDialogProps {
13386
14039
  /**
13387
- * Section-level overrides. Each slot receives `{ Default, defaultProps }` and may render its own
13388
- * content (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
14040
+ * Section-level overrides. Each slot receives `{ Default, defaultProps }` — `Default` is the region's
14041
+ * exported render component ({@link DefaultScheduledEmailDialogHeader} for `Header`, and so on) and `defaultProps` the
14042
+ * return of the region's props hook ({@link useScheduledEmailDialogHeaderProps}) — and may render its own content
14043
+ * (replace) or `<Default {...defaultProps} />` inside its own markup (wrap).
13389
14044
  *
13390
14045
  * @example
13391
14046
  * The dialog is reached through the `Dashboard` component override; define slot components at
@@ -15507,6 +16162,16 @@ export declare interface IMeasureDateDatasets {
15507
16162
  readonly dateDatasetDisplayNames: Record<string, string>;
15508
16163
  }
15509
16164
 
16165
+ /**
16166
+ * Number formats of the widget's measures keyed by measure local identifier, read from the
16167
+ * execution result.
16168
+ *
16169
+ * @alpha
16170
+ */
16171
+ export declare type IMeasureFormatMap = {
16172
+ [key: string]: string;
16173
+ };
16174
+
15510
16175
  /**
15511
16176
  * @alpha
15512
16177
  */
@@ -17183,8 +17848,8 @@ export declare interface IResetDashboard extends IDashboardCommand {
17183
17848
  }
17184
17849
 
17185
17850
  /**
17186
- * Command for resetting all working filters.
17187
- * It resets the working filters in to same state as applied filters.
17851
+ * Command for resetting all working filters and working parameter values.
17852
+ * It resets the working filters and parameters to the same state as the applied ones.
17188
17853
  *
17189
17854
  * @remarks
17190
17855
  * This command ot usually used with setting dashboardApplyFiltersMode: ALL_AT_ONCE
@@ -17653,6 +18318,16 @@ export declare function isBrokenAlertAttributeFilterInfo(item: IBrokenAlertFilte
17653
18318
  */
17654
18319
  export declare function isBrokenAlertDateFilterInfo(item: IBrokenAlertFilterBasicInfo): item is BrokenAlertDateFilterInfo;
17655
18320
 
18321
+ /**
18322
+ * Props of {@link ScheduledEmailDialogActionBar}: the dialog inputs
18323
+ * {@link useScheduledEmailDialogActionBarProps} needs (`onSubmit` and `isSaving` from
18324
+ * {@link useSaveScheduledEmailToBackend}, the dialog's `onCancel`, `onDelete` for edit mode) plus any
18325
+ * {@link IAutomationDialogActionBarProps} member to override.
18326
+ *
18327
+ * @alpha
18328
+ */
18329
+ export declare type IScheduledEmailDialogActionBarBlockProps = IUseScheduledEmailDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
18330
+
17656
18331
  /**
17657
18332
  * Sub-context for the scheduled-email create/edit dialog.
17658
18333
  *
@@ -18141,62 +18816,427 @@ export declare interface IScheduledEmailManagementDialogProps {
18141
18816
  }
18142
18817
 
18143
18818
  /**
18144
- * @internal
18819
+ * The scheduled-export dialog's save path.
18820
+ *
18821
+ * @alpha
18145
18822
  */
18146
- export declare interface IScheduleEmailContext {
18823
+ export declare interface IScheduledEmailSaveState {
18147
18824
  /**
18148
- * Widget to schedule email for.
18825
+ * Creates the schedule (draft without an id) or updates it (draft with one), after sanitizing it.
18149
18826
  */
18150
- widgetRef?: ObjRef | undefined;
18827
+ handleSaveScheduledEmail: () => void;
18151
18828
  /**
18152
- * Schedule to edit.
18829
+ * Whether a create or update is in flight.
18153
18830
  */
18154
- schedule?: IAutomationMetadataObject;
18831
+ isSavingScheduledEmail: boolean;
18832
+ /**
18833
+ * A 400 response's detail message, shown in the dialog without closing it; undefined otherwise.
18834
+ */
18835
+ savingErrorMessage: string | undefined;
18155
18836
  }
18156
18837
 
18157
18838
  /**
18158
- * A timezone selection of the schedule dialog's "Time zone" section.
18839
+ * The scheduled-export dialog's mutators: the draft setter, the form change-handlers, the
18840
+ * attachment handlers and the "Time zone" section handlers.
18159
18841
  *
18160
- * `shouldSave` decides whether the value is baked into the export definitions. Values the backend
18161
- * derives itself at run time are displayed but not saved: the Default option of a dashboard
18162
- * schedule (id undefined; persisted dashboard configuration → settings hierarchy) and a widget
18163
- * schedule showing the settings-hierarchy resolution (concrete id). Everything the backend cannot
18164
- * derive is saved: the view-mode override and browser resolution always, the dashboard's stored
18165
- * configuration for widget schedules, and any timezone picked manually in the dropdown.
18842
+ * Changes rarely.
18166
18843
  *
18167
18844
  * @alpha
18168
18845
  */
18169
- export declare interface IScheduleTimezoneSelection {
18846
+ export declare interface IScheduledExportActionsContextValue {
18170
18847
  /**
18171
- * Selected timezone (IANA ID); undefined represents the Default option.
18848
+ * Replaces the draft; the change-handlers below are the preferred, field-scoped writes.
18172
18849
  */
18173
- id: string | undefined;
18850
+ setEditedAutomation: Dispatch_2<SetStateAction<IAutomationMetadataObjectDefinition>>;
18174
18851
  /**
18175
- * Whether the selection is baked into the export definitions or left for the backend to
18176
- * derive at run time.
18852
+ * Sets the schedule title and re-validates its length.
18177
18853
  */
18178
- shouldSave: boolean;
18854
+ onTitleChange: (value: string) => void;
18855
+ /**
18856
+ * Sets the cron expression and first run; `isValid` is the recurrence form's own verdict.
18857
+ */
18858
+ onRecurrenceChange: (cronExpression: string, startDate: Date | null, isValid: boolean) => void;
18859
+ /**
18860
+ * Switches between a shared and a per-recipient evaluation of the export.
18861
+ */
18862
+ onEvaluationModeChange: (isShared: boolean) => void;
18863
+ /**
18864
+ * Selects the notification channel; recipients incompatible with it are dropped.
18865
+ */
18866
+ onDestinationChange: (notificationChannelId: string) => void;
18867
+ /**
18868
+ * Replaces the recipients with the complete updated array.
18869
+ */
18870
+ onRecipientsChange: (recipients: IAutomationRecipient[]) => void;
18871
+ /**
18872
+ * Sets the e-mail subject; `isValid` is the subject field's own verdict.
18873
+ */
18874
+ onSubjectChange: (value: string | number, isValid: boolean) => void;
18875
+ /**
18876
+ * Sets the e-mail message; `isValid` is the message field's own verdict.
18877
+ */
18878
+ onMessageChange: (value: string, isValid: boolean) => void;
18879
+ /**
18880
+ * Replaces the dashboard export formats; new definitions inherit the current filters and timezone.
18881
+ */
18882
+ onDashboardAttachmentsChange: (formats: DashboardAttachmentType[]) => void;
18883
+ /**
18884
+ * Replaces the widget export formats; throws when the dialog has no widget.
18885
+ */
18886
+ onWidgetAttachmentsChange: (formats: WidgetAttachmentType[]) => void;
18887
+ /**
18888
+ * Sets the XLSX export settings (merge headers, export info).
18889
+ */
18890
+ onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
18891
+ /**
18892
+ * Sets the tabular-PDF export settings (page size, orientation, export info).
18893
+ */
18894
+ onPdfSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
18895
+ /**
18896
+ * Sets the CSV export settings (delimiter).
18897
+ */
18898
+ onCsvSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
18899
+ /**
18900
+ * Sets the raw-CSV export settings (delimiter).
18901
+ */
18902
+ onCsvRawSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
18903
+ /**
18904
+ * Sets the slides template of one slides format; undefined restores the default template.
18905
+ */
18906
+ onSlidesTemplateIdChange: (templateId: string | undefined, format: "PPTX" | "PDF_SLIDES" | "PDF") => void;
18907
+ /**
18908
+ * Picks the export-content timezone; undefined selects the Default option.
18909
+ */
18910
+ onScheduleTimezoneChange: (timezoneId: string | undefined) => void;
18911
+ /**
18912
+ * Repairs a stale schedule timezone with the currently effective one.
18913
+ */
18914
+ applyCurrentScheduleTimezone: () => void;
18179
18915
  }
18180
18916
 
18181
18917
  /**
18182
- * Tests whether the provided object is an instance of {@link ICreateAttributeHierarchyRequested}.
18183
- *
18184
- * @param obj - object to test
18185
- * @internal
18186
- */
18187
- export declare const isCreateAttributeHierarchyRequested: (obj: unknown) => obj is ICreateAttributeHierarchyRequested;
18188
-
18189
- /**
18190
- * Tests whether the provided object is an instance of {@link ICreateInsightRequested}.
18918
+ * What the scheduled-export dialog's attachment section displays, derived from the draft's export
18919
+ * definitions with the defaults applied.
18191
18920
  *
18192
- * @param obj - object to test
18193
- * @internal
18921
+ * @alpha
18194
18922
  */
18195
- export declare const isCreateInsightRequested: (obj: unknown) => obj is ICreateInsightRequested;
18196
-
18197
- /**
18198
- * This event is emitted after change of the dashboard layout screen size.
18199
- *
18923
+ export declare interface IScheduledExportAttachments {
18924
+ /**
18925
+ * The formats of the draft's export definitions, in definition order.
18926
+ */
18927
+ selectedAttachments: Array<DashboardAttachmentType | WidgetAttachmentType>;
18928
+ /**
18929
+ * Whether the draft holds a whole-dashboard export definition (true for a draft with none yet).
18930
+ */
18931
+ isDashboardExportSelected: boolean;
18932
+ /**
18933
+ * Whether the draft holds a widget CSV export definition.
18934
+ */
18935
+ isCsvExportSelected: boolean;
18936
+ /**
18937
+ * Whether the draft holds a widget XLSX export definition.
18938
+ */
18939
+ isXlsxExportSelected: boolean;
18940
+ /**
18941
+ * XLSX settings; `mergeHeaders` and `exportInfo` default to true.
18942
+ */
18943
+ xlsxSettings: IExportDefinitionVisualizationObjectSettings;
18944
+ /**
18945
+ * Tabular-PDF settings; page size defaults from the workspace locale, orientation to portrait,
18946
+ * `exportInfo` to true.
18947
+ */
18948
+ pdfSettings: IExportDefinitionVisualizationObjectSettings;
18949
+ /**
18950
+ * CSV settings; an undefined `delimiter` is the backend default.
18951
+ */
18952
+ csvSettings: IExportDefinitionVisualizationObjectSettings;
18953
+ /**
18954
+ * Raw-CSV settings; an undefined `delimiter` is the backend default.
18955
+ */
18956
+ csvRawSettings: IExportDefinitionVisualizationObjectSettings;
18957
+ /**
18958
+ * The slides template chosen per slides format; undefined where the default template applies.
18959
+ */
18960
+ slidesTemplateIds: {
18961
+ PPTX: string | undefined;
18962
+ PDF_SLIDES: string | undefined;
18963
+ PDF: string | undefined;
18964
+ };
18965
+ }
18966
+
18967
+ /**
18968
+ * The scheduled-export dialog's recipient defaults: the logged-in user as a recipient, and the
18969
+ * recipient a new schedule is seeded with, which an external-recipient override replaces.
18970
+ *
18971
+ * Changes when the current user or the override changes, so not while the draft is edited.
18972
+ *
18973
+ * @alpha
18974
+ */
18975
+ export declare interface IScheduledExportDataContextValue {
18976
+ /**
18977
+ * The logged-in user as a recipient.
18978
+ */
18979
+ defaultUser: IAutomationRecipient;
18980
+ /**
18981
+ * The recipient a new schedule is seeded with; an external-recipient override replaces the user.
18982
+ */
18983
+ defaultRecipient: IAutomationRecipient;
18984
+ }
18985
+
18986
+ /**
18987
+ * The scheduled-export dialog's validity.
18988
+ *
18989
+ * @alpha
18990
+ */
18991
+ export declare interface IScheduledExportDialogValidity {
18992
+ /**
18993
+ * Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
18994
+ * Undefined (falsy) in create mode when nothing else disables it.
18995
+ */
18996
+ isSubmitDisabled: boolean | undefined;
18997
+ /**
18998
+ * The validation message to show; undefined when there is none.
18999
+ */
19000
+ validationErrorMessage: string | undefined;
19001
+ /**
19002
+ * Whether the schedule's source (widget or dashboard) still exists.
19003
+ */
19004
+ isParentValid: boolean;
19005
+ /**
19006
+ * Whether the selected channel accepts external (e-mail only) recipients.
19007
+ */
19008
+ allowExternalRecipients: boolean;
19009
+ /**
19010
+ * Whether the selected channel accepts only the creator as recipient.
19011
+ */
19012
+ allowOnlyLoggedUserRecipients: boolean;
19013
+ }
19014
+
19015
+ /**
19016
+ * The scheduled-export dialog's edit draft: the automation being edited, its baseline, the derived
19017
+ * start date, the per-field validity flags, and the "Time zone" section's state.
19018
+ *
19019
+ * Changes on every keystroke; consumers re-render by design.
19020
+ *
19021
+ * @alpha
19022
+ */
19023
+ export declare interface IScheduledExportDraftContextValue {
19024
+ /**
19025
+ * The schedule being edited; seeded from the saved schedule or the defaults for a new one.
19026
+ */
19027
+ editedAutomation: IAutomationMetadataObjectDefinition;
19028
+ /**
19029
+ * The draft as it was when the dialog opened; the dirty check compares against it.
19030
+ */
19031
+ originalAutomation: IAutomationMetadataObjectDefinition;
19032
+ /**
19033
+ * The schedule's first run in the user's timezone, normalized for the recurrence form.
19034
+ */
19035
+ startDate: Date;
19036
+ /**
19037
+ * Whether the recurrence form's cron expression is valid.
19038
+ */
19039
+ isCronValid: boolean;
19040
+ /**
19041
+ * Whether the title passes the length limit.
19042
+ */
19043
+ isTitleValid: boolean;
19044
+ /**
19045
+ * Whether the e-mail subject passes its validation.
19046
+ */
19047
+ isSubjectValid: boolean;
19048
+ /**
19049
+ * Whether the e-mail message passes its validation.
19050
+ */
19051
+ isOnMessageValid: boolean;
19052
+ /**
19053
+ * The enableTimezoneChange setting; timezone-related presentation is gated by it.
19054
+ */
19055
+ isTimezoneFeatureEnabled: boolean;
19056
+ /**
19057
+ * Whether the schedule may define its own export timezone (the "Time zone" section renders).
19058
+ */
19059
+ canSelectScheduleTimezone: boolean;
19060
+ /**
19061
+ * The "Time zone" section's current selection (the Default option or a concrete timezone).
19062
+ */
19063
+ scheduleTimezoneSelection: IScheduleTimezoneSelection;
19064
+ /**
19065
+ * Concrete timezone the dashboard-schedule Default option currently resolves to (display only).
19066
+ */
19067
+ defaultResolvedTimezone: string | undefined;
19068
+ /**
19069
+ * True when the edited schedule cannot behave correctly as stored (widget schedule missing a
19070
+ * dashboard-scoped timezone); feeds the apply-current-state confirmation.
19071
+ */
19072
+ scheduleTimezoneIsStale: boolean;
19073
+ }
19074
+
19075
+ /**
19076
+ * The scheduled-export dialog's filter and export-parameter model: the current selection and
19077
+ * available filters (flat and per tab), the handlers that mutate them, the staleness gate, and the
19078
+ * export-parameter chips with their handlers.
19079
+ *
19080
+ * Changes when a filter, a parameter or the store-filters toggle is edited; never per keystroke.
19081
+ *
19082
+ * @alpha
19083
+ */
19084
+ export declare interface IScheduledExportFiltersContextValue {
19085
+ /**
19086
+ * The filters the schedule is saved with (flat mode).
19087
+ */
19088
+ selectedFilters: FilterContextItem[];
19089
+ /**
19090
+ * The dashboard filters the schedule may use; undefined until resolved.
19091
+ */
19092
+ availableFilters: FilterContextItem[] | undefined;
19093
+ /**
19094
+ * Whether the schedule stores its own filters instead of using the latest saved dashboard filters.
19095
+ */
19096
+ storeFilters: boolean;
19097
+ /**
19098
+ * Filters structured per dashboard tab; present with more than one tab.
19099
+ */
19100
+ filtersByTab: IAutomationFiltersTab[] | undefined;
19101
+ /**
19102
+ * The edited selection per dashboard tab (by-tab mode).
19103
+ */
19104
+ editedFiltersByTab: Record<string, FilterContextItem[]> | undefined;
19105
+ /**
19106
+ * Replaces the selection with the complete updated array and mirrors it into the export
19107
+ * definitions. `storeFiltersParam` overrides the current toggle value for this write.
19108
+ */
19109
+ onFiltersChange: (filters: FilterContextItem[], storeFiltersParam?: boolean) => void;
19110
+ /**
19111
+ * By-tab counterpart of `onFiltersChange`: replaces the per-tab selection wholesale.
19112
+ */
19113
+ onFiltersByTabChange: (newFiltersByTab: Record<string, FilterContextItem[]>, storeFiltersParam?: boolean) => void;
19114
+ /**
19115
+ * Replaces the selection with the dashboard's current filters (the stale-filters repair).
19116
+ */
19117
+ onApplyCurrentFilters: () => void;
19118
+ /**
19119
+ * Toggles filter and parameter persistence. The current filters must be passed back — flat mode
19120
+ * as `(value, filters, undefined)`, by-tab mode as `(value, undefined, filtersByTab)`.
19121
+ */
19122
+ onStoreFiltersChange: (value: boolean, filters?: FilterContextItem[], filtersByTabParam?: Record<string, FilterContextItem[]>) => void;
19123
+ /**
19124
+ * False when the saved filters or the saved parameters no longer match the dashboard; gates the
19125
+ * stale-filters confirmation.
19126
+ */
19127
+ automationIsValid: boolean;
19128
+ /**
19129
+ * Whether the saved filters alone no longer match the dashboard.
19130
+ */
19131
+ filtersAreStale: boolean;
19132
+ /**
19133
+ * Whether the export-parameters feature is on; the parameter members below are empty when off.
19134
+ */
19135
+ parametersEnabled: boolean;
19136
+ /**
19137
+ * Per-tab visible parameters to render as chips.
19138
+ */
19139
+ visibleParametersByTab: Record<string, IAutomationParameter[]>;
19140
+ /**
19141
+ * Per-tab workspace parameters addable via the "+" menu.
19142
+ */
19143
+ availableParametersByTab: Record<string, IAutomationParameter[]>;
19144
+ /**
19145
+ * The tab the flat (non-tabbed) UI edits; undefined for multi-tab dashboards or when no
19146
+ * parameter context applies.
19147
+ */
19148
+ flatTabId: string | undefined;
19149
+ /**
19150
+ * Adds a workspace parameter with its default value on the flat tab.
19151
+ */
19152
+ onParameterAdd: (ref: IdentifierRef) => void;
19153
+ /**
19154
+ * Sets a parameter's value on the flat tab.
19155
+ */
19156
+ onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
19157
+ /**
19158
+ * Removes a parameter override on the flat tab.
19159
+ */
19160
+ onParameterDelete: (ref: IdentifierRef) => void;
19161
+ /**
19162
+ * Adds a workspace parameter with its default value on the given tab.
19163
+ */
19164
+ onParameterAddByTab: (tabId: string, ref: IdentifierRef) => void;
19165
+ /**
19166
+ * Sets a parameter's value on the given tab.
19167
+ */
19168
+ onParameterChangeByTab: (tabId: string, ref: IdentifierRef, value: ParameterValue) => void;
19169
+ /**
19170
+ * Removes a parameter override on the given tab.
19171
+ */
19172
+ onParameterDeleteByTab: (tabId: string, ref: IdentifierRef) => void;
19173
+ /**
19174
+ * Resets the parameters to the dashboard's current effective values (the "apply latest" flow).
19175
+ */
19176
+ applyLatest: () => void;
19177
+ /**
19178
+ * Re-encodes the parameters onto the automation with the new persistence value.
19179
+ */
19180
+ onStoreParametersChange: (storeParameters: boolean) => void;
19181
+ }
19182
+
19183
+ /**
19184
+ * @internal
19185
+ */
19186
+ export declare interface IScheduleEmailContext {
19187
+ /**
19188
+ * Widget to schedule email for.
19189
+ */
19190
+ widgetRef?: ObjRef | undefined;
19191
+ /**
19192
+ * Schedule to edit.
19193
+ */
19194
+ schedule?: IAutomationMetadataObject;
19195
+ }
19196
+
19197
+ /**
19198
+ * A timezone selection of the schedule dialog's "Time zone" section.
19199
+ *
19200
+ * `shouldSave` decides whether the value is baked into the export definitions. Values the backend
19201
+ * derives itself at run time are displayed but not saved: the Default option of a dashboard
19202
+ * schedule (id undefined; persisted dashboard configuration → settings hierarchy) and a widget
19203
+ * schedule showing the settings-hierarchy resolution (concrete id). Everything the backend cannot
19204
+ * derive is saved: the view-mode override and browser resolution always, the dashboard's stored
19205
+ * configuration for widget schedules, and any timezone picked manually in the dropdown.
19206
+ *
19207
+ * @alpha
19208
+ */
19209
+ export declare interface IScheduleTimezoneSelection {
19210
+ /**
19211
+ * Selected timezone (IANA ID); undefined represents the Default option.
19212
+ */
19213
+ id: string | undefined;
19214
+ /**
19215
+ * Whether the selection is baked into the export definitions or left for the backend to
19216
+ * derive at run time.
19217
+ */
19218
+ shouldSave: boolean;
19219
+ }
19220
+
19221
+ /**
19222
+ * Tests whether the provided object is an instance of {@link ICreateAttributeHierarchyRequested}.
19223
+ *
19224
+ * @param obj - object to test
19225
+ * @internal
19226
+ */
19227
+ export declare const isCreateAttributeHierarchyRequested: (obj: unknown) => obj is ICreateAttributeHierarchyRequested;
19228
+
19229
+ /**
19230
+ * Tests whether the provided object is an instance of {@link ICreateInsightRequested}.
19231
+ *
19232
+ * @param obj - object to test
19233
+ * @internal
19234
+ */
19235
+ export declare const isCreateInsightRequested: (obj: unknown) => obj is ICreateInsightRequested;
19236
+
19237
+ /**
19238
+ * This event is emitted after change of the dashboard layout screen size.
19239
+ *
18200
19240
  * @beta
18201
19241
  */
18202
19242
  export declare interface IScreenSizeChanged extends IDashboardEvent {
@@ -19888,6 +20928,18 @@ export declare interface ISetParameterRuntimeValuesPayload {
19888
20928
  tabLocalIdentifier?: string;
19889
20929
  }
19890
20930
 
20931
+ /**
20932
+ * Stage a parameter value under the apply-all-at-once mode. The value is always concrete: the
20933
+ * parameter control does not render for unresolved parameters, so staged `undefined` is
20934
+ * unreachable.
20935
+ *
20936
+ * @alpha
20937
+ */
20938
+ export declare interface ISetParameterWorkingValuePayload {
20939
+ ref: ObjRef;
20940
+ value: ParameterValue;
20941
+ }
20942
+
19891
20943
  /**
19892
20944
  * @internal
19893
20945
  */
@@ -20994,6 +22046,54 @@ export declare interface IUpsertExecutionResult extends IDashboardCommand {
20994
22046
  readonly payload: IExecutionResultEnvelope;
20995
22047
  }
20996
22048
 
22049
+ /**
22050
+ * Inputs of {@link useAlertingDialogActionBarProps} that come from the dialog rather than its state.
22051
+ *
22052
+ * @alpha
22053
+ */
22054
+ export declare interface IUseAlertingDialogActionBarPropsInput {
22055
+ /**
22056
+ * Closes the dialog without saving.
22057
+ */
22058
+ onCancel?: () => void;
22059
+ /**
22060
+ * Submits the automation; the dialog's single submit path (see {@link useAlertSubmit}).
22061
+ */
22062
+ onSubmit: () => void;
22063
+ /**
22064
+ * Whether a save is in flight.
22065
+ */
22066
+ isSaving: boolean;
22067
+ /**
22068
+ * Opens the delete confirmation. Rendered only when an existing alert is being edited.
22069
+ */
22070
+ onDelete?: () => void;
22071
+ }
22072
+
22073
+ /**
22074
+ * Inputs of {@link useAlertingDialogHeaderProps} that come from the dialog rather than its state.
22075
+ *
22076
+ * @alpha
22077
+ */
22078
+ export declare interface IUseAlertingDialogHeaderPropsInput {
22079
+ /**
22080
+ * Closes the dialog; the header's back/close button calls it.
22081
+ */
22082
+ onCancel?: () => void;
22083
+ /**
22084
+ * The dialog's initial-focus ref, attached to the title input.
22085
+ */
22086
+ ref?: Ref<HTMLInputElement>;
22087
+ }
22088
+
22089
+ /**
22090
+ * Lifecycle callbacks of {@link useAlertSubmit}: the dialog's own `onSuccess`/`onError` (create) and
22091
+ * `onSaveSuccess`/`onSaveError` (edit).
22092
+ *
22093
+ * @alpha
22094
+ */
22095
+ export declare type IUseAlertSubmitCallbacks = Pick<IAlertingDialogProps, "onSuccess" | "onError" | "onSaveSuccess" | "onSaveError">;
22096
+
20997
22097
  /**
20998
22098
  * @internal
20999
22099
  */
@@ -21182,17 +22282,81 @@ export declare interface IUserInteractionPayloadWithDataBase<TType extends strin
21182
22282
  }
21183
22283
 
21184
22284
  /**
21185
- * @internal
22285
+ * Lifecycle callbacks of {@link useSaveScheduledEmailToBackend}: `onSubmit`/`onSuccess`/`onError`
22286
+ * (create) and `onSave`/`onSaveSuccess`/`onSaveError` (edit).
22287
+ *
22288
+ * @alpha
21186
22289
  */
21187
- export declare interface IUseWidgetSelectionResult {
22290
+ export declare type IUseSaveScheduledEmailCallbacks = Pick<IScheduledEmailDialogProps, "onSuccess" | "onError" | "onSubmit" | "onSaveSuccess" | "onSaveError" | "onSave">;
22291
+
22292
+ /**
22293
+ * Inputs of {@link useScheduledEmailDialogActionBarProps} that come from the dialog rather than its state.
22294
+ *
22295
+ * @alpha
22296
+ */
22297
+ export declare interface IUseScheduledEmailDialogActionBarPropsInput {
21188
22298
  /**
21189
- * Flag indicating the given item can be selected.
22299
+ * Closes the dialog without saving.
21190
22300
  */
21191
- isSelectable: boolean;
22301
+ onCancel?: () => void;
21192
22302
  /**
21193
- * Flag indicating the given item is selected.
22303
+ * Submits the automation; the dialog's single save path (see {@link useSaveScheduledEmailToBackend}).
21194
22304
  */
21195
- isSelected: boolean;
22305
+ onSubmit: () => void;
22306
+ /**
22307
+ * Whether a save is in flight.
22308
+ */
22309
+ isSaving: boolean;
22310
+ /**
22311
+ * Opens the delete confirmation. Rendered only when an existing schedule is being edited.
22312
+ */
22313
+ onDelete?: () => void;
22314
+ }
22315
+
22316
+ /**
22317
+ * Inputs of {@link useScheduledEmailDialogHeaderProps} that come from the dialog rather than its state.
22318
+ *
22319
+ * @alpha
22320
+ */
22321
+ export declare interface IUseScheduledEmailDialogHeaderPropsInput {
22322
+ /**
22323
+ * Returns to the management dialog; the header's back button calls it.
22324
+ */
22325
+ onBack?: () => void;
22326
+ /**
22327
+ * Key-down handler of the title input; the dialog submits on Enter through it.
22328
+ */
22329
+ onTitleKeyDown: (event: KeyboardEvent_2) => void;
22330
+ /**
22331
+ * The dialog's initial-focus ref, attached to the title input.
22332
+ */
22333
+ ref?: Ref<HTMLInputElement>;
22334
+ }
22335
+
22336
+ /**
22337
+ * Inputs of {@link useScheduledEmailDialogRecipientsProps} that come from the dialog rather than its state.
22338
+ *
22339
+ * @alpha
22340
+ */
22341
+ export declare interface IUseScheduledEmailDialogRecipientsPropsInput {
22342
+ /**
22343
+ * Key-down handler of the recipients input; the dialog submits on Enter through it.
22344
+ */
22345
+ onKeyDownSubmit: (event: KeyboardEvent_2) => void;
22346
+ }
22347
+
22348
+ /**
22349
+ * @internal
22350
+ */
22351
+ export declare interface IUseWidgetSelectionResult {
22352
+ /**
22353
+ * Flag indicating the given item can be selected.
22354
+ */
22355
+ isSelectable: boolean;
22356
+ /**
22357
+ * Flag indicating the given item is selected.
22358
+ */
22359
+ isSelected: boolean;
21196
22360
  /**
21197
22361
  * Callback to call when an item is selected. Called with the relevant mouse event if originating from a click.
21198
22362
  */
@@ -23849,6 +25013,31 @@ export declare type SavingState = {
23849
25013
  */
23850
25014
  export declare function ScheduledEmailDialog(props: IScheduledEmailDialogProps): ReactElement;
23851
25015
 
25016
+ /**
25017
+ * The scheduled-export dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
25018
+ * connected to the dialog's state.
25019
+ *
25020
+ * Renders {@link DefaultAutomationDialogActionBar} with the props of
25021
+ * {@link useScheduledEmailDialogActionBarProps}; every override prop replaces the hook's value
25022
+ * wholesale. The block does not own the save: pass `handleSaveScheduledEmail` and
25023
+ * `isSavingScheduledEmail` from one {@link useSaveScheduledEmailToBackend} instance, so an Enter
25024
+ * handler elsewhere in the shell shares it. Renders nothing while
25025
+ * `useScheduledEmailDialogContext().isLoading` is true.
25026
+ *
25027
+ * @example
25028
+ * ```tsx
25029
+ * const { handleSaveScheduledEmail, isSavingScheduledEmail } = useSaveScheduledEmailToBackend(props);
25030
+ * <ScheduledEmailDialogActionBar
25031
+ * onCancel={props.onCancel}
25032
+ * onSubmit={handleSaveScheduledEmail}
25033
+ * isSaving={isSavingScheduledEmail}
25034
+ * />;
25035
+ * ```
25036
+ *
25037
+ * @alpha
25038
+ */
25039
+ export declare function ScheduledEmailDialogActionBar(props: IScheduledEmailDialogActionBarBlockProps): JSX.Element;
25040
+
23852
25041
  /**
23853
25042
  * Provides the scheduled-email create/edit dialog context.
23854
25043
  *
@@ -23861,6 +25050,50 @@ export declare function ScheduledEmailDialog(props: IScheduledEmailDialogProps):
23861
25050
  */
23862
25051
  export declare const ScheduledEmailDialogContextProvider: Provider<IScheduledEmailDialogContextValue | undefined>;
23863
25052
 
25053
+ /**
25054
+ * The scheduled-export dialog's destination region (the notification-channel select), connected to
25055
+ * the dialog's state.
25056
+ *
25057
+ * Renders {@link DefaultScheduledEmailDialogDestination} with the props of
25058
+ * {@link useScheduledEmailDialogDestinationProps}; every prop passed here replaces the hook's value
25059
+ * for that prop wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
25060
+ *
25061
+ * @alpha
25062
+ */
25063
+ export declare function ScheduledEmailDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): JSX.Element;
25064
+
25065
+ /**
25066
+ * The scheduled-export dialog's filters region (the filter and parameter chips, flat or per tab),
25067
+ * connected to the dialog's state.
25068
+ *
25069
+ * Renders {@link DefaultScheduledEmailDialogFilters} with the props of
25070
+ * {@link useScheduledEmailDialogFiltersProps}; every prop passed here replaces the hook's value for
25071
+ * that prop wholesale (`onFiltersChange` / `onFiltersByTabChange` overrides take over the write and
25072
+ * must submit the complete selection). Renders nothing while
25073
+ * `useScheduledEmailDialogContext().isLoading` is true. The default dialog renders this region on its
25074
+ * Filters tab only and hides it behind its stale-filters confirmation step; the block renders wherever
25075
+ * it is placed — a shell that wants either builds it from {@link useScheduledExportFilters}.
25076
+ *
25077
+ * @alpha
25078
+ */
25079
+ export declare function ScheduledEmailDialogFilters(overrides: Partial<IScheduledEmailDialogFiltersProps>): JSX.Element;
25080
+
25081
+ /**
25082
+ * The scheduled-export dialog's header region (the back button and the title input), connected to the
25083
+ * dialog's state.
25084
+ *
25085
+ * Renders {@link DefaultScheduledEmailDialogHeader} with the props of
25086
+ * {@link useScheduledEmailDialogHeaderProps}; every prop passed here replaces the hook's value for that
25087
+ * prop wholesale. Pass `onBack` to get the back button, `ref` to receive the title input, and
25088
+ * `onTitleKeyDown` to submit on Enter — the default dialog passes a handler over its single
25089
+ * {@link useSaveScheduledEmailToBackend} instance; without it Enter does nothing here. Renders
25090
+ * nothing while `useScheduledEmailDialogContext().isLoading` is true, which on scheduled email is
25091
+ * the ordinary path while a widget export's filters load.
25092
+ *
25093
+ * @alpha
25094
+ */
25095
+ export declare const ScheduledEmailDialogHeader: ForwardRefExoticComponent<Partial<IScheduledEmailDialogHeaderProps> & RefAttributes<HTMLInputElement>>;
25096
+
23864
25097
  /**
23865
25098
  * The exact props the default dialog renders its header with, including the dialog's
23866
25099
  * initial-focus ref.
@@ -23871,6 +25104,34 @@ export declare type ScheduledEmailDialogHeaderDefaultProps = IScheduledEmailDial
23871
25104
  ref?: Ref<HTMLInputElement>;
23872
25105
  };
23873
25106
 
25107
+ /**
25108
+ * The scheduled-export dialog's recipients region, connected to the dialog's state.
25109
+ *
25110
+ * Renders {@link DefaultScheduledEmailDialogRecipients} with the props of
25111
+ * {@link useScheduledEmailDialogRecipientsProps}; every prop passed here replaces the hook's value
25112
+ * for that prop wholesale, e.g. `<ScheduledEmailDialogRecipients maxRecipients={3} />`. Pass
25113
+ * `onKeyDownSubmit` to submit on Enter from the recipients input — the default dialog passes a
25114
+ * handler over its single {@link useSaveScheduledEmailToBackend} instance; without it Enter does
25115
+ * nothing here. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true.
25116
+ *
25117
+ * @alpha
25118
+ */
25119
+ export declare function ScheduledEmailDialogRecipients(props: Partial<IScheduledEmailDialogRecipientsProps>): JSX.Element;
25120
+
25121
+ /**
25122
+ * The scheduled-export dialog's "Time zone" section (the export-content timezone picker), connected
25123
+ * to the dialog's state.
25124
+ *
25125
+ * Renders {@link DefaultScheduledEmailDialogTimezone} with the props of
25126
+ * {@link useScheduledEmailDialogTimezoneProps}; every prop passed here replaces the hook's value
25127
+ * wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true, and nothing
25128
+ * when `useScheduledExportDraft().canSelectScheduleTimezone` is false — the schedule may not define
25129
+ * its own timezone then, exactly as in the default dialog.
25130
+ *
25131
+ * @alpha
25132
+ */
25133
+ export declare function ScheduledEmailDialogTimezone(overrides: Partial<ScheduledEmailDialogTimezoneDefaultProps>): JSX.Element;
25134
+
23874
25135
  /**
23875
25136
  * The exact props the default dialog renders its "Time zone" section with.
23876
25137
  *
@@ -25346,6 +26607,13 @@ export declare const selectEnableDashboardDescriptionDynamicHeight: DashboardSel
25346
26607
  */
25347
26608
  export declare const selectEnableDashboardFilterGroups: DashboardSelector<boolean>;
25348
26609
 
26610
+ /**
26611
+ * Selector for the dashboard object availability (OLP partial rendering) feature flag
26612
+ *
26613
+ * @internal
26614
+ */
26615
+ export declare const selectEnableDashboardPartialRendering: DashboardSelector<boolean>;
26616
+
25349
26617
  /**
25350
26618
  * Returns whether dashboard-level date dataset configuration for section headers is enabled.
25351
26619
  *
@@ -26047,7 +27315,7 @@ export declare const selectFiltersWithInvalidSelection: DashboardSelector<string
26047
27315
  export declare const selectFilterValidationIncompatibleDefaultFiltersOverride: DashboardSelector<boolean>;
26048
27316
 
26049
27317
  /**
26050
- * Returns the active tab's parameters in the shape persisted by a filter view.
27318
+ * Returns the active tab's applied parameters in the shape persisted by a filter view.
26051
27319
  * Runtime overrides become persisted `value`; existing parameter values are kept when no runtime value exists.
26052
27320
  *
26053
27321
  * @internal
@@ -26102,8 +27370,8 @@ export declare const selectGlobalDrillsDownAttributeHierarchyByWidgetRef: (ref:
26102
27370
  export declare const selectHasAnyExecutionResultLimitBreaks: DashboardSelector<boolean>;
26103
27371
 
26104
27372
  /**
26105
- * True when the active tab has at least one parameter whose `runtimeOverride` differs from
26106
- * the value it would be reset to (per `computeParameterResetValue`).
27373
+ * True when the active tab has at least one parameter whose display value (staged, else applied)
27374
+ * or applied value differs from the value it would be reset to (per `computeParameterResetValue`).
26107
27375
  *
26108
27376
  * @alpha
26109
27377
  */
@@ -26710,6 +27978,21 @@ export declare const selectIsWidgetLoadingAdditionalDataByWidgetRef: (refs: ObjR
26710
27978
  */
26711
27979
  export declare const selectIsWorkingFilterContextChanged: DashboardSelector<boolean | undefined>;
26712
27980
 
27981
+ /**
27982
+ * True when the active tab has at least one staged parameter value.
27983
+ *
27984
+ * @alpha
27985
+ */
27986
+ export declare const selectIsWorkingParametersChanged: DashboardSelector<boolean>;
27987
+
27988
+ /**
27989
+ * True when the active tab has staged filters or staged parameter values that "Apply All" has not
27990
+ * applied yet.
27991
+ *
27992
+ * @alpha
27993
+ */
27994
+ export declare const selectIsWorkingSelectionChanged: DashboardSelector<boolean>;
27995
+
26713
27996
  /**
26714
27997
  * @internal
26715
27998
  *
@@ -26978,6 +28261,14 @@ export declare const selectOtherContextAttributeFilterItems: (ref?: ObjRef) => D
26978
28261
  */
26979
28262
  export declare const selectOtherContextAttributeFilters: (ref?: ObjRef) => DashboardSelector<IDashboardAttributeFilter[]>;
26980
28263
 
28264
+ /**
28265
+ * Returns a selector that yields the value shown for a given parameter ref on the active tab: the
28266
+ * staged one when the entry has it, otherwise the applied `runtimeOverride`.
28267
+ *
28268
+ * @alpha
28269
+ */
28270
+ export declare const selectParameterDisplayValueByRef: (ref: ObjRef) => DashboardSelector<ParameterValue | undefined>;
28271
+
26981
28272
  /**
26982
28273
  * Returns a selector that yields the current `runtimeOverride` for a given parameter ref on the
26983
28274
  * active tab, or `undefined` if the active tab does not hold an entry for that ref.
@@ -27326,6 +28617,21 @@ export declare const selectTimezone: DashboardSelector<string | undefined>;
27326
28617
  */
27327
28618
  export declare const selectTimezoneOverride: DashboardSelector<string | undefined>;
27328
28619
 
28620
+ /**
28621
+ * Selects all references of the current dashboard that are unavailable to the current user.
28622
+ *
28623
+ * @alpha
28624
+ */
28625
+ export declare const selectUnavailableObjects: DashboardSelector<IUnavailableDashboardReference[]>;
28626
+
28627
+ /**
28628
+ * Selects the unavailable dashboard references of the given object type in a mapping of obj ref to the
28629
+ * unavailability entry. Objects of different types may share an identifier, hence the per-type maps.
28630
+ *
28631
+ * @alpha
28632
+ */
28633
+ export declare const selectUnavailableObjectsMapByType: (type: ObjectType) => DashboardSelector<ObjRefMap<IUnavailableDashboardReference>>;
28634
+
27329
28635
  /**
27330
28636
  * @internal
27331
28637
  */
@@ -28094,113 +29400,6 @@ export declare function switchToEditRenderMode(correlationId?: string): IChangeR
28094
29400
  * @internal
28095
29401
  */
28096
29402
  export declare const tabsActions: CaseReducerActions< {
28097
- readonly setTabs: TabsReducer< {
28098
- payload: {
28099
- tabs?: ITabState[] | undefined;
28100
- activeTabLocalIdentifier?: string | undefined;
28101
- };
28102
- type: string;
28103
- }>;
28104
- readonly setActiveTabLocalIdentifier: TabsReducer< {
28105
- payload: string | undefined;
28106
- type: string;
28107
- }>;
28108
- readonly updateTab: TabsReducer< {
28109
- payload: ITabState;
28110
- type: string;
28111
- }>;
28112
- readonly removeTabById: TabsReducer< {
28113
- payload: string;
28114
- type: string;
28115
- }>;
28116
- readonly clearTabs: TabsReducer< {
28117
- payload: void;
28118
- type: string;
28119
- }>;
28120
- readonly setTabIsRenaming: TabsReducer< {
28121
- payload: {
28122
- tabId: string;
28123
- isRenaming: boolean;
28124
- };
28125
- type: string;
28126
- }>;
28127
- readonly renameTab: TabsReducer< {
28128
- payload: {
28129
- tabId: string;
28130
- title: string;
28131
- };
28132
- type: string;
28133
- }>;
28134
- readonly resolveDefaultTab: TabsReducer< {
28135
- payload: {
28136
- newLocalIdentifier: string;
28137
- };
28138
- type: string;
28139
- }>;
28140
- readonly changeAttributeFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
28141
- payload: ISetDashboardAttributeFilterConfigModePayload;
28142
- type: string;
28143
- }) => void | ITabsState | WritableDraft<ITabsState>;
28144
- readonly changeAttributeFilterSelectionType: (state: WritableDraft<ITabsState>, action: {
28145
- payload: ISetDashboardAttributeFilterSelectionTypePayload;
28146
- type: string;
28147
- }) => void | ITabsState | WritableDraft<ITabsState>;
28148
- readonly setAttributeFilterConfigs: (state: WritableDraft<ITabsState>, action: {
28149
- payload: any;
28150
- type: string;
28151
- }) => void | ITabsState | WritableDraft<ITabsState>;
28152
- readonly removeAttributeFilterConfig: TabsReducer< {
28153
- payload: string;
28154
- type: string;
28155
- }>;
28156
- readonly changeDisplayAsLabel: (state: WritableDraft<ITabsState>, action: {
28157
- payload: ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
28158
- type: string;
28159
- }) => void | ITabsState | WritableDraft<ITabsState>;
28160
- readonly setDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
28161
- payload: {
28162
- dateFilterConfig?: IDashboardDateFilterConfig_2 | undefined;
28163
- effectiveDateFilterConfig: IDateFilterConfig;
28164
- isUsingDashboardOverrides: boolean;
28165
- };
28166
- type: string;
28167
- }) => void | ITabsState | WritableDraft<ITabsState>;
28168
- readonly setDateFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
28169
- payload: DashboardDateFilterConfigMode;
28170
- type: string;
28171
- }) => void | ITabsState | WritableDraft<ITabsState>;
28172
- readonly setDateFilterConfigTitle: (state: WritableDraft<ITabsState>, action: {
28173
- payload: string | undefined;
28174
- type: string;
28175
- }) => void | ITabsState | WritableDraft<ITabsState>;
28176
- readonly updateDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
28177
- payload: IDashboardDateFilterConfig_2;
28178
- type: string;
28179
- }) => void | ITabsState | WritableDraft<ITabsState>;
28180
- readonly addDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
28181
- payload: DateFilterValidationResult;
28182
- type: string;
28183
- }) => void | ITabsState | WritableDraft<ITabsState>;
28184
- readonly clearDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
28185
- payload: void;
28186
- type: string;
28187
- }) => void | ITabsState | WritableDraft<ITabsState>;
28188
- readonly changeDateFilterConfigsMode: (state: WritableDraft<ITabsState>, action: {
28189
- payload: ISetDashboardDateFilterWithDimensionConfigModePayload;
28190
- type: string;
28191
- }) => void | ITabsState | WritableDraft<ITabsState>;
28192
- readonly setDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
28193
- payload: any;
28194
- type: string;
28195
- }) => void | ITabsState | WritableDraft<ITabsState>;
28196
- readonly removeDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
28197
- payload: ObjRef;
28198
- type: string;
28199
- }) => void | ITabsState | WritableDraft<ITabsState>;
28200
- readonly changeDateFilterConfigsTitle: (state: WritableDraft<ITabsState>, action: {
28201
- payload: ISetDateFilterConfigTitlePayload;
28202
- type: string;
28203
- }) => void | ITabsState | WritableDraft<ITabsState>;
28204
29403
  readonly setFilterContext: (state: WritableDraft<ITabsState>, action: {
28205
29404
  payload: {
28206
29405
  filterContextDefinition: IFilterContextDefinition;
@@ -28319,11 +29518,7 @@ readonly setPreloadedAttributesWithReferences: (state: WritableDraft<ITabsState>
28319
29518
  payload: IAttributeWithReferences[];
28320
29519
  type: string;
28321
29520
  }) => void | ITabsState | WritableDraft<ITabsState>;
28322
- readonly applyWorkingSelection: (state: WritableDraft<ITabsState>, action: {
28323
- payload: IApplyWorkingSelectionPayload;
28324
- type: string;
28325
- }) => void | ITabsState | WritableDraft<ITabsState>;
28326
- readonly resetWorkingSelection: (state: WritableDraft<ITabsState>, action: {
29521
+ readonly resetWorkingFilterSelection: (state: WritableDraft<ITabsState>, action: {
28327
29522
  payload: void;
28328
29523
  type: string;
28329
29524
  }) => void | ITabsState | WritableDraft<ITabsState>;
@@ -28349,41 +29544,176 @@ readonly title?: string | undefined;
28349
29544
  };
28350
29545
  type: string;
28351
29546
  }) => void | ITabsState | WritableDraft<ITabsState>;
28352
- readonly setLayout: (state: WritableDraft<ITabsState>, action: {
28353
- payload: IDashboardLayout<ExtendedDashboardWidget>;
29547
+ readonly addParameter: (state: WritableDraft<ITabsState>, action: {
29548
+ payload: IAddParameterPayload;
28354
29549
  type: string;
28355
29550
  }) => void | ITabsState | WritableDraft<ITabsState>;
28356
- readonly setScreen: (state: WritableDraft<ITabsState>, action: {
28357
- payload: {
28358
- screen: ScreenSize;
28359
- };
29551
+ readonly setParameterRuntimeValue: (state: WritableDraft<ITabsState>, action: {
29552
+ payload: ISetParameterRuntimeValuePayload;
28360
29553
  type: string;
28361
29554
  }) => void | ITabsState | WritableDraft<ITabsState>;
28362
- readonly updateWidgetIdentities: (state: WritableDraft<ITabsState>, action: {
28363
- payload: ObjRefMap<IdentityMapping>;
29555
+ readonly setParameterRuntimeValues: (state: WritableDraft<ITabsState>, action: {
29556
+ payload: ISetParameterRuntimeValuesPayload;
28364
29557
  type: string;
28365
29558
  }) => void | ITabsState | WritableDraft<ITabsState>;
28366
- readonly updateWidgetIdentitiesForTab: (state: WritableDraft<ITabsState>, action: {
28367
- payload: {
28368
- tabId: string;
28369
- mapping: ObjRefMap<IdentityMapping>;
28370
- };
29559
+ readonly setParameterWorkingValue: (state: WritableDraft<ITabsState>, action: {
29560
+ payload: ISetParameterWorkingValuePayload;
28371
29561
  type: string;
28372
29562
  }) => void | ITabsState | WritableDraft<ITabsState>;
28373
- readonly removeIgnoredAttributeFilter: (state: WritableDraft<ITabsState>, action: {
28374
- payload: {
28375
- displayFormRefs: ObjRef[];
28376
- };
29563
+ readonly removeParameter: (state: WritableDraft<ITabsState>, action: {
29564
+ payload: IRemoveParameterPayload;
28377
29565
  type: string;
28378
29566
  }) => void | ITabsState | WritableDraft<ITabsState>;
28379
- readonly removeIgnoredDateFilter: (state: WritableDraft<ITabsState>, action: {
29567
+ readonly setTabs: TabsReducer< {
28380
29568
  payload: {
28381
- dateDataSets: ObjRef[];
29569
+ tabs?: ITabState[] | undefined;
29570
+ activeTabLocalIdentifier?: string | undefined;
28382
29571
  };
28383
29572
  type: string;
28384
- }) => void | ITabsState | WritableDraft<ITabsState>;
28385
- readonly removeIgnoredMeasureValueFilter: (state: WritableDraft<ITabsState>, action: {
28386
- payload: {
29573
+ }>;
29574
+ readonly setActiveTabLocalIdentifier: TabsReducer< {
29575
+ payload: string | undefined;
29576
+ type: string;
29577
+ }>;
29578
+ readonly updateTab: TabsReducer< {
29579
+ payload: ITabState;
29580
+ type: string;
29581
+ }>;
29582
+ readonly removeTabById: TabsReducer< {
29583
+ payload: string;
29584
+ type: string;
29585
+ }>;
29586
+ readonly clearTabs: TabsReducer< {
29587
+ payload: void;
29588
+ type: string;
29589
+ }>;
29590
+ readonly setTabIsRenaming: TabsReducer< {
29591
+ payload: {
29592
+ tabId: string;
29593
+ isRenaming: boolean;
29594
+ };
29595
+ type: string;
29596
+ }>;
29597
+ readonly renameTab: TabsReducer< {
29598
+ payload: {
29599
+ tabId: string;
29600
+ title: string;
29601
+ };
29602
+ type: string;
29603
+ }>;
29604
+ readonly resolveDefaultTab: TabsReducer< {
29605
+ payload: {
29606
+ newLocalIdentifier: string;
29607
+ };
29608
+ type: string;
29609
+ }>;
29610
+ readonly applyWorkingSelection: TabsReducer< {
29611
+ payload: IApplyWorkingSelectionPayload;
29612
+ type: string;
29613
+ }>;
29614
+ readonly resetWorkingSelection: TabsReducer< {
29615
+ payload: void;
29616
+ type: string;
29617
+ }>;
29618
+ readonly changeAttributeFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
29619
+ payload: ISetDashboardAttributeFilterConfigModePayload;
29620
+ type: string;
29621
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29622
+ readonly changeAttributeFilterSelectionType: (state: WritableDraft<ITabsState>, action: {
29623
+ payload: ISetDashboardAttributeFilterSelectionTypePayload;
29624
+ type: string;
29625
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29626
+ readonly setAttributeFilterConfigs: (state: WritableDraft<ITabsState>, action: {
29627
+ payload: any;
29628
+ type: string;
29629
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29630
+ readonly removeAttributeFilterConfig: TabsReducer< {
29631
+ payload: string;
29632
+ type: string;
29633
+ }>;
29634
+ readonly changeDisplayAsLabel: (state: WritableDraft<ITabsState>, action: {
29635
+ payload: ISetDashboardAttributeFilterConfigDisplayAsLabelPayload;
29636
+ type: string;
29637
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29638
+ readonly setDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
29639
+ payload: {
29640
+ dateFilterConfig?: IDashboardDateFilterConfig_2 | undefined;
29641
+ effectiveDateFilterConfig: IDateFilterConfig;
29642
+ isUsingDashboardOverrides: boolean;
29643
+ };
29644
+ type: string;
29645
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29646
+ readonly setDateFilterConfigMode: (state: WritableDraft<ITabsState>, action: {
29647
+ payload: DashboardDateFilterConfigMode;
29648
+ type: string;
29649
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29650
+ readonly setDateFilterConfigTitle: (state: WritableDraft<ITabsState>, action: {
29651
+ payload: string | undefined;
29652
+ type: string;
29653
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29654
+ readonly updateDateFilterConfig: (state: WritableDraft<ITabsState>, action: {
29655
+ payload: IDashboardDateFilterConfig_2;
29656
+ type: string;
29657
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29658
+ readonly addDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
29659
+ payload: DateFilterValidationResult;
29660
+ type: string;
29661
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29662
+ readonly clearDateFilterConfigValidationWarning: (state: WritableDraft<ITabsState>, action: {
29663
+ payload: void;
29664
+ type: string;
29665
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29666
+ readonly changeDateFilterConfigsMode: (state: WritableDraft<ITabsState>, action: {
29667
+ payload: ISetDashboardDateFilterWithDimensionConfigModePayload;
29668
+ type: string;
29669
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29670
+ readonly setDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
29671
+ payload: any;
29672
+ type: string;
29673
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29674
+ readonly removeDateFilterConfigs: (state: WritableDraft<ITabsState>, action: {
29675
+ payload: ObjRef;
29676
+ type: string;
29677
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29678
+ readonly changeDateFilterConfigsTitle: (state: WritableDraft<ITabsState>, action: {
29679
+ payload: ISetDateFilterConfigTitlePayload;
29680
+ type: string;
29681
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29682
+ readonly setLayout: (state: WritableDraft<ITabsState>, action: {
29683
+ payload: IDashboardLayout<ExtendedDashboardWidget>;
29684
+ type: string;
29685
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29686
+ readonly setScreen: (state: WritableDraft<ITabsState>, action: {
29687
+ payload: {
29688
+ screen: ScreenSize;
29689
+ };
29690
+ type: string;
29691
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29692
+ readonly updateWidgetIdentities: (state: WritableDraft<ITabsState>, action: {
29693
+ payload: ObjRefMap<IdentityMapping>;
29694
+ type: string;
29695
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29696
+ readonly updateWidgetIdentitiesForTab: (state: WritableDraft<ITabsState>, action: {
29697
+ payload: {
29698
+ tabId: string;
29699
+ mapping: ObjRefMap<IdentityMapping>;
29700
+ };
29701
+ type: string;
29702
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29703
+ readonly removeIgnoredAttributeFilter: (state: WritableDraft<ITabsState>, action: {
29704
+ payload: {
29705
+ displayFormRefs: ObjRef[];
29706
+ };
29707
+ type: string;
29708
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29709
+ readonly removeIgnoredDateFilter: (state: WritableDraft<ITabsState>, action: {
29710
+ payload: {
29711
+ dateDataSets: ObjRef[];
29712
+ };
29713
+ type: string;
29714
+ }) => void | ITabsState | WritableDraft<ITabsState>;
29715
+ readonly removeIgnoredMeasureValueFilter: (state: WritableDraft<ITabsState>, action: {
29716
+ payload: {
28387
29717
  measureRefs: ObjRef[];
28388
29718
  };
28389
29719
  type: string;
@@ -28671,22 +30001,6 @@ readonly removeMeasureValueFilterConfig: (state: WritableDraft<ITabsState>, acti
28671
30001
  payload: string;
28672
30002
  type: string;
28673
30003
  }) => void | ITabsState | WritableDraft<ITabsState>;
28674
- readonly addParameter: (state: WritableDraft<ITabsState>, action: {
28675
- payload: IAddParameterPayload;
28676
- type: string;
28677
- }) => void | ITabsState | WritableDraft<ITabsState>;
28678
- readonly setParameterRuntimeValue: (state: WritableDraft<ITabsState>, action: {
28679
- payload: ISetParameterRuntimeValuePayload;
28680
- type: string;
28681
- }) => void | ITabsState | WritableDraft<ITabsState>;
28682
- readonly setParameterRuntimeValues: (state: WritableDraft<ITabsState>, action: {
28683
- payload: ISetParameterRuntimeValuesPayload;
28684
- type: string;
28685
- }) => void | ITabsState | WritableDraft<ITabsState>;
28686
- readonly removeParameter: (state: WritableDraft<ITabsState>, action: {
28687
- payload: IRemoveParameterPayload;
28688
- type: string;
28689
- }) => void | ITabsState | WritableDraft<ITabsState>;
28690
30004
  }, "tabs">;
28691
30005
 
28692
30006
  /**
@@ -28996,6 +30310,72 @@ export declare function unignoreFilterOnRichTextWidget(ref: ObjRef, oneOrMoreDis
28996
30310
  */
28997
30311
  export declare function updateVisualizationsFromSwitcherWidgetContent(ref: ObjRef, visualizations: IInsightWidget[], correlationId?: string): IUpdateVisualizationsFromVisualizationSwitcherWidgetContent;
28998
30312
 
30313
+ /**
30314
+ * Reads the alerting dialog's mutators.
30315
+ *
30316
+ * Throws outside the alerting dialog's state providers, which mount only once
30317
+ * `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
30318
+ * must check that flag before calling this. On the alerting side that state is reached only by an
30319
+ * automations refresh while the dialog is open, so it will not appear in manual testing.
30320
+ *
30321
+ * @alpha
30322
+ */
30323
+ export declare function useAlertActions(): IAlertActionsContextValue;
30324
+
30325
+ /**
30326
+ * Reads the data the alerting dialog loads asynchronously.
30327
+ *
30328
+ * Throws outside the alerting dialog's state providers, which mount only once
30329
+ * `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
30330
+ * must check that flag before calling this. On the alerting side that state is reached only by an
30331
+ * automations refresh while the dialog is open, so it will not appear in manual testing.
30332
+ *
30333
+ * @alpha
30334
+ */
30335
+ export declare function useAlertData(): IAlertDataContextValue;
30336
+
30337
+ /**
30338
+ * Reads the alerting dialog's validity: whether submit is enabled, the validation message to show,
30339
+ * whether the parent widget is still valid, whether the measure may be changed, and whether the
30340
+ * saved alert points at a widget whose insight is gone.
30341
+ *
30342
+ * @alpha
30343
+ */
30344
+ export declare function useAlertDialogValidity(): IAlertDialogValidity;
30345
+
30346
+ /**
30347
+ * Reads the alerting dialog's edit draft.
30348
+ *
30349
+ * Throws outside the alerting dialog's state providers, which mount only once
30350
+ * `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
30351
+ * must check that flag before calling this. On the alerting side that state is reached only by an
30352
+ * automations refresh while the dialog is open, so it will not appear in manual testing.
30353
+ *
30354
+ * @alpha
30355
+ */
30356
+ export declare function useAlertDraft(): IAlertDraftContextValue;
30357
+
30358
+ /**
30359
+ * Reads the alerting dialog's filter and export-parameter model.
30360
+ *
30361
+ * Throws outside the alerting dialog's state providers, which mount only once
30362
+ * `useAlertingDialogContext().isLoading` is false — a replacement for `AlertingDialogComponent`
30363
+ * must check that flag before calling this. On the alerting side that state is reached only by an
30364
+ * automations refresh while the dialog is open, so it will not appear in manual testing.
30365
+ *
30366
+ * @alpha
30367
+ */
30368
+ export declare function useAlertFilters(): IAlertFiltersContextValue;
30369
+
30370
+ /**
30371
+ * The exact props the default alerting dialog renders its action bar with.
30372
+ *
30373
+ * Throws outside the alerting dialog's state providers.
30374
+ *
30375
+ * @alpha
30376
+ */
30377
+ export declare function useAlertingDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete }: IUseAlertingDialogActionBarPropsInput): IAutomationDialogActionBarProps;
30378
+
28999
30379
  /**
29000
30380
  * Reads the alerting create/edit dialog context.
29001
30381
  *
@@ -29010,6 +30390,42 @@ export declare function updateVisualizationsFromSwitcherWidgetContent(ref: ObjRe
29010
30390
  */
29011
30391
  export declare function useAlertingDialogContext(): IAlertingDialogContextValue;
29012
30392
 
30393
+ /**
30394
+ * The exact props the default alerting dialog renders its destination region with.
30395
+ *
30396
+ * Throws outside the alerting dialog's state providers.
30397
+ *
30398
+ * @alpha
30399
+ */
30400
+ export declare function useAlertingDialogDestinationProps(): IAutomationDialogDestinationProps;
30401
+
30402
+ /**
30403
+ * The exact props the default alerting dialog renders its filters region with.
30404
+ *
30405
+ * Throws outside the alerting dialog's state providers.
30406
+ *
30407
+ * @alpha
30408
+ */
30409
+ export declare function useAlertingDialogFiltersProps(): IAlertingDialogFiltersProps;
30410
+
30411
+ /**
30412
+ * The exact props the default alerting dialog renders its header region with.
30413
+ *
30414
+ * Throws outside the alerting dialog's state providers.
30415
+ *
30416
+ * @alpha
30417
+ */
30418
+ export declare function useAlertingDialogHeaderProps({ onCancel, ref }: IUseAlertingDialogHeaderPropsInput): AlertingDialogHeaderDefaultProps;
30419
+
30420
+ /**
30421
+ * The exact props the default alerting dialog renders its recipients region with.
30422
+ *
30423
+ * Throws outside the alerting dialog's state providers.
30424
+ *
30425
+ * @alpha
30426
+ */
30427
+ export declare function useAlertingDialogRecipientsProps(): IAutomationDialogRecipientsProps;
30428
+
29013
30429
  /**
29014
30430
  * Reads the alerting management dialog context.
29015
30431
  *
@@ -29024,6 +30440,29 @@ export declare function useAlertingDialogContext(): IAlertingDialogContextValue;
29024
30440
  */
29025
30441
  export declare function useAlertingManagementDialogContext(): IAlertingManagementDialogContextValue;
29026
30442
 
30443
+ /**
30444
+ * Reads the currently-selected form values for the alerting dialog.
30445
+ *
30446
+ * Derived per consumer rather than published on a context: the returned objects flow into
30447
+ * `useCallback` dependency arrays and `useAlertThreshold` arguments, so recomputing them every
30448
+ * render is what keeps those consumers behaving correctly.
30449
+ *
30450
+ * @alpha
30451
+ */
30452
+ export declare function useAlertSelectedValues(): IAlertSelectedValues;
30453
+
30454
+ /**
30455
+ * Submits the alerting dialog's draft: creates a new alert or saves the edited one, deriving a title
30456
+ * when the draft has none, and routes the result to the matching callback. Guards against a second
30457
+ * submit while one is in flight.
30458
+ *
30459
+ * Reads the draft, the supported measures, the edited alert and the separators from the alerting
30460
+ * contexts, so it throws outside the alerting dialog's state providers.
30461
+ *
30462
+ * @alpha
30463
+ */
30464
+ export declare function useAlertSubmit({ onSuccess, onError, onSaveSuccess, onSaveError }: IUseAlertSubmitCallbacks): IAlertSubmitState;
30465
+
29027
30466
  /**
29028
30467
  * Reads the automation dialogs' shared context.
29029
30468
  *
@@ -30006,6 +31445,26 @@ export declare function useSaveAsNewButtonProps(): ISaveAsNewButtonProps;
30006
31445
  */
30007
31446
  export declare function useSaveButtonProps(): ISaveButtonProps;
30008
31447
 
31448
+ /**
31449
+ * Saves the scheduled-export dialog's draft: creates a new schedule or updates the edited one after
31450
+ * sanitizing it, keeps a 400 response's detail as an in-dialog error message, and routes everything
31451
+ * else to the matching callback.
31452
+ *
31453
+ * Reads the draft from the scheduled-export state contexts, so it throws outside them.
31454
+ *
31455
+ * @alpha
31456
+ */
31457
+ export declare function useSaveScheduledEmailToBackend({ onSuccess, onError, onSubmit, onSaveSuccess, onSaveError, onSave }: IUseSaveScheduledEmailCallbacks): IScheduledEmailSaveState;
31458
+
31459
+ /**
31460
+ * The exact props the default scheduled-email dialog renders its action bar with.
31461
+ *
31462
+ * Throws outside the scheduled-export dialog's state providers.
31463
+ *
31464
+ * @alpha
31465
+ */
31466
+ export declare function useScheduledEmailDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete }: IUseScheduledEmailDialogActionBarPropsInput): IAutomationDialogActionBarProps;
31467
+
30009
31468
  /**
30010
31469
  * Reads the scheduled-email create/edit dialog context.
30011
31470
  *
@@ -30020,6 +31479,51 @@ export declare function useSaveButtonProps(): ISaveButtonProps;
30020
31479
  */
30021
31480
  export declare function useScheduledEmailDialogContext(): IScheduledEmailDialogContextValue;
30022
31481
 
31482
+ /**
31483
+ * The exact props the default scheduled-email dialog renders its destination region with.
31484
+ *
31485
+ * Throws outside the scheduled-export dialog's state providers.
31486
+ *
31487
+ * @alpha
31488
+ */
31489
+ export declare function useScheduledEmailDialogDestinationProps(): IAutomationDialogDestinationProps;
31490
+
31491
+ /**
31492
+ * The exact props the default scheduled-email dialog renders its filters region with.
31493
+ *
31494
+ * Throws outside the scheduled-export dialog's state providers.
31495
+ *
31496
+ * @alpha
31497
+ */
31498
+ export declare function useScheduledEmailDialogFiltersProps(): IScheduledEmailDialogFiltersProps;
31499
+
31500
+ /**
31501
+ * The exact props the default scheduled-email dialog renders its header region with.
31502
+ *
31503
+ * Throws outside the scheduled-export dialog's state providers.
31504
+ *
31505
+ * @alpha
31506
+ */
31507
+ export declare function useScheduledEmailDialogHeaderProps({ onBack, onTitleKeyDown, ref }: IUseScheduledEmailDialogHeaderPropsInput): ScheduledEmailDialogHeaderDefaultProps;
31508
+
31509
+ /**
31510
+ * The exact props the default scheduled-email dialog renders its recipients region with.
31511
+ *
31512
+ * Throws outside the scheduled-export dialog's state providers.
31513
+ *
31514
+ * @alpha
31515
+ */
31516
+ export declare function useScheduledEmailDialogRecipientsProps({ onKeyDownSubmit }: IUseScheduledEmailDialogRecipientsPropsInput): IScheduledEmailDialogRecipientsProps;
31517
+
31518
+ /**
31519
+ * The exact props the default scheduled-email dialog renders its "Time zone" section with.
31520
+ *
31521
+ * Throws outside the scheduled-export dialog's state providers.
31522
+ *
31523
+ * @alpha
31524
+ */
31525
+ export declare function useScheduledEmailDialogTimezoneProps(): ScheduledEmailDialogTimezoneDefaultProps;
31526
+
30023
31527
  /**
30024
31528
  * Reads the scheduled-email management dialog context.
30025
31529
  *
@@ -30034,6 +31538,80 @@ export declare function useScheduledEmailDialogContext(): IScheduledEmailDialogC
30034
31538
  */
30035
31539
  export declare function useScheduledEmailManagementDialogContext(): IScheduledEmailManagementDialogContextValue;
30036
31540
 
31541
+ /**
31542
+ * Reads the scheduled-export dialog's draft mutators.
31543
+ *
31544
+ * Throws outside the scheduled-export dialog's state providers, which mount only once
31545
+ * `useScheduledEmailDialogContext().isLoading` is false — a replacement for
31546
+ * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
31547
+ * ordinary path here: a widget export renders while its filters load.
31548
+ *
31549
+ * @alpha
31550
+ */
31551
+ export declare function useScheduledExportActions(): IScheduledExportActionsContextValue;
31552
+
31553
+ /**
31554
+ * Reads what the scheduled-export dialog's attachment section displays: the selected formats, which
31555
+ * export kinds are present, the per-format settings with their fallbacks, and the slides template
31556
+ * chosen per format.
31557
+ *
31558
+ * Derived per consumer rather than published on a context: every value is a pure function of the
31559
+ * draft and of workspace settings, and no consumer observes their identity. The handlers that
31560
+ * *change* attachments are on {@link useScheduledExportActions}, because they capture the stored
31561
+ * export-parameter wire, which must exist once per dialog.
31562
+ *
31563
+ * @alpha
31564
+ */
31565
+ export declare function useScheduledExportAttachments(): IScheduledExportAttachments;
31566
+
31567
+ /**
31568
+ * Reads the scheduled-export dialog's recipient defaults.
31569
+ *
31570
+ * Throws outside the scheduled-export dialog's state providers, which mount only once
31571
+ * `useScheduledEmailDialogContext().isLoading` is false — a replacement for
31572
+ * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
31573
+ * ordinary path here: a widget export renders while its filters load.
31574
+ *
31575
+ * @alpha
31576
+ */
31577
+ export declare function useScheduledExportData(): IScheduledExportDataContextValue;
31578
+
31579
+ /**
31580
+ * Reads the scheduled-export dialog's validity: whether submit is enabled, the validation message to
31581
+ * show, whether the schedule's source widget still exists, and which recipient kinds the selected
31582
+ * notification channel permits.
31583
+ *
31584
+ * Derived per consumer rather than published on a context: it is a pure function of the draft, the
31585
+ * recipient defaults and the dialog's own context, and no consumer observes its identity.
31586
+ *
31587
+ * @alpha
31588
+ */
31589
+ export declare function useScheduledExportDialogValidity(): IScheduledExportDialogValidity;
31590
+
31591
+ /**
31592
+ * Reads the scheduled-export dialog's edit draft.
31593
+ *
31594
+ * Throws outside the scheduled-export dialog's state providers, which mount only once
31595
+ * `useScheduledEmailDialogContext().isLoading` is false — a replacement for
31596
+ * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
31597
+ * ordinary path here: a widget export renders while its filters load.
31598
+ *
31599
+ * @alpha
31600
+ */
31601
+ export declare function useScheduledExportDraft(): IScheduledExportDraftContextValue;
31602
+
31603
+ /**
31604
+ * Reads the scheduled-export dialog's filter and export-parameter model.
31605
+ *
31606
+ * Throws outside the scheduled-export dialog's state providers, which mount only once
31607
+ * `useScheduledEmailDialogContext().isLoading` is false — a replacement for
31608
+ * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
31609
+ * ordinary path here: a widget export renders while its filters load.
31610
+ *
31611
+ * @alpha
31612
+ */
31613
+ export declare function useScheduledExportFilters(): IScheduledExportFiltersContextValue;
31614
+
30037
31615
  /**
30038
31616
  * @alpha
30039
31617
  */