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

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 (428) 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/_staging/metadata/objRefMap.d.ts +11 -0
  5. package/esm/_staging/metadata/objRefMap.d.ts.map +1 -1
  6. package/esm/_staging/metadata/objRefMap.js +19 -1
  7. package/esm/index.d.ts +70 -7
  8. package/esm/index.d.ts.map +1 -1
  9. package/esm/index.js +62 -2
  10. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  11. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +4 -0
  12. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  13. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +10 -7
  14. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +17 -0
  15. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -0
  16. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +50 -0
  17. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +4 -1
  18. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
  19. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +5 -3
  20. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/filterContext/common.js +5 -2
  22. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  23. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +2 -2
  24. package/esm/model/commands/filters.d.ts +3 -3
  25. package/esm/model/store/config/configSelectors.d.ts +6 -0
  26. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  27. package/esm/model/store/config/configSelectors.js +9 -1
  28. package/esm/model/store/dashboardStore.d.ts +2 -0
  29. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  30. package/esm/model/store/dashboardStore.js +2 -0
  31. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +13 -9
  32. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  33. package/esm/model/store/tabs/filterContext/filterContextReducers.js +28 -21
  34. package/esm/model/store/tabs/index.d.ts +136 -128
  35. package/esm/model/store/tabs/index.d.ts.map +1 -1
  36. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +17 -4
  37. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  38. package/esm/model/store/tabs/parameters/parametersHelpers.js +32 -8
  39. package/esm/model/store/tabs/parameters/parametersReducers.d.ts +29 -1
  40. package/esm/model/store/tabs/parameters/parametersReducers.d.ts.map +1 -1
  41. package/esm/model/store/tabs/parameters/parametersReducers.js +48 -6
  42. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +26 -5
  43. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  44. package/esm/model/store/tabs/parameters/parametersSelectors.js +33 -14
  45. package/esm/model/store/tabs/parameters/parametersState.d.ts +7 -0
  46. package/esm/model/store/tabs/parameters/parametersState.d.ts.map +1 -1
  47. package/esm/model/store/tabs/tabsReducers.d.ts +14 -0
  48. package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
  49. package/esm/model/store/tabs/tabsReducers.js +21 -1
  50. package/esm/model/store/tabs/workingSelectionSelectors.d.ts +9 -0
  51. package/esm/model/store/tabs/workingSelectionSelectors.d.ts.map +1 -0
  52. package/esm/model/store/tabs/workingSelectionSelectors.js +11 -0
  53. package/esm/model/store/types.d.ts +3 -0
  54. package/esm/model/store/types.d.ts.map +1 -1
  55. package/esm/model/store/unavailableObjects/index.d.ts +8 -0
  56. package/esm/model/store/unavailableObjects/index.d.ts.map +1 -0
  57. package/esm/model/store/unavailableObjects/index.js +13 -0
  58. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts +9 -0
  59. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.d.ts.map +1 -0
  60. package/esm/model/store/unavailableObjects/unavailableObjectsEntityAdapter.js +12 -0
  61. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +18 -0
  62. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -0
  63. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +20 -0
  64. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +15 -0
  65. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  66. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +38 -65
  67. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +13 -0
  68. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts.map +1 -0
  69. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertAttributeSelect.js → DefaultAlertingDialogAttribute.js} +11 -2
  70. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +13 -0
  71. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts.map +1 -0
  72. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonOperatorSelect.js → DefaultAlertingDialogComparisonOperator.js} +13 -4
  73. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +14 -0
  74. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts.map +1 -0
  75. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertComparisonPeriodSelect.js → DefaultAlertingDialogComparisonPeriod.js} +14 -4
  76. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +11 -0
  77. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -0
  78. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +18 -0
  79. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +12 -0
  80. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -0
  81. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +17 -0
  82. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +12 -0
  83. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts.map +1 -0
  84. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertGranularitySelect.js → DefaultAlertingDialogGranularity.js} +10 -2
  85. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +11 -0
  86. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts.map +1 -0
  87. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{AlertingDialogHeader.js → DefaultAlertingDialogHeader.js} +10 -2
  88. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +12 -0
  89. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts.map +1 -0
  90. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertMeasureSelect.js → DefaultAlertingDialogMeasure.js} +10 -2
  91. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +11 -0
  92. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -0
  93. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +16 -0
  94. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +12 -0
  95. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts.map +1 -0
  96. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertSensitivitySelect.js → DefaultAlertingDialogSensitivity.js} +10 -2
  97. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +12 -0
  98. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts.map +1 -0
  99. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertThresholdInput.js → DefaultAlertingDialogThreshold.js} +9 -1
  100. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +13 -0
  101. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts.map +1 -0
  102. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerIntervalSelect.js → DefaultAlertingDialogTriggerInterval.js} +11 -2
  103. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +12 -0
  104. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts.map +1 -0
  105. package/esm/presentation/automations/alerting/DefaultAlertingDialog/{components/AlertTriggerModeSelect.js → DefaultAlertingDialogTriggerMode.js} +10 -2
  106. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts +0 -1
  107. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.d.ts.map +1 -1
  108. package/esm/presentation/automations/alerting/DefaultAlertingDialog/constants.js +0 -1
  109. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.js +1 -1
  110. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
  111. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +30 -0
  112. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -0
  113. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +30 -0
  114. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +16 -0
  115. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts.map +1 -0
  116. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +28 -0
  117. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +22 -0
  118. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts.map +1 -0
  119. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +31 -0
  120. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +18 -0
  121. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts.map +1 -0
  122. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +31 -0
  123. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +15 -0
  124. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -0
  125. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +23 -0
  126. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts +11 -0
  127. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -0
  128. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +15 -0
  129. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +16 -0
  130. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -0
  131. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +25 -0
  132. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +15 -0
  133. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts.map +1 -0
  134. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +33 -0
  135. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +26 -0
  136. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts.map +1 -0
  137. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +36 -0
  138. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +30 -0
  139. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts.map +1 -0
  140. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +39 -0
  141. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +13 -0
  142. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -0
  143. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +21 -0
  144. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +15 -0
  145. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts.map +1 -0
  146. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +30 -0
  147. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +21 -0
  148. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts.map +1 -0
  149. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +36 -0
  150. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +15 -0
  151. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts.map +1 -0
  152. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +32 -0
  153. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +15 -0
  154. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts.map +1 -0
  155. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +24 -0
  156. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts +12 -0
  157. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.d.ts.map +1 -0
  158. package/esm/presentation/automations/alerting/blocks/WhenAlertingDialogLoaded.js +13 -0
  159. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.d.ts +1 -1
  160. package/esm/presentation/automations/alerting/hooks/useAlertThreshold.d.ts.map +1 -0
  161. package/esm/presentation/automations/alerting/hooks/useAlertValidation.d.ts.map +1 -0
  162. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.d.ts +20 -0
  163. package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -0
  164. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAttributeValuesFromExecResults.js +5 -0
  165. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
  166. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +1 -1
  167. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.d.ts +1 -1
  168. package/esm/presentation/automations/alerting/hooks/useThresholdValue.d.ts.map +1 -0
  169. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
  170. package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
  171. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
  172. package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
  173. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
  174. package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
  175. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
  176. package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
  177. package/esm/presentation/automations/alerting/state/types.d.ts +179 -9
  178. package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -1
  179. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +3 -8
  180. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts.map +1 -1
  181. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
  182. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +1 -1
  183. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
  184. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.js +1 -1
  185. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +1 -1
  186. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
  187. package/esm/presentation/automations/alerting/state/useAlertFormState.js +2 -2
  188. package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
  189. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +4 -16
  190. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts.map +1 -1
  191. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +2 -2
  192. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +13 -0
  193. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts.map +1 -0
  194. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → state}/useAlertSubmit.js +5 -5
  195. package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +3 -3
  196. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +87 -0
  197. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts.map +1 -0
  198. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +234 -0
  199. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +8 -8
  200. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -1
  201. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +7 -7
  202. package/esm/presentation/automations/alerting/types.d.ts +390 -9
  203. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  204. package/esm/presentation/automations/alerting/types.js +3 -1
  205. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.d.ts +1 -1
  206. package/esm/presentation/automations/alerting/utils/convertors.d.ts.map +1 -0
  207. package/esm/presentation/automations/alerting/utils/cron.d.ts.map +1 -0
  208. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.d.ts +8 -3
  209. package/esm/presentation/automations/alerting/utils/getters.d.ts.map +1 -0
  210. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/getters.js +1 -1
  211. package/esm/presentation/automations/alerting/utils/granularity.d.ts.map +1 -0
  212. package/esm/presentation/automations/alerting/utils/guards.d.ts.map +1 -0
  213. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.d.ts +1 -1
  214. package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -0
  215. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/items.js +1 -1
  216. package/esm/presentation/automations/alerting/utils/responsive.d.ts.map +1 -0
  217. package/esm/presentation/automations/alerting/utils/threshold.d.ts.map +1 -0
  218. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.d.ts +1 -1
  219. package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -0
  220. package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/transformation.js +1 -1
  221. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +9 -0
  222. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  223. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +21 -12
  224. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +11 -0
  225. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -0
  226. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +15 -0
  227. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +12 -0
  228. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -0
  229. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +16 -0
  230. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +11 -0
  231. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts.map +1 -0
  232. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{Header/ScheduleEmailDialogHeader.js → DefaultScheduledEmailDialogHeader.js} +11 -3
  233. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +11 -0
  234. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -0
  235. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +13 -0
  236. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +17 -0
  237. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -0
  238. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/{ScheduleTimezoneSelect/ScheduleTimezoneSelect.js → DefaultScheduledEmailDialogTimezone.js} +6 -4
  239. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +36 -0
  240. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -0
  241. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +35 -0
  242. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +13 -0
  243. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -0
  244. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +21 -0
  245. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +17 -0
  246. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -0
  247. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +26 -0
  248. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +17 -0
  249. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts.map +1 -0
  250. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +32 -0
  251. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +15 -0
  252. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -0
  253. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +25 -0
  254. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +15 -0
  255. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -0
  256. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +26 -0
  257. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts +14 -0
  258. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.d.ts.map +1 -0
  259. package/esm/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.js +15 -0
  260. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.d.ts +1 -1
  261. package/esm/presentation/automations/scheduledEmail/hooks/useExportTimezones.d.ts.map +1 -0
  262. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useExportTimezones.js +1 -1
  263. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.d.ts +1 -1
  264. package/esm/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.d.ts.map +1 -0
  265. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleTimezone.js +1 -1
  266. package/esm/presentation/automations/scheduledEmail/hooks/useScheduleValidation.d.ts.map +1 -0
  267. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.js +1 -1
  268. package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +1 -1
  269. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
  270. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
  271. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
  272. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
  273. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
  274. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
  275. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
  276. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
  277. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -5
  278. package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -1
  279. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +12 -0
  280. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts.map +1 -0
  281. package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → state}/useSaveScheduledEmailToBackend.js +3 -3
  282. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +10 -10
  283. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
  284. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +1 -1
  285. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.js +1 -1
  286. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +2 -7
  287. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
  288. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +1 -1
  289. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +3 -27
  290. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
  291. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
  292. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +3 -3
  293. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
  294. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
  295. package/esm/presentation/automations/scheduledEmail/types.d.ts +4 -2
  296. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  297. package/esm/presentation/automations/shared/automationFilters/components/AutomationAttributeFilter.js +1 -1
  298. package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.js +1 -1
  299. package/esm/presentation/automations/shared/automationFilters/components/AutomationMeasureValueFilter.js +1 -1
  300. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +13 -0
  301. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts.map +1 -0
  302. package/esm/presentation/automations/{alerting/DefaultAlertingDialog/FormField.js → shared/slots/AutomationDialogFormField.js} +10 -1
  303. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +27 -0
  304. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts.map +1 -0
  305. package/esm/presentation/automations/shared/slots/{AutomationDialogActionBar.js → DefaultAutomationDialogActionBar.js} +7 -5
  306. package/esm/presentation/automations/shared/slots/types.d.ts +23 -0
  307. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  308. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.d.ts.map +1 -1
  309. package/esm/presentation/dashboardSettingsDialog/TimezoneOption.js +1 -1
  310. package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.d.ts.map +1 -1
  311. package/esm/presentation/dragAndDrop/draggableParameterFilter/DefaultParameterDraggingComponent.js +5 -6
  312. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  313. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -4
  314. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
  315. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +11 -8
  316. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +4 -4
  317. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +4 -4
  318. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +4 -4
  319. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +7 -7
  320. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -6
  321. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
  322. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  323. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -4
  324. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +4 -4
  325. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +4 -4
  326. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +4 -4
  327. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +4 -4
  328. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +4 -4
  329. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +4 -4
  330. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +4 -4
  331. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +4 -4
  332. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +4 -4
  333. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +4 -4
  334. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +4 -4
  335. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +4 -4
  336. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +4 -4
  337. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +4 -4
  338. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +4 -4
  339. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +4 -4
  340. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +4 -4
  341. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +4 -4
  342. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +4 -4
  343. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +4 -4
  344. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +1 -1
  345. package/esm/sdk-ui-dashboard.d.ts +2648 -349
  346. package/package.json +25 -27
  347. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +0 -6
  348. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +0 -1
  349. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.js +0 -13
  350. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts +0 -8
  351. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.d.ts.map +0 -1
  352. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogFilters.js +0 -13
  353. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts +0 -3
  354. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogHeader.d.ts.map +0 -1
  355. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +0 -7
  356. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +0 -1
  357. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.js +0 -12
  358. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts +0 -8
  359. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts.map +0 -1
  360. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts +0 -19
  361. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertAttributeSelect.d.ts.map +0 -1
  362. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +0 -19
  363. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +0 -1
  364. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +0 -15
  365. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +0 -1
  366. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts +0 -12
  367. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertGranularitySelect.d.ts.map +0 -1
  368. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts +0 -13
  369. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +0 -1
  370. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts +0 -11
  371. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertSensitivitySelect.d.ts.map +0 -1
  372. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts +0 -12
  373. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertThresholdInput.d.ts.map +0 -1
  374. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts +0 -11
  375. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerIntervalSelect.d.ts.map +0 -1
  376. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts +0 -12
  377. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertTriggerModeSelect.d.ts.map +0 -1
  378. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +0 -23
  379. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +0 -1
  380. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertThreshold.d.ts.map +0 -1
  381. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +0 -1
  382. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.d.ts.map +0 -1
  383. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useThresholdValue.d.ts.map +0 -1
  384. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/convertors.d.ts.map +0 -1
  385. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/cron.d.ts.map +0 -1
  386. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/getters.d.ts.map +0 -1
  387. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/granularity.d.ts.map +0 -1
  388. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/guards.d.ts.map +0 -1
  389. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +0 -1
  390. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +0 -1
  391. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/threshold.d.ts.map +0 -1
  392. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/transformation.d.ts.map +0 -1
  393. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts +0 -3
  394. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Header/ScheduleEmailDialogHeader.d.ts.map +0 -1
  395. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts +0 -15
  396. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduleTimezoneSelect/ScheduleTimezoneSelect.d.ts.map +0 -1
  397. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +0 -6
  398. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +0 -1
  399. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +0 -10
  400. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts +0 -7
  401. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.d.ts.map +0 -1
  402. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogFilters.js +0 -11
  403. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +0 -6
  404. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +0 -1
  405. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +0 -8
  406. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useExportTimezones.d.ts.map +0 -1
  407. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +0 -23
  408. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +0 -1
  409. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +0 -1
  410. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleValidation.d.ts.map +0 -1
  411. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +0 -25
  412. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +0 -1
  413. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertThreshold.js +0 -0
  414. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.d.ts +0 -0
  415. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useAlertValidation.js +0 -0
  416. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/hooks → hooks}/useThresholdValue.js +0 -0
  417. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/convertors.js +0 -0
  418. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.d.ts +0 -0
  419. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/cron.js +0 -0
  420. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.d.ts +0 -0
  421. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/granularity.js +0 -0
  422. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.d.ts +0 -0
  423. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/guards.js +0 -0
  424. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.d.ts +0 -0
  425. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/responsive.js +0 -0
  426. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.d.ts +0 -0
  427. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog/utils → utils}/threshold.js +0 -0
  428. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog/hooks → hooks}/useScheduleValidation.d.ts +0 -0
@@ -1,16 +1,16 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
- import { type DateAttributeGranularity, type FilterContextItem, type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAlertTriggerInterval, type IAlertTriggerMode, type IAttribute, type IAttributeMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IMeasure, type IdentifierRef, type ParameterValue } from "@gooddata/sdk-model";
2
+ import { type DateAttributeGranularity, type FilterContextItem, type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAlertTriggerInterval, type IAlertTriggerMode, type IAttribute, type IAttributeMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IMeasure, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IdentifierRef, type ParameterValue } from "@gooddata/sdk-model";
3
3
  import { type IAutomationParameter } from "../../shared/automationFilters/automationParameters.js";
4
- import { type AttributeValue } from "../DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.js";
5
- import { type IMeasureFormatMap } from "../DefaultAlertingDialog/utils/getters.js";
6
- import { type AlertAttribute, type AlertMetric, type AlertMetricComparatorType } from "../types.js";
4
+ import { type AttributeValue } from "../hooks/useAttributeValuesFromExecResults.js";
5
+ import { type AlertAiOperator, type AlertAttribute, type AlertMetric, type AlertMetricComparator, type AlertMetricComparatorType, type IAlertingDialogProps } from "../types.js";
6
+ import { type IMeasureFormatMap } from "../utils/getters.js";
7
7
  /**
8
8
  * The alerting dialog's edit draft: the automation being edited, the baseline it is compared
9
9
  * against, and the form-level warning and title-validity flag that move with it.
10
10
  *
11
11
  * Changes on every keystroke; consumers re-render by design.
12
12
  *
13
- * @internal
13
+ * @alpha
14
14
  */
15
15
  export interface IAlertDraftContextValue {
16
16
  /**
@@ -36,25 +36,65 @@ export interface IAlertDraftContextValue {
36
36
  * Changes rarely: `onGranularityChange` is re-created when `triggerIntervalDirty` toggles or the
37
37
  * supported measures load.
38
38
  *
39
- * @internal
39
+ * @alpha
40
40
  */
41
41
  export interface IAlertActionsContextValue {
42
+ /**
43
+ * Replaces the draft; the change-handlers below are the preferred, field-scoped writes.
44
+ */
42
45
  setEditedAutomation: Dispatch<SetStateAction<IAutomationMetadataObjectDefinition | undefined>>;
46
+ /**
47
+ * Sets the alert title and re-validates its length.
48
+ */
43
49
  onTitleChange: (value: string) => void;
50
+ /**
51
+ * Selects the measure the condition targets; resets the comparison to the measure's defaults.
52
+ */
44
53
  onMeasureChange: (measure: AlertMetric) => void;
54
+ /**
55
+ * Slices the condition by an attribute value; `undefined` clears the slice.
56
+ */
45
57
  onAttributeChange: (attribute: AlertAttribute | undefined, value: AttributeValue | undefined) => void;
58
+ /**
59
+ * Switches the condition to a comparison against a fixed threshold.
60
+ */
46
61
  onComparisonOperatorChange: (measure: AlertMetric, comparisonOperator: IAlertComparisonOperator) => void;
62
+ /**
63
+ * Switches the condition to a relative (change / difference) comparison with the given operators.
64
+ */
47
65
  onRelativeOperatorChange: (measure: AlertMetric, relativeOperator: IAlertRelativeOperator, arithmeticOperator: IAlertRelativeArithmeticOperator) => void;
66
+ /**
67
+ * Switches the condition to anomaly detection on the measure.
68
+ */
48
69
  onAnomalyDetectionChange: (measure: AlertMetric) => void;
70
+ /**
71
+ * Sets the period a relative condition compares against (and its granularity when given).
72
+ */
49
73
  onComparisonTypeChange: (measure: AlertMetric | undefined, relativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined, comparisonType: AlertMetricComparatorType, granularity?: DateAttributeGranularity) => void;
74
+ /**
75
+ * Sets the anomaly-detection sensitivity.
76
+ */
50
77
  onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
51
78
  /**
52
- * `dirty` defaults to true; the granularity handler passes false when it derives the interval.
79
+ * Sets the trigger interval. `dirty` defaults to true; the granularity handler passes false when it
80
+ * derives the interval.
53
81
  */
54
82
  onTriggerIntervalChange: (triggerInterval: IAlertTriggerInterval, dirty?: boolean) => void;
83
+ /**
84
+ * Sets the anomaly-detection granularity; derives the trigger interval unless the user edited it.
85
+ */
55
86
  onGranularityChange: (measure: AlertMetric | undefined, granularity: IAlertAnomalyDetectionGranularity) => void;
87
+ /**
88
+ * Selects the notification channel; recipients incompatible with it are dropped.
89
+ */
56
90
  onDestinationChange: (destinationId: string) => void;
91
+ /**
92
+ * Sets when the alert fires: every evaluation or once per interval.
93
+ */
57
94
  onTriggerModeChange: (triggerMode: IAlertTriggerMode) => void;
95
+ /**
96
+ * Replaces the recipients with the complete updated array.
97
+ */
58
98
  onRecipientsChange: (recipients: IAutomationRecipient[]) => void;
59
99
  }
60
100
  /**
@@ -63,11 +103,20 @@ export interface IAlertActionsContextValue {
63
103
  *
64
104
  * Changes when an async load resolves, not per keystroke.
65
105
  *
66
- * @internal
106
+ * @alpha
67
107
  */
68
108
  export interface IAlertDataContextValue {
109
+ /**
110
+ * Measures of the insight an alert can be built on, with their comparisons.
111
+ */
69
112
  supportedMeasures: AlertMetric[];
113
+ /**
114
+ * Attributes of the insight an alert can be sliced by.
115
+ */
70
116
  supportedAttributes: AlertAttribute[];
117
+ /**
118
+ * Number formats of the insight's measures, by local identifier.
119
+ */
71
120
  measureFormatMap: IMeasureFormatMap;
72
121
  /**
73
122
  * Whether the widget's execution result is still loading.
@@ -97,10 +146,16 @@ export interface IAlertDataContextValue {
97
146
  *
98
147
  * Changes when a filter or a parameter is edited.
99
148
  *
100
- * @internal
149
+ * @alpha
101
150
  */
102
151
  export interface IAlertFiltersContextValue {
152
+ /**
153
+ * The filters the alert is saved with.
154
+ */
103
155
  selectedFilters: FilterContextItem[];
156
+ /**
157
+ * The dashboard filters the alert may use; undefined until resolved.
158
+ */
104
159
  availableFilters: FilterContextItem[] | undefined;
105
160
  /**
106
161
  * Replaces the selection with the complete updated array and mirrors it into the draft.
@@ -127,8 +182,17 @@ export interface IAlertFiltersContextValue {
127
182
  * Workspace parameters addable via the "+" menu. Empty when the feature is off.
128
183
  */
129
184
  availableParameters: IAutomationParameter[];
185
+ /**
186
+ * Sets a parameter's value.
187
+ */
130
188
  onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
189
+ /**
190
+ * Removes a parameter override.
191
+ */
131
192
  onParameterDelete: (ref: IdentifierRef) => void;
193
+ /**
194
+ * Adds a workspace parameter with its default value.
195
+ */
132
196
  onParameterAdd: (ref: IdentifierRef) => void;
133
197
  /**
134
198
  * Drops stored parameters whose `ref` left the workspace catalog, keeping every other override.
@@ -153,4 +217,110 @@ export type IAlertSupportedMetrics = Pick<IAlertDataContextValue, "supportedMeas
153
217
  * @internal
154
218
  */
155
219
  export type IAlertFiltersModel = Pick<IAlertFiltersContextValue, "selectedFilters" | "availableFilters" | "onFiltersChange" | "onApplyCurrentFilters" | "automationIsValid" | "filtersAreStale">;
220
+ /**
221
+ * The alerting dialog's currently selected form values, derived from the draft and the supported
222
+ * measures and attributes.
223
+ *
224
+ * @alpha
225
+ */
226
+ export interface IAlertSelectedValues {
227
+ /**
228
+ * The measure the condition targets; undefined until the draft names one the insight supports.
229
+ */
230
+ selectedMeasure: AlertMetric | undefined;
231
+ /**
232
+ * The operator of a fixed-threshold comparison condition.
233
+ */
234
+ selectedComparisonOperator: IAlertComparisonOperator | undefined;
235
+ /**
236
+ * The relative and arithmetic operators of a relative condition.
237
+ */
238
+ selectedRelativeOperator: [IAlertRelativeOperator, IAlertRelativeArithmeticOperator] | undefined;
239
+ /**
240
+ * The operator id of an anomaly-detection condition.
241
+ */
242
+ selectedAiOperator: AlertAiOperator | undefined;
243
+ /**
244
+ * The period comparison a relative condition uses.
245
+ */
246
+ selectedComparator: AlertMetricComparator | undefined;
247
+ /**
248
+ * The sensitivity of an anomaly-detection condition.
249
+ */
250
+ selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
251
+ /**
252
+ * The granularity of an anomaly-detection condition.
253
+ */
254
+ selectedGranularity: IAlertAnomalyDetectionGranularity | undefined;
255
+ /**
256
+ * The attribute the condition is sliced by.
257
+ */
258
+ selectedAttribute: AlertAttribute | undefined;
259
+ /**
260
+ * The attribute element URI the condition is sliced to; null for the empty value.
261
+ */
262
+ selectedValue: string | null | undefined;
263
+ /**
264
+ * The notification channel the draft targets, resolved against the available channels.
265
+ */
266
+ selectedNotificationChannel: INotificationChannelIdentifier | INotificationChannelMetadataObject | undefined;
267
+ /**
268
+ * Whether the selected channel accepts external (e-mail only) recipients.
269
+ */
270
+ allowExternalRecipients: boolean;
271
+ /**
272
+ * Whether the selected channel accepts only the creator as recipient.
273
+ */
274
+ allowOnlyLoggedUserRecipients: boolean;
275
+ }
276
+ /**
277
+ * The alerting dialog's validity.
278
+ *
279
+ * @alpha
280
+ */
281
+ export interface IAlertDialogValidity {
282
+ /**
283
+ * Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
284
+ */
285
+ isSubmitDisabled: boolean;
286
+ /**
287
+ * The validation message to show; undefined when there is none.
288
+ */
289
+ validationErrorMessage: string | undefined;
290
+ /**
291
+ * Whether the widget the alert is attached to still exists and supports the alert's measure.
292
+ */
293
+ isParentValid: boolean;
294
+ /**
295
+ * Whether the measure may be changed — false when the dialog has no insight.
296
+ */
297
+ canChangeMeasure: boolean;
298
+ /**
299
+ * Whether the saved alert points at a widget whose insight is gone.
300
+ */
301
+ isInvalidConnectionToInsight: boolean;
302
+ }
303
+ /**
304
+ * Lifecycle callbacks of {@link useAlertSubmit}: the dialog's own `onSuccess`/`onError` (create) and
305
+ * `onSaveSuccess`/`onSaveError` (edit).
306
+ *
307
+ * @alpha
308
+ */
309
+ export type IUseAlertSubmitCallbacks = Pick<IAlertingDialogProps, "onSuccess" | "onError" | "onSaveSuccess" | "onSaveError">;
310
+ /**
311
+ * The alerting dialog's submit path.
312
+ *
313
+ * @alpha
314
+ */
315
+ export interface IAlertSubmitState {
316
+ /**
317
+ * Whether a create or save is in flight.
318
+ */
319
+ isSaving: boolean;
320
+ /**
321
+ * Creates the alert (no `alertToEdit`) or saves the edited one; a second call while one is in
322
+ * flight is ignored.
323
+ */
324
+ submit: () => Promise<void>;
325
+ }
156
326
  //# sourceMappingURL=types.d.ts.map
@@ -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,aAAa,EAClB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MA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;IACH,mBAAmB,EAAE,iCAAiC,GAAG,SAAS,CAAC;IACnE;;OAEG;IACH,mBAAmB,EAAE,iCAAiC,GAAG,SAAS,CAAC;IACnE;;OAEG;IACH,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,2BAA2B,EACrB,8BAA8B,GAC9B,kCAAkC,GAClC,SAAS,CAAC;IAChB;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,6BAA6B,EAAE,OAAO,CAAC;CAC1C;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;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,15 +1,10 @@
1
+ import { type IAlertDialogValidity } from "./types.js";
1
2
  /**
2
3
  * Reads the alerting dialog's validity: whether submit is enabled, the validation message to show,
3
4
  * whether the parent widget is still valid, whether the measure may be changed, and whether the
4
5
  * saved alert points at a widget whose insight is gone.
5
6
  *
6
- * @internal
7
+ * @alpha
7
8
  */
8
- export declare function useAlertDialogValidity(): {
9
- isSubmitDisabled: boolean;
10
- validationErrorMessage: string | undefined;
11
- isParentValid: boolean;
12
- canChangeMeasure: boolean;
13
- isInvalidConnectionToInsight: boolean;
14
- };
9
+ export declare function useAlertDialogValidity(): IAlertDialogValidity;
15
10
  //# sourceMappingURL=useAlertDialogValidity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertDialogValidity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertDialogValidity.ts"],"names":[],"mappings":"AAUA;;;;;;GAMG;AACH,wBAAgB,sBAAsB,IAAI;IACtC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,sBAAsB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,4BAA4B,EAAE,OAAO,CAAC;CACzC,CAkCA"}
1
+ {"version":3,"file":"useAlertDialogValidity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertDialogValidity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAIvD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,IAAI,oBAAoB,CAkC7D"}
@@ -10,7 +10,7 @@ import { useAlertSelectedValues } from "./useAlertSelectedValues.js";
10
10
  * whether the parent widget is still valid, whether the measure may be changed, and whether the
11
11
  * saved alert points at a widget whose insight is gone.
12
12
  *
13
- * @internal
13
+ * @alpha
14
14
  */
15
15
  export function useAlertDialogValidity() {
16
16
  const { catalogDateDatasets, maxAutomationsRecipients } = useAutomationsContext();
@@ -1,7 +1,7 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
2
  import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationVisibleFilter, type IInsight, type IWidget, type WeekStart } from "@gooddata/sdk-model";
3
- import { type IMeasureFormatMap } from "../DefaultAlertingDialog/utils/getters.js";
4
3
  import { type AlertAttribute, type AlertMetric } from "../types.js";
4
+ import { type IMeasureFormatMap } from "../utils/getters.js";
5
5
  import { type IAlertFiltersModel } from "./types.js";
6
6
  /**
7
7
  * Props for {@link useAlertFiltersModel}.
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertFiltersModel.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertFiltersModel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAKnF,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAEpE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACvC,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/F,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,0BAA0B,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACnE,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACvC,uBAAuB,EAAE,iBAAiB,EAAE,CAAC;IAC7C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,sBAAsB,EAAE,iBAAiB,EAAE,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,eAAe,EAAE,WAAW,GAAG,SAAS,CAAC;IACzC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC9C,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,EACjC,mBAAmB,EACnB,WAAW,EACX,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,uBAAuB,EACvB,gCAAgC,EAChC,sBAAsB,EACtB,kBAAkB,EAClB,MAAM,EACN,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,QAAQ,EACX,EAAE,0BAA0B,GAAG,kBAAkB,CAsGjD"}
1
+ {"version":3,"file":"useAlertFiltersModel.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertFiltersModel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAe,MAAM,OAAO,CAAC;AAExE,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D,OAAO,EAAE,KAAK,kB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AAS,EACT,QAAQ,EACX,EAAE,0BAA0B,GAAG,kBAAkB,CAsGjD"}
@@ -2,7 +2,7 @@
2
2
  import { useCallback } from "react";
3
3
  import { useValidateExistingAutomationFilters } from "../../shared/automationFilters/hooks/useValidateExistingAutomationFilters.js";
4
4
  import { getAppliedWidgetFilters, getVisibleFiltersByFilters } from "../../shared/filters/index.js";
5
- import { transformAlertByAttribute, transformAlertByMetric, } from "../DefaultAlertingDialog/utils/transformation.js";
5
+ import { transformAlertByAttribute, transformAlertByMetric } from "../utils/transformation.js";
6
6
  /**
7
7
  * Owns the alerting dialog's single filter model: the current selection and available filters,
8
8
  * `onFiltersChange`/`onApplyCurrentFilters` to mutate the edited filters and mirror the result into
@@ -1,6 +1,6 @@
1
1
  import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationVisibleFilter, type IInsight, type INotificationChannelIdentifier, type INotificationChannelMetadataObject, type IWidget } from "@gooddata/sdk-model";
2
- import { type IMeasureFormatMap } from "../DefaultAlertingDialog/utils/getters.js";
3
2
  import { type AlertAttribute, type AlertMetric } from "../types.js";
3
+ import { type IMeasureFormatMap } from "../utils/getters.js";
4
4
  import { type IAlertFormState } from "./types.js";
5
5
  /**
6
6
  * Props for {@link useAlertFormState}.
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertFormState.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertFormState.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,iBAAiB,EAQtB,KAAK,yBAAyB,EAG9B,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EAEb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAiB7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAWnF,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAkC,MAAM,aAAa,CAAC;AAEpG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,uBAAuB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,WAAW,EACX,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,uBAAuB,EACvB,gCAAgC,EAChC,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EACnB,EAAE,uBAAuB,GAAG,eAAe,CA6Z3C"}
1
+ {"version":3,"file":"useAlertFormState.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertFormState.ts"],"names":[],"mappings":"AAMA,OAAO,EAEH,KAAK,iBAAiB,EAQtB,KAAK,yBAAyB,EAG9B,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EAEb,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAkC,MAAM,aAAa,CAAC;AAEpG,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAY7D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACpC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,uBAAuB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9C,gCAAgC,CAAC,EAAE,wBAAwB,EAAE,GAAG,SAAS,CAAC;IAC1E,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,gBAAgB,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,WAAW,EACX,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,uBAAuB,EACvB,gCAAgC,EAChC,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EACnB,EAAE,uBAAuB,GAAG,eAAe,CA6Z3C"}
@@ -8,8 +8,8 @@ import { useAutomationAlertParameters } from "../../shared/automationFilters/use
8
8
  import { getAppliedWidgetFilters, getVisibleFiltersByFilters, resolveFilterDimensionalityLocalRefs, } from "../../shared/filters/index.js";
9
9
  import { isAutomationTitleValid } from "../../shared/utils/automationTitle.js";
10
10
  import { convertExternalRecipientToAutomationRecipient, convertUserToAutomationRecipient, } from "../../shared/utils/automationUtils.js";
11
- import { createDefaultAlert } from "../DefaultAlertingDialog/utils/convertors.js";
12
- import { transformAlertByAnomalyDetection, transformAlertByAttribute, transformAlertByComparisonOperator, transformAlertByDestination, transformAlertByGranularity, transformAlertByMetric, transformAlertByRelativeOperator, transformAlertBySensitivity, } from "../DefaultAlertingDialog/utils/transformation.js";
11
+ import { createDefaultAlert } from "../utils/convertors.js";
12
+ import { transformAlertByAnomalyDetection, transformAlertByAttribute, transformAlertByComparisonOperator, transformAlertByDestination, transformAlertByGranularity, transformAlertByMetric, transformAlertByRelativeOperator, transformAlertBySensitivity, } from "../utils/transformation.js";
13
13
  /**
14
14
  * Owns the alerting dialog's editable state: the `editedAutomation` draft (initialized either
15
15
  * from `alertToEdit` or via `createDefaultAlert`), its `originalAutomation` baseline, the
@@ -3,8 +3,8 @@ import { isEqual } from "lodash-es";
3
3
  import { useIntl } from "react-intl";
4
4
  import { isAutomationExternalUserRecipient, isAutomationUnknownUserRecipient, isAutomationUserRecipient, } from "@gooddata/sdk-model";
5
5
  import { isEmail } from "../../scheduledEmail/utils/validate.js";
6
- import { useAlertValidation } from "../DefaultAlertingDialog/hooks/useAlertValidation.js";
7
- import { isAlertValueDefined } from "../DefaultAlertingDialog/utils/guards.js";
6
+ import { useAlertValidation } from "../hooks/useAlertValidation.js";
7
+ import { isAlertValueDefined } from "../utils/guards.js";
8
8
  export function useAlertFormValidation(props) {
9
9
  const { editedAutomation, originalAutomation, alertToEdit, widget, insight, catalogDateDatasets, isInvalidConnectionToInsight, selectedNotificationChannel, allowExternalRecipients, allowOnlyLoggedUserRecipients, maxAutomationsRecipients, defaultRecipient, isTitleValid, } = props;
10
10
  const intl = useIntl();
@@ -1,5 +1,6 @@
1
1
  import { type IAutomationMetadataObjectDefinition, type INotificationChannelIdentifier, type INotificationChannelMetadataObject } from "@gooddata/sdk-model";
2
2
  import { type AlertAttribute, type AlertMetric } from "../types.js";
3
+ import { type IAlertSelectedValues } from "./types.js";
3
4
  /**
4
5
  * Props for {@link getAlertSelectedValues}.
5
6
  * @internal
@@ -20,20 +21,7 @@ export interface IGetAlertSelectedValuesProps {
20
21
  *
21
22
  * @internal
22
23
  */
23
- export declare function getAlertSelectedValues({ editedAutomation, supportedMeasures, supportedAttributes, notificationChannels }: IGetAlertSelectedValuesProps): {
24
- selectedMeasure: AlertMetric | undefined;
25
- selectedComparisonOperator: import("@gooddata/sdk-model").IAlertComparisonOperator | undefined;
26
- selectedRelativeOperator: [import("@gooddata/sdk-model").IAlertRelativeOperator, import("@gooddata/sdk-model").IAlertRelativeArithmeticOperator] | undefined;
27
- selectedAiOperator: "AI.ANOMALY_DETECTION" | undefined;
28
- selectedComparator: import("../types.js").AlertMetricComparator | undefined;
29
- selectedSensitivity: import("@gooddata/sdk-model").IAlertAnomalyDetectionSensitivity | undefined;
30
- selectedGranularity: import("@gooddata/sdk-model").IAlertAnomalyDetectionGranularity | undefined;
31
- selectedAttribute: AlertAttribute | undefined;
32
- selectedValue: string | null | undefined;
33
- selectedNotificationChannel: INotificationChannelIdentifier | undefined;
34
- allowExternalRecipients: boolean;
35
- allowOnlyLoggedUserRecipients: boolean;
36
- };
24
+ export declare function getAlertSelectedValues({ editedAutomation, supportedMeasures, supportedAttributes, notificationChannels }: IGetAlertSelectedValuesProps): IAlertSelectedValues;
37
25
  /**
38
26
  * Reads the currently-selected form values for the alerting dialog.
39
27
  *
@@ -41,7 +29,7 @@ export declare function getAlertSelectedValues({ editedAutomation, supportedMeas
41
29
  * `useCallback` dependency arrays and `useAlertThreshold` arguments, so recomputing them every
42
30
  * render is what keeps those consumers behaving correctly.
43
31
  *
44
- * @internal
32
+ * @alpha
45
33
  */
46
- export declare function useAlertSelectedValues(): ReturnType<typeof getAlertSelectedValues>;
34
+ export declare function useAlertSelectedValues(): IAlertSelectedValues;
47
35
  //# sourceMappingURL=useAlertSelectedValues.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertSelectedValues.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertSelectedValues.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAa7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAKpE;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IACzC,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,CAAC;IAClE,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;CACjG;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,EACnC,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACvB,EAAE,4BAA4B;;;;;;;;;;;;;EA+B9B;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,IAAI,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAWlF"}
1
+ {"version":3,"file":"useAlertSelectedValues.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertSelectedValues.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAcpE,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IACzC,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,CAAC;IAClE,iBAAiB,EAAE,WAAW,EAAE,CAAC;IACjC,mBAAmB,EAAE,cAAc,EAAE,CAAC;IACtC,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;CACjG;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,EACnC,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACvB,EAAE,4BAA4B,GAAG,oBAAoB,CA+BrD;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,IAAI,oBAAoB,CAW7D"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
3
- import { getAlertAiOperator, getAlertAttribute, getAlertCompareOperator, getAlertComparison, getAlertGranularity, getAlertMeasure, getAlertRelativeOperator, getAlertSensitivity, } from "../DefaultAlertingDialog/utils/getters.js";
3
+ import { getAlertAiOperator, getAlertAttribute, getAlertCompareOperator, getAlertComparison, getAlertGranularity, getAlertMeasure, getAlertRelativeOperator, getAlertSensitivity, } from "../utils/getters.js";
4
4
  import { useAlertData } from "./AlertDataContext.js";
5
5
  import { useAlertDraft } from "./AlertDraftContext.js";
6
6
  /**
@@ -47,7 +47,7 @@ export function getAlertSelectedValues({ editedAutomation, supportedMeasures, su
47
47
  * `useCallback` dependency arrays and `useAlertThreshold` arguments, so recomputing them every
48
48
  * render is what keeps those consumers behaving correctly.
49
49
  *
50
- * @internal
50
+ * @alpha
51
51
  */
52
52
  export function useAlertSelectedValues() {
53
53
  const { editedAutomation } = useAlertDraft();
@@ -0,0 +1,13 @@
1
+ import { type IAlertSubmitState, type IUseAlertSubmitCallbacks } from "./types.js";
2
+ /**
3
+ * Submits the alerting dialog's draft: creates a new alert or saves the edited one, deriving a title
4
+ * when the draft has none, and routes the result to the matching callback. Guards against a second
5
+ * submit while one is in flight.
6
+ *
7
+ * Reads the draft, the supported measures, the edited alert and the separators from the alerting
8
+ * contexts, so it throws outside the alerting dialog's state providers.
9
+ *
10
+ * @alpha
11
+ */
12
+ export declare function useAlertSubmit({ onSuccess, onError, onSaveSuccess, onSaveError }: IUseAlertSubmitCallbacks): IAlertSubmitState;
13
+ //# sourceMappingURL=useAlertSubmit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAlertSubmit.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/useAlertSubmit.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEnF;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,EAC3B,SAAS,EACT,OAAO,EACP,aAAa,EACb,WAAW,EACd,EAAE,wBAAwB,GAAG,iBAAiB,CA+C9C"}
@@ -2,11 +2,11 @@
2
2
  import { useRef, useState } from "react";
3
3
  import { useIntl } from "react-intl";
4
4
  import { convertError } from "@gooddata/sdk-ui";
5
- import { useAlertingDialogContext } from "../../../contexts/AlertingDialogContext.js";
6
- import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
7
- import { useAlertData } from "../../state/AlertDataContext.js";
8
- import { useAlertDraft } from "../../state/AlertDraftContext.js";
5
+ import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
6
+ import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
9
7
  import { getDescription } from "../utils/getters.js";
8
+ import { useAlertData } from "./AlertDataContext.js";
9
+ import { useAlertDraft } from "./AlertDraftContext.js";
10
10
  /**
11
11
  * Submits the alerting dialog's draft: creates a new alert or saves the edited one, deriving a title
12
12
  * when the draft has none, and routes the result to the matching callback. Guards against a second
@@ -15,7 +15,7 @@ import { getDescription } from "../utils/getters.js";
15
15
  * Reads the draft, the supported measures, the edited alert and the separators from the alerting
16
16
  * contexts, so it throws outside the alerting dialog's state providers.
17
17
  *
18
- * @internal
18
+ * @alpha
19
19
  */
20
20
  export function useAlertSubmit({ onSuccess, onError, onSaveSuccess, onSaveError, }) {
21
21
  const intl = useIntl();
@@ -3,9 +3,9 @@ import { useEffect, useMemo, useState } from "react";
3
3
  import { fillMissingTitles } from "@gooddata/sdk-ui";
4
4
  import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
5
5
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
6
- import { useAttributeValuesFromExecResults } from "../DefaultAlertingDialog/hooks/useAttributeValuesFromExecResults.js";
7
- import { getMeasureFormatsFromExecution } from "../DefaultAlertingDialog/utils/getters.js";
8
- import { getSupportedInsightAttributesByInsight, getSupportedInsightMeasuresByInsight, } from "../DefaultAlertingDialog/utils/items.js";
6
+ import { useAttributeValuesFromExecResults } from "../hooks/useAttributeValuesFromExecResults.js";
7
+ import { getMeasureFormatsFromExecution } from "../utils/getters.js";
8
+ import { getSupportedInsightAttributesByInsight, getSupportedInsightMeasuresByInsight, } from "../utils/items.js";
9
9
  /**
10
10
  * Derives which measures and attributes the alerting dialog may offer for the current widget: it
11
11
  * resolves the effective insight and its execution result, then narrows the catalog down to the
@@ -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"}