@gooddata/sdk-ui-dashboard 11.45.0-alpha.0 → 11.45.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 (229) hide show
  1. package/NOTICE +3 -3
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/index.d.ts +2 -2
  5. package/esm/index.d.ts.map +1 -1
  6. package/esm/index.js +2 -2
  7. package/esm/kdaDialog/composition/KeyDriversPanel.d.ts.map +1 -1
  8. package/esm/kdaDialog/composition/KeyDriversPanel.js +3 -1
  9. package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js +1 -1
  10. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.d.ts.map +1 -1
  11. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js +19 -25
  12. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomationsCount.d.ts +1 -2
  13. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomationsCount.d.ts.map +1 -1
  14. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomationsCount.js +18 -7
  15. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  16. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +3 -6
  17. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  18. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +2 -5
  19. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts +1 -1
  20. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js +3 -5
  22. package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.d.ts.map +1 -1
  23. package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js +4 -8
  24. package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
  25. package/esm/model/queryServices/queryWidgetFilters.js +1 -5
  26. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +3 -3
  27. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts.map +1 -1
  28. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js +2 -4
  29. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts +3 -3
  30. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map +1 -1
  31. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js +21 -27
  32. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.d.ts.map +1 -1
  33. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.js +1 -4
  34. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts +3 -4
  35. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts.map +1 -1
  36. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +13 -49
  37. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts +1 -7
  38. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts.map +1 -1
  39. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js +9 -42
  40. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.d.ts +2 -2
  41. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.d.ts.map +1 -1
  42. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.js +20 -28
  43. package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.d.ts.map +1 -1
  44. package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.js +1 -4
  45. package/esm/model/react/useDashboardAlerting/useDashboardAlertsDialog.d.ts.map +1 -1
  46. package/esm/model/react/useDashboardAlerting/useDashboardAlertsDialog.js +3 -10
  47. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.d.ts.map +1 -1
  48. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js +3 -10
  49. package/esm/model/react/useDashboardAutomations/useDashboardAutomations.d.ts.map +1 -1
  50. package/esm/model/react/useDashboardAutomations/useDashboardAutomations.js +5 -12
  51. package/esm/model/store/config/configSelectors.d.ts +6 -54
  52. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  53. package/esm/model/store/config/configSelectors.js +8 -76
  54. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +1 -10
  55. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  56. package/esm/model/store/tabs/parameters/parametersHelpers.js +1 -25
  57. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +7 -0
  58. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  59. package/esm/model/store/tabs/parameters/parametersSelectors.js +16 -0
  60. package/esm/model/store/topBar/topBarSelectors.d.ts +0 -4
  61. package/esm/model/store/topBar/topBarSelectors.d.ts.map +1 -1
  62. package/esm/model/store/topBar/topBarSelectors.js +5 -13
  63. package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
  64. package/esm/model/store/widgetDrills/widgetDrillSelectors.js +5 -6
  65. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  66. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +21 -52
  67. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +1 -2
  68. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +1 -1
  69. package/esm/presentation/automations/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +2 -3
  70. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +18 -0
  71. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +1 -0
  72. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.js +48 -0
  73. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.d.ts +28 -0
  74. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.d.ts.map +1 -0
  75. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.js +43 -0
  76. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts +1 -1
  77. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.d.ts.map +1 -1
  78. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertValidation.js +2 -2
  79. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts +0 -2
  80. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.d.ts.map +1 -1
  81. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useEditAlert.js +7 -23
  82. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts +1 -2
  83. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.d.ts.map +1 -1
  84. package/esm/presentation/automations/alerting/DefaultAlertingDialog/utils/items.js +2 -3
  85. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.d.ts +12 -0
  86. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContent.d.ts.map +1 -0
  87. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/{DefaultAlertingManagementDialogContentEnhanced.js → DefaultAlertingManagementDialogContent.js} +3 -3
  88. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
  89. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts.map +1 -1
  90. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +5 -33
  91. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -1
  92. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/Alert.js +2 -2
  93. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.d.ts.map +1 -1
  94. package/esm/presentation/automations/alerting/hooks/useGetSupportedMeasures.js +2 -2
  95. package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
  96. package/esm/presentation/automations/connectors/AlertingConnector.js +2 -40
  97. package/esm/presentation/automations/connectors/AlertingConnector.test.js +0 -1
  98. package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
  99. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +2 -39
  100. package/esm/presentation/automations/connectors/ScheduledEmailConnector.test.js +0 -1
  101. package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.d.ts +11 -0
  102. package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.d.ts.map +1 -0
  103. package/esm/presentation/automations/connectors/hooks/useAutomationManagementEditRouting.js +40 -0
  104. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.d.ts.map +1 -1
  105. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.js +5 -14
  106. package/esm/presentation/automations/connectors/hooks/useBuildAutomationsContext.test.js +1 -6
  107. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +1 -3
  108. package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
  109. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  110. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +7 -8
  111. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +2 -1
  112. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
  113. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +8 -5
  114. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +2 -1
  115. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  116. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +8 -5
  117. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/attachmentFormats.d.ts +15 -0
  118. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/attachmentFormats.d.ts.map +1 -0
  119. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/attachmentFormats.js +16 -0
  120. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts +1 -1
  121. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
  122. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +5 -17
  123. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/{DefaultScheduledEmailManagementDialogContentEnhanced.d.ts → DefaultScheduledEmailManagementDialogContent.d.ts} +3 -3
  124. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContent.d.ts.map +1 -0
  125. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/{DefaultScheduledEmailManagementDialogContentEnhanced.js → DefaultScheduledEmailManagementDialogContent.js} +3 -2
  126. package/esm/presentation/automations/shared/automationFilters/components/AutomationDateFilter.test.js +1 -3
  127. package/esm/presentation/automations/shared/utils/automationUtils.d.ts +2 -1
  128. package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
  129. package/esm/presentation/automations/shared/utils/automationUtils.js +1 -0
  130. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
  131. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +2 -3
  132. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.d.ts +1 -2
  133. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.d.ts.map +1 -1
  134. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightList.js +2 -2
  135. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts +1 -1
  136. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  137. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +8 -5
  138. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts.map +1 -1
  139. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.js +1 -1
  140. package/esm/presentation/deleteDialog/DefaultDeleteDialog.d.ts +1 -1
  141. package/esm/presentation/deleteDialog/DefaultDeleteDialog.d.ts.map +1 -1
  142. package/esm/presentation/deleteDialog/DefaultDeleteDialog.js +3 -8
  143. package/esm/presentation/deleteDialog/types.d.ts +0 -2
  144. package/esm/presentation/deleteDialog/types.d.ts.map +1 -1
  145. package/esm/presentation/deleteDialog/types.js +1 -1
  146. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  147. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +4 -9
  148. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
  149. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +11 -20
  150. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
  151. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +2 -3
  152. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  153. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +2 -3
  154. package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
  155. package/esm/presentation/insightList/InsightList.js +62 -9
  156. package/esm/presentation/insightList/InsightListDivider.d.ts +5 -0
  157. package/esm/presentation/insightList/InsightListDivider.d.ts.map +1 -0
  158. package/esm/presentation/insightList/InsightListDivider.js +12 -0
  159. package/esm/presentation/insightList/types.d.ts +3 -2
  160. package/esm/presentation/insightList/types.d.ts.map +1 -1
  161. package/esm/presentation/insightList/types.js +1 -0
  162. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +4 -12
  163. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  164. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +4 -12
  165. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
  166. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +5 -28
  167. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -1
  168. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +2 -3
  169. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
  170. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +1 -3
  171. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
  172. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +2 -3
  173. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +1 -3
  174. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
  175. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +2 -2
  176. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +1 -3
  177. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
  178. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +4 -4
  179. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.d.ts.map +1 -1
  180. package/esm/presentation/widget/insight/configuration/InsightAlertsNew.js +2 -3
  181. package/esm/presentation/widget/insight/configuration/InsightConfiguration.d.ts.map +1 -1
  182. package/esm/presentation/widget/insight/configuration/InsightConfiguration.js +3 -5
  183. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.d.ts.map +1 -1
  184. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js +2 -3
  185. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
  186. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +8 -21
  187. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/types.d.ts +0 -1
  188. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/types.d.ts.map +1 -1
  189. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/types.js +1 -1
  190. package/esm/presentation/widget/richText/EditModeDashboardRichText.d.ts.map +1 -1
  191. package/esm/presentation/widget/richText/EditModeDashboardRichText.js +4 -13
  192. package/esm/presentation/widget/richText/ViewModeDashboardRichText.d.ts.map +1 -1
  193. package/esm/presentation/widget/richText/ViewModeDashboardRichText.js +2 -3
  194. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
  195. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +7 -7
  196. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +7 -5
  197. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts.map +1 -1
  198. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js +2 -5
  199. package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.d.ts.map +1 -1
  200. package/esm/presentation/widget/widget/InsightWidget/useEditableInsightMenu.js +1 -5
  201. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
  202. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +0 -3
  203. package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts.map +1 -1
  204. package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.js +2 -5
  205. package/esm/sdk-ui-dashboard.d.ts +7 -77
  206. package/package.json +21 -20
  207. package/styles/css/main.css +12 -0
  208. package/styles/css/main.css.map +1 -1
  209. package/styles/css/sidebar.css +12 -0
  210. package/styles/css/sidebar.css.map +1 -1
  211. package/styles/scss/sidebar.scss +12 -0
  212. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.d.ts +0 -15
  213. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.d.ts.map +0 -1
  214. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentBasic.js +0 -33
  215. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts +0 -12
  216. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogContentEnhanced.d.ts.map +0 -1
  217. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts +0 -12
  218. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts.map +0 -1
  219. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertsList.js +0 -43
  220. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentBasic.d.ts +0 -13
  221. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentBasic.d.ts.map +0 -1
  222. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentBasic.js +0 -33
  223. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialogContentEnhanced.d.ts.map +0 -1
  224. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts +0 -13
  225. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts.map +0 -1
  226. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.js +0 -42
  227. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.d.ts +0 -43
  228. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.d.ts.map +0 -1
  229. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightWidgetAlerting.js +0 -303
@@ -5,7 +5,6 @@ import { simplifyText } from "@gooddata/util";
5
5
  import { useRichTextWidgetFilters } from "../../../_staging/sharedHooks/useRichTextFilters.js";
6
6
  import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
7
7
  import { useDashboardUserInteraction } from "../../../model/react/useDashboardUserInteraction.js";
8
- import { selectEnableRichTextDynamicReferences } from "../../../model/store/config/configSelectors.js";
9
8
  import { selectExecutionTimestamp } from "../../../model/store/ui/uiSelectors.js";
10
9
  import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
11
10
  import { DescriptionClickTrigger } from "./DescriptionClickTrigger.js";
@@ -15,7 +14,6 @@ export function InsightWidgetDescriptionTrigger(props) {
15
14
  const { isVisible, description, useRichText } = useInsightWidgetDescription(props);
16
15
  const widgetRefAsString = objRefToString(widgetRef(widget));
17
16
  const userInteraction = useDashboardUserInteraction();
18
- const useReferences = useDashboardSelector(selectEnableRichTextDynamicReferences);
19
17
  const executionTimestamp = useDashboardSelector(selectExecutionTimestamp);
20
18
  const { filters } = useRichTextWidgetFilters(widget);
21
19
  const { LoadingComponent } = useDashboardComponentsContext();
@@ -25,7 +23,7 @@ export function InsightWidgetDescriptionTrigger(props) {
25
23
  description,
26
24
  };
27
25
  if (isVisible) {
28
- return (_jsx(DescriptionClickTrigger, { className: `widget-description-${simplifyText(widgetRefAsString)}`, description: description, onOpen: () => userInteraction.descriptionTooltipOpened(eventPayload), useRichText: useRichText, useReferences: useReferences, filters: filters, LoadingComponent: LoadingComponent, execConfig: {
26
+ return (_jsx(DescriptionClickTrigger, { className: `widget-description-${simplifyText(widgetRefAsString)}`, description: description, onOpen: () => userInteraction.descriptionTooltipOpened(eventPayload), useRichText: useRichText, useReferences: true, filters: filters, LoadingComponent: LoadingComponent, execConfig: {
29
27
  timestamp: executionTimestamp,
30
28
  } }));
31
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;AA2BvE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAgB7G;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAkCD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CA2MhF"}
1
+ {"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;AAwBvE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAgB7G;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAkCD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CA2MhF"}
@@ -8,7 +8,7 @@ import { Button, FullScreenOverlay, Overlay, OverlayController, OverlayControlle
8
8
  import { DOWNLOADER_ID } from "../../../../../_staging/fileUtils/downloadFile.js";
9
9
  import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
10
10
  import { useWidgetExecutionsHandler } from "../../../../../model/react/useWidgetExecutionsHandler.js";
11
- import { selectEnableRichTextDynamicReferences, selectSeparators, } from "../../../../../model/store/config/configSelectors.js";
11
+ import { selectSeparators } from "../../../../../model/store/config/configSelectors.js";
12
12
  import { DRILL_MODAL_EXECUTION_PSEUDO_REF } from "../../../../../model/store/executionResults/constants.js";
13
13
  import { selectExecutionTimestamp } from "../../../../../model/store/ui/uiSelectors.js";
14
14
  import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../../../constants/zIndex.js";
@@ -124,7 +124,6 @@ function InsightDrillDialogDescriptionButton({ isOpen, isMobileDevice, setIsOpen
124
124
  }, value: _jsx(UiIcon, { type: "question", size: 18 }) }) }));
125
125
  }
126
126
  function InsightDrillDialogDescriptionContent({ id, isOpen, isMobileDevice, description, widgetFilters, LoadingComponent, }) {
127
- const isRichTextReferencesEnabled = useDashboardSelector(selectEnableRichTextDynamicReferences);
128
127
  const separators = useDashboardSelector(selectSeparators);
129
128
  const executionTimestamp = useDashboardSelector(selectExecutionTimestamp);
130
129
  return (_jsx("div", { id: id, className: cx("drill-dialog-insight-container-description", {
@@ -132,5 +131,5 @@ function InsightDrillDialogDescriptionContent({ id, isOpen, isMobileDevice, desc
132
131
  "drill-dialog-insight-container-description--mobile": isMobileDevice,
133
132
  }), children: _jsx("div", { className: "drill-dialog-insight-container-description-content", children: _jsx(RichText, { value: description, execConfig: {
134
133
  timestamp: executionTimestamp,
135
- }, renderMode: "view", referencesEnabled: isRichTextReferencesEnabled, filters: widgetFilters, separators: separators, LoadingComponent: LoadingComponent }) }) }));
134
+ }, renderMode: "view", referencesEnabled: true, filters: widgetFilters, separators: separators, LoadingComponent: LoadingComponent }) }) }));
136
135
  }
@@ -3,8 +3,6 @@ import { type IExecutionResultEnvelope } from "../../../../../model/store/execut
3
3
  import { type IMeasureFormatMap } from "../../../../automations/alerting/DefaultAlertingDialog/utils/getters.js";
4
4
  import { type AlertAttribute, type AlertMetric } from "../../../../automations/alerting/types.js";
5
5
  interface ICreateAlertProps {
6
- canManageAttributes: boolean;
7
- canManageComparison: boolean;
8
6
  execResult: IExecutionResultEnvelope | undefined;
9
7
  alert: IAutomationMetadataObjectDefinition | null;
10
8
  onClose: () => void;
@@ -23,6 +21,6 @@ interface ICreateAlertProps {
23
21
  separators?: ISeparators;
24
22
  isExecutionTimestampMode?: boolean;
25
23
  }
26
- export declare function CreateAlert({ canManageAttributes, canManageComparison, execResult, alert, onClose, onCancel, onCreate, destinations, users, hasAlerts, measures, attributes, maxAutomationsReached, maxAutomationsRecipients, measureFormatMap, catalogAttributes, catalogDateDatasets, separators, isExecutionTimestampMode }: ICreateAlertProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function CreateAlert({ execResult, alert, onClose, onCancel, onCreate, destinations, users, hasAlerts, measures, attributes, maxAutomationsReached, maxAutomationsRecipients, measureFormatMap, catalogAttributes, catalogDateDatasets, separators, isExecutionTimestampMode }: ICreateAlertProps): import("react/jsx-runtime").JSX.Element;
27
25
  export {};
28
26
  //# sourceMappingURL=CreateAlert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,yEAAyE,CAAC;AACjH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAIlG,UAAU,iBAAiB;IACvB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjD,KAAK,EAAE,mCAAmC,GAAG,IAAI,CAAC;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,mCAAmC,KAAK,IAAI,CAAC;IAChE,YAAY,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IACtF,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,wBAAgB,WAAW,CAAC,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACV,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EAC3B,EAAE,iBAAiB,2CAyBnB"}
1
+ {"version":3,"file":"CreateAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,yEAAyE,CAAC;AACjH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAIlG,UAAU,iBAAiB;IACvB,UAAU,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjD,KAAK,EAAE,mCAAmC,GAAG,IAAI,CAAC;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,mCAAmC,KAAK,IAAI,CAAC;IAChE,YAAY,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IACtF,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,wBAAgB,WAAW,CAAC,EACxB,UAAU,EACV,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EAC3B,EAAE,iBAAiB,2CAuBnB"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { EditAlert } from "./EditAlert.js";
3
- export function CreateAlert({ canManageAttributes, canManageComparison, execResult, alert, onClose, onCancel, onCreate, destinations, users, hasAlerts, measures, attributes, maxAutomationsReached, maxAutomationsRecipients, measureFormatMap, catalogAttributes, catalogDateDatasets, separators, isExecutionTimestampMode, }) {
4
- return (_jsx(EditAlert, { canManageAttributes: canManageAttributes, canManageComparison: canManageComparison, execResult: execResult, alert: alert, onClose: onClose, onCancel: onCancel, onCreate: onCreate, isNewAlert: true, destinations: destinations, users: users, hasAlerts: hasAlerts, measures: measures, attributes: attributes, maxAutomationsReached: maxAutomationsReached, maxAutomationsRecipients: maxAutomationsRecipients, measureFormatMap: measureFormatMap, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, separators: separators, isExecutionTimestampMode: isExecutionTimestampMode }));
3
+ export function CreateAlert({ execResult, alert, onClose, onCancel, onCreate, destinations, users, hasAlerts, measures, attributes, maxAutomationsReached, maxAutomationsRecipients, measureFormatMap, catalogAttributes, catalogDateDatasets, separators, isExecutionTimestampMode, }) {
4
+ return (_jsx(EditAlert, { execResult: execResult, alert: alert, onClose: onClose, onCancel: onCancel, onCreate: onCreate, isNewAlert: true, destinations: destinations, users: users, hasAlerts: hasAlerts, measures: measures, attributes: attributes, maxAutomationsReached: maxAutomationsReached, maxAutomationsRecipients: maxAutomationsRecipients, measureFormatMap: measureFormatMap, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, separators: separators, isExecutionTimestampMode: isExecutionTimestampMode }));
5
5
  }
@@ -4,8 +4,6 @@ import { type IExecutionResultEnvelope } from "../../../../../model/store/execut
4
4
  import { type IMeasureFormatMap } from "../../../../automations/alerting/DefaultAlertingDialog/utils/getters.js";
5
5
  import { type AlertAttribute, type AlertMetric } from "../../../../automations/alerting/types.js";
6
6
  interface IEditAlertProps {
7
- canManageAttributes: boolean;
8
- canManageComparison: boolean;
9
7
  execResult: IExecutionResultEnvelope | undefined;
10
8
  alert: IAutomationMetadataObject;
11
9
  isNewAlert?: boolean;
@@ -27,6 +25,6 @@ interface IEditAlertProps {
27
25
  separators?: ISeparators;
28
26
  isExecutionTimestampMode?: boolean;
29
27
  }
30
- export declare function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinations, users, attributes, measures, onClose, onCancel, onCreate, onUpdate, maxAutomationsReached, maxAutomationsRecipients, overlayPositionType, measureFormatMap, catalogAttributes, catalogDateDatasets, canManageAttributes, canManageComparison, separators, isExecutionTimestampMode }: IEditAlertProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinations, users, attributes, measures, onClose, onCancel, onCreate, onUpdate, maxAutomationsReached, maxAutomationsRecipients, overlayPositionType, measureFormatMap, catalogAttributes, catalogDateDatasets, separators, isExecutionTimestampMode }: IEditAlertProps): import("react/jsx-runtime").JSX.Element;
31
29
  export {};
32
30
  //# sourceMappingURL=EditAlert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAExB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAMH,KAAK,mBAAmB,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAgBrG,OAAO,EACH,KAAK,iBAAiB,EAWzB,MAAM,yEAAyE,CAAC;AAMjF,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAwBlG,UAAU,eAAe;IACrB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjD,KAAK,EAAE,yBAAyB,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IACtF,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,mCAAmC,KAAK,IAAI,CAAC;IAChE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACtD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,wBAAgB,SAAS,CAAC,EACtB,KAAK,EACL,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,EACL,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,qBAA6B,EAC7B,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EAC3B,EAAE,eAAe,2CA8XjB"}
1
+ {"version":3,"file":"EditAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EAExB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,cAAc,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAMH,KAAK,mBAAmB,EAC3B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAgBrG,OAAO,EACH,KAAK,iBAAiB,EAWzB,MAAM,yEAAyE,CAAC;AAMjF,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAwBlG,UAAU,eAAe;IACrB,UAAU,EAAE,wBAAwB,GAAG,SAAS,CAAC;IACjD,KAAK,EAAE,yBAAyB,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IACtF,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,EAAE,CAAC;IAC7B,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,mCAAmC,KAAK,IAAI,CAAC;IAChE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACtD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,wBAAgB,SAAS,CAAC,EACtB,KAAK,EACL,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,EACL,UAAU,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,qBAA6B,EAC7B,wBAAwB,EACxB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EAC3B,EAAE,eAAe,2CAwXjB"}
@@ -36,7 +36,7 @@ const invalidMessagesObj = {
36
36
  missingMetric: messages.invalidDefault,
37
37
  missingWidget: messages.invalidWidget,
38
38
  };
39
- export function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinations, users, attributes, measures, onClose, onCancel, onCreate, onUpdate, maxAutomationsReached = false, maxAutomationsRecipients, overlayPositionType, measureFormatMap, catalogAttributes, catalogDateDatasets, canManageAttributes, canManageComparison, separators, isExecutionTimestampMode, }) {
39
+ export function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinations, users, attributes, measures, onClose, onCancel, onCreate, onUpdate, maxAutomationsReached = false, maxAutomationsRecipients, overlayPositionType, measureFormatMap, catalogAttributes, catalogDateDatasets, separators, isExecutionTimestampMode, }) {
40
40
  const { defaultUser, viewMode, updatedAlert, canSubmit, allowExternalRecipients, allowOnlyLoggedUserRecipients, warningMessage, enableAnomalyDetectionAlert, allowHourlyRecurrence,
41
41
  //
42
42
  changeAnomalyDetection, changeComparisonOperator, changeRelativeOperator, changeMeasure, changeAttribute, changeTitle, changeValue, changeDestination, changeComparisonType, changeRecipients, changeSensitivity, changeGranularity,
@@ -72,7 +72,7 @@ export function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinatio
72
72
  ? allWidgets.find((w) => w.localIdentifier === widgetLocalId)
73
73
  : undefined;
74
74
  const alertInsight = useDashboardSelector(selectInsightByWidgetRef(alertWidget?.ref));
75
- const { isValid, invalidityReason } = useAlertValidation(alert, alertWidget, alertInsight, catalogDateDatasets, isNewAlert, canManageComparison);
75
+ const { isValid, invalidityReason } = useAlertValidation(alert, alertWidget, alertInsight, catalogDateDatasets, isNewAlert);
76
76
  const showFilterInfo = filters.length > 0 || Boolean(selectedComparator?.granularity);
77
77
  const { isResultLoading, getAttributeValues, getMetricValue } = useAttributeValuesFromExecResults(execResult);
78
78
  const { value, onChange, onBlur } = useThresholdValue(changeValue, getMetricValue, isNewAlert, updatedAlert.alert, selectedRelativeOperator, selectedMeasure, selectedAttribute, selectedValue);
@@ -81,7 +81,7 @@ export function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinatio
81
81
  : intl.formatMessage({ id: "insightAlert.config.editAlert" }), onClose: onClose, onBack: hasAlerts ? onCancel : undefined, children: _jsxs("div", { className: "gd-edit-alert", children: [
82
82
  _jsxs("div", { className: "gd-edit-alert__form", children: [
83
83
  _jsxs("div", { className: "gd-edit-alert__form-content", children: [
84
- _jsx("label", { htmlFor: "alert.measure", className: "gd-edit-alert__measure-label", children: _jsx(FormattedMessage, { id: "insightAlert.config.when" }) }), _jsx(AlertMeasureSelect, { selectedMeasure: selectedMeasure, onMeasureChange: changeMeasure, measures: measures, overlayPositionType: overlayPositionType, id: "alert.measure" }), Boolean(canManageAttributes) && (_jsx(_Fragment, { children: _jsx(AlertAttributeSelect, { id: "alert.attribute", selectedAttribute: selectedAttribute, selectedValue: selectedValue, onAttributeChange: changeAttribute, attributes: attributes, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, getAttributeValues: getAttributeValues, isResultLoading: isResultLoading, showLabel: true, closeOnParentScroll: true }) })), showFilterInfo ? (_jsxs("div", { className: "gd-edit-alert__measure-info", children: [Boolean(selectedComparator?.granularity) && (_jsx(FormattedMessage, { tagName: "span", id: "insightAlert.config.for.filter", values: {
84
+ _jsx("label", { htmlFor: "alert.measure", className: "gd-edit-alert__measure-label", children: _jsx(FormattedMessage, { id: "insightAlert.config.when" }) }), _jsx(AlertMeasureSelect, { selectedMeasure: selectedMeasure, onMeasureChange: changeMeasure, measures: measures, overlayPositionType: overlayPositionType, id: "alert.measure" }), _jsx(AlertAttributeSelect, { id: "alert.attribute", selectedAttribute: selectedAttribute, selectedValue: selectedValue, onAttributeChange: changeAttribute, attributes: attributes, catalogAttributes: catalogAttributes, catalogDateDatasets: catalogDateDatasets, getAttributeValues: getAttributeValues, isResultLoading: isResultLoading, showLabel: true, closeOnParentScroll: true }), showFilterInfo ? (_jsxs("div", { className: "gd-edit-alert__measure-info", children: [Boolean(selectedComparator?.granularity) && (_jsx(FormattedMessage, { tagName: "span", id: "insightAlert.config.for.filter", values: {
85
85
  granularity: [
86
86
  intl.formatMessage({ id: "granularity.this_keyword" }),
87
87
  translateGranularity(intl, selectedComparator?.granularity),
@@ -109,7 +109,7 @@ export function EditAlert({ alert, execResult, isNewAlert, hasAlerts, destinatio
109
109
  })(), !updatedAlert || !isChangeOrDifferenceOperator(updatedAlert.alert) ? null : (_jsxs("div", { style: { marginTop: "1rem" }, children: [
110
110
  _jsx("label", { htmlFor: "alert.comparison", children: _jsx(FormattedMessage, { id: "insightAlert.config.comparison" }) }), _jsx(AlertComparisonPeriodSelect, { id: "alert.comparison", measure: selectedMeasure, alert: updatedAlert, selectedComparison: selectedComparator?.comparator, selectedGranularity: selectedComparator?.granularity, onComparisonChange: (comparisonType, granularity) => {
111
111
  changeComparisonType(selectedMeasure, selectedRelativeOperator, comparisonType, granularity);
112
- }, overlayPositionType: overlayPositionType, canManageComparison: canManageComparison })
112
+ }, overlayPositionType: overlayPositionType })
113
113
  ] })), !updatedAlert || !isAnomalyDetection(updatedAlert.alert) ? null : (_jsxs(_Fragment, { children: [
114
114
  _jsxs("div", { style: { marginTop: "1rem" }, children: [
115
115
  _jsx("label", { htmlFor: "alert.sensitivity", children: _jsx(FormattedMessage, { id: "insightAlert.config.sensitivity" }) }), _jsx(AlertSensitivitySelect, { id: "alert.sensitivity", selectedSensitivity: selectedSensitivity, onSensitivityChange: changeSensitivity, overlayPositionType: overlayPositionType })
@@ -1 +1 @@
1
- {"version":3,"file":"InsightAlertsNew.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/InsightAlertsNew.tsx"],"names":[],"mappings":"AAkDA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAQpF,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,iCAAiC,2CAwKhG"}
1
+ {"version":3,"file":"InsightAlertsNew.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/InsightAlertsNew.tsx"],"names":[],"mappings":"AA+CA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAQpF,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,iCAAiC,2CAsKhG"}
@@ -12,7 +12,7 @@ import { DEFAULT_MAX_AUTOMATIONS } from "../../../../model/react/useDashboardAut
12
12
  import { useDashboardAutomations } from "../../../../model/react/useDashboardAutomations/useDashboardAutomations.js";
13
13
  import { selectAllAutomationsCount, selectAutomationsIsLoading, selectDashboardUserAutomationAlertsInContext, } from "../../../../model/store/automations/automationsSelectors.js";
14
14
  import { selectCatalogDateDatasets } from "../../../../model/store/catalog/catalogSelectors.js";
15
- import { selectEnableComparisonInAlerting, selectLocale, } from "../../../../model/store/config/configSelectors.js";
15
+ import { selectLocale } from "../../../../model/store/config/configSelectors.js";
16
16
  import { selectEntitlementMaxAutomations, selectEntitlementUnlimitedAutomations, } from "../../../../model/store/entitlements/entitlementsSelectors.js";
17
17
  import { selectInsightByWidgetRef } from "../../../../model/store/insights/insightsSelectors.js";
18
18
  import { selectCanCreateAutomation, selectCanManageWorkspace, } from "../../../../model/store/permissions/permissionsSelectors.js";
@@ -34,7 +34,6 @@ export function InsightAlertsNew({ widget, onClose, onGoBack }) {
34
34
  const canManageAutomations = useDashboardSelector(selectCanManageWorkspace);
35
35
  const locale = useDashboardSelector(selectLocale);
36
36
  const catalogDateDatasets = useDashboardSelector(selectCatalogDateDatasets);
37
- const canManageComparison = useDashboardSelector(selectEnableComparisonInAlerting);
38
37
  const automationsLoading = useDashboardSelector(selectAutomationsIsLoading);
39
38
  const automationsCount = useDashboardSelector(selectAllAutomationsCount);
40
39
  const maxAutomationsEntitlement = useDashboardSelector(selectEntitlementMaxAutomations);
@@ -133,7 +132,7 @@ export function InsightAlertsNew({ widget, onClose, onGoBack }) {
133
132
  void fillMissingTitles(insight, locale, 9999).then(setEffectiveInsight);
134
133
  }
135
134
  }, [insight, locale]);
136
- const supportedMeasures = useMemo(() => getSupportedInsightMeasuresByInsight(effectiveInsight, catalogDateDatasets, canManageComparison), [effectiveInsight, catalogDateDatasets, canManageComparison]);
135
+ const supportedMeasures = useMemo(() => getSupportedInsightMeasuresByInsight(effectiveInsight, catalogDateDatasets), [effectiveInsight, catalogDateDatasets]);
137
136
  return (_jsx(ScrollablePanel, { className: classes, children: _jsxs(OverlayControllerProvider, { overlayController: overlayController, children: [automationsLoading || supportedMeasures.length > 0 ? (_jsx(AlertsList, { isLoading: automationsLoading || isSavingAlert || isDeleteInProgress, alerts: alerts, onCreateAlert: initiateAlertCreation, onEditAlert: initiateAlertEditing, onPauseAlert: pauseExistingAlert, onResumeAlert: resumeExistingAlert, onDeleteAlert: startDeletingAlert, onClose: onClose, onGoBack: onGoBack, maxAutomationsReached: maxAutomationsReached, canCreateAutomation: canCreateAutomation, isExecutionTimestampMode: isExecutionTimestampMode })) : (_jsx(NoAvailableMeasures, { onClose: onClose, onBack: onGoBack })), alertToDelete ? (_jsx(AlertDeleteDialog, { onCancel: cancelDeletingAlert, onDelete: () => {
138
137
  void deleteExistingAlert();
139
138
  }, title: alertToDelete.title })) : null] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"InsightConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/InsightConfiguration.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAQpF,wBAAgB,oBAAoB,CAAC,EACjC,MAAM,EACN,iBAAwB,EAC3B,EAAE,iCAAiC,2CA4DnC"}
1
+ {"version":3,"file":"InsightConfiguration.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insight/configuration/InsightConfiguration.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AAQpF,wBAAgB,oBAAoB,CAAC,EACjC,MAAM,EACN,iBAAwB,EAC3B,EAAE,iCAAiC,2CA2DnC"}
@@ -5,8 +5,7 @@ import { isInsightWidget, objRefToString, } from "@gooddata/sdk-model";
5
5
  import { OverlayController, OverlayControllerProvider, ScrollablePanel } from "@gooddata/sdk-ui-kit";
6
6
  import { simplifyText } from "@gooddata/util";
7
7
  import { changeInsightWidgetDescription, changeInsightWidgetVisConfiguration, } from "../../../../model/commands/insight.js";
8
- import { useDashboardDispatch, useDashboardSelector, } from "../../../../model/react/DashboardStoreProvider.js";
9
- import { selectSettings } from "../../../../model/store/config/configSelectors.js";
8
+ import { useDashboardDispatch } from "../../../../model/react/DashboardStoreProvider.js";
10
9
  import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../../constants/zIndex.js";
11
10
  import { InsightDescriptionConfig } from "./InsightDescriptionConfig/InsightDescriptionConfig.js";
12
11
  import { InsightFilters } from "./InsightFilters.js";
@@ -14,7 +13,6 @@ import { InsightTitleConfig } from "./InsightTitleConfig.js";
14
13
  const overlayController = OverlayController.getInstance(DASHBOARD_HEADER_OVERLAYS_Z_INDEX);
15
14
  export function InsightConfiguration({ widget, enableTitleConfig = true, }) {
16
15
  const widgetRefSuffix = isInsightWidget(widget) ? simplifyText(objRefToString(widget.ref)) : "";
17
- const settings = useDashboardSelector(selectSettings);
18
16
  const dispatch = useDashboardDispatch();
19
17
  const classes = cx("configuration-scrollable-panel", "s-configuration-scrollable-panel", `s-visualization-${widgetRefSuffix}`);
20
18
  const defaultDescriptionConfig = {
@@ -26,9 +24,9 @@ export function InsightConfiguration({ widget, enableTitleConfig = true, }) {
26
24
  _jsx(InsightTitleConfig, { widget: widget, isHidingOfWidgetTitleEnabled: enableTitleConfig, hideTitle: widget.configuration?.hideTitle ?? false, setVisualPropsConfigurationTitle: (widget, hideTitle) => {
27
25
  dispatch(changeInsightWidgetVisConfiguration(widget.ref, {
28
26
  ...widget.configuration,
29
- ...{ hideTitle },
27
+ hideTitle,
30
28
  }));
31
- } }), _jsx(InsightDescriptionConfig, { widget: widget, isWidgetDescriptionEnabled: settings.enableDescriptions ?? false, descriptionConfig: widget.configuration?.description ?? defaultDescriptionConfig, setDescriptionConfiguration: (widget, config) => {
29
+ } }), _jsx(InsightDescriptionConfig, { widget: widget, isWidgetDescriptionEnabled: true, descriptionConfig: widget.configuration?.description ?? defaultDescriptionConfig, setDescriptionConfiguration: (widget, config) => {
32
30
  dispatch(changeInsightWidgetVisConfiguration(widget.ref, {
33
31
  hideTitle: false, // hideTitle is mandatory part of config on Bear
34
32
  ...widget.configuration,
@@ -1 +1 @@
1
- {"version":3,"file":"InsightDescription.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAK7E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAerE,UAAU,wBAAwB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EAC/B,WAAW,EACX,cAAc,EACd,QAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACb,EAAE,wBAAwB,2CAkF1B"}
1
+ {"version":3,"file":"InsightDescription.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAK7E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAYrE,UAAU,wBAAwB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EAC/B,WAAW,EACX,cAAc,EACd,QAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACb,EAAE,wBAAwB,2CAgF1B"}
@@ -5,14 +5,13 @@ import cx from "classnames";
5
5
  import { useIntl } from "react-intl";
6
6
  import { RichTextWithTooltip, TextAreaWithSubmit } from "@gooddata/sdk-ui-kit";
7
7
  import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
8
- import { selectEnableRichTextDescriptions, selectEnableRichTextDynamicReferences, } from "../../../../../model/store/config/configSelectors.js";
8
+ import { selectEnableRichTextDescriptions } from "../../../../../model/store/config/configSelectors.js";
9
9
  import { selectExecutionTimestamp } from "../../../../../model/store/ui/uiSelectors.js";
10
10
  const richTextTooltipAlignPoints = [
11
11
  { align: "bl tl", offset: { x: 4, y: 5 } },
12
12
  { align: "tl bl", offset: { x: 4, y: -5 } },
13
13
  ];
14
14
  export function InsightDescription({ description, setDescription, readOnly = false, LoadingComponent, insightFilters, separators, }) {
15
- const isRichTextReferencesEnabled = useDashboardSelector(selectEnableRichTextDynamicReferences);
16
15
  const intl = useIntl();
17
16
  const placeholder = intl.formatMessage({
18
17
  id: "configurationPanel.visualprops.descriptionPlaceholder",
@@ -39,7 +38,7 @@ export function InsightDescription({ description, setDescription, readOnly = fal
39
38
  const onRichTextChange = useCallback((value) => {
40
39
  setRichTextValue(value);
41
40
  }, []);
42
- return (_jsx("label", { className: "gd-input", children: useRichText ? (_jsx("div", { className: cx("gd-input-field gd-rich-text-insight-description", { disabled: readOnly }), onClick: onDescriptionClick, onBlur: onDescriptionBlur, children: _jsx(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 4, editPlaceholder: placeholder, emptyElement: readOnly ? undefined : (_jsx("div", { className: "gd-editable-label-richtext-empty", children: placeholder })), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints, referencesEnabled: isRichTextReferencesEnabled, LoadingComponent: LoadingComponent, filters: insightFilters, separators: separators, execConfig: {
41
+ return (_jsx("label", { className: "gd-input", children: useRichText ? (_jsx("div", { className: cx("gd-input-field gd-rich-text-insight-description", { disabled: readOnly }), onClick: onDescriptionClick, onBlur: onDescriptionBlur, children: _jsx(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 4, editPlaceholder: placeholder, emptyElement: readOnly ? undefined : (_jsx("div", { className: "gd-editable-label-richtext-empty", children: placeholder })), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints, referencesEnabled: true, LoadingComponent: LoadingComponent, filters: insightFilters, separators: separators, execConfig: {
43
42
  timestamp: executionTimestamp,
44
43
  } }) })) : (_jsx(TextAreaWithSubmit, { className: cx("gd-input-field description gd-widget-description-input"), rows: 4, defaultValue: (description || "").trim(), maxLength: 2000, placeholder: readOnly ? undefined : placeholder, onSubmit: onChange, disabled: readOnly })) }));
45
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getDefaultInsightMenuItems.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAElG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA8MxD;;GAEG;AACH,wBAAgB,0BAA0B,CACtC,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,qBAAqB,EAC7B,SAAS,CAAC,EAAE,wBAAwB,GACrC,gBAAgB,EAAE,CAuOpB"}
1
+ {"version":3,"file":"getDefaultInsightMenuItems.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAElG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA8MxD;;GAEG;AACH,wBAAgB,0BAA0B,CACtC,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,qBAAqB,EAC7B,SAAS,CAAC,EAAE,wBAAwB,GACrC,gBAAgB,EAAE,CAqNpB"}
@@ -134,7 +134,7 @@ const getExportMenuItems = (intl, config, disabledReasonTooltip, limitBreakToolt
134
134
  * @internal
135
135
  */
136
136
  export function getDefaultInsightMenuItems(intl, config, execution) {
137
- const { exportCSVDisabled, exportXLSXDisabled, isExporting, scheduleExportDisabled, scheduleExportDisabledReason, scheduleExportManagementDisabled, isAutomationManagementEnabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, onAlertingManagementOpen, isScheduleExportVisible, isScheduleExportManagementVisible, isDataError, isAlertingVisible, isAlertManagementVisible, alertingDisabled, alertingDisabledReason, canCreateAutomation, isExportRawVisible, isExportVisible, disabledReason, } = config;
137
+ const { exportCSVDisabled, exportXLSXDisabled, isExporting, scheduleExportDisabled, scheduleExportDisabledReason, scheduleExportManagementDisabled, onExportCSV, onExportXLSX, onScheduleExport, onScheduleManagementExport, onAlertingManagementOpen, isScheduleExportManagementVisible, isDataError, isAlertManagementVisible, alertingDisabled, alertingDisabledReason, canCreateAutomation, isExportRawVisible, isExportVisible, disabledReason, } = config;
138
138
  const defaultWidgetTooltip = isDataError
139
139
  ? intl.formatMessage({ id: "options.menu.unsupported.error" })
140
140
  : intl.formatMessage({ id: "options.menu.unsupported.loading" });
@@ -191,8 +191,6 @@ export function getDefaultInsightMenuItems(intl, config, execution) {
191
191
  ? intl.formatMessage({ id: "options.menu.export.partialResults.exportDisabled" })
192
192
  : undefined;
193
193
  const exportMenuItems = getExportMenuItems(intl, config, exportReasonTooltip, limitBreakTooltip);
194
- const isSomeScheduleVisible = (isScheduleExportVisible && !scheduleExportDisabled) ||
195
- (isScheduleExportManagementVisible && !scheduleExportManagementDisabled);
196
194
  const availableMenuItems = {
197
195
  exportsSubmenu: {
198
196
  type: "submenu",
@@ -284,23 +282,12 @@ export function getDefaultInsightMenuItems(intl, config, execution) {
284
282
  className: "s-options-menu-schedule-export",
285
283
  },
286
284
  };
287
- const menuItems = isAutomationManagementEnabled
288
- ? [
289
- (isExportRawVisible || isExportVisible) && availableMenuItems.exportsSubmenu,
290
- !isExportRawVisible && availableMenuItems.exportXLSXBubble,
291
- !isExportRawVisible && availableMenuItems.exportCSVBubble,
292
- isScheduleExportManagementVisible && availableMenuItems.scheduleExportManagement,
293
- isAlertManagementVisible && availableMenuItems.alertsManagement,
294
- ]
295
- : [
296
- (isExportRawVisible || isExportVisible) && availableMenuItems.exportsSubmenu,
297
- !isExportRawVisible && availableMenuItems.exportXLSXBubble,
298
- !isExportRawVisible && availableMenuItems.exportCSVBubble,
299
- isAlertingVisible && availableMenuItems.alertingSeparator,
300
- isAlertingVisible && availableMenuItems.alertsSubmenu,
301
- isSomeScheduleVisible && availableMenuItems.schedulingSeparator,
302
- isScheduleExportVisible && availableMenuItems.scheduleExport,
303
- isScheduleExportManagementVisible && availableMenuItems.scheduleExportEdit,
304
- ];
285
+ const menuItems = [
286
+ (isExportRawVisible || isExportVisible) && availableMenuItems.exportsSubmenu,
287
+ isExportVisible && !isExportRawVisible && availableMenuItems.exportXLSXBubble,
288
+ isExportVisible && !isExportRawVisible && availableMenuItems.exportCSVBubble,
289
+ isScheduleExportManagementVisible && availableMenuItems.scheduleExportManagement,
290
+ isAlertManagementVisible && availableMenuItems.alertsManagement,
291
+ ];
305
292
  return compact(menuItems);
306
293
  }
@@ -25,7 +25,6 @@ export interface IUseInsightMenuConfig {
25
25
  exportPowerPointPresentationDisabled: boolean;
26
26
  exportPngImageDisabled: boolean;
27
27
  exportPdfTabularDisabled: boolean;
28
- isAutomationManagementEnabled: boolean;
29
28
  onExportXLSX: () => void;
30
29
  onExportCSV: () => void;
31
30
  onExportRawCSV: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/types.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,GAAG,WAAW,GAAG,mBAAmB,CAAC;AAEhG;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,GAAG,WAAW,GAAG,mBAAmB,CAAC;AAE1F;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,OAAO,CAAC;IACrB,sBAAsB,EAAE,OAAO,CAAC;IAChC,4BAA4B,CAAC,EAAE,wBAAwB,CAAC;IACxD,gCAAgC,EAAE,OAAO,CAAC;IAC1C,6BAA6B,EAAE,OAAO,CAAC;IACvC,oCAAoC,EAAE,OAAO,CAAC;IAC9C,sBAAsB,EAAE,OAAO,CAAC;IAChC,wBAAwB,EAAE,OAAO,CAAC;IAClC,6BAA6B,EAAE,OAAO,CAAC;IACvC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,8BAA8B,EAAE,MAAM,IAAI,CAAC;IAC3C,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,OAAO,CAAC;IACjC,yBAAyB,EAAE,OAAO,CAAC;IACnC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,wBAAwB,EAAE,OAAO,CAAC;IAClC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAC;CACnC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/types.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,oBAAoB,GAAG,WAAW,GAAG,mBAAmB,CAAC;AAEhG;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,GAAG,WAAW,GAAG,mBAAmB,CAAC;AAE1F;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,OAAO,CAAC;IACrB,sBAAsB,EAAE,OAAO,CAAC;IAChC,4BAA4B,CAAC,EAAE,wBAAwB,CAAC;IACxD,gCAAgC,EAAE,OAAO,CAAC;IAC1C,6BAA6B,EAAE,OAAO,CAAC;IACvC,oCAAoC,EAAE,OAAO,CAAC;IAC9C,sBAAsB,EAAE,OAAO,CAAC;IAChC,wBAAwB,EAAE,OAAO,CAAC;IAClC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,0BAA0B,EAAE,MAAM,IAAI,CAAC;IACvC,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,8BAA8B,EAAE,MAAM,IAAI,CAAC;IAC3C,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,OAAO,CAAC;IACjC,yBAAyB,EAAE,OAAO,CAAC;IACnC,uBAAuB,EAAE,OAAO,CAAC;IACjC,iCAAiC,EAAE,OAAO,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,wBAAwB,EAAE,OAAO,CAAC;IAClC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAC;CACnC"}
@@ -1,2 +1,2 @@
1
- // (C) 2025 GoodData Corporation
1
+ // (C) 2025-2026 GoodData Corporation
2
2
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"EditModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/EditModeDashboardRichText.tsx"],"names":[],"mappings":"AAkCA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAK1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CAkIvG"}
1
+ {"version":3,"file":"EditModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/EditModeDashboardRichText.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAK1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CAgHvG"}
@@ -4,15 +4,14 @@ import { useEffect, useMemo, useState } from "react";
4
4
  import { FormattedMessage, useIntl } from "react-intl";
5
5
  import { widgetRef } from "@gooddata/sdk-model";
6
6
  import { usePrevious } from "@gooddata/sdk-ui";
7
- import { Button, ConfirmDialog, IconRichText, OverlayController, OverlayControllerProvider, RichText, Typography, } from "@gooddata/sdk-ui-kit";
7
+ import { ConfirmDialog, IconRichText, OverlayController, OverlayControllerProvider, RichText, Typography, } from "@gooddata/sdk-ui-kit";
8
8
  import { useTheme } from "@gooddata/sdk-ui-theme-provider";
9
9
  import { useRichTextWidgetFilters } from "../../../_staging/sharedHooks/useRichTextFilters.js";
10
10
  import { eagerRemoveSectionItemByWidgetRef } from "../../../model/commands/layout.js";
11
11
  import { changeRichTextWidgetContent } from "../../../model/commands/richText.js";
12
12
  import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
13
13
  import { useWidgetSelection } from "../../../model/react/useWidgetSelection.js";
14
- import { selectEnableRichTextDynamicReferences, selectIsWhiteLabeled, selectSeparators, } from "../../../model/store/config/configSelectors.js";
15
- import { uiActions } from "../../../model/store/ui/index.js";
14
+ import { selectIsWhiteLabeled, selectSeparators } from "../../../model/store/config/configSelectors.js";
16
15
  import { selectExecutionTimestamp } from "../../../model/store/ui/uiSelectors.js";
17
16
  import { DASHBOARD_OVERLAYS_FILTER_Z_INDEX } from "../../../presentation/constants/zIndex.js";
18
17
  import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
@@ -28,7 +27,6 @@ export function EditModeDashboardRichText({ widget, clientWidth, clientHeight })
28
27
  const intl = useIntl();
29
28
  const executionTimestamp = useDashboardSelector(selectExecutionTimestamp);
30
29
  const { menuItems } = useEditableRichTextMenu({ closeMenu: closeConfigPanel, widget });
31
- const isRichTextReferencesEnabled = useDashboardSelector(selectEnableRichTextDynamicReferences);
32
30
  const { filters } = useRichTextWidgetFilters(widget);
33
31
  const separators = useDashboardSelector(selectSeparators);
34
32
  const dispatch = useDashboardDispatch();
@@ -58,14 +56,7 @@ export function EditModeDashboardRichText({ widget, clientWidth, clientHeight })
58
56
  clientWidth > 250 &&
59
57
  typeof clientHeight !== "undefined" &&
60
58
  clientHeight > 150;
61
- return (_jsxs(_Fragment, { children: [hasConfigPanelOpen && isRichTextReferencesEnabled ? (_jsx(RichTextMenuComponent, { widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, items: menuItems })) : null, _jsx(RichText, { referencesEnabled: isRichTextReferencesEnabled, filters: filters, separators: separators, className: "gd-rich-text-widget", value: richText, onChange: setRichText, renderMode: isRichTextEditing ? "edit" : "view", emptyElement: EmptyElement, LoadingComponent: LoadingComponent, execConfig: {
59
+ return (_jsxs(_Fragment, { children: [hasConfigPanelOpen ? (_jsx(RichTextMenuComponent, { widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, items: menuItems })) : null, _jsx(RichText, { referencesEnabled: true, filters: filters, separators: separators, className: "gd-rich-text-widget", value: richText, onChange: setRichText, renderMode: isRichTextEditing ? "edit" : "view", emptyElement: EmptyElement, LoadingComponent: LoadingComponent, execConfig: {
62
60
  timestamp: executionTimestamp,
63
- } }), isRichTextEditing && (showLink || !isRichTextReferencesEnabled) ? (_jsxs("div", { className: "gd-rich-text-widget-footer", children: [
64
- _jsx("div", { className: "gd-rich-text-footer-options", children: showLink ? (_jsx("a", { className: "gd-button-link-dimmed gd-icon-circle-question", href: "https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/", rel: "noopener noreferrer", target: "_blank", children: _jsx(FormattedMessage, { id: "richText.formattingOptions" }) })) : null }), !isRichTextReferencesEnabled && (_jsxs("div", { className: "gd-rich-text-footer-actions", children: [
65
- _jsx(Button, { className: "gd-button-link gd-button-icon-only gd-icon-trash s-rich-text-remove-button", onClick: () => setIsConfirmDeleteDialogVisible(true) }), _jsx("span", { className: "gd-divider" }), _jsx(Button, { className: "gd-button-link gd-button-icon-only gd-icon-checkmark s-rich-text-confirm-button", onClick: (e) => {
66
- e.stopPropagation();
67
- dispatch(uiActions.clearWidgetSelection());
68
- dispatch(changeRichTextWidgetContent(widget.ref, richText));
69
- } })
70
- ] }))] })) : null, isConfirmDeleteDialogVisible ? (_jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialog, { className: "s-rich-text-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "richText.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }), children: _jsx(FormattedMessage, { id: "richText.deleteDialog.message" }) }) })) : null] }));
61
+ } }), isRichTextEditing && showLink ? (_jsx("div", { className: "gd-rich-text-widget-footer", children: _jsx("div", { className: "gd-rich-text-footer-options", children: showLink ? (_jsx("a", { className: "gd-button-link-dimmed gd-icon-circle-question", href: "https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/", rel: "noopener noreferrer", target: "_blank", children: _jsx(FormattedMessage, { id: "richText.formattingOptions" }) })) : null }) })) : null, isConfirmDeleteDialogVisible ? (_jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialog, { className: "s-rich-text-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "richText.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }), children: _jsx(FormattedMessage, { id: "richText.deleteDialog.message" }) }) })) : null] }));
71
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ViewModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/ViewModeDashboardRichText.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACV,EAAE,uBAAuB,2CAyDzB"}
1
+ {"version":3,"file":"ViewModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/ViewModeDashboardRichText.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACV,EAAE,uBAAuB,2CAwDzB"}
@@ -4,7 +4,7 @@ import { useIntl } from "react-intl";
4
4
  import { RichText } from "@gooddata/sdk-ui-kit";
5
5
  import { useRichTextWidgetFilters } from "../../../_staging/sharedHooks/useRichTextFilters.js";
6
6
  import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
7
- import { selectEnableRichTextDynamicReferences, selectSeparators, } from "../../../model/store/config/configSelectors.js";
7
+ import { selectSeparators } from "../../../model/store/config/configSelectors.js";
8
8
  import { DASHBOARD_SUMMARY_MACRO } from "../../../model/store/dashboardSummaryWorkflow/constants.js";
9
9
  import { selectCurrentDashboardSummaryWorkflowStatus } from "../../../model/store/dashboardSummaryWorkflow/dashboardSummaryWorkflowSelectors.js";
10
10
  import { selectCurrentDashboardSummary } from "../../../model/store/listedDashboards/listedDashboardsSummarySelectors.js";
@@ -15,7 +15,6 @@ import { useDashboardComponentsContext } from "../../dashboardContexts/Dashboard
15
15
  */
16
16
  export function ViewModeDashboardRichText({ widget, richTextExportData, onLoadingChanged, onError, }) {
17
17
  const intl = useIntl();
18
- const isRichTextReferencesEnabled = useDashboardSelector(selectEnableRichTextDynamicReferences);
19
18
  const { filters } = useRichTextWidgetFilters(widget);
20
19
  const separators = useDashboardSelector(selectSeparators);
21
20
  const { LoadingComponent } = useDashboardComponentsContext();
@@ -45,7 +44,7 @@ export function ViewModeDashboardRichText({ widget, richTextExportData, onLoadin
45
44
  const raw = widget?.content ?? "";
46
45
  const value = raw.split(DASHBOARD_SUMMARY_MACRO).join(summaryWorkflowReplaceString);
47
46
  const executionTimestamp = useDashboardSelector(selectExecutionTimestamp);
48
- return (_jsx(RichText, { referencesEnabled: isRichTextReferencesEnabled, className: "gd-rich-text-widget", value: value, filters: filters, separators: separators, renderMode: "view", rawContent: {
47
+ return (_jsx(RichText, { referencesEnabled: true, className: "gd-rich-text-widget", value: value, filters: filters, separators: separators, renderMode: "view", rawContent: {
49
48
  show: !!richTextExportData,
50
49
  dataAttributes: richTextExportData?.markdown,
51
50
  }, execConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"ViewModeDashboardVisualizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,cAAc,EAGtB,MAAM,qBAAqB,CAAC;AAsB7B,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,YAAY,CAAC;AAGvE;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,EACnD,MAAM,EACN,qBAAqB,EAAE,4BAA4B,EACnD,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,MAAM,EACN,UAAU,EACb,EAAE,oCAAoC,2CA2BtC;AAED,wBAAgB,2CAA2C,4CAE1D;AAED,MAAM,WAAW,mDAAoD,SAAQ,oCAAoC;IAC7G,OAAO,EAAE,QAAQ,CAAC;IAClB,mBAAmB,EAAE,cAAc,CAAC;IACpC,2BAA2B,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE;AAED,wBAAgB,6CAA6C,CAAC,EAC1D,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,2BAA2B,EAC3B,MAAM,EACN,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,UAAU,EACb,EAAE,mDAAmD,2CAiOrD"}
1
+ {"version":3,"file":"ViewModeDashboardVisualizationSwitcher.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,cAAc,EAGtB,MAAM,qBAAqB,CAAC;AAqB7B,OAAO,EAAE,KAAK,oCAAoC,EAAE,MAAM,YAAY,CAAC;AAGvE;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,EACnD,MAAM,EACN,qBAAqB,EAAE,4BAA4B,EACnD,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,MAAM,EACN,UAAU,EACb,EAAE,oCAAoC,2CA2BtC;AAED,wBAAgB,2CAA2C,4CAE1D;AAED,MAAM,WAAW,mDAAoD,SAAQ,oCAAoC;IAC7G,OAAO,EAAE,QAAQ,CAAC;IAClB,mBAAmB,EAAE,cAAc,CAAC;IACpC,2BAA2B,EAAE,CAAC,qBAAqB,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE;AAED,wBAAgB,6CAA6C,CAAC,EAC1D,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,2BAA2B,EAC3B,MAAM,EACN,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,UAAU,EACb,EAAE,mDAAmD,2CAgOrD"}
@@ -7,7 +7,6 @@ import { insightVisualizationType, widgetTitle, } from "@gooddata/sdk-model";
7
7
  import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
8
8
  import { useDashboardScheduledEmails } from "../../../model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js";
9
9
  import { useDashboardAlerts } from "../../../model/react/useDashboardAlerting/useDashboardAlerts.js";
10
- import { selectSettings } from "../../../model/store/config/configSelectors.js";
11
10
  import { selectInsightsMap } from "../../../model/store/insights/insightsSelectors.js";
12
11
  import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
13
12
  import { DashboardItem } from "../../presentationComponents/DashboardItems/DashboardItem.js";
@@ -45,7 +44,6 @@ export function ViewModeDashboardVisualizationSwitcherEmpty() {
45
44
  export function ViewModeDashboardVisualizationSwitcherContent({ widget, insight, activeVisualization, onActiveVisualizationChange, screen, onError, onExportReady, onLoadingChanged, exportData, }) {
46
45
  const intl = useIntl();
47
46
  const visType = insightVisualizationType(insight);
48
- const settings = useDashboardSelector(selectSettings);
49
47
  const { showOthers } = useExecutionProgress();
50
48
  const { ref: widgetRef } = activeVisualization;
51
49
  const { exportCSVEnabled, exportXLSXEnabled, exportCSVRawEnabled, isExportRawVisible, isExportVisible, isExportPngImageVisible, isExportPdfTabularVisible, isExporting, onExportRawCSV, onExportCSV, onExportXLSX, onExportPdfPresentation, onExportPngImage, onExportPowerPointPresentation, onExportPdfTabular, exportPdfPresentationDisabled, exportPowerPointPresentationDisabled, exportPngImageDisabled, exportPdfTabularDisabled, disabledReason, } = useInsightExport({
@@ -115,14 +113,16 @@ export function ViewModeDashboardVisualizationSwitcherContent({ widget, insight,
115
113
  const { InsightMenuButtonComponentProvider, InsightMenuComponentProvider } = useDashboardComponentsContext();
116
114
  const InsightMenuButtonComponent = useMemo(() => InsightMenuButtonComponentProvider(insight, activeVisualization), [InsightMenuButtonComponentProvider, insight, activeVisualization]);
117
115
  const InsightMenuComponent = useMemo(() => InsightMenuComponentProvider(insight, activeVisualization), [InsightMenuComponentProvider, insight, activeVisualization]);
118
- const accessibilityWidgetDescription = settings.enableDescriptions
119
- ? activeVisualization.configuration?.description?.source === "widget" || !insight
116
+ const descriptionConfig = activeVisualization.configuration?.description;
117
+ const accessibilityWidgetDescription = descriptionConfig?.visible === false
118
+ ? ""
119
+ : descriptionConfig?.source === "widget" || !insight
120
120
  ? activeVisualization.description
121
- : insight.insight.summary
122
- : "";
121
+ : insight.insight.summary;
123
122
  const { isWidgetAsTable, toggleWidgetAsTable } = useShowAsTable(activeVisualization);
124
123
  const widgetContainerRef = useRef(null);
125
- return (_jsx(DashboardItem, { as: "div", className: cx("type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(activeVisualization.type, visType)), screen: screen, ref: widgetContainerRef, description: accessibilityWidgetDescription, children: _jsx(DashboardItemVisualization, { isExport: !!exportData, renderHeadline: (clientHeight, clientWidth) => (_jsx(VisualizationSwitcherNavigationHeader, { widget: widget, clientHeight: clientHeight, clientWidth: clientWidth, activeVisualization: activeVisualization, onActiveVisualizationChange: (activeVisualizationId) => onActiveVisualizationChange(activeVisualizationId), exportData: exportData?.title })), renderBeforeVisualization: () => (_jsxs("div", { className: "gd-absolute-row", children: [settings?.enableDescriptions ? (_jsx(InsightWidgetDescriptionTrigger, { insight: insight, widget: activeVisualization, screen: screen })) : null, (() => {
124
+ return (_jsx(DashboardItem, { as: "div", className: cx("type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(activeVisualization.type, visType)), screen: screen, ref: widgetContainerRef, description: accessibilityWidgetDescription, children: _jsx(DashboardItemVisualization, { isExport: !!exportData, renderHeadline: (clientHeight, clientWidth) => (_jsx(VisualizationSwitcherNavigationHeader, { widget: widget, clientHeight: clientHeight, clientWidth: clientWidth, activeVisualization: activeVisualization, onActiveVisualizationChange: (activeVisualizationId) => onActiveVisualizationChange(activeVisualizationId), exportData: exportData?.title })), renderBeforeVisualization: () => (_jsxs("div", { className: "gd-absolute-row", children: [
125
+ _jsx(InsightWidgetDescriptionTrigger, { insight: insight, widget: activeVisualization, screen: screen }), (() => {
126
126
  const visType = insightVisualizationType(insight);
127
127
  if (supportsShowAsTable(visType)) {
128
128
  return (_jsx(ShowAsTableButton, { widget: activeVisualization, isWidgetAsTable: isWidgetAsTable, onClick: toggleWidgetAsTable }));
@@ -116,11 +116,12 @@ function DefaultDashboardInsightWidgetCore({ widget, insight, screen, onError, o
116
116
  const InsightMenuComponent = useMemo(() => InsightMenuComponentProvider(insight, widget), [InsightMenuComponentProvider, insight, widget]);
117
117
  const { elementRef, highlighted } = useWidgetHighlighting(widget);
118
118
  const { InsightWidgetDescriptionComponent } = useInsightWidgetDescriptionComponent();
119
- const accessibilityWidgetDescription = settings.enableDescriptions
120
- ? widget.configuration?.description?.source === "widget" || !insight
119
+ const descriptionConfig = widget.configuration?.description;
120
+ const accessibilityWidgetDescription = descriptionConfig?.visible === false
121
+ ? ""
122
+ : descriptionConfig?.source === "widget" || !insight
121
123
  ? widget.description
122
- : insight.insight.summary
123
- : "";
124
+ : insight.insight.summary;
124
125
  const titleId = useId();
125
126
  const { limitBreaks, executionResult } = useInsightWarning(widget.ref);
126
127
  const { isWidgetAsTable, toggleWidgetAsTable } = useShowAsTable(widget);
@@ -146,7 +147,8 @@ function DefaultDashboardInsightWidgetCore({ widget, insight, screen, onError, o
146
147
  preloadedAttributesWithReferences,
147
148
  ]);
148
149
  return (_jsxs(_Fragment, { children: [
149
- _jsx(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(widget.type, visType), { "gd-highlighted": highlighted }), screen: screen, ref: elementRef, description: accessibilityWidgetDescription, exportData: exportData?.section, titleId: titleId, children: _jsx(DashboardItemVisualization, { isExport: !!exportData, renderHeadline: (clientHeight) => !widget.configuration?.hideTitle && (_jsx(DashboardItemHeadline, { title: widget.title, titleId: titleId, clientHeight: clientHeight, exportData: exportData?.title })), renderBeforeVisualization: () => (_jsxs("div", { className: "gd-absolute-row", children: [settings?.enableDescriptions ? (_jsx(InsightWidgetDescriptionComponent, { insight: insight, widget: widget, screen: screen, exportData: exportData?.description })) : null, (() => {
150
+ _jsx(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", getVisTypeCssClass(widget.type, visType), { "gd-highlighted": highlighted }), screen: screen, ref: elementRef, description: accessibilityWidgetDescription, exportData: exportData?.section, titleId: titleId, children: _jsx(DashboardItemVisualization, { isExport: !!exportData, renderHeadline: (clientHeight) => !widget.configuration?.hideTitle && (_jsx(DashboardItemHeadline, { title: widget.title, titleId: titleId, clientHeight: clientHeight, exportData: exportData?.title })), renderBeforeVisualization: () => (_jsxs("div", { className: "gd-absolute-row", children: [
151
+ _jsx(InsightWidgetDescriptionComponent, { insight: insight, widget: widget, screen: screen, exportData: exportData?.description }), (() => {
150
152
  const visType = insight ? insightVisualizationType(insight) : undefined;
151
153
  if (supportsShowAsTable(visType)) {
152
154
  return (_jsx(ShowAsTableButton, { widget: widget, isWidgetAsTable: isWidgetAsTable, onClick: toggleWidgetAsTable }));
@@ -1 +1 @@
1
- {"version":3,"file":"useAlertingAndScheduling.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAazE,OAAO,EACH,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAChC,MAAM,wDAAwD,CAAC;AAEhE,KAAK,8BAA8B,GAAG;IAClC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;CAuEpC,CAAC"}
1
+ {"version":3,"file":"useAlertingAndScheduling.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAazE,OAAO,EACH,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAChC,MAAM,wDAAwD,CAAC;AAEhE,KAAK,8BAA8B,GAAG;IAClC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;CAoEpC,CAAC"}
@@ -1,12 +1,11 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
2
  import { isInsightAlertingConfigurationEnabled, isInsightScheduledExportsConfigurationEnabled, isInsightSupportedForAlerts, isInsightSupportedForScheduledExports, } from "@gooddata/sdk-ui-ext";
3
3
  import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
4
- import { selectIsReadOnly, selectSettings } from "../../../../model/store/config/configSelectors.js";
4
+ import { selectIsReadOnly } from "../../../../model/store/config/configSelectors.js";
5
5
  import { selectNotificationChannelsCount } from "../../../../model/store/notificationChannels/notificationChannelsSelectors.js";
6
6
  import { selectCanManageWorkspace } from "../../../../model/store/permissions/permissionsSelectors.js";
7
7
  import { isCustomWidget } from "../../../../model/types/layoutTypes.js";
8
8
  export const useAlertingAndScheduling = ({ widget, insight, }) => {
9
- const settings = useDashboardSelector(selectSettings);
10
9
  const isReadOnly = useDashboardSelector(selectIsReadOnly);
11
10
  const isWorkspaceManager = useDashboardSelector(selectCanManageWorkspace);
12
11
  const numberOfAvailableDestinations = useDashboardSelector(selectNotificationChannelsCount);
@@ -19,11 +18,9 @@ export const useAlertingAndScheduling = ({ widget, insight, }) => {
19
18
  //NOTE: Check if widget has localIdentifier, if not that is probably widget from old dashboard
20
19
  // and we should not allow to schedule export/alert because we need localIdentifier to identify the widget
21
20
  const widgetHasNoLocalIdentifier = !widget.localIdentifier;
22
- const isAlertingEnabled = settings.enableAlerting === true;
23
21
  const isInsightTypeSupportedForAlerting = isInsightSupportedForAlerts(insight);
24
22
  const isInsightEnabledForAlerting = isInsightAlertingConfigurationEnabled(insight);
25
- const isAlertingVisible = isAlertingEnabled &&
26
- isStandardWidget &&
23
+ const isAlertingVisible = isStandardWidget &&
27
24
  isInsightTypeSupportedForAlerting &&
28
25
  !isReadOnly &&
29
26
  showDueToNumberOfAvailableDestinations;
@@ -1 +1 @@
1
- {"version":3,"file":"useEditableInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useEditableInsightMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAkBzE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,KAAK,4BAA4B,GAAG;IAChC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CA2DlC,CAAC"}
1
+ {"version":3,"file":"useEditableInsightMenu.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/useEditableInsightMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAczE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,KAAK,4BAA4B,GAAG;IAChC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAwDlC,CAAC"}