@gooddata/sdk-ui-dashboard 11.54.0-alpha.4 → 11.54.0-alpha.6

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 (243) hide show
  1. package/NOTICE +93513 -17188
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts +6 -0
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +7 -0
  7. package/esm/index.d.ts +3 -2
  8. package/esm/index.d.ts.map +1 -1
  9. package/esm/model/DashboardTester.d.ts +150 -0
  10. package/esm/model/DashboardTester.d.ts.map +1 -0
  11. package/esm/model/DashboardTester.js +208 -0
  12. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts +7 -0
  13. package/esm/model/commandHandlers/dashboard/common/parameterHydration.d.ts.map +1 -1
  14. package/esm/model/commandHandlers/dashboard/common/parameterHydration.js +17 -1
  15. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  16. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +27 -1
  17. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadAutomationTimezone.d.ts +9 -0
  18. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadAutomationTimezone.d.ts.map +1 -0
  19. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadAutomationTimezone.js +27 -0
  20. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +7 -7
  22. package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.d.ts.map +1 -1
  23. package/esm/model/commandHandlers/timezone/changeDashboardTimezoneOverrideHandler.js +2 -11
  24. package/esm/model/commands/timezone.d.ts +10 -2
  25. package/esm/model/commands/timezone.d.ts.map +1 -1
  26. package/esm/model/commands/timezone.js +5 -2
  27. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts +6 -0
  28. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.d.ts.map +1 -0
  29. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogDestination.js +13 -0
  30. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts +7 -0
  31. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.d.ts.map +1 -0
  32. package/esm/presentation/automations/alerting/DefaultAlertingDialog/AlertingDialogRecipients.js +12 -0
  33. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +1 -1
  34. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  35. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +61 -22
  36. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts +8 -0
  37. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.d.ts.map +1 -0
  38. package/esm/presentation/automations/alerting/DefaultAlertingDialog/FormField.js +8 -0
  39. package/esm/presentation/automations/alerting/types.d.ts +72 -4
  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 +60 -15
  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/components/RecipientsSelect/RecipientsSelect.d.ts +1 -5
  47. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
  48. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +2 -2
  49. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +0 -4
  50. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
  51. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts +6 -0
  52. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.d.ts.map +1 -0
  53. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogDestination.js +10 -0
  54. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts +6 -0
  55. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.d.ts.map +1 -0
  56. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/ScheduledEmailDialogRecipients.js +8 -0
  57. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts.map +1 -1
  58. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +10 -8
  59. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +2 -2
  60. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts.map +1 -1
  61. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +3 -4
  62. package/esm/presentation/automations/scheduledEmail/types.d.ts +86 -6
  63. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  64. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts +25 -0
  65. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.d.ts.map +1 -0
  66. package/esm/presentation/automations/shared/slots/AutomationDialogActionBar.js +22 -0
  67. package/esm/presentation/automations/shared/slots/types.d.ts +120 -27
  68. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  69. package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts +1 -2
  70. package/esm/presentation/dashboardContexts/ExportCsvDialogContext.d.ts.map +1 -1
  71. package/esm/presentation/dialogs/ExportCsvDialog.d.ts +0 -1
  72. package/esm/presentation/dialogs/ExportCsvDialog.d.ts.map +1 -1
  73. package/esm/presentation/dialogs/ExportCsvDialog.js +2 -2
  74. package/esm/presentation/dialogs/ExportCsvDialogProvider.d.ts.map +1 -1
  75. package/esm/presentation/dialogs/ExportCsvDialogProvider.js +1 -1
  76. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +12 -15
  77. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  78. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +12 -15
  79. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +12 -15
  80. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  81. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +14 -17
  82. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +12 -15
  83. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  84. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +14 -17
  85. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +0 -60
  86. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  87. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +0 -60
  88. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +12 -15
  89. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  90. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +14 -17
  91. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +10 -15
  92. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  93. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +12 -17
  94. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +12 -15
  95. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  96. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +14 -17
  97. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +12 -15
  98. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  99. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +14 -17
  100. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +12 -15
  101. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  102. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +14 -17
  103. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +12 -15
  104. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  105. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +14 -17
  106. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +12 -15
  107. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  108. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +14 -17
  109. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +12 -15
  110. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  111. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +12 -15
  112. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +12 -15
  113. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  114. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +14 -17
  115. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +12 -15
  116. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  117. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +14 -17
  118. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +12 -15
  119. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  120. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +14 -17
  121. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +12 -15
  122. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  123. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +16 -19
  124. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +12 -15
  125. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  126. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +16 -19
  127. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +12 -15
  128. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  129. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +14 -17
  130. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +12 -15
  131. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  132. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +14 -17
  133. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +12 -15
  134. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  135. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +14 -17
  136. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +12 -15
  137. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  138. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +14 -17
  139. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +12 -15
  140. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  141. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +14 -17
  142. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +12 -15
  143. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  144. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +14 -17
  145. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +12 -15
  146. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  147. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +12 -15
  148. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +12 -15
  149. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  150. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +14 -17
  151. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +12 -15
  152. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  153. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +14 -17
  154. package/esm/presentation/widget/common/useInsightExport.d.ts.map +1 -1
  155. package/esm/presentation/widget/common/useInsightExport.js +2 -4
  156. package/esm/sdk-ui-dashboard.d.ts +289 -35
  157. package/package.json +21 -21
  158. package/styles/css/main.css +369 -0
  159. package/styles/css/main.css.map +1 -1
  160. package/esm/_staging/dateFilterConfig/fixtures.d.ts +0 -10
  161. package/esm/_staging/dateFilterConfig/fixtures.d.ts.map +0 -1
  162. package/esm/_staging/dateFilterConfig/fixtures.js +0 -60
  163. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts +0 -8
  164. package/esm/model/commandHandlers/filterContext/filterViewParameters.d.ts.map +0 -1
  165. package/esm/model/commandHandlers/filterContext/filterViewParameters.js +0 -9
  166. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts +0 -16
  167. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.d.ts.map +0 -1
  168. package/esm/plugins/customizationApis/fixtures/TestingDashboardCustomizationLogger.js +0 -30
  169. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts +0 -3
  170. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.d.ts.map +0 -1
  171. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/AlertDropdown.js +0 -46
  172. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts +0 -11
  173. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.d.ts.map +0 -1
  174. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/components/PauseAlertRunner.js +0 -31
  175. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts +0 -19
  176. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.d.ts.map +0 -1
  177. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useFiltersForDashboardScheduledExportInfo.js +0 -28
  178. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts +0 -13
  179. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.d.ts.map +0 -1
  180. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +0 -56
  181. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts +0 -3
  182. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +0 -1
  183. package/esm/presentation/dashboard/components/DashboardMainContent.js +0 -39
  184. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts +0 -16
  185. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.d.ts.map +0 -1
  186. package/esm/presentation/dragAndDrop/draggableWidget/DraggableKpiCreatePanelItem.js +0 -17
  187. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts +0 -3
  188. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.d.ts.map +0 -1
  189. package/esm/presentation/dragAndDrop/draggableWidget/KpiDraggingComponent.js +0 -9
  190. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts +0 -6
  191. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.d.ts.map +0 -1
  192. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/DeleteButton.js +0 -10
  193. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts +0 -8
  194. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.d.ts.map +0 -1
  195. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/common/DropdownControls.js +0 -14
  196. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts +0 -6
  197. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.d.ts.map +0 -1
  198. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/ConfigurationButton.js +0 -8
  199. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts +0 -8
  200. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.d.ts.map +0 -1
  201. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormButton.js +0 -10
  202. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts +0 -8
  203. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.d.ts.map +0 -1
  204. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormDropdown.js +0 -33
  205. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts +0 -8
  206. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.d.ts.map +0 -1
  207. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/displayFormDropdown/DisplayFormItem.js +0 -33
  208. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts +0 -7
  209. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.d.ts.map +0 -1
  210. package/esm/presentation/widget/common/configuration/AttributeFilterConfiguration.js +0 -39
  211. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts +0 -9
  212. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.d.ts.map +0 -1
  213. package/esm/presentation/widget/common/useWidgetBrokenAlertsQuery.js +0 -26
  214. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts +0 -7
  215. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.d.ts.map +0 -1
  216. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelector.js +0 -37
  217. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts +0 -8
  218. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.d.ts.map +0 -1
  219. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorBody.js +0 -15
  220. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts +0 -7
  221. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.d.ts.map +0 -1
  222. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorItem.js +0 -8
  223. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts +0 -7
  224. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.d.ts.map +0 -1
  225. package/esm/presentation/widget/insight/configuration/DrillMeasureSelector/DrillMeasureSelectorList.js +0 -5
  226. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts +0 -12
  227. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.d.ts.map +0 -1
  228. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTitle.js +0 -12
  229. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +0 -25
  230. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +0 -1
  231. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +0 -5
  232. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +0 -29
  233. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +0 -1
  234. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +0 -137
  235. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +0 -11
  236. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +0 -1
  237. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +0 -42
  238. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +0 -48
  239. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +0 -1
  240. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +0 -171
  241. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts +0 -4
  242. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.d.ts.map +0 -1
  243. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useWidgetAutomationFilters.js +0 -46
@@ -1,10 +0,0 @@
1
- import { type IAbsoluteDateFilterForm, type IAbsoluteDateFilterPreset, type IAllTimeDateFilterOption, type IEmptyValuesDateFilterOption, type IRelativeDateFilterForm, type IRelativeDateFilterPreset } from "@gooddata/sdk-model";
2
- export declare const allTime: IAllTimeDateFilterOption;
3
- export declare const year2019: IAbsoluteDateFilterPreset;
4
- export declare const absoluteForm: IAbsoluteDateFilterForm;
5
- export declare const lastMonth: IRelativeDateFilterPreset;
6
- export declare const lastYear: IRelativeDateFilterPreset;
7
- export declare const last30days: IRelativeDateFilterPreset;
8
- export declare const relativeForm: IRelativeDateFilterForm;
9
- export declare const emptyValues: IEmptyValuesDateFilterOption;
10
- //# sourceMappingURL=fixtures.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../src/_staging/dateFilterConfig/fixtures.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EACjC,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,OAAO,EAAE,wBAKrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,yBAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,uBAK1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,yBAQvB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,yBAQtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,yBAQxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,uBAM1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,4BAIzB,CAAC"}
@@ -1,60 +0,0 @@
1
- // (C) 2019-2026 GoodData Corporation
2
- export const allTime = {
3
- type: "allTime",
4
- localIdentifier: "ALL_TIME",
5
- name: "",
6
- visible: true,
7
- };
8
- export const year2019 = {
9
- type: "absolutePreset",
10
- from: "2019-01-01",
11
- localIdentifier: "YEAR_2019",
12
- name: "",
13
- to: "2019-12-31",
14
- visible: true,
15
- };
16
- export const absoluteForm = {
17
- type: "absoluteForm",
18
- localIdentifier: "ABSOLUTE_FORM",
19
- name: "",
20
- visible: true,
21
- };
22
- export const lastMonth = {
23
- type: "relativePreset",
24
- from: -1,
25
- to: -1,
26
- granularity: "GDC.time.month",
27
- localIdentifier: "LAST_MONTH",
28
- name: "",
29
- visible: true,
30
- };
31
- export const lastYear = {
32
- type: "relativePreset",
33
- from: -1,
34
- to: -1,
35
- granularity: "GDC.time.year",
36
- localIdentifier: "LAST_YEAR",
37
- name: "",
38
- visible: true,
39
- };
40
- export const last30days = {
41
- from: -29,
42
- to: 0,
43
- granularity: "GDC.time.date",
44
- type: "relativePreset",
45
- localIdentifier: "LAST_30_DAYS",
46
- name: "",
47
- visible: true,
48
- };
49
- export const relativeForm = {
50
- type: "relativeForm",
51
- availableGranularities: ["GDC.time.year", "GDC.time.month"],
52
- localIdentifier: "RELATIVE_FORM",
53
- name: "",
54
- visible: true,
55
- };
56
- export const emptyValues = {
57
- type: "emptyValues",
58
- localIdentifier: "EMPTY_VALUES",
59
- visible: true,
60
- };
@@ -1,8 +0,0 @@
1
- import { type IDashboardParameter, type IParameterMetadataObject, type ObjRef, type ParameterValue } from "@gooddata/sdk-model";
2
- interface IResolvedFilterViewParameter {
3
- ref: ObjRef;
4
- value: ParameterValue | undefined;
5
- }
6
- export declare function resolveFilterViewParameterValues(parameters: ReadonlyArray<IDashboardParameter>, workspaceParameters: ReadonlyArray<IParameterMetadataObject>): IResolvedFilterViewParameter[];
7
- export {};
8
- //# sourceMappingURL=filterViewParameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterViewParameters.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewParameters.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,MAAM,EACX,KAAK,cAAc,EAEtB,MAAM,qBAAqB,CAAC;AAI7B,UAAU,4BAA4B;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC;CACrC;AAED,wBAAgB,gCAAgC,CAC5C,UAAU,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAC9C,mBAAmB,EAAE,aAAa,CAAC,wBAAwB,CAAC,GAC7D,4BAA4B,EAAE,CAQhC"}
@@ -1,9 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { areObjRefsEqual, } from "@gooddata/sdk-model";
3
- import { computeHydratedRuntimeOverride } from "../../store/tabs/parameters/parametersHelpers.js";
4
- export function resolveFilterViewParameterValues(parameters, workspaceParameters) {
5
- return parameters.map((parameter) => ({
6
- ref: parameter.ref,
7
- value: computeHydratedRuntimeOverride(parameter, workspaceParameters.find((item) => areObjRefsEqual(item.ref, parameter.ref))),
8
- }));
9
- }
@@ -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,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,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
- }
@@ -1,8 +0,0 @@
1
- import { type IAttributeDisplayFormMetadataObject, type ObjRef } from "@gooddata/sdk-model";
2
- export interface IAttributeDisplayFormDropdownProps {
3
- displayForms: IAttributeDisplayFormMetadataObject[];
4
- selectedDisplayForm: ObjRef;
5
- onChange: (displayForm: ObjRef) => void;
6
- }
7
- export declare function DisplayFormDropdown({ displayForms, selectedDisplayForm, onChange }: IAttributeDisplayFormDropdownProps): import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=DisplayFormDropdown.d.ts.map