@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 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,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,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,w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AC;IACvB;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,4BAA4B,EAAE,OAAO,CAAC;CACzC;AAED;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACvC,oBAAoB,EACpB,WAAW,GAAG,SAAS,GAAG,eAAe,GAAG,aAAa,CAC5D,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,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,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,QAAQ,EACb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AACnG,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EAC5B,MAAM,aAAa,CAAC;AACrB,OAA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;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/B"}
@@ -0,0 +1,87 @@
1
+ import { type IAlertingDialogAttributeProps, type IAlertingDialogComparisonOperatorProps, type IAlertingDialogComparisonPeriodProps, type IAlertingDialogGranularityProps, type IAlertingDialogMeasureProps, type IAlertingDialogSensitivityProps, type IAlertingDialogThresholdProps, type IAlertingDialogTriggerIntervalProps, type IAlertingDialogTriggerModeProps } from "../types.js";
2
+ /**
3
+ * The exact props the default alerting dialog renders its measure field with.
4
+ *
5
+ * Throws outside the alerting dialog's state providers.
6
+ *
7
+ * @alpha
8
+ */
9
+ export declare function useAlertingDialogMeasureProps(): IAlertingDialogMeasureProps;
10
+ /**
11
+ * The exact props the default alerting dialog renders its attribute field with.
12
+ *
13
+ * Throws outside the alerting dialog's state providers.
14
+ *
15
+ * @alpha
16
+ */
17
+ export declare function useAlertingDialogAttributeProps(): IAlertingDialogAttributeProps;
18
+ /**
19
+ * The exact props the default alerting dialog renders its comparison-operator field with.
20
+ *
21
+ * `enableAnomalyDetectionAlert` is the conjunction of the `enableAnomalyDetectionAlert` and
22
+ * `canUseAiAssistant` features.
23
+ *
24
+ * Throws outside the alerting dialog's state providers.
25
+ *
26
+ * @alpha
27
+ */
28
+ export declare function useAlertingDialogComparisonOperatorProps(): IAlertingDialogComparisonOperatorProps;
29
+ /**
30
+ * The exact props the default alerting dialog renders its threshold field with.
31
+ *
32
+ * Owns the field's state: its effect auto-computes the threshold of a new alert from the measure's
33
+ * current value and clears it for a relative operator, writing the draft. **Call it once per
34
+ * dialog** — through {@link AlertingDialogThreshold}, which is that mount in the default dialog and
35
+ * in a shell of blocks, or directly, never both. Throws outside the alerting dialog's state
36
+ * providers.
37
+ *
38
+ * @alpha
39
+ */
40
+ export declare function useAlertingDialogThresholdProps(): IAlertingDialogThresholdProps;
41
+ /**
42
+ * The exact props the default alerting dialog renders its comparison-period field with.
43
+ *
44
+ * `onComparisonChange` closes over the selected measure (and relative operator), so it takes only
45
+ * the field's value.
46
+ *
47
+ * Throws outside the alerting dialog's state providers.
48
+ *
49
+ * @alpha
50
+ */
51
+ export declare function useAlertingDialogComparisonPeriodProps(): IAlertingDialogComparisonPeriodProps;
52
+ /**
53
+ * The exact props the default alerting dialog renders its sensitivity field with.
54
+ *
55
+ * Throws outside the alerting dialog's state providers.
56
+ *
57
+ * @alpha
58
+ */
59
+ export declare function useAlertingDialogSensitivityProps(): IAlertingDialogSensitivityProps;
60
+ /**
61
+ * The exact props the default alerting dialog renders its granularity field with.
62
+ *
63
+ * `onGranularityChange` closes over the selected measure (and relative operator), so it takes only
64
+ * the field's value.
65
+ *
66
+ * Throws outside the alerting dialog's state providers.
67
+ *
68
+ * @alpha
69
+ */
70
+ export declare function useAlertingDialogGranularityProps(): IAlertingDialogGranularityProps;
71
+ /**
72
+ * The exact props the default alerting dialog renders its trigger-mode field with.
73
+ *
74
+ * Throws outside the alerting dialog's state providers.
75
+ *
76
+ * @alpha
77
+ */
78
+ export declare function useAlertingDialogTriggerModeProps(): IAlertingDialogTriggerModeProps;
79
+ /**
80
+ * The exact props the default alerting dialog renders its trigger-interval field with.
81
+ *
82
+ * Throws outside the alerting dialog's state providers.
83
+ *
84
+ * @alpha
85
+ */
86
+ export declare function useAlertingDialogTriggerIntervalProps(): IAlertingDialogTriggerIntervalProps;
87
+ //# sourceMappingURL=useAlertingDialogFieldProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAlertingDialogFieldProps.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertingDialogFieldProps.tsx"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC3C,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACvC,MAAM,aAAa,CAAC;AAYrB;;;;;;GAMG;AACH,wBAAgB,6BAA6B,IAAI,2BAA2B,CAe3E;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,IAAI,6BAA6B,CAqB/E;AAED;;;;;;;;;GASG;AACH,wBAAgB,wCAAwC,IAAI,sCAAsC,CAsBjG;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,IAAI,6BAA6B,CA2B/E;AAED;;;;;;;;;GASG;AACH,wBAAgB,sCAAsC,IAAI,oCAAoC,CAiB7F;AAED;;;;;;GAMG;AACH,wBAAgB,iCAAiC,IAAI,+BAA+B,CAWnF;AAED;;;;;;;;;GASG;AACH,wBAAgB,iCAAiC,IAAI,+BAA+B,CAenF;AAED;;;;;;GAMG;AACH,wBAAgB,iCAAiC,IAAI,+BAA+B,CAenF;AAED;;;;;;GAMG;AACH,wBAAgB,qCAAqC,IAAI,mCAAmC,CAW3F"}
@@ -0,0 +1,234 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
3
+ import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
4
+ import { useAlertThreshold } from "../hooks/useAlertThreshold.js";
5
+ import { getValueSuffix } from "../utils/getters.js";
6
+ import { useAlertActions } from "./AlertActionsContext.js";
7
+ import { useAlertData } from "./AlertDataContext.js";
8
+ import { useAlertDraft } from "./AlertDraftContext.js";
9
+ import { useAlertDialogValidity } from "./useAlertDialogValidity.js";
10
+ import { useAlertSelectedValues } from "./useAlertSelectedValues.js";
11
+ const OVERLAY_POSITION_TYPE = "sameAsTarget";
12
+ const CLOSE_ON_PARENT_SCROLL = true;
13
+ /**
14
+ * The exact props the default alerting dialog renders its measure field with.
15
+ *
16
+ * Throws outside the alerting dialog's state providers.
17
+ *
18
+ * @alpha
19
+ */
20
+ export function useAlertingDialogMeasureProps() {
21
+ const { supportedMeasures } = useAlertData();
22
+ const { onMeasureChange } = useAlertActions();
23
+ const { selectedMeasure } = useAlertSelectedValues();
24
+ const { canChangeMeasure } = useAlertDialogValidity();
25
+ return {
26
+ id: "alert.measure",
27
+ selectedMeasure,
28
+ onMeasureChange,
29
+ measures: supportedMeasures,
30
+ disabled: !canChangeMeasure,
31
+ overlayPositionType: OVERLAY_POSITION_TYPE,
32
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
33
+ };
34
+ }
35
+ /**
36
+ * The exact props the default alerting dialog renders its attribute field with.
37
+ *
38
+ * Throws outside the alerting dialog's state providers.
39
+ *
40
+ * @alpha
41
+ */
42
+ export function useAlertingDialogAttributeProps() {
43
+ const { catalogAttributes, catalogDateDatasets } = useAutomationsContext();
44
+ const { supportedAttributes, getAttributeValues, isResultLoading } = useAlertData();
45
+ const { onAttributeChange } = useAlertActions();
46
+ const { selectedAttribute, selectedValue } = useAlertSelectedValues();
47
+ const { canChangeMeasure } = useAlertDialogValidity();
48
+ return {
49
+ id: "alert.attribute",
50
+ disabled: !canChangeMeasure,
51
+ selectedAttribute,
52
+ selectedValue,
53
+ onAttributeChange,
54
+ attributes: supportedAttributes,
55
+ catalogAttributes,
56
+ catalogDateDatasets,
57
+ getAttributeValues,
58
+ isResultLoading,
59
+ showLabel: false,
60
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
61
+ };
62
+ }
63
+ /**
64
+ * The exact props the default alerting dialog renders its comparison-operator field with.
65
+ *
66
+ * `enableAnomalyDetectionAlert` is the conjunction of the `enableAnomalyDetectionAlert` and
67
+ * `canUseAiAssistant` features.
68
+ *
69
+ * Throws outside the alerting dialog's state providers.
70
+ *
71
+ * @alpha
72
+ */
73
+ export function useAlertingDialogComparisonOperatorProps() {
74
+ const { features: { enableAnomalyDetectionAlert, canUseAiAssistant }, } = useAutomationsContext();
75
+ const { onAnomalyDetectionChange, onComparisonOperatorChange, onRelativeOperatorChange } = useAlertActions();
76
+ const { selectedMeasure, selectedComparisonOperator, selectedRelativeOperator, selectedAiOperator } = useAlertSelectedValues();
77
+ return {
78
+ id: "alert.condition",
79
+ measure: selectedMeasure,
80
+ enableAnomalyDetectionAlert: enableAnomalyDetectionAlert && canUseAiAssistant,
81
+ selectedComparisonOperator,
82
+ selectedRelativeOperator,
83
+ selectedAiOperator,
84
+ onAnomalyDetectionChange,
85
+ onComparisonOperatorChange,
86
+ onRelativeOperatorChange,
87
+ overlayPositionType: OVERLAY_POSITION_TYPE,
88
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
89
+ };
90
+ }
91
+ /**
92
+ * The exact props the default alerting dialog renders its threshold field with.
93
+ *
94
+ * Owns the field's state: its effect auto-computes the threshold of a new alert from the measure's
95
+ * current value and clears it for a relative operator, writing the draft. **Call it once per
96
+ * dialog** — through {@link AlertingDialogThreshold}, which is that mount in the default dialog and
97
+ * in a shell of blocks, or directly, never both. Throws outside the alerting dialog's state
98
+ * providers.
99
+ *
100
+ * @alpha
101
+ */
102
+ export function useAlertingDialogThresholdProps() {
103
+ const { alertToEdit } = useAlertingDialogContext();
104
+ const { editedAutomation } = useAlertDraft();
105
+ const { setEditedAutomation } = useAlertActions();
106
+ const { getMetricValue } = useAlertData();
107
+ const { selectedRelativeOperator, selectedMeasure, selectedAttribute, selectedValue } = useAlertSelectedValues();
108
+ const { value, onChange, onBlur, thresholdErrorMessage } = useAlertThreshold({
109
+ setEditedAutomation,
110
+ editedAutomation,
111
+ getMetricValue,
112
+ isNewAlert: !alertToEdit,
113
+ selectedRelativeOperator,
114
+ selectedMeasure,
115
+ selectedAttribute,
116
+ selectedValue,
117
+ });
118
+ return {
119
+ id: "alert.value",
120
+ value,
121
+ onChange,
122
+ onBlur,
123
+ suffix: getValueSuffix(editedAutomation?.alert),
124
+ errorMessage: thresholdErrorMessage,
125
+ };
126
+ }
127
+ /**
128
+ * The exact props the default alerting dialog renders its comparison-period field with.
129
+ *
130
+ * `onComparisonChange` closes over the selected measure (and relative operator), so it takes only
131
+ * the field's value.
132
+ *
133
+ * Throws outside the alerting dialog's state providers.
134
+ *
135
+ * @alpha
136
+ */
137
+ export function useAlertingDialogComparisonPeriodProps() {
138
+ const { editedAutomation } = useAlertDraft();
139
+ const { onComparisonTypeChange } = useAlertActions();
140
+ const { selectedMeasure, selectedRelativeOperator, selectedComparator } = useAlertSelectedValues();
141
+ return {
142
+ id: "alert.comparison",
143
+ alert: editedAutomation,
144
+ measure: selectedMeasure,
145
+ selectedComparison: selectedComparator?.comparator,
146
+ selectedGranularity: selectedComparator?.granularity,
147
+ onComparisonChange: (comparisonType, granularity) => {
148
+ onComparisonTypeChange(selectedMeasure, selectedRelativeOperator, comparisonType, granularity);
149
+ },
150
+ overlayPositionType: OVERLAY_POSITION_TYPE,
151
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
152
+ };
153
+ }
154
+ /**
155
+ * The exact props the default alerting dialog renders its sensitivity field with.
156
+ *
157
+ * Throws outside the alerting dialog's state providers.
158
+ *
159
+ * @alpha
160
+ */
161
+ export function useAlertingDialogSensitivityProps() {
162
+ const { onSensitivityChange } = useAlertActions();
163
+ const { selectedSensitivity } = useAlertSelectedValues();
164
+ return {
165
+ id: "alert.sensitivity",
166
+ selectedSensitivity,
167
+ onSensitivityChange,
168
+ overlayPositionType: OVERLAY_POSITION_TYPE,
169
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
170
+ };
171
+ }
172
+ /**
173
+ * The exact props the default alerting dialog renders its granularity field with.
174
+ *
175
+ * `onGranularityChange` closes over the selected measure (and relative operator), so it takes only
176
+ * the field's value.
177
+ *
178
+ * Throws outside the alerting dialog's state providers.
179
+ *
180
+ * @alpha
181
+ */
182
+ export function useAlertingDialogGranularityProps() {
183
+ const { allowHourlyRecurrence } = useAutomationsContext();
184
+ const { onGranularityChange } = useAlertActions();
185
+ const { selectedMeasure, selectedGranularity } = useAlertSelectedValues();
186
+ return {
187
+ id: "alert.granularity",
188
+ allowHourlyRecurrence,
189
+ selectedGranularity,
190
+ onGranularityChange: (granularity) => {
191
+ onGranularityChange(selectedMeasure, granularity);
192
+ },
193
+ overlayPositionType: OVERLAY_POSITION_TYPE,
194
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
195
+ };
196
+ }
197
+ /**
198
+ * The exact props the default alerting dialog renders its trigger-mode field with.
199
+ *
200
+ * Throws outside the alerting dialog's state providers.
201
+ *
202
+ * @alpha
203
+ */
204
+ export function useAlertingDialogTriggerModeProps() {
205
+ const { features: { enableAlertOncePerInterval }, } = useAutomationsContext();
206
+ const { editedAutomation } = useAlertDraft();
207
+ const { onTriggerModeChange } = useAlertActions();
208
+ return {
209
+ id: "alert.trigger",
210
+ selectedTriggerMode: editedAutomation?.alert?.trigger.mode ?? "ALWAYS",
211
+ onTriggerModeChange,
212
+ overlayPositionType: OVERLAY_POSITION_TYPE,
213
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
214
+ enableAlertOncePerInterval,
215
+ };
216
+ }
217
+ /**
218
+ * The exact props the default alerting dialog renders its trigger-interval field with.
219
+ *
220
+ * Throws outside the alerting dialog's state providers.
221
+ *
222
+ * @alpha
223
+ */
224
+ export function useAlertingDialogTriggerIntervalProps() {
225
+ const { editedAutomation } = useAlertDraft();
226
+ const { onTriggerIntervalChange } = useAlertActions();
227
+ return {
228
+ id: "alert.interval",
229
+ selectedTriggerInterval: editedAutomation?.alert?.trigger.interval ?? "DAY",
230
+ onTriggerIntervalChange,
231
+ overlayPositionType: OVERLAY_POSITION_TYPE,
232
+ closeOnParentScroll: CLOSE_ON_PARENT_SCROLL,
233
+ };
234
+ }