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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/NOTICE +26793 -68204
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/index.d.ts +42 -4
  5. package/esm/index.d.ts.map +1 -1
  6. package/esm/index.js +38 -0
  7. package/esm/internal.d.ts +1 -1
  8. package/esm/internal.d.ts.map +1 -1
  9. package/esm/internal.js +1 -1
  10. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +1 -1
  11. package/esm/model/store/config/configSelectors.js +1 -1
  12. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +10 -22
  13. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  14. package/esm/model/store/tabs/parameters/parametersHelpers.js +13 -42
  15. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +8 -10
  16. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  17. package/esm/model/store/tabs/parameters/parametersSelectors.js +22 -32
  18. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +16 -9
  19. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  20. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +43 -153
  21. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +13 -0
  22. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts.map +1 -0
  23. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertAttributeSelect.js → DefaultAlertingDialogAttribute.js} +12 -3
  24. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +13 -0
  25. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts.map +1 -0
  26. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonOperatorSelect.js → DefaultAlertingDialogComparisonOperator.js} +13 -4
  27. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +14 -0
  28. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts.map +1 -0
  29. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonPeriodSelect.js → DefaultAlertingDialogComparisonPeriod.js} +16 -6
  30. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -1
  31. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +2 -2
  32. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +12 -0
  33. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts.map +1 -0
  34. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertGranularitySelect.js → DefaultAlertingDialogGranularity.js} +10 -2
  35. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +12 -0
  36. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts.map +1 -0
  37. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertMeasureSelect.js → DefaultAlertingDialogMeasure.js} +11 -3
  38. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -1
  39. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +2 -2
  40. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +12 -0
  41. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts.map +1 -0
  42. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertSensitivitySelect.js → DefaultAlertingDialogSensitivity.js} +10 -2
  43. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +12 -0
  44. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts.map +1 -0
  45. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertThresholdInput.js → DefaultAlertingDialogThreshold.js} +9 -1
  46. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +13 -0
  47. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts.map +1 -0
  48. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerIntervalSelect.js → DefaultAlertingDialogTriggerInterval.js} +11 -2
  49. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +12 -0
  50. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts.map +1 -0
  51. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerModeSelect.js → DefaultAlertingDialogTriggerMode.js} +10 -2
  52. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +16 -0
  53. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts.map +1 -0
  54. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +28 -0
  55. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +22 -0
  56. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts.map +1 -0
  57. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +31 -0
  58. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +18 -0
  59. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts.map +1 -0
  60. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +31 -0
  61. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts +11 -0
  62. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -0
  63. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +15 -0
  64. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +10 -0
  65. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts.map +1 -0
  66. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +12 -0
  67. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +15 -0
  68. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts.map +1 -0
  69. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +33 -0
  70. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +30 -0
  71. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts.map +1 -0
  72. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +39 -0
  73. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +15 -0
  74. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts.map +1 -0
  75. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +30 -0
  76. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +49 -0
  77. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts.map +1 -0
  78. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +128 -0
  79. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +21 -0
  80. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts.map +1 -0
  81. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +36 -0
  82. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +15 -0
  83. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts.map +1 -0
  84. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +32 -0
  85. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +15 -0
  86. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts.map +1 -0
  87. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +24 -0
  88. package/esm/presentation/automations/alerting/blocks/DefaultLoadingAlertingDialog.d.ts.map +1 -0
  89. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.d.ts +1 -1
  90. package/esm/presentation/automations/alerting/hooks/useAlertThreshold.d.ts.map +1 -0
  91. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.js +1 -1
  92. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.d.ts +1 -1
  93. package/esm/presentation/automations/alerting/hooks/useThresholdValue.d.ts.map +1 -0
  94. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.js +2 -2
  95. package/esm/presentation/automations/alerting/state/types.d.ts +2 -2
  96. package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
  97. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +87 -0
  98. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts.map +1 -0
  99. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +234 -0
  100. package/esm/presentation/automations/alerting/types.d.ts +401 -3
  101. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  102. package/esm/presentation/automations/alerting/utils/getters.d.ts +1 -8
  103. package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -1
  104. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.d.ts.map +1 -1
  105. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.js +7 -0
  106. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +12 -0
  107. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -1
  108. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +15 -10
  109. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  110. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +45 -198
  111. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +2 -18
  112. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
  113. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +2 -23
  114. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  115. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +11 -0
  116. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts.map +1 -0
  117. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +12 -0
  118. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +11 -0
  119. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts.map +1 -0
  120. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +12 -0
  121. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +11 -0
  122. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts.map +1 -0
  123. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +12 -0
  124. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +11 -0
  125. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts.map +1 -0
  126. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +12 -0
  127. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +11 -0
  128. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts.map +1 -0
  129. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +12 -0
  130. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +11 -0
  131. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts.map +1 -0
  132. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +12 -0
  133. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts +2 -17
  134. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts.map +1 -1
  135. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.js +0 -3
  136. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts +2 -6
  137. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts.map +1 -1
  138. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +1 -1
  139. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts +2 -10
  140. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts.map +1 -1
  141. package/esm/presentation/automations/scheduledEmail/blocks/DefaultLoadingScheduledEmailDialog.d.ts.map +1 -0
  142. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +16 -0
  143. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts.map +1 -0
  144. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +28 -0
  145. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +16 -0
  146. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts.map +1 -0
  147. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +28 -0
  148. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +15 -0
  149. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts.map +1 -0
  150. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +27 -0
  151. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +16 -0
  152. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts.map +1 -0
  153. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +24 -0
  154. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +59 -0
  155. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts.map +1 -0
  156. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +195 -0
  157. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +16 -0
  158. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts.map +1 -0
  159. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +29 -0
  160. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +16 -0
  161. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts.map +1 -0
  162. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js +28 -0
  163. package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.d.ts +6 -0
  164. package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.d.ts.map +1 -0
  165. package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.js +13 -0
  166. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +73 -0
  167. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts.map +1 -0
  168. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +168 -0
  169. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +30 -0
  170. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts.map +1 -0
  171. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +26 -0
  172. package/esm/presentation/automations/scheduledEmail/types.d.ts +299 -1
  173. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  174. package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.js +1 -1
  175. package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.js +1 -1
  176. package/esm/presentation/automations/shared/automationFilters/components/AutomationMeasureValueFilter.js +1 -1
  177. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +51 -0
  178. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts.map +1 -0
  179. package/esm/presentation/automations/{scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect → shared/hooks}/useWorkspaceUsersSearch.js +13 -0
  180. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +13 -0
  181. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts.map +1 -0
  182. package/esm/presentation/automations/{alerting/DefaultAlertingDialog/FormField.js → shared/slots/AutomationDialogFormField.js} +10 -1
  183. package/esm/presentation/automations/shared/slots/types.d.ts +23 -0
  184. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  185. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +1 -1
  186. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +91 -91
  187. package/esm/presentation/widget/insightMenu/types.js +1 -1
  188. package/esm/presentation/widget/richTextMenu/types.d.ts.map +1 -1
  189. package/esm/presentation/widget/richTextMenu/types.js +2 -1
  190. package/esm/sdk-ui-dashboard.d.ts +1604 -94
  191. package/package.json +22 -24
  192. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts.map +0 -1
  193. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts +0 -8
  194. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts.map +0 -1
  195. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +0 -19
  196. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +0 -1
  197. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +0 -19
  198. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +0 -1
  199. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +0 -15
  200. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +0 -1
  201. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts +0 -12
  202. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +0 -1
  203. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +0 -13
  204. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +0 -1
  205. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts +0 -11
  206. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +0 -1
  207. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts +0 -12
  208. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts.map +0 -1
  209. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts +0 -11
  210. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts.map +0 -1
  211. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts +0 -12
  212. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +0 -1
  213. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.d.ts.map +0 -1
  214. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +0 -1
  215. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultLoadingScheduledEmailDialog.d.ts.map +0 -1
  216. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/useWorkspaceUsersSearch.d.ts +0 -13
  217. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/useWorkspaceUsersSearch.d.ts.map +0 -1
  218. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog → blocks}/DefaultLoadingAlertingDialog.d.ts +0 -0
  219. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog → blocks}/DefaultLoadingAlertingDialog.js +0 -0
  220. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog → blocks}/DefaultLoadingScheduledEmailDialog.d.ts +0 -0
  221. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog → blocks}/DefaultLoadingScheduledEmailDialog.js +0 -0
@@ -1,8 +1,10 @@
1
- import { type ComponentType, type ReactNode, type Ref } from "react";
2
- import { type DateAttributeGranularity, type IAttribute, type IAutomationMetadataObject, type IDataSetMetadataObject, type IInsight, type IMeasure, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IWidget } from "@gooddata/sdk-model";
1
+ import { type ComponentType, type FocusEvent, type ReactNode, type Ref } from "react";
2
+ import { type DateAttributeGranularity, type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAlertTriggerInterval, type IAlertTriggerMode, type IAttribute, type IAttributeMetadataObject, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type ICatalogAttribute, type ICatalogDateDataset, type IDataSetMetadataObject, type IInsight, type IMeasure, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IWidget } from "@gooddata/sdk-model";
3
3
  import { type GoodDataSdkError } from "@gooddata/sdk-ui";
4
- import { type ISlotProps } from "@gooddata/sdk-ui-kit";
4
+ import type { AI_OPERATOR, AI_OPERATORS } from "@gooddata/sdk-ui-ext";
5
+ import { type ISlotProps, type OverlayPositionType } from "@gooddata/sdk-ui-kit";
5
6
  import { type IAutomationDialogActionBarProps, type IAutomationDialogDestinationProps, type IAutomationDialogFiltersProps, type IAutomationDialogHeaderProps, type IAutomationDialogRecipientsProps } from "../shared/slots/types.js";
7
+ import { type AttributeValue } from "./hooks/useAttributeValuesFromExecResults.js";
6
8
  /**
7
9
  * @alpha
8
10
  */
@@ -116,6 +118,337 @@ export interface IAlertingDialogFiltersProps extends IAutomationDialogFiltersPro
116
118
  */
117
119
  disableDateFilters: boolean;
118
120
  }
121
+ /**
122
+ * Props of the default alerting dialog's measure field (the "Metric" row).
123
+ *
124
+ * @alpha
125
+ */
126
+ export interface IAlertingDialogMeasureProps {
127
+ /**
128
+ * Id of the dropdown button; the form row's label points at it.
129
+ */
130
+ id?: string;
131
+ /**
132
+ * Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
133
+ */
134
+ disabled?: boolean;
135
+ /**
136
+ * The measure the condition targets; undefined shows the placeholder.
137
+ */
138
+ selectedMeasure: AlertMetric | undefined;
139
+ /**
140
+ * Called with the picked measure.
141
+ */
142
+ onMeasureChange: (measure: AlertMetric) => void;
143
+ /**
144
+ * The insight's measures an alert can be built on.
145
+ */
146
+ measures: AlertMetric[];
147
+ /**
148
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
149
+ */
150
+ overlayPositionType?: OverlayPositionType;
151
+ /**
152
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
153
+ */
154
+ closeOnParentScroll?: boolean;
155
+ }
156
+ /**
157
+ * Props of the default alerting dialog's attribute field (the "For" row).
158
+ *
159
+ * @alpha
160
+ */
161
+ export interface IAlertingDialogAttributeProps {
162
+ /**
163
+ * Id of the dropdown button; the form row's label points at it.
164
+ */
165
+ id: string;
166
+ /**
167
+ * Disables the select. The default dialog disables it when the dialog has no insight to pick measures from.
168
+ */
169
+ disabled?: boolean;
170
+ /**
171
+ * The attribute the condition is sliced by; undefined for the whole measure.
172
+ */
173
+ selectedAttribute: AlertAttribute | undefined;
174
+ /**
175
+ * The attribute element the condition is sliced to; null for the empty value, undefined for all values.
176
+ */
177
+ selectedValue: string | null | undefined;
178
+ /**
179
+ * Called with the picked attribute and value; `(undefined, undefined)` clears the slice.
180
+ */
181
+ onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
182
+ /**
183
+ * The insight's attributes; the select offers the non-date ones and renders nothing when there is none.
184
+ */
185
+ attributes: AlertAttribute[];
186
+ /**
187
+ * The workspace catalog's attributes, to resolve titles and display forms.
188
+ */
189
+ catalogAttributes: ICatalogAttribute[];
190
+ /**
191
+ * The workspace catalog's date datasets, to resolve date attributes.
192
+ */
193
+ catalogDateDatasets: ICatalogDateDataset[];
194
+ /**
195
+ * Distinct values of an attribute in the widget's execution result.
196
+ */
197
+ getAttributeValues: (attribute: IAttributeMetadataObject) => AttributeValue[];
198
+ /**
199
+ * Disables the select while the execution result is loading.
200
+ */
201
+ isResultLoading?: boolean;
202
+ /**
203
+ * Renders the select's own "For" label above the control. The default dialog passes false — the
204
+ * form row carries the label.
205
+ */
206
+ showLabel?: boolean;
207
+ /**
208
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
209
+ */
210
+ closeOnParentScroll?: boolean;
211
+ }
212
+ /**
213
+ * Props of the default alerting dialog's comparison-operator field (the "Condition" row).
214
+ *
215
+ * @alpha
216
+ */
217
+ export interface IAlertingDialogComparisonOperatorProps {
218
+ /**
219
+ * Id of the dropdown button; the form row's label points at it.
220
+ */
221
+ id: string;
222
+ /**
223
+ * The measure the condition targets; the select renders nothing without one.
224
+ */
225
+ measure: AlertMetric | undefined;
226
+ /**
227
+ * Offers the anomaly-detection operators. The default dialog passes the conjunction of the
228
+ * `enableAnomalyDetectionAlert` and `canUseAiAssistant` features; pass false to hide those
229
+ * options.
230
+ */
231
+ enableAnomalyDetectionAlert: boolean;
232
+ /**
233
+ * The operator of a fixed-threshold condition, when that is the condition type.
234
+ */
235
+ selectedComparisonOperator: IAlertComparisonOperator | undefined;
236
+ /**
237
+ * The relative and arithmetic operators of a relative condition, when that is the condition type.
238
+ */
239
+ selectedRelativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined;
240
+ /**
241
+ * The operator id of an anomaly-detection condition, when that is the condition type.
242
+ */
243
+ selectedAiOperator: AlertAiOperator | undefined;
244
+ /**
245
+ * Called when a fixed-threshold operator is picked.
246
+ */
247
+ onComparisonOperatorChange: (measure: AlertMetric, comparisonOperator: IAlertComparisonOperator) => void;
248
+ /**
249
+ * Called when the anomaly-detection operator is picked.
250
+ */
251
+ onAnomalyDetectionChange: (measure: AlertMetric) => void;
252
+ /**
253
+ * Called when a relative (change / difference) operator is picked.
254
+ */
255
+ onRelativeOperatorChange: (measure: AlertMetric, relativeOperator: IAlertRelativeOperator, arithmeticOperator: IAlertRelativeArithmeticOperator) => void;
256
+ /**
257
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
258
+ */
259
+ overlayPositionType?: OverlayPositionType;
260
+ /**
261
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
262
+ */
263
+ closeOnParentScroll?: boolean;
264
+ }
265
+ /**
266
+ * Props of the default alerting dialog's threshold field (the "Threshold" row).
267
+ *
268
+ * @alpha
269
+ */
270
+ export interface IAlertingDialogThresholdProps {
271
+ /**
272
+ * Id of the input; the form row's label and the error message point at it.
273
+ */
274
+ id: string;
275
+ /**
276
+ * The threshold shown; undefined for an empty input.
277
+ */
278
+ value: number | undefined;
279
+ /**
280
+ * Called with the raw input value on every keystroke.
281
+ */
282
+ onChange: (value: string | number) => void;
283
+ /**
284
+ * Called on blur; the default dialog rounds the value to the measure's format here.
285
+ */
286
+ onBlur: (event: FocusEvent<HTMLInputElement>) => void;
287
+ /**
288
+ * Unit shown after the input — `"%"` for a change condition.
289
+ */
290
+ suffix?: string;
291
+ /**
292
+ * Validation message shown under the input; undefined when there is none.
293
+ */
294
+ errorMessage?: string;
295
+ }
296
+ /**
297
+ * Props of the default alerting dialog's comparison-period field (the "Compared to" row).
298
+ *
299
+ * @alpha
300
+ */
301
+ export interface IAlertingDialogComparisonPeriodProps {
302
+ /**
303
+ * Id of the dropdown button; the form row's label points at it.
304
+ */
305
+ id: string;
306
+ /**
307
+ * The alert draft; the select renders nothing unless its condition is a change or difference.
308
+ */
309
+ alert: IAutomationMetadataObjectDefinition | undefined;
310
+ /**
311
+ * The measure the condition targets, whose comparators are the options; with a single
312
+ * comparator the select renders it as static text.
313
+ */
314
+ measure: AlertMetric | undefined;
315
+ /**
316
+ * The selected period comparison.
317
+ */
318
+ selectedComparison?: AlertMetricComparatorType;
319
+ /**
320
+ * The selected granularity of the period shift.
321
+ */
322
+ selectedGranularity?: DateAttributeGranularity;
323
+ /**
324
+ * Called with the picked comparison and its granularity.
325
+ */
326
+ onComparisonChange: (comparison: AlertMetricComparatorType, granularity?: DateAttributeGranularity) => void;
327
+ /**
328
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
329
+ */
330
+ overlayPositionType?: OverlayPositionType;
331
+ /**
332
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
333
+ */
334
+ closeOnParentScroll?: boolean;
335
+ }
336
+ /**
337
+ * Props of the default alerting dialog's sensitivity field (anomaly detection).
338
+ *
339
+ * @alpha
340
+ */
341
+ export interface IAlertingDialogSensitivityProps {
342
+ /**
343
+ * Id of the dropdown button; the form row's label points at it.
344
+ */
345
+ id: string;
346
+ /**
347
+ * The anomaly-detection sensitivity; undefined renders as `"MEDIUM"`.
348
+ */
349
+ selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
350
+ /**
351
+ * Called with the picked sensitivity.
352
+ */
353
+ onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
354
+ /**
355
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
356
+ */
357
+ overlayPositionType?: OverlayPositionType;
358
+ /**
359
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
360
+ */
361
+ closeOnParentScroll?: boolean;
362
+ }
363
+ /**
364
+ * Props of the default alerting dialog's granularity field (anomaly detection).
365
+ *
366
+ * @alpha
367
+ */
368
+ export interface IAlertingDialogGranularityProps {
369
+ /**
370
+ * Id of the dropdown button; the form row's label points at it.
371
+ */
372
+ id: string;
373
+ /**
374
+ * Offers the `"HOUR"` granularity.
375
+ */
376
+ allowHourlyRecurrence: boolean;
377
+ /**
378
+ * The anomaly-detection granularity; undefined renders as `"WEEK"`.
379
+ */
380
+ selectedGranularity: IAlertAnomalyDetectionGranularity | undefined;
381
+ /**
382
+ * Called with the picked granularity.
383
+ */
384
+ onGranularityChange: (granularity: IAlertAnomalyDetectionGranularity) => void;
385
+ /**
386
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
387
+ */
388
+ overlayPositionType?: OverlayPositionType;
389
+ /**
390
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
391
+ */
392
+ closeOnParentScroll?: boolean;
393
+ }
394
+ /**
395
+ * Props of the default alerting dialog's trigger-mode field (the "Trigger" row).
396
+ *
397
+ * @alpha
398
+ */
399
+ export interface IAlertingDialogTriggerModeProps {
400
+ /**
401
+ * Id of the dropdown button; the form row's label points at it.
402
+ */
403
+ id: string;
404
+ /**
405
+ * When the alert fires: `"ALWAYS"`, `"ONCE"` or `"ONCE_PER_INTERVAL"`.
406
+ */
407
+ selectedTriggerMode: IAlertTriggerMode;
408
+ /**
409
+ * Called with the picked mode.
410
+ */
411
+ onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
412
+ /**
413
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
414
+ */
415
+ overlayPositionType?: OverlayPositionType;
416
+ /**
417
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
418
+ */
419
+ closeOnParentScroll?: boolean;
420
+ /**
421
+ * Offers `"ONCE_PER_INTERVAL"`; the default dialog passes the feature flag.
422
+ */
423
+ enableAlertOncePerInterval?: boolean;
424
+ }
425
+ /**
426
+ * Props of the default alerting dialog's trigger-interval field (the "Interval" row).
427
+ *
428
+ * @alpha
429
+ */
430
+ export interface IAlertingDialogTriggerIntervalProps {
431
+ /**
432
+ * Id of the dropdown button; the form row's label points at it.
433
+ */
434
+ id: string;
435
+ /**
436
+ * The interval of a `"ONCE_PER_INTERVAL"` trigger.
437
+ */
438
+ selectedTriggerInterval: IAlertTriggerInterval;
439
+ /**
440
+ * Called with the picked interval.
441
+ */
442
+ onTriggerIntervalChange: (triggerInterval: IAlertTriggerInterval) => void;
443
+ /**
444
+ * Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.
445
+ */
446
+ overlayPositionType?: OverlayPositionType;
447
+ /**
448
+ * Closes the dropdown when an ancestor scrolls; the default dialog sets it.
449
+ */
450
+ closeOnParentScroll?: boolean;
451
+ }
119
452
  /**
120
453
  * Section-level overrides of the default alerting dialog.
121
454
  *
@@ -226,6 +559,21 @@ export interface IDefaultAlertingDialogProps extends IAlertingDialogProps {
226
559
  */
227
560
  bottomContent?: ReactNode;
228
561
  }
562
+ /**
563
+ * Props of {@link AlertingDialogFormFieldGroup}.
564
+ *
565
+ * @alpha
566
+ */
567
+ export interface IAlertingDialogFormFieldGroupProps {
568
+ /**
569
+ * The group heading in the label column — "When" (the condition) and "Do" (the action) in the default dialog.
570
+ */
571
+ label: ReactNode;
572
+ /**
573
+ * The field rows of the group — {@link AlertingDialogMeasure} and its siblings.
574
+ */
575
+ children: ReactNode;
576
+ }
229
577
  /**
230
578
  * @alpha
231
579
  */
@@ -412,4 +760,54 @@ export type AlertAttribute = {
412
760
  */
413
761
  type: "dateAttribute" | "attribute";
414
762
  };
763
+ /**
764
+ * The operator id of an anomaly-detection condition (`"AI.ANOMALY_DETECTION"`).
765
+ *
766
+ * @alpha
767
+ */
768
+ export type AlertAiOperator = `${typeof AI_OPERATOR}.${typeof AI_OPERATORS.ANOMALY_DETECTION}`;
769
+ /**
770
+ * Props of {@link AlertingDialogShell}.
771
+ *
772
+ * @alpha
773
+ */
774
+ export interface IAlertingDialogShellProps extends Pick<IAlertingDialogProps, "onCancel" | "onDeleteSuccess" | "onDeleteError"> {
775
+ /**
776
+ * The dialog's single submit — `submit` of the caller's {@link useAlertSubmit} instance. Drives the
777
+ * footer's submit button and the Enter key on it. The shell does not own the submit hook, so a
778
+ * caller's own Enter handler or button can share the same instance. Create the hook instance only
779
+ * once the dialog context reports `isLoading: false`.
780
+ */
781
+ onSubmit: () => void;
782
+ /**
783
+ * `isSaving` of the same {@link useAlertSubmit} instance: disables submit and Delete and shows the
784
+ * footer's progress indicator.
785
+ */
786
+ isSaving: boolean;
787
+ /**
788
+ * Header and action-bar overrides — the Level 1 slot contract ({@link IAlertingDialogSlots.Header},
789
+ * {@link IAlertingDialogSlots.ActionBar}): each slot receives `{ Default, defaultProps }`, where
790
+ * `defaultProps` are the shell's live values (the header's `onCancel` and initial-focus `ref`; the
791
+ * action bar's `onSubmit`, `isSaving`, `onDelete`). Slot components need a stable reference identity —
792
+ * see {@link @gooddata/sdk-ui-kit#ISlotProps}. The body regions have no slot here: place their blocks
793
+ * ({@link AlertingDialogFilters} and siblings) as children instead.
794
+ */
795
+ slots?: Pick<IAlertingDialogSlots, "Header" | "ActionBar">;
796
+ /**
797
+ * Rendered first inside the dialog's scrollable content area, above `children`.
798
+ */
799
+ topContent?: ReactNode;
800
+ /**
801
+ * Rendered last inside the scrollable content area, below `children` and the dialog's warning and
802
+ * validation messages.
803
+ */
804
+ bottomContent?: ReactNode;
805
+ /**
806
+ * The body: the regions and fields, in the caller's order — {@link AlertingDialogFilters},
807
+ * {@link AlertingDialogFormFieldGroup} with the condition and action blocks, and so on. Not mounted
808
+ * while `useAlertingDialogContext().isLoading` is true (the shell shows its loading skeleton) or while
809
+ * the stale-filters confirmation step is shown.
810
+ */
811
+ children?: ReactNode;
812
+ }
415
813
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EACf,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACxC,MAAM,0BAA0B,CAAC;AAMlC;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,yBAAyB,CAAC;IAExC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC;IAEnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAE5C;;OAEG;IACH,SAAS,CAAC,EAAE,CA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C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/alerting/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEtF,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEjF,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACxC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAMnF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,yBAAyB,CAAC;IAExC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/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F;;;;GAIG;AACH,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CACnD,oBAAoB,EACpB,UAAU,GAAG,iBAAiB,GAAG,eAAe,CACnD;IACG;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,WAAW,CAAC,CAAC;IAE3D;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB"}
@@ -1,8 +1,7 @@
1
1
  import { type IntlShape } from "react-intl";
2
2
  import { type IExecutionResult } from "@gooddata/sdk-backend-spi";
3
3
  import { type DateAttributeGranularity, type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAttribute, type IAttributeMetadataObject, type IAutomationAlert, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type ICatalogAttribute, type ICatalogDateAttribute, type ICatalogDateDataset, type IFilter, type IMeasure, type ISeparators, type ObjRef } from "@gooddata/sdk-model";
4
- import { AI_OPERATOR, AI_OPERATORS } from "@gooddata/sdk-ui-ext";
5
- import { type AlertAttribute, type AlertMetric, type AlertMetricComparator } from "../types.js";
4
+ import { type AlertAiOperator, type AlertAttribute, type AlertMetric, type AlertMetricComparator } from "../types.js";
6
5
  /**
7
6
  * Number formats of the widget's measures keyed by measure local identifier, read from the
8
7
  * execution result.
@@ -12,12 +11,6 @@ import { type AlertAttribute, type AlertMetric, type AlertMetricComparator } fro
12
11
  export type IMeasureFormatMap = {
13
12
  [key: string]: string;
14
13
  };
15
- /**
16
- * The operator id of an anomaly-detection alert condition.
17
- *
18
- * @alpha
19
- */
20
- export type AlertAiOperator = `${typeof AI_OPERATOR}.${typeof AI_OPERATORS.ANOMALY_DETECTION}`;
21
14
  /**
22
15
  * @internal
23
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/getters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACZ,KAAK,QAAQ,EAEb,KAAK,WAAW,EAChB,KAAK,MAAM,EAYd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,WAAW,EACX,YAAY,EAGf,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAMhG;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,OAAO,WAAW,IAAI,OAAO,YAAY,CAAC,iBAAiB,EAAE,CAAC;AAE/F;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,QAAQ,GAAG,SAAS,EAAE,gBAAgB,GAAE,iBAAsB,UAavG;AAED;;GAEG;AACH,wBAAgB,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CAC/B,uBAAuB,EAAE,CAAC,MAAM,EAAE,wBAAwB,CAAC,EAAE,EAC7D,OAAO,EAAE,mBAAmB,2BAW/B;AAiDD;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,CAsB1G;AAED,wBAAgB,cAAc,CAC1B,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,WAAW,EAAE,EACvB,KAAK,CAAC,EAAE,yBAAyB,EACjC,UAAU,CAAC,EAAE,WAAW,GACzB,MAAM,CAYR;AAED,wBAAgB,WAAW,CACvB,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,yBAAyB,EAChC,UAAU,CAAC,EAAE,WAAW,GACzB,MAAM,CAQR"}
1
+ {"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/utils/getters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACZ,KAAK,QAAQ,EAEb,KAAK,WAAW,EAChB,KAAK,MAAM,EAYd,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC7B,MAAM,aAAa,CAAC;AAMrB;;;;;GAKG;AAC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EAAE,EACH,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;;;;cAkB3C;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,qBAAqB,GAAG,iBAAiB,EACnF,UAAU,EAAE,CAAC,EAAE,EACf,SAAS,EAAE,UAAU,iBAUxB;AAED,wBAAgB,mBAAmB,CAC/B,uBAAuB,EAAE,CAAC,MAAM,EAAE,wBAAwB,CAAC,EAAE,EAC7D,OAAO,EAAE,mBAAmB,2BAW/B;AAiDD;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,UAAU,EAAE,gBAAgB,GAAG,SAAS,GAAG,iBAAiB,CAsB1G;AAED,wBAAgB,cAAc,CAC1B,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,WAAW,EAAE,EACvB,KAAK,CAAC,EAAE,yBAAyB,EACjC,UAAU,CAAC,EAAE,WAAW,GACzB,MAAM,CAYR;AAED,wBAAgB,WAAW,CACvB,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,yBAAyB,EAChC,UAAU,CAAC,EAAE,WAAW,GACzB,MAAM,CAQR"}
@@ -1 +1 @@
1
- {"version":3,"file":"useBuildAlertingManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAI/G,wBAAgB,uCAAuC,IAAI,qCAAqC,CA2I/F"}
1
+ {"version":3,"file":"useBuildAlertingManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.ts"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,mDAAmD,CAAC;AAI/G,wBAAgB,uCAAuC,IAAI,qCAAqC,CAiJ/F"}
@@ -4,6 +4,7 @@ import { isInsightWidget, isWidget, } from "@gooddata/sdk-model";
4
4
  import { saveAlert } from "../../../../model/commands/alerts.js";
5
5
  import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
6
6
  import { useDashboardCommandProcessing } from "../../../../model/react/useDashboardCommandProcessing.js";
7
+ import { selectAutomationsIsLoading, selectDashboardUserAutomationAlertsInContext, } from "../../../../model/store/automations/automationsSelectors.js";
7
8
  import { selectEnableAccessibilityMode, selectIsEmbedded, } from "../../../../model/store/config/configSelectors.js";
8
9
  import { selectInsightsMap } from "../../../../model/store/insights/insightsSelectors.js";
9
10
  import { selectDashboardId, selectDashboardTitle } from "../../../../model/store/meta/metaSelectors.js";
@@ -23,6 +24,8 @@ export function useBuildAlertingManagementDialogContext() {
23
24
  const automationsInvalidationId = useDashboardSelector(selectAutomationsInvalidationId);
24
25
  const isEmbedded = useDashboardSelector(selectIsEmbedded);
25
26
  const enableAccessibilityMode = useDashboardSelector(selectEnableAccessibilityMode);
27
+ const automations = useDashboardSelector(selectDashboardUserAutomationAlertsInContext(undefined));
28
+ const isLoading = useDashboardSelector(selectAutomationsIsLoading);
26
29
  const widgetsMap = useDashboardSelector(selectWidgetsMap);
27
30
  const insightsMap = useDashboardSelector(selectInsightsMap);
28
31
  // Look widgets up through the ObjRefMap (same as selectWidgetByRef) so an
@@ -108,6 +111,8 @@ export function useBuildAlertingManagementDialogContext() {
108
111
  automationsInvalidationId,
109
112
  isEmbedded,
110
113
  enableAccessibilityMode,
114
+ automations,
115
+ isLoading,
111
116
  getWidgetByRef,
112
117
  getInsightByWidgetRef,
113
118
  pauseAlert,
@@ -123,6 +128,8 @@ export function useBuildAlertingManagementDialogContext() {
123
128
  automationsInvalidationId,
124
129
  isEmbedded,
125
130
  enableAccessibilityMode,
131
+ automations,
132
+ isLoading,
126
133
  getWidgetByRef,
127
134
  getInsightByWidgetRef,
128
135
  pauseAlert,
@@ -19,6 +19,18 @@ export interface IAlertingManagementDialogContextValue {
19
19
  automationsInvalidationId?: number;
20
20
  isEmbedded: boolean;
21
21
  enableAccessibilityMode: boolean;
22
+ /**
23
+ * Alerts visible in the management dialog, scoped to the current dashboard context.
24
+ */
25
+ automations: IAutomationMetadataObject[];
26
+ /**
27
+ * True while the automation list is still loading.
28
+ *
29
+ * The automations load only — deliberately narrower than the scheduled-email management
30
+ * context's flag, which also folds in a widget-filters load that has no bearing on a
31
+ * management list.
32
+ */
33
+ isLoading: boolean;
22
34
  getWidgetByRef: (ref: ObjRef | undefined) => IWidget | undefined;
23
35
  getInsightByWidgetRef: (ref: ObjRef | undefined) => IInsight | undefined;
24
36
  pauseAlert(alert: IAutomationMetadataObject): Promise<IAutomationMetadataObject>;
@@ -1 +1 @@
1
- {"version":3,"file":"AlertingManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/AlertingManagementDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEvG;;;;;;GAMG;AACH,MAAM,WAAW,qCAAqC;IAClD,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,uBAAuB,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,OAAO,CAAC;IACjC,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,GAAG,SAAS,CAAC;IACjE,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,SAAS,CAAC;IACzE,UAAU,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACjF,WAAW,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACrF;AAMD,eAAO,MAAM,uCAAuC,6EAA2C,CAAC;AAEhG;;;;;;;;;;;GAWG;AACH,wBAAgB,kCAAkC,IAAI,qCAAqC,CAQ1F"}
1
+ {"version":3,"file":"AlertingManagementDialogContext.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/contexts/AlertingManagementDialogContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAEvG;;;;;;GAMG;AACH,MAAM,WAAW,qCAAqC;IAClD,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,uBAAuB,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,yBAAyB,EAAE,CAAC;IACzC;;;;;;OAMG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,OAAO,GAAG,SAAS,CAAC;IACjE,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,QAAQ,GAAG,SAAS,CAAC;IACzE,UAAU,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACjF,WAAW,CAAC,KAAK,EAAE,yBAAyB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACrF;AAMD,eAAO,MAAM,uCAAuC,6EAA2C,CAAC;AAEhG;;;;;;;;;;;GAWG;AACH,wBAAgB,kCAAkC,IAAI,qCAAqC,CAQ1F"}
@@ -1,5 +1,5 @@
1
+ import { type ReactElement } from "react";
1
2
  import { type IDefaultScheduledEmailDialogProps } from "../types.js";
2
- export declare function ScheduledMailDialogRenderer({ onBack, onCancel, onDeleteSuccess, onDeleteError, onError, onSave, onSaveError, onSaveSuccess, onSubmit, onSuccess, slots, topContent, bottomContent }: IDefaultScheduledEmailDialogProps): import("react/jsx-runtime").JSX.Element;
3
3
  /**
4
4
  * Default implementation of the scheduled export create/edit dialog.
5
5
  *
@@ -18,14 +18,19 @@ export declare function ScheduledMailDialogRenderer({ onBack, onCancel, onDelete
18
18
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
19
19
  * outside those providers throws at runtime.
20
20
  *
21
- * The dialog is composed from the exported region renders — {@link DefaultScheduledEmailDialogHeader},
22
- * {@link DefaultScheduledEmailDialogFilters}, {@link DefaultScheduledEmailDialogDestination},
23
- * {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone},
24
- * {@link DefaultAutomationDialogActionBar} — fed by the matching `use*Props` hooks
25
- * ({@link useScheduledEmailDialogFiltersProps} and siblings). A custom `ScheduledEmailDialogComponent`
26
- * that keeps our regions but owns the markup places the connected blocks
27
- * ({@link ScheduledEmailDialogFilters} and siblings) instead of this component, and reads or writes
28
- * the same draft through {@link useScheduledExportDraft} and {@link useScheduledExportActions}.
21
+ * The dialog is {@link ScheduledEmailDialogShell} — the chrome: overlay, frame, header row, action bar, the
22
+ * General/Filters tabs, the body's messages, the stale-filters and delete confirmation steps, the loading
23
+ * skeleton — around the exported region renders ({@link DefaultScheduledEmailDialogDestination},
24
+ * {@link DefaultScheduledEmailDialogRecipients}, {@link DefaultScheduledEmailDialogTimezone}, fed by
25
+ * {@link useScheduledEmailDialogDestinationProps} and siblings; the header, action bar and the Filters tab's
26
+ * {@link DefaultScheduledEmailDialogFilters} are the shell's) and the General-tab field blocks
27
+ * ({@link ScheduledEmailDialogRecurrence}, {@link ScheduledEmailDialogSubject}, {@link ScheduledEmailDialogMessage},
28
+ * {@link ScheduledEmailDialogWidgetAttachments}, {@link ScheduledEmailDialogDashboardAttachments},
29
+ * {@link ScheduledEmailDialogEvaluationMode}). A custom `ScheduledEmailDialogComponent` that keeps this chrome
30
+ * but owns the arrangement renders {@link ScheduledEmailDialogShell} around the blocks it wants (see its
31
+ * example); one that owns the chrome too places the blocks ({@link ScheduledEmailDialogFilters} and
32
+ * siblings) in its own markup and reads or writes the same draft through {@link useScheduledExportDraft}
33
+ * and {@link useScheduledExportActions}.
29
34
  *
30
35
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
31
36
  * and not while the stale-filters confirmation step is shown. The Filters slot additionally
@@ -33,5 +38,5 @@ export declare function ScheduledMailDialogRenderer({ onBack, onCancel, onDelete
33
38
  *
34
39
  * @alpha
35
40
  */
36
- export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmailDialogProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare function DefaultScheduledEmailDialog(props: IDefaultScheduledEmailDialogProps): ReactElement;
37
42
  //# sourceMappingURL=DefaultScheduledEmailDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AAuDA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAsBrE,wBAAgB,2BAA2B,CAAC,EACxC,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,MAAM,EACN,WAAW,EACX,aAAa,EACb,QAAQ,EACR,SAAS,EACT,KAAK,EACL,UAAU,EACV,aAAa,EAChB,EAAE,iCAAiC,2CAkdnC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,2CAYnF"}
1
+ {"version":3,"file":"DefaultScheduledEmailDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAuB1C,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,aAAa,CAAC;AAMrE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,GAAG,YAAY,CAiBlG"}