@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
@@ -6,7 +6,15 @@ import { useIntl } from "react-intl";
6
6
  import { createInvalidDatapoint, createInvalidNode, useValidationContextValue } from "@gooddata/sdk-ui";
7
7
  import { Bubble, BubbleHoverTrigger, Button, IconError, useIdPrefixed } from "@gooddata/sdk-ui-kit";
8
8
  import { MAX_AUTOMATION_TITLE_LENGTH, isAutomationTitleValid } from "../../shared/utils/automationTitle.js";
9
- export const AlertingDialogHeader = forwardRef((props, ref) => {
9
+ /**
10
+ * Default render of the alerting dialog's header region: the back button and the title input with
11
+ * its length validation. Props-driven — reads no alerting dialog state. The default dialog and
12
+ * {@link AlertingDialogHeader} render it with {@link useAlertingDialogHeaderProps}; a `slots.Header`
13
+ * slot receives it as `Default`.
14
+ *
15
+ * @alpha
16
+ */
17
+ export const DefaultAlertingDialogHeader = forwardRef((props, ref) => {
10
18
  const { title, onChange, onCancel, placeholder, isSecondaryTitleVisible, secondaryTitle, secondaryTitleIcon, } = props;
11
19
  const { formatMessage } = useIntl();
12
20
  const validationContextValue = useValidationContextValue(createInvalidNode({ id: "AlertingDialogHeader" }));
@@ -59,4 +67,4 @@ export const AlertingDialogHeader = forwardRef((props, ref) => {
59
67
  ] })) : null] }) })
60
68
  ] }));
61
69
  });
62
- AlertingDialogHeader.displayName = "AlertingDialogHeader";
70
+ DefaultAlertingDialogHeader.displayName = "DefaultAlertingDialogHeader";
@@ -0,0 +1,11 @@
1
+ import { type IAutomationDialogRecipientsProps } from "../../shared/slots/types.js";
2
+ /**
3
+ * Default render of the alerting dialog's recipients region: the recipients select in a form-field
4
+ * row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
5
+ * The default dialog and {@link AlertingDialogRecipients} render it with
6
+ * {@link useAlertingDialogRecipientsProps}; a `slots.Recipients` slot receives it as `Default`.
7
+ *
8
+ * @alpha
9
+ */
10
+ export declare function DefaultAlertingDialogRecipients(props: IAutomationDialogRecipientsProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=DefaultAlertingDialogRecipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultAlertingDialogRecipients.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAIpF;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,gCAAgC,2CAUtF"}
@@ -4,9 +4,13 @@ import { FormattedMessage } from "react-intl";
4
4
  import { RecipientsSelect } from "../../scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js";
5
5
  import { FormField } from "./FormField.js";
6
6
  /**
7
- * Default implementation of the alerting dialog's recipients region. The label comes from the
8
- * form field row, so the select's own label is off.
7
+ * Default render of the alerting dialog's recipients region: the recipients select in a form-field
8
+ * row; the row carries the label, so the select's own label is off. Props-driven — reads no context.
9
+ * The default dialog and {@link AlertingDialogRecipients} render it with
10
+ * {@link useAlertingDialogRecipientsProps}; a `slots.Recipients` slot receives it as `Default`.
11
+ *
12
+ * @alpha
9
13
  */
10
- export function AlertingDialogRecipients(props) {
14
+ export function DefaultAlertingDialogRecipients(props) {
11
15
  return (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.recipients" }), htmlFor: "alert.recipients", fullWidth: true, children: _jsx(RecipientsSelect, { id: "alert.recipients", showLabel: false, ...props }) }));
12
16
  }
@@ -1,6 +1,6 @@
1
1
  import { type IAttributeMetadataObject, type ICatalogAttribute, type ICatalogDateDataset } from "@gooddata/sdk-model";
2
+ import { type AttributeValue } from "../../hooks/useAttributeValuesFromExecResults.js";
2
3
  import { type AlertAttribute } from "../../types.js";
3
- import { type AttributeValue } from "../hooks/useAttributeValuesFromExecResults.js";
4
4
  export interface IAlertAttributeSelectProps {
5
5
  id: string;
6
6
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"AlertAttributeSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAE3B,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAGpF,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,GAAG,SAAS,EAAE,KAAK,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAC;IACtG,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,kBAAkB,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,cAAc,EAAE,CAAC;IACzE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AA0HD,wBAAgB,oBAAoB,CAAC,EACjC,EAAE,EACF,QAAQ,EACR,iBAAiB,EAAE,qBAAqB,EACxC,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,SAAgB,EAChB,mBAAmB,EACtB,EAAE,0BAA0B,kDA8M5B"}
1
+ {"version":3,"file":"AlertAttributeSelect.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAE3B,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kDAAkD,CAAC;AACvF,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGrD,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,CAAC,SAAS,EAAE,cAAc,GAAG,SAAS,EAAE,KAAK,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAC;IACtG,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,kBAAkB,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,cAAc,EAAE,CAAC;IACzE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AA0HD,wBAAgB,oBAAoB,CAAC,EACjC,EAAE,EACF,QAAQ,EACR,iBAAiB,EAAE,qBAAqB,EACxC,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,SAAgB,EAChB,mBAAmB,EACtB,EAAE,0BAA0B,kDA8M5B"}
@@ -5,7 +5,7 @@ import cx from "classnames";
5
5
  import { FormattedMessage, useIntl } from "react-intl";
6
6
  import { areObjRefsEqual, } from "@gooddata/sdk-model";
7
7
  import { Dropdown, DropdownButton, InvertableSelectSearchBar, Item, Separator, UiMenu, } from "@gooddata/sdk-ui-kit";
8
- import { getSelectedCatalogAttribute, getSelectedCatalogAttributeValue } from "../utils/getters.js";
8
+ import { getSelectedCatalogAttribute, getSelectedCatalogAttributeValue } from "../../utils/getters.js";
9
9
  const createInteractiveItem = (id, title, attribute, value, isSelected, subItems) => ({
10
10
  type: "interactive",
11
11
  id,
@@ -6,8 +6,8 @@ import { useIntl } from "react-intl";
6
6
  import { DateGranularity, } from "@gooddata/sdk-model";
7
7
  import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox, } from "@gooddata/sdk-ui-kit";
8
8
  import { AlertMetricComparatorType } from "../../types.js";
9
- import { translateGranularity } from "../utils/granularity.js";
10
- import { isChangeOrDifferenceOperator } from "../utils/guards.js";
9
+ import { translateGranularity } from "../../utils/granularity.js";
10
+ import { isChangeOrDifferenceOperator } from "../../utils/guards.js";
11
11
  export function AlertComparisonPeriodSelect({ alert, measure, overlayPositionType, selectedComparison, selectedGranularity, onComparisonChange, id, closeOnParentScroll, }) {
12
12
  const intl = useIntl();
13
13
  const selectedOperator = useMemo(() => {
@@ -4,7 +4,7 @@ import { useRef } from "react";
4
4
  import cx from "classnames";
5
5
  import { useIntl } from "react-intl";
6
6
  import { Dropdown, DropdownButton, SingleSelectListItem, UiListbox, } from "@gooddata/sdk-ui-kit";
7
- import { getMeasureTitle } from "../utils/getters.js";
7
+ import { getMeasureTitle } from "../../utils/getters.js";
8
8
  const measureIcon = _jsx("div", { className: "gd-alert-measure-select__icon gd-icon-metric" });
9
9
  export function AlertMeasureSelect({ id, disabled, selectedMeasure, onMeasureChange, measures, overlayPositionType, closeOnParentScroll, }) {
10
10
  const intl = useIntl();
@@ -18,6 +18,5 @@ export declare const ANOMALY_DETECTION_HEADER: OperatorItemType<string>;
18
18
  export declare const SEPARATOR: OperatorItemType<string>;
19
19
  export declare const DROPDOWN_ITEM_HEIGHT = 28;
20
20
  export declare const DROPDOWN_SEPARATOR_ITEM_HEIGHT = 10;
21
- export declare const DEFAULT_MEASURE_FORMAT = "#,##0.00";
22
21
  export declare const ALERTING_DIALOG_ID = "alerting-dialog";
23
22
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAQpE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAIrE,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,wBAAwB,IAAI;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,CAAC,CAAC;IACN,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,gBAAgB,EAqBzD,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgBtE,CAAC;AACF,eAAO,MAAM,oCAAoC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgB1E,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAMxE,CAAC;AAEF,eAAO,MAAM,SAAS,4BAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAAC,MAAM,CAMlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAMtD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,CAAC,MAAM,CAM7D,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,gBAAgB,CAAC,MAAM,CAK9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,kBAAkB,oBAAoB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAQpE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAIrE,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,wBAAwB,IAAI;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,CAAC,CAAC;IACN,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,gBAAgB,EAqBzD,CAAC;AACF,eAAO,MAAM,gCAAgC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgBtE,CAAC;AACF,eAAO,MAAM,oCAAoC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAgB1E,CAAC;AACF,eAAO,MAAM,kCAAkC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAMxE,CAAC;AAEF,eAAO,MAAM,SAAS,4BAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAAC,MAAM,CAMlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAMtD,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,CAAC,MAAM,CAM7D,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,gBAAgB,CAAC,MAAM,CAK9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,8BAA8B,KAAK,CAAC;AACjD,eAAO,MAAM,kBAAkB,oBAAoB,CAAC"}
@@ -99,5 +99,4 @@ export const SEPARATOR = {
99
99
  };
100
100
  export const DROPDOWN_ITEM_HEIGHT = 28;
101
101
  export const DROPDOWN_SEPARATOR_ITEM_HEIGHT = 10;
102
- export const DEFAULT_MEASURE_FORMAT = "#,##0.00";
103
102
  export const ALERTING_DIALOG_ID = "alerting-dialog";
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { useCallback } from "react";
3
- import { transformAlertByValue } from "../utils/transformation.js";
3
+ import { transformAlertByValue } from "../../utils/transformation.js";
4
4
  import { useThresholdValue } from "./useThresholdValue.js";
5
5
  /**
6
6
  * Owns the alerting dialog's threshold field: the displayed value, its change and blur handlers,
@@ -1,8 +1,8 @@
1
1
  // (C) 2022-2026 GoodData Corporation
2
2
  import { useCallback, useEffect, useState } from "react";
3
3
  import { useIntl } from "react-intl";
4
- import { getAlertThreshold, getMeasureFormat } from "../utils/getters.js";
5
- import { convertThresholdValue } from "../utils/threshold.js";
4
+ import { getAlertThreshold, getMeasureFormat } from "../../utils/getters.js";
5
+ import { convertThresholdValue } from "../../utils/threshold.js";
6
6
  function clearValueForRelativeOperator(changeValue, setValue) {
7
7
  changeValue(undefined);
8
8
  setValue(undefined);
@@ -13,9 +13,9 @@ import { useAlertingManagementDialogContext } from "../../contexts/AlertingManag
13
13
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
14
14
  import { computeUseHostRoute } from "../../shared/utils/automationUtils.js";
15
15
  import { ALERTING_DIALOG_ID } from "../DefaultAlertingDialog/constants.js";
16
- import { isMobileView } from "../DefaultAlertingDialog/utils/responsive.js";
17
16
  import { useAlertingDialogAccessibility } from "../hooks/useAlertingDialogAccessibility.js";
18
17
  import { useGetSupportedMeasures } from "../hooks/useGetSupportedMeasures.js";
18
+ import { isMobileView } from "../utils/responsive.js";
19
19
  const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z_INDEX);
20
20
  /**
21
21
  * @internal
@@ -9,8 +9,8 @@ import { useTheme } from "@gooddata/sdk-ui-theme-provider";
9
9
  import { gdColorNegative, gdColorStateBlank } from "../../../../constants/colors.js";
10
10
  import { useAlertingManagementDialogContext } from "../../../contexts/AlertingManagementDialogContext.js";
11
11
  import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
12
- import { useAlertValidation } from "../../DefaultAlertingDialog/hooks/useAlertValidation.js";
13
- import { getSubtitle } from "../../DefaultAlertingDialog/utils/getters.js";
12
+ import { useAlertValidation } from "../../hooks/useAlertValidation.js";
13
+ import { getSubtitle } from "../../utils/getters.js";
14
14
  const TEXT_TOOLTIP_ALIGN_POINTS = [
15
15
  { align: "tc bc", offset: { x: 0, y: 0 } },
16
16
  { align: "bc tc", offset: { x: 0, y: 0 } },
@@ -0,0 +1,30 @@
1
+ import { type IAutomationDialogActionBarProps } from "../../shared/slots/types.js";
2
+ import { type IUseAlertingDialogActionBarPropsInput } from "../state/useAlertingDialogRegionProps.js";
3
+ /**
4
+ * Props of {@link AlertingDialogActionBar}: the dialog inputs {@link useAlertingDialogActionBarProps}
5
+ * needs (`onSubmit` and `isSaving` from {@link useAlertSubmit}, the dialog's `onCancel`, `onDelete`
6
+ * for edit mode) plus any {@link IAutomationDialogActionBarProps} member to override.
7
+ *
8
+ * @alpha
9
+ */
10
+ export type IAlertingDialogActionBarBlockProps = IUseAlertingDialogActionBarPropsInput & Partial<IAutomationDialogActionBarProps>;
11
+ /**
12
+ * The alerting dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
13
+ * connected to the dialog's state.
14
+ *
15
+ * Renders {@link DefaultAutomationDialogActionBar} with the props of
16
+ * {@link useAlertingDialogActionBarProps}; every override prop replaces the hook's value wholesale.
17
+ * The block does not own the submit: pass `submit` and `isSaving` from one {@link useAlertSubmit}
18
+ * instance, so an Enter handler elsewhere in the shell shares its in-flight guard. Renders nothing
19
+ * while `useAlertingDialogContext().isLoading` is true.
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * const { submit, isSaving } = useAlertSubmit(props);
24
+ * <AlertingDialogActionBar onCancel={props.onCancel} onSubmit={() => void submit()} isSaving={isSaving} />;
25
+ * ```
26
+ *
27
+ * @alpha
28
+ */
29
+ export declare function AlertingDialogActionBar(props: IAlertingDialogActionBarBlockProps): import("react/jsx-runtime").JSX.Element;
30
+ //# sourceMappingURL=AlertingDialogActionBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogActionBar.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogActionBar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACH,KAAK,qCAAqC,EAE7C,MAAM,0CAA0C,CAAC;AAIlD;;;;;;GAMG;AACH,MAAM,MAAM,kCAAkC,GAAG,qCAAqC,GAClF,OAAO,CAAC,+BAA+B,CAAC,CAAC;AAE7C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,kCAAkC,2CAMhF"}
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { DefaultAutomationDialogActionBar } from "../../shared/slots/DefaultAutomationDialogActionBar.js";
4
+ import { useAlertingDialogActionBarProps, } from "../state/useAlertingDialogRegionProps.js";
5
+ import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
6
+ /**
7
+ * The alerting dialog's action bar (documentation link, Delete in edit mode, Cancel, submit),
8
+ * connected to the dialog's state.
9
+ *
10
+ * Renders {@link DefaultAutomationDialogActionBar} with the props of
11
+ * {@link useAlertingDialogActionBarProps}; every override prop replaces the hook's value wholesale.
12
+ * The block does not own the submit: pass `submit` and `isSaving` from one {@link useAlertSubmit}
13
+ * instance, so an Enter handler elsewhere in the shell shares its in-flight guard. Renders nothing
14
+ * while `useAlertingDialogContext().isLoading` is true.
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * const { submit, isSaving } = useAlertSubmit(props);
19
+ * <AlertingDialogActionBar onCancel={props.onCancel} onSubmit={() => void submit()} isSaving={isSaving} />;
20
+ * ```
21
+ *
22
+ * @alpha
23
+ */
24
+ export function AlertingDialogActionBar(props) {
25
+ return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogActionBar, { ...props }) }));
26
+ }
27
+ function ConnectedAlertingDialogActionBar({ onCancel, onSubmit, isSaving, onDelete, ...overrides }) {
28
+ const defaultProps = useAlertingDialogActionBarProps({ onCancel, onSubmit, isSaving, onDelete });
29
+ return _jsx(DefaultAutomationDialogActionBar, { ...defaultProps, ...overrides });
30
+ }
@@ -0,0 +1,15 @@
1
+ import { type IAutomationDialogDestinationProps } from "../../shared/slots/types.js";
2
+ /**
3
+ * The alerting dialog's destination region (the notification-channel select), connected to the
4
+ * dialog's state.
5
+ *
6
+ * Renders {@link DefaultAlertingDialogDestination} with the props of
7
+ * {@link useAlertingDialogDestinationProps}; every prop passed here replaces the hook's value for
8
+ * that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true. The
9
+ * default dialog renders this region only when more than one channel exists; the block renders
10
+ * wherever it is placed — a shell decides from `useAlertingDialogContext().notificationChannels`.
11
+ *
12
+ * @alpha
13
+ */
14
+ export declare function AlertingDialogDestination(overrides: Partial<IAutomationDialogDestinationProps>): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=AlertingDialogDestination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogDestination.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogDestination.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAMrF;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,OAAO,CAAC,iCAAiC,CAAC,2CAM9F"}
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { DefaultAlertingDialogDestination } from "../DefaultAlertingDialog/DefaultAlertingDialogDestination.js";
3
+ import { useAlertingDialogDestinationProps } from "../state/useAlertingDialogRegionProps.js";
4
+ import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
5
+ /**
6
+ * The alerting dialog's destination region (the notification-channel select), connected to the
7
+ * dialog's state.
8
+ *
9
+ * Renders {@link DefaultAlertingDialogDestination} with the props of
10
+ * {@link useAlertingDialogDestinationProps}; every prop passed here replaces the hook's value for
11
+ * that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true. The
12
+ * default dialog renders this region only when more than one channel exists; the block renders
13
+ * wherever it is placed — a shell decides from `useAlertingDialogContext().notificationChannels`.
14
+ *
15
+ * @alpha
16
+ */
17
+ export function AlertingDialogDestination(overrides) {
18
+ return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogDestination, { ...overrides }) }));
19
+ }
20
+ function ConnectedAlertingDialogDestination(overrides) {
21
+ const defaultProps = useAlertingDialogDestinationProps();
22
+ return _jsx(DefaultAlertingDialogDestination, { ...defaultProps, ...overrides });
23
+ }
@@ -0,0 +1,16 @@
1
+ import { type IAlertingDialogFiltersProps } from "../types.js";
2
+ /**
3
+ * The alerting dialog's filters region (the filter and parameter chips), connected to the dialog's
4
+ * state.
5
+ *
6
+ * Renders {@link DefaultAlertingDialogFilters} with the props of {@link useAlertingDialogFiltersProps};
7
+ * every prop passed here replaces the hook's value for that prop wholesale (an `onFiltersChange`
8
+ * override takes over the write and must submit the complete selection). Renders nothing while
9
+ * `useAlertingDialogContext().isLoading` is true. The default dialog also hides this region behind
10
+ * its stale-filters confirmation step; a shell that wants that step builds it from
11
+ * {@link useAlertFilters}.
12
+ *
13
+ * @alpha
14
+ */
15
+ export declare function AlertingDialogFilters(overrides: Partial<IAlertingDialogFiltersProps>): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=AlertingDialogFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogFilters.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAI/D;;;;;;;;;;;;GAYG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,OAAO,CAAC,2BAA2B,CAAC,2CAMpF"}
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { DefaultAlertingDialogFilters } from "../DefaultAlertingDialog/DefaultAlertingDialogFilters.js";
4
+ import { useAlertingDialogFiltersProps } from "../state/useAlertingDialogRegionProps.js";
5
+ import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
6
+ /**
7
+ * The alerting dialog's filters region (the filter and parameter chips), connected to the dialog's
8
+ * state.
9
+ *
10
+ * Renders {@link DefaultAlertingDialogFilters} with the props of {@link useAlertingDialogFiltersProps};
11
+ * every prop passed here replaces the hook's value for that prop wholesale (an `onFiltersChange`
12
+ * override takes over the write and must submit the complete selection). Renders nothing while
13
+ * `useAlertingDialogContext().isLoading` is true. The default dialog also hides this region behind
14
+ * its stale-filters confirmation step; a shell that wants that step builds it from
15
+ * {@link useAlertFilters}.
16
+ *
17
+ * @alpha
18
+ */
19
+ export function AlertingDialogFilters(overrides) {
20
+ return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogFilters, { ...overrides }) }));
21
+ }
22
+ function ConnectedAlertingDialogFilters(overrides) {
23
+ const defaultProps = useAlertingDialogFiltersProps();
24
+ return _jsx(DefaultAlertingDialogFilters, { ...defaultProps, ...overrides });
25
+ }
@@ -0,0 +1,26 @@
1
+ import { type IAlertingDialogHeaderProps } from "../types.js";
2
+ /**
3
+ * The alerting dialog's header region (the title input row), connected to the dialog's state.
4
+ *
5
+ * Renders {@link DefaultAlertingDialogHeader} with the props of {@link useAlertingDialogHeaderProps}.
6
+ * Every prop passed here replaces the hook's value for that prop wholesale; pass the dialog's
7
+ * `onCancel` so the back button closes the dialog, and `ref` to receive the title input. Renders
8
+ * nothing while `useAlertingDialogContext().isLoading` is true.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * function MyAlertingDialog(props: IAlertingDialogProps) {
13
+ * return (
14
+ * <MyShell onClose={props.onCancel}>
15
+ * <AlertingDialogHeader onCancel={props.onCancel} />
16
+ * <AlertingDialogFilters />
17
+ * </MyShell>
18
+ * );
19
+ * }
20
+ * <Dashboard AlertingDialogComponent={MyAlertingDialog} />;
21
+ * ```
22
+ *
23
+ * @alpha
24
+ */
25
+ export declare const AlertingDialogHeader: import("react").ForwardRefExoticComponent<Partial<IAlertingDialogHeaderProps> & import("react").RefAttributes<HTMLInputElement>>;
26
+ //# sourceMappingURL=AlertingDialogHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogHeader.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI9D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,oBAAoB,kIAQhC,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { forwardRef } from "react";
4
+ import { DefaultAlertingDialogHeader } from "../DefaultAlertingDialog/DefaultAlertingDialogHeader.js";
5
+ import { useAlertingDialogHeaderProps } from "../state/useAlertingDialogRegionProps.js";
6
+ import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
7
+ /**
8
+ * The alerting dialog's header region (the title input row), connected to the dialog's state.
9
+ *
10
+ * Renders {@link DefaultAlertingDialogHeader} with the props of {@link useAlertingDialogHeaderProps}.
11
+ * Every prop passed here replaces the hook's value for that prop wholesale; pass the dialog's
12
+ * `onCancel` so the back button closes the dialog, and `ref` to receive the title input. Renders
13
+ * nothing while `useAlertingDialogContext().isLoading` is true.
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * function MyAlertingDialog(props: IAlertingDialogProps) {
18
+ * return (
19
+ * <MyShell onClose={props.onCancel}>
20
+ * <AlertingDialogHeader onCancel={props.onCancel} />
21
+ * <AlertingDialogFilters />
22
+ * </MyShell>
23
+ * );
24
+ * }
25
+ * <Dashboard AlertingDialogComponent={MyAlertingDialog} />;
26
+ * ```
27
+ *
28
+ * @alpha
29
+ */
30
+ export const AlertingDialogHeader = forwardRef(function AlertingDialogHeader(props, ref) {
31
+ return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogHeader, { ...props, ref: ref }) }));
32
+ });
33
+ const ConnectedAlertingDialogHeader = forwardRef(function ConnectedAlertingDialogHeader({ onCancel, ...overrides }, ref) {
34
+ const defaultProps = useAlertingDialogHeaderProps({ onCancel, ref });
35
+ return _jsx(DefaultAlertingDialogHeader, { ...defaultProps, ...overrides });
36
+ });
@@ -0,0 +1,13 @@
1
+ import { type IAutomationDialogRecipientsProps } from "../../shared/slots/types.js";
2
+ /**
3
+ * The alerting dialog's recipients region, connected to the dialog's state.
4
+ *
5
+ * Renders {@link DefaultAlertingDialogRecipients} with the props of
6
+ * {@link useAlertingDialogRecipientsProps}; every prop passed here replaces the hook's value for
7
+ * that prop wholesale, e.g. `<AlertingDialogRecipients maxRecipients={3} />`. Renders nothing while
8
+ * `useAlertingDialogContext().isLoading` is true.
9
+ *
10
+ * @alpha
11
+ */
12
+ export declare function AlertingDialogRecipients(overrides: Partial<IAutomationDialogRecipientsProps>): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=AlertingDialogRecipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertingDialogRecipients.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogRecipients.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,6BAA6B,CAAC;AAMpF;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,OAAO,CAAC,gCAAgC,CAAC,2CAM5F"}
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { DefaultAlertingDialogRecipients } from "../DefaultAlertingDialog/DefaultAlertingDialogRecipients.js";
3
+ import { useAlertingDialogRecipientsProps } from "../state/useAlertingDialogRegionProps.js";
4
+ import { WhenAlertingDialogLoaded } from "./WhenAlertingDialogLoaded.js";
5
+ /**
6
+ * The alerting dialog's recipients region, connected to the dialog's state.
7
+ *
8
+ * Renders {@link DefaultAlertingDialogRecipients} with the props of
9
+ * {@link useAlertingDialogRecipientsProps}; every prop passed here replaces the hook's value for
10
+ * that prop wholesale, e.g. `<AlertingDialogRecipients maxRecipients={3} />`. Renders nothing while
11
+ * `useAlertingDialogContext().isLoading` is true.
12
+ *
13
+ * @alpha
14
+ */
15
+ export function AlertingDialogRecipients(overrides) {
16
+ return (_jsx(WhenAlertingDialogLoaded, { children: _jsx(ConnectedAlertingDialogRecipients, { ...overrides }) }));
17
+ }
18
+ function ConnectedAlertingDialogRecipients(overrides) {
19
+ const defaultProps = useAlertingDialogRecipientsProps();
20
+ return _jsx(DefaultAlertingDialogRecipients, { ...defaultProps, ...overrides });
21
+ }
@@ -0,0 +1,12 @@
1
+ import { type ReactNode } from "react";
2
+ /**
3
+ * Renders its children only once the alerting dialog's data has loaded — the state accessors throw
4
+ * while `useAlertingDialogContext().isLoading` is true, because the state providers mount only then.
5
+ * Every connected alerting block goes through it.
6
+ *
7
+ * @internal
8
+ */
9
+ export declare function WhenAlertingDialogLoaded({ children }: {
10
+ children: ReactNode;
11
+ }): import("react/jsx-runtime").JSX.Element | null;
12
+ //# sourceMappingURL=WhenAlertingDialogLoaded.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhenAlertingDialogLoaded.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,kDAG7E"}
@@ -0,0 +1,13 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
3
+ /**
4
+ * Renders its children only once the alerting dialog's data has loaded — the state accessors throw
5
+ * while `useAlertingDialogContext().isLoading` is true, because the state providers mount only then.
6
+ * Every connected alerting block goes through it.
7
+ *
8
+ * @internal
9
+ */
10
+ export function WhenAlertingDialogLoaded({ children }) {
11
+ const { isLoading } = useAlertingDialogContext();
12
+ return isLoading ? null : _jsx(_Fragment, { children: children });
13
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAlertValidation.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useAlertValidation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAK7G,MAAM,MAAM,qBAAqB,GAAG,eAAe,GAAG,eAAe,CAAC;AAEtE,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,yBAAyB,GAAG,SAAS,EAC5C,MAAM,EAAE,OAAO,GAAG,SAAS,EAC3B,OAAO,EAAE,QAAQ,GAAG,SAAS,EAC7B,mBAAmB,EAAE,mBAAmB,EAAE,EAC1C,UAAU,CAAC,EAAE,OAAO,GACrB;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,qBAAqB,GAAG,SAAS,CAAA;CAAE,CAc3E"}
@@ -4,11 +4,31 @@ type IExecutionResultEnvelope = {
4
4
  isLoading?: boolean;
5
5
  executionResult?: IExecutionResult;
6
6
  };
7
+ /**
8
+ * One distinct value of an attribute in the widget's execution result, as offered by the alert's
9
+ * attribute-value picker.
10
+ *
11
+ * @alpha
12
+ */
7
13
  export type AttributeValue = {
14
+ /**
15
+ * Display title: the formatted element name when the result has one, the raw name otherwise.
16
+ */
8
17
  title: string;
18
+ /**
19
+ * The element URI; this is what the alert stores.
20
+ */
9
21
  value: string;
22
+ /**
23
+ * The raw element name.
24
+ */
10
25
  name: string;
11
26
  };
27
+ /**
28
+ * Reads the widget's execution result and exposes the attribute values and measure values in it.
29
+ *
30
+ * @internal
31
+ */
12
32
  export declare function useAttributeValuesFromExecResults(execResult: IExecutionResultEnvelope | undefined): {
13
33
  isResultLoading: boolean;
14
34
  getAttributeValues: (attr: IAttributeMetadataObject) => AttributeValue[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAttributeValuesFromExecResults.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EAGhB,MAAM,qBAAqB,CAAC;AAG7B,KAAK,wBAAwB,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,eAAe,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAE5F;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,wBAAwB,GAAG,SAAS;;;;EAyEjG"}
@@ -2,6 +2,11 @@
2
2
  import { useCallback, useEffect, useState } from "react";
3
3
  import { areObjRefsEqual, isResultAttributeHeader, } from "@gooddata/sdk-model";
4
4
  import { DataViewFacade } from "@gooddata/sdk-ui";
5
+ /**
6
+ * Reads the widget's execution result and exposes the attribute values and measure values in it.
7
+ *
8
+ * @internal
9
+ */
5
10
  export function useAttributeValuesFromExecResults(execResult) {
6
11
  // Derive loading from the envelope's own isLoading flag, not from the
7
12
  // presence of executionResult: an errored execution has no executionResult
@@ -1 +1 @@
1
- {"version":3,"file":"useGetSupportedMeasures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useGetSupportedMeasures.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAKpD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,kDAYnC,CAAC"}
1
+ {"version":3,"file":"useGetSupportedMeasures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/hooks/useGetSupportedMeasures.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIpD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,kDAYnC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  import { useEffect, useMemo, useState } from "react";
3
3
  import { fillMissingTitles } from "@gooddata/sdk-ui";
4
4
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
5
- import { getSupportedInsightMeasuresByInsight } from "../DefaultAlertingDialog/utils/items.js";
5
+ import { getSupportedInsightMeasuresByInsight } from "../utils/items.js";
6
6
  /**
7
7
  * Hook that calculates supported alertable measures for an insight.
8
8
  *
@@ -8,7 +8,7 @@ export declare const AlertActionsContextProvider: import("react").Provider<IAler
8
8
  * must check that flag before calling this. On the alerting side that state is reached only by an
9
9
  * automations refresh while the dialog is open, so it will not appear in manual testing.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useAlertActions(): IAlertActionsContextValue;
14
14
  //# sourceMappingURL=AlertActionsContext.d.ts.map
@@ -12,7 +12,7 @@ export const AlertActionsContextProvider = AlertActionsContext.Provider;
12
12
  * must check that flag before calling this. On the alerting side that state is reached only by an
13
13
  * automations refresh while the dialog is open, so it will not appear in manual testing.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useAlertActions() {
18
18
  return useContext(AlertActionsContext) ?? missingAlertStateProvider("useAlertActions");
@@ -8,7 +8,7 @@ export declare const AlertDataContextProvider: import("react").Provider<IAlertDa
8
8
  * must check that flag before calling this. On the alerting side that state is reached only by an
9
9
  * automations refresh while the dialog is open, so it will not appear in manual testing.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useAlertData(): IAlertDataContextValue;
14
14
  //# sourceMappingURL=AlertDataContext.d.ts.map
@@ -12,7 +12,7 @@ export const AlertDataContextProvider = AlertDataContext.Provider;
12
12
  * must check that flag before calling this. On the alerting side that state is reached only by an
13
13
  * automations refresh while the dialog is open, so it will not appear in manual testing.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useAlertData() {
18
18
  return useContext(AlertDataContext) ?? missingAlertStateProvider("useAlertData");
@@ -8,7 +8,7 @@ export declare const AlertDraftContextProvider: import("react").Provider<IAlertD
8
8
  * must check that flag before calling this. On the alerting side that state is reached only by an
9
9
  * automations refresh while the dialog is open, so it will not appear in manual testing.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useAlertDraft(): IAlertDraftContextValue;
14
14
  //# sourceMappingURL=AlertDraftContext.d.ts.map