@gooddata/sdk-ui-dashboard 11.54.0-alpha.5 → 11.54.0-alpha.7

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 (335) hide show
  1. package/NOTICE +849 -114
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/index.d.ts +2 -1
  5. package/esm/index.d.ts.map +1 -1
  6. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts +7 -0
  7. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts.map +1 -1
  8. package/esm/model/commandHandlers/dashboard/common/parameterHydration.js +17 -1
  9. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  10. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +7 -7
  11. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +1 -1
  12. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  13. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +32 -91
  14. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts +19 -14
  15. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.d.ts.map +1 -1
  16. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSubmit.js +18 -2
  17. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -10
  18. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts.map +1 -1
  19. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -11
  20. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts.map +1 -1
  21. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -11
  22. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts.map +1 -1
  23. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -13
  24. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts.map +1 -1
  25. package/esm/presentation/automations/alerting/state/AlertingDialogStateProvider.d.ts.map +1 -1
  26. package/esm/presentation/automations/alerting/state/types.d.ts +156 -0
  27. package/esm/presentation/automations/alerting/state/types.d.ts.map +1 -0
  28. package/esm/presentation/automations/alerting/state/types.js +2 -0
  29. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts +2 -8
  30. package/esm/presentation/automations/alerting/state/useAlertFiltersModel.d.ts.map +1 -1
  31. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts +4 -34
  32. package/esm/presentation/automations/alerting/state/useAlertFormState.d.ts.map +1 -1
  33. package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.d.ts +2 -11
  34. package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.d.ts.map +1 -1
  35. package/esm/presentation/automations/alerting/state/useAlertSupportedMetrics.js +2 -2
  36. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +82 -0
  37. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts.map +1 -0
  38. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +152 -0
  39. package/esm/presentation/automations/alerting/types.d.ts +34 -6
  40. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  41. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +1 -1
  42. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  43. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +41 -126
  44. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.d.ts.map +1 -1
  45. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentSettings.js +2 -3
  46. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts +17 -2
  47. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +1 -1
  48. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +16 -5
  49. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts +2 -29
  50. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.d.ts.map +1 -1
  51. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduleTimezone.js +0 -14
  52. package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.d.ts.map +1 -1
  53. package/esm/presentation/automations/scheduledEmail/state/ScheduledEmailDialogStateProvider.js +3 -3
  54. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -16
  55. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts.map +1 -1
  56. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -12
  57. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts.map +1 -1
  58. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -15
  59. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts.map +1 -1
  60. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +2 -14
  61. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts.map +1 -1
  62. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +204 -0
  63. package/esm/presentation/automations/scheduledEmail/state/types.d.ts.map +1 -0
  64. package/esm/presentation/automations/scheduledEmail/state/types.js +2 -0
  65. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +105 -0
  66. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts.map +1 -0
  67. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +196 -0
  68. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts +3 -11
  69. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts.map +1 -1
  70. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +10 -8
  71. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.d.ts +2 -20
  72. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.d.ts.map +1 -1
  73. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFiltersModel.js +1 -1
  74. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.d.ts +3 -20
  75. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormState.d.ts.map +1 -1
  76. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +2 -2
  77. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
  78. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +3 -4
  79. package/esm/presentation/automations/scheduledEmail/types.d.ts +38 -7
  80. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  81. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +25 -0
  82. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +1 -0
  83. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.js +22 -0
  84. package/esm/presentation/automations/shared/slots/types.d.ts +53 -26
  85. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  86. package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts +1 -2
  87. package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts.map +1 -1
  88. package/esm/presentation/dialogs/ExportCsvDialog.d.ts +0 -1
  89. package/esm/presentation/dialogs/ExportCsvDialog.d.ts.map +1 -1
  90. package/esm/presentation/dialogs/ExportCsvDialog.js +2 -2
  91. package/esm/presentation/dialogs/ExportCsvDialogProvider.d.ts.map +1 -1
  92. package/esm/presentation/dialogs/ExportCsvDialogProvider.js +1 -1
  93. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +12 -16
  94. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  95. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +12 -16
  96. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +12 -16
  97. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  98. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +14 -18
  99. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +12 -16
  100. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  101. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +14 -18
  102. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +0 -60
  103. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  104. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +0 -60
  105. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +12 -16
  106. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  107. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +14 -18
  108. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +10 -16
  109. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  110. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +12 -18
  111. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +12 -16
  112. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  113. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +14 -18
  114. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +12 -16
  115. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  116. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +14 -18
  117. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +12 -16
  118. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  119. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +14 -18
  120. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +12 -16
  121. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  122. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +14 -18
  123. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +12 -16
  124. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  125. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +14 -18
  126. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +12 -16
  127. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  128. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +12 -16
  129. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +12 -16
  130. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  131. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +14 -18
  132. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +12 -16
  133. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  134. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +14 -18
  135. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +12 -16
  136. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  137. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +14 -18
  138. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +12 -16
  139. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  140. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +16 -20
  141. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +12 -16
  142. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  143. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +16 -20
  144. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +12 -16
  145. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  146. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +14 -18
  147. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +12 -16
  148. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  149. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +14 -18
  150. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +12 -16
  151. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  152. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +14 -18
  153. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +12 -16
  154. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  155. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +14 -18
  156. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +12 -16
  157. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  158. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +14 -18
  159. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +12 -16
  160. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  161. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +14 -18
  162. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +12 -16
  163. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  164. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +12 -16
  165. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +12 -16
  166. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  167. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +14 -18
  168. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +12 -16
  169. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  170. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +14 -18
  171. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  172. package/esm/presentation/widget/common/useInsightExport.js +2 -4
  173. package/esm/sdk-ui-dashboard.d.ts +123 -36
  174. package/package.json +25 -25
  175. package/styles/css/main.css +369 -0
  176. package/styles/css/main.css.map +1 -1
  177. package/esm/_staging/dateFilterConfig/fixtures.d.ts +0 -10
  178. package/esm/_staging/dateFilterConfig/fixtures.d.ts.map +0 -1
  179. package/esm/_staging/dateFilterConfig/fixtures.js +0 -60
  180. package/esm/_staging/layout/coordinates.mock.d.ts +0 -17
  181. package/esm/_staging/layout/coordinates.mock.d.ts.map +0 -1
  182. package/esm/_staging/layout/coordinates.mock.js +0 -103
  183. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts +0 -8
  184. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts.map +0 -1
  185. package/esm/model/commandHandlers/filterContext/filterViewParameters.js +0 -9
  186. package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts +0 -14
  187. package/esm/model/fixtures/CatalogAvailability.fixtures.d.ts.map +0 -1
  188. package/esm/model/fixtures/CatalogAvailability.fixtures.js +0 -57
  189. package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts +0 -56
  190. package/esm/model/fixtures/ComplexDashboard.fixtures.d.ts.map +0 -1
  191. package/esm/model/fixtures/ComplexDashboard.fixtures.js +0 -71
  192. package/esm/model/fixtures/Dashboard.fixtures.d.ts +0 -10
  193. package/esm/model/fixtures/Dashboard.fixtures.d.ts.map +0 -1
  194. package/esm/model/fixtures/Dashboard.fixtures.js +0 -13
  195. package/esm/model/fixtures/Insights.fixtures.d.ts +0 -6
  196. package/esm/model/fixtures/Insights.fixtures.d.ts.map +0 -1
  197. package/esm/model/fixtures/Insights.fixtures.js +0 -11
  198. package/esm/model/fixtures/Layout.fixtures.d.ts +0 -14
  199. package/esm/model/fixtures/Layout.fixtures.d.ts.map +0 -1
  200. package/esm/model/fixtures/Layout.fixtures.js +0 -115
  201. package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts +0 -46
  202. package/esm/model/fixtures/SimpleDashboard.fixtures.d.ts.map +0 -1
  203. package/esm/model/fixtures/SimpleDashboard.fixtures.js +0 -315
  204. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts +0 -28
  205. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.d.ts.map +0 -1
  206. package/esm/model/fixtures/SimpleDashboardNoDrills.fixtures.js +0 -40
  207. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts +0 -16
  208. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts.map +0 -1
  209. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.js +0 -30
  210. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +0 -3
  211. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +0 -1
  212. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +0 -46
  213. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +0 -11
  214. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +0 -1
  215. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +0 -31
  216. package/esm/presentation/automations/alerting/state/fixtures.d.ts +0 -13
  217. package/esm/presentation/automations/alerting/state/fixtures.d.ts.map +0 -1
  218. package/esm/presentation/automations/alerting/state/fixtures.js +0 -37
  219. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +0 -19
  220. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +0 -1
  221. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +0 -28
  222. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +0 -13
  223. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +0 -1
  224. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +0 -56
  225. package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts +0 -18
  226. package/esm/presentation/automations/scheduledEmail/state/fixtures.d.ts.map +0 -1
  227. package/esm/presentation/automations/scheduledEmail/state/fixtures.js +0 -105
  228. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts +0 -5
  229. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.d.ts.map +0 -1
  230. package/esm/presentation/automations/shared/automationFilters/parameterFixtures.js +0 -22
  231. package/esm/presentation/automations/shared/test/fixtures.d.ts +0 -9
  232. package/esm/presentation/automations/shared/test/fixtures.d.ts.map +0 -1
  233. package/esm/presentation/automations/shared/test/fixtures.js +0 -101
  234. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts +0 -3
  235. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +0 -1
  236. package/esm/presentation/dashboard/components/DashboardMainContent.js +0 -39
  237. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts +0 -16
  238. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts.map +0 -1
  239. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.js +0 -17
  240. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts +0 -3
  241. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts.map +0 -1
  242. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.js +0 -9
  243. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts +0 -6
  244. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts.map +0 -1
  245. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.js +0 -10
  246. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts +0 -8
  247. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts.map +0 -1
  248. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.js +0 -14
  249. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts +0 -6
  250. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts.map +0 -1
  251. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.js +0 -8
  252. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts +0 -8
  253. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts.map +0 -1
  254. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.js +0 -10
  255. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts +0 -8
  256. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts.map +0 -1
  257. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.js +0 -33
  258. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts +0 -8
  259. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts.map +0 -1
  260. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.js +0 -33
  261. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts +0 -17
  262. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.d.ts.map +0 -1
  263. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayout.js +0 -18
  264. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts +0 -12
  265. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.d.ts.map +0 -1
  266. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutItemRenderer.js +0 -26
  267. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts +0 -20
  268. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.d.ts.map +0 -1
  269. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutMocks.js +0 -95
  270. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts +0 -14
  271. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.d.ts.map +0 -1
  272. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutRowRenderer.js +0 -9
  273. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts +0 -9
  274. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.d.ts.map +0 -1
  275. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorder.js +0 -17
  276. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts +0 -6
  277. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.d.ts.map +0 -1
  278. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionBorderMarker.js +0 -10
  279. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts +0 -9
  280. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.d.ts.map +0 -1
  281. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeader.js +0 -14
  282. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts +0 -8
  283. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.d.ts.map +0 -1
  284. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionHeaderRenderer.js +0 -49
  285. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts +0 -7
  286. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.d.ts.map +0 -1
  287. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutSectionRenderer.js +0 -33
  288. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts +0 -62
  289. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.d.ts.map +0 -1
  290. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutTypes.js +0 -2
  291. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts +0 -11
  292. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.d.ts.map +0 -1
  293. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidget.js +0 -4
  294. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts +0 -8
  295. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.d.ts.map +0 -1
  296. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/DashboardEditLayoutWidgetRenderer.js +0 -28
  297. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts +0 -26
  298. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.d.ts.map +0 -1
  299. package/esm/presentation/flexibleLayout/useInKD/DashboardEditLayout/LayoutTypes.js +0 -21
  300. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts +0 -7
  301. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts.map +0 -1
  302. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.js +0 -39
  303. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts +0 -9
  304. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts.map +0 -1
  305. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.js +0 -26
  306. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts +0 -7
  307. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts.map +0 -1
  308. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.js +0 -37
  309. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts +0 -8
  310. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts.map +0 -1
  311. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.js +0 -15
  312. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts +0 -7
  313. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts.map +0 -1
  314. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.js +0 -8
  315. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts +0 -7
  316. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts.map +0 -1
  317. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.js +0 -5
  318. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts +0 -12
  319. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts.map +0 -1
  320. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.js +0 -12
  321. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +0 -25
  322. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +0 -1
  323. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +0 -5
  324. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +0 -29
  325. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +0 -1
  326. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +0 -137
  327. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +0 -11
  328. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +0 -1
  329. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +0 -42
  330. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +0 -48
  331. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +0 -1
  332. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +0 -171
  333. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts +0 -4
  334. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts.map +0 -1
  335. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.js +0 -46
@@ -1,19 +0,0 @@
1
- import { type FilterContextItem } from "@gooddata/sdk-model";
2
- import { type DateFilterOption } from "@gooddata/sdk-ui-filters";
3
- export interface IAttachmentFilterInfo {
4
- id: string;
5
- title: string;
6
- subtitle: string;
7
- attributeFilterValues?: (string | null)[];
8
- isAttributeFilterNegative?: boolean;
9
- dateFilterOption?: DateFilterOption;
10
- }
11
- interface IUseFiltersForDashboardScheduledExportInfoProps {
12
- /**
13
- * Effective filters - original stored filters or current effective dashboard filters (without cross-filtering).
14
- */
15
- effectiveFilters?: FilterContextItem[];
16
- }
17
- export declare const useFiltersForDashboardScheduledExportInfo: ({ effectiveFilters, }: IUseFiltersForDashboardScheduledExportInfoProps) => import("../../../shared/hooks/useFiltersNamings.js").FilterNaming[];
18
- export {};
19
- //# sourceMappingURL=useFiltersForDashboardScheduledExportInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFiltersForDashboardScheduledExportInfo.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.ts"],"names":[],"mappings":"AAIA,OAAO,EAKH,KAAK,iBAAiB,EAKzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAKjE,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC;IAC1C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACvC;AAED,UAAU,+CAA+C;IACrD;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1C;AAED,eAAO,MAAM,yCAAyC,iJAcrD,CAAC"}
@@ -1,28 +0,0 @@
1
- // (C) 2024-2026 GoodData Corporation
2
- import { compact } from "lodash-es";
3
- import { DashboardAttributeFilterConfigModeValues, DashboardDateFilterConfigModeValues, dashboardAttributeFilterItemLocalIdentifier, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, } from "@gooddata/sdk-model";
4
- import { useScheduledEmailDialogContext } from "../../../contexts/ScheduledEmailDialogContext.js";
5
- import { useFiltersNamings } from "../../../shared/hooks/useFiltersNamings.js";
6
- export const useFiltersForDashboardScheduledExportInfo = ({ effectiveFilters = [], }) => {
7
- // Remove hidden dashboard filters, we don't want to display them.
8
- const { commonDateFilterMode, dateFiltersModeMap, attributeFiltersModeMap } = useScheduledEmailDialogContext();
9
- const filtersToDisplay = removeHiddenFilters(effectiveFilters, commonDateFilterMode, dateFiltersModeMap, attributeFiltersModeMap);
10
- return compact(useFiltersNamings(filtersToDisplay));
11
- };
12
- const removeHiddenFilters = (filters, commonDateFilterMode, dateFiltersModeMap, attributeFiltersModeMap) => {
13
- return filters.filter((filter) => {
14
- if (isDashboardCommonDateFilter(filter)) {
15
- return commonDateFilterMode !== DashboardDateFilterConfigModeValues.HIDDEN;
16
- }
17
- else if (isDashboardDateFilter(filter) && filter.dateFilter.localIdentifier) {
18
- const mode = dateFiltersModeMap.get(filter.dateFilter.localIdentifier);
19
- return mode !== DashboardDateFilterConfigModeValues.HIDDEN;
20
- }
21
- else if (isDashboardAttributeFilterItem(filter)) {
22
- const localIdentifier = dashboardAttributeFilterItemLocalIdentifier(filter);
23
- const mode = localIdentifier ? attributeFiltersModeMap.get(localIdentifier) : undefined;
24
- return mode !== DashboardAttributeFilterConfigModeValues.HIDDEN;
25
- }
26
- return true;
27
- });
28
- };
@@ -1,13 +0,0 @@
1
- import { type IAutomationMetadataObject, type INotificationChannelIdentifier, type INotificationChannelMetadataObject } from "@gooddata/sdk-model";
2
- import { SELECT_ITEM_ACTION } from "@gooddata/sdk-ui-kit";
3
- type IAction = "scheduleEmail" | "delete" | typeof SELECT_ITEM_ACTION;
4
- interface IScheduledEmailProps {
5
- onDelete: (scheduledEmail: IAutomationMetadataObject) => void;
6
- onEdit: (scheduledEmail: IAutomationMetadataObject) => void;
7
- scheduledEmail: IAutomationMetadataObject;
8
- notificationChannels: INotificationChannelIdentifier[] | INotificationChannelMetadataObject[];
9
- focusedAction?: IAction;
10
- }
11
- export declare function ScheduledEmail({ scheduledEmail, onDelete, onEdit, notificationChannels, focusedAction }: IScheduledEmailProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
13
- //# sourceMappingURL=ScheduledEmail.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScheduledEmail.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.tsx"],"names":[],"mappings":"AAOA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAMH,kBAAkB,EAErB,MAAM,sBAAsB,CAAC;AAQ9B,KAAK,OAAO,GAAG,eAAe,GAAG,QAAQ,GAAG,OAAO,kBAAkB,CAAC;AAEtE,UAAU,oBAAoB;IAC1B,QAAQ,EAAE,CAAC,cAAc,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC9D,MAAM,EAAE,CAAC,cAAc,EAAE,yBAAyB,KAAK,IAAI,CAAC;IAC5D,cAAc,EAAE,yBAAyB,CAAC;IAC1C,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAYD,wBAAgB,cAAc,CAAC,EAC3B,cAAc,EACd,QAAQ,EACR,MAAM,EACN,oBAAoB,EACpB,aAAa,EAChB,EAAE,oBAAoB,2CAyFtB"}
@@ -1,56 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2022-2026 GoodData Corporation
3
- import { useCallback } from "react";
4
- import cx from "classnames";
5
- import { FormattedMessage, useIntl } from "react-intl";
6
- import { Bubble, BubbleHoverTrigger, IconInsight, IconSimplifiedDashboard, IconWarning, SELECT_ITEM_ACTION, ShortenedText, } from "@gooddata/sdk-ui-kit";
7
- import { useTheme } from "@gooddata/sdk-ui-theme-provider";
8
- import { gdColorNegative, gdColorStateBlank } from "../../../../constants/colors.js";
9
- import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
10
- import { isVisualisationAutomation } from "../../../shared/utils/automationUtils.js";
11
- import { useScheduleValidation } from "../../DefaultScheduledEmailDialog/hooks/useScheduleValidation.js";
12
- const ICON_TOOLTIP_ALIGN_POINTS = [
13
- { align: "cr cl", offset: { x: 0, y: 0 } },
14
- { align: "cl cr", offset: { x: 0, y: 0 } },
15
- ];
16
- const TEXT_TOOLTIP_ALIGN_POINTS = [
17
- { align: "tc bc", offset: { x: 0, y: 0 } },
18
- { align: "bc tc", offset: { x: 0, y: 0 } },
19
- ];
20
- export function ScheduledEmail({ scheduledEmail, onDelete, onEdit, notificationChannels, focusedAction, }) {
21
- const theme = useTheme();
22
- const { currentUser, features } = useAutomationsContext();
23
- const canEdit = features.canManageWorkspace || (currentUser && currentUser.login === scheduledEmail.createdBy?.login);
24
- const { isValid } = useScheduleValidation(scheduledEmail);
25
- const intl = useIntl();
26
- const cronDescription = scheduledEmail.schedule?.cronDescription;
27
- const webhookTitle = notificationChannels.find((channel) => channel.id === scheduledEmail.notificationChannel)?.title;
28
- const dashboardTitle = scheduledEmail.exportDefinitions?.find((def) => def.title)?.title;
29
- const isWidget = isVisualisationAutomation(scheduledEmail);
30
- const iconColor = theme?.palette?.complementary?.c6 ?? gdColorStateBlank;
31
- const iconColorError = theme?.palette?.error?.base ?? gdColorNegative;
32
- const iconComponent = isValid ? (isWidget ? (_jsx(IconInsight, { width: 16, height: 16, color: iconColor })) : (_jsx(IconSimplifiedDashboard, { width: 19, height: 19, color: iconColor }))) : (_jsx(IconWarning, { width: 16, height: 16, color: iconColorError }));
33
- const subtitle = [cronDescription, webhookTitle, dashboardTitle].filter(Boolean).join(" • ");
34
- const handleClick = useCallback(() => {
35
- onEdit(scheduledEmail);
36
- // eslint-disable-next-line react-hooks/exhaustive-deps
37
- }, [scheduledEmail]);
38
- return (_jsxs("div", { className: cx("gd-notifications-channel", "s-scheduled-email", {
39
- editable: canEdit,
40
- "gd-schedule-email__item--isFocused": !!focusedAction,
41
- "gd-schedule-email__item--isFocusedSelectItem": focusedAction === SELECT_ITEM_ACTION,
42
- }), children: [
43
- _jsxs("div", { className: "gd-notifications-channel-content", onClick: canEdit ? handleClick : undefined, children: [
44
- _jsx("div", { className: cx("gd-notifications-channel-icon", {
45
- "gd-notifications-channel-icon-invalid": !isValid,
46
- }), children: iconComponent }), _jsxs("div", { className: "gd-notifications-channel-text-content", children: [
47
- _jsx("div", { className: "gd-notifications-channel-title", children: _jsx("strong", { children: _jsx(ShortenedText, { className: "gd-notifications-channel-shortened-text", tooltipAlignPoints: TEXT_TOOLTIP_ALIGN_POINTS, children: scheduledEmail.title ??
48
- intl.formatMessage({ id: "dialogs.schedule.email.title.placeholder" }) }) }) }), _jsx("div", { children: _jsx("span", { className: "gd-notifications-channel-subtitle", children: _jsx(ShortenedText, { className: "gd-notifications-channel-shortened-text", tooltipAlignPoints: TEXT_TOOLTIP_ALIGN_POINTS, children: subtitle }) }) })
49
- ] })
50
- ] }), _jsx("div", { className: "gd-notifications-channel-delete", children: _jsxs(BubbleHoverTrigger, { showDelay: 0, hideDelay: 0, children: [
51
- _jsx("span", { className: cx("gd-notifications-channel-delete-icon s-scheduled-email-delete-icon", {
52
- "gd-schedule-email__item__button--isFocused": focusedAction === "delete",
53
- }), onClick: () => onDelete(scheduledEmail) }), _jsx(Bubble, { className: "bubble-primary", alignPoints: ICON_TOOLTIP_ALIGN_POINTS, children: _jsx(FormattedMessage, { id: "dialogs.schedule.management.delete" }) })
54
- ] }) })
55
- ] }));
56
- }
@@ -1,18 +0,0 @@
1
- import { type DashboardAttachmentType, type IAutomationMetadataObjectDefinition, type IExportDefinitionDashboardRequestPayload, type IExportDefinitionVisualizationObjectRequestPayload, type IInsight, type IWidget, type WidgetAttachmentType } from "@gooddata/sdk-model";
2
- import { type IScheduledEmailDialogContextValue } from "../../contexts/ScheduledEmailDialogContext.js";
3
- import { type IScheduledExportDataContextValue } from "./ScheduledExportDataContext.js";
4
- import { type IScheduledExportDraftContextValue } from "./ScheduledExportDraftContext.js";
5
- export declare const AUTOMATIONS_CONTEXT: import("../../contexts/AutomationsContext.js").IAutomationsContextValue;
6
- export declare const CURRENT_USER: import("@gooddata/sdk-model").IUser;
7
- export declare const NEXT_FILTER: import("@gooddata/sdk-model").FilterContextItem;
8
- export declare const SENTINEL_CHANNEL: import("@gooddata/sdk-model").INotificationChannelIdentifier;
9
- export declare const WORKSPACE_PARAMETER: import("@gooddata/sdk-model").IParameterMetadataObject;
10
- export declare const SENTINEL_WIDGET: IWidget;
11
- export declare const SENTINEL_INSIGHT: IInsight;
12
- export declare const SCHEDULED_EMAIL_DIALOG_CONTEXT: IScheduledEmailDialogContextValue;
13
- export declare const DRAFT_FIXTURE: IScheduledExportDraftContextValue;
14
- export declare const DATA_FIXTURE: IScheduledExportDataContextValue;
15
- export declare const makeDashboardExportDefinition: (format: DashboardAttachmentType, requestPayloadOverrides?: Partial<IExportDefinitionDashboardRequestPayload>) => import("@gooddata/sdk-model").IExportDefinitionMetadataObject | import("@gooddata/sdk-model").IExportDefinitionMetadataObjectDefinition;
16
- export declare const makeWidgetExportDefinition: (format: WidgetAttachmentType, requestPayloadOverrides?: Partial<IExportDefinitionVisualizationObjectRequestPayload>) => import("@gooddata/sdk-model").IExportDefinitionMetadataObject | import("@gooddata/sdk-model").IExportDefinitionMetadataObjectDefinition;
17
- export declare const makeAutomation: (overrides?: Partial<IAutomationMetadataObjectDefinition>) => IAutomationMetadataObjectDefinition;
18
- //# sourceMappingURL=fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,kDAAkD,EACvD,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,oBAAoB,EAE5B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAUvG,OAAO,EAAE,KAAK,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAE1F,eAAO,MAAM,mBAAmB,yEAA6B,CAAC;AAC9D,eAAO,MAAM,YAAY,qCAAsB,CAAC;AAChD,eAAO,MAAM,WAAW,iDAAqB,CAAC;AAC9C,eAAO,MAAM,gBAAgB,8DAA0B,CAAC;AACxD,eAAO,MAAM,mBAAmB,wDAA6B,CAAC;AAE9D,eAAO,MAAM,eAAe,EAAE,OAG7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,QAY9B,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,iCAsB5C,CAAC;AAYF,eAAO,MAAM,aAAa,EAAE,iCAa3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,gCAG1B,CAAC;AAIF,eAAO,MAAM,6BAA6B,2PAaxC,CAAC;AAEH,eAAO,MAAM,0BAA0B,kQAarC,CAAC;AAEH,eAAO,MAAM,cAAc,mGASzB,CAAC"}
@@ -1,105 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { idRef, } from "@gooddata/sdk-model";
3
- import { AUTOMATIONS_CONTEXT as SHARED_AUTOMATIONS_CONTEXT, CURRENT_USER as SHARED_CURRENT_USER, NEXT_FILTER as SHARED_NEXT_FILTER, SENTINEL_CHANNEL as SHARED_SENTINEL_CHANNEL, SENTINEL_WIDGET as SHARED_SENTINEL_WIDGET, WORKSPACE_PARAMETER as SHARED_WORKSPACE_PARAMETER, } from "../../shared/test/fixtures.js";
4
- export const AUTOMATIONS_CONTEXT = SHARED_AUTOMATIONS_CONTEXT;
5
- export const CURRENT_USER = SHARED_CURRENT_USER;
6
- export const NEXT_FILTER = SHARED_NEXT_FILTER;
7
- export const SENTINEL_CHANNEL = SHARED_SENTINEL_CHANNEL;
8
- export const WORKSPACE_PARAMETER = SHARED_WORKSPACE_PARAMETER;
9
- export const SENTINEL_WIDGET = {
10
- ...SHARED_SENTINEL_WIDGET,
11
- insight: idRef("insight-1", "insight"),
12
- };
13
- export const SENTINEL_INSIGHT = {
14
- insight: {
15
- identifier: "insight-1",
16
- uri: "/insight-1",
17
- ref: idRef("insight-1", "insight"),
18
- title: "Insight",
19
- visualizationUrl: "local:table",
20
- buckets: [],
21
- filters: [],
22
- sorts: [],
23
- properties: {},
24
- },
25
- };
26
- export const SCHEDULED_EMAIL_DIALOG_CONTEXT = {
27
- widget: undefined,
28
- insight: undefined,
29
- widgetTitle: undefined,
30
- dashboardId: "dashboard-1",
31
- dashboardTitle: "Dashboard",
32
- dashboardFilters: undefined,
33
- hiddenFilters: [],
34
- commonDateFilterId: undefined,
35
- exportParametersByTab: {},
36
- exportTemplates: [],
37
- dateFormat: "MM/dd/yyyy",
38
- isCrossFiltering: false,
39
- commonDateFilterMode: "active",
40
- dateFiltersModeMap: new Map(),
41
- attributeFiltersModeMap: new Map(),
42
- createScheduledEmail: () => Promise.reject(new Error("not wired in tests")),
43
- saveScheduledEmail: () => Promise.reject(new Error("not wired in tests")),
44
- deleteScheduledEmail: () => Promise.resolve(),
45
- scheduledExportToEdit: undefined,
46
- notificationChannels: [SENTINEL_CHANNEL],
47
- isLoading: false,
48
- };
49
- const EDITED_AUTOMATION = {
50
- type: "automation",
51
- title: "Draft",
52
- notificationChannel: SENTINEL_CHANNEL.id,
53
- recipients: [],
54
- exportDefinitions: [],
55
- schedule: { cron: "0 0 * * *", firstRun: "2026-01-01T00:00:00.000Z", timezone: "Europe/Prague" },
56
- details: { subject: "", message: "" },
57
- };
58
- export const DRAFT_FIXTURE = {
59
- editedAutomation: EDITED_AUTOMATION,
60
- originalAutomation: EDITED_AUTOMATION,
61
- startDate: new Date("2026-01-01T00:00:00.000Z"),
62
- isCronValid: true,
63
- isTitleValid: true,
64
- isSubjectValid: false,
65
- isOnMessageValid: true,
66
- isTimezoneFeatureEnabled: false,
67
- canSelectScheduleTimezone: false,
68
- scheduleTimezoneSelection: { id: undefined, shouldSave: false },
69
- defaultResolvedTimezone: undefined,
70
- scheduleTimezoneIsStale: false,
71
- };
72
- export const DATA_FIXTURE = {
73
- defaultUser: { type: "user", id: "user-1", email: "user1@example.com" },
74
- defaultRecipient: { type: "user", id: "recipient-1", email: "recipient1@example.com" },
75
- };
76
- export const makeDashboardExportDefinition = (format, requestPayloadOverrides = {}) => ({
77
- type: "exportDefinition",
78
- title: "Dashboard export",
79
- requestPayload: {
80
- type: "dashboard",
81
- fileName: "Dashboard",
82
- format,
83
- content: { dashboard: "dashboard-1" },
84
- ...requestPayloadOverrides,
85
- },
86
- });
87
- export const makeWidgetExportDefinition = (format, requestPayloadOverrides = {}) => ({
88
- type: "exportDefinition",
89
- title: "Widget export",
90
- requestPayload: {
91
- type: "visualizationObject",
92
- fileName: "Widget",
93
- format,
94
- content: { visualizationObject: "insight-1", widget: "w1", dashboard: "dashboard-1" },
95
- ...requestPayloadOverrides,
96
- },
97
- });
98
- export const makeAutomation = (overrides = {}) => ({
99
- type: "automation",
100
- title: "Test Scheduled Email",
101
- notificationChannel: "channel-1",
102
- recipients: [],
103
- exportDefinitions: [],
104
- ...overrides,
105
- });
@@ -1,5 +0,0 @@
1
- import { type IDashboardParameter, type INumberParameterConstraints, type IParameterMetadataObject, type IStringParameterConstraints } from "@gooddata/sdk-model";
2
- export declare const workspaceNumberParameter: (id: string, title: string, defaultValue: number, constraints?: INumberParameterConstraints | undefined) => IParameterMetadataObject;
3
- export declare const workspaceStringParameter: (id: string, title: string, defaultValue: string, constraints?: IStringParameterConstraints | undefined) => IParameterMetadataObject;
4
- export declare const dashboardParameter: (id: string, overrides?: Partial<IDashboardParameter>) => IDashboardParameter;
5
- //# sourceMappingURL=parameterFixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameterFixtures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/parameterFixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAEhC,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAEnC,MAAM,qBAAqB,CAAC;AAmB7B,eAAO,MAAM,wBAAwB,sIAMyD,CAAC;AAE/F,eAAO,MAAM,wBAAwB,sIAMyD,CAAC;AAE/F,eAAO,MAAM,kBAAkB,+EAQ7B,CAAC"}
@@ -1,22 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { idRef, } from "@gooddata/sdk-model";
3
- const workspaceParameterWithDefinition = (id, title, definition) => ({
4
- type: "parameter",
5
- id,
6
- title,
7
- ref: idRef(id, "parameter"),
8
- uri: id,
9
- production: true,
10
- deprecated: false,
11
- unlisted: false,
12
- description: "",
13
- definition,
14
- });
15
- export const workspaceNumberParameter = (id, title, defaultValue, constraints) => workspaceParameterWithDefinition(id, title, { type: "NUMBER", defaultValue, constraints });
16
- export const workspaceStringParameter = (id, title, defaultValue, constraints) => workspaceParameterWithDefinition(id, title, { type: "STRING", defaultValue, constraints });
17
- export const dashboardParameter = (id, overrides = {}) => ({
18
- ref: idRef(id, "parameter"),
19
- mode: "active",
20
- parameterType: "NUMBER",
21
- ...overrides,
22
- });
@@ -1,9 +0,0 @@
1
- import { type FilterContextItem, type IInsightWidget, type INotificationChannelIdentifier, type IUser } from "@gooddata/sdk-model";
2
- import { type IAutomationsContextValue } from "../../contexts/AutomationsContext.js";
3
- export declare const CURRENT_USER: IUser;
4
- export declare const SENTINEL_CHANNEL: INotificationChannelIdentifier;
5
- export declare const SENTINEL_WIDGET: IInsightWidget;
6
- export declare const WORKSPACE_PARAMETER: import("@gooddata/sdk-model").IParameterMetadataObject;
7
- export declare const NEXT_FILTER: FilterContextItem;
8
- export declare const AUTOMATIONS_CONTEXT: IAutomationsContextValue;
9
- //# sourceMappingURL=fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/test/fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,KAAK,EAEb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAGrF,eAAO,MAAM,YAAY,EAAE,KAI1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,8BAK9B,CAAC;AAKF,eAAO,MAAM,eAAe,EAAE,cAW7B,CAAC;AAIF,eAAO,MAAM,mBAAmB,wDAA4D,CAAC;AAE7F,eAAO,MAAM,WAAW,EAAE,iBAOzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,wBA4DjC,CAAC"}
@@ -1,101 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { idRef, } from "@gooddata/sdk-model";
3
- import { workspaceStringParameter } from "../automationFilters/parameterFixtures.js";
4
- export const CURRENT_USER = {
5
- ref: idRef("user-1"),
6
- login: "user1@example.com",
7
- email: "user1@example.com",
8
- };
9
- export const SENTINEL_CHANNEL = {
10
- type: "notificationChannel",
11
- destinationType: "webhook",
12
- id: "channel-1",
13
- allowedRecipients: "internal",
14
- };
15
- // Only `ref`/`localIdentifier`/`type`/`ignoreDashboardFilters` are read by the code exercised here
16
- // (widget identity, the insight-widget type guard, and the ignored-filters check); the remaining
17
- // required IWidget fields are filler values.
18
- export const SENTINEL_WIDGET = {
19
- ref: { identifier: "widget-1" },
20
- uri: "/widget-1",
21
- identifier: "widget-1",
22
- localIdentifier: "widget-1",
23
- type: "insight",
24
- title: "Widget",
25
- description: "",
26
- insight: { identifier: "insight-1" },
27
- drills: [],
28
- ignoreDashboardFilters: [],
29
- };
30
- // A catalog parameter with a matching workspace definition, so a stored `{ref, value}` override
31
- // survives reconstruction instead of being dropped as unresolvable.
32
- export const WORKSPACE_PARAMETER = workspaceStringParameter("param-1", "Param 1", "default");
33
- export const NEXT_FILTER = {
34
- attributeFilter: {
35
- localIdentifier: "f1",
36
- displayForm: idRef("df1"),
37
- negativeSelection: false,
38
- attributeElements: { uris: ["/e1"] },
39
- },
40
- };
41
- export const AUTOMATIONS_CONTEXT = {
42
- locale: "en-US",
43
- separators: { decimal: ".", thousand: "," },
44
- settings: undefined,
45
- catalogAttributes: [],
46
- catalogDateDatasets: [],
47
- catalogMeasures: [],
48
- dateFilterConfig: {
49
- availableGranularities: [],
50
- dateFilterOptions: {},
51
- getGranularitiesForTab: () => [],
52
- getOptionsForTab: () => undefined,
53
- },
54
- dateFilterContextConfig: undefined,
55
- attributeFilterConfigs: [],
56
- attributeFilterConfigsByTab: {},
57
- attributeFilterSelectionTypeMap: new Map(),
58
- attributeFilterSelectionTypeMapByTab: {},
59
- dateFilterConfigs: [],
60
- dateFilterConfigsByTab: {},
61
- dateFilterConfigOverridesByTab: {},
62
- measureValueFilterConfigs: [],
63
- measureValueFilterConfigsByTab: {},
64
- commonDateFilterId: undefined,
65
- lockedFilters: [],
66
- hiddenFilters: [],
67
- availableFilters: [],
68
- automationFiltersByTab: [],
69
- defaultSelectedFilters: [],
70
- automationAvailableFilters: [],
71
- maxAutomationsRecipients: 5,
72
- isExecutionTimestampMode: false,
73
- allowHourlyRecurrence: false,
74
- currentUser: CURRENT_USER,
75
- weekStart: "Monday",
76
- timezone: "Europe/Prague",
77
- isWhiteLabeled: false,
78
- isSecondaryTitleVisible: false,
79
- externalRecipient: undefined,
80
- features: {
81
- canCreateAutomation: true,
82
- enableAlertOncePerInterval: false,
83
- enableAnomalyDetectionAlert: false,
84
- canUseAiAssistant: false,
85
- canManageWorkspace: false,
86
- enableSlideshowExports: false,
87
- enableAutomationEvaluationMode: false,
88
- },
89
- parameters: {
90
- enabled: true,
91
- stringParametersEnabled: true,
92
- catalog: [WORKSPACE_PARAMETER],
93
- catalogIsLoaded: true,
94
- dashboardParametersByTab: {},
95
- },
96
- tabIds: [],
97
- widgetLocalIdToTabIdMap: {},
98
- getCatalogAttributeByRef: () => undefined,
99
- getAttributeFilterDisplayForm: () => undefined,
100
- widgetExistsByRef: () => false,
101
- };
@@ -1,3 +0,0 @@
1
- import { type IDashboardProps } from "../types.js";
2
- export declare const DashboardMainContent: import("react").ForwardRefExoticComponent<IDashboardProps & import("react").RefAttributes<unknown>>;
3
- //# sourceMappingURL=DashboardMainContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DashboardMainContent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/DashboardMainContent.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAInD,eAAO,MAAM,oBAAoB,qGAkD/B,CAAC"}
@@ -1,39 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2022-2026 GoodData Corporation
3
- import { forwardRef, useEffect } from "react";
4
- import cx from "classnames";
5
- import { changeFilterContextSelection } from "../../../model/commands/filters.js";
6
- import { useDispatchDashboardCommand } from "../../../model/react/useDispatchDashboardCommand.js";
7
- import { useWidgetSelection } from "../../../model/react/useWidgetSelection.js";
8
- import { useDashboardDrop } from "../../dragAndDrop/useDashboardDrop.js";
9
- import { useWidgetDragHoverHandlers as useFlexibleWidgetDragHoverHandlers } from "../../flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js";
10
- import { DashboardLayout } from "../../widget/dashboardLayout/DashboardLayout.js";
11
- import { DateFilterConfigWarnings } from "./DateFilterConfigWarnings.js";
12
- export const DashboardMainContent = forwardRef(function DashboardMainContent(_, ref) {
13
- const onFiltersChange = useDispatchDashboardCommand(changeFilterContextSelection);
14
- const { deselectWidgets } = useWidgetSelection();
15
- const useWidgetDragHoverHandlers = useFlexibleWidgetDragHoverHandlers;
16
- const { handleDragHoverEnd } = useWidgetDragHoverHandlers();
17
- const [{ isOver }, dropRef] = useDashboardDrop([
18
- "insight",
19
- "insight-placeholder",
20
- "insightListItem",
21
- "kpi",
22
- "kpi-placeholder",
23
- "richText",
24
- "richTextListItem",
25
- "visualizationSwitcher",
26
- "visualizationSwitcherListItem",
27
- "dashboardLayout",
28
- "dashboardLayoutListItem",
29
- ], {});
30
- useEffect(() => {
31
- if (!isOver) {
32
- handleDragHoverEnd();
33
- }
34
- }, [handleDragHoverEnd, isOver]);
35
- const classNames = cx("gd-flex-container", "root-flex-maincontent", "gd-grid-layout", "gd-auto-resized-dashboard-descriptions");
36
- return (_jsx("div", { className: "gd-flex-item-stretch dash-section dash-section-kpis", ref: ref, children: _jsxs("div", { className: classNames, ref: dropRef, onClick: deselectWidgets, children: [
37
- _jsx(DateFilterConfigWarnings, {}), _jsx(DashboardLayout, { onFiltersChange: onFiltersChange })
38
- ] }) }));
39
- });
@@ -1,16 +0,0 @@
1
- import { type CustomCreatePanelItemComponent } from "../../componentDefinition/types.js";
2
- import { type IWrapCreatePanelItemWithDragComponent } from "../types.js";
3
- /**
4
- * @internal
5
- */
6
- interface IDraggableKpiCreatePanelItemProps {
7
- CreatePanelItemComponent: CustomCreatePanelItemComponent;
8
- WrapCreatePanelItemWithDragComponent?: IWrapCreatePanelItemWithDragComponent;
9
- disabled?: boolean;
10
- }
11
- /**
12
- * @internal
13
- */
14
- export declare function DraggableKpiCreatePanelItem({ CreatePanelItemComponent, WrapCreatePanelItemWithDragComponent, disabled }: IDraggableKpiCreatePanelItemProps): import("react/jsx-runtime").JSX.Element;
15
- export {};
16
- //# sourceMappingURL=DraggableKpiCreatePanelItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DraggableKpiCreatePanelItem.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AAEzF,OAAO,EAAsB,KAAK,qCAAqC,EAAE,MAAM,aAAa,CAAC;AAE7F;;GAEG;AACH,UAAU,iCAAiC;IACvC,wBAAwB,EAAE,8BAA8B,CAAC;IACzD,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAUD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,EACxC,wBAAwB,EACxB,oCAAoC,EACpC,QAAQ,EACX,EAAE,iCAAiC,2CAUnC"}
@@ -1,17 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2022-2026 GoodData Corporation
3
- import { KPI_WIDGET_SIZE_INFO_DEFAULT } from "@gooddata/sdk-ui-ext";
4
- import { DraggableCreatePanelItem } from "../DraggableCreatePanelItem.js";
5
- const dragItem = {
6
- type: "kpi-placeholder",
7
- size: {
8
- gridHeight: KPI_WIDGET_SIZE_INFO_DEFAULT.height.default,
9
- gridWidth: KPI_WIDGET_SIZE_INFO_DEFAULT.width.default,
10
- },
11
- };
12
- /**
13
- * @internal
14
- */
15
- export function DraggableKpiCreatePanelItem({ CreatePanelItemComponent, WrapCreatePanelItemWithDragComponent, disabled, }) {
16
- return (_jsx(DraggableCreatePanelItem, { Component: CreatePanelItemComponent, WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, disabled: disabled, dragItem: dragItem, hideDefaultPreview: false }));
17
- }
@@ -1,3 +0,0 @@
1
- import { type IKpiDraggingComponentProps } from "../../componentDefinition/types.js";
2
- export declare function KpiDraggingComponent({ item }: IKpiDraggingComponentProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=KpiDraggingComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KpiDraggingComponent.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAKrF,wBAAgB,oBAAoB,CAAC,EAAE,IAAI,EAAE,EAAE,0BAA0B,2CAMxE"}
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2022-2025 GoodData Corporation
3
- import { ShortenedText } from "@gooddata/sdk-ui-kit";
4
- /*
5
- * @internal
6
- */
7
- export function KpiDraggingComponent({ item }) {
8
- return (_jsx("div", { className: "move-kpi-placeholder", children: _jsx(ShortenedText, { children: item.title }) }));
9
- }
@@ -1,6 +0,0 @@
1
- interface IDeleteButton {
2
- deleteFilter: () => void;
3
- }
4
- export declare function DeleteButton({ deleteFilter }: IDeleteButton): import("react/jsx-runtime").JSX.Element;
5
- export {};
6
- //# sourceMappingURL=DeleteButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeleteButton.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.tsx"],"names":[],"mappings":"AAMA,UAAU,aAAa;IACnB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC5B;AAID,wBAAgB,YAAY,CAAC,EAAE,YAAY,EAAE,EAAE,aAAa,2CAgB3D"}
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2021-2025 GoodData Corporation
3
- import { FormattedMessage } from "react-intl";
4
- import { Bubble, BubbleHoverTrigger, Button } from "@gooddata/sdk-ui-kit";
5
- const bubbleAlignPoints = [{ align: "bc tc", offset: { x: -1, y: 5 } }];
6
- export function DeleteButton({ deleteFilter }) {
7
- return (_jsx("div", { className: "delete-button-wrapper", children: _jsxs(BubbleHoverTrigger, { children: [
8
- _jsx(Button, { className: "gd-button-link gd-button-icon-only gd-icon-trash delete-button s-delete-button", disabled: false, onClick: deleteFilter }, "delete-button"), _jsx(Bubble, { className: "bubble-primary", alignPoints: bubbleAlignPoints, children: _jsx(FormattedMessage, { id: "attributesDropdown.removeTooltip" }) })
9
- ] }) }));
10
- }
@@ -1,8 +0,0 @@
1
- interface IConfigurationPanelControlsProps {
2
- closeHandler: () => void;
3
- onSave: () => void;
4
- isSaveButtonEnabled: boolean;
5
- }
6
- export declare function DropdownControls({ closeHandler, isSaveButtonEnabled, onSave }: IConfigurationPanelControlsProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=DropdownControls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DropdownControls.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.tsx"],"names":[],"mappings":"AAMA,UAAU,gCAAgC;IACtC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,gBAAgB,CAAC,EAC7B,YAAY,EACZ,mBAAmB,EACnB,MAAM,EACT,EAAE,gCAAgC,2CAwBlC"}
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2022-2025 GoodData Corporation
3
- import { useIntl } from "react-intl";
4
- import { Button } from "@gooddata/sdk-ui-kit";
5
- export function DropdownControls({ closeHandler, isSaveButtonEnabled, onSave, }) {
6
- const intl = useIntl();
7
- const onSaveHandler = () => {
8
- onSave();
9
- closeHandler();
10
- };
11
- return (_jsxs("div", { className: "gd-dialog-footer dropdown-footer", children: [
12
- _jsx(Button, { className: "gd-button-secondary s-attribute-filter-dropdown-configuration-cancel-button", value: intl.formatMessage({ id: "cancel" }), disabled: false, onClick: () => closeHandler() }), _jsx(Button, { className: "gd-button-action s-attribute-filter-dropdown-configuration-save-button", value: intl.formatMessage({ id: "attributesDropdown.save" }), disabled: !isSaveButtonEnabled, onClick: onSaveHandler })
13
- ] }));
14
- }
@@ -1,6 +0,0 @@
1
- interface IConfigurationButton {
2
- setIsConfigurationOpen: (isOpen: boolean) => void;
3
- }
4
- export declare function ConfigurationButton({ setIsConfigurationOpen }: IConfigurationButton): import("react/jsx-runtime").JSX.Element;
5
- export {};
6
- //# sourceMappingURL=ConfigurationButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigurationButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC1B,sBAAsB,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD;AAED,wBAAgB,mBAAmB,CAAC,EAAE,sBAAsB,EAAE,EAAE,oBAAoB,2CAiBnF"}
@@ -1,8 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // (C) 2021-2025 GoodData Corporation
3
- import { FormattedMessage } from "react-intl";
4
- export function ConfigurationButton({ setIsConfigurationOpen }) {
5
- return (_jsx("div", { className: "attribute-filter-dropdown-configuration-button", children: _jsx("div", { className: "gd-list-item s-attribute-filter-dropdown-configuration-button", onClick: () => {
6
- setIsConfigurationOpen(true);
7
- }, children: _jsx("div", { className: "gd-icon-settings button-wrapper", children: _jsx("span", { className: "button-text", children: _jsx(FormattedMessage, { id: "attributesDropdown.configuration" }) }) }) }) }));
8
- }
@@ -1,8 +0,0 @@
1
- import { type SyntheticEvent } from "react";
2
- export interface IToggleButtonProps {
3
- text: string;
4
- isOpened: boolean;
5
- toggleDropdown: (e: SyntheticEvent) => void;
6
- }
7
- export declare function DisplayFormButton({ isOpened, text: title, toggleDropdown }: IToggleButtonProps): import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=DisplayFormButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DisplayFormButton.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAC/C;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,kBAAkB,2CAsB9F"}
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import classNames from "classnames";
3
- import { Button } from "@gooddata/sdk-ui-kit";
4
- export function DisplayFormButton({ isOpened, text: title, toggleDropdown }) {
5
- const buttonClassNames = classNames("gd-button-primary", "gd-button-small", "button-dropdown", "dropdown-button", "attribute-display-form-button", "s-attribute-display-form-button", {
6
- "is-active": isOpened,
7
- });
8
- const iconRight = isOpened ? "icon-navigateup" : "icon-navigatedown";
9
- return (_jsx(Button, { className: buttonClassNames, title: title, value: title, onClick: toggleDropdown, iconRight: iconRight }));
10
- }