@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
@@ -1 +1 @@
1
- {"version":3,"file":"FilterViews.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EA+C/B,CAAC"}
1
+ {"version":3,"file":"FilterViews.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAgF3C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAwD/B,CAAC"}
@@ -1,27 +1,58 @@
1
1
  // (C) 2024 GoodData Corporation
2
- import React from "react";
2
+ import React, { useCallback } from "react";
3
3
  import { FormattedMessage } from "react-intl";
4
4
  import cx from "classnames";
5
- import { DropdownButton } from "@gooddata/sdk-ui-kit";
5
+ import { DropdownButton, useMediaQuery } from "@gooddata/sdk-ui-kit";
6
6
  import { ConfigurationBubble } from "../../../widget/common/configuration/ConfigurationBubble.js";
7
- import { useDashboardSelector, selectFilterViews, selectIsInEditMode } from "../../../../model/index.js";
7
+ import { useDashboardSelector, selectFilterViews, selectIsInEditMode, useDashboardDispatch, uiActions, selectDisableFilterViews, selectIsFilterViewsDialogOpen, selectFilterViewsDialogMode, } from "../../../../model/index.js";
8
8
  import { FilterViewsList } from "./FilterViewsList.js";
9
9
  import { useFilterViewsToastMessages } from "./useFilterViewsToastMessages.js";
10
10
  import { AddFilterView } from "./AddFilterView.js";
11
11
  const BUBBLE_ALIGN_POINTS = [{ align: "br tr", offset: { x: -27, y: -10 } }];
12
+ const DropdownButtonLabel = ({ filterViews }) => {
13
+ return filterViews.length === 0 ? (React.createElement(FormattedMessage, { id: "filters.filterViews.dropdown.buttonEmpty" })) : (React.createElement(FormattedMessage, { id: "filters.filterViews.dropdown.button", values: { count: filterViews?.length ?? 0 } }));
14
+ };
15
+ const useCallbacks = () => {
16
+ const dispatch = useDashboardDispatch();
17
+ const toggleDialog = useCallback(() => dispatch(uiActions.toggleFilterViewsDialog()), [dispatch]);
18
+ const openListDialog = useCallback(() => dispatch(uiActions.toggleFilterViewsDialog({
19
+ open: true,
20
+ mode: "list",
21
+ })), [dispatch]);
22
+ const openAddDialog = useCallback(() => dispatch(uiActions.toggleFilterViewsDialog({
23
+ open: true,
24
+ mode: "add",
25
+ })), [dispatch]);
26
+ const closeDialog = useCallback(() => dispatch(uiActions.toggleFilterViewsDialog({
27
+ open: false,
28
+ })), [dispatch]);
29
+ return {
30
+ toggleDialog,
31
+ openListDialog,
32
+ openAddDialog,
33
+ closeDialog,
34
+ };
35
+ };
12
36
  export const FilterViews = () => {
13
- const [isOpen, setIsOpen] = React.useState(false);
14
- const onClose = () => setIsOpen(false);
15
- const [isAddNew, setAddNew] = React.useState(false);
16
- const isEditMode = useDashboardSelector(selectIsInEditMode);
37
+ const isDialogOpen = useDashboardSelector(selectIsFilterViewsDialogOpen);
38
+ const dialogMode = useDashboardSelector(selectFilterViewsDialogMode);
39
+ const isDashboardEditMode = useDashboardSelector(selectIsInEditMode);
17
40
  const filterViews = useDashboardSelector(selectFilterViews);
41
+ const isFilterViewsEnabledForDashboard = !useDashboardSelector(selectDisableFilterViews);
42
+ const isMobile = useMediaQuery("mobileDevice");
43
+ const { toggleDialog, openAddDialog, openListDialog, closeDialog } = useCallbacks();
18
44
  useFilterViewsToastMessages();
19
- const buttonClassNames = cx("gd-filter-views-button", "gd-button-large", {
20
- "gd-filter-views-button--open": isOpen,
45
+ // On mobile the dropdown button is not on filter bar but rendered inside the "..." dashboard menu.
46
+ // The dropdown body must still be rendered so the body can be opened when user uses the menu.
47
+ const showDropdownButton = isFilterViewsEnabledForDashboard && !isMobile;
48
+ const buttonClassNames = cx("gd-filter-views-button", "gd-filter-views__dropdown-anchor", "gd-button-large", {
49
+ "gd-filter-views-button--open": isDialogOpen,
21
50
  });
22
51
  return (React.createElement("div", { className: "gd-filter-views" },
23
- React.createElement(DropdownButton, { onClick: () => setIsOpen(!isOpen), className: buttonClassNames, isOpen: isOpen }, filterViews.length === 0 ? (React.createElement(FormattedMessage, { id: "filters.filterViews.dropdown.buttonEmpty" })) : (React.createElement(FormattedMessage, { id: "filters.filterViews.dropdown.button", values: { count: filterViews?.length ?? 0 } }))),
24
- isOpen ? (React.createElement(ConfigurationBubble, { classNames: "gd-filters-views__panel", onClose: onClose, alignTo: ".gd-filter-views-button", alignPoints: BUBBLE_ALIGN_POINTS }, isAddNew ? (React.createElement(AddFilterView, { onClose: () => setAddNew(false) })) : (React.createElement(FilterViewsList, { filterViews: filterViews, onAddNew: () => setAddNew(true), onClose: onClose })))) : null,
25
- isEditMode ? React.createElement("div", { className: "gd-filters-views__panel__divider" }) : null));
52
+ showDropdownButton ? (React.createElement(React.Fragment, null,
53
+ React.createElement(DropdownButton, { onClick: toggleDialog, className: buttonClassNames, isOpen: isDialogOpen },
54
+ React.createElement(DropdownButtonLabel, { filterViews: filterViews })),
55
+ isDashboardEditMode ? React.createElement("div", { className: "gd-filters-views__panel__divider" }) : null)) : (React.createElement("div", { className: "gd-filter-views__dropdown-anchor" })),
56
+ isDialogOpen ? (React.createElement(ConfigurationBubble, { classNames: "gd-filters-views__panel", onClose: closeDialog, alignTo: ".gd-filter-views__dropdown-anchor", alignPoints: BUBBLE_ALIGN_POINTS }, dialogMode === "add" ? (React.createElement(AddFilterView, { onClose: openListDialog })) : (React.createElement(FilterViewsList, { filterViews: filterViews, onAddNew: openAddDialog, onClose: closeDialog })))) : null));
26
57
  };
27
58
  //# sourceMappingURL=FilterViews.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FilterViews.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEnE,OAAO,EAAE,mBAAmB,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,oBAAC,gBAAgB,IAAC,EAAE,EAAC,0CAA0C,GAAG,CACrE,CAAC,CAAC,CAAC,CACA,oBAAC,gBAAgB,IACb,EAAE,EAAC,qCAAqC,EACxC,MAAM,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC,EAAE,GAC7C,CACL,CACY;QAChB,MAAM,CAAC,CAAC,CAAC,CACN,oBAAC,mBAAmB,IAChB,UAAU,EAAC,yBAAyB,EACpC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAC,yBAAyB,EACjC,WAAW,EAAE,mBAAmB,IAE/B,QAAQ,CAAC,CAAC,CAAC,CACR,oBAAC,aAAa,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,GAAI,CACrD,CAAC,CAAC,CAAC,CACA,oBAAC,eAAe,IACZ,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,EAC/B,OAAO,EAAE,OAAO,GAClB,CACL,CACiB,CACzB,CAAC,CAAC,CAAC,IAAI;QACP,UAAU,CAAC,CAAC,CAAC,6BAAK,SAAS,EAAC,kCAAkC,GAAG,CAAC,CAAC,CAAC,IAAI,CACvE,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"FilterViews.js","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/filterBar/filterViews/FilterViews.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGlF,OAAO,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAClG,OAAO,EACH,oBAAoB,EACpB,iBAAiB,EACjB,kB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CAClB;YACI,oBAAC,cAAc,IAAC,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,EAAE,YAAY;gBACpF,oBAAC,mBAAmB,IAAC,WAAW,EAAE,WAAW,GAAI,CACpC;YAChB,mBAAmB,CAAC,CAAC,CAAC,6BAAK,SAAS,EAAC,kCAAkC,GAAG,CAAC,CAAC,CAAC,IAAI,CACnF,CACN,CAAC,CAAC,CAAC,CACA,6BAAK,SAAS,EAAC,kCAAkC,GAAG,CACvD;QACA,YAAY,CAAC,CAAC,CAAC,CACZ,oBAAC,mBAAmB,IAChB,UAAU,EAAC,yBAAyB,EACpC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAC,mCAAmC,EAC3C,WAAW,EAAE,mBAAmB,IAE/B,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,CACpB,oBAAC,aAAa,IAAC,OAAO,EAAE,cAAc,GAAI,CAC7C,CAAC,CAAC,CAAC,CACA,oBAAC,eAAe,IACZ,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE,WAAW,GACtB,CACL,CACiB,CACzB,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -7,6 +7,7 @@ export * from "./drill/index.js";
7
7
  export * from "./filterBar/index.js";
8
8
  export * from "./layout/index.js";
9
9
  export * from "./scheduledEmail/index.js";
10
+ export * from "./alerting/index.js";
10
11
  export * from "./saveAs/index.js";
11
12
  export * from "./topBar/index.js";
12
13
  export * from "./toolbar/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/presentation/index.ts"],"names":[],"mappings":"AAEA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AAErC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACH,wBAAwB,EACxB,8BAA8B,EAC9B,uBAAuB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/presentation/index.ts"],"names":[],"mappings":"AAEA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AAErC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACH,wBAAwB,EACxB,8BAA8B,EAC9B,uBAAuB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2021-2022 GoodData Corporation
1
+ // (C) 2021-2024 GoodData Corporation
2
2
  export * from "./componentDefinition/index.js";
3
3
  export * from "./dashboard/index.js";
4
4
  // only export the types for this, not the actual code
@@ -9,6 +9,7 @@ export * from "./drill/index.js";
9
9
  export * from "./filterBar/index.js";
10
10
  export * from "./layout/index.js";
11
11
  export * from "./scheduledEmail/index.js";
12
+ export * from "./alerting/index.js";
12
13
  export * from "./saveAs/index.js";
13
14
  export * from "./topBar/index.js";
14
15
  export * from "./toolbar/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/presentation/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,sDAAsD;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACH,wBAAwB,EAExB,uBAAuB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/presentation/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,sDAAsD;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACH,wBAAwB,EAExB,uBAAuB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC"}
@@ -283,6 +283,7 @@
283
283
  "configurationPanel.measure._measure": "Messung",
284
284
  "configurationPanel.measure._metric": "Metrik",
285
285
  "configurationPanel.filterBy": "Filtern nach",
286
+ "configurationPanel.date": "Datum",
286
287
  "configurationPanel.dateAs": "als",
287
288
  "configurationPanel.vizCantBeFilteredByAttribute": "Die Visualisierung kann nicht nach {attributeName} gefiltert werden. Markierung des Kontrollfelds entfernen.",
288
289
  "configurationPanel.kpiCantBeFilteredByAttribute": "KPI kann nicht nach {attributeName} gefiltert werden. Markierung des Kontrollfelds entfernen.",