@gooddata/sdk-ui-dashboard 10.27.0-alpha.5 → 10.27.0-alpha.50

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 (287) hide show
  1. package/NOTICE +720 -41
  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/model/react/useDashboardAlerting/useDashboardAlertsData.d.ts.map +1 -1
  7. package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.js +3 -3
  8. package/esm/model/react/useDashboardAlerting/useDashboardAlertsData.js.map +1 -1
  9. package/esm/model/store/automations/automationsSelectors.js +2 -2
  10. package/esm/model/store/automations/automationsSelectors.js.map +1 -1
  11. package/esm/model/store/config/configSelectors.d.ts +6 -0
  12. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  13. package/esm/model/store/config/configSelectors.js +8 -0
  14. package/esm/model/store/config/configSelectors.js.map +1 -1
  15. package/esm/model/store/index.d.ts +1 -1
  16. package/esm/model/store/index.d.ts.map +1 -1
  17. package/esm/model/store/index.js +1 -1
  18. package/esm/model/store/index.js.map +1 -1
  19. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialogNew.d.ts.map +1 -1
  20. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialogNew.js +24 -19
  21. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialogNew.js.map +1 -1
  22. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts +2 -2
  23. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.d.ts.map +1 -1
  24. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js +34 -36
  25. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonOperatorSelect.js.map +1 -1
  26. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts +1 -1
  27. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.d.ts.map +1 -1
  28. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js +18 -19
  29. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertComparisonPeriodSelect.js.map +1 -1
  30. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts +2 -2
  31. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.d.ts.map +1 -1
  32. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.js +18 -20
  33. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertDestinationSelect.js.map +1 -1
  34. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.d.ts.map +1 -1
  35. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js +13 -14
  36. package/esm/presentation/alerting/DefaultAlertingDialog/components/AlertMeasureSelect.js.map +1 -1
  37. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +1 -1
  38. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js.map +1 -1
  39. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogOld.js +1 -1
  40. package/esm/presentation/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogOld.js.map +1 -1
  41. package/esm/presentation/automationFilters/components/AutomationAttributeFilter.d.ts.map +1 -1
  42. package/esm/presentation/automationFilters/components/AutomationAttributeFilter.js +3 -5
  43. package/esm/presentation/automationFilters/components/AutomationAttributeFilter.js.map +1 -1
  44. package/esm/presentation/automationFilters/components/AutomationDateFilter.d.ts +1 -0
  45. package/esm/presentation/automationFilters/components/AutomationDateFilter.d.ts.map +1 -1
  46. package/esm/presentation/automationFilters/components/AutomationDateFilter.js +2 -3
  47. package/esm/presentation/automationFilters/components/AutomationDateFilter.js.map +1 -1
  48. package/esm/presentation/automationFilters/components/AutomationFiltersSelect.d.ts +16 -1
  49. package/esm/presentation/automationFilters/components/AutomationFiltersSelect.d.ts.map +1 -1
  50. package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js +70 -9
  51. package/esm/presentation/automationFilters/components/AutomationFiltersSelect.js.map +1 -1
  52. package/esm/presentation/automationFilters/useAutomationFilters.d.ts +3 -3
  53. package/esm/presentation/automationFilters/useAutomationFilters.d.ts.map +1 -1
  54. package/esm/presentation/automationFilters/useAutomationFilters.js +8 -2
  55. package/esm/presentation/automationFilters/useAutomationFilters.js.map +1 -1
  56. package/esm/presentation/automationFilters/useAutomationFiltersData.d.ts +1 -0
  57. package/esm/presentation/automationFilters/useAutomationFiltersData.d.ts.map +1 -1
  58. package/esm/presentation/automationFilters/useAutomationFiltersData.js +6 -1
  59. package/esm/presentation/automationFilters/useAutomationFiltersData.js.map +1 -1
  60. package/esm/presentation/automationFilters/utils.d.ts +11 -2
  61. package/esm/presentation/automationFilters/utils.d.ts.map +1 -1
  62. package/esm/presentation/automationFilters/utils.js +26 -8
  63. package/esm/presentation/automationFilters/utils.js.map +1 -1
  64. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts +1 -4
  65. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
  66. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +67 -23
  67. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js.map +1 -1
  68. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
  69. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +64 -8
  70. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js.map +1 -1
  71. package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.d.ts +5 -0
  72. package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.d.ts.map +1 -0
  73. package/esm/presentation/drill/DrillSelect/{DrillSelectListItem.js → DrillSelectDropdownMenuItem.js} +13 -15
  74. package/esm/presentation/drill/DrillSelect/DrillSelectDropdownMenuItem.js.map +1 -0
  75. package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts +20 -0
  76. package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts.map +1 -0
  77. package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js +42 -0
  78. package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js.map +1 -0
  79. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +0 -5
  80. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  81. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  82. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +3 -1
  83. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  84. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts.map +1 -1
  85. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +11 -2
  86. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
  87. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
  88. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +5 -1
  89. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
  90. package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
  91. package/esm/presentation/layout/DashboardLayoutWidget.js +6 -2
  92. package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
  93. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
  94. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +11 -2
  95. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
  96. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
  97. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +5 -1
  98. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
  99. package/esm/presentation/localization/bundles/de-DE.json +45 -10
  100. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +35 -0
  101. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  102. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +45 -10
  103. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js.map +1 -1
  104. package/esm/presentation/localization/bundles/en-AU.json +48 -13
  105. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +35 -0
  106. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  107. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +48 -13
  108. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js.map +1 -1
  109. package/esm/presentation/localization/bundles/en-GB.json +47 -12
  110. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +35 -0
  111. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  112. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +47 -12
  113. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js.map +1 -1
  114. package/esm/presentation/localization/bundles/en-US.json +17 -2
  115. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +16 -1
  116. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  117. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +17 -2
  118. package/esm/presentation/localization/bundles/en-US.localization-bundle.js.map +1 -1
  119. package/esm/presentation/localization/bundles/es-419.json +45 -10
  120. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +35 -0
  121. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  122. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +45 -10
  123. package/esm/presentation/localization/bundles/es-419.localization-bundle.js.map +1 -1
  124. package/esm/presentation/localization/bundles/es-ES.json +45 -10
  125. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +35 -0
  126. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  127. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +45 -10
  128. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js.map +1 -1
  129. package/esm/presentation/localization/bundles/fi-FI.json +45 -10
  130. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +35 -0
  131. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  132. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +45 -10
  133. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js.map +1 -1
  134. package/esm/presentation/localization/bundles/fr-CA.json +45 -10
  135. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +35 -0
  136. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  137. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +45 -10
  138. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js.map +1 -1
  139. package/esm/presentation/localization/bundles/fr-FR.json +45 -10
  140. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +35 -0
  141. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  142. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +45 -10
  143. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js.map +1 -1
  144. package/esm/presentation/localization/bundles/it-IT.json +45 -10
  145. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +35 -0
  146. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  147. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +45 -10
  148. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js.map +1 -1
  149. package/esm/presentation/localization/bundles/ja-JP.json +45 -10
  150. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +35 -0
  151. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  152. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +45 -10
  153. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js.map +1 -1
  154. package/esm/presentation/localization/bundles/nl-NL.json +45 -10
  155. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +35 -0
  156. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  157. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +45 -10
  158. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js.map +1 -1
  159. package/esm/presentation/localization/bundles/pt-BR.json +45 -10
  160. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +35 -0
  161. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  162. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +45 -10
  163. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js.map +1 -1
  164. package/esm/presentation/localization/bundles/pt-PT.json +47 -12
  165. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +35 -0
  166. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  167. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +47 -12
  168. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js.map +1 -1
  169. package/esm/presentation/localization/bundles/ru-RU.json +2 -0
  170. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +2 -0
  171. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  172. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -0
  173. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js.map +1 -1
  174. package/esm/presentation/localization/bundles/zh-HK.json +45 -10
  175. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +35 -0
  176. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  177. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +45 -10
  178. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js.map +1 -1
  179. package/esm/presentation/localization/bundles/zh-Hans.json +46 -11
  180. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +35 -0
  181. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  182. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +46 -11
  183. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js.map +1 -1
  184. package/esm/presentation/localization/bundles/zh-Hant.json +45 -10
  185. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +35 -0
  186. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  187. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +45 -10
  188. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js.map +1 -1
  189. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts +4 -0
  190. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts.map +1 -1
  191. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js +2 -2
  192. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js.map +1 -1
  193. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemVisualization.d.ts.map +1 -1
  194. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemVisualization.js +6 -2
  195. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemVisualization.js.map +1 -1
  196. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  197. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +29 -23
  198. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  199. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
  200. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
  201. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +1 -1
  202. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
  203. package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
  204. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +6 -9
  205. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js.map +1 -1
  206. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.d.ts.map +1 -1
  207. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js +5 -3
  208. package/esm/presentation/topBar/menuButton/DefaultSubmenuHeader.js.map +1 -1
  209. package/esm/presentation/topBar/menuButton/types.d.ts +1 -0
  210. package/esm/presentation/topBar/menuButton/types.d.ts.map +1 -1
  211. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
  212. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +6 -0
  213. package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
  214. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts +2 -1
  215. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.d.ts.map +1 -1
  216. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js +12 -11
  217. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialog.js.map +1 -1
  218. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/{DrillModalFooter.d.ts → DrillDialogExportDropdown.d.ts} +3 -3
  219. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.d.ts.map +1 -0
  220. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.js +59 -0
  221. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillDialogExportDropdown.js.map +1 -0
  222. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts +40 -0
  223. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.d.ts.map +1 -0
  224. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.js +100 -0
  225. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogExportItems.js.map +1 -0
  226. package/esm/sdk-ui-dashboard.d.ts +8 -0
  227. package/package.json +18 -16
  228. package/styles/css/alerting.css +3 -19
  229. package/styles/css/alerting.css.map +1 -1
  230. package/styles/css/attributeFilterConfig.css +4 -1
  231. package/styles/css/attributeFilterConfig.css.map +1 -1
  232. package/styles/css/automationFilters.css +4 -25
  233. package/styles/css/automationFilters.css.map +1 -1
  234. package/styles/css/dashboard.css +14 -2
  235. package/styles/css/dashboard.css.map +1 -1
  236. package/styles/css/dateFilterConfig.css +4 -1
  237. package/styles/css/dateFilterConfig.css.map +1 -1
  238. package/styles/css/drillConfigPanel.css +9 -9
  239. package/styles/css/drillDialog.css +6 -3
  240. package/styles/css/drillDialog.css.map +1 -1
  241. package/styles/css/drillSelect.css +4 -1
  242. package/styles/css/drillSelect.css.map +1 -1
  243. package/styles/css/export.css +22 -0
  244. package/styles/css/export.css.map +1 -1
  245. package/styles/css/main.css +70 -64
  246. package/styles/css/main.css.map +1 -1
  247. package/styles/css/notifications_channels_dialog.css +8 -2
  248. package/styles/css/notifications_channels_dialog.css.map +1 -1
  249. package/styles/css/scheduled_mail_recipients.css +6 -0
  250. package/styles/css/scheduled_mail_recipients.css.map +1 -1
  251. package/styles/css/sharedFilterConfig.css +4 -1
  252. package/styles/css/sharedFilterConfig.css.map +1 -1
  253. package/styles/scss/alerting.scss +3 -28
  254. package/styles/scss/automationFilters.scss +4 -32
  255. package/styles/scss/drillConfigPanel.scss +5 -5
  256. package/styles/scss/drillDialog.scss +2 -1
  257. package/styles/scss/drillSelect.scss +5 -1
  258. package/styles/scss/export.scss +33 -0
  259. package/styles/scss/notifications_channels_dialog.scss +8 -2
  260. package/styles/scss/scheduled_mail_recipients.scss +7 -0
  261. package/styles/scss/sharedFilterConfig.scss +2 -1
  262. package/esm/presentation/automationFilters/AutomationFilters.d.ts +0 -19
  263. package/esm/presentation/automationFilters/AutomationFilters.d.ts.map +0 -1
  264. package/esm/presentation/automationFilters/AutomationFilters.js +0 -73
  265. package/esm/presentation/automationFilters/AutomationFilters.js.map +0 -1
  266. package/esm/presentation/drill/DrillSelect/DrillSelectList.d.ts +0 -9
  267. package/esm/presentation/drill/DrillSelect/DrillSelectList.d.ts.map +0 -1
  268. package/esm/presentation/drill/DrillSelect/DrillSelectList.js +0 -51
  269. package/esm/presentation/drill/DrillSelect/DrillSelectList.js.map +0 -1
  270. package/esm/presentation/drill/DrillSelect/DrillSelectListBody.d.ts +0 -10
  271. package/esm/presentation/drill/DrillSelect/DrillSelectListBody.d.ts.map +0 -1
  272. package/esm/presentation/drill/DrillSelect/DrillSelectListBody.js +0 -13
  273. package/esm/presentation/drill/DrillSelect/DrillSelectListBody.js.map +0 -1
  274. package/esm/presentation/drill/DrillSelect/DrillSelectListItem.d.ts +0 -11
  275. package/esm/presentation/drill/DrillSelect/DrillSelectListItem.d.ts.map +0 -1
  276. package/esm/presentation/drill/DrillSelect/DrillSelectListItem.js.map +0 -1
  277. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.d.ts +0 -12
  278. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.d.ts.map +0 -1
  279. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.js +0 -21
  280. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.js.map +0 -1
  281. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.d.ts.map +0 -1
  282. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js +0 -41
  283. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.js.map +0 -1
  284. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts +0 -15
  285. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.d.ts.map +0 -1
  286. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js +0 -61
  287. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalRawExportOptions.js.map +0 -1
@@ -23,8 +23,11 @@
23
23
  cursor: pointer;
24
24
  }
25
25
  .attribute-filter-dropdown-configuration .configuration-panel-header-title i,
26
+ .attribute-filter-dropdown-configuration .configuration-panel-header i,
26
27
  .date-filter-dropdown-configuration .configuration-panel-header-title i,
27
- .gd-header-menu-overlay .configuration-panel-header-title i {
28
+ .date-filter-dropdown-configuration .configuration-panel-header i,
29
+ .gd-header-menu-overlay .configuration-panel-header-title i,
30
+ .gd-header-menu-overlay .configuration-panel-header i {
28
31
  font-size: 14px;
29
32
  margin-right: 5px;
30
33
  position: relative;
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../scss/sharedFilterConfig.scss"],"names":[],"mappings":"AAKI;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;;AAEJ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EAEA;EAEA;;AAGJ;AAAA;AAAA;EACI;EACA;;AAEA;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;;AAKZ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMR;EACI;EACA","file":"sharedFilterConfig.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../scss/sharedFilterConfig.scss"],"names":[],"mappings":"AAKI;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;;AAEJ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;EAEI;EACA;EACA;EACA;;AAGJ;AAAA;AAAA;EAEI;EAEA;EAEA;;AAGJ;AAAA;AAAA;EACI;EACA;;AAEA;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;;AAKZ;AAAA;AAAA;EACI;;AAGJ;AAAA;AAAA;EACI;EACA;EACA;;AAEA;AAAA;AAAA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAMR;EACI;EACA","file":"sharedFilterConfig.css"}
@@ -149,6 +149,9 @@
149
149
  overflow: auto;
150
150
  flex: 1 1 auto;
151
151
  min-height: 0;
152
+ button {
153
+ margin-bottom: 10px;
154
+ }
152
155
  }
153
156
 
154
157
  .gd-edit-alert__destination-label,
@@ -156,12 +159,7 @@
156
159
  margin-bottom: 5px;
157
160
  }
158
161
 
159
- .gd-edit-alert__measure-label {
160
- margin-bottom: 5px;
161
- }
162
-
163
162
  .gd-edit-alert__measure-info {
164
- margin-top: 10px;
165
163
  margin-bottom: 10px;
166
164
  display: flex;
167
165
  gap: 5px;
@@ -271,14 +269,6 @@
271
269
  }
272
270
  }
273
271
 
274
- //
275
- // Measure, Attribute select
276
- //
277
- .gd-alert-measure-select,
278
- .gd-alert-attribute-select {
279
- margin-bottom: 10px;
280
- }
281
-
282
272
  .gd-alert-measure-select__button,
283
273
  .gd-alert-attribute-select__button {
284
274
  width: 100%;
@@ -379,25 +369,10 @@
379
369
  }
380
370
  }
381
371
 
382
- //
383
- // Comparison operator select
384
- //
385
- .gd-alert-comparison-operator-select {
386
- margin-bottom: 10px;
387
- }
388
-
389
372
  .gd-alert-comparison-operator-select__button {
390
373
  width: 100%;
391
374
  }
392
375
 
393
- //
394
- // Alert destination select
395
- //
396
- .gd-alert-destination-select,
397
- .gd-alert-comparison-select {
398
- margin-bottom: 10px;
399
- }
400
-
401
376
  // TODO: support "invisible" styling of the Button on sdk-ui-kit component level.
402
377
  // For now overload because of clash with other config panel css
403
378
  .gd-button.gd-alert-destination-select__button,
@@ -2,37 +2,14 @@
2
2
 
3
3
  @use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
4
4
 
5
- $item-height: 27px;
6
-
7
5
  .gd-automation-filters {
8
6
  width: 100%;
9
7
 
10
8
  &__list {
11
- max-height: $item-height;
12
- display: inline-block;
13
- overflow: hidden;
14
- width: 100%;
15
-
16
- &--expanded {
17
- max-height: 100%;
18
- }
19
- }
20
-
21
- &__list-item {
22
- display: inline-block;
23
- vertical-align: top;
24
- height: $item-height;
25
- margin-right: 5px;
26
- margin-bottom: 5px;
27
-
28
- > div {
29
- vertical-align: top;
30
- }
31
- }
32
-
33
- &__expansion-button {
34
- float: right;
35
- height: $item-height;
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ gap: 5px;
12
+ align-items: center;
36
13
  }
37
14
 
38
15
  &__message {
@@ -52,11 +29,6 @@ $item-height: 27px;
52
29
  margin-top: 5px;
53
30
  }
54
31
 
55
- &__dropdown {
56
- display: inline-block;
57
- vertical-align: top;
58
- }
59
-
60
32
  &__dropdown-header {
61
33
  display: flex;
62
34
  justify-content: space-between;
@@ -1,4 +1,4 @@
1
- // (C) 2019-2024 GoodData Corporation
1
+ // (C) 2019-2025 GoodData Corporation
2
2
  @use "@gooddata/sdk-ui-kit/styles/scss/mixins";
3
3
  @use "variables";
4
4
  @use "@gooddata/sdk-ui-kit/styles/scss/Button/variables" as button-variables;
@@ -618,7 +618,7 @@ $gd-gd-drill-to-url-body-width: 230px;
618
618
  .gd-input-syntax-highlighting-input {
619
619
  padding: 2px 20px 0 0;
620
620
 
621
- .CodeMirror {
621
+ .cm-editor {
622
622
  width: 340px;
623
623
  height: 270px;
624
624
  }
@@ -702,13 +702,13 @@ $gd-gd-drill-to-url-body-width: 230px;
702
702
  }
703
703
  }
704
704
 
705
- .CodeMirror-code {
706
- .CodeMirror-matchingbracket {
705
+ .cm-code {
706
+ .cm-matchingbracket {
707
707
  color: inherit;
708
708
  background-color: #fff;
709
709
  }
710
710
 
711
- .CodeMirror-nonmatchingbracket {
711
+ .cm-nonmatchingbracket {
712
712
  color: inherit;
713
713
  }
714
714
 
@@ -13,7 +13,8 @@ $border-color: #dde4eb;
13
13
  $description-width: 220px;
14
14
  $description-width-mobile: 320px;
15
15
 
16
- .gd-dialog.gd-drill-modal-dialog {
16
+ .gd-dialog.gd-drill-modal-dialog,
17
+ .gd-dialog.gd-drill-modal-dialog.overlay {
17
18
  position: relative;
18
19
  display: flex;
19
20
  flex-direction: column;
@@ -49,6 +49,9 @@
49
49
  padding: 0 10px;
50
50
  cursor: pointer;
51
51
  text-decoration: none;
52
+ background: none;
53
+ border: none;
54
+ width: 100%;
52
55
 
53
56
  .gd-drill-modal-picker-selector-list & {
54
57
  padding: 4px 10px;
@@ -79,7 +82,8 @@
79
82
  }
80
83
 
81
84
  &:hover {
82
- background: var(--gd-palette-complementary-2, #ebeff4);
85
+ // stylelint-disable-next-line declaration-no-important
86
+ background: var(--gd-palette-complementary-2, #ebeff4) !important;
83
87
  span {
84
88
  color: var(--gd-palette-complementary-9-from-theme);
85
89
  }
@@ -70,6 +70,39 @@
70
70
  .gd-grid-layout__container--nested {
71
71
  padding-bottom: 300px;
72
72
  }
73
+
74
+ /* =====================================================================
75
+ Export Mode Accessibility Enhancements
76
+ ===================================================================== */
77
+
78
+ // Reset z-index during export to ensure proper element stacking in PDF
79
+ // This prevents issues with z-index values affecting the print layout
80
+ .gd-widget-export {
81
+ z-index: auto;
82
+ }
83
+ .gd-fluidlayout-column-container-export {
84
+ z-index: auto;
85
+ }
86
+
87
+ // Always left align row header title during export
88
+ // This overrides the default centered alignment at small resolutions
89
+ .gd-row-header-export {
90
+ text-align: left;
91
+ padding-right: 0;
92
+ padding-left: 0;
93
+ }
94
+
95
+ // Hide the decorative line before the title in export mode since we want left alignment
96
+ // This overrides the line that appears at small resolutions
97
+ .gd-row-header-title-wrapper-export {
98
+ &::before {
99
+ display: none;
100
+ }
101
+ }
102
+
103
+ /* =====================================================================
104
+ Export Mode Accessibility Enhancements
105
+ ===================================================================== */
73
106
  }
74
107
 
75
108
  .gd-dashboard-meta {
@@ -72,8 +72,8 @@ $min-content-height: 110px;
72
72
  align-items: center;
73
73
 
74
74
  .gd-label {
75
- width: 105px;
76
- min-width: 105px;
75
+ width: 95px;
76
+ min-width: 95px;
77
77
  }
78
78
 
79
79
  .gd-input {
@@ -752,6 +752,12 @@ $min-content-height: 110px;
752
752
  margin-bottom: $vertical-space;
753
753
  }
754
754
 
755
+ .gd-notifications-channels-dialog-error-scrollable {
756
+ min-height: unset;
757
+ max-height: 100%;
758
+ overflow: unset;
759
+ }
760
+
755
761
  .gd-notifications-channels-dialog-warning {
756
762
  width: 100%;
757
763
  margin-bottom: $vertical-space;
@@ -342,6 +342,13 @@ $input-height: 28px;
342
342
  min-height: 23px;
343
343
  flex: 1;
344
344
  min-width: 200px;
345
+ max-width: 240px;
346
+ }
347
+
348
+ &__content-container-full-width {
349
+ min-height: 23px;
350
+ flex: 1;
351
+ min-width: 200px;
345
352
  }
346
353
  }
347
354
 
@@ -23,7 +23,8 @@
23
23
  cursor: pointer;
24
24
  }
25
25
 
26
- .configuration-panel-header-title i {
26
+ .configuration-panel-header-title i,
27
+ .configuration-panel-header i {
27
28
  font-size: 14px;
28
29
  margin-right: 5px;
29
30
  position: relative;
@@ -1,19 +0,0 @@
1
- import React from "react";
2
- import { FilterContextItem, ICatalogAttribute, ICatalogDateDataset, IDashboardAttributeFilterConfig, IDashboardDateFilterConfigItem, ObjRef } from "@gooddata/sdk-model";
3
- export interface IAutomationFiltersProps {
4
- id?: string;
5
- filters: FilterContextItem[] | undefined;
6
- attributeConfigs: IDashboardAttributeFilterConfig[];
7
- dateConfigs: IDashboardDateFilterConfigItem[];
8
- attributes: ICatalogAttribute[];
9
- dateDatasets: ICatalogDateDataset[];
10
- handleChangeFilter: (filter: FilterContextItem | undefined) => void;
11
- handleDeleteFilter: (filter: FilterContextItem) => void;
12
- handleAddFilter: (displayForm: ObjRef) => void;
13
- storeFilters: boolean;
14
- handleStoreFiltersChange: (value: boolean) => void;
15
- isDashboardAutomation?: boolean;
16
- areFiltersMissing?: boolean;
17
- }
18
- export declare const AutomationFilters: React.FC<IAutomationFiltersProps>;
19
- //# sourceMappingURL=AutomationFilters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AutomationFilters.d.ts","sourceRoot":"","sources":["../../../src/presentation/automationFilters/AutomationFilters.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAEH,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,+BAA+B,EAC/B,8BAA8B,EAE9B,MAAM,EACT,MAAM,qBAAqB,CAAC;AAU7B,MAAM,WAAW,uBAAuB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IACzC,gBAAgB,EAAE,+BAA+B,EAAE,CAAC;IACpD,WAAW,EAAE,8BAA8B,EAAE,CAAC;IAC9C,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,KAAK,IAAI,CAAC;IACpE,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,eAAe,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,YAAY,EAAE,OAAO,CAAC;IACtB,wBAAwB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAuJ/D,CAAC"}
@@ -1,73 +0,0 @@
1
- // (C) 2025 GoodData Corporation
2
- import React, { useState } from "react";
3
- import { FormattedMessage, useIntl } from "react-intl";
4
- import cx from "classnames";
5
- import noop from "lodash/noop.js";
6
- import { areObjRefsEqual, isDashboardAttributeFilter, } from "@gooddata/sdk-model";
7
- import { Bubble, BubbleHoverTrigger, Button, Icon, Typography } from "@gooddata/sdk-ui-kit";
8
- import { AttributesDropdown } from "../filterBar/index.js";
9
- import { AutomationAttributeFilter } from "./components/AutomationAttributeFilter.js";
10
- import { AutomationDateFilter } from "./components/AutomationDateFilter.js";
11
- import { gdColorStateBlank } from "../constants/colors.js";
12
- import { useTheme } from "@gooddata/sdk-ui-theme-provider";
13
- const TOOLTIP_ALIGN_POINTS = [{ align: "cr cl" }, { align: "cl cr" }];
14
- export const AutomationFilters = ({ id, filters = [], attributeConfigs, dateConfigs, attributes, dateDatasets, handleChangeFilter, handleDeleteFilter, handleAddFilter, isDashboardAutomation, storeFilters, handleStoreFiltersChange, areFiltersMissing, }) => {
15
- const theme = useTheme();
16
- const intl = useIntl();
17
- const [isExpanded, setIsExpanded] = useState(false);
18
- return (React.createElement("div", { id: id, className: "gd-automation-filters" },
19
- React.createElement("div", { className: cx("gd-automation-filters__list", {
20
- "gd-automation-filters__list--expanded": isExpanded,
21
- }) },
22
- filters.length > 1 ? (React.createElement("span", { className: "gd-automation-filters__expansion-button s-automation-filters-show-all-button" },
23
- React.createElement(Button, { className: cx("gd-button gd-button-link-dimmed gd-button-small gd-icon-right", {
24
- "gd-icon-chevron-up": isExpanded,
25
- "gd-icon-chevron-down": !isExpanded,
26
- }), value: isExpanded
27
- ? intl.formatMessage({ id: "dialogs.automation.filters.showLess" })
28
- : intl.formatMessage({ id: "dialogs.automation.filters.showAll" }), onClick: () => setIsExpanded(!isExpanded) }))) : undefined,
29
- filters.map((filter) => (React.createElement("div", { key: isDashboardAttributeFilter(filter)
30
- ? filter.attributeFilter.localIdentifier
31
- : filter.dateFilter.localIdentifier, className: "gd-automation-filters__list-item" },
32
- React.createElement(AutomationFilter, { filter: filter, attributeConfigs: attributeConfigs, dateConfigs: dateConfigs, onChange: handleChangeFilter, onDelete: handleDeleteFilter })))),
33
- React.createElement(AttributesDropdown, { onClose: noop, onSelect: handleAddFilter, attributes: attributes, dateDatasets: dateDatasets, openOnInit: false, className: "gd-automation-filters__dropdown s-automation-filters-add-filter-dropdown", DropdownButtonComponent: ({ onClick }) => (React.createElement(Button, { className: "gd-button-link gd-button-icon-only gd-icon-plus", size: "small", onClick: onClick, accessibilityConfig: {
34
- ariaLabel: intl.formatMessage({
35
- id: "dialogs.automation.filters.add",
36
- }),
37
- } })), DropdownTitleComponent: () => (React.createElement("div", { className: "gd-automation-filters__dropdown-header" },
38
- React.createElement(Typography, { tagName: "h3" },
39
- React.createElement(FormattedMessage, { id: "dialogs.automation.filters.title" })))), renderNoData: () => (React.createElement("div", { className: "gd-automation-filters__dropdown-no-filters" },
40
- React.createElement(FormattedMessage, { id: "dialogs.automation.filters.noFilters" }))) })),
41
- !isDashboardAutomation ? (React.createElement("div", { className: "gd-automation-filters__message" },
42
- React.createElement(FormattedMessage, { id: "dialogs.automation.filters.activeFilters" }))) : null,
43
- areFiltersMissing ? (React.createElement("div", { className: "gd-automation-filters__warning-message" },
44
- React.createElement(FormattedMessage, { id: "dialogs.automation.filters.missing", values: {
45
- b: (chunk) => React.createElement("strong", null, chunk),
46
- } }))) : null,
47
- isDashboardAutomation ? (React.createElement("label", { className: "input-checkbox-label gd-automation-filters__use-filters-checkbox s-automation-filters-use-filters-checkbox" },
48
- React.createElement("input", { type: "checkbox", className: "input-checkbox s-checkbox", checked: storeFilters, onChange: (e) => handleStoreFiltersChange(e.target.checked), "aria-label": intl.formatMessage({
49
- id: "dialogs.automation.filters.attachment",
50
- }) }),
51
- React.createElement("span", { className: "input-label-text" },
52
- React.createElement(FormattedMessage, { id: "dialogs.automation.filters.useFiltersMessage" })),
53
- React.createElement(BubbleHoverTrigger, { eventsOnBubble: true },
54
- React.createElement(Icon.QuestionMark, { className: "gd-automation-filters__checkbox-icon", color: theme?.palette?.complementary?.c6 ?? gdColorStateBlank, width: 14, height: 14, ariaHidden: true }),
55
- React.createElement(Bubble, { alignPoints: TOOLTIP_ALIGN_POINTS },
56
- React.createElement(FormattedMessage, { id: "dialogs.automation.filters.useFiltersMessage.tooltip", values: {
57
- a: (chunk) => (React.createElement("a", { href: "https://www.gooddata.com/docs/cloud/create-dashboards/automation/scheduled-exports/#filters", target: "_blank", rel: "noreferrer" }, chunk)),
58
- } }))))) : null));
59
- };
60
- const AutomationFilter = ({ filter, attributeConfigs, dateConfigs, onChange, onDelete, }) => {
61
- if (isDashboardAttributeFilter(filter)) {
62
- const config = attributeConfigs.find((attribute) => attribute.localIdentifier === filter.attributeFilter.localIdentifier);
63
- const displayAsLabel = config?.displayAsLabel;
64
- const isLocked = config?.mode === "readonly";
65
- return (React.createElement(AutomationAttributeFilter, { key: filter.attributeFilter.localIdentifier, filter: filter, onChange: onChange, onDelete: onDelete, isLocked: isLocked, displayAsLabel: displayAsLabel }));
66
- }
67
- else {
68
- const config = dateConfigs.find((date) => areObjRefsEqual(date.dateDataSet, filter.dateFilter.dataSet));
69
- const isLocked = config?.config.mode === "readonly";
70
- return (React.createElement(AutomationDateFilter, { key: filter.dateFilter.localIdentifier, filter: filter, onChange: onChange, onDelete: onDelete, isLocked: isLocked }));
71
- }
72
- };
73
- //# sourceMappingURL=AutomationFilters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AutomationFilters.js","sourceRoot":"","sources":["../../../src/presentation/automationFilters/AutomationFilters.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACH,eAAe,EAMf,0BAA0B,GAE7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D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,QAAQ,EAAE,QAAQ,GACpB,CACL,CAAC;IACN,CAAC;AACL,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { DashboardDrillDefinition } from "../../../types.js";
3
- import { DrillSelectItem } from "./types.js";
4
- export interface DrillSelectListProps {
5
- items: DrillSelectItem[];
6
- onSelect: (item: DashboardDrillDefinition) => void;
7
- }
8
- export declare const DrillSelectList: React.FunctionComponent<DrillSelectListProps>;
9
- //# sourceMappingURL=DrillSelectList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillSelectList.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,wBAAwB,EAAyB,MAAM,mBAAmB,CAAC;AAEpF,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,WAAW,oBAAoB;IACjC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC,oBAAoB,CAoEzE,CAAC"}
@@ -1,51 +0,0 @@
1
- // (C) 2019-2022 GoodData Corporation
2
- import React from "react";
3
- import { isCrossFiltering } from "@gooddata/sdk-model";
4
- import partition from "lodash/partition.js";
5
- import { FormattedMessage } from "react-intl";
6
- import { isDrillDownDefinition } from "../../../types.js";
7
- import { DrillSelectListItem } from "./DrillSelectListItem.js";
8
- export const DrillSelectList = (props) => {
9
- const { items } = props;
10
- const [drillDownAndCrossFilteringItems, drillItems] = partition(items, (item) => {
11
- return isDrillDownDefinition(item.drillDefinition) || isCrossFiltering(item.drillDefinition);
12
- });
13
- const [drillDownItems, crossFilteringItems] = partition(drillDownAndCrossFilteringItems, (item) => {
14
- return isDrillDownDefinition(item.drillDefinition);
15
- });
16
- const renderItems = (items) => {
17
- return items.map((item) => (React.createElement(DrillSelectListItem, { key: item.id, item: item, onClick: props.onSelect })));
18
- };
19
- const renderDrillDownItems = (items) => {
20
- if (items?.length > 0) {
21
- return (React.createElement(React.Fragment, null,
22
- React.createElement("div", { className: "gd-drill-modal-picker-title" },
23
- React.createElement(FormattedMessage, { id: "drill_modal_picker.drill-down", tagName: "span" })),
24
- renderItems(items)));
25
- }
26
- return null;
27
- };
28
- const renderDrillItems = (items) => {
29
- if (items?.length > 0) {
30
- return (React.createElement(React.Fragment, null,
31
- React.createElement("div", { className: "gd-drill-modal-picker-title" },
32
- React.createElement(FormattedMessage, { id: "drill_modal_picker.drill-into", tagName: "span" })),
33
- renderItems(items)));
34
- }
35
- return null;
36
- };
37
- const renderCrossFilteringItems = (items) => {
38
- if (items?.length > 0) {
39
- return (React.createElement(React.Fragment, null,
40
- React.createElement("div", { className: "gd-drill-modal-picker-title" },
41
- React.createElement(FormattedMessage, { id: "drill_modal_picker.cross-filter", tagName: "span" })),
42
- renderItems(items)));
43
- }
44
- return null;
45
- };
46
- return (React.createElement("div", { className: "gd-drill-modal-picker-selector-list" },
47
- renderDrillDownItems(drillDownItems),
48
- renderDrillItems(drillItems),
49
- renderCrossFilteringItems(crossFilteringItems)));
50
- };
51
- //# sourceMappingURL=DrillSelectList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillSelectList.js","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectList.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAA4B,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0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AG,CAAC,EAAE,CAAC;YACpB,OAAO,CACH;gBACI,6BAAK,SAAS,EAAC,6BAA6B;oBACxC,oBAAC,gBAAgB,IAAC,EAAE,EAAC,+BAA+B,EAAC,OAAO,EAAC,MAAM,GAAG,CACpE;gBACL,WAAW,CAAC,KAAK,CAAC,CACpB,CACN,CAAC;QACN,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;IAEF,MAAM,yBAAyB,GAAG,CAAC,KAAwB,EAAE,EAAE;QAC3D,IAAI,KAAK,EAAE,MAAM,GAAG,CAAC,EAAE,CAAC;YACpB,OAAO,CACH;gBACI,6BAAK,SAAS,EAAC,6BAA6B;oBACxC,oBAAC,gBAAgB,IAAC,EAAE,EAAC,iCAAiC,EAAC,OAAO,EAAC,MAAM,GAAG,CACtE;gBACL,WAAW,CAAC,KAAK,CAAC,CACpB,CACN,CAAC;QACN,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;IAEF,OAAO,CACH,6BAAK,SAAS,EAAC,qCAAqC;QAC/C,oBAAoB,CAAC,cAAc,CAAC;QACpC,gBAAgB,CAAC,UAAU,CAAC;QAC5B,yBAAyB,CAAC,mBAAmB,CAAC,CAC7C,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { DashboardDrillDefinition } from "../../../types.js";
3
- import { DrillSelectItem } from "./types.js";
4
- interface DrillSelectListBodyProps {
5
- items: DrillSelectItem[];
6
- onSelect: (item: DashboardDrillDefinition) => void;
7
- }
8
- export declare const DrillSelectListBody: React.FC<DrillSelectListBodyProps>;
9
- export {};
10
- //# sourceMappingURL=DrillSelectListBody.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillSelectListBody.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectListBody.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,UAAU,wBAAwB;IAC9B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAiBlE,CAAC"}
@@ -1,13 +0,0 @@
1
- // (C) 2020-2022 GoodData Corporation
2
- import React from "react";
3
- import { DrillSelectList } from "./DrillSelectList.js";
4
- export const DrillSelectListBody = (props) => {
5
- const { items, onSelect } = props;
6
- const stopPropagation = (e) => {
7
- e.stopPropagation();
8
- };
9
- return (React.createElement("div", { className: "gd-drill-modal-picker-dropdown s-drill-item-selector-dropdown", onScroll: stopPropagation },
10
- React.createElement("div", { className: "gd-drill-modal-picker-body" },
11
- React.createElement(DrillSelectList, { items: items, onSelect: onSelect }))));
12
- };
13
- //# sourceMappingURL=DrillSelectListBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillSelectListBody.js","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectListBody.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AASvD,MAAM,CAAC,MAAM,mBAAmB,GAAuC,CAAC,KAAK,EAAE,EAAE;IAC7E,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAElC,MAAM,eAAe,GAAG,CAAC,CAAgC,EAAE,EAAE;QACzD,CAAC,CAAC,eAAe,EAAE,CAAC;IACxB,CAAC,CAAC;IAEF,OAAO,CACH,6BACI,SAAS,EAAC,+DAA+D,EACzE,QAAQ,EAAE,eAAe;QAEzB,6BAAK,SAAS,EAAC,4BAA4B;YACvC,oBAAC,eAAe,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACnD,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import { ITheme } from "@gooddata/sdk-model";
3
- import { DashboardDrillDefinition } from "../../../types.js";
4
- import { DrillSelectItem } from "./types.js";
5
- export interface DrillSelectListItemProps {
6
- item: DrillSelectItem;
7
- onClick: (item: DashboardDrillDefinition) => void;
8
- theme?: ITheme;
9
- }
10
- export declare const DrillSelectListItem: (props: DrillSelectListItemProps) => JSX.Element;
11
- //# sourceMappingURL=DrillSelectListItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillSelectListItem.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectListItem.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAa,eAAe,EAAE,MAAM,YAAY,CAAC;AAUxD,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,EAAE,CAAC,IAAI,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,KAAG,WA0CrE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillSelectListItem.js","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectListItem.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,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E,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAExD,OAAO,CACH,2BAAG,IAAI,EAAC,EAAE,EAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK;QAC/D,6BAAK,SAAS,EAAC,oCAAoC;YAC/C,oBAAC,aAAa,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,GAAI,CACzD;QACL,CAAC,IAAI,CAAC,CAAC,CAAC,CACL,aAAa,EAAE,CAClB,CAAC,CAAC,CAAC,CACA;YACK,IAAI;YACJ,cAAc,CAAC,CAAC,CAAC;;gBAAc,cAAc;oBAAS,CAAC,CAAC,CAAC,IAAI,CAC9D,CACP,CACD,CACP,CAAC;AACN,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- export interface IDrillModalExportOptionsProps {
3
- showDropdown: boolean;
4
- toggleShowDropdown(): void;
5
- exportXLSXEnabled: boolean;
6
- onExportXLSX: () => void;
7
- exportCSVEnabled: boolean;
8
- onExportCSV: () => void;
9
- }
10
- declare const DrillModalExportOptions: React.FC<IDrillModalExportOptionsProps>;
11
- export default DrillModalExportOptions;
12
- //# sourceMappingURL=DrillModalExportOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillModalExportOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,6BAA6B;IAC1C,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,IAAI,IAAI,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;CAC3B;AAYD,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAoCzD,CAAC;AAEb,eAAe,uBAAuB,CAAC"}
@@ -1,21 +0,0 @@
1
- // (C) 2021-2022 GoodData Corporation
2
- import React from "react";
3
- import { FormattedMessage } from "react-intl";
4
- import { Overlay, ItemsWrapper, Item } from "@gooddata/sdk-ui-kit";
5
- const overlayAlignPoints = [
6
- {
7
- align: "tc bc",
8
- offset: {
9
- x: -10,
10
- y: -5,
11
- },
12
- },
13
- ];
14
- const DrillModalExportOptions = ({ showDropdown, toggleShowDropdown, exportXLSXEnabled, onExportXLSX, exportCSVEnabled, onExportCSV, }) => showDropdown ? (React.createElement(Overlay, { key: "DrillModalOptionsMenu", alignTo: ".export-drilled-insight", alignPoints: overlayAlignPoints, className: "gd-header-menu-overlay s-drill-modal-export-options", closeOnOutsideClick: true, onClose: toggleShowDropdown },
15
- React.createElement(ItemsWrapper, { smallItemsSpacing: true },
16
- exportXLSXEnabled ? (React.createElement(Item, { onClick: onExportXLSX, className: "options-menu-export-xlsx s-export-drilled-insight-xlsx" },
17
- React.createElement(FormattedMessage, { id: "widget.options.menu.exportToXLSX" }))) : null,
18
- exportCSVEnabled ? (React.createElement(Item, { onClick: onExportCSV, className: "options-menu-export-csv s-export-drilled-insight-csv" },
19
- React.createElement(FormattedMessage, { id: "widget.options.menu.exportToCSV" }))) : null))) : null;
20
- export default DrillModalExportOptions;
21
- //# sourceMappingURL=DrillModalExportOptions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillModalExportOptions.js","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalExportOptions.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAe,MAAM,sBAAsB,CAAC;AAWhF,MAAM,kBAAkB,GAAkB;IACtC;QACI,KAAK,EAAE,OAAO;QACd,MAAM,EAAE;YACJ,CAAC,EAAE,CAAC,EAAE;YACN,CAAC,EAAE,CAAC,CAAC;SACR;KACJ;CACJ,CAAC;AAEF,MAAM,uBAAuB,GAA4C,CAAC,EACtE,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,WAAW,GACd,EAAE,EAAE,CACD,YAAY,CAAC,CAAC,CAAC,CACX,oBAAC,OAAO,IACJ,GAAG,EAAC,uBAAuB,EAC3B,OAAO,EAAC,yBAAyB,EACjC,WAAW,EAAE,kBAAkB,EAC/B,SAAS,EAAC,qDAAqD,EAC/D,mBAAmB,EAAE,IAAI,EACzB,OAAO,EAAE,kBAAkB;IAE3B,oBAAC,YAAY,IAAC,iBAAiB,EAAE,IAAI;QAChC,iBAAiB,CAAC,CAAC,CAAC,CACjB,oBAAC,IAAI,IACD,OAAO,EAAE,YAAY,EACrB,SAAS,EAAC,wDAAwD;YAElE,oBAAC,gBAAgB,IAAC,EAAE,EAAC,kCAAkC,GAAG,CACvD,CACV,CAAC,CAAC,CAAC,IAAI;QACP,gBAAgB,CAAC,CAAC,CAAC,CAChB,oBAAC,IAAI,IACD,OAAO,EAAE,WAAW,EACpB,SAAS,EAAC,sDAAsD;YAEhE,oBAAC,gBAAgB,IAAC,EAAE,EAAC,iCAAiC,GAAG,CACtD,CACV,CAAC,CAAC,CAAC,IAAI,CACG,CACT,CACb,CAAC,CAAC,CAAC,IAAI,CAAC;AAEb,eAAe,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DrillModalFooter.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/DrillModalFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAQ9D,MAAM,WAAW,sBAAsB;IACnC,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAID,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6F7D,CAAC"}
@@ -1,41 +0,0 @@
1
- // (C) 2021-2025 GoodData Corporation
2
- import React, { useState, useCallback, useMemo } from "react";
3
- import { FormattedMessage } from "react-intl";
4
- import cx from "classnames";
5
- import { BubbleHoverTrigger, Bubble } from "@gooddata/sdk-ui-kit";
6
- import DrillModalExportOptions from "./DrillModalExportOptions.js";
7
- import DrillModalRawExportOptions from "./DrillModalRawExportOptions.js";
8
- const bubbleAlignPoints = [{ align: "tc bc" }];
9
- export const DrillModalFooter = ({ exportAvailable, exportXLSXEnabled, onExportXLSX, exportCSVEnabled, exportCSVRawEnabled, onExportCSV, onExportCSVRaw, isLoading, isExporting, isExportRawVisible, }) => {
10
- const [showDropdown, setShowDropdown] = useState(false);
11
- const toggleShowDropdown = useCallback(() => setShowDropdown((oldValue) => !oldValue), []);
12
- const handleOnExportXLSX = useCallback(() => {
13
- onExportXLSX();
14
- setShowDropdown(false);
15
- }, [onExportXLSX]);
16
- const handleOnExportCSV = useCallback(() => {
17
- onExportCSV();
18
- setShowDropdown(false);
19
- }, [onExportCSV]);
20
- const handleOnExportCSVRaw = useCallback(() => {
21
- onExportCSVRaw();
22
- setShowDropdown(false);
23
- }, [onExportCSVRaw]);
24
- const exportDisabled = !exportAvailable || (!exportXLSXEnabled && !exportCSVEnabled);
25
- const toggleButton = useMemo(() => (React.createElement("button", { onClick: toggleShowDropdown, className: cx("gd-button-link-dimmed gd-button gd-icon-download export-menu-toggle-button", {
26
- disabled: isExportRawVisible ? false : exportDisabled,
27
- }), type: "button" },
28
- React.createElement("span", { className: "gd-button-text" },
29
- React.createElement(FormattedMessage, { id: "dialogs.export.submit" })))), [exportDisabled, toggleShowDropdown]);
30
- return (React.createElement("div", { className: cx("s-export-drilled-insight export-drilled-insight", {
31
- "is-disabled": isExportRawVisible ? false : exportDisabled,
32
- }) }, isExportRawVisible ? (React.createElement(React.Fragment, null,
33
- toggleButton,
34
- React.createElement(DrillModalRawExportOptions, { showDropdown: showDropdown, toggleShowDropdown: toggleShowDropdown, exportXLSXEnabled: exportXLSXEnabled, exportCSVEnabled: exportCSVEnabled, exportCSVRawEnabled: exportCSVRawEnabled, onExportXLSX: handleOnExportXLSX, onExportCSV: handleOnExportCSV, onExportCSVRaw: handleOnExportCSVRaw, isExporting: isExporting }))) : exportDisabled && !isLoading ? (React.createElement(BubbleHoverTrigger, null,
35
- toggleButton,
36
- React.createElement(Bubble, { className: "bubble-primary", alignPoints: bubbleAlignPoints },
37
- React.createElement(FormattedMessage, { id: "export_unsupported.disabled" })))) : (React.createElement(React.Fragment, null,
38
- toggleButton,
39
- React.createElement(DrillModalExportOptions, { showDropdown: showDropdown, toggleShowDropdown: toggleShowDropdown, exportXLSXEnabled: exportXLSXEnabled, exportCSVEnabled: exportCSVEnabled, onExportXLSX: handleOnExportXLSX, onExportCSV: handleOnExportCSV })))));
40
- };
41
- //# sourceMappingURL=DrillModalFooter.js.map