@gooddata/sdk-ui-dashboard 10.22.0-alpha.8 → 10.22.0-beta.1

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 (380) hide show
  1. package/NOTICE +4516 -4046
  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/dashboard/dashboardFilterConverter.d.ts +5 -2
  7. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
  8. package/esm/_staging/dashboard/dashboardFilterConverter.js +12 -7
  9. package/esm/_staging/dashboard/dashboardFilterConverter.js.map +1 -1
  10. package/esm/_staging/sharedHooks/useFiltersNamings.d.ts +2 -0
  11. package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
  12. package/esm/_staging/sharedHooks/useFiltersNamings.js +8 -2
  13. package/esm/_staging/sharedHooks/useFiltersNamings.js.map +1 -1
  14. package/esm/assets/type-csv-formatted.svg +1 -0
  15. package/esm/assets/type-csv-raw.svg +1 -0
  16. package/esm/assets/type-image.svg +1 -0
  17. package/esm/assets/type-pdf.svg +1 -0
  18. package/esm/assets/type-sheet.svg +1 -0
  19. package/esm/assets/type-slides.svg +1 -0
  20. package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.d.ts +18 -0
  21. package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.d.ts.map +1 -0
  22. package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.js +36 -0
  23. package/esm/model/commandHandlers/dashboard/common/migratedAttributeFilters.js.map +1 -0
  24. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts +8 -2
  25. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  26. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +20 -7
  27. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
  28. package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.d.ts +6 -0
  29. package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.d.ts.map +1 -0
  30. package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.js +26 -0
  31. package/esm/model/commandHandlers/dashboard/exportDashboardToExcelHandler.js.map +1 -0
  32. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts +6 -0
  33. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -0
  34. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +33 -0
  35. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js.map +1 -0
  36. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts +6 -0
  37. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -0
  38. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +33 -0
  39. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js.map +1 -0
  40. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  41. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +1 -1
  42. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
  43. package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
  44. package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +37 -4
  45. package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
  46. package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.d.ts.map +1 -1
  47. package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js +19 -5
  48. package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js.map +1 -1
  49. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
  50. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +14 -7
  51. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
  52. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
  53. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +12 -4
  54. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
  55. package/esm/model/commandHandlers/filterContext/common.d.ts +4 -0
  56. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  57. package/esm/model/commandHandlers/filterContext/common.js +8 -1
  58. package/esm/model/commandHandlers/filterContext/common.js.map +1 -1
  59. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  60. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +15 -9
  61. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
  62. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  63. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +9 -2
  64. package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
  65. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  66. package/esm/model/commandHandlers/index.js +10 -0
  67. package/esm/model/commandHandlers/index.js.map +1 -1
  68. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
  69. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +21 -16
  70. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js.map +1 -1
  71. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts +6 -0
  72. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -0
  73. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +33 -0
  74. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js.map +1 -0
  75. package/esm/model/commands/base.d.ts +1 -1
  76. package/esm/model/commands/base.d.ts.map +1 -1
  77. package/esm/model/commands/dashboard.d.ts +51 -0
  78. package/esm/model/commands/dashboard.d.ts.map +1 -1
  79. package/esm/model/commands/dashboard.js +49 -1
  80. package/esm/model/commands/dashboard.js.map +1 -1
  81. package/esm/model/commands/filters.d.ts +74 -4
  82. package/esm/model/commands/filters.d.ts.map +1 -1
  83. package/esm/model/commands/filters.js +71 -4
  84. package/esm/model/commands/filters.js.map +1 -1
  85. package/esm/model/commands/index.d.ts +10 -10
  86. package/esm/model/commands/index.d.ts.map +1 -1
  87. package/esm/model/commands/index.js +3 -3
  88. package/esm/model/commands/index.js.map +1 -1
  89. package/esm/model/commands/insight.d.ts +51 -5
  90. package/esm/model/commands/insight.d.ts.map +1 -1
  91. package/esm/model/commands/insight.js +27 -2
  92. package/esm/model/commands/insight.js.map +1 -1
  93. package/esm/model/events/base.d.ts +1 -1
  94. package/esm/model/events/base.d.ts.map +1 -1
  95. package/esm/model/events/base.js.map +1 -1
  96. package/esm/model/events/dashboard.d.ts +144 -0
  97. package/esm/model/events/dashboard.d.ts.map +1 -1
  98. package/esm/model/events/dashboard.js +97 -1
  99. package/esm/model/events/dashboard.js.map +1 -1
  100. package/esm/model/events/index.d.ts +4 -4
  101. package/esm/model/events/index.d.ts.map +1 -1
  102. package/esm/model/events/index.js +1 -1
  103. package/esm/model/events/index.js.map +1 -1
  104. package/esm/model/react/useDashboardCommand.d.ts +6 -0
  105. package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
  106. package/esm/model/react/useDashboardCommandProcessing.d.ts +24 -0
  107. package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
  108. package/esm/model/store/config/configSelectors.d.ts +18 -0
  109. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  110. package/esm/model/store/config/configSelectors.js +24 -0
  111. package/esm/model/store/config/configSelectors.js.map +1 -1
  112. package/esm/model/store/filterContext/filterContextReducers.d.ts +11 -0
  113. package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
  114. package/esm/model/store/filterContext/filterContextReducers.js +87 -28
  115. package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
  116. package/esm/model/store/filterContext/filterContextSelectors.d.ts +70 -5
  117. package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
  118. package/esm/model/store/filterContext/filterContextSelectors.js +124 -7
  119. package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
  120. package/esm/model/store/filterContext/filterContextState.d.ts +44 -2
  121. package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
  122. package/esm/model/store/filterContext/filterContextState.js +1 -0
  123. package/esm/model/store/filterContext/filterContextState.js.map +1 -1
  124. package/esm/model/store/filterContext/filterContextUtils.d.ts +10 -0
  125. package/esm/model/store/filterContext/filterContextUtils.d.ts.map +1 -0
  126. package/esm/model/store/filterContext/filterContextUtils.js +70 -0
  127. package/esm/model/store/filterContext/filterContextUtils.js.map +1 -0
  128. package/esm/model/store/filterContext/index.d.ts +4 -0
  129. package/esm/model/store/filterContext/index.d.ts.map +1 -1
  130. package/esm/model/store/index.d.ts +5 -4
  131. package/esm/model/store/index.d.ts.map +1 -1
  132. package/esm/model/store/index.js +4 -3
  133. package/esm/model/store/index.js.map +1 -1
  134. package/esm/model/store/topBar/topBarSelectors.d.ts +86 -0
  135. package/esm/model/store/topBar/topBarSelectors.d.ts.map +1 -0
  136. package/esm/model/store/topBar/topBarSelectors.js +160 -0
  137. package/esm/model/store/topBar/topBarSelectors.js.map +1 -0
  138. package/esm/presentation/dashboard/Dashboard.d.ts +1 -1
  139. package/esm/presentation/dashboard/Dashboard.d.ts.map +1 -1
  140. package/esm/presentation/dashboard/Dashboard.js +26 -6
  141. package/esm/presentation/dashboard/Dashboard.js.map +1 -1
  142. package/esm/presentation/dashboardContexts/useSlideData.d.ts.map +1 -1
  143. package/esm/presentation/dashboardContexts/useSlideData.js +1 -0
  144. package/esm/presentation/dashboardContexts/useSlideData.js.map +1 -1
  145. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +1 -1
  146. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
  147. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js +1 -1
  148. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.js.map +1 -1
  149. package/esm/presentation/export/DefaultDashboardExportVariables.d.ts +13 -0
  150. package/esm/presentation/export/DefaultDashboardExportVariables.d.ts.map +1 -0
  151. package/esm/presentation/export/DefaultDashboardExportVariables.js +34 -0
  152. package/esm/presentation/export/DefaultDashboardExportVariables.js.map +1 -0
  153. package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts +17 -0
  154. package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -0
  155. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +13 -0
  156. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js.map +1 -0
  157. package/esm/presentation/export/index.d.ts +1 -0
  158. package/esm/presentation/export/index.d.ts.map +1 -1
  159. package/esm/presentation/export/index.js +1 -0
  160. package/esm/presentation/export/index.js.map +1 -1
  161. package/esm/presentation/export/types.d.ts +42 -1
  162. package/esm/presentation/export/types.d.ts.map +1 -1
  163. package/esm/presentation/export/useExportData.d.ts +6 -2
  164. package/esm/presentation/export/useExportData.d.ts.map +1 -1
  165. package/esm/presentation/export/useExportData.js +57 -3
  166. package/esm/presentation/export/useExportData.js.map +1 -1
  167. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
  168. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +9 -2
  169. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  170. package/esm/presentation/filterBar/attributeFilter/types.d.ts +2 -1
  171. package/esm/presentation/filterBar/attributeFilter/types.d.ts.map +1 -1
  172. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  173. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +14 -4
  174. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js.map +1 -1
  175. package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
  176. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +9 -3
  177. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js.map +1 -1
  178. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
  179. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +8 -2
  180. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js.map +1 -1
  181. package/esm/presentation/filterBar/dateFilter/types.d.ts +2 -1
  182. package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
  183. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  184. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +19 -10
  185. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js.map +1 -1
  186. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  187. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +15 -4
  188. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  189. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  190. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +2 -3
  191. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  192. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +1 -1
  193. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
  194. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  195. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +2 -0
  196. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  197. package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
  198. package/esm/presentation/layout/DefaultDashboardLayout.js +2 -0
  199. package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
  200. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +1 -1
  201. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  202. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +1 -1
  203. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
  204. package/esm/presentation/localization/bundles/de-DE.json +14 -1
  205. package/esm/presentation/localization/bundles/en-AU.json +14 -1
  206. package/esm/presentation/localization/bundles/en-GB.json +14 -1
  207. package/esm/presentation/localization/bundles/en-US.json +46 -1
  208. package/esm/presentation/localization/bundles/es-419.json +14 -1
  209. package/esm/presentation/localization/bundles/es-ES.json +14 -1
  210. package/esm/presentation/localization/bundles/fi-FI.json +14 -1
  211. package/esm/presentation/localization/bundles/fr-CA.json +14 -1
  212. package/esm/presentation/localization/bundles/fr-FR.json +14 -1
  213. package/esm/presentation/localization/bundles/it-IT.json +14 -1
  214. package/esm/presentation/localization/bundles/ja-JP.json +14 -1
  215. package/esm/presentation/localization/bundles/nl-NL.json +14 -1
  216. package/esm/presentation/localization/bundles/pt-BR.json +14 -1
  217. package/esm/presentation/localization/bundles/pt-PT.json +14 -1
  218. package/esm/presentation/localization/bundles/ru-RU.json +1 -0
  219. package/esm/presentation/localization/bundles/zh-HK.json +14 -1
  220. package/esm/presentation/localization/bundles/zh-Hans.json +14 -1
  221. package/esm/presentation/localization/bundles/zh-Hant.json +14 -1
  222. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  223. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -0
  224. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  225. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +2 -0
  226. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -1
  227. package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.d.ts.map +1 -1
  228. package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js +5 -4
  229. package/esm/presentation/topBar/buttonBar/button/editButton/DefaultEditButton.js.map +1 -1
  230. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts +0 -5
  231. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.d.ts.map +1 -1
  232. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js +2 -27
  233. package/esm/presentation/topBar/buttonBar/button/saveAsButton/DefaultSaveAsNewButton.js.map +1 -1
  234. package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.d.ts +1 -1
  235. package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.d.ts.map +1 -1
  236. package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.js +2 -2
  237. package/esm/presentation/topBar/buttonBar/button/saveAsButton/index.js.map +1 -1
  238. package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.d.ts.map +1 -1
  239. package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js +2 -3
  240. package/esm/presentation/topBar/buttonBar/button/saveButton/DefaultSaveButton.js.map +1 -1
  241. package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.d.ts.map +1 -1
  242. package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js +3 -4
  243. package/esm/presentation/topBar/buttonBar/button/shareButton/DefaultShareButton.js.map +1 -1
  244. package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
  245. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +53 -28
  246. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js.map +1 -1
  247. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.d.ts +9 -0
  248. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.d.ts.map +1 -0
  249. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js +15 -0
  250. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js.map +1 -0
  251. package/esm/presentation/topBar/menuButton/types.d.ts +18 -1
  252. package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
  253. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
  254. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +105 -69
  255. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
  256. package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.d.ts +5 -0
  257. package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.d.ts.map +1 -0
  258. package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.js +44 -0
  259. package/esm/presentation/topBar/menuButton/useExportDashboardToExcel.js.map +1 -0
  260. package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.d.ts +5 -0
  261. package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.d.ts.map +1 -0
  262. package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.js +44 -0
  263. package/esm/presentation/topBar/menuButton/useExportDashboardToPdf.js.map +1 -0
  264. package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.d.ts +5 -0
  265. package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.d.ts.map +1 -0
  266. package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.js +44 -0
  267. package/esm/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.js.map +1 -0
  268. package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.d.ts +5 -0
  269. package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.d.ts.map +1 -0
  270. package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.js +44 -0
  271. package/esm/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.js.map +1 -0
  272. package/esm/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.js +2 -2
  273. package/esm/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.js.map +1 -1
  274. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.d.ts +8 -1
  275. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.d.ts.map +1 -1
  276. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.js +6 -3
  277. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.js.map +1 -1
  278. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.d.ts +8 -1
  279. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.d.ts.map +1 -1
  280. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.js +6 -3
  281. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.js.map +1 -1
  282. package/esm/presentation/widget/common/useInsightExport.d.ts +8 -2
  283. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  284. package/esm/presentation/widget/common/useInsightExport.js +26 -4
  285. package/esm/presentation/widget/common/useInsightExport.js.map +1 -1
  286. package/esm/presentation/widget/common/useRawExportHandler.d.ts.map +1 -1
  287. package/esm/presentation/widget/common/useRawExportHandler.js.map +1 -1
  288. package/esm/presentation/widget/common/useSlidesExportHandler.d.ts +5 -0
  289. package/esm/presentation/widget/common/useSlidesExportHandler.d.ts.map +1 -0
  290. package/esm/presentation/widget/common/useSlidesExportHandler.js +35 -0
  291. package/esm/presentation/widget/common/useSlidesExportHandler.js.map +1 -0
  292. package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
  293. package/esm/presentation/widget/description/DescriptionClickTrigger.js +3 -3
  294. package/esm/presentation/widget/description/DescriptionClickTrigger.js.map +1 -1
  295. package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts +3 -2
  296. package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts.map +1 -1
  297. package/esm/presentation/widget/insight/DefaultDashboardInsight.js +13 -4
  298. package/esm/presentation/widget/insight/DefaultDashboardInsight.js.map +1 -1
  299. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
  300. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +35 -9
  301. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
  302. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts +2 -0
  303. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts.map +1 -1
  304. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js +2 -2
  305. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js.map +1 -1
  306. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.d.ts +2 -0
  307. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.d.ts.map +1 -1
  308. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js +3 -3
  309. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js.map +1 -1
  310. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts +2 -0
  311. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts.map +1 -1
  312. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js +6 -5
  313. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js.map +1 -1
  314. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
  315. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +7 -3
  316. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js.map +1 -1
  317. package/esm/presentation/widget/insight/configuration/ExportOptions.d.ts +14 -1
  318. package/esm/presentation/widget/insight/configuration/ExportOptions.d.ts.map +1 -1
  319. package/esm/presentation/widget/insight/configuration/ExportOptions.js +30 -31
  320. package/esm/presentation/widget/insight/configuration/ExportOptions.js.map +1 -1
  321. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
  322. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +6 -3
  323. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
  324. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -1
  325. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +4 -1
  326. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
  327. package/esm/presentation/widget/insight/types.d.ts +4 -0
  328. package/esm/presentation/widget/insight/types.d.ts.map +1 -1
  329. package/esm/presentation/widget/insight/types.js.map +1 -1
  330. package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.d.ts +6 -0
  331. package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.d.ts.map +1 -0
  332. package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.js +26 -0
  333. package/esm/presentation/widget/insight/useBackendWithInsightWidgetCorrelation.js.map +1 -0
  334. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.d.ts.map +1 -1
  335. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.js +4 -3
  336. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenuButton.js.map +1 -1
  337. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +6 -0
  338. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
  339. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +12 -4
  340. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
  341. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
  342. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +7 -1
  343. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
  344. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +7 -1
  345. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  346. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +5 -0
  347. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
  348. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +23 -2
  349. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
  350. package/esm/sdk-ui-dashboard.d.ts +740 -27
  351. package/esm/types.d.ts +8 -0
  352. package/esm/types.d.ts.map +1 -1
  353. package/esm/types.js.map +1 -1
  354. package/package.json +15 -15
  355. package/styles/css/attributeFilterConfig.css +39 -9
  356. package/styles/css/attributeFilterConfig.css.map +1 -1
  357. package/styles/css/configurationPanel.css +4 -1
  358. package/styles/css/configurationPanel.css.map +1 -1
  359. package/styles/css/dashboard.css +8 -0
  360. package/styles/css/dashboard.css.map +1 -1
  361. package/styles/css/dateFilterConfig.css +39 -9
  362. package/styles/css/dateFilterConfig.css.map +1 -1
  363. package/styles/css/export.css +5 -0
  364. package/styles/css/export.css.map +1 -1
  365. package/styles/css/icons.css +42 -0
  366. package/styles/css/icons.css.map +1 -1
  367. package/styles/css/main.css +150 -18
  368. package/styles/css/main.css.map +1 -1
  369. package/styles/css/sharedFilterConfig.css +39 -9
  370. package/styles/css/sharedFilterConfig.css.map +1 -1
  371. package/styles/scss/configurationPanel.scss +5 -2
  372. package/styles/scss/dashboard.scss +8 -0
  373. package/styles/scss/export.scss +5 -0
  374. package/styles/scss/filterBar.scss +1 -1
  375. package/styles/scss/icons.scss +55 -1
  376. package/styles/scss/sharedFilterConfig.scss +24 -1
  377. package/esm/presentation/topBar/buttonBar/button/selectors.d.ts +0 -40
  378. package/esm/presentation/topBar/buttonBar/button/selectors.d.ts.map +0 -1
  379. package/esm/presentation/topBar/buttonBar/button/selectors.js +0 -61
  380. package/esm/presentation/topBar/buttonBar/button/selectors.js.map +0 -1
@@ -0,0 +1,15 @@
1
+ // (C) 2022-2025 GoodData Corporation
2
+ import React from "react";
3
+ import { Button, Typography } from "@gooddata/sdk-ui-kit";
4
+ import cx from "classnames";
5
+ export const DefaultSubmenuHeader = ({ title, onGoBack, onClose }) => {
6
+ const headerClassNames = cx("configuration-panel-header-title", {
7
+ clickable: !!onGoBack,
8
+ });
9
+ return (React.createElement("div", { className: "configuration-panel-header" },
10
+ React.createElement(Typography, { tagName: "h3", className: headerClassNames, onClick: onGoBack ? onGoBack : undefined },
11
+ onGoBack ? React.createElement("i", { className: "gd-icon-navigateleft" }) : null,
12
+ title),
13
+ React.createElement(Button, { className: "gd-button-link gd-button-icon-only gd-icon-cross configuration-panel-header-close-button s-configuration-panel-header-close-button", onClick: onClose })));
14
+ };
15
+ //# sourceMappingURL=DefaultSubmenuHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultSubmenuHeader.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/DefaultSubmenuHeader.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,MAAM,YAAY,CAAC;AAQ5B,MAAM,CAAC,MAAM,oBAAoB,GAAyC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACvG,MAAM,gBAAgB,GAAG,EAAE,CAAC,kCAAkC,EAAE;QAC5D,SAAS,EAAE,CAAC,CAAC,QAAQ;KACxB,CAAC,CAAC;IACH,OAAO,CACH,6BAAK,SAAS,EAAC,4BAA4B;QACvC,oBAAC,UAAU,IAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;YACzF,QAAQ,CAAC,CAAC,CAAC,2BAAG,SAAS,EAAC,sBAAsB,GAAG,CAAC,CAAC,CAAC,IAAI;YACxD,KAAK,CACG;QACb,oBAAC,MAAM,IACH,SAAS,EAAC,oIAAoI,EAC9I,OAAO,EAAE,OAAO,GAClB,CACA,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -21,6 +21,23 @@ export interface IMenuButtonItemButton extends IMenuItemCommonProps {
21
21
  disabled?: boolean;
22
22
  icon?: string | ReactNode;
23
23
  }
24
+ /**
25
+ * @alpha
26
+ */
27
+ export interface IMenuButtonItemMenu extends IMenuItemCommonProps {
28
+ type: "menu";
29
+ itemName: string;
30
+ /**
31
+ * If specified, the value is shown on hover of the item as a tooltip.
32
+ */
33
+ tooltip?: string | ReactNode;
34
+ disabled?: boolean;
35
+ icon?: string | ReactNode;
36
+ items: [
37
+ IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader,
38
+ ...(IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader)[]
39
+ ];
40
+ }
24
41
  /**
25
42
  * @alpha
26
43
  */
@@ -37,7 +54,7 @@ export interface IMenuButtonItemHeader extends IMenuItemCommonProps {
37
54
  /**
38
55
  * @alpha
39
56
  */
40
- export type IMenuButtonItem = IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader;
57
+ export type IMenuButtonItem = IMenuButtonItemButton | IMenuButtonItemSeparator | IMenuButtonItemHeader | IMenuButtonItemMenu;
41
58
  /**
42
59
  * @alpha
43
60
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WA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1 @@
1
- {"version":3,"file":"useDefaultMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useDefaultMenuItems.tsx"],"names":[],"mappings":"AA8BA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA2D9C;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,eAAe,EAAE,CAmOvD"}
1
+ {"version":3,"file":"useDefaultMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useDefaultMenuItems.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA0B9C;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,eAAe,EAAE,CA6SvD"}
@@ -1,45 +1,12 @@
1
- // (C) 2022-2024 GoodData Corporation
2
- import React, { useCallback, useMemo, useRef } from "react";
1
+ // (C) 2022-2025 GoodData Corporation
2
+ import React, { useCallback, useMemo } from "react";
3
3
  import { useIntl } from "react-intl";
4
- import { isProtectedDataError } from "@gooddata/sdk-backend-spi";
5
- import { useToastMessage, useMediaQuery } from "@gooddata/sdk-ui-kit";
6
- import { exportDashboardToPdf, selectCanCreateAnalyticalDashboard, selectCanExportPdf, selectEnableKPIDashboardExportPDF, selectEntitlementExportPdf, selectIsInEditMode, selectIsInViewMode, selectIsNewDashboard, selectIsReadOnly, selectIsSaveAsNewButtonHidden, selectLayoutHasAnalyticalWidgets, selectMenuButtonItemsVisibility, uiActions, useDashboardCommandProcessing, useDashboardDispatch, useDashboardScheduledEmails, useDashboardSelector, useDashboardAlerts, selectEnableFilterViews, selectDisableFilterViews, selectCanCreateAutomation, } from "../../../model/index.js";
7
- import { downloadFile } from "../../../_staging/fileUtils/downloadFile.js";
8
- import { messages } from "../../../locales.js";
9
- import { selectIsSaveAsNewButtonVisible } from "../buttonBar/button/index.js";
10
- const useExportDashboard = () => {
11
- const { addSuccess, addError, addProgress, removeMessage } = useToastMessage();
12
- const lastExportMessageId = useRef("");
13
- const { run: exportDashboard } = useDashboardCommandProcessing({
14
- commandCreator: exportDashboardToPdf,
15
- successEvent: "GDC.DASH/EVT.EXPORT.PDF.RESOLVED",
16
- errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
17
- onBeforeRun: () => {
18
- lastExportMessageId.current = addProgress(messages.messagesExportResultStart,
19
- // make sure the message stays there until removed by either success or error
20
- { duration: 0 });
21
- },
22
- onSuccess: (event) => {
23
- if (lastExportMessageId.current) {
24
- removeMessage(lastExportMessageId.current);
25
- }
26
- addSuccess(messages.messagesExportResultSuccess);
27
- downloadFile(event.payload.result);
28
- },
29
- onError: (error) => {
30
- if (lastExportMessageId.current) {
31
- removeMessage(lastExportMessageId.current);
32
- }
33
- if (isProtectedDataError(error)) {
34
- addError(messages.messagesExportResultRestrictedError);
35
- }
36
- else {
37
- addError(messages.messagesExportResultError);
38
- }
39
- },
40
- });
41
- return exportDashboard;
42
- };
4
+ import { useMediaQuery } from "@gooddata/sdk-ui-kit";
5
+ import { uiActions, selectIsReadOnly, selectIsNewDashboard, selectLayoutHasAnalyticalWidgets, selectMenuButtonItemsVisibility, selectEnableDashboardTabularExport, selectEnableOrchestratedTabularExports, useDashboardDispatch, useDashboardScheduledEmails, useDashboardSelector, useDashboardAlerts, selectCanCreateAutomation, selectDeleteVisible, selectFilterViewsVisible, selectPdfExportVisible, selectSaveAsVisible, selectSlideShowExportVisible, } from "../../../model/index.js";
6
+ import { useExportDashboardToPdf } from "./useExportDashboardToPdf.js";
7
+ import { useExportDashboardToExcel } from "./useExportDashboardToExcel.js";
8
+ import { useExportDashboardToPdfPresentation } from "./useExportDashboardToPdfPresentation.js";
9
+ import { useExportDashboardToPowerPointPresentation } from "./useExportDashboardToPowerPointPresentation.js";
43
10
  // inject separator to each visible section, flat map the sections into a list of menu items
44
11
  const buildMenuItemList = (menuSections) => menuSections
45
12
  .filter((section) => section.some((item) => item.visible))
@@ -84,39 +51,51 @@ export function useDefaultMenuItems() {
84
51
  }
85
52
  openSaveAsDialog();
86
53
  }, [isNewDashboard, openSaveAsDialog]);
87
- const exportDashboard = useExportDashboard();
54
+ const { exportDashboardToPdf, exportDashboardToPdfStatus } = useExportDashboardToPdf();
88
55
  const defaultOnExportToPdf = useCallback(() => {
89
56
  if (isNewDashboard) {
90
57
  return;
91
58
  }
92
- exportDashboard();
93
- }, [exportDashboard, isNewDashboard]);
59
+ exportDashboardToPdf();
60
+ }, [exportDashboardToPdf, isNewDashboard]);
61
+ const { exportDashboardToExcel, exportDashboardToExcelStatus } = useExportDashboardToExcel();
62
+ const defaultOnExportToExcel = useCallback(() => {
63
+ if (isNewDashboard) {
64
+ return;
65
+ }
66
+ exportDashboardToExcel();
67
+ }, [exportDashboardToExcel, isNewDashboard]);
68
+ const { exportDashboardToPdfPresentation, exportDashboardToPdfPresentationStatus } = useExportDashboardToPdfPresentation();
69
+ const defaultOnExportToPdfPresentation = useCallback(() => {
70
+ if (isNewDashboard) {
71
+ return;
72
+ }
73
+ exportDashboardToPdfPresentation();
74
+ }, [exportDashboardToPdfPresentation, isNewDashboard]);
75
+ const { exportDashboardToPptPresentation, exportDashboardToPptPresentationStatus } = useExportDashboardToPowerPointPresentation();
76
+ const defaultOnExportToPowerPointPresentation = useCallback(() => {
77
+ if (isNewDashboard) {
78
+ return;
79
+ }
80
+ exportDashboardToPptPresentation();
81
+ }, [exportDashboardToPptPresentation, isNewDashboard]);
94
82
  const canCreateAutomation = useDashboardSelector(selectCanCreateAutomation);
95
83
  const isReadOnly = useDashboardSelector(selectIsReadOnly);
96
- const isInViewMode = useDashboardSelector(selectIsInViewMode);
97
- const isInEditMode = useDashboardSelector(selectIsInEditMode);
98
- const canCreateDashboard = useDashboardSelector(selectCanCreateAnalyticalDashboard);
99
- const isSaveAsNewHidden = useDashboardSelector(selectIsSaveAsNewButtonHidden);
100
- const isStandaloneSaveAsNewButtonVisible = useDashboardSelector(selectIsSaveAsNewButtonVisible);
101
- const canExport = useDashboardSelector(selectCanExportPdf);
102
- const isKPIDashboardExportPDFEnabled = !!useDashboardSelector(selectEnableKPIDashboardExportPDF);
103
- const isExportPdfEntitlementPresent = !!useDashboardSelector(selectEntitlementExportPdf);
84
+ const isEnableDashboardTabularExport = useDashboardSelector(selectEnableDashboardTabularExport);
85
+ const isEnableOrchestratedTabularExports = useDashboardSelector(selectEnableOrchestratedTabularExports);
86
+ const isExportVisible = useDashboardSelector(selectSlideShowExportVisible);
87
+ const isPdfExportVisible = useDashboardSelector(selectPdfExportVisible);
104
88
  const menuButtonItemsVisibility = useDashboardSelector(selectMenuButtonItemsVisibility);
105
- const isFilterViewsFeatureFlagEnabled = useDashboardSelector(selectEnableFilterViews);
106
- const isFilterViewsEnabledForDashboard = !useDashboardSelector(selectDisableFilterViews);
107
- const isFilterViewsVisible = isMobile && isFilterViewsFeatureFlagEnabled && isFilterViewsEnabledForDashboard;
108
- const isDeleteVisible = isInEditMode && (menuButtonItemsVisibility.deleteButton ?? true);
89
+ const isFilterViewsEnabled = useDashboardSelector(selectFilterViewsVisible);
90
+ const isFilterViewsVisible = isMobile && isFilterViewsEnabled;
91
+ const isDeleteVisible = useDashboardSelector(selectDeleteVisible);
109
92
  // Do not show save as new button in menu item when it is already shown as a standalone top bar button.
110
- const isSaveAsVisible = !isStandaloneSaveAsNewButtonVisible &&
111
- canCreateDashboard &&
112
- !isSaveAsNewHidden &&
113
- (menuButtonItemsVisibility.saveAsNewButton ?? true);
93
+ const isSaveAsVisible = useDashboardSelector(selectSaveAsVisible);
114
94
  const isSaveAsDisabled = isEmptyLayout || isNewDashboard || isReadOnly;
115
- const isPdfExportVisible = isInViewMode &&
116
- canExport &&
117
- isKPIDashboardExportPDFEnabled &&
118
- isExportPdfEntitlementPresent &&
119
- (menuButtonItemsVisibility.pdfExportButton ?? true);
95
+ const isInProgress = exportDashboardToPdfStatus === "running" ||
96
+ exportDashboardToExcelStatus === "running" ||
97
+ exportDashboardToPdfPresentationStatus === "running" ||
98
+ exportDashboardToPptPresentationStatus === "running";
120
99
  return useMemo(() => {
121
100
  if (isNewDashboard) {
122
101
  return [];
@@ -202,10 +181,57 @@ export function useDefaultMenuItems() {
202
181
  {
203
182
  type: "button",
204
183
  itemId: "pdf-export-item", // careful, this is also used as a selector in tests, do not change
205
- itemName: intl.formatMessage({ id: "options.menu.export.PDF" }),
184
+ itemName: intl.formatMessage({ id: "options.menu.export_to_pdf" }),
206
185
  onClick: defaultOnExportToPdf,
207
- visible: isPdfExportVisible,
186
+ visible: isPdfExportVisible && !isExportVisible,
187
+ icon: "gd-icon-download",
188
+ },
189
+ {
190
+ type: "menu",
191
+ itemId: "menu-exports-list", // careful, this is also used as a selector in tests, do not change
192
+ itemName: intl.formatMessage({ id: "options.menu.export" }),
193
+ visible: isExportVisible,
208
194
  icon: "gd-icon-download",
195
+ items: [
196
+ {
197
+ type: "button",
198
+ itemId: "pdf-export-item", // careful, this is also used as a selector in tests, do not change
199
+ itemName: intl.formatMessage({ id: "options.menu.export.PDF" }),
200
+ onClick: defaultOnExportToPdf,
201
+ visible: menuButtonItemsVisibility.pdfExportButton ?? true,
202
+ disabled: isInProgress,
203
+ icon: "gd-icon-type-pdf",
204
+ },
205
+ {
206
+ type: "button",
207
+ itemId: "pdf-presentation-export-item", // careful, this is also used as a selector in tests, do not change
208
+ itemName: intl.formatMessage({ id: "options.menu.export.presentation.PDF" }),
209
+ onClick: defaultOnExportToPdfPresentation,
210
+ visible: menuButtonItemsVisibility.pdfExportButton ?? true,
211
+ disabled: isInProgress,
212
+ icon: "gd-icon-type-pdf",
213
+ },
214
+ {
215
+ type: "button",
216
+ itemId: "pptx-presentation-export-item", // careful, this is also used as a selector in tests, do not change
217
+ itemName: intl.formatMessage({ id: "options.menu.export.presentation.PPTX" }),
218
+ onClick: defaultOnExportToPowerPointPresentation,
219
+ visible: menuButtonItemsVisibility.powerPointExportButton ?? true,
220
+ disabled: isInProgress,
221
+ icon: "gd-icon-type-slides",
222
+ },
223
+ {
224
+ type: "button",
225
+ itemId: "excel-export-item", // careful, this is also used as a selector in tests, do not change
226
+ itemName: intl.formatMessage({ id: "options.menu.export.EXCEL" }),
227
+ onClick: defaultOnExportToExcel,
228
+ visible: (menuButtonItemsVisibility.excelExportButton ?? true) &&
229
+ isEnableDashboardTabularExport &&
230
+ isEnableOrchestratedTabularExports,
231
+ disabled: isInProgress,
232
+ icon: "gd-icon-type-sheet",
233
+ },
234
+ ],
209
235
  },
210
236
  ],
211
237
  // delete section
@@ -222,13 +248,20 @@ export function useDefaultMenuItems() {
222
248
  ],
223
249
  ]);
224
250
  }, [
251
+ isEnableDashboardTabularExport,
252
+ isEnableOrchestratedTabularExports,
225
253
  defaultOnExportToPdf,
226
254
  defaultOnSaveAs,
227
255
  defaultOnScheduleEmailing,
228
256
  defaultOnScheduleEmailingManagement,
257
+ defaultOnAlertsManagement,
258
+ defaultOnExportToExcel,
259
+ defaultOnExportToPdfPresentation,
260
+ defaultOnExportToPowerPointPresentation,
229
261
  intl,
230
262
  isDeleteVisible,
231
263
  isFilterViewsVisible,
264
+ isAlertsManagementVisible,
232
265
  isNewDashboard,
233
266
  isPdfExportVisible,
234
267
  isReadOnly,
@@ -240,9 +273,12 @@ export function useDefaultMenuItems() {
240
273
  openDeleteDialog,
241
274
  openFilterViewsAddDialog,
242
275
  openFilterViewsListDialog,
243
- isAlertsManagementVisible,
276
+ isExportVisible,
277
+ menuButtonItemsVisibility.pdfExportButton,
278
+ menuButtonItemsVisibility.excelExportButton,
279
+ menuButtonItemsVisibility.powerPointExportButton,
280
+ isInProgress,
244
281
  canCreateAutomation,
245
- defaultOnAlertsManagement,
246
282
  ]);
247
283
  }
248
284
  //# sourceMappingURL=useDefaultMenuItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDefaultMenuItems.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useDefaultMenuItems.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAA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V,gBAAgB;QAChB,eAAe;QACf,0BAA0B;QAC1B,oCAAoC;QACpC,6BAA6B;QAC7B,gBAAgB;QAChB,wBAAwB;QACxB,yBAAyB;QACzB,yBAAyB;QACzB,mBAAmB;QACnB,yBAAyB;KAC5B,CAAC,CAAC;AACP,CAAC"}
1
+ {"version":3,"file":"useDefaultMenuItems.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useDefaultMenuItems.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,EACH,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,+BAA+B,EAC/B,kCAAkC,EAClC,sCAAsC,EACtC,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,EACpB,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,4BAA4B,GAC/B,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAC;AAC/F,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAE7G,4FAA4F;AAC5F,MAAM,iBAAiB,GAAG,CAAC,YAAiC,EAAqB,EAAE,CAC/E,YAAY;KACP,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACzD,GAAG,CAAC,CAAC,cAAc,EAAE,KAAK,EA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f,yBAAyB,CAAC,eAAe;QACzC,yBAAyB,CAAC,iBAAiB;QAC3C,yBAAyB,CAAC,sBAAsB;QAChD,YAAY;QACZ,mBAAmB;KACtB,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const useExportDashboardToExcel: () => {
2
+ exportDashboardToExcel: (correlationId?: string | undefined) => void;
3
+ exportDashboardToExcelStatus: import("../../../model/index.js").CommandProcessingStatus | undefined;
4
+ };
5
+ //# sourceMappingURL=useExportDashboardToExcel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToExcel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToExcel.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB;;;CAsCrC,CAAC"}
@@ -0,0 +1,44 @@
1
+ // (C) 2022-2025 GoodData Corporation
2
+ import { useToastMessage } from "@gooddata/sdk-ui-kit";
3
+ import { isProtectedDataError } from "@gooddata/sdk-backend-spi";
4
+ import { useRef } from "react";
5
+ import { exportDashboardToExcel, useDashboardCommandProcessing } from "../../../model/index.js";
6
+ import { messages } from "../../../locales.js";
7
+ import { downloadFile } from "../../../_staging/fileUtils/downloadFile.js";
8
+ export const useExportDashboardToExcel = () => {
9
+ const { addSuccess, addError, addProgress, removeMessage } = useToastMessage();
10
+ const lastExportMessageId = useRef("");
11
+ const { run: exportDashboard, status } = useDashboardCommandProcessing({
12
+ commandCreator: exportDashboardToExcel,
13
+ successEvent: "GDC.DASH/EVT.EXPORT.EXCEL.RESOLVED",
14
+ errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
15
+ onBeforeRun: () => {
16
+ lastExportMessageId.current = addProgress(messages.messagesExportResultStart,
17
+ // make sure the message stays there until removed by either success or error
18
+ { duration: 0 });
19
+ },
20
+ onSuccess: (event) => {
21
+ if (lastExportMessageId.current) {
22
+ removeMessage(lastExportMessageId.current);
23
+ }
24
+ addSuccess(messages.messagesExportResultSuccess);
25
+ downloadFile(event.payload.result);
26
+ },
27
+ onError: (error) => {
28
+ if (lastExportMessageId.current) {
29
+ removeMessage(lastExportMessageId.current);
30
+ }
31
+ if (isProtectedDataError(error)) {
32
+ addError(messages.messagesExportResultRestrictedError);
33
+ }
34
+ else {
35
+ addError(messages.messagesExportResultError);
36
+ }
37
+ },
38
+ });
39
+ return {
40
+ exportDashboardToExcel: exportDashboard,
41
+ exportDashboardToExcelStatus: status,
42
+ };
43
+ };
44
+ //# sourceMappingURL=useExportDashboardToExcel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToExcel.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToExcel.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC1C,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,eAAe,EAAE,CAAC;IAC/E,MAAM,mBAAmB,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,6BAA6B,CAAC;QACnE,cAAc,EAAE,sBAAsB;QACtC,YAAY,EAAE,oCAAoC;QAClD,UAAU,EAAE,6BAA6B;QACzC,WAAW,EAAE,GAAG,EAAE;YACd,mBAAmB,CAAC,OAAO,GAAG,WAAW,CACrC,QAAQ,CAAC,yBAAyB;YAClC,6EAA6E;YAC7E,EAAE,QAAQ,EAAE,CAAC,EAAE,CAClB,CAAC;QACN,CAAC;QACD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,IAAI,mBAAmB,CAAC,OAAO,EAAE,CAAC;gBAC9B,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YACD,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;YACjD,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YACf,IAAI,mBAAmB,CAAC,OAAO,EAAE,CAAC;gBAC9B,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YAED,IAAI,oBAAoB,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9B,QAAQ,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;YACjD,CAAC;QACL,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO;QACH,sBAAsB,EAAE,eAAe;QACvC,4BAA4B,EAAE,MAAM;KACvC,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const useExportDashboardToPdf: () => {
2
+ exportDashboardToPdf: (correlationId?: string | undefined) => void;
3
+ exportDashboardToPdfStatus: import("../../../model/index.js").CommandProcessingStatus | undefined;
4
+ };
5
+ //# sourceMappingURL=useExportDashboardToPdf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToPdf.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToPdf.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,uBAAuB;;;CAsCnC,CAAC"}
@@ -0,0 +1,44 @@
1
+ // (C) 2025 GoodData Corporation
2
+ import { useToastMessage } from "@gooddata/sdk-ui-kit";
3
+ import { isProtectedDataError } from "@gooddata/sdk-backend-spi";
4
+ import { useRef } from "react";
5
+ import { exportDashboardToPdf, useDashboardCommandProcessing } from "../../../model/index.js";
6
+ import { messages } from "../../../locales.js";
7
+ import { downloadFile } from "../../../_staging/fileUtils/downloadFile.js";
8
+ export const useExportDashboardToPdf = () => {
9
+ const { addSuccess, addError, addProgress, removeMessage } = useToastMessage();
10
+ const lastExportMessageId = useRef("");
11
+ const { run: exportDashboard, status } = useDashboardCommandProcessing({
12
+ commandCreator: exportDashboardToPdf,
13
+ successEvent: "GDC.DASH/EVT.EXPORT.PDF.RESOLVED",
14
+ errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
15
+ onBeforeRun: () => {
16
+ lastExportMessageId.current = addProgress(messages.messagesExportResultStart,
17
+ // make sure the message stays there until removed by either success or error
18
+ { duration: 0 });
19
+ },
20
+ onSuccess: (event) => {
21
+ if (lastExportMessageId.current) {
22
+ removeMessage(lastExportMessageId.current);
23
+ }
24
+ addSuccess(messages.messagesExportResultSuccess);
25
+ downloadFile(event.payload.result);
26
+ },
27
+ onError: (error) => {
28
+ if (lastExportMessageId.current) {
29
+ removeMessage(lastExportMessageId.current);
30
+ }
31
+ if (isProtectedDataError(error)) {
32
+ addError(messages.messagesExportResultRestrictedError);
33
+ }
34
+ else {
35
+ addError(messages.messagesExportResultError);
36
+ }
37
+ },
38
+ });
39
+ return {
40
+ exportDashboardToPdf: exportDashboard,
41
+ exportDashboardToPdfStatus: status,
42
+ };
43
+ };
44
+ //# sourceMappingURL=useExportDashboardToPdf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToPdf.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToPdf.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MA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,CAAC;gBAC9B,QAAQ,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;YACjD,CAAC;QACL,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO;QACH,oBAAoB,EAAE,eAAe;QACrC,0BAA0B,EAAE,MAAM;KACrC,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const useExportDashboardToPdfPresentation: () => {
2
+ exportDashboardToPdfPresentation: (correlationId?: string | undefined) => void;
3
+ exportDashboardToPdfPresentationStatus: import("../../../model/index.js").CommandProcessingStatus | undefined;
4
+ };
5
+ //# sourceMappingURL=useExportDashboardToPdfPresentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToPdfPresentation.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mCAAmC;;;CAsC/C,CAAC"}
@@ -0,0 +1,44 @@
1
+ // (C) 2022-2025 GoodData Corporation
2
+ import { useToastMessage } from "@gooddata/sdk-ui-kit";
3
+ import { isProtectedDataError } from "@gooddata/sdk-backend-spi";
4
+ import { useRef } from "react";
5
+ import { exportDashboardToPdfPresentation, useDashboardCommandProcessing } from "../../../model/index.js";
6
+ import { messages } from "../../../locales.js";
7
+ import { downloadFile } from "../../../_staging/fileUtils/downloadFile.js";
8
+ export const useExportDashboardToPdfPresentation = () => {
9
+ const { addSuccess, addError, addProgress, removeMessage } = useToastMessage();
10
+ const lastExportMessageId = useRef("");
11
+ const { run: exportDashboard, status } = useDashboardCommandProcessing({
12
+ commandCreator: exportDashboardToPdfPresentation,
13
+ successEvent: "GDC.DASH/EVT.EXPORT.PDF_PRESENTATION.RESOLVED",
14
+ errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
15
+ onBeforeRun: () => {
16
+ lastExportMessageId.current = addProgress(messages.messagesExportResultStart,
17
+ // make sure the message stays there until removed by either success or error
18
+ { duration: 0 });
19
+ },
20
+ onSuccess: (event) => {
21
+ if (lastExportMessageId.current) {
22
+ removeMessage(lastExportMessageId.current);
23
+ }
24
+ addSuccess(messages.messagesExportResultSuccess);
25
+ downloadFile(event.payload.result);
26
+ },
27
+ onError: (error) => {
28
+ if (lastExportMessageId.current) {
29
+ removeMessage(lastExportMessageId.current);
30
+ }
31
+ if (isProtectedDataError(error)) {
32
+ addError(messages.messagesExportResultRestrictedError);
33
+ }
34
+ else {
35
+ addError(messages.messagesExportResultError);
36
+ }
37
+ },
38
+ });
39
+ return {
40
+ exportDashboardToPdfPresentation: exportDashboard,
41
+ exportDashboardToPdfPresentationStatus: status,
42
+ };
43
+ };
44
+ //# sourceMappingURL=useExportDashboardToPdfPresentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToPdfPresentation.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToPdfPresentation.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gCAAgC,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC1G,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E,MAAM,CAAC,MAAM,mCAAmC,GAAG,GAAG,EAAE;IACpD,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,eAAe,EAAE,CAAC;IAC/E,MAAM,mBAAmB,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,6BAA6B,CAAC;QACnE,cAAc,EAAE,gCAAgC;QAChD,YAAY,EAAE,+CAA+C;QAC7D,UAAU,EAAE,6BAA6B;QACzC,WAAW,EAAE,GAAG,EAAE;YACd,mBAAmB,CAAC,OAAO,GAAG,WAAW,CACrC,QAAQ,CAAC,yBAAyB;YAClC,6EAA6E;YAC7E,EAAE,QAAQ,EAAE,CAAC,EAAE,CAClB,CAAC;QACN,CAAC;QACD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,IAAI,mBAAmB,CAAC,OAAO,EAAE,CAAC;gBAC9B,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YACD,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;YACjD,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YACf,IAAI,mBAAmB,CAAC,OAAO,EAAE,CAAC;gBAC9B,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YAED,IAAI,oBAAoB,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9B,QAAQ,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;YACjD,CAAC;QACL,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO;QACH,gCAAgC,EAAE,eAAe;QACjD,sCAAsC,EAAE,MAAM;KACjD,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const useExportDashboardToPowerPointPresentation: () => {
2
+ exportDashboardToPptPresentation: (correlationId?: string | undefined) => void;
3
+ exportDashboardToPptPresentationStatus: import("../../../model/index.js").CommandProcessingStatus | undefined;
4
+ };
5
+ //# sourceMappingURL=useExportDashboardToPowerPointPresentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToPowerPointPresentation.d.ts","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,0CAA0C;;;CAsCtD,CAAC"}
@@ -0,0 +1,44 @@
1
+ // (C) 2022-2025 GoodData Corporation
2
+ import { useToastMessage } from "@gooddata/sdk-ui-kit";
3
+ import { isProtectedDataError } from "@gooddata/sdk-backend-spi";
4
+ import { useRef } from "react";
5
+ import { exportDashboardToPptPresentation, useDashboardCommandProcessing } from "../../../model/index.js";
6
+ import { messages } from "../../../locales.js";
7
+ import { downloadFile } from "../../../_staging/fileUtils/downloadFile.js";
8
+ export const useExportDashboardToPowerPointPresentation = () => {
9
+ const { addSuccess, addError, addProgress, removeMessage } = useToastMessage();
10
+ const lastExportMessageId = useRef("");
11
+ const { run: exportDashboard, status } = useDashboardCommandProcessing({
12
+ commandCreator: exportDashboardToPptPresentation,
13
+ successEvent: "GDC.DASH/EVT.EXPORT.PPT_PRESENTATION.RESOLVED",
14
+ errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
15
+ onBeforeRun: () => {
16
+ lastExportMessageId.current = addProgress(messages.messagesExportResultStart,
17
+ // make sure the message stays there until removed by either success or error
18
+ { duration: 0 });
19
+ },
20
+ onSuccess: (event) => {
21
+ if (lastExportMessageId.current) {
22
+ removeMessage(lastExportMessageId.current);
23
+ }
24
+ addSuccess(messages.messagesExportResultSuccess);
25
+ downloadFile(event.payload.result);
26
+ },
27
+ onError: (error) => {
28
+ if (lastExportMessageId.current) {
29
+ removeMessage(lastExportMessageId.current);
30
+ }
31
+ if (isProtectedDataError(error)) {
32
+ addError(messages.messagesExportResultRestrictedError);
33
+ }
34
+ else {
35
+ addError(messages.messagesExportResultError);
36
+ }
37
+ },
38
+ });
39
+ return {
40
+ exportDashboardToPptPresentation: exportDashboard,
41
+ exportDashboardToPptPresentationStatus: status,
42
+ };
43
+ };
44
+ //# sourceMappingURL=useExportDashboardToPowerPointPresentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExportDashboardToPowerPointPresentation.js","sourceRoot":"","sources":["../../../../src/presentation/topBar/menuButton/useExportDashboardToPowerPointPresentation.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gCAAgC,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC1G,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E,MAAM,CAAC,MAAM,0CAA0C,GAAG,GAAG,EAAE;IAC3D,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,GAAG,eAAe,EAAE,CAAC;IAC/E,MAAM,mBAAmB,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,6BAA6B,CAAC;QACnE,cAAc,EAAE,gCAAgC;QAChD,YAAY,EAAE,+CAA+C;QAC7D,UAAU,EAAE,6BAA6B;QACzC,WAAW,EAAE,GAAG,EAAE;YACd,mBAAmB,CAAC,OAAO,GAAG,WAAW,CACrC,QAAQ,CAAC,yBAAyB;YAClC,6EAA6E;YAC7E,EAAE,QAAQ,EAAE,CAAC,EAAE,CAClB,CAAC;QACN,CAAC;QACD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,IAAI,mBAAmB,CAAC,OAAO,EAAE,CAAC;gBAC9B,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YACD,UAAU,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;YACjD,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YACf,IAAI,mBAAmB,CAAC,OAAO,EAAE,CAAC;gBAC9B,aAAa,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/C,CAAC;YAED,IAAI,oBAAoB,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC9B,QAAQ,CAAC,QAAQ,CAAC,mCAAmC,CAAC,CAAC;YAC3D,CAAC;iBAAM,CAAC;gBACJ,QAAQ,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;YACjD,CAAC;QACL,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO;QACH,gCAAgC,EAAE,eAAe;QACjD,sCAAsC,EAAE,MAAM;KACjD,CAAC;AACN,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2021-2022 GoodData Corporation
1
+ // (C) 2021-2025 GoodData Corporation
2
2
  import React from "react";
3
3
  import { BubbleHoverTrigger, Bubble } from "@gooddata/sdk-ui-kit";
4
4
  import { FormattedMessage } from "react-intl";
@@ -14,7 +14,7 @@ export const ShareStatusIndicator = (props) => {
14
14
  return (React.createElement("div", { className: "s-share-status gd-share-status" },
15
15
  React.createElement(BubbleHoverTrigger, null,
16
16
  React.createElement("div", { className: "gd-share-indicator" },
17
- React.createElement("i", { className: "gd-share-icon gd-icon-invisible" }),
17
+ React.createElement("i", { "aria-hidden": "true", className: "gd-share-icon gd-icon-invisible" }),
18
18
  React.createElement(FormattedMessage, { id: "header.shareStatus.private.text" })),
19
19
  React.createElement(Bubble, { alignPoints: [{ align: "bc tl" }], alignTo: `.gd-share-icon` }, tooltip))));
20
20
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ShareStatusIndicator.js","sourceRoot":"","sources":["../../../../../src/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAwB,EAAsB,EAAE;IACjF,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAEpD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,OAAO,GAAG,oBAAoB,CAAC,CAAC,CAAC,CACnC,oBAAC,gBAAgB,IAAC,EAAE,EAAC,2CAA2C,GAAG,CACtE,CAAC,CAAC,CAAC,CACA,oBAAC,gBAAgB,IAAC,EAAE,EAAC,+CAA+C,GAAG,CAC1E,CAAC;IAEF,OAAO,CACH,6BAAK,SAAS,EAAC,gCAAgC;QAC3C,oBAAC,kBAAkB;YACf,6BAAK,SAAS,EAAC,oBAAoB;gBAC/B,2BAAG,SAAS,EAAC,iCAAiC,GAAG;gBACjD,oBAAC,gBAAgB,IAAC,EAAE,EAAC,iCAAiC,GAAG,CACvD;YACN,oBAAC,MAAM,IAAC,WAAW,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,gBAAgB,IAC/D,OAAO,CACH,CACQ,CACnB,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"ShareStatusIndicator.js","sourceRoot":"","sources":["../../../../../src/presentation/topBar/shareIndicators/shareStatus/ShareStatusIndicator.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAwB,EAAsB,EAAE;IACjF,MAAM,EAAE,WAAW,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAEpD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,OAAO,GAAG,oBAAoB,CAAC,CAAC,CAAC,CACnC,oBAAC,gBAAgB,IAAC,EAAE,EAAC,2CAA2C,GAAG,CACtE,CAAC,CAAC,CAAC,CACA,oBAAC,gBAAgB,IAAC,EAAE,EAAC,+CAA+C,GAAG,CAC1E,CAAC;IAEF,OAAO,CACH,6BAAK,SAAS,EAAC,gCAAgC;QAC3C,oBAAC,kBAAkB;YACf,6BAAK,SAAS,EAAC,oBAAoB;gBAC/B,0CAAe,MAAM,EAAC,SAAS,EAAC,iCAAiC,GAAG;gBACpE,oBAAC,gBAAgB,IAAC,EAAE,EAAC,iCAAiC,GAAG,CACvD;YACN,oBAAC,MAAM,IAAC,WAAW,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,gBAAgB,IAC/D,OAAO,CACH,CACQ,CACnB,CACT,CAAC;AACN,CAAC,CAAC"}