@gooddata/sdk-ui-dashboard 10.9.0-alpha.8 → 10.9.0-beta.0

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 (453) hide show
  1. package/NOTICE +35 -3
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/__version.js.map +1 -1
  6. package/esm/_staging/drills/drillingUtils.d.ts +2 -14
  7. package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
  8. package/esm/_staging/drills/drillingUtils.js +2 -62
  9. package/esm/_staging/drills/drillingUtils.js.map +1 -1
  10. package/esm/assets/ellipsis-hover.svg +1 -0
  11. package/esm/assets/ellipsis.svg +1 -0
  12. package/esm/assets/filter.svg +1 -0
  13. package/esm/locales.d.ts.map +1 -1
  14. package/esm/locales.js +9 -0
  15. package/esm/locales.js.map +1 -1
  16. package/esm/model/commandHandlers/alerts/createAlertHandler.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/alerts/createAlertHandler.js +2 -4
  18. package/esm/model/commandHandlers/alerts/createAlertHandler.js.map +1 -1
  19. package/esm/model/commandHandlers/alerts/saveAlertHandler.d.ts +6 -0
  20. package/esm/model/commandHandlers/alerts/saveAlertHandler.d.ts.map +1 -0
  21. package/esm/model/commandHandlers/alerts/saveAlertHandler.js +15 -0
  22. package/esm/model/commandHandlers/alerts/saveAlertHandler.js.map +1 -0
  23. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts +2 -2
  24. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.d.ts.map +1 -1
  25. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js +4 -4
  26. package/esm/model/commandHandlers/dashboard/common/loadWorkspaceAutomations.js.map +1 -1
  27. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  28. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +6 -5
  29. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
  30. package/esm/model/commandHandlers/drill/drillDownHandler.d.ts.map +1 -1
  31. package/esm/model/commandHandlers/drill/drillDownHandler.js +24 -2
  32. package/esm/model/commandHandlers/drill/drillDownHandler.js.map +1 -1
  33. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  34. package/esm/model/commandHandlers/index.js +2 -4
  35. package/esm/model/commandHandlers/index.js.map +1 -1
  36. package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js +3 -3
  37. package/esm/model/commandHandlers/scheduledEmail/refreshAutomationsHandlers.js.map +1 -1
  38. package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.d.ts.map +1 -1
  39. package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js +23 -2
  40. package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js.map +1 -1
  41. package/esm/model/commandHandlers/widgets/common/drillDown.d.ts +6 -0
  42. package/esm/model/commandHandlers/widgets/common/drillDown.d.ts.map +1 -0
  43. package/esm/model/commandHandlers/widgets/common/drillDown.js +22 -0
  44. package/esm/model/commandHandlers/widgets/common/drillDown.js.map +1 -0
  45. package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.d.ts.map +1 -1
  46. package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js +23 -2
  47. package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js.map +1 -1
  48. package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.d.ts.map +1 -1
  49. package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js +15 -2
  50. package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js.map +1 -1
  51. package/esm/model/commands/alerts.d.ts +16 -45
  52. package/esm/model/commands/alerts.d.ts.map +1 -1
  53. package/esm/model/commands/alerts.js +6 -24
  54. package/esm/model/commands/alerts.js.map +1 -1
  55. package/esm/model/commands/base.d.ts +1 -1
  56. package/esm/model/commands/base.d.ts.map +1 -1
  57. package/esm/model/commands/index.d.ts +3 -3
  58. package/esm/model/commands/index.d.ts.map +1 -1
  59. package/esm/model/commands/index.js +1 -1
  60. package/esm/model/commands/index.js.map +1 -1
  61. package/esm/model/commands/insight.d.ts +17 -3
  62. package/esm/model/commands/insight.d.ts.map +1 -1
  63. package/esm/model/commands/insight.js +7 -3
  64. package/esm/model/commands/insight.js.map +1 -1
  65. package/esm/model/events/alerts.d.ts +10 -48
  66. package/esm/model/events/alerts.d.ts.map +1 -1
  67. package/esm/model/events/alerts.js +4 -24
  68. package/esm/model/events/alerts.js.map +1 -1
  69. package/esm/model/events/base.d.ts +1 -1
  70. package/esm/model/events/base.d.ts.map +1 -1
  71. package/esm/model/events/base.js.map +1 -1
  72. package/esm/model/events/index.d.ts +3 -3
  73. package/esm/model/events/index.d.ts.map +1 -1
  74. package/esm/model/events/index.js +1 -1
  75. package/esm/model/events/index.js.map +1 -1
  76. package/esm/model/react/index.d.ts +1 -0
  77. package/esm/model/react/index.d.ts.map +1 -1
  78. package/esm/model/react/index.js +1 -0
  79. package/esm/model/react/index.js.map +1 -1
  80. package/esm/model/react/useDashboardAlerts.d.ts +33 -0
  81. package/esm/model/react/useDashboardAlerts.d.ts.map +1 -0
  82. package/esm/model/react/useDashboardAlerts.js +145 -0
  83. package/esm/model/react/useDashboardAlerts.js.map +1 -0
  84. package/esm/model/react/useDashboardCommand.d.ts +1 -2
  85. package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
  86. package/esm/model/react/useDashboardCommandProcessing.d.ts +2 -6
  87. package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
  88. package/esm/model/react/useDashboardScheduledEmails.d.ts +3 -5
  89. package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
  90. package/esm/model/react/useDashboardScheduledEmails.js +6 -29
  91. package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
  92. package/esm/model/store/automations/automationsReducers.d.ts +3 -2
  93. package/esm/model/store/automations/automationsReducers.d.ts.map +1 -1
  94. package/esm/model/store/automations/automationsReducers.js +2 -2
  95. package/esm/model/store/automations/automationsReducers.js.map +1 -1
  96. package/esm/model/store/automations/automationsSelectors.d.ts +31 -0
  97. package/esm/model/store/automations/automationsSelectors.d.ts.map +1 -1
  98. package/esm/model/store/automations/automationsSelectors.js +46 -1
  99. package/esm/model/store/automations/automationsSelectors.js.map +1 -1
  100. package/esm/model/store/automations/automationsState.d.ts +2 -1
  101. package/esm/model/store/automations/automationsState.d.ts.map +1 -1
  102. package/esm/model/store/automations/automationsState.js +1 -1
  103. package/esm/model/store/automations/automationsState.js.map +1 -1
  104. package/esm/model/store/automations/index.d.ts +2 -2
  105. package/esm/model/store/catalog/catalogSelectors.d.ts +23 -1
  106. package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
  107. package/esm/model/store/catalog/catalogSelectors.js +9 -3
  108. package/esm/model/store/catalog/catalogSelectors.js.map +1 -1
  109. package/esm/model/store/config/configSelectors.d.ts +10 -0
  110. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  111. package/esm/model/store/config/configSelectors.js +14 -0
  112. package/esm/model/store/config/configSelectors.js.map +1 -1
  113. package/esm/model/store/index.d.ts +4 -4
  114. package/esm/model/store/index.d.ts.map +1 -1
  115. package/esm/model/store/index.js +3 -3
  116. package/esm/model/store/index.js.map +1 -1
  117. package/esm/model/store/layout/index.d.ts +4 -0
  118. package/esm/model/store/layout/index.d.ts.map +1 -1
  119. package/esm/model/store/layout/layoutReducers.d.ts +6 -1
  120. package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
  121. package/esm/model/store/layout/layoutReducers.js +10 -0
  122. package/esm/model/store/layout/layoutReducers.js.map +1 -1
  123. package/esm/model/store/ui/index.d.ts +17 -0
  124. package/esm/model/store/ui/index.d.ts.map +1 -1
  125. package/esm/model/store/ui/uiReducers.d.ts +18 -1
  126. package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
  127. package/esm/model/store/ui/uiReducers.js +23 -0
  128. package/esm/model/store/ui/uiReducers.js.map +1 -1
  129. package/esm/model/store/ui/uiSelectors.d.ts +17 -0
  130. package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
  131. package/esm/model/store/ui/uiSelectors.js +16 -0
  132. package/esm/model/store/ui/uiSelectors.js.map +1 -1
  133. package/esm/model/store/ui/uiState.d.ts +14 -0
  134. package/esm/model/store/ui/uiState.d.ts.map +1 -1
  135. package/esm/model/store/ui/uiState.js +10 -0
  136. package/esm/model/store/ui/uiState.js.map +1 -1
  137. package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
  138. package/esm/model/store/widgetDrills/widgetDrillSelectors.js +14 -11
  139. package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
  140. package/esm/model/types/commonTypes.d.ts +2 -2
  141. package/esm/model/types/commonTypes.d.ts.map +1 -1
  142. package/esm/presentation/alerting/AlertingDialog.d.ts +7 -0
  143. package/esm/presentation/alerting/AlertingDialog.d.ts.map +1 -0
  144. package/esm/presentation/alerting/AlertingDialog.js +11 -0
  145. package/esm/presentation/alerting/AlertingDialog.js.map +1 -0
  146. package/esm/presentation/alerting/AlertingManagementDialog.d.ts +7 -0
  147. package/esm/presentation/alerting/AlertingManagementDialog.d.ts.map +1 -0
  148. package/esm/presentation/alerting/AlertingManagementDialog.js +11 -0
  149. package/esm/presentation/alerting/AlertingManagementDialog.js.map +1 -0
  150. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +7 -0
  151. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -0
  152. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +37 -0
  153. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -0
  154. package/esm/presentation/alerting/DefaultAlertingDialog/index.d.ts +2 -0
  155. package/esm/presentation/alerting/DefaultAlertingDialog/index.d.ts.map +1 -0
  156. package/esm/presentation/alerting/DefaultAlertingDialog/index.js +3 -0
  157. package/esm/presentation/alerting/DefaultAlertingDialog/index.js.map +1 -0
  158. package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts +4 -0
  159. package/esm/presentation/alerting/DefaultAlertingDialog/operator.d.ts.map +1 -0
  160. package/esm/presentation/alerting/DefaultAlertingDialog/operator.js +31 -0
  161. package/esm/presentation/alerting/DefaultAlertingDialog/operator.js.map +1 -0
  162. package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.d.ts +2 -0
  163. package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.d.ts.map +1 -0
  164. package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.js +5 -0
  165. package/esm/presentation/alerting/DefaultAlertingDialog/utils/responsive.js.map +1 -0
  166. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.d.ts +7 -0
  167. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.d.ts.map +1 -0
  168. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.js +59 -0
  169. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialog.js.map +1 -0
  170. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts +12 -0
  171. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.d.ts.map +1 -0
  172. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js +80 -0
  173. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/Alert.js.map +1 -0
  174. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +4 -0
  175. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +1 -0
  176. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +51 -0
  177. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js.map +1 -0
  178. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts +14 -0
  179. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.d.ts.map +1 -0
  180. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.js +21 -0
  181. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/AlertsList.js.map +1 -0
  182. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts +12 -0
  183. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.d.ts.map +1 -0
  184. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js +29 -0
  185. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/DeleteAlertConfirmDialog.js.map +1 -0
  186. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +12 -0
  187. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +1 -0
  188. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +43 -0
  189. package/esm/presentation/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js.map +1 -0
  190. package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.d.ts +2 -0
  191. package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.d.ts.map +1 -0
  192. package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.js +3 -0
  193. package/esm/presentation/alerting/DefaultAlertingManagementDialog/index.js.map +1 -0
  194. package/esm/presentation/alerting/index.d.ts +6 -0
  195. package/esm/presentation/alerting/index.d.ts.map +1 -0
  196. package/esm/presentation/alerting/index.js +6 -0
  197. package/esm/presentation/alerting/index.js.map +1 -0
  198. package/esm/presentation/alerting/types.d.ts +107 -0
  199. package/esm/presentation/alerting/types.d.ts.map +1 -0
  200. package/esm/presentation/alerting/types.js +2 -0
  201. package/esm/presentation/alerting/types.js.map +1 -0
  202. package/esm/presentation/constants/index.d.ts +1 -0
  203. package/esm/presentation/constants/index.d.ts.map +1 -1
  204. package/esm/presentation/constants/index.js +2 -1
  205. package/esm/presentation/constants/index.js.map +1 -1
  206. package/esm/presentation/constants/zIndex.d.ts +1 -0
  207. package/esm/presentation/constants/zIndex.d.ts.map +1 -1
  208. package/esm/presentation/constants/zIndex.js +3 -1
  209. package/esm/presentation/constants/zIndex.js.map +1 -1
  210. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts +3 -0
  211. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.d.ts.map +1 -0
  212. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js +11 -0
  213. package/esm/presentation/dashboard/DashboardHeader/AlertingDialogProvider.js.map +1 -0
  214. package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.d.ts.map +1 -1
  215. package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js +3 -1
  216. package/esm/presentation/dashboard/DashboardHeader/DashboardHeader.js.map +1 -1
  217. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.d.ts.map +1 -1
  218. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +2 -5
  219. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js.map +1 -1
  220. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  221. package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
  222. package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
  223. package/esm/presentation/dashboard/types.d.ts +13 -0
  224. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  225. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +3 -0
  226. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  227. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +2 -0
  228. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js.map +1 -1
  229. package/esm/presentation/drill/types.d.ts +1 -0
  230. package/esm/presentation/drill/types.d.ts.map +1 -1
  231. package/esm/presentation/drill/types.js.map +1 -1
  232. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  233. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -8
  234. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  235. package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.d.ts.map +1 -1
  236. package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js +43 -12
  237. package/esm/presentation/filterBar/filterBar/filterViews/FilterViews.js.map +1 -1
  238. package/esm/presentation/index.d.ts +1 -0
  239. package/esm/presentation/index.d.ts.map +1 -1
  240. package/esm/presentation/index.js +2 -1
  241. package/esm/presentation/index.js.map +1 -1
  242. package/esm/presentation/localization/bundles/de-DE.json +1 -0
  243. package/esm/presentation/localization/bundles/en-AU.json +475 -0
  244. package/esm/presentation/localization/bundles/en-GB.json +1 -0
  245. package/esm/presentation/localization/bundles/en-US.json +302 -2
  246. package/esm/presentation/localization/bundles/es-419.json +1 -0
  247. package/esm/presentation/localization/bundles/es-ES.json +1 -0
  248. package/esm/presentation/localization/bundles/fi-FI.json +475 -0
  249. package/esm/presentation/localization/bundles/fr-CA.json +1 -0
  250. package/esm/presentation/localization/bundles/fr-FR.json +1 -0
  251. package/esm/presentation/localization/bundles/it-IT.json +1 -0
  252. package/esm/presentation/localization/bundles/ja-JP.json +1 -0
  253. package/esm/presentation/localization/bundles/nl-NL.json +1 -0
  254. package/esm/presentation/localization/bundles/pt-BR.json +1 -0
  255. package/esm/presentation/localization/bundles/pt-PT.json +1 -0
  256. package/esm/presentation/localization/bundles/zh-HK.json +475 -0
  257. package/esm/presentation/localization/bundles/zh-Hans.json +1 -0
  258. package/esm/presentation/localization/bundles/zh-Hant.json +475 -0
  259. package/esm/presentation/localization/translations.d.ts.map +1 -1
  260. package/esm/presentation/localization/translations.js +8 -0
  261. package/esm/presentation/localization/translations.js.map +1 -1
  262. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +1 -1
  263. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  264. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts +2 -2
  265. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts.map +1 -1
  266. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +1 -1
  267. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
  268. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
  269. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +1 -1
  270. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
  271. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +2 -2
  272. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +1 -1
  273. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
  274. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
  275. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts +2 -2
  276. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts.map +1 -1
  277. package/esm/presentation/scheduledEmail/types.d.ts +3 -3
  278. package/esm/presentation/scheduledEmail/types.d.ts.map +1 -1
  279. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
  280. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +166 -120
  281. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
  282. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
  283. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
  284. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +3 -4
  285. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
  286. package/esm/presentation/widget/common/useWidgetFilters.d.ts +1 -1
  287. package/esm/presentation/widget/common/useWidgetFilters.d.ts.map +1 -1
  288. package/esm/presentation/widget/common/useWidgetFilters.js +1 -1
  289. package/esm/presentation/widget/common/useWidgetFilters.js.map +1 -1
  290. package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargets.d.ts.map +1 -1
  291. package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargets.js +1 -0
  292. package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargets.js.map +1 -1
  293. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts +12 -0
  294. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts.map +1 -0
  295. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js +77 -0
  296. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js.map +1 -0
  297. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +8 -0
  298. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -0
  299. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +25 -0
  300. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -0
  301. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.d.ts +7 -0
  302. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.d.ts.map +1 -0
  303. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.js +13 -0
  304. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.js.map +1 -0
  305. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts +9 -0
  306. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -0
  307. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +23 -0
  308. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -0
  309. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +9 -0
  310. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -0
  311. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +26 -0
  312. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -0
  313. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +8 -0
  314. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -0
  315. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +35 -0
  316. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -0
  317. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +18 -0
  318. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -0
  319. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +31 -0
  320. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -0
  321. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +13 -0
  322. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -0
  323. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +16 -0
  324. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -0
  325. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +16 -0
  326. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -0
  327. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +7 -0
  328. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -0
  329. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +18 -0
  330. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -0
  331. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +57 -0
  332. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -0
  333. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +10 -0
  334. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -0
  335. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +47 -0
  336. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -0
  337. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts +20 -0
  338. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -0
  339. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +37 -0
  340. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -0
  341. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.d.ts +11 -0
  342. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.d.ts.map +1 -0
  343. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.js +27 -0
  344. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useCreateAlert.js.map +1 -0
  345. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +21 -0
  346. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -0
  347. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +97 -0
  348. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -0
  349. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +28 -0
  350. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -0
  351. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +179 -0
  352. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -0
  353. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts +29 -0
  354. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -0
  355. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +51 -0
  356. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js.map +1 -0
  357. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts +11 -0
  358. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.d.ts.map +1 -0
  359. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js +27 -0
  360. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useUpdateAlert.js.map +1 -0
  361. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts +57 -0
  362. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts.map +1 -0
  363. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js +59 -0
  364. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js.map +1 -0
  365. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +16 -0
  366. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -0
  367. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +86 -0
  368. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -0
  369. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts +4 -0
  370. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -0
  371. package/esm/presentation/widget/insight/configuration/InsightAlerts.js +38 -0
  372. package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -0
  373. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts +1 -1
  374. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
  375. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +23 -5
  376. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js.map +1 -1
  377. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.d.ts +2 -2
  378. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.d.ts.map +1 -1
  379. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.js +25 -3
  380. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/drillConfigMapper.js.map +1 -1
  381. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts +1 -1
  382. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.d.ts.map +1 -1
  383. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.js +5 -4
  384. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useInsightDrillConfigPanel.js.map +1 -1
  385. package/esm/presentation/widget/insight/index.d.ts +1 -0
  386. package/esm/presentation/widget/insight/index.d.ts.map +1 -1
  387. package/esm/presentation/widget/insight/index.js +2 -1
  388. package/esm/presentation/widget/insight/index.js.map +1 -1
  389. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
  390. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +1 -1
  391. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js.map +1 -1
  392. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts +1 -1
  393. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts.map +1 -1
  394. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.js +1 -1
  395. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts +1 -1
  396. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts.map +1 -1
  397. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js +4 -3
  398. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js.map +1 -1
  399. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
  400. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +3 -3
  401. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
  402. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +2 -0
  403. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
  404. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +28 -7
  405. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
  406. package/esm/presentation/widget/insightMenu/index.d.ts +1 -1
  407. package/esm/presentation/widget/insightMenu/index.d.ts.map +1 -1
  408. package/esm/presentation/widget/insightMenu/types.d.ts +28 -6
  409. package/esm/presentation/widget/insightMenu/types.d.ts.map +1 -1
  410. package/esm/presentation/widget/kpi/ViewModeDashboardKpi/useKpiAlertOperations.d.ts.map +1 -1
  411. package/esm/presentation/widget/kpi/ViewModeDashboardKpi/useKpiAlertOperations.js +9 -20
  412. package/esm/presentation/widget/kpi/ViewModeDashboardKpi/useKpiAlertOperations.js.map +1 -1
  413. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
  414. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +8 -6
  415. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  416. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +2 -0
  417. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
  418. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +13 -8
  419. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
  420. package/esm/sdk-ui-dashboard.d.ts +401 -149
  421. package/esm/types.d.ts +9 -0
  422. package/esm/types.d.ts.map +1 -1
  423. package/esm/types.js.map +1 -1
  424. package/package.json +16 -15
  425. package/styles/css/alerting.css +286 -0
  426. package/styles/css/alerting.css.map +1 -0
  427. package/styles/css/configurationPanel.css +3 -0
  428. package/styles/css/configurationPanel.css.map +1 -1
  429. package/styles/css/dashboard.css +60 -5
  430. package/styles/css/dashboard.css.map +1 -1
  431. package/styles/css/icons.css +7 -0
  432. package/styles/css/icons.css.map +1 -1
  433. package/styles/css/main.css +355 -5
  434. package/styles/css/main.css.map +1 -1
  435. package/styles/css/scheduled_mail.css +60 -5
  436. package/styles/css/scheduled_mail.css.map +1 -1
  437. package/styles/scss/alerting.scss +292 -0
  438. package/styles/scss/configurationPanel.scss +5 -0
  439. package/styles/scss/icons.scss +9 -0
  440. package/styles/scss/main.scss +1 -0
  441. package/styles/scss/scheduled_mail.scss +69 -3
  442. package/esm/model/commandHandlers/alerts/removeAlertsHandler.d.ts +0 -6
  443. package/esm/model/commandHandlers/alerts/removeAlertsHandler.d.ts.map +0 -1
  444. package/esm/model/commandHandlers/alerts/removeAlertsHandler.js +0 -20
  445. package/esm/model/commandHandlers/alerts/removeAlertsHandler.js.map +0 -1
  446. package/esm/model/commandHandlers/alerts/updateAlertHandler.d.ts +0 -6
  447. package/esm/model/commandHandlers/alerts/updateAlertHandler.d.ts.map +0 -1
  448. package/esm/model/commandHandlers/alerts/updateAlertHandler.js +0 -17
  449. package/esm/model/commandHandlers/alerts/updateAlertHandler.js.map +0 -1
  450. package/esm/model/commandHandlers/alerts/validation/alertsValidation.d.ts +0 -20
  451. package/esm/model/commandHandlers/alerts/validation/alertsValidation.d.ts.map +0 -1
  452. package/esm/model/commandHandlers/alerts/validation/alertsValidation.js +0 -22
  453. package/esm/model/commandHandlers/alerts/validation/alertsValidation.js.map +0 -1
@@ -0,0 +1,292 @@
1
+ // (C) 2024 GoodData Corporation
2
+
3
+ @use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
4
+ @use "react-loading-skeleton/dist/skeleton.css";
5
+
6
+ //
7
+ // Alerts list
8
+ //
9
+ .gd-alerts-list {
10
+ width: 100%;
11
+ }
12
+
13
+ .gd-alerts-list__items {
14
+ padding: 10px 0 10px 0;
15
+
16
+ .skeleton-flex {
17
+ flex: 1;
18
+ }
19
+
20
+ .skeleton-margin {
21
+ margin-left: 10px;
22
+ }
23
+
24
+ .gd-react-loading-skeleton-wrapper {
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: center;
28
+ padding: 10px;
29
+ }
30
+
31
+ .gd-react-loading-skeleton.react-loading-skeleton {
32
+ --base-color: var(--gd-dashboards-title-borderColor, var(--gd-palette-complementary-2, #ebeff4));
33
+ --highlight-color: var(
34
+ --gd-dashboards-content-backgroundColor,
35
+ var(--gd-palette-complementary-0, #fff)
36
+ );
37
+ }
38
+ }
39
+
40
+ .gd-alerts-list__buttons {
41
+ padding: 10px 0;
42
+
43
+ .gd-alerts-list__add-button {
44
+ font-weight: 400;
45
+ font-size: 12px;
46
+ line-height: 18px;
47
+ padding-left: 28px;
48
+
49
+ &::before {
50
+ font-size: 15px;
51
+ }
52
+ }
53
+ }
54
+
55
+ //
56
+ // Alerts list item
57
+ //
58
+ .gd-alerts-list-item {
59
+ display: flex;
60
+ align-items: center;
61
+ cursor: pointer;
62
+ transition: background-color 100ms ease-in-out;
63
+
64
+ &:hover {
65
+ background-color: kit-variables.$is-focused-background;
66
+ }
67
+ }
68
+
69
+ .gd-alerts-list-item__content {
70
+ padding: 5px 0 5px 10px;
71
+ display: flex;
72
+ align-items: center;
73
+ width: 100%;
74
+ min-width: 0;
75
+ }
76
+
77
+ .gd-alerts-list-item__icon {
78
+ background-color: kit-variables.$is-focused-background;
79
+ width: 26px;
80
+ height: 26px;
81
+ border-radius: 51%;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ flex-shrink: 0;
86
+ }
87
+
88
+ .gd-alerts-list-item__details {
89
+ margin-left: 10px;
90
+ margin-right: 10px;
91
+ font-size: 12px;
92
+ line-height: normal;
93
+ width: 100%;
94
+ min-width: 0;
95
+ }
96
+
97
+ .gd-alerts-list-item__title {
98
+ overflow: hidden;
99
+ text-overflow: ellipsis;
100
+ color: kit-variables.$gd-color-text;
101
+ font-weight: 700;
102
+ }
103
+
104
+ .gd-alerts-list-item__description {
105
+ overflow: hidden;
106
+ text-overflow: ellipsis;
107
+ color: kit-variables.$gd-color-state-blank;
108
+ font-weight: 400;
109
+ white-space: nowrap;
110
+ }
111
+
112
+ //
113
+ // Edit alert
114
+ //
115
+ .gd-edit-alert {
116
+ font-size: 12px;
117
+ line-height: 14px;
118
+ color: kit-variables.$gd-color-text;
119
+ width: 100%;
120
+ }
121
+
122
+ .gd-edit-alert__form {
123
+ padding: 10px 10px 0 10px;
124
+ }
125
+
126
+ .gd-edit-alert__measure-label {
127
+ margin-bottom: 5px;
128
+ }
129
+
130
+ .gd-edit-alert__value-input {
131
+ margin-bottom: 10px;
132
+
133
+ /* Removes number input arrows for Chrome, Safari, Edge, Opera */
134
+ input::-webkit-outer-spin-button,
135
+ input::-webkit-inner-spin-button {
136
+ -webkit-appearance: none;
137
+ margin: 0;
138
+ }
139
+
140
+ /* Removes number input arrows for Firefox */
141
+ input[type="number"] {
142
+ appearance: textfield;
143
+ -moz-appearance: textfield;
144
+ }
145
+ }
146
+
147
+ .gd-edit-alert__buttons {
148
+ padding: 10px;
149
+ display: flex;
150
+ align-items: center;
151
+ justify-content: space-between;
152
+ border-top: 1px solid kit-variables.$gd-border-color;
153
+
154
+ .gd-button-left-margin {
155
+ margin-left: 10px;
156
+ }
157
+ }
158
+
159
+ .gd-edit-alert__configuration-button {
160
+ color: kit-variables.$gd-color-state-blank;
161
+ }
162
+
163
+ //
164
+ // Edit alert configuration
165
+ //
166
+ .gd-edit-alert-configuration {
167
+ width: 100%;
168
+ }
169
+
170
+ .gd-edit-alert-configuration__form {
171
+ display: flex;
172
+ align-items: center;
173
+ justify-content: space-between;
174
+ padding: 10px;
175
+ }
176
+
177
+ .gd-edit-alert-configuration__trigger-label {
178
+ display: flex;
179
+ align-items: center;
180
+ width: 50%;
181
+ }
182
+
183
+ .gd-edit-alert-configuration__trigger-label-icon {
184
+ margin-left: 5px;
185
+ position: relative;
186
+ top: 2px;
187
+ }
188
+
189
+ .gd-edit-alert-configuration__trigger-select {
190
+ width: 50%;
191
+ }
192
+
193
+ .gd-edit-alert-configuration__buttons {
194
+ padding: 10px;
195
+ display: flex;
196
+ align-items: center;
197
+ justify-content: flex-end;
198
+ border-top: 1px solid kit-variables.$gd-border-color;
199
+ }
200
+
201
+ //
202
+ // Measure select
203
+ //
204
+ .gd-alert-measure-select {
205
+ margin-bottom: 10px;
206
+ }
207
+
208
+ .gd-alert-measure-select__button {
209
+ width: 100%;
210
+ }
211
+
212
+ .gd-alert-measure-select__list {
213
+ height: 100%;
214
+ }
215
+
216
+ .gd-alert-measure-select__icon {
217
+ height: 100%;
218
+
219
+ &::before {
220
+ height: 100%;
221
+ }
222
+ }
223
+
224
+ //
225
+ // Comparison operator select
226
+ //
227
+ .gd-alert-comparison-operator-select {
228
+ margin-bottom: 10px;
229
+ }
230
+
231
+ .gd-alert-comparison-operator-select__button {
232
+ width: 100%;
233
+ }
234
+
235
+ //
236
+ // Alert destination select
237
+ //
238
+ .gd-alert-destination-select {
239
+ margin-bottom: 10px;
240
+ }
241
+
242
+ // TODO: support "invisible" styling of the Button on sdk-ui-kit component level.
243
+ // For now overload because of clash with other config panel css
244
+ .gd-button.gd-alert-destination-select__button {
245
+ margin-top: 0;
246
+ width: 105px;
247
+
248
+ &:not(&--open, &:hover, &:active, &:focus) {
249
+ box-shadow: none;
250
+ border-color: transparent;
251
+ }
252
+
253
+ &:not(&--open, &:active, &:focus) {
254
+ background: transparent;
255
+ }
256
+ }
257
+
258
+ //
259
+ // Trigger mode select
260
+ //
261
+ .gd-edit-alert-trigger-mode-select__button {
262
+ width: 100%;
263
+ }
264
+
265
+ //
266
+ // Alert actions dropdown
267
+ //
268
+ .gd-button.gd-alert-actions-dropdown__button {
269
+ width: 42px;
270
+ height: 42px;
271
+ padding: 0;
272
+
273
+ &:hover,
274
+ &.gd-alert-actions-dropdown__button--open {
275
+ background-color: kit-variables.$gd-input-text-border;
276
+ }
277
+
278
+ .gd-button-text {
279
+ display: flex;
280
+ align-items: center;
281
+ justify-content: center;
282
+ width: 100%;
283
+ height: 100%;
284
+ }
285
+ }
286
+
287
+ .gd-alert-actions-dropdown__list-item-delete {
288
+ &:hover {
289
+ color: kit-variables.$gd-color-negative;
290
+ background-color: kit-variables.$gd-palette-error-dimmed;
291
+ }
292
+ }
@@ -132,6 +132,11 @@
132
132
  .input-label-text {
133
133
  display: flex;
134
134
  }
135
+
136
+ // Same selector and rule as in KD to have consistent look in Dashboard component and in KD.
137
+ label .gd-bubble-trigger {
138
+ margin: 0 5px;
139
+ }
135
140
  }
136
141
 
137
142
  .configuration-panel-header-title {
@@ -117,6 +117,15 @@
117
117
  display: inline-block;
118
118
  }
119
119
  }
120
+ .gd-icon-filter {
121
+ &::before {
122
+ content: "";
123
+ background: url("~@gooddata/sdk-ui-dashboard/esm/assets/filter.svg") no-repeat center;
124
+ width: 16px;
125
+ height: 16px;
126
+ display: inline-block;
127
+ }
128
+ }
120
129
  }
121
130
 
122
131
  .dropdown-body .gd-list-item {
@@ -30,3 +30,4 @@
30
30
  @use "toolbar";
31
31
  @use "dateFilterConfig";
32
32
  @use "richTextWidget";
33
+ @use "alerting";
@@ -384,7 +384,8 @@ $min-content-height: 110px;
384
384
  height: 50px;
385
385
  cursor: default;
386
386
 
387
- &:hover {
387
+ &:hover,
388
+ &.hover {
388
389
  background: kit-variables.$is-focused-background;
389
390
 
390
391
  .gd-scheduled-email-icon {
@@ -395,9 +396,14 @@ $min-content-height: 110px;
395
396
  display: block;
396
397
  }
397
398
  }
398
- &.editable:hover {
399
+ &.editable:hover,
400
+ &.editable.hover {
399
401
  cursor: pointer;
400
402
  }
403
+
404
+ .gd-scheduled-email-menu-icon {
405
+ display: block;
406
+ }
401
407
  }
402
408
 
403
409
  .gd-scheduled-email-icon {
@@ -463,6 +469,10 @@ $min-content-height: 110px;
463
469
  .gd-scheduled-email-delete-icon::after {
464
470
  color: kit-variables.$gd-palette-error-base;
465
471
  }
472
+
473
+ .gd-scheduled-email-menu-icon::after {
474
+ color: kit-variables.$default-gd-medium-gray;
475
+ }
466
476
  }
467
477
 
468
478
  .gd-scheduled-email-delete-icon {
@@ -483,6 +493,46 @@ $min-content-height: 110px;
483
493
  }
484
494
  }
485
495
 
496
+ .gd-scheduled-email-menu {
497
+ display: flex;
498
+ justify-content: center;
499
+ align-items: center;
500
+ width: 50px;
501
+ height: 100%;
502
+ cursor: pointer;
503
+ flex-shrink: 0;
504
+ position: relative;
505
+ }
506
+
507
+ .gd-scheduled-email-menu:hover {
508
+ background-color: kit-variables.$gd-input-text-border;
509
+ }
510
+
511
+ .gd-scheduled-email-menu-icon {
512
+ display: block;
513
+ margin: auto;
514
+ position: absolute;
515
+ top: 0;
516
+ right: 0;
517
+ left: 0;
518
+ bottom: 0;
519
+
520
+ &::after {
521
+ content: "";
522
+ background-image: url("~@gooddata/sdk-ui-dashboard/esm/assets/ellipsis.svg");
523
+ background-color: transparent;
524
+ background-position: center center;
525
+ border: none;
526
+ box-shadow: none;
527
+ position: absolute;
528
+ font-family: kit-variables.$gd-font-indigo;
529
+ top: 0;
530
+ right: 0;
531
+ left: 0;
532
+ bottom: 0;
533
+ }
534
+ }
535
+
486
536
  .gd-content-divider {
487
537
  border-top: 1px solid kit-variables.$gd-border-color;
488
538
  height: 0;
@@ -537,7 +587,6 @@ $min-content-height: 110px;
537
587
 
538
588
  @media #{kit-variables.$small-only} {
539
589
  > strong {
540
- display: block;
541
590
  overflow: hidden;
542
591
  line-height: 20px;
543
592
  white-space: nowrap;
@@ -645,6 +694,13 @@ $min-content-height: 110px;
645
694
  display: flex;
646
695
  flex: 1;
647
696
  padding-bottom: $vertical-space;
697
+ overflow: hidden;
698
+
699
+ .gd-editable-label-inner {
700
+ overflow: hidden;
701
+ text-overflow: ellipsis;
702
+ white-space: nowrap;
703
+ }
648
704
  }
649
705
 
650
706
  .gd-schedule-email-dialog-title {
@@ -690,3 +746,13 @@ $min-content-height: 110px;
690
746
  padding: 0 10px;
691
747
  }
692
748
  }
749
+
750
+ .gd-schedule-email-dialog-menu {
751
+ min-width: 100px;
752
+ .deleteItem {
753
+ &:hover {
754
+ background-color: kit-variables.$gd-palette-error-dimmed;
755
+ color: kit-variables.$gd-palette-error-base;
756
+ }
757
+ }
758
+ }
@@ -1,6 +0,0 @@
1
- import { SagaIterator } from "redux-saga";
2
- import { DashboardContext } from "../../types/commonTypes.js";
3
- import { RemoveAlerts } from "../../commands/alerts.js";
4
- import { DashboardAlertsRemoved } from "../../events/alerts.js";
5
- export declare function removeAlertsHandler(ctx: DashboardContext, cmd: RemoveAlerts): SagaIterator<DashboardAlertsRemoved>;
6
- //# sourceMappingURL=removeAlertsHandler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeAlertsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/alerts/removeAlertsHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAiB,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAU/E,wBAAiB,mBAAmB,CAChC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,YAAY,GAClB,YAAY,CAAC,sBAAsB,CAAC,CAatC"}
@@ -1,20 +0,0 @@
1
- import { call, select, put } from "redux-saga/effects";
2
- import { objRefToString } from "@gooddata/sdk-model";
3
- import { alertsRemoved } from "../../events/alerts.js";
4
- import { alertsActions } from "../../store/alerts/index.js";
5
- import { selectAlertsMap } from "../../store/alerts/alertsSelectors.js";
6
- import { validateExistingAlerts } from "./validation/alertsValidation.js";
7
- function removeAlerts(ctx, alertRefs) {
8
- const { backend, workspace } = ctx;
9
- return backend.workspace(workspace).dashboards().deleteWidgetAlerts(alertRefs);
10
- }
11
- export function* removeAlertsHandler(ctx, cmd) {
12
- const alertsMap = yield select(selectAlertsMap);
13
- const alerts = validateExistingAlerts(alertsMap, cmd, ctx);
14
- const refs = alerts.map((alert) => alert.ref);
15
- yield call(removeAlerts, ctx, refs);
16
- const ids = alerts.map((alert) => objRefToString(alert.ref));
17
- yield put(alertsActions.removeAlerts(ids));
18
- return alertsRemoved(ctx, alerts, cmd.correlationId);
19
- }
20
- //# sourceMappingURL=removeAlertsHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"removeAlertsHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/alerts/removeAlertsHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAU,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG7D,OAAO,EAAE,aAAa,EAA0B,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,SAAS,YAAY,CAAC,GAAqB,EAAE,SAAmB;IAC5D,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IACnC,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACnF,CAAC;AAED,MAAM,SAAS,CAAC,CAAC,mBAAmB,CAChC,GAAqB,EACrB,GAAiB;IAEjB,MAAM,SAAS,GAAuC,MAAM,MAAM,CAAC,eAAe,CAAC,CAAC;IACpF,MAAM,MAAM,GAAG,sBAAsB,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;IAE3D,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAE9C,MAAM,IAAI,CAAC,YAAY,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;IAEpC,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IAE7D,MAAM,GAAG,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IAE3C,OAAO,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;AACzD,CAAC"}
@@ -1,6 +0,0 @@
1
- import { SagaIterator } from "redux-saga";
2
- import { DashboardContext } from "../../types/commonTypes.js";
3
- import { UpdateAlert } from "../../commands/alerts.js";
4
- import { DashboardAlertUpdated } from "../../events/alerts.js";
5
- export declare function updateAlertHandler(ctx: DashboardContext, cmd: UpdateAlert): SagaIterator<DashboardAlertUpdated>;
6
- //# sourceMappingURL=updateAlertHandler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateAlertHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/alerts/updateAlertHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAgB,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAU7E,wBAAiB,kBAAkB,CAC/B,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,WAAW,GACjB,YAAY,CAAC,qBAAqB,CAAC,CAWrC"}
@@ -1,17 +0,0 @@
1
- import { call, put } from "redux-saga/effects";
2
- import { objRefToString } from "@gooddata/sdk-model";
3
- import { alertUpdated } from "../../events/alerts.js";
4
- import { alertsActions } from "../../store/alerts/index.js";
5
- function updateAlert(ctx, alert) {
6
- const { backend, workspace } = ctx;
7
- return backend.workspace(workspace).dashboards().updateWidgetAlert(alert);
8
- }
9
- export function* updateAlertHandler(ctx, cmd) {
10
- const alert = yield call(updateAlert, ctx, cmd.payload.alert);
11
- yield put(alertsActions.updateAlert({
12
- changes: cmd.payload.alert,
13
- id: objRefToString(cmd.payload.alert.ref),
14
- }));
15
- return alertUpdated(ctx, alert, cmd.correlationId);
16
- }
17
- //# sourceMappingURL=updateAlertHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateAlertHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/alerts/updateAlertHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAgB,MAAM,qBAAqB,CAAC;AAGnE,OAAO,EAAE,YAAY,EAAyB,MAAM,wBAAwB,CAAC;AAE7E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,SAAS,WAAW,CAAC,GAAqB,EAAE,KAAmB;IAC3D,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IAEnC,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,SAAS,CAAC,CAAC,kBAAkB,CAC/B,GAAqB,EACrB,GAAgB;IAEhB,MAAM,KAAK,GAA4C,MAAM,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAEvG,MAAM,GAAG,CACL,aAAa,CAAC,WAAW,CAAC;QACtB,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK;QAC1B,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;KAC5C,CAAC,CACL,CAAC;IAEF,OAAO,YAAY,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;AACvD,CAAC"}
@@ -1,20 +0,0 @@
1
- import { ObjRef, IWidgetAlert } from "@gooddata/sdk-model";
2
- import { ObjRefMap } from "../../../../_staging/metadata/objRefMap.js";
3
- import { IDashboardCommand } from "../../../commands/index.js";
4
- import { DashboardContext } from "../../../types/commonTypes.js";
5
- type CommandWithRefs = IDashboardCommand & {
6
- payload: {
7
- refs: ObjRef[];
8
- };
9
- };
10
- /**
11
- * Given list of all kpi alerts and a command that contains a refs array, this function tests that the `ref` are
12
- * a reference to an existing kpi alerts.
13
- *
14
- * @param ctx - dashboard context, this will be included in the DashboardCommandFailed event
15
- * @param alerts - map of alerts on the dashboard
16
- * @param cmd - any command that has 'ref' in its payload
17
- */
18
- export declare function validateExistingAlerts(alerts: ObjRefMap<IWidgetAlert>, cmd: CommandWithRefs, ctx: DashboardContext): IWidgetAlert[];
19
- export {};
20
- //# sourceMappingURL=alertsValidation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alertsValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/alerts/validation/alertsValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAmB,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,KAAK,eAAe,GAAG,iBAAiB,GAAG;IACvC,OAAO,EAAE;QACL,IAAI,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;CACL,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAClC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,EAC/B,GAAG,EAAE,eAAe,EACpB,GAAG,EAAE,gBAAgB,GACtB,YAAY,EAAE,CAkBhB"}
@@ -1,22 +0,0 @@
1
- // (C) 2021-2022 GoodData Corporation
2
- import { serializeObjRef } from "@gooddata/sdk-model";
3
- import { invalidArgumentsProvided } from "../../../events/general.js";
4
- /**
5
- * Given list of all kpi alerts and a command that contains a refs array, this function tests that the `ref` are
6
- * a reference to an existing kpi alerts.
7
- *
8
- * @param ctx - dashboard context, this will be included in the DashboardCommandFailed event
9
- * @param alerts - map of alerts on the dashboard
10
- * @param cmd - any command that has 'ref' in its payload
11
- */
12
- export function validateExistingAlerts(alerts, cmd, ctx) {
13
- const { payload: { refs }, } = cmd;
14
- return refs.map((ref) => {
15
- const alert = alerts.get(ref);
16
- if (!alert) {
17
- throw invalidArgumentsProvided(ctx, cmd, `Cannot find Kpi alert with ref: ${serializeObjRef(ref)}.`);
18
- }
19
- return alert;
20
- });
21
- }
22
- //# sourceMappingURL=alertsValidation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"alertsValidation.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/alerts/validation/alertsValidation.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAU,eAAe,EAAgB,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAWtE;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CAClC,MAA+B,EAC/B,GAAoB,EACpB,GAAqB;IAErB,MAAM,EACF,OAAO,EAAE,EAAE,IAAI,EAAE,GACpB,GAAG,GAAG,CAAC;IAER,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACpB,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAE9B,IAAI,CAAC,KAAK,EAAE,CAAC;YACT,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,mCAAmC,eAAe,CAAC,GAAG,CAAC,GAAG,CAC7D,CAAC;QACN,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC,CAAC;AACP,CAAC"}