@gooddata/sdk-ui-dashboard 10.12.0-alpha.6 → 10.12.0-alpha.8

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 (224) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/{presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts → _staging/automation/index.d.ts} +2 -4
  4. package/esm/_staging/automation/index.d.ts.map +1 -0
  5. package/esm/{presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js → _staging/automation/index.js} +9 -33
  6. package/esm/_staging/automation/index.js.map +1 -0
  7. package/esm/model/commandHandlers/dashboard/common/insightReferences.d.ts.map +1 -1
  8. package/esm/model/commandHandlers/dashboard/common/insightReferences.js +32 -8
  9. package/esm/model/commandHandlers/dashboard/common/insightReferences.js.map +1 -1
  10. package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
  11. package/esm/model/commandHandlers/render/renderingWorker.js +5 -0
  12. package/esm/model/commandHandlers/render/renderingWorker.js.map +1 -1
  13. package/esm/model/react/index.d.ts +8 -1
  14. package/esm/model/react/index.d.ts.map +1 -1
  15. package/esm/model/react/index.js +5 -1
  16. package/esm/model/react/index.js.map +1 -1
  17. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +41 -0
  18. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts.map +1 -0
  19. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js +64 -0
  20. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js.map +1 -0
  21. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts +24 -0
  22. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map +1 -0
  23. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js +35 -0
  24. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js.map +1 -0
  25. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.d.ts +31 -0
  26. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.d.ts.map +1 -0
  27. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.js +85 -0
  28. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsData.js.map +1 -0
  29. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts +20 -0
  30. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.d.ts.map +1 -0
  31. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +76 -0
  32. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js.map +1 -0
  33. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsFilters.d.ts +20 -0
  34. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsFilters.d.ts.map +1 -0
  35. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsFilters.js +17 -0
  36. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsFilters.js.map +1 -0
  37. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts +21 -0
  38. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts.map +1 -0
  39. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js +72 -0
  40. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js.map +1 -0
  41. package/esm/model/react/useDasboardScheduledEmails/useFiltersForDashboardScheduledExport.d.ts +26 -0
  42. package/esm/model/react/useDasboardScheduledEmails/useFiltersForDashboardScheduledExport.d.ts.map +1 -0
  43. package/esm/model/react/useDasboardScheduledEmails/useFiltersForDashboardScheduledExport.js +45 -0
  44. package/esm/model/react/useDasboardScheduledEmails/useFiltersForDashboardScheduledExport.js.map +1 -0
  45. package/esm/model/react/useDasboardScheduledEmails/useFiltersForWidgetScheduledExport.d.ts +35 -0
  46. package/esm/model/react/useDasboardScheduledEmails/useFiltersForWidgetScheduledExport.d.ts.map +1 -0
  47. package/esm/model/react/useDasboardScheduledEmails/useFiltersForWidgetScheduledExport.js +69 -0
  48. package/esm/model/react/useDasboardScheduledEmails/useFiltersForWidgetScheduledExport.js.map +1 -0
  49. package/esm/{presentation/widget/common → model/react}/useWidgetFilters.d.ts +2 -1
  50. package/esm/model/react/useWidgetFilters.d.ts.map +1 -0
  51. package/esm/{presentation/widget/common → model/react}/useWidgetFilters.js +5 -2
  52. package/esm/model/react/useWidgetFilters.js.map +1 -0
  53. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  54. package/esm/model/store/dashboardStore.js +2 -0
  55. package/esm/model/store/dashboardStore.js.map +1 -1
  56. package/esm/model/store/drill/drillSelectors.d.ts +4 -0
  57. package/esm/model/store/drill/drillSelectors.d.ts.map +1 -1
  58. package/esm/model/store/drill/drillSelectors.js +4 -0
  59. package/esm/model/store/drill/drillSelectors.js.map +1 -1
  60. package/esm/model/store/executed/executedReducers.d.ts +9 -0
  61. package/esm/model/store/executed/executedReducers.d.ts.map +1 -0
  62. package/esm/model/store/executed/executedReducers.js +11 -0
  63. package/esm/model/store/executed/executedReducers.js.map +1 -0
  64. package/esm/model/store/executed/executedSelectors.d.ts +11 -0
  65. package/esm/model/store/executed/executedSelectors.d.ts.map +1 -0
  66. package/esm/model/store/executed/executedSelectors.js +12 -0
  67. package/esm/model/store/executed/executedSelectors.js.map +1 -0
  68. package/esm/model/store/executed/executedState.d.ts +8 -0
  69. package/esm/model/store/executed/executedState.d.ts.map +1 -0
  70. package/esm/model/store/executed/executedState.js +3 -0
  71. package/esm/model/store/executed/executedState.js.map +1 -0
  72. package/esm/model/store/executed/index.d.ts +6 -0
  73. package/esm/model/store/executed/index.d.ts.map +1 -0
  74. package/esm/model/store/executed/index.js +12 -0
  75. package/esm/model/store/executed/index.js.map +1 -0
  76. package/esm/model/store/index.d.ts +3 -1
  77. package/esm/model/store/index.d.ts.map +1 -1
  78. package/esm/model/store/index.js +2 -1
  79. package/esm/model/store/index.js.map +1 -1
  80. package/esm/model/store/types.d.ts +2 -0
  81. package/esm/model/store/types.d.ts.map +1 -1
  82. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.d.ts.map +1 -1
  83. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +19 -4
  84. package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js.map +1 -1
  85. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
  86. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +1 -2
  87. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js.map +1 -1
  88. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts +1 -1
  89. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts.map +1 -1
  90. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js +2 -2
  91. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js.map +1 -1
  92. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +1 -1
  93. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  94. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +67 -81
  95. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  96. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts +1 -1
  97. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +1 -1
  98. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -1
  99. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts +1 -1
  100. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts.map +1 -1
  101. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +14 -0
  102. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -0
  103. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +46 -0
  104. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -0
  105. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +16 -0
  106. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -0
  107. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +31 -0
  108. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js.map +1 -0
  109. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +1 -1
  110. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js.map +1 -1
  111. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +30 -9
  112. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  113. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +90 -63
  114. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  115. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +23 -0
  116. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +1 -0
  117. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +30 -0
  118. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js.map +1 -0
  119. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +1 -1
  120. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +1 -1
  121. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +1 -1
  122. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js.map +1 -1
  123. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
  124. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +2 -2
  125. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
  126. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +3 -3
  127. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +1 -1
  128. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +3 -3
  129. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
  130. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts +3 -3
  131. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.d.ts.map +1 -1
  132. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.js +2 -2
  133. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmailsList.js.map +1 -1
  134. package/esm/presentation/scheduledEmail/index.d.ts +1 -1
  135. package/esm/presentation/scheduledEmail/index.d.ts.map +1 -1
  136. package/esm/presentation/scheduledEmail/types.d.ts +71 -44
  137. package/esm/presentation/scheduledEmail/types.d.ts.map +1 -1
  138. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
  139. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +1 -1
  140. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
  141. package/esm/presentation/widget/common/index.d.ts +0 -1
  142. package/esm/presentation/widget/common/index.d.ts.map +1 -1
  143. package/esm/presentation/widget/common/index.js +1 -2
  144. package/esm/presentation/widget/common/index.js.map +1 -1
  145. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.d.ts.map +1 -1
  146. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.js +2 -2
  147. package/esm/presentation/widget/common/useCustomWidgetExecutionDataView.js.map +1 -1
  148. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.d.ts.map +1 -1
  149. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.js +2 -2
  150. package/esm/presentation/widget/common/useCustomWidgetInsightDataView.js.map +1 -1
  151. package/esm/presentation/widget/common/useInsightWidgetDataView.d.ts.map +1 -1
  152. package/esm/presentation/widget/common/useInsightWidgetDataView.js +2 -3
  153. package/esm/presentation/widget/common/useInsightWidgetDataView.js.map +1 -1
  154. package/esm/presentation/widget/index.d.ts +1 -1
  155. package/esm/presentation/widget/index.d.ts.map +1 -1
  156. package/esm/presentation/widget/index.js +1 -1
  157. package/esm/presentation/widget/index.js.map +1 -1
  158. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
  159. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +1 -2
  160. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
  161. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.d.ts.map +1 -1
  162. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js +2 -3
  163. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogInsight.js.map +1 -1
  164. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
  165. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +7 -8
  166. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
  167. package/esm/presentation/widget/kpi/common/useKpiData.d.ts.map +1 -1
  168. package/esm/presentation/widget/kpi/common/useKpiData.js +2 -3
  169. package/esm/presentation/widget/kpi/common/useKpiData.js.map +1 -1
  170. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts +16 -0
  171. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts.map +1 -0
  172. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.js +26 -0
  173. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.js.map +1 -0
  174. package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js +4 -4
  175. package/esm/presentation/widget/visualizationSwitcher/EditModeDashboardVisualizationSwitcher.js.map +1 -1
  176. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts +8 -0
  177. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
  178. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +99 -3
  179. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
  180. package/esm/presentation/widget/visualizationSwitcher/useExecutionProgress.d.ts +4 -0
  181. package/esm/presentation/widget/visualizationSwitcher/useExecutionProgress.d.ts.map +1 -0
  182. package/esm/presentation/widget/visualizationSwitcher/useExecutionProgress.js +60 -0
  183. package/esm/presentation/widget/visualizationSwitcher/useExecutionProgress.js.map +1 -0
  184. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
  185. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +8 -40
  186. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  187. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts +17 -0
  188. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.d.ts.map +1 -0
  189. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js +52 -0
  190. package/esm/presentation/widget/widget/InsightWidget/useAlertingAndScheduling.js.map +1 -0
  191. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts +12 -0
  192. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -0
  193. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +53 -0
  194. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js.map +1 -0
  195. package/esm/sdk-ui-dashboard.d.ts +188 -65
  196. package/package.json +15 -15
  197. package/styles/css/insightConfiguration.css +1 -0
  198. package/styles/css/insightConfiguration.css.map +1 -1
  199. package/styles/css/main.css +76 -5
  200. package/styles/css/main.css.map +1 -1
  201. package/styles/css/visualizationSwitcherHeader.css +59 -0
  202. package/styles/css/visualizationSwitcherHeader.css.map +1 -0
  203. package/styles/css/visualizationSwitcherWidget.css +22 -5
  204. package/styles/css/visualizationSwitcherWidget.css.map +1 -1
  205. package/styles/scss/insightConfiguration.scss +2 -1
  206. package/styles/scss/main.scss +1 -0
  207. package/styles/scss/visualizationSwitcherHeader.scss +61 -0
  208. package/styles/scss/visualizationSwitcherWidget.scss +24 -5
  209. package/esm/model/react/useDashboardScheduledEmails.d.ts +0 -44
  210. package/esm/model/react/useDashboardScheduledEmails.d.ts.map +0 -1
  211. package/esm/model/react/useDashboardScheduledEmails.js +0 -194
  212. package/esm/model/react/useDashboardScheduledEmails.js.map +0 -1
  213. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.d.ts +0 -18
  214. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.d.ts.map +0 -1
  215. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js +0 -66
  216. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js.map +0 -1
  217. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts +0 -43
  218. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts.map +0 -1
  219. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js +0 -82
  220. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js.map +0 -1
  221. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts.map +0 -1
  222. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js.map +0 -1
  223. package/esm/presentation/widget/common/useWidgetFilters.d.ts.map +0 -1
  224. package/esm/presentation/widget/common/useWidgetFilters.js.map +0 -1
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { IInsightWidget, IVisualizationSwitcherWidget } from "@gooddata/sdk-model";
3
+ interface IVisualizationSwitcherNavigationHeaderProps {
4
+ clientWidth: number | undefined;
5
+ clientHeight: number | undefined;
6
+ activeVisualization: IInsightWidget;
7
+ widget: IVisualizationSwitcherWidget;
8
+ onActiveVisualizationChange: (visualizationId: string) => void;
9
+ }
10
+ export declare const VisualizationSwitcherNavigationHeader: React.FC<IVisualizationSwitcherNavigationHeaderProps>;
11
+ export {};
12
+ //# sourceMappingURL=VisualizationSwitcherNavigationHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisualizationSwitcherNavigationHeader.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,4BAA4B,EAA6B,MAAM,qBAAqB,CAAC;AAQ9G,UAAU,2CAA2C;IACjD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,mBAAmB,EAAE,cAAc,CAAC;IACpC,MAAM,EAAE,4BAA4B,CAAC;IACrC,2BAA2B,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;CAClE;AAaD,eAAO,MAAM,qCAAqC,EAAE,KAAK,CAAC,EAAE,CAAC,2CAA2C,CAkEvG,CAAC"}
@@ -0,0 +1,53 @@
1
+ // (C) 2020-2024 GoodData Corporation
2
+ import React, { useCallback } from "react";
3
+ import { objRefToString, widgetRef } from "@gooddata/sdk-model";
4
+ import { DashboardItemHeadlineContainer } from "../../../presentationComponents/index.js";
5
+ import { ItemsWrapper, Overlay, ShortenedText } from "@gooddata/sdk-ui-kit";
6
+ import cx from "classnames";
7
+ import { stringUtils } from "@gooddata/util";
8
+ const alignPoints = [
9
+ {
10
+ align: "bc tc",
11
+ offset: { x: 0, y: 9 },
12
+ },
13
+ {
14
+ align: "tc bc",
15
+ offset: { x: 0, y: -9 },
16
+ },
17
+ ];
18
+ export const VisualizationSwitcherNavigationHeader = ({ widget, clientWidth, clientHeight, activeVisualization, onActiveVisualizationChange, }) => {
19
+ const [isOpen, setIsOpen] = React.useState(false);
20
+ const widgetRefAsString = objRefToString(widgetRef(widget));
21
+ const alignTo = `gd-visualization-switcher-widget-header-${stringUtils.simplifyText(widgetRefAsString)}`;
22
+ const toggleDropdown = () => {
23
+ setIsOpen(!isOpen);
24
+ };
25
+ const onSelect = useCallback((item) => {
26
+ onActiveVisualizationChange(item.identifier);
27
+ setIsOpen(false);
28
+ }, [onActiveVisualizationChange]);
29
+ return (React.createElement(DashboardItemHeadlineContainer, { clientHeight: clientHeight },
30
+ React.createElement(VisualizationSwitcherNavigationHeaderButton, { className: alignTo, title: activeVisualization.title, isOpen: isOpen, toggleDropdown: toggleDropdown }),
31
+ isOpen ? (React.createElement(Overlay, { key: "VisualizationSwitcherNavigationHeader", alignTo: `.${alignTo}`, alignPoints: alignPoints, className: "s-visualization-switcher-widget-header", closeOnMouseDrag: true, closeOnOutsideClick: true, closeOnParentScroll: true, onClose: toggleDropdown },
32
+ React.createElement(ItemsWrapper, { className: "gd-visualization-switcher-widget-header-list" },
33
+ React.createElement("div", { className: "gd-visualization-switcher-widget-header-list-container" }, widget.visualizations.map((visualization) => {
34
+ return (React.createElement(VisualizationSwitcherNavigationHeaderItem, { key: visualization.identifier, onSelect: onSelect, item: visualization, isSelected: visualization.identifier === activeVisualization.identifier, maxWidth: clientWidth ?? 200 }));
35
+ }))))) : null));
36
+ };
37
+ const VisualizationSwitcherNavigationHeaderButton = ({ isOpen, toggleDropdown, title, className }) => {
38
+ const classNames = cx("gd-visualization-switcher-widget-header", className, {
39
+ "is-open": isOpen,
40
+ });
41
+ return (React.createElement("div", { className: classNames, onClick: toggleDropdown }, title));
42
+ };
43
+ const VisualizationSwitcherNavigationHeaderItem = ({ item, isSelected, onSelect, maxWidth, }) => {
44
+ const classNames = cx("gd-visualization-switcher-widget-header-item", "gd-list-item", {
45
+ "is-selected": isSelected,
46
+ });
47
+ return (React.createElement("div", { className: classNames, onClick: () => {
48
+ onSelect(item);
49
+ } },
50
+ React.createElement("div", { className: "gd-visualization-switcher-widget-header-item-content", style: { maxWidth } },
51
+ React.createElement(ShortenedText, { className: "title" }, item.title))));
52
+ };
53
+ //# sourceMappingURL=VisualizationSwitcherNavigationHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisualizationSwitcherNavigationHeader.js","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.tsx"],"names":[],"mappings":"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"}
@@ -128,6 +128,7 @@ import { DrillState as DrillState_2 } from './drillState.js';
128
128
  import { EntityId } from '@reduxjs/toolkit';
129
129
  import { EntityState } from '@reduxjs/toolkit';
130
130
  import { ExplicitDrill } from '@gooddata/sdk-ui';
131
+ import { ExtendedDashboardWidget as ExtendedDashboardWidget_2 } from '../../index.js';
131
132
  import { FilterContextItem } from '@gooddata/sdk-model';
132
133
  import { FilterViewDialogMode as FilterViewDialogMode_2 } from './uiState.js';
133
134
  import { GoodDataSdkError } from '@gooddata/sdk-ui';
@@ -239,7 +240,6 @@ import { IRenderListItemProps } from '@gooddata/sdk-ui-kit';
239
240
  import { IResultWarning } from '@gooddata/sdk-model';
240
241
  import { IRichTextWidget } from '@gooddata/sdk-model';
241
242
  import { IScheduleEmailContext as IScheduleEmailContext_2 } from '../../../types.js';
242
- import { IScheduleEmailDialogContext as IScheduleEmailDialogContext_2 } from '../../types.js';
243
243
  import { ISeparators } from '@gooddata/sdk-model';
244
244
  import { ISettings } from '@gooddata/sdk-model';
245
245
  import { IShareDialogInteractionData } from '@gooddata/sdk-ui-kit';
@@ -289,14 +289,13 @@ import { Selector } from '@reduxjs/toolkit';
289
289
  import { SetCatalogItemsPayload } from './catalogReducers.js';
290
290
  import { SetCatalogMeasuresAndFactsPayload } from './catalogReducers.js';
291
291
  import { ShareStatus } from '@gooddata/sdk-model';
292
- import { Smtps as Smtps_2 } from '../index.js';
293
292
  import { TypedUseSelectorHook } from 'react-redux';
294
293
  import { UiState as UiState_2 } from './uiState.js';
295
294
  import { Uri } from '@gooddata/sdk-model';
296
295
  import { UriRef } from '@gooddata/sdk-model';
297
296
  import { UseCancelablePromiseCallbacks } from '@gooddata/sdk-ui';
298
297
  import { UseCancelablePromiseState } from '@gooddata/sdk-ui';
299
- import { Users as Users_2 } from '../index.js';
298
+ import { Users as Users_2 } from '../../index.js';
300
299
  import { VisualizationProperties } from '@gooddata/sdk-model';
301
300
  import { Webhooks as Webhooks_2 } from '../index.js';
302
301
  import { WeekStart } from '@gooddata/sdk-model';
@@ -5430,6 +5429,7 @@ export declare interface DashboardState {
5430
5429
  /** @beta */
5431
5430
  loading: LoadingState;
5432
5431
  saving: SavingState;
5432
+ executed: ExecutedState;
5433
5433
  backendCapabilities: BackendCapabilitiesState;
5434
5434
  config: ConfigState;
5435
5435
  /** @beta */
@@ -6932,6 +6932,13 @@ export declare interface EntitlementsState {
6932
6932
  entitlements?: ResolvedEntitlements;
6933
6933
  }
6934
6934
 
6935
+ /**
6936
+ * @beta
6937
+ */
6938
+ export declare interface ExecutedState {
6939
+ executed: boolean;
6940
+ }
6941
+
6935
6942
  /**
6936
6943
  * @internal
6937
6944
  */
@@ -10506,6 +10513,11 @@ export declare function initializeDashboardWithPersistedDashboard(config?: Dashb
10506
10513
  */
10507
10514
  export declare const InitialLoadCorrelationId = "initialLoad";
10508
10515
 
10516
+ /**
10517
+ * @alpha
10518
+ */
10519
+ export declare type INotificationChannel = IWebhookDefinitionObject | ISmtpDefinitionObject;
10520
+
10509
10521
  /**
10510
10522
  * @internal
10511
10523
  */
@@ -10887,9 +10899,58 @@ export declare interface IScheduledEmailDialogProps {
10887
10899
  */
10888
10900
  isVisible?: boolean;
10889
10901
  /**
10890
- * Context for the scheduled e-mail dialog.
10902
+ * In case, we are not creating new schedule, but editing existing one, this is the active schedule to be edited.
10891
10903
  */
10892
- context?: IScheduledEmailDialogPropsContext;
10904
+ scheduledExportToEdit?: IAutomationMetadataObject;
10905
+ /**
10906
+ * Users in workspace
10907
+ */
10908
+ users: IWorkspaceUser[];
10909
+ /**
10910
+ * Notification channels in organization
10911
+ */
10912
+ notificationChannels: INotificationChannel[];
10913
+ /**
10914
+ * Widget to be used for scheduled email.
10915
+ *
10916
+ * Note: this is available only when scheduling export for widget, not dashboard.
10917
+ */
10918
+ widget?: ExtendedDashboardWidget;
10919
+ /**
10920
+ * Insight to be used for scheduled email.
10921
+ *
10922
+ * Note: this is available only when scheduling export for widget, not dashboard.
10923
+ */
10924
+ insight?: IInsight;
10925
+ /**
10926
+ * Dashboard filters to be used for scheduled email.
10927
+ *
10928
+ * Note:
10929
+ * - Provided filters exclude cross-filtering filters, as these are typically not desired in exported reports.
10930
+ *
10931
+ * - If the current dashboard filters (excluding cross-filtering) match the saved dashboard filters, this will be undefined.
10932
+ * In such cases, the scheduled export will use the most recent saved dashboard filters, guaranteeing that
10933
+ * the export reflects the latest intended filter configuration and we don't want to save them.
10934
+ *
10935
+ * - If we are editing an existing scheduled export, this will contain its filters, as changing saved filters is currently not allowed.
10936
+ */
10937
+ dashboardFilters?: FilterContextItem[];
10938
+ /**
10939
+ * Widget filters to be used for scheduled email.
10940
+ *
10941
+ * Note:
10942
+ * - Provided filters are a combination of insight and dashboard filters, following these rules:
10943
+ * - Cross-filtering filters are excluded as they are typically not desired in the scheduled export.
10944
+ * - The widget's ignored filters configuration is honored (ignored filters are not overridden by dashboard filters and remain as is).
10945
+ * - If the resulting filters include all-time date filter, it is excluded as it has no effect on the scheduled export execution.
10946
+ *
10947
+ * - If we are editing an existing scheduled export, this will contain its filters, as changing saved filters is currently not allowed.
10948
+ */
10949
+ widgetFilters?: IFilter[];
10950
+ /**
10951
+ * Is scheduled email dialog loading initial data, before it can be rendered?
10952
+ */
10953
+ isLoading?: boolean;
10893
10954
  /**
10894
10955
  * Callback to be called, when user submits the scheduled email dialog.
10895
10956
  */
@@ -10926,26 +10987,6 @@ export declare interface IScheduledEmailDialogProps {
10926
10987
  * Callback to be called, when schedule fails to delete.
10927
10988
  */
10928
10989
  onDeleteError?: (error: GoodDataSdkError) => void;
10929
- /**
10930
- * Schedule to be edited in the dialog.
10931
- */
10932
- editSchedule?: IAutomationMetadataObject;
10933
- /**
10934
- * Users in workspace
10935
- */
10936
- users: IWorkspaceUser[];
10937
- /**
10938
- * Webhooks in organization
10939
- */
10940
- webhooks: IWebhookDefinitionObject[];
10941
- /**
10942
- * Emails in organization
10943
- */
10944
- emails: ISmtpDefinitionObject[];
10945
- /**
10946
- * Automations in workspace
10947
- */
10948
- automations: IAutomationMetadataObject[];
10949
10990
  }
10950
10991
 
10951
10992
  /**
@@ -10956,6 +10997,7 @@ export declare interface IScheduledEmailDialogPropsContext {
10956
10997
  }
10957
10998
 
10958
10999
  /**
11000
+ *
10959
11001
  * @alpha
10960
11002
  */
10961
11003
  export declare interface IScheduledEmailManagementDialogProps {
@@ -10963,22 +11005,6 @@ export declare interface IScheduledEmailManagementDialogProps {
10963
11005
  * Is scheduled email management dialog visible?
10964
11006
  */
10965
11007
  isVisible?: boolean;
10966
- /**
10967
- * Context for the scheduled e-mail dialog.
10968
- */
10969
- context?: IScheduledEmailDialogPropsContext;
10970
- /**
10971
- * Callback to be called, when user adds new scheduled email item.
10972
- */
10973
- onAdd?: () => void;
10974
- /**
10975
- * Callback to be called, when user clicks scheduled email item for editing.
10976
- */
10977
- onEdit?: (scheduledMail: IAutomationMetadataObject) => void;
10978
- /**
10979
- * Callback to be called, when user closes the scheduled email management dialog.
10980
- */
10981
- onClose?: () => void;
10982
11008
  /**
10983
11009
  * Is loading schedule data?
10984
11010
  */
@@ -10988,17 +11014,25 @@ export declare interface IScheduledEmailManagementDialogProps {
10988
11014
  */
10989
11015
  scheduleDataError?: GoodDataSdkError;
10990
11016
  /**
10991
- * Webhooks in organization
10992
- */
10993
- webhooks: IWebhookDefinitionObject[];
10994
- /**
10995
- * Emails in organization
11017
+ * Notification channels in organization
10996
11018
  */
10997
- emails: ISmtpDefinitionObject[];
11019
+ notificationChannels: INotificationChannel[];
10998
11020
  /**
10999
11021
  * Automations in workspace
11000
11022
  */
11001
11023
  automations: IAutomationMetadataObject[];
11024
+ /**
11025
+ * Callback to be called, when user adds new scheduled email item.
11026
+ */
11027
+ onAdd?: () => void;
11028
+ /**
11029
+ * Callback to be called, when user clicks scheduled email item for editing.
11030
+ */
11031
+ onEdit?: (scheduledMail: IAutomationMetadataObject) => void;
11032
+ /**
11033
+ * Callback to be called, when user closes the scheduled email management dialog.
11034
+ */
11035
+ onClose?: () => void;
11002
11036
  /**
11003
11037
  * Callback to be called, when scheduled email is deleted.
11004
11038
  */
@@ -12296,6 +12330,43 @@ export declare interface IUseCustomWidgetInsightDataViewConfig {
12296
12330
  insight?: IInsightDefinition | ObjRef;
12297
12331
  }
12298
12332
 
12333
+ /**
12334
+ * @alpha
12335
+ */
12336
+ export declare interface IUseDashboardScheduledEmailsFiltersProps {
12337
+ scheduledExportToEdit?: IAutomationMetadataObject;
12338
+ widget?: ExtendedDashboardWidget;
12339
+ insight?: IInsight;
12340
+ }
12341
+
12342
+ /**
12343
+ * @alpha
12344
+ */
12345
+ export declare interface IUseFiltersForDashboardScheduledExportProps {
12346
+ /**
12347
+ * Optionally provide metadata object to get filters from instead of the current dashboard filters.
12348
+ */
12349
+ scheduledExportToEdit?: IAutomationMetadataObject;
12350
+ }
12351
+
12352
+ /**
12353
+ * @alpha
12354
+ */
12355
+ export declare interface IUseFiltersForWidgetScheduledExportProps {
12356
+ /**
12357
+ * Optionally provide metadata object to get filters from instead of the current widget filters.
12358
+ */
12359
+ scheduledExportToEdit?: IAutomationMetadataObjectDefinition;
12360
+ /**
12361
+ * Widget to get filters for.
12362
+ */
12363
+ widget?: ExtendedDashboardWidget;
12364
+ /**
12365
+ * Insight to get filters for.
12366
+ */
12367
+ insight?: IInsightDefinition;
12368
+ }
12369
+
12299
12370
  /**
12300
12371
  * Configuration for the `useInsightWidgetDataView` hook.
12301
12372
  *
@@ -16649,6 +16720,11 @@ export declare const selectIsCancelEditModeDialogOpen: DashboardSelector<boolean
16649
16720
  */
16650
16721
  export declare const selectIsCircularDependency: (currentFilterLocalId: string, neighborFilterLocalId: string) => DashboardSelector<boolean>;
16651
16722
 
16723
+ /**
16724
+ * @beta
16725
+ */
16726
+ export declare const selectIsCrossFiltering: DashboardSelector<boolean>;
16727
+
16652
16728
  /**
16653
16729
  * Selects a boolean indication if he dashboard has any changes compared to the persisted version (if any)
16654
16730
  *
@@ -16656,6 +16732,11 @@ export declare const selectIsCircularDependency: (currentFilterLocalId: string,
16656
16732
  */
16657
16733
  export declare const selectIsDashboardDirty: DashboardSelector<boolean>;
16658
16734
 
16735
+ /**
16736
+ * @internal
16737
+ */
16738
+ export declare const selectIsDashboardExecuted: DashboardSelector<boolean>;
16739
+
16659
16740
  /**
16660
16741
  * @internal
16661
16742
  */
@@ -18988,38 +19069,49 @@ export declare type UseDashboardQueryProcessingResult<TQueryCreatorArgs extends
18988
19069
  * @alpha
18989
19070
  */
18990
19071
  export declare const useDashboardScheduledEmails: () => {
18991
- webhooks: Webhooks_2;
18992
- emails: Smtps_2;
19072
+ scheduledExportToEdit: IAutomationMetadataObject | undefined;
18993
19073
  users: Users_2;
19074
+ notificationChannels: (IWebhookDefinitionObject | ISmtpDefinitionObject)[];
18994
19075
  automations: IAutomationMetadataObject[];
18995
19076
  automationsCount: number;
18996
- schedulingLoadError: GoodDataSdkError | undefined;
18997
19077
  numberOfAvailableDestinations: number;
18998
- isScheduleLoading: boolean;
19078
+ widget: ExtendedDashboardWidget_2 | undefined;
19079
+ insight: IInsight | undefined;
19080
+ automationsLoading: boolean;
19081
+ automationsError: GoodDataSdkError | undefined;
19082
+ webhooksLoading: boolean;
19083
+ webhooksError: GoodDataSdkError | undefined;
18999
19084
  isScheduledEmailingVisible: boolean;
19000
- isScheduledManagementEmailingVisible: boolean;
19001
- defaultOnScheduleEmailing: (widget?: IWidget) => void;
19002
- defaultOnScheduleEmailingManagement: (widget?: IWidget) => void;
19003
19085
  isScheduleEmailingDialogOpen: boolean;
19004
- isScheduleEmailingManagementDialogOpen: boolean;
19005
- scheduleEmailingDialogContext: IScheduleEmailDialogContext_2;
19006
- scheduleEmailingManagementDialogContext: IScheduleEmailDialogContext_2;
19007
- onScheduleEmailingOpen: (widget?: IWidget) => void;
19008
- onScheduleEmailingManagementOpen: (widget?: IWidget) => void;
19009
- onScheduleEmailingManagementEdit: (schedule: IAutomationMetadataObject, widget?: IWidget) => void;
19010
- scheduledEmailToEdit: IAutomationMetadataObject | undefined;
19011
- onScheduleEmailingCancel: (widget?: IWidget) => void;
19086
+ defaultOnScheduleEmailing: (widget?: IWidget | undefined) => void;
19087
+ onScheduleEmailingOpen: (widget?: IWidget | undefined) => void;
19088
+ onScheduleEmailingCancel: (widget?: IWidget | undefined) => void;
19012
19089
  onScheduleEmailingCreateError: () => void;
19013
- onScheduleEmailingCreateSuccess: (widget?: IWidget) => void;
19090
+ onScheduleEmailingCreateSuccess: (widget?: IWidget | undefined) => void;
19014
19091
  onScheduleEmailingSaveError: () => void;
19015
- onScheduleEmailingSaveSuccess: (widget?: IWidget) => void;
19016
- onScheduleEmailingManagementAdd: (widget?: IWidget) => void;
19092
+ onScheduleEmailingSaveSuccess: (widget?: IWidget | undefined) => void;
19093
+ isScheduledManagementEmailingVisible: boolean;
19094
+ isScheduleEmailingManagementDialogOpen: boolean;
19095
+ defaultOnScheduleEmailingManagement: (widget?: IWidget | undefined) => void;
19096
+ onScheduleEmailingManagementOpen: (widget?: IWidget | undefined) => void;
19097
+ onScheduleEmailingManagementEdit: (schedule: IAutomationMetadataObject, widget?: IWidget | undefined) => void;
19098
+ onScheduleEmailingManagementAdd: (widget?: IWidget | undefined) => void;
19017
19099
  onScheduleEmailingManagementClose: () => void;
19018
19100
  onScheduleEmailingManagementLoadingError: () => void;
19019
19101
  onScheduleEmailingManagementDeleteSuccess: () => void;
19020
19102
  onScheduleEmailingManagementDeleteError: () => void;
19021
19103
  };
19022
19104
 
19105
+ /**
19106
+ * @alpha
19107
+ */
19108
+ export declare const useDashboardScheduledEmailsFilters: ({ scheduledExportToEdit, widget, insight, }: IUseDashboardScheduledEmailsFiltersProps) => {
19109
+ widgetFilters: IFilter[] | undefined;
19110
+ widgetFiltersLoading: boolean;
19111
+ widgetFiltersError: GoodDataSdkError | undefined;
19112
+ dashboardFilters: FilterContextItem[] | undefined;
19113
+ };
19114
+
19023
19115
  /**
19024
19116
  * Hook for retrieving data from the dashboard state.
19025
19117
  *
@@ -19219,6 +19311,37 @@ export declare function useEditButtonProps(): IEditButtonProps;
19219
19311
  */
19220
19312
  export declare const useFilterBarProps: () => IFilterBarProps;
19221
19313
 
19314
+ /**
19315
+ * Hook for getting filters for dashboard scheduled export.
19316
+ *
19317
+ * Note:
19318
+ * - This function excludes cross-filtering filters, as these are typically not desired in exported reports.
19319
+ *
19320
+ * - If the current dashboard filters (excluding cross-filtering) match the saved dashboard filters, this hook returns undefined.
19321
+ * In such cases, the scheduled export will use the most recent saved dashboard filters, guaranteeing that
19322
+ * the export reflects the latest intended filter configuration.
19323
+ *
19324
+ * - If we are editing an existing scheduled export, this function will return its filters, as changing saved filters is currently not allowed.
19325
+ *
19326
+ * @alpha
19327
+ */
19328
+ export declare const useFiltersForDashboardScheduledExport: ({ scheduledExportToEdit, }: IUseFiltersForDashboardScheduledExportProps) => FilterContextItem[] | undefined;
19329
+
19330
+ /**
19331
+ * Hook for getting filters for widget scheduled export.
19332
+ *
19333
+ * Note:
19334
+ * - The resulting filters are a combination of insight and dashboard filters, following these rules:
19335
+ * - Cross-filtering filters are excluded as they are typically not desired in the scheduled export.
19336
+ * - The widget's ignored filters configuration is honored (ignored filters are not overridden by dashboard filters and remain as is).
19337
+ * - If the resulting filters include all-time date filter, it is excluded as it has no effect on the scheduled export execution.
19338
+ *
19339
+ * - If we are editing an existing scheduled export, this function will return its filters, as changing saved filters is currently not allowed.
19340
+ *
19341
+ * @alpha
19342
+ */
19343
+ export declare function useFiltersForWidgetScheduledExport({ scheduledExportToEdit, widget, insight, }: IUseFiltersForWidgetScheduledExportProps): QueryProcessingState<IFilter[]>;
19344
+
19222
19345
  /**
19223
19346
  * This hook provides an easy way to read a data view from insight widget.
19224
19347
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "10.12.0-alpha.6",
3
+ "version": "10.12.0-alpha.8",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,17 +57,17 @@
57
57
  "ts-invariant": "^0.7.5",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2",
60
- "@gooddata/sdk-backend-base": "10.12.0-alpha.6",
61
- "@gooddata/sdk-backend-spi": "10.12.0-alpha.6",
62
- "@gooddata/sdk-model": "10.12.0-alpha.6",
63
- "@gooddata/sdk-ui-ext": "10.12.0-alpha.6",
64
- "@gooddata/sdk-ui": "10.12.0-alpha.6",
65
- "@gooddata/sdk-ui-filters": "10.12.0-alpha.6",
66
- "@gooddata/sdk-ui-kit": "10.12.0-alpha.6",
67
- "@gooddata/sdk-ui-geo": "10.12.0-alpha.6",
68
- "@gooddata/sdk-ui-theme-provider": "10.12.0-alpha.6",
69
- "@gooddata/sdk-ui-vis-commons": "10.12.0-alpha.6",
70
- "@gooddata/util": "10.12.0-alpha.6"
60
+ "@gooddata/sdk-backend-base": "10.12.0-alpha.8",
61
+ "@gooddata/sdk-backend-spi": "10.12.0-alpha.8",
62
+ "@gooddata/sdk-ui": "10.12.0-alpha.8",
63
+ "@gooddata/sdk-model": "10.12.0-alpha.8",
64
+ "@gooddata/sdk-ui-ext": "10.12.0-alpha.8",
65
+ "@gooddata/sdk-ui-filters": "10.12.0-alpha.8",
66
+ "@gooddata/sdk-ui-geo": "10.12.0-alpha.8",
67
+ "@gooddata/sdk-ui-theme-provider": "10.12.0-alpha.8",
68
+ "@gooddata/sdk-ui-kit": "10.12.0-alpha.8",
69
+ "@gooddata/sdk-ui-vis-commons": "10.12.0-alpha.8",
70
+ "@gooddata/util": "10.12.0-alpha.8"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -120,9 +120,9 @@
120
120
  "typescript": "5.3.3",
121
121
  "vitest": "1.0.4",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/i18n-toolkit": "10.12.0-alpha.6",
124
- "@gooddata/reference-workspace": "10.12.0-alpha.6",
125
- "@gooddata/sdk-backend-mockingbird": "10.12.0-alpha.6"
123
+ "@gooddata/i18n-toolkit": "10.12.0-alpha.8",
124
+ "@gooddata/reference-workspace": "10.12.0-alpha.8",
125
+ "@gooddata/sdk-backend-mockingbird": "10.12.0-alpha.8"
126
126
  },
127
127
  "scripts": {
128
128
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
@@ -50,6 +50,7 @@
50
50
  .edit-insight-config .bubble-content .widget-title .insight-title {
51
51
  font: inherit;
52
52
  padding-bottom: 0;
53
+ text-align: left;
53
54
  }
54
55
  .edit-insight-config .bubble-content .widget-title .insight-title .original-insight-title {
55
56
  font: inherit;
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/insightConfiguration.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACjLA;AAAA;AAAA;ACOA;AAAA;EACI;EACA;EACA;EACA;;;AAKI;EACI;EACA;EACA;EACA;EACA;EACA;EACA,OAxBS;;AA2Bb;EACI;EACA;EACA;;AAEA;EAGI;EACA;EACA,OCfA;EDgBA;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAIR;EACI;;AAGJ;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA,OAnEe;;AAuEvB;AAAA;EAII;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI,kBA3GkB;EA4GlB;EACA;;AAEJ;EACI;;AAGA;EACI;EACA;EACA;EACA;EACA,OC/FI;;ADiGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA,OApIiB;EAqIjB;;AAEJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAIJ;EACI;EACA;;AAGR;EACI,kBA3Ja;EA4Jb,OC5GY;;AD8GZ;EACI;;AAIZ;EACI;;;AAIR;EACI;;;AAGJ;EACI;;;AAGJ;EACI,oBC9EoB;;;ADiFxB;EACI,mBClFoB;;;ADqFxB;EACI;;;AAOI;EACI;;AAKJ;EACI;;AAKJ;EACI","file":"insightConfiguration.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../node_modules/@gooddata/sdk-ui-kit/styles/scss/mixins.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/Bubble/_variables.scss","../scss/insightConfiguration.scss","../../node_modules/@gooddata/sdk-ui-kit/styles/scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;ACjLA;AAAA;AAAA;ACOA;AAAA;EACI;EACA;EACA;EACA;;;AAKI;EACI;EACA;EACA;EACA;EACA;EACA;EACA,OAxBS;;AA2Bb;EACI;EACA;EACA;;AAEA;EAGI;EACA;EACA,OCfA;EDgBA;;AAGJ;EACI;;AAGJ;EACI;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAIR;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA,OApEe;;AAwEvB;AAAA;EAII;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI,kBA5GkB;EA6GlB;EACA;;AAEJ;EACI;;AAGA;EACI;EACA;EACA;EACA;EACA,OChGI;;ADkGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA,OArIiB;EAsIjB;;AAEJ;EACI;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;AAIJ;EACI;EACA;;AAGR;EACI,kBA5Ja;EA6Jb,OC7GY;;AD+GZ;EACI;;AAIZ;EACI;;;AAIR;EACI;;;AAGJ;EACI;;;AAGJ;EACI,oBC/EoB;;;ADkFxB;EACI,mBCnFoB;;;ADsFxB;EACI;;;AAOI;EACI;;AAKJ;EACI;;AAKJ;EACI","file":"insightConfiguration.css"}
@@ -22501,6 +22501,7 @@ div.gd-empty-item-bubble {
22501
22501
  .edit-insight-config .bubble-content .widget-title .insight-title {
22502
22502
  font: inherit;
22503
22503
  padding-bottom: 0;
22504
+ text-align: left;
22504
22505
  }
22505
22506
  .edit-insight-config .bubble-content .widget-title .insight-title .original-insight-title {
22506
22507
  font: inherit;
@@ -24337,13 +24338,16 @@ div.gd-empty-item-bubble {
24337
24338
  .gd-visualization-switcher-widget-wrapper {
24338
24339
  width: 100%;
24339
24340
  height: 100%;
24340
- display: flex;
24341
- flex-direction: column;
24342
24341
  overflow-x: hidden;
24343
24342
  overflow-y: auto;
24344
- position: absolute;
24345
- left: 0;
24346
- top: 0;
24343
+ }
24344
+ .gd-visualization-switcher-widget-wrapper .dash-item,
24345
+ .gd-visualization-switcher-widget-wrapper .dash-item-content {
24346
+ padding: 0;
24347
+ position: static;
24348
+ }
24349
+ .gd-visualization-switcher-widget-wrapper .dash-item-content {
24350
+ border-width: 0;
24347
24351
  }
24348
24352
 
24349
24353
  .gd-visualization-switcher-widget-empty-content {
@@ -24355,6 +24359,20 @@ div.gd-empty-item-bubble {
24355
24359
  gap: 8px;
24356
24360
  }
24357
24361
 
24362
+ .gd-visualization-switcher-visible-visualization {
24363
+ width: 100%;
24364
+ height: 100%;
24365
+ }
24366
+ .gd-visualization-switcher-visible-visualization.is-edit-mode {
24367
+ display: flex;
24368
+ }
24369
+
24370
+ .gd-visualization-switcher-hidden-visualization {
24371
+ width: 0;
24372
+ height: 0;
24373
+ overflow: hidden;
24374
+ }
24375
+
24358
24376
  @keyframes react-loading-skeleton {
24359
24377
  100% {
24360
24378
  transform: translateX(100%);
@@ -24822,4 +24840,57 @@ div.gd-empty-item-bubble {
24822
24840
  white-space: nowrap;
24823
24841
  }
24824
24842
 
24843
+ .gd-visualization-switcher-widget-header {
24844
+ text-align: center;
24845
+ font-size: 17px;
24846
+ line-height: 23px;
24847
+ text-decoration-line: underline;
24848
+ }
24849
+ .gd-visualization-switcher-widget-header::after {
24850
+ content: "\e612";
24851
+ display: inline-block;
24852
+ height: 1px;
24853
+ color: var(--gd-palette-complementary-8, #464e56);
24854
+ vertical-align: top;
24855
+ transition: 0.2s;
24856
+ margin-left: 0.5em;
24857
+ font-family: "Indigo", sans-serif;
24858
+ font-weight: normal;
24859
+ font-size: inherit;
24860
+ }
24861
+ .gd-visualization-switcher-widget-header.is-open::after {
24862
+ content: "\e613";
24863
+ }
24864
+
24865
+ .gd-visualization-switcher-widget-header-list {
24866
+ max-height: 356px;
24867
+ overflow-y: auto;
24868
+ padding: 5px 0;
24869
+ }
24870
+ .gd-visualization-switcher-widget-header-list .gd-visualization-switcher-widget-header-list-container {
24871
+ max-height: 346px;
24872
+ overflow-y: auto;
24873
+ }
24874
+
24875
+ .gd-visualization-switcher-widget-header-item {
24876
+ color: var(--gd-palette-complementary-8, #464e56);
24877
+ font-size: 14px;
24878
+ font-weight: 400;
24879
+ line-height: 20px;
24880
+ text-align: left;
24881
+ height: 33px;
24882
+ padding: 0 10px;
24883
+ }
24884
+ .gd-visualization-switcher-widget-header-item .gd-visualization-switcher-widget-header-item-content {
24885
+ white-space: nowrap;
24886
+ }
24887
+ .gd-visualization-switcher-widget-header-item.is-selected {
24888
+ font-weight: 700;
24889
+ }
24890
+ .gd-visualization-switcher-widget-header-item .title {
24891
+ display: inline-block;
24892
+ width: 100%;
24893
+ white-space: nowrap;
24894
+ }
24895
+
24825
24896
  /*# sourceMappingURL=main.css.map */