@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,46 +0,0 @@
1
- import { type IDashboardWithReferences } from "@gooddata/sdk-backend-spi";
2
- import { type IDrillToAttributeUrl, type IDrillToCustomUrl, type IDrillToDashboard, type IDrillToInsight, type IFilterContext, type IListedDashboard } from "@gooddata/sdk-model";
3
- import { type IAvailableDrillTargets } from "@gooddata/sdk-ui";
4
- import { type IInaccessibleDashboard } from "../types/inaccessibleDashboardTypes.js";
5
- export declare const SimpleDashboardIdentifier = "adb4fefa-c5ad-410e-bb2c-d6933e0ec7a0";
6
- export declare const SimpleDashboardWithReferences: IDashboardWithReferences;
7
- export declare const SimpleDashboardLayout: import("@gooddata/sdk-model").IDashboardLayout<import("@gooddata/sdk-model").IDashboardWidget>;
8
- export declare const SimpleDashboardFilterContext: IFilterContext;
9
- /**
10
- * drillToAttributeUrl on simple dashboard
11
- */
12
- export declare const drillToAttributeUrlWidgetRef: any;
13
- /**
14
- * First widget from first section
15
- */
16
- export declare const KpiWidgetRef: import("@gooddata/sdk-model").ObjRef;
17
- /**
18
- * First widget from second section
19
- */
20
- export declare const SimpleSortedTableWidgetRef: any;
21
- export declare const SimpleSortedTableWidgetInsightRef: import("@gooddata/sdk-model").ObjRef;
22
- export declare const SimpleSortedTableWidgetInsightIdentifier: string;
23
- export declare const SimpleSortedTableWidgetInsight: import("@gooddata/sdk-model").IInsight;
24
- /**
25
- * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
26
- */
27
- export declare const SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
28
- export declare const SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
29
- /**
30
- * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
31
- */
32
- export declare const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
33
- /**
34
- * This mock is real reported drillTargets after firs render
35
- */
36
- export declare const SimpleDashboardSimpleSortedTableWidgetDrillTargets: IAvailableDrillTargets;
37
- export declare const SimpleDashboarddrillToAttributeUrlWidgetDrillTargets: IAvailableDrillTargets;
38
- export declare const DrillToDashboardWithThreeSectionsLocalIdentifier = "b4c6999557164163a9e0e75ec74cb8db";
39
- export declare const DrillToDashboardFromWonMeasureDefinition: IDrillToDashboard;
40
- export declare const DrillToDashboardFromProductAttributeDefinition: IDrillToDashboard;
41
- export declare const DrillToToInsightFromWonMeasureDefinition: IDrillToInsight;
42
- export declare const DrillToCustomUrlFromMeasureDefinition: IDrillToCustomUrl;
43
- export declare const DrillToAttributeUrlFromMeasureDefinition: IDrillToAttributeUrl;
44
- export declare const InaccessibleDashboard: IInaccessibleDashboard;
45
- export declare const SimpleDashboardListed: IListedDashboard;
46
- //# sourceMappingURL=SimpleDashboard.fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleDashboard.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/SimpleDashboard.fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAEH,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,cAAc,EAEnB,KAAK,gBAAgB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAIrF,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,eAAO,MAAM,6BAA6B,0BAET,CAAC;AAClC,eAAO,MAAM,qBAAqB,gGAAkD,CAAC;AACrF,eAAO,MAAM,4BAA4B,gBACL,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,4BAA4B,KAAiE,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,YAAY,sCAAwE,CAAC;AAClG;;GAEG;AACH,eAAO,MAAM,0BAA0B,KAAiE,CAAC;AACzG,eAAO,MAAM,iCAAiC,sCACsB,CAAC;AACrE,eAAO,MAAM,wCAAwC,QACsB,CAAC;AAC5E,eAAO,MAAM,8BAA8B,wCAAuD,CAAC;AACnG;;GAEG;AACH,eAAO,MAAM,yDAAyD,qCAAqC,CAAC;AAC5G,eAAO,MAAM,+DAA+D,qCACtC,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,mCAAmC,qCAAqC,CAAC;AAEtF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,sBAqGhE,CAAC;AAEF,eAAO,MAAM,oDAAoD,EAAE,sBAkFlE,CAAC;AAEF,eAAO,MAAM,gDAAgD,qCAAqC,CAAC;AAEnG,eAAO,MAAM,wCAAwC,EAAE,iBActD,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,iBAc5D,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,eAWtD,CAAC;AAEF,eAAO,MAAM,qCAAqC,EAAE,iBAanD,CAAC;AAEF,eAAO,MAAM,wCAAwC,EAAE,oBAkBtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,sBAKnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,gBAWnC,CAAC"}
@@ -1,315 +0,0 @@
1
- // (C) 2021-2026 GoodData Corporation
2
- import { ReferenceRecordings } from "@gooddata/reference-workspace";
3
- import { idRef, } from "@gooddata/sdk-model";
4
- import { ComplexDashboardIdentifier } from "./ComplexDashboard.fixtures.js";
5
- export const SimpleDashboardIdentifier = "adb4fefa-c5ad-410e-bb2c-d6933e0ec7a0";
6
- export const SimpleDashboardWithReferences = ReferenceRecordings.Recordings.metadata?.dashboards?.["dash_adb4fefa_c5ad_410e_bb2c_d6933e0ec7a0"].obj;
7
- export const SimpleDashboardLayout = SimpleDashboardWithReferences.dashboard.layout;
8
- export const SimpleDashboardFilterContext = SimpleDashboardWithReferences.dashboard
9
- .filterContext;
10
- /**
11
- * drillToAttributeUrl on simple dashboard
12
- */
13
- export const drillToAttributeUrlWidgetRef = SimpleDashboardLayout.sections[2].items[0].widget.ref;
14
- /**
15
- * First widget from first section
16
- */
17
- export const KpiWidgetRef = SimpleDashboardLayout.sections[0].items[0].widget.ref;
18
- /**
19
- * First widget from second section
20
- */
21
- export const SimpleSortedTableWidgetRef = SimpleDashboardLayout.sections[1].items[0].widget.ref;
22
- export const SimpleSortedTableWidgetInsightRef = SimpleDashboardWithReferences.references.insights[2].insight.ref;
23
- export const SimpleSortedTableWidgetInsightIdentifier = SimpleDashboardWithReferences.references.insights[2].insight.identifier;
24
- export const SimpleSortedTableWidgetInsight = SimpleDashboardWithReferences.references.insights[2];
25
- /**
26
- * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
27
- */
28
- export const SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
29
- export const SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
30
- /**
31
- * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
32
- */
33
- export const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
34
- /**
35
- * This mock is real reported drillTargets after firs render
36
- */
37
- export const SimpleDashboardSimpleSortedTableWidgetDrillTargets = {
38
- measures: [
39
- {
40
- measure: {
41
- measureHeaderItem: {
42
- name: "Won",
43
- format: "$#,##0.00",
44
- localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
45
- uri: "obj_1272",
46
- identifier: "acugFHNJgsBy",
47
- ref: {
48
- identifier: "obj_1272",
49
- },
50
- },
51
- },
52
- attributes: [
53
- {
54
- attributeHeader: {
55
- name: "Product Name",
56
- localIdentifier: "3b196b9f8de04b61ba37762fa28fcf4f",
57
- uri: "obj_1055",
58
- identifier: "label.product.id.name",
59
- formOf: {
60
- name: "Product",
61
- uri: "obj_1054",
62
- identifier: "attr.product.id",
63
- ref: {
64
- identifier: "obj_1054",
65
- },
66
- },
67
- ref: {
68
- identifier: "obj_1055",
69
- },
70
- },
71
- },
72
- {
73
- attributeHeader: {
74
- name: "Department",
75
- localIdentifier: "d25f36e4914f4ed18ee6b057d18decd9",
76
- uri: "obj_1089",
77
- identifier: "label.owner.department",
78
- formOf: {
79
- name: "Department",
80
- uri: "obj_1088",
81
- identifier: "attr.owner.department",
82
- ref: {
83
- identifier: "obj_1088",
84
- },
85
- },
86
- ref: {
87
- identifier: "obj_1089",
88
- },
89
- },
90
- },
91
- ],
92
- },
93
- ],
94
- attributes: [
95
- {
96
- attribute: {
97
- attributeHeader: {
98
- name: "Product Name",
99
- localIdentifier: SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier,
100
- uri: "obj_1055",
101
- identifier: "label.product.id.name",
102
- formOf: {
103
- name: "Product",
104
- uri: "obj_1054",
105
- identifier: "attr.product.id",
106
- ref: {
107
- identifier: "obj_1054",
108
- },
109
- },
110
- ref: {
111
- identifier: "obj_1055",
112
- },
113
- },
114
- },
115
- intersectionAttributes: [
116
- {
117
- attributeHeader: {
118
- name: "Product Name",
119
- localIdentifier: "3b196b9f8de04b61ba37762fa28fcf4f",
120
- uri: "obj_1055",
121
- identifier: "label.product.id.name",
122
- formOf: {
123
- name: "Product",
124
- uri: "obj_1054",
125
- identifier: "attr.product.id",
126
- ref: {
127
- identifier: "obj_1054",
128
- },
129
- },
130
- ref: {
131
- identifier: "obj_1055",
132
- },
133
- },
134
- },
135
- ],
136
- },
137
- ],
138
- };
139
- export const SimpleDashboarddrillToAttributeUrlWidgetDrillTargets = {
140
- measures: [
141
- {
142
- measure: {
143
- measureHeaderItem: {
144
- name: "# Of Opportunities",
145
- format: "#,##0.00",
146
- localIdentifier: "8e874c44107d41809d0d5e7bbd1c19ff",
147
- uri: "obj_1268",
148
- identifier: "abQgDWx4gOUu",
149
- ref: {
150
- identifier: "obj_1268",
151
- },
152
- },
153
- },
154
- attributes: [
155
- {
156
- attributeHeader: {
157
- name: "Opportunity Name",
158
- localIdentifier: "a75a78a7e2194c339b4f6b8694777803",
159
- uri: "obj_1067",
160
- identifier: "label.opportunity.id.name",
161
- formOf: {
162
- name: "Opportunity",
163
- uri: "obj_1066",
164
- identifier: "attr.opportunity.id",
165
- ref: {
166
- identifier: "obj_1066",
167
- },
168
- },
169
- ref: {
170
- identifier: "obj_1067",
171
- },
172
- },
173
- },
174
- ],
175
- },
176
- ],
177
- attributes: [
178
- {
179
- attribute: {
180
- attributeHeader: {
181
- name: "Opportunity Name",
182
- localIdentifier: "a75a78a7e2194c339b4f6b8694777803",
183
- uri: "obj_1067",
184
- identifier: "label.opportunity.id.name",
185
- formOf: {
186
- name: "Opportunity",
187
- uri: "obj_1066",
188
- identifier: "attr.opportunity.id",
189
- ref: {
190
- identifier: "obj_1066",
191
- },
192
- },
193
- ref: {
194
- identifier: "obj_1067",
195
- },
196
- },
197
- },
198
- intersectionAttributes: [
199
- {
200
- attributeHeader: {
201
- name: "Opportunity Name",
202
- localIdentifier: "a75a78a7e2194c339b4f6b8694777803",
203
- uri: "obj_1067",
204
- identifier: "label.opportunity.id.name",
205
- formOf: {
206
- name: "Opportunity",
207
- uri: "obj_1066",
208
- identifier: "attr.opportunity.id",
209
- ref: {
210
- identifier: "obj_1066",
211
- },
212
- },
213
- ref: {
214
- identifier: "obj_1067",
215
- },
216
- },
217
- },
218
- ],
219
- },
220
- ],
221
- };
222
- export const DrillToDashboardWithThreeSectionsLocalIdentifier = "b4c6999557164163a9e0e75ec74cb8db";
223
- export const DrillToDashboardFromWonMeasureDefinition = {
224
- localIdentifier: "b4c6999557164163a9e0e75ec74cb854",
225
- type: "drillToDashboard",
226
- origin: {
227
- type: "drillFromMeasure",
228
- measure: {
229
- localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
230
- },
231
- },
232
- target: {
233
- identifier: ComplexDashboardIdentifier,
234
- type: "analyticalDashboard",
235
- },
236
- transition: "in-place",
237
- };
238
- export const DrillToDashboardFromProductAttributeDefinition = {
239
- localIdentifier: "b4c6999557164163a9e0e75ec74cb8d4",
240
- type: "drillToDashboard",
241
- origin: {
242
- type: "drillFromAttribute",
243
- attribute: {
244
- localIdentifier: SimpleDashboardSimpleSortedTableProductAttributeLocalIdentifier,
245
- },
246
- },
247
- target: {
248
- identifier: ComplexDashboardIdentifier,
249
- type: "analyticalDashboard",
250
- },
251
- transition: "in-place",
252
- };
253
- export const DrillToToInsightFromWonMeasureDefinition = {
254
- localIdentifier: DrillToDashboardWithThreeSectionsLocalIdentifier,
255
- type: "drillToInsight",
256
- origin: {
257
- type: "drillFromMeasure",
258
- measure: {
259
- localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
260
- },
261
- },
262
- transition: "pop-up",
263
- target: SimpleSortedTableWidgetInsightRef,
264
- };
265
- export const DrillToCustomUrlFromMeasureDefinition = {
266
- localIdentifier: DrillToDashboardWithThreeSectionsLocalIdentifier,
267
- type: "drillToCustomUrl",
268
- transition: "new-window",
269
- origin: {
270
- type: "drillFromMeasure",
271
- measure: {
272
- localIdentifier: SimpleDashboardSimpleSortedTableWonMeasureLocalIdentifier,
273
- },
274
- },
275
- target: {
276
- url: "https://www.example.org?dep={attribute_title(label.owner.department)}",
277
- },
278
- };
279
- export const DrillToAttributeUrlFromMeasureDefinition = {
280
- localIdentifier: "b4c6999557164163a9e0e75ec74cb8d3",
281
- type: "drillToAttributeUrl",
282
- transition: "new-window",
283
- origin: {
284
- type: "drillFromMeasure",
285
- measure: {
286
- localIdentifier: NumOfOpportunitiesMeasureIdentifier,
287
- },
288
- },
289
- target: {
290
- displayForm: {
291
- identifier: "obj_1067",
292
- },
293
- hyperlinkDisplayForm: {
294
- identifier: "obj_1069",
295
- },
296
- },
297
- };
298
- export const InaccessibleDashboard = {
299
- title: "Inaccessible Dashboard",
300
- ref: idRef("inaccessibleDashboardId"),
301
- uri: "inaccessibleDashboardUri",
302
- identifier: "inaccessibleDashboardId",
303
- };
304
- export const SimpleDashboardListed = {
305
- ref: SimpleDashboardWithReferences.dashboard.ref,
306
- identifier: SimpleDashboardWithReferences.dashboard.identifier,
307
- uri: SimpleDashboardWithReferences.dashboard.uri,
308
- title: SimpleDashboardWithReferences.dashboard.title,
309
- description: SimpleDashboardWithReferences.dashboard.description,
310
- updated: SimpleDashboardWithReferences.dashboard.updated,
311
- created: SimpleDashboardWithReferences.dashboard.created,
312
- tags: SimpleDashboardWithReferences.dashboard.tags,
313
- shareStatus: SimpleDashboardWithReferences.dashboard.shareStatus,
314
- availability: "full",
315
- };
@@ -1,28 +0,0 @@
1
- import { type IDashboardWithReferences } from "@gooddata/sdk-backend-spi";
2
- import { type IFilterContext, type IListedDashboard } from "@gooddata/sdk-model";
3
- export declare const SimpleDashboardNoDrillsIdentifier = "44a9d0ed-8a06-4ffd-b16c-6281707acfcf";
4
- export declare const SimpleDashboardNoDrillsWithReferences: IDashboardWithReferences;
5
- export declare const SimpleDashboardNoDrillsLayout: import("@gooddata/sdk-model").IDashboardLayout<import("@gooddata/sdk-model").IDashboardWidget>;
6
- export declare const SimpleDashboardNoDrillsFilterContext: IFilterContext;
7
- /**
8
- * First widget from first section
9
- */
10
- export declare const KpiWidgetRef: import("@gooddata/sdk-model").ObjRef;
11
- /**
12
- * First widget from second section
13
- */
14
- export declare const SimpleSortedTableWidgetRef: any;
15
- export declare const SimpleSortedTableWidgetInsightRef: import("@gooddata/sdk-model").ObjRef;
16
- export declare const SimpleSortedTableWidgetInsightIdentifier: string;
17
- export declare const SimpleSortedTableWidgetInsight: import("@gooddata/sdk-model").IInsight;
18
- /**
19
- * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
20
- */
21
- export declare const SimpleDashboardNoDrillsSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
22
- export declare const SimpleDashboardNoDrillsSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
23
- /**
24
- * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
25
- */
26
- export declare const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
27
- export declare const SimpleDashboardNoDrillsListed: IListedDashboard;
28
- //# sourceMappingURL=SimpleDashboardNoDrills.fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleDashboardNoDrills.fixtures.d.ts","sourceRoot":"","sources":["../../../src/model/fixtures/SimpleDashboardNoDrills.fixtures.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,KAAK,cAAc,EAAmB,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAElG,eAAO,MAAM,iCAAiC,yCAAyC,CAAC;AACxF,eAAO,MAAM,qCAAqC,0BAEjB,CAAC;AAClC,eAAO,MAAM,6BAA6B,gGAA0D,CAAC;AACrG,eAAO,MAAM,oCAAoC,gBACb,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,YAAY,sCAAgF,CAAC;AAC1G;;GAEG;AACH,eAAO,MAAM,0BAA0B,KAC/B,CAAC;AACT,eAAO,MAAM,iCAAiC,sCAC8B,CAAC;AAC7E,eAAO,MAAM,wCAAwC,QAC8B,CAAC;AACpF,eAAO,MAAM,8BAA8B,wCAA+D,CAAC;AAC3G;;GAEG;AACH,eAAO,MAAM,iEAAiE,qCACxC,CAAC;AACvC,eAAO,MAAM,uEAAuE,qCAC9C,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,mCAAmC,qCAAqC,CAAC;AAEtF,eAAO,MAAM,6BAA6B,EAAE,gBAW3C,CAAC"}
@@ -1,40 +0,0 @@
1
- // (C) 2021-2026 GoodData Corporation
2
- import { ReferenceRecordings } from "@gooddata/reference-workspace";
3
- export const SimpleDashboardNoDrillsIdentifier = "44a9d0ed-8a06-4ffd-b16c-6281707acfcf";
4
- export const SimpleDashboardNoDrillsWithReferences = ReferenceRecordings.Recordings.metadata?.dashboards?.["dash_44a9d0ed_8a06_4ffd_b16c_6281707acfcf"].obj;
5
- export const SimpleDashboardNoDrillsLayout = SimpleDashboardNoDrillsWithReferences.dashboard.layout;
6
- export const SimpleDashboardNoDrillsFilterContext = SimpleDashboardNoDrillsWithReferences.dashboard
7
- .filterContext;
8
- /**
9
- * First widget from first section
10
- */
11
- export const KpiWidgetRef = SimpleDashboardNoDrillsLayout.sections[0].items[0].widget.ref;
12
- /**
13
- * First widget from second section
14
- */
15
- export const SimpleSortedTableWidgetRef = SimpleDashboardNoDrillsLayout.sections[1].items[0].widget
16
- .ref;
17
- export const SimpleSortedTableWidgetInsightRef = SimpleDashboardNoDrillsWithReferences.references.insights[1].insight.ref;
18
- export const SimpleSortedTableWidgetInsightIdentifier = SimpleDashboardNoDrillsWithReferences.references.insights[1].insight.identifier;
19
- export const SimpleSortedTableWidgetInsight = SimpleDashboardNoDrillsWithReferences.references.insights[1];
20
- /**
21
- * localIdentifier of Won Measure of Simple SortedTable Widget on Simple Dashboard
22
- */
23
- export const SimpleDashboardNoDrillsSimpleSortedTableWonMeasureLocalIdentifier = "31c22194386b408aa80ab90b966e85a7";
24
- export const SimpleDashboardNoDrillsSimpleSortedTableProductAttributeLocalIdentifier = "3b196b9f8de04b61ba37762fa28fcf4f";
25
- /**
26
- * simple dashboard drillToAttributeUrl NumOfOpportunities measure identifier
27
- */
28
- export const NumOfOpportunitiesMeasureIdentifier = "8e874c44107d41809d0d5e7bbd1c19ff";
29
- export const SimpleDashboardNoDrillsListed = {
30
- ref: SimpleDashboardNoDrillsWithReferences.dashboard.ref,
31
- identifier: SimpleDashboardNoDrillsWithReferences.dashboard.identifier,
32
- uri: SimpleDashboardNoDrillsWithReferences.dashboard.uri,
33
- title: SimpleDashboardNoDrillsWithReferences.dashboard.title,
34
- description: SimpleDashboardNoDrillsWithReferences.dashboard.description,
35
- updated: SimpleDashboardNoDrillsWithReferences.dashboard.updated,
36
- created: SimpleDashboardNoDrillsWithReferences.dashboard.created,
37
- tags: SimpleDashboardNoDrillsWithReferences.dashboard.tags,
38
- shareStatus: SimpleDashboardNoDrillsWithReferences.dashboard.shareStatus,
39
- availability: "full",
40
- };
@@ -1,16 +0,0 @@
1
- import { type IDashboardPluginContract_V1 } from "../../plugin.js";
2
- import { type IDashboardCustomizationLogger } from "../customizationLogging.js";
3
- export declare class TestingDashboardCustomizationLogger implements IDashboardCustomizationLogger {
4
- private readonly setCurrentPluginImpl;
5
- private readonly logImpl;
6
- private readonly debugImpl;
7
- private readonly warnImpl;
8
- private readonly errorImpl;
9
- constructor(functions: Partial<IDashboardCustomizationLogger>);
10
- setCurrentPlugin(plugin: IDashboardPluginContract_V1 | undefined): void;
11
- log(message: string, ...optionalParams: any[]): void;
12
- debug(message: string, ...optionalParams: any[]): void;
13
- warn(message: string, ...optionalParams: any[]): void;
14
- error(message: string, ...optionalParams: any[]): void;
15
- }
16
- //# sourceMappingURL=TestingDashboardCustomizationLogger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TestingDashboardCustomizationLogger.d.ts","sourceRoot":"","sources":["../../../../src/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAEhF,qBAAa,mCAAoC,YAAW,6BAA6B;IACrF,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAgE;IACrG,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmD;IAC3E,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqD;IAC/E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoD;IAC7E,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAqD;IAE/E,YAAY,SAAS,EAAE,OAAO,CAAC,6BAA6B,CAAC,EAM5D;IAED,gBAAgB,CAAC,MAAM,EAAE,2BAA2B,GAAG,SAAS,GAAG,IAAI,CAEtE;IACD,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAEnD;IACD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAErD;IACD,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAEpD;IACD,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAErD;CACJ"}
@@ -1,30 +0,0 @@
1
- // (C) 2022-2026 GoodData Corporation
2
- export class TestingDashboardCustomizationLogger {
3
- setCurrentPluginImpl;
4
- logImpl;
5
- debugImpl;
6
- warnImpl;
7
- errorImpl;
8
- constructor(functions) {
9
- this.setCurrentPluginImpl = functions.setCurrentPlugin;
10
- this.logImpl = functions.log;
11
- this.debugImpl = functions.debug;
12
- this.warnImpl = functions.warn;
13
- this.errorImpl = functions.error;
14
- }
15
- setCurrentPlugin(plugin) {
16
- this.setCurrentPluginImpl?.(plugin);
17
- }
18
- log(message, ...optionalParams) {
19
- this.logImpl?.(message, optionalParams);
20
- }
21
- debug(message, ...optionalParams) {
22
- this.debugImpl?.(message, optionalParams);
23
- }
24
- warn(message, ...optionalParams) {
25
- this.warnImpl?.(message, optionalParams);
26
- }
27
- error(message, ...optionalParams) {
28
- this.errorImpl?.(message, optionalParams);
29
- }
30
- }
@@ -1,3 +0,0 @@
1
- import { type IAlertDropdownProps } from "../../types.js";
2
- export declare function AlertDropdown({ isReadOnly, paused, alignTo, onClose, onEdit, onPause, onDelete, onResume }: IAlertDropdownProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=AlertDropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertDropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAyB1D,wBAAgB,aAAa,CAAC,EAC1B,UAAU,EACV,MAAM,EACN,OAAO,EACP,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACX,EAAE,mBAAmB,2CA4DrB"}
@@ -1,46 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // (C) 2020-2026 GoodData Corporation
3
- import { Fragment } from "react";
4
- import cx from "classnames";
5
- import { FormattedMessage, defineMessages } from "react-intl";
6
- import { Overlay, Separator } from "@gooddata/sdk-ui-kit";
7
- function DropdownItem({ onClick, labelIntlKey, classNames }) {
8
- const cssClasses = cx("gd-list-item gd-menu-item", classNames);
9
- return (_jsx("div", { className: cssClasses, onClick: onClick, children: _jsx(FormattedMessage, { id: labelIntlKey }) }));
10
- }
11
- const labelMessages = defineMessages({
12
- delete: { id: "alerting.alert.menu.delete" },
13
- pause: { id: "alerting.alert.menu.pause" },
14
- resume: { id: "alerting.alert.menu.resume" },
15
- edit: { id: "alerting.alert.menu.edit" },
16
- });
17
- export function AlertDropdown({ isReadOnly, paused, alignTo, onClose, onEdit, onPause, onDelete, onResume, }) {
18
- const editItem = {
19
- labelIntlKey: labelMessages.edit.id,
20
- classNames: "s-edit-alert-button",
21
- onClick: onEdit,
22
- };
23
- const pauseItem = paused
24
- ? {
25
- labelIntlKey: labelMessages.resume.id,
26
- classNames: "s-resume-alert-button",
27
- onClick: onResume,
28
- }
29
- : {
30
- labelIntlKey: labelMessages.pause.id,
31
- classNames: "s-pause-alert-button",
32
- onClick: onPause,
33
- };
34
- const deleteItem = {
35
- labelIntlKey: labelMessages.delete.id,
36
- classNames: "s-delete-alert-button deleteItem",
37
- onClick: onDelete,
38
- separator: isReadOnly ? undefined : "up",
39
- };
40
- const dropdownActions = isReadOnly
41
- ? [deleteItem]
42
- : [editItem, pauseItem, deleteItem];
43
- return (_jsx(Overlay, { className: "s-alert-dropdown", closeOnOutsideClick: true, alignTo: alignTo, alignPoints: [{ align: "br tr" }, { align: "tr br" }], onClose: onClose, positionType: "fixed", children: _jsx("div", { className: cx("gd-notifications-channels-dialog-menu", "gd-dropdown gd-menu-wrapper gd-menu-wrapper-small-spacing"), children: dropdownActions.map((item) => {
44
- return (_jsxs(Fragment, { children: [item.separator === "up" && _jsx(Separator, {}), _jsx(DropdownItem, { onClick: item.onClick, labelIntlKey: item.labelIntlKey, classNames: item.classNames }), item.separator === "down" && _jsx(Separator, {})] }, item.labelIntlKey));
45
- }) }) }));
46
- }
@@ -1,11 +0,0 @@
1
- import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition } from "@gooddata/sdk-model";
2
- import { type GoodDataSdkError } from "@gooddata/sdk-ui";
3
- interface IPauseAlertRunnerProps {
4
- alert: IAutomationMetadataObject | null;
5
- pause: boolean;
6
- onSuccess?: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition, pause: boolean) => void;
7
- onError?: (error: GoodDataSdkError, pause: boolean) => void;
8
- }
9
- export declare function PauseAlertRunner({ alert, pause, onSuccess, onError }: IPauseAlertRunnerProps): null;
10
- export {};
11
- //# sourceMappingURL=PauseAlertRunner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PauseAlertRunner.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EAC3C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,gBAAgB,EAAgB,MAAM,kBAAkB,CAAC;AAIvE,UAAU,sBAAsB;IAC5B,KAAK,EAAE,yBAAyB,GAAG,IAAI,CAAC;IACxC,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,CACR,KAAK,EAAE,yBAAyB,GAAG,mCAAmC,EACtE,KAAK,EAAE,OAAO,KACb,IAAI,CAAC;IACV,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/D;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,sBAAsB,QA4B5F"}
@@ -1,31 +0,0 @@
1
- // (C) 2022-2026 GoodData Corporation
2
- import { useEffect } from "react";
3
- import { convertError } from "@gooddata/sdk-ui";
4
- import { useAlertingManagementDialogContext } from "../../../contexts/AlertingManagementDialogContext.js";
5
- export function PauseAlertRunner({ alert, pause, onSuccess, onError }) {
6
- const { pauseAlert, resumeAlert } = useAlertingManagementDialogContext();
7
- useEffect(() => {
8
- if (!alert) {
9
- return;
10
- }
11
- if (pause) {
12
- const alertToPause = {
13
- ...alert,
14
- alert: { ...alert.alert, trigger: { ...alert.alert?.trigger, state: "PAUSED" } },
15
- };
16
- pauseAlert(alertToPause)
17
- .then((updatedAlert) => onSuccess?.(updatedAlert, true))
18
- .catch((err) => onError?.(convertError(err), true));
19
- }
20
- else {
21
- const alertToResume = {
22
- ...alert,
23
- alert: { ...alert.alert, trigger: { ...alert.alert?.trigger, state: "ACTIVE" } },
24
- };
25
- resumeAlert(alertToResume)
26
- .then((updatedAlert) => onSuccess?.(updatedAlert, false))
27
- .catch((err) => onError?.(convertError(err), false));
28
- }
29
- }, [alert, onError, onSuccess, pause, pauseAlert, resumeAlert]);
30
- return null;
31
- }
@@ -1,13 +0,0 @@
1
- import { type IdentifierRef } from "@gooddata/sdk-model";
2
- import { type IAlertingDialogContextValue } from "../../contexts/AlertingDialogContext.js";
3
- import { type AlertMetric } from "../types.js";
4
- export declare const AUTOMATIONS_CONTEXT: import("../../contexts/AutomationsContext.js").IAutomationsContextValue;
5
- export declare const CURRENT_USER: import("@gooddata/sdk-model").IUser;
6
- export declare const NEXT_FILTER: import("@gooddata/sdk-model").FilterContextItem;
7
- export declare const SENTINEL_CHANNEL: import("@gooddata/sdk-model").INotificationChannelIdentifier;
8
- export declare const SENTINEL_WIDGET: import("@gooddata/sdk-model").IInsightWidget;
9
- export declare const WORKSPACE_PARAMETER: import("@gooddata/sdk-model").IParameterMetadataObject;
10
- export declare const SENTINEL_MEASURE: AlertMetric;
11
- export declare const PARAMETER_REF: IdentifierRef;
12
- export declare const ALERTING_DIALOG_CONTEXT: IAlertingDialogContextValue;
13
- //# sourceMappingURL=fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/state/fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAqB,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AAS3F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,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,eAAe,8CAAyB,CAAC;AACtD,eAAO,MAAM,mBAAmB,wDAA6B,CAAC;AAE9D,eAAO,MAAM,gBAAgB,EAAE,WAI9B,CAAC;AAIF,eAAO,MAAM,aAAa,EAAE,aAA6C,CAAC;AAE1E,eAAO,MAAM,uBAAuB,EAAE,2BAmBrC,CAAC"}
@@ -1,37 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { idRef, newMeasure } 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 SENTINEL_WIDGET = SHARED_SENTINEL_WIDGET;
9
- export const WORKSPACE_PARAMETER = SHARED_WORKSPACE_PARAMETER;
10
- export const SENTINEL_MEASURE = {
11
- measure: newMeasure("m1", (m) => m.localId("m1")),
12
- isPrimary: true,
13
- comparators: [],
14
- };
15
- // A catalog parameter with a matching workspace definition, so a stored `{ref, value}` override
16
- // survives `reconstructAutomationParametersFromValues` instead of being dropped as unresolvable.
17
- export const PARAMETER_REF = idRef("param-1", "parameter");
18
- export const ALERTING_DIALOG_CONTEXT = {
19
- mode: "create",
20
- widget: SENTINEL_WIDGET,
21
- insight: undefined,
22
- widgetTitle: undefined,
23
- dashboardId: undefined,
24
- dashboardFilters: [],
25
- hiddenFilters: [],
26
- executionResultByRef: () => undefined,
27
- parameterValues: [],
28
- dashboardParameters: [],
29
- commonDateFilterId: undefined,
30
- dashboardEvaluationFrequency: undefined,
31
- createAlert: () => Promise.reject(new Error("not wired in tests")),
32
- saveAlert: () => Promise.reject(new Error("not wired in tests")),
33
- deleteAlert: () => Promise.resolve(),
34
- alertToEdit: undefined,
35
- notificationChannels: [SENTINEL_CHANNEL],
36
- isLoading: false,
37
- };