@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 +1 @@
1
- {"version":3,"file":"parametersSelectors.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EAExB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,cAAc,EAGtB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,OAAO,EAEH,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAe/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,KAAK,wBAAwB,EAGhC,MAAM,sBAAsB,CAAC;AAyB9B;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAAE,iBAAiB,CAAC,mBAAmB,EAAE,CAG9E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,CAG/E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAA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E,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,CACvC,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,uBAAuB,GAAG,SAAS,CAoCzD,CAAC;AAqBF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,uCAAuC,EAAE,CAClD,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,sBAAsB,EAAE,CAa9C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,+CAA+C,EAAE,CAC1D,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,sBAAsB,EAAE,CAa9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,2CAA2C,EAAE,CACtD,GAAG,EAAE,MAAM,GAAG,SAAS,KACtB,iBAAiB,CAAC,mBAAmB,EAAE,CAe3C,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,+BAA+B,EAAE,CAC1C,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,KAC9B,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,CAGX,CAAC;AAsDxD;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,yBAAyB,EAAE,CAI1F,CAAC"}
@@ -10,7 +10,7 @@ import { selectIsInEditMode } from "../../renderMode/renderModeSelectors.js";
10
10
  import { selectAllTabsInsightWidgetContexts } from "../layout/layoutSelectors.js";
11
11
  import { selectActiveOrDefaultTabLocalIdentifier, selectActiveTab, selectTabs } from "../tabsSelectors.js";
12
12
  import { DEFAULT_TAB_ID } from "../tabsState.js";
13
- import { EMPTY_EXPORT_PARAMETERS_BY_TAB, applyRuntimeOverride, buildPersistedByTabAndRef, buildWidgetScopeTabRefSelections, buildWorkspaceParametersByRef, classifyParameterReconciliation, collectExportOverrides, collectParameterReconciliations, collectReferencedParameterRefs, computeParameterResetTargets, computeParameterResetValue, isGatedStringEntry, resolveEffectiveParameterValuesForRefs, smartPersistResolvedEntry, ungatedInsightParameterValues, } from "./parametersHelpers.js";
13
+ import { EMPTY_EXPORT_PARAMETERS_BY_TAB, applyDisplayOverride, applyRuntimeOverride, buildPersistedByTabAndRef, buildWidgetScopeTabRefSelections, buildWorkspaceParametersByRef, classifyParameterReconciliation, collectExportOverrides, collectParameterReconciliations, collectReferencedParameterRefs, computeParameterResetTargets, computeParameterResetValue, displayOverride, isGatedStringEntry, resolveEffectiveParameterValuesForRefs, smartPersistResolvedEntry, ungatedInsightParameterValues, } from "./parametersHelpers.js";
14
14
  import { parametersInitialState, pickTabParametersSource, } from "./parametersState.js";
15
15
  const EMPTY_PARAMETERS = [];
16
16
  const EMPTY_EXPORT_PARAMETERS = [];
@@ -43,19 +43,24 @@ export const selectActiveParameterRefKeys = createSelector(selectDashboardParame
43
43
  * @internal
44
44
  */
45
45
  export const selectDashboardParameterEntries = createSelector(selectParametersState, (state) => state.parameters);
46
+ const selectPersistableParameterEntries = createSelector(selectDashboardParameterEntries, selectEnableStringParameters, (entries, isStringEnabled) => {
47
+ const persistable = entries.filter((item) => !isGatedStringEntry(item, isStringEnabled));
48
+ return persistable.length === 0 ? undefined : persistable;
49
+ });
46
50
  /**
47
- * Returns the active tab's parameters in the shape persisted by a filter view.
51
+ * Returns the active tab's applied parameters in the shape persisted by a filter view.
48
52
  * Runtime overrides become persisted `value`; existing parameter values are kept when no runtime value exists.
49
53
  *
50
54
  * @internal
51
55
  */
52
- export const selectFilterViewParameters = createSelector(selectDashboardParameterEntries, selectEnableStringParameters, (entries, isStringEnabled) => {
53
- const persistable = entries.filter((item) => !isGatedStringEntry(item, isStringEnabled));
54
- if (persistable.length === 0) {
55
- return undefined;
56
- }
57
- return persistable.map(applyRuntimeOverride);
58
- });
56
+ export const selectFilterViewParameters = createSelector(selectPersistableParameterEntries, (entries) => entries?.map((entry) => applyRuntimeOverride(entry)));
57
+ /**
58
+ * Returns the active tab's parameters with their display values, in the shape persisted by a filter
59
+ * view, so a view saved before "Apply All" captures what the user sees.
60
+ *
61
+ * @internal
62
+ */
63
+ export const selectFilterViewDisplayParameters = createSelector(selectPersistableParameterEntries, (entries) => entries?.map((entry) => applyDisplayOverride(entry)));
59
64
  /**
60
65
  * Runtime parameter values from the active tab, to hand off on a drill. Values equal to the source's
61
66
  * own default are kept (a drill target's default may differ), so the current value always propagates.
@@ -86,6 +91,19 @@ export const selectDashboardParameterEntryByRef = createMemoizedSelector((ref) =
86
91
  * @alpha
87
92
  */
88
93
  export const selectParameterRuntimeOverrideByRef = createMemoizedSelector((ref) => createSelector(selectDashboardParameterEntryByRef(ref), (entry) => entry?.runtimeOverride));
94
+ /**
95
+ * Returns a selector that yields the value shown for a given parameter ref on the active tab: the
96
+ * staged one when the entry has it, otherwise the applied `runtimeOverride`.
97
+ *
98
+ * @alpha
99
+ */
100
+ export const selectParameterDisplayValueByRef = createMemoizedSelector((ref) => createSelector(selectDashboardParameterEntryByRef(ref), (entry) => entry ? displayOverride(entry) : undefined));
101
+ /**
102
+ * True when the active tab has at least one staged parameter value.
103
+ *
104
+ * @alpha
105
+ */
106
+ export const selectIsWorkingParametersChanged = createSelector(selectDashboardParameterEntries, (entries) => entries.some((entry) => entry.workingOverride !== undefined));
89
107
  /**
90
108
  * Reset value for a parameter chip's dropdown, bound to the kit dropdown's `resetValue` prop.
91
109
  *
@@ -188,8 +206,8 @@ export const selectActiveTabParameterResetTargets = createSelector(selectDashboa
188
206
  return targets.length === 0 ? EMPTY_RESET_TARGETS : targets;
189
207
  });
190
208
  /**
191
- * True when the active tab has at least one parameter whose `runtimeOverride` differs from
192
- * the value it would be reset to (per `computeParameterResetValue`).
209
+ * True when the active tab has at least one parameter whose display value (staged, else applied)
210
+ * or applied value differs from the value it would be reset to (per `computeParameterResetValue`).
193
211
  *
194
212
  * @alpha
195
213
  */
@@ -211,8 +229,9 @@ export const selectParameterReconciliations = createSelector(selectTabs, selectC
211
229
  return result.length === 0 ? EMPTY_RECONCILIATIONS : result;
212
230
  });
213
231
  /**
214
- * Reconciliation status of a parameter's effective value, not its persisted value (which
215
- * {@link selectParameterReconciliations} uses).
232
+ * Reconciliation status of a parameter's display value (staged, else applied), not its persisted
233
+ * value (which {@link selectParameterReconciliations} uses), so the control's warning matches the
234
+ * value it shows.
216
235
  *
217
236
  * @internal
218
237
  */
@@ -220,7 +239,7 @@ export const selectParameterReconciliationByRef = createMemoizedSelector((ref) =
220
239
  if (!isEnabled || !isCatalogLoaded || !entry || isGatedStringEntry(entry, isStringEnabled)) {
221
240
  return undefined;
222
241
  }
223
- return classifyParameterReconciliation(applyRuntimeOverride(entry), workspaceParameter);
242
+ return classifyParameterReconciliation(applyDisplayOverride(entry), workspaceParameter);
224
243
  }));
225
244
  /**
226
245
  * Owning-tab parameter entries and the metric → parameter map for a widget, keyed by ref.
@@ -18,6 +18,13 @@ export interface IDashboardParameterEntry {
18
18
  * execution overrides so the backend keeps using the parameter's own default.
19
19
  */
20
20
  runtimeOverride: ParameterValue | undefined;
21
+ /**
22
+ * Staged (not yet applied) value under the apply-all-at-once mode. Presence means the entry
23
+ * is dirty: staging a value equal to `runtimeOverride` deletes the field instead of storing
24
+ * it, and every direct runtime write deletes it too. Executions read `runtimeOverride` only;
25
+ * "Apply All" folds this into `runtimeOverride`.
26
+ */
27
+ workingOverride?: ParameterValue;
21
28
  }
22
29
  /**
23
30
  * @alpha
@@ -1 +1 @@
1
- {"version":3,"file":"parametersState.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAExG;;;;;;;;;GASG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,mBAAmB,CAAC;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,UAAU,EAAE,wBAAwB,EAAE,CAAC;CAC1C;AAED,eAAO,MAAM,sBAAsB,EAAE,gBAEpC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACnC,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,EACrC,cAAc,EAAE,mBAAmB,EAAE,GAAG,SAAS,GAClD,mBAAmB,EAAE,GAAG,SAAS,CAMnC"}
1
+ {"version":3,"file":"parametersState.d.ts","sourceRoot":"","sources":["../../../../../src/model/store/tabs/parameters/parametersState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAExG;;;;;;;;;GASG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,mBAAmB,CAAC;IAC/B;;;;;OAKG;IACH,eAAe,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5C;;;;;OAKG;IACH,eAAe,CAAC,EAAE,cAAc,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,UAAU,EAAE,wBAAwB,EAAE,CAAC;CAC1C;AAED,eAAO,MAAM,sBAAsB,EAAE,gBAEpC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACnC,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,EACrC,cAAc,EAAE,mBAAmB,EAAE,GAAG,SAAS,GAClD,mBAAmB,EAAE,GAAG,SAAS,CAMnC"}
@@ -29,6 +29,12 @@ export interface ISetDashboardAttributeFilterConfigDisplayAsLabelPayload {
29
29
  */
30
30
  displayAsLabel: ObjRef | undefined;
31
31
  }
32
+ /**
33
+ * @internal
34
+ */
35
+ export interface IApplyWorkingSelectionPayload {
36
+ readonly enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean;
37
+ }
32
38
  export declare const tabsReducers: {
33
39
  setTabs: TabsReducer<{
34
40
  payload: SetTabsPayload;
@@ -70,6 +76,14 @@ export declare const tabsReducers: {
70
76
  };
71
77
  type: string;
72
78
  }>;
79
+ applyWorkingSelection: TabsReducer<{
80
+ payload: IApplyWorkingSelectionPayload;
81
+ type: string;
82
+ }>;
83
+ resetWorkingSelection: TabsReducer<{
84
+ payload: void;
85
+ type: string;
86
+ }>;
73
87
  };
74
88
  export {};
75
89
  //# sourceMappingURL=tabsReducers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabsReducers.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/tabsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjF;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAEvE,KAAK,cAAc,GAAG;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IAEnB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC;AA0FF;;;GAGG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAkDD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC"}
1
+ {"version":3,"file":"tabsReducers.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/tabsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAErF,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAWlD,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,UAAU,EAAgB,MAAM,gBAAgB,CAAC;AAE/F;;GAEG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;AAEvE,KAAK,cAAc,GAAG;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IAEnB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC;AA0FF;;;GAGG;AACH,MAAM,WAAW,uDAAuD;IACpE;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AAkDD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C,QAAQ,CAAC,qDAAqD,CAAC,EAAE,OAAO,CAAC;CAC5E;AAyBD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxB,CAAC"}
@@ -1,6 +1,8 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
+ import { clearFilterContextWorkingValues, commitFilterContextWorkingValues, } from "./filterContext/filterContextReducers.js";
2
3
  import { initializeFilterContext } from "./filterContext/filterContextUtils.js";
3
- import { DEFAULT_TAB_ID } from "./tabsState.js";
4
+ import { clearParameterWorkingValues, commitParameterWorkingValues, } from "./parameters/parametersReducers.js";
5
+ import { DEFAULT_TAB_ID, getActiveTab } from "./tabsState.js";
4
6
  /**
5
7
  * Applies initialization logic to a tab's filterContext if present.
6
8
  * Ensures filters have local identifiers and proper ordering.
@@ -112,6 +114,22 @@ const resolveDefaultTab = (state, action) => {
112
114
  state.activeTabLocalIdentifier = newLocalIdentifier;
113
115
  }
114
116
  };
117
+ const applyWorkingSelection = (state, action) => {
118
+ const activeTab = getActiveTab(state);
119
+ if (!activeTab) {
120
+ return;
121
+ }
122
+ commitFilterContextWorkingValues(activeTab, action.payload.enableImmediateAttributeFilterDisplayAsLabelMigration);
123
+ commitParameterWorkingValues(activeTab);
124
+ };
125
+ const resetWorkingSelection = (state) => {
126
+ const activeTab = getActiveTab(state);
127
+ if (!activeTab) {
128
+ return;
129
+ }
130
+ clearFilterContextWorkingValues(activeTab);
131
+ clearParameterWorkingValues(activeTab);
132
+ };
115
133
  export const tabsReducers = {
116
134
  setTabs,
117
135
  setActiveTabLocalIdentifier,
@@ -121,4 +139,6 @@ export const tabsReducers = {
121
139
  setTabIsRenaming,
122
140
  renameTab,
123
141
  resolveDefaultTab,
142
+ applyWorkingSelection,
143
+ resetWorkingSelection,
124
144
  };
@@ -0,0 +1,9 @@
1
+ import { type DashboardSelector } from "../types.js";
2
+ /**
3
+ * True when the active tab has staged filters or staged parameter values that "Apply All" has not
4
+ * applied yet.
5
+ *
6
+ * @alpha
7
+ */
8
+ export declare const selectIsWorkingSelectionChanged: DashboardSelector<boolean>;
9
+ //# sourceMappingURL=workingSelectionSelectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workingSelectionSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/tabs/workingSelectionSelectors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAKrD;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,EAAE,iBAAiB,CAAC,OAAO,CAItE,CAAC"}
@@ -0,0 +1,11 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { createSelector } from "@reduxjs/toolkit";
3
+ import { selectIsWorkingFilterContextChanged } from "./filterContext/filterContextSelectors.js";
4
+ import { selectIsWorkingParametersChanged } from "./parameters/parametersSelectors.js";
5
+ /**
6
+ * True when the active tab has staged filters or staged parameter values that "Apply All" has not
7
+ * applied yet.
8
+ *
9
+ * @alpha
10
+ */
11
+ export const selectIsWorkingSelectionChanged = createSelector(selectIsWorkingFilterContextChanged, selectIsWorkingParametersChanged, (isFilterContextChanged, isParametersChanged) => Boolean(isFilterContextChanged) || isParametersChanged);
@@ -1,4 +1,5 @@
1
1
  import { type AnyAction, type Dispatch, type EntityId, type EntityState } from "@reduxjs/toolkit";
2
+ import { type IUnavailableDashboardReference } from "@gooddata/sdk-backend-spi";
2
3
  import { type IInsight, type IListedDashboard } from "@gooddata/sdk-model";
3
4
  import { type IInaccessibleDashboard } from "../types/inaccessibleDashboardTypes.js";
4
5
  import { type IAccessibleDashboardsState } from "./accessibleDashboards/index.js";
@@ -66,6 +67,8 @@ export type DashboardState = {
66
67
  accessibleDashboards: IAccessibleDashboardsState;
67
68
  /** @alpha */
68
69
  inaccessibleDashboards: EntityState<IInaccessibleDashboard, EntityId>;
70
+ /** @alpha */
71
+ unavailableObjects: EntityState<IUnavailableDashboardReference, EntityId>;
69
72
  dashboardPermissions: DashboardPermissionsState;
70
73
  /** @alpha */
71
74
  automations: IAutomationsState;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/model/store/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAElG,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAErF,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mDAAmD,CAAC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AAI,CAAC,KAAK,EAAE,cAAc,KAAK,OAAO,CAAC;AAC5E;;;;GAIG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC,KAAK,OAAO,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type Reducer } from "@reduxjs/toolkit";
2
+ import { unavailableObjectsEntityAdapter } from "./unavailableObjectsEntityAdapter.js";
3
+ export type UnavailableObjectsState = ReturnType<typeof unavailableObjectsEntityAdapter.getInitialState>;
4
+ export declare const unavailableObjectsSliceReducer: Reducer<UnavailableObjectsState>;
5
+ export declare const unavailableObjectsActions: {
6
+ setUnavailableObjects: import("@reduxjs/toolkit").ActionCreatorWithPayload<readonly import("@gooddata/sdk-backend-spi").IUnavailableDashboardReference[] | Record<import("@reduxjs/toolkit").EntityId, import("@gooddata/sdk-backend-spi").IUnavailableDashboardReference>, "unavailableObjects/setUnavailableObjects">;
7
+ };
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/model/store/unavailableObjects/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,+BAA+B,CAAC,eAAe,CAAC,CAAC;AAUzG,eAAO,MAAM,8BAA8B,EAAE,OAAO,CAAC,uBAAuB,CACzC,CAAC;AAGpC,eAAO,MAAM,yBAAyB;;CAAyC,CAAC"}
@@ -0,0 +1,13 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { createSlice } from "@reduxjs/toolkit";
3
+ import { unavailableObjectsEntityAdapter } from "./unavailableObjectsEntityAdapter.js";
4
+ const unavailableObjectsSlice = createSlice({
5
+ name: "unavailableObjects",
6
+ initialState: unavailableObjectsEntityAdapter.getInitialState(),
7
+ reducers: {
8
+ setUnavailableObjects: unavailableObjectsEntityAdapter.setAll,
9
+ },
10
+ });
11
+ export const unavailableObjectsSliceReducer = unavailableObjectsSlice.reducer;
12
+ // Spread "fixes" TS2742 error
13
+ export const unavailableObjectsActions = { ...unavailableObjectsSlice.actions };
@@ -0,0 +1,9 @@
1
+ import { type EntityId } from "@reduxjs/toolkit";
2
+ import type { IUnavailableDashboardReference } from "@gooddata/sdk-backend-spi";
3
+ import { type ObjRef, type ObjectType } from "@gooddata/sdk-model";
4
+ /**
5
+ * Objects of different types may share an identifier, so entries are keyed by type as well.
6
+ */
7
+ export declare function unavailableObjectKey(type: ObjectType, ref: ObjRef): string;
8
+ export declare const unavailableObjectsEntityAdapter: import("@reduxjs/toolkit").EntityAdapter<IUnavailableDashboardReference, EntityId>;
9
+ //# sourceMappingURL=unavailableObjectsEntityAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unavailableObjectsEntityAdapter.d.ts","sourceRoot":"","sources":["../../../../src/model/store/unavailableObjects/unavailableObjectsEntityAdapter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAuB,MAAM,kBAAkB,CAAC;AAEtE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,UAAU,EAAkB,MAAM,qBAAqB,CAAC;AAEnF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1E;AAED,eAAO,MAAM,+BAA+B,oFAE1C,CAAC"}
@@ -0,0 +1,12 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { createEntityAdapter } from "@reduxjs/toolkit";
3
+ import { objRefToString } from "@gooddata/sdk-model";
4
+ /**
5
+ * Objects of different types may share an identifier, so entries are keyed by type as well.
6
+ */
7
+ export function unavailableObjectKey(type, ref) {
8
+ return `${type}|${objRefToString(ref)}`;
9
+ }
10
+ export const unavailableObjectsEntityAdapter = createEntityAdapter({
11
+ selectId: (reference) => unavailableObjectKey(reference.type, reference.ref),
12
+ });
@@ -0,0 +1,18 @@
1
+ import type { IUnavailableDashboardReference } from "@gooddata/sdk-backend-spi";
2
+ import type { ObjectType } from "@gooddata/sdk-model";
3
+ import { type ObjRefMap } from "../../../_staging/metadata/objRefMap.js";
4
+ import { type DashboardSelector } from "../types.js";
5
+ /**
6
+ * Selects all references of the current dashboard that are unavailable to the current user.
7
+ *
8
+ * @alpha
9
+ */
10
+ export declare const selectUnavailableObjects: DashboardSelector<IUnavailableDashboardReference[]>;
11
+ /**
12
+ * Selects the unavailable dashboard references of the given object type in a mapping of obj ref to the
13
+ * unavailability entry. Objects of different types may share an identifier, hence the per-type maps.
14
+ *
15
+ * @alpha
16
+ */
17
+ export declare const selectUnavailableObjectsMapByType: (type: ObjectType) => DashboardSelector<ObjRefMap<IUnavailableDashboardReference>>;
18
+ //# sourceMappingURL=unavailableObjectsSelectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unavailableObjectsSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/unavailableObjects/unavailableObjectsSelectors.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,SAAS,EAA0B,MAAM,yCAAyC,CAAC;AAEjG,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,aAAa,CAAC;AAW1E;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,iBAAiB,CAAC,8BAA8B,EAAE,CAC3D,CAAC;AAE/B;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,CAC5C,IAAI,EAAE,UAAU,KACf,iBAAiB,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAQ/D,CAAC"}
@@ -0,0 +1,20 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { createSelector } from "@reduxjs/toolkit";
3
+ import { newMapForObjectWithRef } from "../../../_staging/metadata/objRefMap.js";
4
+ import { createMemoizedSelector } from "../_infra/selectors.js";
5
+ import { unavailableObjectsEntityAdapter } from "./unavailableObjectsEntityAdapter.js";
6
+ const selectSelf = createSelector((state) => state, (state) => state.unavailableObjects);
7
+ const adapterSelectors = unavailableObjectsEntityAdapter.getSelectors(selectSelf);
8
+ /**
9
+ * Selects all references of the current dashboard that are unavailable to the current user.
10
+ *
11
+ * @alpha
12
+ */
13
+ export const selectUnavailableObjects = adapterSelectors.selectAll;
14
+ /**
15
+ * Selects the unavailable dashboard references of the given object type in a mapping of obj ref to the
16
+ * unavailability entry. Objects of different types may share an identifier, hence the per-type maps.
17
+ *
18
+ * @alpha
19
+ */
20
+ export const selectUnavailableObjectsMapByType = createMemoizedSelector((type) => createSelector(selectUnavailableObjects, (objects) => newMapForObjectWithRef(objects.filter((object) => object.type === type), type)));
@@ -17,6 +17,21 @@ export declare function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDe
17
17
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
18
18
  * outside those providers throws at runtime.
19
19
  *
20
+ * The dialog is composed from the exported region renders — {@link DefaultAlertingDialogHeader},
21
+ * {@link DefaultAlertingDialogFilters}, {@link DefaultAlertingDialogDestination},
22
+ * {@link DefaultAlertingDialogRecipients}, {@link DefaultAutomationDialogActionBar} — fed by the
23
+ * matching `use*Props` hooks ({@link useAlertingDialogFiltersProps} and siblings), and from the
24
+ * connected field blocks — {@link AlertingDialogMeasure}, {@link AlertingDialogAttribute},
25
+ * {@link AlertingDialogComparisonOperator}, {@link AlertingDialogThreshold},
26
+ * {@link AlertingDialogComparisonPeriod}, {@link AlertingDialogSensitivity},
27
+ * {@link AlertingDialogGranularity}, {@link AlertingDialogTriggerMode},
28
+ * {@link AlertingDialogTriggerInterval} — each a labelled {@link AutomationDialogFormField} row; the
29
+ * conditional ones (Attribute, Threshold, ComparisonPeriod, Sensitivity, Granularity, TriggerInterval)
30
+ * gate themselves on the draft. A custom `AlertingDialogComponent` that keeps our regions and fields
31
+ * but owns the markup places the connected blocks ({@link AlertingDialogFilters},
32
+ * {@link AlertingDialogThreshold} and siblings) instead of this component, and reads or writes the
33
+ * same draft through {@link useAlertDraft} and {@link useAlertActions}.
34
+ *
20
35
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
21
36
  * and not while the stale-filters confirmation step is shown.
22
37
  *
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAiDA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AA8B/D,wBAAgB,sBAAsB,CAAC,EACnC,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EACb,KAAK,EACL,UAAU,EACV,aAAa,EAChB,EAAE,2BAA2B,2CA6d7B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,2BAA2B,2CAcvE"}
1
+ {"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AAsDA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAW/D,wBAAgB,sBAAsB,CAAC,EACnC,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EACb,KAAK,EACL,UAAU,EACV,aAAa,EAChB,EAAE,2BAA2B,2CAiO7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,2BAA2B,2CAcvE"}
@@ -3,45 +3,34 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { FormattedMessage, useIntl } from "react-intl";
5
5
  import { ValidationContextStore, createInvalidDatapoint, createInvalidNode, useValidationContextValue, } from "@gooddata/sdk-ui";
6
- import { ConfirmDialogBase, ContentDivider, Message, Overlay, OverlayController, OverlayControllerProvider, ScrollablePanel, UiIconButton, UiTooltip, useId, } from "@gooddata/sdk-ui-kit";
6
+ import { ConfirmDialogBase, ContentDivider, Message, Overlay, OverlayController, OverlayControllerProvider, ScrollablePanel, useId, } from "@gooddata/sdk-ui-kit";
7
7
  import { DASHBOARD_DIALOG_OVERS_Z_INDEX } from "../../../constants/zIndex.js";
8
8
  import { IntlWrapper } from "../../../localization/IntlWrapper.js";
9
9
  import { useAlertingDialogContext } from "../../contexts/AlertingDialogContext.js";
10
10
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
11
11
  import { ApplyCurrentFiltersConfirmDialog } from "../../shared/automationFilters/components/ApplyLatestFiltersConfirmDialog.js";
12
- import { AutomationDialogActionBar, AutomationDialogFooterLeft, } from "../../shared/slots/AutomationDialogActionBar.js";
12
+ import { AutomationDialogFooterLeft, DefaultAutomationDialogActionBar, } from "../../shared/slots/DefaultAutomationDialogActionBar.js";
13
+ import { AlertingDialogAttribute } from "../blocks/AlertingDialogAttribute.js";
14
+ import { AlertingDialogComparisonOperator } from "../blocks/AlertingDialogComparisonOperator.js";
15
+ import { AlertingDialogComparisonPeriod } from "../blocks/AlertingDialogComparisonPeriod.js";
16
+ import { AlertingDialogGranularity } from "../blocks/AlertingDialogGranularity.js";
17
+ import { AlertingDialogMeasure } from "../blocks/AlertingDialogMeasure.js";
18
+ import { AlertingDialogSensitivity } from "../blocks/AlertingDialogSensitivity.js";
19
+ import { AlertingDialogThreshold } from "../blocks/AlertingDialogThreshold.js";
20
+ import { AlertingDialogTriggerInterval } from "../blocks/AlertingDialogTriggerInterval.js";
21
+ import { AlertingDialogTriggerMode } from "../blocks/AlertingDialogTriggerMode.js";
13
22
  import { DeleteAlertConfirmDialog } from "../DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js";
14
- import { useAlertActions } from "../state/AlertActionsContext.js";
15
- import { useAlertData } from "../state/AlertDataContext.js";
16
23
  import { useAlertDraft } from "../state/AlertDraftContext.js";
17
24
  import { useAlertFilters } from "../state/AlertFiltersContext.js";
18
25
  import { useAlertDialogValidity } from "../state/useAlertDialogValidity.js";
19
26
  import { useAlertingDialogActionBarProps, useAlertingDialogDestinationProps, useAlertingDialogFiltersProps, useAlertingDialogHeaderProps, useAlertingDialogRecipientsProps, } from "../state/useAlertingDialogRegionProps.js";
20
- import { useAlertSelectedValues } from "../state/useAlertSelectedValues.js";
21
- import { AlertingDialogDestination } from "./AlertingDialogDestination.js";
22
- import { AlertingDialogFilters } from "./AlertingDialogFilters.js";
23
- import { AlertingDialogHeader } from "./AlertingDialogHeader.js";
24
- import { AlertingDialogRecipients } from "./AlertingDialogRecipients.js";
25
- import { AlertAttributeSelect } from "./components/AlertAttributeSelect.js";
26
- import { AlertComparisonOperatorSelect } from "./components/AlertComparisonOperatorSelect.js";
27
- //
28
- //
29
- import { AlertComparisonPeriodSelect } from "./components/AlertComparisonPeriodSelect.js";
30
- import { AlertGranularitySelect } from "./components/AlertGranularitySelect.js";
31
- import { AlertMeasureSelect } from "./components/AlertMeasureSelect.js";
32
- import { AlertSensitivitySelect } from "./components/AlertSensitivitySelect.js";
33
- import { AlertThresholdInput } from "./components/AlertThresholdInput.js";
34
- import { AlertTriggerIntervalSelect } from "./components/AlertTriggerIntervalSelect.js";
35
- import { AlertTriggerModeSelect } from "./components/AlertTriggerModeSelect.js";
27
+ import { useAlertSubmit } from "../state/useAlertSubmit.js";
36
28
  import { ALERTING_DIALOG_ID } from "./constants.js";
29
+ import { DefaultAlertingDialogDestination } from "./DefaultAlertingDialogDestination.js";
30
+ import { DefaultAlertingDialogFilters } from "./DefaultAlertingDialogFilters.js";
31
+ import { DefaultAlertingDialogHeader } from "./DefaultAlertingDialogHeader.js";
32
+ import { DefaultAlertingDialogRecipients } from "./DefaultAlertingDialogRecipients.js";
37
33
  import { DefaultLoadingAlertingDialog } from "./DefaultLoadingAlertingDialog.js";
38
- import { FormField } from "./FormField.js";
39
- import { useAlertSubmit } from "./hooks/useAlertSubmit.js";
40
- import { useAlertThreshold } from "./hooks/useAlertThreshold.js";
41
- import { getValueSuffix } from "./utils/getters.js";
42
- import { isAnomalyDetection, isChangeOrDifferenceOperator } from "./utils/guards.js";
43
- const OVERLAY_POSITION_TYPE = "sameAsTarget";
44
- const CLOSE_ON_PARENT_SCROLL = true;
45
34
  const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z_INDEX);
46
35
  export function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDeleteError, onError, onSuccess, onSaveError, onSaveSuccess, slots, topContent, bottomContent, }) {
47
36
  const HeaderSlot = slots?.Header;
@@ -51,29 +40,15 @@ export function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDeleteErro
51
40
  const ActionBarSlot = slots?.ActionBar;
52
41
  const intl = useIntl();
53
42
  const dialogTitleRef = useRef(null);
54
- const { features: { enableAlertOncePerInterval, enableAnomalyDetectionAlert, canUseAiAssistant: enableAiAssistant, }, catalogAttributes, catalogDateDatasets, allowHourlyRecurrence, } = useAutomationsContext();
55
43
  const { alertToEdit, notificationChannels } = useAlertingDialogContext();
56
44
  const [alertToDelete, setAlertToDelete] = useState(null);
57
45
  const handleAlertDeleteSuccess = (alert) => {
58
46
  onDeleteSuccess?.(alert);
59
47
  setAlertToDelete(null);
60
48
  };
61
- const { editedAutomation, warningMessage } = useAlertDraft();
62
- const { onMeasureChange, onAttributeChange, onComparisonOperatorChange, onRelativeOperatorChange, onAnomalyDetectionChange, onComparisonTypeChange, onTriggerModeChange, onTriggerIntervalChange, onSensitivityChange, onGranularityChange, setEditedAutomation, } = useAlertActions();
63
- const { supportedMeasures, supportedAttributes, isResultLoading, getAttributeValues, getMetricValue } = useAlertData();
49
+ const { warningMessage } = useAlertDraft();
64
50
  const { onApplyCurrentFilters, automationIsValid, filtersAreStale, dropStaleParameters } = useAlertFilters();
65
- const { selectedMeasure, selectedComparisonOperator, selectedRelativeOperator, selectedAiOperator, selectedComparator, selectedSensitivity, selectedGranularity, selectedAttribute, selectedValue, } = useAlertSelectedValues();
66
- const { value, onChange, onBlur, thresholdErrorMessage } = useAlertThreshold({
67
- setEditedAutomation,
68
- editedAutomation,
69
- getMetricValue,
70
- isNewAlert: !alertToEdit,
71
- selectedRelativeOperator,
72
- selectedMeasure,
73
- selectedAttribute,
74
- selectedValue,
75
- });
76
- const { validationErrorMessage, canChangeMeasure, isInvalidConnectionToInsight } = useAlertDialogValidity();
51
+ const { validationErrorMessage, isInvalidConnectionToInsight } = useAlertDialogValidity();
77
52
  const [isApplyCurrentFiltersDialogOpen, setIsApplyCurrentFiltersDialogOpen] = useState(!automationIsValid);
78
53
  const { isSaving, submit } = useAlertSubmit({ onSuccess, onError, onSaveSuccess, onSaveError });
79
54
  const headerDefaultProps = useAlertingDialogHeaderProps({ onCancel, ref: dialogTitleRef });
@@ -120,31 +95,14 @@ export function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDeleteErro
120
95
  }, showProgressIndicator: actionBarDefaultProps.isSaving, returnFocusAfterClose: false, footerLeftRenderer: ActionBarSlot
121
96
  ? undefined
122
97
  : () => (_jsx(AutomationDialogFooterLeft, { helpLinkText: actionBarDefaultProps.helpLinkText, helpLinkHref: actionBarDefaultProps.helpLinkHref, deleteButtonText: actionBarDefaultProps.deleteButtonText, onDelete: actionBarDefaultProps.onDelete, isDeleteDisabled: actionBarDefaultProps.isSaving })), footerRenderer: ActionBarSlot
123
- ? () => (_jsx(ActionBarSlot, { Default: AutomationDialogActionBar, defaultProps: actionBarDefaultProps }))
98
+ ? () => (_jsx(ActionBarSlot, { Default: DefaultAutomationDialogActionBar, defaultProps: actionBarDefaultProps }))
124
99
  : undefined, isSubmitDisabled: actionBarDefaultProps.isSubmitDisabled, submitButtonTooltipText: actionBarDefaultProps.submitButtonTooltipText, initialFocus: dialogTitleRef, submitOnEnterKey: false, onCancel: onCancel, onSubmit: actionBarDefaultProps.onSubmit, headline: undefined, headerLeftButtonRenderer: () => {
125
- return HeaderSlot ? (_jsx(HeaderSlot, { Default: AlertingDialogHeader, defaultProps: headerDefaultProps })) : (_jsx(AlertingDialogHeader, { ...headerDefaultProps }));
100
+ return HeaderSlot ? (_jsx(HeaderSlot, { Default: DefaultAlertingDialogHeader, defaultProps: headerDefaultProps })) : (_jsx(DefaultAlertingDialogHeader, { ...headerDefaultProps }));
126
101
  }, children: [
127
- _jsx("h2", { className: "sr-only", id: titleElementId, children: intl.formatMessage({ id: "dialogs.alert.accessibility.label.title" }) }), _jsxs(ScrollablePanel, { className: "gd-notifications-channel-dialog-content-wrapper gd-notification-channel-dialog-with-automation-filters", children: [topContent, _jsx("div", { className: "gd-divider-with-margin" }), _jsxs(_Fragment, { children: [FiltersSlot ? (_jsx(FiltersSlot, { Default: AlertingDialogFilters, defaultProps: filtersDefaultProps })) : (_jsx(AlertingDialogFilters, { ...filtersDefaultProps })), _jsx(ContentDivider, { className: "gd-divider-with-margin" })
102
+ _jsx("h2", { className: "sr-only", id: titleElementId, children: intl.formatMessage({ id: "dialogs.alert.accessibility.label.title" }) }), _jsxs(ScrollablePanel, { className: "gd-notifications-channel-dialog-content-wrapper gd-notification-channel-dialog-with-automation-filters", children: [topContent, _jsx("div", { className: "gd-divider-with-margin" }), _jsxs(_Fragment, { children: [FiltersSlot ? (_jsx(FiltersSlot, { Default: DefaultAlertingDialogFilters, defaultProps: filtersDefaultProps })) : (_jsx(DefaultAlertingDialogFilters, { ...filtersDefaultProps })), _jsx(ContentDivider, { className: "gd-divider-with-margin" })
128
103
  ] }), _jsxs(FormFieldGroup, { label: _jsx(FormattedMessage, { id: "insightAlert.config.when" }), children: [
129
- _jsx(FormField, { label: intl.formatMessage({ id: "insightAlert.config.metric" }), htmlFor: "alert.measure", children: _jsx(AlertMeasureSelect, { selectedMeasure: selectedMeasure, onMeasureChange: onMeasureChange, measures: supportedMeasures, disabled: !canChangeMeasure, overlayPositionType: OVERLAY_POSITION_TYPE, id: "alert.measure", closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }), supportedAttributes.filter((a) => a.type === "attribute").length > 0 && (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.for" }), htmlFor: "alert.attribute", children: _jsx(AlertAttributeSelect, { id: "alert.attribute", disabled: !canChangeMeasure, selectedAttribute: selectedAttribute, selectedValue: selectedValue, onAttributeChange: onAttributeChange, attributes: supportedAttributes, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, getAttributeValues: getAttributeValues, isResultLoading: isResultLoading, showLabel: false, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) })), _jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.condition" }), htmlFor: "alert.condition", children: _jsx(AlertComparisonOperatorSelect, { id: "alert.condition", measure: selectedMeasure, enableAnomalyDetectionAlert: enableAnomalyDetectionAlert ? enableAiAssistant : false, selectedComparisonOperator: selectedComparisonOperator, selectedRelativeOperator: selectedRelativeOperator, selectedAiOperator: selectedAiOperator, onAnomalyDetectionChange: onAnomalyDetectionChange, onComparisonOperatorChange: onComparisonOperatorChange, onRelativeOperatorChange: onRelativeOperatorChange, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }), !isAnomalyDetection(editedAutomation?.alert) && (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.threshold" }), htmlFor: "alert.value", children: _jsx(AlertThresholdInput, { id: "alert.value", value: value, onChange: onChange, onBlur: onBlur, suffix: getValueSuffix(editedAutomation?.alert), errorMessage: thresholdErrorMessage }) })), isChangeOrDifferenceOperator(editedAutomation?.alert) && (_jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.comparison" }), htmlFor: "alert.comparison", children: _jsx(AlertComparisonPeriodSelect, { id: "alert.comparison", measure: selectedMeasure, alert: editedAutomation, selectedComparison: selectedComparator?.comparator, selectedGranularity: selectedComparator?.granularity, onComparisonChange: (comparisonType, granularity) => {
130
- onComparisonTypeChange(selectedMeasure, selectedRelativeOperator, comparisonType, granularity);
131
- }, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) })), isAnomalyDetection(editedAutomation?.alert) && (_jsxs(_Fragment, { children: [
132
- _jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.sensitivity" }), htmlFor: "alert.sensitivity", children: _jsx(AlertSensitivitySelect, { id: "alert.sensitivity", selectedSensitivity: selectedSensitivity, onSensitivityChange: onSensitivityChange, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) }), _jsx(FormField, { label: _jsxs("div", { className: "gd-dashboard-alerting-dialog-form-field__content-container-tooltip", children: [
133
- _jsx(FormattedMessage, { id: "insightAlert.config.granularity" }), _jsx(UiTooltip, { anchor: _jsx(UiIconButton, { icon: "question", variant: "tertiary", size: "xsmall", accessibilityConfig: {
134
- ariaLabel: intl.formatMessage({
135
- id: "insightAlert.config.granularity",
136
- }),
137
- } }), content: _jsx(FormattedMessage, { id: "insightAlert.config.granularity.tooltip" }), arrowPlacement: "left", optimalPlacement: true, offset: 10, width: 280, triggerBy: ["hover", "click"] })
138
- ] }), htmlFor: "alert.granularity", children: _jsx(AlertGranularitySelect, { id: "alert.granularity", allowHourlyRecurrence: allowHourlyRecurrence, selectedGranularity: selectedGranularity, onGranularityChange: (granularity) => {
139
- onGranularityChange(selectedMeasure, granularity);
140
- }, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) })
141
- ] }))] }), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), _jsxs(FormFieldGroup, { label: _jsx(FormattedMessage, { id: "insightAlert.config.do" }), children: [notificationChannels.length > 1 ? (DestinationSlot ? (_jsx(DestinationSlot, { Default: AlertingDialogDestination, defaultProps: destinationDefaultProps })) : (_jsx(AlertingDialogDestination, { ...destinationDefaultProps }))) : null, _jsx(FormField, { label: _jsx(FormattedMessage, { id: "insightAlert.config.trigger" }), htmlFor: "alert.trigger", children: _jsx(AlertTriggerModeSelect, { id: "alert.trigger", selectedTriggerMode: editedAutomation?.alert?.trigger.mode ?? "ALWAYS", onTriggerModeChange: onTriggerModeChange, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL, enableAlertOncePerInterval: enableAlertOncePerInterval }) }), editedAutomation?.alert?.trigger.mode === "ONCE_PER_INTERVAL" ? (_jsx(FormField, { label: _jsxs("div", { className: "gd-dashboard-alerting-dialog-form-field__content-container-tooltip", children: [
142
- _jsx(FormattedMessage, { id: "insightAlert.config.interval" }), _jsx(UiTooltip, { anchor: _jsx(UiIconButton, { icon: "question", variant: "tertiary", size: "xsmall", accessibilityConfig: {
143
- ariaLabel: intl.formatMessage({
144
- id: "insightAlert.config.interval",
145
- }),
146
- } }), content: _jsx(FormattedMessage, { id: "insightAlert.config.interval.tooltip" }), arrowPlacement: "left", optimalPlacement: true, offset: 10, width: 280, triggerBy: ["hover", "click"] })
147
- ] }), htmlFor: "alert.interval", children: _jsx(AlertTriggerIntervalSelect, { id: "alert.interval", selectedTriggerInterval: editedAutomation?.alert?.trigger.interval ?? "DAY", onTriggerIntervalChange: onTriggerIntervalChange, overlayPositionType: OVERLAY_POSITION_TYPE, closeOnParentScroll: CLOSE_ON_PARENT_SCROLL }) })) : null, RecipientsSlot ? (_jsx(RecipientsSlot, { Default: AlertingDialogRecipients, defaultProps: recipientsDefaultProps })) : (_jsx(AlertingDialogRecipients, { ...recipientsDefaultProps }))] }), warningMessage ? (_jsx(Message, { type: "warning", className: "gd-notifications-channels-dialog-error", children: warningMessage })) : null, invalidDatapoints.map((datapoint) => (_jsx(Message, { id: datapoint.id, type: datapoint.severity === "info" ? "progress" : datapoint.severity, className: "gd-notifications-channels-dialog-error gd-notifications-channels-dialog-error-scrollable", children: datapoint.message }, datapoint.id))), bottomContent] })
104
+ _jsx(AlertingDialogMeasure, {}), _jsx(AlertingDialogAttribute, {}), _jsx(AlertingDialogComparisonOperator, {}), _jsx(AlertingDialogThreshold, {}), _jsx(AlertingDialogComparisonPeriod, {}), _jsx(AlertingDialogSensitivity, {}), _jsx(AlertingDialogGranularity, {})
105
+ ] }), _jsx(ContentDivider, { className: "gd-divider-with-margin" }), _jsxs(FormFieldGroup, { label: _jsx(FormattedMessage, { id: "insightAlert.config.do" }), children: [notificationChannels.length > 1 ? (DestinationSlot ? (_jsx(DestinationSlot, { Default: DefaultAlertingDialogDestination, defaultProps: destinationDefaultProps })) : (_jsx(DefaultAlertingDialogDestination, { ...destinationDefaultProps }))) : null, _jsx(AlertingDialogTriggerMode, {}), _jsx(AlertingDialogTriggerInterval, {}), RecipientsSlot ? (_jsx(RecipientsSlot, { Default: DefaultAlertingDialogRecipients, defaultProps: recipientsDefaultProps })) : (_jsx(DefaultAlertingDialogRecipients, { ...recipientsDefaultProps }))] }), warningMessage ? (_jsx(Message, { type: "warning", className: "gd-notifications-channels-dialog-error", children: warningMessage })) : null, invalidDatapoints.map((datapoint) => (_jsx(Message, { id: datapoint.id, type: datapoint.severity === "info" ? "progress" : datapoint.severity, className: "gd-notifications-channels-dialog-error gd-notifications-channels-dialog-error-scrollable", children: datapoint.message }, datapoint.id))), bottomContent] })
148
106
  ] }) }) }) }), alertToDelete ? (_jsx(DeleteAlertConfirmDialog, { alert: alertToDelete, onCancel: () => setAlertToDelete(null), onSuccess: handleAlertDeleteSuccess, onError: onDeleteError })) : null] }));
149
107
  }
150
108
  /**
@@ -164,6 +122,21 @@ export function AlertingDialogRenderer({ onCancel, onDeleteSuccess, onDeleteErro
164
122
  * that is what lets a wholesale replacement receive the same contexts. Rendering this component
165
123
  * outside those providers throws at runtime.
166
124
  *
125
+ * The dialog is composed from the exported region renders — {@link DefaultAlertingDialogHeader},
126
+ * {@link DefaultAlertingDialogFilters}, {@link DefaultAlertingDialogDestination},
127
+ * {@link DefaultAlertingDialogRecipients}, {@link DefaultAutomationDialogActionBar} — fed by the
128
+ * matching `use*Props` hooks ({@link useAlertingDialogFiltersProps} and siblings), and from the
129
+ * connected field blocks — {@link AlertingDialogMeasure}, {@link AlertingDialogAttribute},
130
+ * {@link AlertingDialogComparisonOperator}, {@link AlertingDialogThreshold},
131
+ * {@link AlertingDialogComparisonPeriod}, {@link AlertingDialogSensitivity},
132
+ * {@link AlertingDialogGranularity}, {@link AlertingDialogTriggerMode},
133
+ * {@link AlertingDialogTriggerInterval} — each a labelled {@link AutomationDialogFormField} row; the
134
+ * conditional ones (Attribute, Threshold, ComparisonPeriod, Sensitivity, Granularity, TriggerInterval)
135
+ * gate themselves on the draft. A custom `AlertingDialogComponent` that keeps our regions and fields
136
+ * but owns the markup places the connected blocks ({@link AlertingDialogFilters},
137
+ * {@link AlertingDialogThreshold} and siblings) instead of this component, and reads or writes the
138
+ * same draft through {@link useAlertDraft} and {@link useAlertActions}.
139
+ *
167
140
  * Slots render only in the fully rendered dialog: not while the dialog context reports loading,
168
141
  * and not while the stale-filters confirmation step is shown.
169
142
  *
@@ -0,0 +1,13 @@
1
+ import { type ReactElement } from "react";
2
+ import { type IAlertingDialogAttributeProps } from "../types.js";
3
+ /**
4
+ * Default render of the alerting dialog's attribute field: the dropdown slicing the condition by an
5
+ * attribute value; renders nothing when the insight has no non-date attribute. Props-driven — the
6
+ * bare control without its label; reads no dialog context (only `useIntl`). The default dialog and
7
+ * {@link AlertingDialogAttribute} render it with {@link useAlertingDialogAttributeProps} inside
8
+ * {@link AutomationDialogFormField}.
9
+ *
10
+ * @alpha
11
+ */
12
+ export declare function DefaultAlertingDialogAttribute({ id, disabled, selectedAttribute: selectedAttributeProp, getAttributeValues, isResultLoading, selectedValue, onAttributeChange, attributes, catalogAttributes, catalogDateDatasets, showLabel, closeOnParentScroll }: IAlertingDialogAttributeProps): ReactElement | null;
13
+ //# sourceMappingURL=DefaultAlertingDialogAttribute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultAlertingDialogAttribute.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAkC,MAAM,OAAO,CAAC;AAkBjG,OAAO,EAAuB,KAAK,6BAA6B,EAAE,MAAM,aAAa,CAAC;AA2HtF;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAAC,EAC3C,EAAE,EACF,QAAQ,EACR,iBAAiB,EAAE,qBAAqB,EACxC,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,SAAgB,EAChB,mBAAmB,EACtB,EAAE,6BAA6B,GAAG,YAAY,GAAG,IAAI,CA8MrD"}