@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
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { DefaultScheduledEmailDialogTimezone } from "../DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js";
4
+ import { useScheduledExportDraft } from "../state/ScheduledExportDraftContext.js";
5
+ import { useScheduledEmailDialogTimezoneProps } from "../state/useScheduledEmailDialogRegionProps.js";
6
+ import { WhenScheduledEmailDialogLoaded } from "./WhenScheduledEmailDialogLoaded.js";
7
+ /**
8
+ * The scheduled-export dialog's "Time zone" section (the export-content timezone picker), connected
9
+ * to the dialog's state.
10
+ *
11
+ * Renders {@link DefaultScheduledEmailDialogTimezone} with the props of
12
+ * {@link useScheduledEmailDialogTimezoneProps}; every prop passed here replaces the hook's value
13
+ * wholesale. Renders nothing while `useScheduledEmailDialogContext().isLoading` is true, and nothing
14
+ * when `useScheduledExportDraft().canSelectScheduleTimezone` is false — the schedule may not define
15
+ * its own timezone then, exactly as in the default dialog.
16
+ *
17
+ * @alpha
18
+ */
19
+ export function ScheduledEmailDialogTimezone(overrides) {
20
+ return (_jsx(WhenScheduledEmailDialogLoaded, { children: _jsx(ConnectedScheduledEmailDialogTimezone, { ...overrides }) }));
21
+ }
22
+ function ConnectedScheduledEmailDialogTimezone(overrides) {
23
+ const { canSelectScheduleTimezone } = useScheduledExportDraft();
24
+ const defaultProps = useScheduledEmailDialogTimezoneProps();
25
+ return canSelectScheduleTimezone ? (_jsx(DefaultScheduledEmailDialogTimezone, { ...defaultProps, ...overrides })) : null;
26
+ }
@@ -0,0 +1,14 @@
1
+ import { type ReactNode } from "react";
2
+ /**
3
+ * Renders its children only once the scheduled-export dialog's data has loaded — the state accessors
4
+ * throw while `useScheduledEmailDialogContext().isLoading` is true, because the state providers mount
5
+ * only then. Every connected scheduled-email block goes through it. On scheduled email this state is
6
+ * on the ordinary path — a widget export renders while its filters load — so a shell sees its blocks
7
+ * appear once loading ends.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare function WhenScheduledEmailDialogLoaded({ children }: {
12
+ children: ReactNode;
13
+ }): import("react/jsx-runtime").JSX.Element | null;
14
+ //# sourceMappingURL=WhenScheduledEmailDialogLoaded.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WhenScheduledEmailDialogLoaded.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/blocks/WhenScheduledEmailDialogLoaded.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,kDAGnF"}
@@ -0,0 +1,15 @@
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
3
+ /**
4
+ * Renders its children only once the scheduled-export dialog's data has loaded — the state accessors
5
+ * throw while `useScheduledEmailDialogContext().isLoading` is true, because the state providers mount
6
+ * only then. Every connected scheduled-email block goes through it. On scheduled email this state is
7
+ * on the ordinary path — a widget export renders while its filters load — so a shell sees its blocks
8
+ * appear once loading ends.
9
+ *
10
+ * @internal
11
+ */
12
+ export function WhenScheduledEmailDialogLoaded({ children }) {
13
+ const { isLoading } = useScheduledEmailDialogContext();
14
+ return isLoading ? null : _jsx(_Fragment, { children: children });
15
+ }
@@ -1,4 +1,4 @@
1
- import { type IScheduleTimezoneSelection } from "../../types.js";
1
+ import { type IScheduleTimezoneSelection } from "../types.js";
2
2
  /**
3
3
  * Export-content timezone inputs for scheduled export definitions (unrelated to the schedule
4
4
  * cron timezone). What gets baked into a NEW schedule — and what the Default option means —
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportTimezones.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/hooks/useExportTimezones.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAAC,gBAAgB,EAAE,OAAO,GAAG;IAC3D;;;OAGG;IACH,wBAAwB,EAAE,OAAO,CAAC;IAClC;;;;;OAKG;IACH,yBAAyB,EAAE,OAAO,CAAC;IACnC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC;;;OAGG;IACH,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC;;;;OAIG;IACH,gBAAgB,EAAE,0BAA0B,CAAC;IAC7C;;;;;OAKG;IACH,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/C,CAsCA"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { resolveTimezoneId } from "@gooddata/sdk-model";
3
- import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
3
+ import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
4
4
  /**
5
5
  * Export-content timezone inputs for scheduled export definitions (unrelated to the schedule
6
6
  * cron timezone). What gets baked into a NEW schedule — and what the Default option means —
@@ -1,6 +1,6 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
2
  import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IWidget } from "@gooddata/sdk-model";
3
- import { type IScheduleTimezoneState } from "../../state/types.js";
3
+ import { type IScheduleTimezoneState } from "../state/types.js";
4
4
  export interface IUseScheduleTimezoneProps {
5
5
  scheduledExportToEdit?: IAutomationMetadataObject;
6
6
  widget?: IWidget;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScheduleTimezone.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/hooks/useScheduleTimezone.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAyB,MAAM,OAAO,CAAC;AAElF,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAKhE,MAAM,WAAW,yBAAyB;IACtC,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAClD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAAC,CAAC;CACtF;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,qBAAqB,EACrB,MAAM,EACN,mBAAmB,EACtB,EAAE,yBAAyB,GAAG,sBAAsB,CA0EpD"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { useCallback, useState } from "react";
3
- import { getExportDefinitionsTimezone, withExportDefinitionsTimezone, } from "../../state/exportDefinitions.js";
3
+ import { getExportDefinitionsTimezone, withExportDefinitionsTimezone } from "../state/exportDefinitions.js";
4
4
  import { useExportTimezones } from "./useExportTimezones.js";
5
5
  /**
6
6
  * Owns the "Time zone" section state of the scheduled-email dialog.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScheduleValidation.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/hooks/useScheduleValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mCAAmC,EAI3C,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,qBAAqB;;CAsBjC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
2
  import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
3
- import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
3
+ import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
4
4
  export const useScheduleValidation = (schedule) => {
5
5
  const { widgetExistsByRef } = useAutomationsContext();
6
6
  const isDashboardSchedule = schedule.exportDefinitions?.some((exportDefinition) => isExportDefinitionDashboardRequestPayload(exportDefinition.requestPayload));
@@ -4,7 +4,7 @@ import { useMemo } from "react";
4
4
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
5
5
  import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
6
6
  import { useAutomationFiltersSelect } from "../../shared/automationFilters/useAutomationFiltersSelect.js";
7
- import { useScheduleTimezone } from "../DefaultScheduledEmailDialog/hooks/useScheduleTimezone.js";
7
+ import { useScheduleTimezone } from "../hooks/useScheduleTimezone.js";
8
8
  import { getDefaultPdfPageSize } from "../utils/pdfPageSize.js";
9
9
  import { ScheduledExportActionsContextProvider } from "./ScheduledExportActionsContext.js";
10
10
  import { ScheduledExportDataContextProvider } from "./ScheduledExportDataContext.js";
@@ -8,7 +8,7 @@ export declare const ScheduledExportActionsContextProvider: import("react").Prov
8
8
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
9
9
  * ordinary path here: a widget export renders while its filters load.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useScheduledExportActions(): IScheduledExportActionsContextValue;
14
14
  //# sourceMappingURL=ScheduledExportActionsContext.d.ts.map
@@ -12,7 +12,7 @@ export const ScheduledExportActionsContextProvider = ScheduledExportActionsConte
12
12
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
13
13
  * ordinary path here: a widget export renders while its filters load.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useScheduledExportActions() {
18
18
  return (useContext(ScheduledExportActionsContext) ??
@@ -8,7 +8,7 @@ export declare const ScheduledExportDataContextProvider: import("react").Provide
8
8
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
9
9
  * ordinary path here: a widget export renders while its filters load.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useScheduledExportData(): IScheduledExportDataContextValue;
14
14
  //# sourceMappingURL=ScheduledExportDataContext.d.ts.map
@@ -12,7 +12,7 @@ export const ScheduledExportDataContextProvider = ScheduledExportDataContext.Pro
12
12
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
13
13
  * ordinary path here: a widget export renders while its filters load.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useScheduledExportData() {
18
18
  return (useContext(ScheduledExportDataContext) ??
@@ -8,7 +8,7 @@ export declare const ScheduledExportDraftContextProvider: import("react").Provid
8
8
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
9
9
  * ordinary path here: a widget export renders while its filters load.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useScheduledExportDraft(): IScheduledExportDraftContextValue;
14
14
  //# sourceMappingURL=ScheduledExportDraftContext.d.ts.map
@@ -12,7 +12,7 @@ export const ScheduledExportDraftContextProvider = ScheduledExportDraftContext.P
12
12
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
13
13
  * ordinary path here: a widget export renders while its filters load.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useScheduledExportDraft() {
18
18
  return (useContext(ScheduledExportDraftContext) ??
@@ -8,7 +8,7 @@ export declare const ScheduledExportFiltersContextProvider: import("react").Prov
8
8
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
9
9
  * ordinary path here: a widget export renders while its filters load.
10
10
  *
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare function useScheduledExportFilters(): IScheduledExportFiltersContextValue;
14
14
  //# sourceMappingURL=ScheduledExportFiltersContext.d.ts.map
@@ -12,7 +12,7 @@ export const ScheduledExportFiltersContextProvider = ScheduledExportFiltersConte
12
12
  * `ScheduledEmailDialogComponent` must check that flag before calling this. That state is on the
13
13
  * ordinary path here: a widget export renders while its filters load.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useScheduledExportFilters() {
18
18
  return (useContext(ScheduledExportFiltersContext) ??
@@ -2,16 +2,19 @@ import { type Dispatch, type SetStateAction } from "react";
2
2
  import { type DashboardAttachmentType, type FilterContextItem, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IDashboardExportParameter, type IExportDefinitionVisualizationObjectSettings, type IdentifierRef, type ParameterValue, type WidgetAttachmentType } from "@gooddata/sdk-model";
3
3
  import { type IAutomationFiltersTab } from "../../../../model/store/filtering/types.js";
4
4
  import { type IAutomationParameter } from "../../shared/automationFilters/automationParameters.js";
5
- import { type IScheduleTimezoneSelection } from "../types.js";
5
+ import { type IScheduleTimezoneSelection, type IScheduledEmailDialogProps } from "../types.js";
6
6
  /**
7
7
  * The scheduled-export dialog's edit draft: the automation being edited, its baseline, the derived
8
8
  * start date, the per-field validity flags, and the "Time zone" section's state.
9
9
  *
10
10
  * Changes on every keystroke; consumers re-render by design.
11
11
  *
12
- * @internal
12
+ * @alpha
13
13
  */
14
14
  export interface IScheduledExportDraftContextValue {
15
+ /**
16
+ * The schedule being edited; seeded from the saved schedule or the defaults for a new one.
17
+ */
15
18
  editedAutomation: IAutomationMetadataObjectDefinition;
16
19
  /**
17
20
  * The draft as it was when the dialog opened; the dirty check compares against it.
@@ -21,9 +24,21 @@ export interface IScheduledExportDraftContextValue {
21
24
  * The schedule's first run in the user's timezone, normalized for the recurrence form.
22
25
  */
23
26
  startDate: Date;
27
+ /**
28
+ * Whether the recurrence form's cron expression is valid.
29
+ */
24
30
  isCronValid: boolean;
31
+ /**
32
+ * Whether the title passes the length limit.
33
+ */
25
34
  isTitleValid: boolean;
35
+ /**
36
+ * Whether the e-mail subject passes its validation.
37
+ */
26
38
  isSubjectValid: boolean;
39
+ /**
40
+ * Whether the e-mail message passes its validation.
41
+ */
27
42
  isOnMessageValid: boolean;
28
43
  /**
29
44
  * The enableTimezoneChange setting; timezone-related presentation is gated by it.
@@ -33,6 +48,9 @@ export interface IScheduledExportDraftContextValue {
33
48
  * Whether the schedule may define its own export timezone (the "Time zone" section renders).
34
49
  */
35
50
  canSelectScheduleTimezone: boolean;
51
+ /**
52
+ * The "Time zone" section's current selection (the Default option or a concrete timezone).
53
+ */
36
54
  scheduleTimezoneSelection: IScheduleTimezoneSelection;
37
55
  /**
38
56
  * Concrete timezone the dashboard-schedule Default option currently resolves to (display only).
@@ -50,16 +68,40 @@ export interface IScheduledExportDraftContextValue {
50
68
  *
51
69
  * Changes rarely.
52
70
  *
53
- * @internal
71
+ * @alpha
54
72
  */
55
73
  export interface IScheduledExportActionsContextValue {
74
+ /**
75
+ * Replaces the draft; the change-handlers below are the preferred, field-scoped writes.
76
+ */
56
77
  setEditedAutomation: Dispatch<SetStateAction<IAutomationMetadataObjectDefinition>>;
78
+ /**
79
+ * Sets the schedule title and re-validates its length.
80
+ */
57
81
  onTitleChange: (value: string) => void;
82
+ /**
83
+ * Sets the cron expression and first run; `isValid` is the recurrence form's own verdict.
84
+ */
58
85
  onRecurrenceChange: (cronExpression: string, startDate: Date | null, isValid: boolean) => void;
86
+ /**
87
+ * Switches between a shared and a per-recipient evaluation of the export.
88
+ */
59
89
  onEvaluationModeChange: (isShared: boolean) => void;
90
+ /**
91
+ * Selects the notification channel; recipients incompatible with it are dropped.
92
+ */
60
93
  onDestinationChange: (notificationChannelId: string) => void;
94
+ /**
95
+ * Replaces the recipients with the complete updated array.
96
+ */
61
97
  onRecipientsChange: (recipients: IAutomationRecipient[]) => void;
98
+ /**
99
+ * Sets the e-mail subject; `isValid` is the subject field's own verdict.
100
+ */
62
101
  onSubjectChange: (value: string | number, isValid: boolean) => void;
102
+ /**
103
+ * Sets the e-mail message; `isValid` is the message field's own verdict.
104
+ */
63
105
  onMessageChange: (value: string, isValid: boolean) => void;
64
106
  /**
65
107
  * Replaces the dashboard export formats; new definitions inherit the current filters and timezone.
@@ -69,10 +111,25 @@ export interface IScheduledExportActionsContextValue {
69
111
  * Replaces the widget export formats; throws when the dialog has no widget.
70
112
  */
71
113
  onWidgetAttachmentsChange: (formats: WidgetAttachmentType[]) => void;
114
+ /**
115
+ * Sets the XLSX export settings (merge headers, export info).
116
+ */
72
117
  onXlsxSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
118
+ /**
119
+ * Sets the tabular-PDF export settings (page size, orientation, export info).
120
+ */
73
121
  onPdfSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
122
+ /**
123
+ * Sets the CSV export settings (delimiter).
124
+ */
74
125
  onCsvSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
126
+ /**
127
+ * Sets the raw-CSV export settings (delimiter).
128
+ */
75
129
  onCsvRawSettingsChange: (settings: IExportDefinitionVisualizationObjectSettings) => void;
130
+ /**
131
+ * Sets the slides template of one slides format; undefined restores the default template.
132
+ */
76
133
  onSlidesTemplateIdChange: (templateId: string | undefined, format: "PPTX" | "PDF_SLIDES" | "PDF") => void;
77
134
  /**
78
135
  * Picks the export-content timezone; undefined selects the Default option.
@@ -89,10 +146,16 @@ export interface IScheduledExportActionsContextValue {
89
146
  *
90
147
  * Changes when the current user or the override changes, so not while the draft is edited.
91
148
  *
92
- * @internal
149
+ * @alpha
93
150
  */
94
151
  export interface IScheduledExportDataContextValue {
152
+ /**
153
+ * The logged-in user as a recipient.
154
+ */
95
155
  defaultUser: IAutomationRecipient;
156
+ /**
157
+ * The recipient a new schedule is seeded with; an external-recipient override replaces the user.
158
+ */
96
159
  defaultRecipient: IAutomationRecipient;
97
160
  }
98
161
  /**
@@ -102,10 +165,16 @@ export interface IScheduledExportDataContextValue {
102
165
  *
103
166
  * Changes when a filter, a parameter or the store-filters toggle is edited; never per keystroke.
104
167
  *
105
- * @internal
168
+ * @alpha
106
169
  */
107
170
  export interface IScheduledExportFiltersContextValue {
171
+ /**
172
+ * The filters the schedule is saved with (flat mode).
173
+ */
108
174
  selectedFilters: FilterContextItem[];
175
+ /**
176
+ * The dashboard filters the schedule may use; undefined until resolved.
177
+ */
109
178
  availableFilters: FilterContextItem[] | undefined;
110
179
  /**
111
180
  * Whether the schedule stores its own filters instead of using the latest saved dashboard filters.
@@ -115,12 +184,18 @@ export interface IScheduledExportFiltersContextValue {
115
184
  * Filters structured per dashboard tab; present with more than one tab.
116
185
  */
117
186
  filtersByTab: IAutomationFiltersTab[] | undefined;
187
+ /**
188
+ * The edited selection per dashboard tab (by-tab mode).
189
+ */
118
190
  editedFiltersByTab: Record<string, FilterContextItem[]> | undefined;
119
191
  /**
120
192
  * Replaces the selection with the complete updated array and mirrors it into the export
121
193
  * definitions. `storeFiltersParam` overrides the current toggle value for this write.
122
194
  */
123
195
  onFiltersChange: (filters: FilterContextItem[], storeFiltersParam?: boolean) => void;
196
+ /**
197
+ * By-tab counterpart of `onFiltersChange`: replaces the per-tab selection wholesale.
198
+ */
124
199
  onFiltersByTabChange: (newFiltersByTab: Record<string, FilterContextItem[]>, storeFiltersParam?: boolean) => void;
125
200
  /**
126
201
  * Replaces the selection with the dashboard's current filters (the stale-filters repair).
@@ -140,6 +215,9 @@ export interface IScheduledExportFiltersContextValue {
140
215
  * Whether the saved filters alone no longer match the dashboard.
141
216
  */
142
217
  filtersAreStale: boolean;
218
+ /**
219
+ * Whether the export-parameters feature is on; the parameter members below are empty when off.
220
+ */
143
221
  parametersEnabled: boolean;
144
222
  /**
145
223
  * Per-tab visible parameters to render as chips.
@@ -154,11 +232,29 @@ export interface IScheduledExportFiltersContextValue {
154
232
  * parameter context applies.
155
233
  */
156
234
  flatTabId: string | undefined;
235
+ /**
236
+ * Adds a workspace parameter with its default value on the flat tab.
237
+ */
157
238
  onParameterAdd: (ref: IdentifierRef) => void;
239
+ /**
240
+ * Sets a parameter's value on the flat tab.
241
+ */
158
242
  onParameterChange: (ref: IdentifierRef, value: ParameterValue) => void;
243
+ /**
244
+ * Removes a parameter override on the flat tab.
245
+ */
159
246
  onParameterDelete: (ref: IdentifierRef) => void;
247
+ /**
248
+ * Adds a workspace parameter with its default value on the given tab.
249
+ */
160
250
  onParameterAddByTab: (tabId: string, ref: IdentifierRef) => void;
251
+ /**
252
+ * Sets a parameter's value on the given tab.
253
+ */
161
254
  onParameterChangeByTab: (tabId: string, ref: IdentifierRef, value: ParameterValue) => void;
255
+ /**
256
+ * Removes a parameter override on the given tab.
257
+ */
162
258
  onParameterDeleteByTab: (tabId: string, ref: IdentifierRef) => void;
163
259
  /**
164
260
  * Resets the parameters to the dashboard's current effective values (the "apply latest" flow).
@@ -201,4 +297,107 @@ export type IScheduleTimezoneState = Pick<IScheduledExportDraftContextValue, "is
201
297
  timezoneId: string | undefined;
202
298
  };
203
299
  };
300
+ /**
301
+ * The scheduled-export dialog's validity.
302
+ *
303
+ * @alpha
304
+ */
305
+ export interface IScheduledExportDialogValidity {
306
+ /**
307
+ * Whether submit is disabled: the draft is invalid, incomplete, or unchanged in edit mode.
308
+ * Undefined (falsy) in create mode when nothing else disables it.
309
+ */
310
+ isSubmitDisabled: boolean | undefined;
311
+ /**
312
+ * The validation message to show; undefined when there is none.
313
+ */
314
+ validationErrorMessage: string | undefined;
315
+ /**
316
+ * Whether the schedule's source (widget or dashboard) still exists.
317
+ */
318
+ isParentValid: boolean;
319
+ /**
320
+ * Whether the selected channel accepts external (e-mail only) recipients.
321
+ */
322
+ allowExternalRecipients: boolean;
323
+ /**
324
+ * Whether the selected channel accepts only the creator as recipient.
325
+ */
326
+ allowOnlyLoggedUserRecipients: boolean;
327
+ }
328
+ /**
329
+ * What the scheduled-export dialog's attachment section displays, derived from the draft's export
330
+ * definitions with the defaults applied.
331
+ *
332
+ * @alpha
333
+ */
334
+ export interface IScheduledExportAttachments {
335
+ /**
336
+ * The formats of the draft's export definitions, in definition order.
337
+ */
338
+ selectedAttachments: Array<DashboardAttachmentType | WidgetAttachmentType>;
339
+ /**
340
+ * Whether the draft holds a whole-dashboard export definition (true for a draft with none yet).
341
+ */
342
+ isDashboardExportSelected: boolean;
343
+ /**
344
+ * Whether the draft holds a widget CSV export definition.
345
+ */
346
+ isCsvExportSelected: boolean;
347
+ /**
348
+ * Whether the draft holds a widget XLSX export definition.
349
+ */
350
+ isXlsxExportSelected: boolean;
351
+ /**
352
+ * XLSX settings; `mergeHeaders` and `exportInfo` default to true.
353
+ */
354
+ xlsxSettings: IExportDefinitionVisualizationObjectSettings;
355
+ /**
356
+ * Tabular-PDF settings; page size defaults from the workspace locale, orientation to portrait,
357
+ * `exportInfo` to true.
358
+ */
359
+ pdfSettings: IExportDefinitionVisualizationObjectSettings;
360
+ /**
361
+ * CSV settings; an undefined `delimiter` is the backend default.
362
+ */
363
+ csvSettings: IExportDefinitionVisualizationObjectSettings;
364
+ /**
365
+ * Raw-CSV settings; an undefined `delimiter` is the backend default.
366
+ */
367
+ csvRawSettings: IExportDefinitionVisualizationObjectSettings;
368
+ /**
369
+ * The slides template chosen per slides format; undefined where the default template applies.
370
+ */
371
+ slidesTemplateIds: {
372
+ PPTX: string | undefined;
373
+ PDF_SLIDES: string | undefined;
374
+ PDF: string | undefined;
375
+ };
376
+ }
377
+ /**
378
+ * Lifecycle callbacks of {@link useSaveScheduledEmailToBackend}: `onSubmit`/`onSuccess`/`onError`
379
+ * (create) and `onSave`/`onSaveSuccess`/`onSaveError` (edit).
380
+ *
381
+ * @alpha
382
+ */
383
+ export type IUseSaveScheduledEmailCallbacks = Pick<IScheduledEmailDialogProps, "onSuccess" | "onError" | "onSubmit" | "onSaveSuccess" | "onSaveError" | "onSave">;
384
+ /**
385
+ * The scheduled-export dialog's save path.
386
+ *
387
+ * @alpha
388
+ */
389
+ export interface IScheduledEmailSaveState {
390
+ /**
391
+ * Creates the schedule (draft without an id) or updates it (draft with one), after sanitizing it.
392
+ */
393
+ handleSaveScheduledEmail: () => void;
394
+ /**
395
+ * Whether a create or update is in flight.
396
+ */
397
+ isSavingScheduledEmail: boolean;
398
+ /**
399
+ * A 400 response's detail message, shown in the dialog without closing it; undefined otherwise.
400
+ */
401
+ savingErrorMessage: string | undefined;
402
+ }
204
403
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,4CAA4C,EACjD,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AACnG,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;;;;GAOG;AACH,MAAM,WAAW,iCAAiC;IAC9C,gBAAgB,EAAE,mCAAmC,CAAC;IACtD;;OAEG;IACH,kBAAkB,EAAE,mCAAmC,CAAC;IACxD;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,OAAO,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AClB,oBAAoB,GACpB,WAAW,GACX,aAAa,GACb,cAAc,GACd,gBAAgB,GAChB,kBAAkB,CACvB,GACG,IAAI,CACA,mCAAmC,EACjC,qBAAqB,GACrB,eAAe,GACf,oBAAoB,GACpB,wBAAwB,GACxB,qBAAqB,GACrB,oBAAoB,GACpB,iBAAiB,GACjB,iBAAiB,CACtB,GACD,gCAAgC,CAAC;AAErC;;;;;GAKG;AACH,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC5C,mCAAmC,EACjC,8BAA8B,GAC9B,2BAA2B,GAC3B,sBAAsB,GACtB,qBAAqB,GACrB,qBAAqB,GACrB,wBAAwB,GACxB,0BAA0B,CAC/B,GAAG;IACA,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,KAAK,IAAI,CAAC;CAC9F,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACrC,iCAAiC,EAC/B,0BAA0B,GAC1B,2BAA2B,GAC3B,2BAA2B,GAC3B,yBAAyB,GACzB,yBAAyB,CAC9B,GACG,IAAI,CAAC,mCAAmC,EAAE,0BAA0B,GAAG,8BAA8B,CAAC,GAAG;IACrG;;;;OAIG;IACH,gBAAgB,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CACzE,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,4CAA4C,EACjD,KAAK,aAAa,EAClB,K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A4C,CAAC;IAC7D;;OAEG;IACH,iBAAiB,EAAE;QAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAC5G;AAED;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAC9C,0BAA0B,EAC1B,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,eAAe,GAAG,aAAa,GAAG,QAAQ,CACpF,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC;;OAEG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1C"}
@@ -0,0 +1,12 @@
1
+ import { type IScheduledEmailSaveState, type IUseSaveScheduledEmailCallbacks } from "./types.js";
2
+ /**
3
+ * Saves the scheduled-export dialog's draft: creates a new schedule or updates the edited one after
4
+ * sanitizing it, keeps a 400 response's detail as an in-dialog error message, and routes everything
5
+ * else to the matching callback.
6
+ *
7
+ * Reads the draft from the scheduled-export state contexts, so it throws outside them.
8
+ *
9
+ * @alpha
10
+ */
11
+ export declare function useSaveScheduledEmailToBackend({ onSuccess, onError, onSubmit, onSaveSuccess, onSaveError, onSave }: IUseSaveScheduledEmailCallbacks): IScheduledEmailSaveState;
12
+ //# sourceMappingURL=useSaveScheduledEmailToBackend.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSaveScheduledEmailToBackend.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAEjG;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,EAC3C,SAAS,EACT,OAAO,EACP,QAAQ,EACR,aAAa,EACb,WAAW,EACX,MAAM,EACT,EAAE,+BAA+B,GAAG,wBAAwB,CAwE5D"}
@@ -3,8 +3,8 @@ import { useCallback, useState } from "react";
3
3
  import { omit } from "lodash-es";
4
4
  import { useIntl } from "react-intl";
5
5
  import { isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
6
- import { useScheduledEmailDialogContext } from "../../../contexts/ScheduledEmailDialogContext.js";
7
- import { useScheduledExportDraft } from "../../state/ScheduledExportDraftContext.js";
6
+ import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
7
+ import { useScheduledExportDraft } from "./ScheduledExportDraftContext.js";
8
8
  /**
9
9
  * Saves the scheduled-export dialog's draft: creates a new schedule or updates the edited one after
10
10
  * sanitizing it, keeps a 400 response's detail as an in-dialog error message, and routes everything
@@ -12,7 +12,7 @@ import { useScheduledExportDraft } from "../../state/ScheduledExportDraftContext
12
12
  *
13
13
  * Reads the draft from the scheduled-export state contexts, so it throws outside them.
14
14
  *
15
- * @internal
15
+ * @alpha
16
16
  */
17
17
  export function useSaveScheduledEmailToBackend({ onSuccess, onError, onSubmit, onSaveSuccess, onSaveError, onSave, }) {
18
18
  const intl = useIntl();