@gooddata/sdk-ui-dashboard 11.68.0-alpha.0 → 11.68.0-alpha.10

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 (436) hide show
  1. package/NOTICE +11781 -60390
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +6 -5
  7. package/esm/_staging/catalog/computedAttributes.d.ts.map +1 -1
  8. package/esm/_staging/catalog/computedAttributes.js +2 -2
  9. package/esm/_staging/dashboard/dashboardLayout.d.ts.map +1 -1
  10. package/esm/_staging/dashboard/dashboardLayout.js +3 -2
  11. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -1
  12. package/esm/_staging/dashboard/flexibleLayout/facade/item.js +2 -2
  13. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts.map +1 -1
  14. package/esm/_staging/dashboard/flexibleLayout/facade/section.js +4 -4
  15. package/esm/_staging/dateFilterConfig/merge.d.ts.map +1 -1
  16. package/esm/_staging/dateFilterConfig/merge.js +2 -2
  17. package/esm/_staging/dateFilterConfig/validation.d.ts.map +1 -1
  18. package/esm/_staging/dateFilterConfig/validation.js +3 -3
  19. package/esm/_staging/drills/drillingUtils.d.ts.map +1 -1
  20. package/esm/_staging/drills/drillingUtils.js +2 -2
  21. package/esm/_staging/objectUtils/setOrDelete.d.ts.map +1 -1
  22. package/esm/_staging/objectUtils/setOrDelete.js +3 -3
  23. package/esm/_staging/sharedHooks/useEventToastMessage.d.ts.map +1 -1
  24. package/esm/_staging/sharedHooks/useEventToastMessage.js +3 -3
  25. package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts.map +1 -1
  26. package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js +2 -2
  27. package/esm/index.d.ts +1 -1
  28. package/esm/index.d.ts.map +1 -1
  29. package/esm/index.js +1 -1
  30. package/esm/kdaDialog/components/KdaKeyDriverChart.d.ts.map +1 -1
  31. package/esm/kdaDialog/components/KdaKeyDriverChart.js +1 -2
  32. package/esm/kdaDialog/components/bars/AttributeBar.d.ts.map +1 -1
  33. package/esm/kdaDialog/components/bars/AttributeBar.js +11 -6
  34. package/esm/kdaDialog/composition/AddFilterButton.d.ts +3 -1
  35. package/esm/kdaDialog/composition/AddFilterButton.d.ts.map +1 -1
  36. package/esm/kdaDialog/composition/AddFilterButton.js +4 -4
  37. package/esm/kdaDialog/composition/FiltersBar.d.ts.map +1 -1
  38. package/esm/kdaDialog/composition/FiltersBar.js +23 -1
  39. package/esm/kdaDialog/composition/KeyDriversFooter.d.ts.map +1 -1
  40. package/esm/kdaDialog/composition/KeyDriversFooter.js +8 -5
  41. package/esm/kdaDialog/composition/hooks/usePeriodChangeHandler.js +11 -9
  42. package/esm/kdaDialog/types.d.ts +5 -0
  43. package/esm/kdaDialog/types.d.ts.map +1 -1
  44. package/esm/kdaDialog/utils.d.ts.map +1 -1
  45. package/esm/kdaDialog/utils.js +4 -1
  46. package/esm/model/DashboardTester.d.ts.map +1 -1
  47. package/esm/model/DashboardTester.js +2 -0
  48. package/esm/model/commandHandlers/common/drillRevalidationUtils.d.ts.map +1 -1
  49. package/esm/model/commandHandlers/common/drillRevalidationUtils.js +3 -3
  50. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
  51. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +23 -6
  52. package/esm/model/commandHandlers/common/validateDrills.d.ts.map +1 -1
  53. package/esm/model/commandHandlers/common/validateDrills.js +2 -2
  54. package/esm/model/commandHandlers/dashboard/changeSharingHandler.d.ts.map +1 -1
  55. package/esm/model/commandHandlers/dashboard/changeSharingHandler.js +2 -2
  56. package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
  57. package/esm/model/commandHandlers/dashboard/common/filterViews.js +7 -7
  58. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  59. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +5 -4
  60. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  61. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +2 -2
  62. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadInaccessibleDashboards.d.ts.map +1 -1
  63. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadInaccessibleDashboards.js +3 -3
  64. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
  65. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +2 -2
  66. package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js +1 -1
  67. package/esm/model/commandHandlers/drill/assertSafeDrillUrl.d.ts +4 -0
  68. package/esm/model/commandHandlers/drill/assertSafeDrillUrl.d.ts.map +1 -0
  69. package/esm/model/commandHandlers/drill/assertSafeDrillUrl.js +8 -0
  70. package/esm/model/commandHandlers/drill/common/filterValuesResolver.d.ts.map +1 -1
  71. package/esm/model/commandHandlers/drill/common/filterValuesResolver.js +2 -2
  72. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +2 -2
  73. package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.d.ts.map +1 -1
  74. package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.js +2 -0
  75. package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.d.ts.map +1 -1
  76. package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.js +2 -0
  77. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  78. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +4 -4
  79. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.d.ts.map +1 -1
  80. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js +33 -4
  81. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
  82. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js +2 -2
  83. package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.d.ts.map +1 -1
  84. package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.js +2 -2
  85. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  86. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -2
  87. package/esm/model/commandHandlers/filterContext/attributeFilter/replaceAttributeFilterItemSelectionHandler.js +2 -2
  88. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
  89. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +2 -2
  90. package/esm/model/commandHandlers/filterContext/attributeFilter/validation/computedAttributesEnabledValidation.d.ts.map +1 -1
  91. package/esm/model/commandHandlers/filterContext/attributeFilter/validation/computedAttributesEnabledValidation.js +2 -2
  92. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  93. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +8 -8
  94. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  95. package/esm/model/commandHandlers/filterContext/common.js +4 -4
  96. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
  97. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +3 -2
  98. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
  99. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +2 -2
  100. package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
  101. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +3 -3
  102. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
  103. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +2 -2
  104. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
  105. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +3 -3
  106. package/esm/model/commandHandlers/layout/validation/itemValidation.d.ts.map +1 -1
  107. package/esm/model/commandHandlers/layout/validation/itemValidation.js +2 -2
  108. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts.map +1 -1
  109. package/esm/model/commandHandlers/layout/validation/layoutValidation.js +6 -6
  110. package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.d.ts.map +1 -1
  111. package/esm/model/commandHandlers/parameters/changeParameterValuesHandler.js +2 -2
  112. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts +3 -0
  113. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts.map +1 -0
  114. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.js +15 -0
  115. package/esm/model/commandHandlers/parameters/dashboardParameterRoots.d.ts.map +1 -1
  116. package/esm/model/commandHandlers/parameters/dashboardParameterRoots.js +3 -3
  117. package/esm/model/commandHandlers/parameters/parameterDependenciesWorker.d.ts.map +1 -1
  118. package/esm/model/commandHandlers/parameters/parameterDependenciesWorker.js +2 -2
  119. package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
  120. package/esm/model/commandHandlers/render/renderingWorker.js +2 -2
  121. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  122. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +9 -9
  123. package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.d.ts.map +1 -1
  124. package/esm/model/commandHandlers/widgets/addDrillDownForInsightWidgetHandler.js +2 -2
  125. package/esm/model/commandHandlers/widgets/changeKpiWidgetMeasureHandler.d.ts.map +1 -1
  126. package/esm/model/commandHandlers/widgets/changeKpiWidgetMeasureHandler.js +2 -2
  127. package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.d.ts.map +1 -1
  128. package/esm/model/commandHandlers/widgets/modifyDrillDownForInsightWidgetHandler.js +2 -2
  129. package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.d.ts.map +1 -1
  130. package/esm/model/commandHandlers/widgets/removeDrillDownForInsightWidgetHandler.js +2 -2
  131. package/esm/model/commandHandlers/widgets/validation/filterValidation.d.ts.map +1 -1
  132. package/esm/model/commandHandlers/widgets/validation/filterValidation.js +6 -6
  133. package/esm/model/commandHandlers/widgets/validation/insightDrillDefinitionUtils.d.ts.map +1 -1
  134. package/esm/model/commandHandlers/widgets/validation/insightDrillDefinitionUtils.js +5 -6
  135. package/esm/model/commands/filters.d.ts +16 -0
  136. package/esm/model/commands/filters.d.ts.map +1 -1
  137. package/esm/model/commands/filters.js +21 -0
  138. package/esm/model/events/base.js +3 -3
  139. package/esm/model/events/dashboard.d.ts +11 -4
  140. package/esm/model/events/dashboard.d.ts.map +1 -1
  141. package/esm/model/events/util.d.ts.map +1 -1
  142. package/esm/model/events/util.js +3 -3
  143. package/esm/model/queryServices/queryConnectingAttributes.js +2 -2
  144. package/esm/model/queryServices/queryInsightAttributesMeta.js +3 -3
  145. package/esm/model/queryServices/queryInsightDateDatasets.js +4 -4
  146. package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
  147. package/esm/model/react/useInitializeDashboardStore.js +7 -0
  148. package/esm/model/react/useWidgetFilters.d.ts.map +1 -1
  149. package/esm/model/react/useWidgetFilters.js +2 -2
  150. package/esm/model/store/_infra/queryProcessing.d.ts.map +1 -1
  151. package/esm/model/store/_infra/queryProcessing.js +3 -2
  152. package/esm/model/store/_infra/queryService.d.ts.map +1 -1
  153. package/esm/model/store/_infra/queryService.js +4 -3
  154. package/esm/model/store/_infra/selectors.d.ts.map +1 -1
  155. package/esm/model/store/_infra/selectors.js +3 -3
  156. package/esm/model/store/catalog/catalogSelectors.d.ts.map +1 -1
  157. package/esm/model/store/catalog/catalogSelectors.js +7 -6
  158. package/esm/model/store/config/configSelectors.d.ts +0 -6
  159. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  160. package/esm/model/store/config/configSelectors.js +0 -8
  161. package/esm/model/store/dashboardStore.d.ts +4 -0
  162. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  163. package/esm/model/store/dashboardStore.js +9 -3
  164. package/esm/model/store/drillTargets/drillTargetsSelectors.d.ts.map +1 -1
  165. package/esm/model/store/drillTargets/drillTargetsSelectors.js +2 -2
  166. package/esm/model/store/meta/metaSelectors.d.ts +16 -1
  167. package/esm/model/store/meta/metaSelectors.d.ts.map +1 -1
  168. package/esm/model/store/meta/metaSelectors.js +63 -12
  169. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigReducers.d.ts.map +1 -1
  170. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigReducers.js +3 -3
  171. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  172. package/esm/model/store/tabs/filterContext/filterContextReducers.js +5 -5
  173. package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
  174. package/esm/model/store/tabs/filterContext/filterContextSelectors.js +11 -10
  175. package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
  176. package/esm/model/store/tabs/filterContext/filterContextUtils.js +2 -2
  177. package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
  178. package/esm/model/store/tabs/layout/layoutSelectors.js +3 -3
  179. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +7 -0
  180. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  181. package/esm/model/store/tabs/parameters/parametersHelpers.js +31 -9
  182. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +21 -1
  183. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  184. package/esm/model/store/tabs/parameters/parametersSelectors.js +29 -4
  185. package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
  186. package/esm/model/store/widgetDrills/widgetDrillSelectors.js +11 -12
  187. package/esm/model/types/dateFilterTypes.d.ts.map +1 -1
  188. package/esm/model/types/dateFilterTypes.js +3 -3
  189. package/esm/model/types/layoutTypes.d.ts.map +1 -1
  190. package/esm/model/types/layoutTypes.js +8 -8
  191. package/esm/model/types/widgetTypes.d.ts.map +1 -1
  192. package/esm/model/types/widgetTypes.js +2 -2
  193. package/esm/model/utils/alertsUtils.d.ts.map +1 -1
  194. package/esm/model/utils/alertsUtils.js +2 -2
  195. package/esm/model/utils/filterResolver.d.ts.map +1 -1
  196. package/esm/model/utils/filterResolver.js +2 -2
  197. package/esm/plugins/customizationApis/fluidLayoutCustomizer.d.ts.map +1 -1
  198. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +5 -5
  199. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -1
  200. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +1 -1
  201. package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.d.ts.map +1 -1
  202. package/esm/presentation/automations/alerting/state/useAlertDraftFilterWrites.js +9 -5
  203. package/esm/presentation/automations/alerting/state/useAlertFormValidation.d.ts.map +1 -1
  204. package/esm/presentation/automations/alerting/state/useAlertFormValidation.js +2 -2
  205. package/esm/presentation/automations/alerting/utils/items.d.ts.map +1 -1
  206. package/esm/presentation/automations/alerting/utils/items.js +20 -23
  207. package/esm/presentation/automations/alerting/utils/transformation.d.ts.map +1 -1
  208. package/esm/presentation/automations/alerting/utils/transformation.js +2 -2
  209. package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.d.ts.map +1 -1
  210. package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.js +2 -2
  211. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
  212. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +2 -2
  213. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +2 -2
  214. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.d.ts.map +1 -1
  215. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.js +14 -14
  216. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts +1 -0
  217. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.d.ts.map +1 -1
  218. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.js +10 -4
  219. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts.map +1 -1
  220. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +2 -1
  221. package/esm/presentation/automations/shared/automationFilters/hooks/useAutomationVisibleFilters.d.ts.map +1 -1
  222. package/esm/presentation/automations/shared/automationFilters/hooks/useAutomationVisibleFilters.js +3 -3
  223. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
  224. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +4 -3
  225. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
  226. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +2 -2
  227. package/esm/presentation/automations/shared/automationFilters/utils.d.ts.map +1 -1
  228. package/esm/presentation/automations/shared/automationFilters/utils.js +6 -6
  229. package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
  230. package/esm/presentation/automations/shared/filters/conversions.js +2 -2
  231. package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
  232. package/esm/presentation/automations/shared/utils/automationUtils.js +6 -5
  233. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
  234. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +3 -2
  235. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  236. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +2 -7
  237. package/esm/presentation/dashboard/components/useDrillValidationMessages.d.ts.map +1 -1
  238. package/esm/presentation/dashboard/components/useDrillValidationMessages.js +5 -5
  239. package/esm/presentation/dashboard/defaultDashboardThemeModifier.d.ts.map +1 -1
  240. package/esm/presentation/dashboard/defaultDashboardThemeModifier.js +4 -4
  241. package/esm/presentation/dashboard/types.d.ts +2 -0
  242. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  243. package/esm/presentation/dashboardSettingsDialog/useDialogData.d.ts.map +1 -1
  244. package/esm/presentation/dashboardSettingsDialog/useDialogData.js +2 -2
  245. package/esm/presentation/deleteDialog/DefaultDeleteDialog.js +2 -2
  246. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
  247. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +34 -9
  248. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParameters.d.ts +3 -2
  249. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParameters.d.ts.map +1 -1
  250. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParameters.js +3 -2
  251. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/ParameterParametersSection.d.ts +7 -0
  252. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/ParameterParametersSection.d.ts.map +1 -0
  253. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditorParametersSections/ParameterParametersSection.js +20 -0
  254. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/ParameterDetail.d.ts +2 -1
  255. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/ParameterDetail.d.ts.map +1 -1
  256. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/ParameterDetails/ParameterDetail.js +7 -4
  257. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
  258. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +4 -4
  259. package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.d.ts.map +1 -1
  260. package/esm/presentation/drill/hooks/useDrillSelectDropdownMenuItems.js +2 -2
  261. package/esm/presentation/drill/types.d.ts.map +1 -1
  262. package/esm/presentation/drill/types.js +10 -9
  263. package/esm/presentation/drill/utils/drillDownUtils.d.ts.map +1 -1
  264. package/esm/presentation/drill/utils/drillDownUtils.js +4 -3
  265. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +2 -2
  266. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributeListItem.d.ts.map +1 -1
  267. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributeListItem.js +2 -3
  268. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
  269. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +2 -2
  270. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
  271. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +2 -2
  272. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useLimitingItemsConfiguration.d.ts.map +1 -1
  273. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useLimitingItemsConfiguration.js +3 -3
  274. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.d.ts.map +1 -1
  275. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.js +2 -2
  276. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +2 -2
  277. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
  278. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +4 -3
  279. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
  280. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
  281. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  282. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +2 -2
  283. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +3 -3
  284. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  285. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +2 -2
  286. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts.map +1 -1
  287. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +2 -2
  288. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  289. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +3 -2
  290. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
  291. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +2 -2
  292. package/esm/presentation/insightEditor/filterContext/attributeFilters.d.ts.map +1 -1
  293. package/esm/presentation/insightEditor/filterContext/attributeFilters.js +2 -2
  294. package/esm/presentation/insightEditor/filterContext/filterIntersection.d.ts.map +1 -1
  295. package/esm/presentation/insightEditor/filterContext/filterIntersection.js +3 -3
  296. package/esm/presentation/insightEditor/filterContext/insightFilterContext.d.ts.map +1 -1
  297. package/esm/presentation/insightEditor/filterContext/insightFilterContext.js +2 -2
  298. package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
  299. package/esm/presentation/insightList/InsightList.js +2 -9
  300. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +9 -0
  301. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  302. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +10 -1
  303. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +9 -0
  304. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  305. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +10 -1
  306. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +9 -0
  307. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  308. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +10 -1
  309. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +24 -0
  310. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  311. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +24 -0
  312. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +9 -0
  313. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  314. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +10 -1
  315. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +9 -0
  316. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  317. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +10 -1
  318. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +9 -0
  319. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  320. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +10 -1
  321. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +9 -0
  322. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  323. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +10 -1
  324. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +9 -0
  325. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  326. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +10 -1
  327. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +9 -0
  328. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  329. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +10 -1
  330. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +9 -0
  331. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  332. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +13 -4
  333. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +9 -0
  334. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  335. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +10 -1
  336. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +9 -0
  337. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  338. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +13 -4
  339. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +9 -0
  340. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  341. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +10 -1
  342. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +9 -0
  343. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  344. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +10 -1
  345. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +9 -0
  346. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  347. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +10 -1
  348. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +9 -0
  349. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  350. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +10 -1
  351. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +9 -0
  352. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  353. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +13 -4
  354. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +9 -0
  355. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  356. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +10 -1
  357. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +9 -0
  358. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  359. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +10 -1
  360. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +9 -0
  361. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  362. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +13 -4
  363. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +9 -0
  364. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  365. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +10 -1
  366. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +9 -0
  367. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  368. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +10 -1
  369. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +9 -0
  370. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  371. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +14 -5
  372. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +9 -0
  373. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  374. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +10 -1
  375. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +9 -0
  376. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  377. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +23 -14
  378. package/esm/presentation/localization/translations.d.ts.map +1 -1
  379. package/esm/presentation/localization/translations.js +2 -3
  380. package/esm/presentation/saveAs/DefaultSaveAsDialog/SaveAsDialogRenderer.js +2 -2
  381. package/esm/presentation/widget/common/configuration/DateDatasetDropdown.d.ts.map +1 -1
  382. package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js +2 -2
  383. package/esm/presentation/widget/common/configuration/utils.d.ts.map +1 -1
  384. package/esm/presentation/widget/common/configuration/utils.js +2 -2
  385. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.d.ts.map +1 -1
  386. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/useDashboardInsightDrills.js +2 -2
  387. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/getTitleWithBreadcrumbs.d.ts.map +1 -1
  388. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/getTitleWithBreadcrumbs.js +3 -3
  389. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogInsightDrills.d.ts.map +1 -1
  390. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogInsightDrills.js +2 -2
  391. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogSyncInsightProperties.d.ts.map +1 -1
  392. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/useDrillDialogSyncInsightProperties.js +3 -2
  393. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillFiltersConfig.d.ts.map +1 -1
  394. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillFiltersConfig.js +5 -5
  395. package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetAttributeHierarchyItem.d.ts.map +1 -1
  396. package/esm/presentation/widget/insight/configuration/DrillTargets/DrillTargetAttributeHierarchyItem.js +2 -2
  397. package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.d.ts +1 -1
  398. package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.d.ts.map +1 -1
  399. package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.js +7 -4
  400. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -1
  401. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +2 -2
  402. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.d.ts.map +1 -1
  403. package/esm/presentation/widget/insight/configuration/InsightDrillConfigItem.js +2 -3
  404. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useDrillConfigIncompleteItems.d.ts.map +1 -1
  405. package/esm/presentation/widget/insight/configuration/InsightDrillConfigPanel/useDrillConfigIncompleteItems.js +3 -3
  406. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.d.ts.map +1 -1
  407. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightEditMenuItems.js +2 -3
  408. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
  409. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +4 -4
  410. package/esm/presentation/widget/richText/RestrictedReferencesDialog.js +1 -1
  411. package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.d.ts.map +1 -1
  412. package/esm/presentation/widget/richTextMenu/DefaultDashboardRichTextMenu/getDefaultRichTextEditMenuItems.js +2 -2
  413. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts.map +1 -1
  414. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js +1 -2
  415. package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.js +2 -2
  416. package/esm/sdk-ui-dashboard.d.ts +41 -4
  417. package/esm/types.d.ts.map +1 -1
  418. package/esm/types.js +5 -5
  419. package/esm/widgets/placeholders/types.js +4 -4
  420. package/package.json +25 -23
  421. package/styles/css/configurationPanel.css +2 -14
  422. package/styles/css/configurationPanel.css.map +1 -1
  423. package/styles/css/dashboard.css +8 -3
  424. package/styles/css/dashboard.css.map +1 -1
  425. package/styles/css/drillConfigPanel.css +5 -0
  426. package/styles/css/drillConfigPanel.css.map +1 -1
  427. package/styles/css/filterBar.css +0 -20
  428. package/styles/css/filterBar.css.map +1 -1
  429. package/styles/css/main.css +17 -38
  430. package/styles/css/main.css.map +1 -1
  431. package/styles/css/scheduled_mail_recipients.css +8 -3
  432. package/styles/css/scheduled_mail_recipients.css.map +1 -1
  433. package/styles/scss/configurationPanel.scss +2 -20
  434. package/styles/scss/drillConfigPanel.scss +6 -0
  435. package/styles/scss/filterBar.scss +0 -25
  436. package/styles/scss/scheduled_mail_recipients.scss +15 -4
@@ -1 +1 @@
1
- {"version":3,"file":"sanitizeAutomationForSave.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/sanitizeAutomationForSave.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EAG3C,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,yBAAyB,GAAG,yBAAyB,CAAC;AAC5G,wBAAgB,yBAAyB,CACrC,UAAU,EAAE,mCAAmC,GAChD,mCAAmC,CAAC"}
1
+ {"version":3,"file":"sanitizeAutomationForSave.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/sanitizeAutomationForSave.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EAG3C,MAAM,qBAAqB,CAAC;AAG7B;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,yBAAyB,GAAG,yBAAyB,CAAC;AAC5G,wBAAgB,yBAAyB,CACrC,UAAU,EAAE,mCAAmC,GAChD,mCAAmC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { omit } from "lodash-es";
3
2
  import { isAllValuesAttributeFilter, } from "@gooddata/sdk-model";
3
+ import { _omit } from "@gooddata/util";
4
4
  export function sanitizeAutomationForSave(automation) {
5
5
  let sanitized = { ...automation };
6
6
  if (sanitized.schedule) {
7
- sanitized.schedule = omit(sanitized.schedule, ["cronDescription"]);
7
+ sanitized.schedule = _omit(sanitized.schedule, ["cronDescription"]);
8
8
  }
9
9
  if (sanitized.alert?.execution?.filters) {
10
10
  sanitized = {
@@ -1 +1 @@
1
- {"version":3,"file":"RecipientsSelectRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAqE,MAAM,OAAO,CAAC;AAiB9G,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAE1C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,gBAAgB,EAKxB,MAAM,kBAAkB,CAAC;AAkG1B,MAAM,WAAW,8BAA8B;IAC3C;;OAEG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IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IAE7C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC;AAQD,eAAO,MAAM,wBAAwB,8CAC1B,8BAA8B,6CA0wBvC,CAAC"}
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2019-2026 GoodData Corporation
3
3
  import { memo, useCallback, useEffect, useRef, useState } from "react";
4
4
  import cx from "classnames";
5
- import { isEmpty } from "lodash-es";
6
5
  import { FormattedMessage, useIntl } from "react-intl";
7
6
  import ReactSelect, { components as ReactSelectComponents, } from "react-select";
8
7
  import { isAutomationUserRecipient, } from "@gooddata/sdk-model";
9
8
  import { ValidationContextStore, createInvalidDatapoint, createInvalidNode, useValidationContextValue, } from "@gooddata/sdk-ui";
10
9
  import { LoadingMask, Message, Overlay, OverlayController, OverlayControllerProvider, UiIcon, UiTooltip, isEscapeKey, makeKeyboardNavigation, } from "@gooddata/sdk-ui-kit";
10
+ import { _isEmpty } from "@gooddata/util";
11
11
  import { DASHBOARD_DIALOG_OVERS_Z_INDEX } from "../../../../../constants/zIndex.js";
12
12
  import { getRecipientLabel } from "../../../utils/users.js";
13
13
  import { isEmail } from "../../../utils/validate.js";
@@ -150,7 +150,7 @@ export const RecipientsSelectRenderer = memo(function RecipientsSelectRenderer(p
150
150
  }, []);
151
151
  const getStyle = useCallback(() => {
152
152
  const { current } = recipientRef;
153
- const { width } = (!isEmpty(current) && current.getBoundingClientRect()) || { width: undefined };
153
+ const { width } = (!_isEmpty(current) && current.getBoundingClientRect()) || { width: undefined };
154
154
  return {
155
155
  maxWidth: width ? width - PADDING : "100%",
156
156
  width,
@@ -1,8 +1,8 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
2
  import { useCallback, useRef, useState } from "react";
3
- import { omit } from "lodash-es";
4
3
  import { useIntl } from "react-intl";
5
4
  import { isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
5
+ import { _omit } from "@gooddata/util";
6
6
  import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
7
7
  import { useScheduledExportDraft } from "./ScheduledExportDraftContext.js";
8
8
  /**
@@ -99,7 +99,7 @@ function sanitizeAutomation(automationToSave, intl) {
99
99
  // We want to omit the cronDescription as it is a variable created on backend that cannot
100
100
  // be overriden and BE has hard time handling it with each PUT
101
101
  if (automation.schedule) {
102
- automation.schedule = omit(automation.schedule, ["cronDescription"]);
102
+ automation.schedule = _omit(automation.schedule, ["cronDescription"]);
103
103
  }
104
104
  /**
105
105
  * Remove noop filters from export definitions before saving to backend.
@@ -1 +1 @@
1
- {"version":3,"file":"useScheduledEmailExportSettings.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,OAAO,CAAC;AAIhF,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EAExC,KAAK,4CAA4C,EACjD,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,OAAO,EAIf,MAAM,qBAAqB,CAAC;AAc7B,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE,MAAM,WAAW,qCAAqC;IAClD,gBAAgB,EAAE,mCAAmC,CAAC;IACtD,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAAC,CAAC;IACnF,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IAC3D,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,CAAC;IAChF,sBAAsB,EAAE,OAAO,EAAE,CAAC;IAClC,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC7C,kBAAkB,CAAC,EAAE,4CAA4C,CAAC,UAAU,CAAC,CAAC;IAC9E;;;OAGG;IACH,gBAAgB,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAC1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,gBAAgB,EAChB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,YAAY,EACZ,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,iCAAiC,EACjC,kBAAkB,EAClB,gBAAgB,GACnB,EAAE,qCAAqC,GAAG,6BAA6B,CAwSvE"}
1
+ {"version":3,"file":"useScheduledEmailExportSettings.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledEmailExportSettings.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,OAAO,CAAC;AAEhF,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EAExC,KAAK,4CAA4C,EACjD,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,OAAO,EAIf,MAAM,qBAAqB,CAAC;AAc7B,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAEhE,MAAM,WAAW,qCAAqC;IAClD,gBAAgB,EAAE,mCAAmC,CAAC;IACtD,mBAAmB,EAAE,QAAQ,CAAC,cAAc,CAAC,mCAAmC,CAAC,CAAC,CAAC;IACnF,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAC;IAC3D,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,CAAC;IAChF,sBAAsB,EAAE,OAAO,EAAE,CAAC;IAClC,iCAAiC,EAAE,OAAO,EAAE,CAAC;IAC7C,kBAAkB,CAAC,EAAE,4CAA4C,CAAC,UAAU,CAAC,CAAC;IAC9E;;;OAGG;IACH,gBAAgB,CAAC,EAAE;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,CAAC;CAC1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,gBAAgB,EAChB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,YAAY,EACZ,yBAAyB,EACzB,8BAA8B,EAC9B,sBAAsB,EACtB,iCAAiC,EACjC,kBAAkB,EAClB,gBAAgB,GACnB,EAAE,qCAAqC,GAAG,6BAA6B,CAySvE"}
@@ -1,6 +1,5 @@
1
1
  // (C) 2019-2026 GoodData Corporation
2
2
  import { useCallback, useRef } from "react";
3
- import { invariant } from "ts-invariant";
4
3
  import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, } from "@gooddata/sdk-model";
5
4
  import { getAutomationExportParametersByTab, setExportParametersByTab, } from "../../../../_staging/automation/index.js";
6
5
  import { useScheduledEmailDialogContext } from "../../contexts/ScheduledEmailDialogContext.js";
@@ -34,7 +33,7 @@ export function useScheduledEmailExportSettings({ editedAutomation, setEditedAut
34
33
  latestParametersWireRef.current = wire;
35
34
  setEditedAutomation((automation) => setExportParametersByTab(automation, wire));
36
35
  }, [setEditedAutomation]);
37
- // Re-derived locally (not passed as a prop) so that `invariant(isWidget, ...)` below narrows
36
+ // Re-derived locally (not passed as a prop) so that the `isWidget` check below narrows
38
37
  // `widget`/`insight` via TS's aliased-condition control-flow analysis — this requires the boolean
39
38
  // to be declared from those exact variables in this same scope, same as in the parent.
40
39
  const isWidget = !!widget && !!insight;
@@ -67,7 +66,6 @@ export function useScheduledEmailExportSettings({ editedAutomation, setEditedAut
67
66
  exportTimezoneId,
68
67
  ]);
69
68
  const onWidgetAttachmentsChange = useCallback((formats) => {
70
- invariant(isWidget, "Widget or insight is missing in scheduling dialog context.");
71
69
  setEditedAutomation((s) => {
72
70
  const currentExportDefinitions = s.exportDefinitions || [];
73
71
  const currentWidgetExportDefinitions = currentExportDefinitions.filter((exportDefinition) => isExportDefinitionVisualizationObjectRequestPayload(exportDefinition.requestPayload));
@@ -75,17 +73,19 @@ export function useScheduledEmailExportSettings({ editedAutomation, setEditedAut
75
73
  const formatsToKeep = currentFormats.filter((format) => formats.includes(format));
76
74
  const formatsToAdd = formats.filter((format) => !currentFormats.includes(format));
77
75
  const keptExportDefinitions = currentWidgetExportDefinitions.filter((exportDefinition) => formatsToKeep.includes(exportDefinition.requestPayload.format));
78
- const newExportDefinitions = formatsToAdd.map((format) => newWidgetExportDefinitionMetadataObjectDefinition({
79
- insight,
80
- widget,
81
- dashboardId: dashboardId,
82
- format,
83
- widgetFilters: effectiveWidgetFilters,
84
- widgetFiltersWithInsight: effectiveWidgetFiltersWithInsight,
85
- dashboardFilters: effectiveDashboardFilters,
86
- defaultPdfPageSize,
87
- timezoneId: exportTimezoneId,
88
- }));
76
+ const newExportDefinitions = isWidget
77
+ ? formatsToAdd.map((format) => newWidgetExportDefinitionMetadataObjectDefinition({
78
+ insight,
79
+ widget,
80
+ dashboardId: dashboardId,
81
+ format,
82
+ widgetFilters: effectiveWidgetFilters,
83
+ widgetFiltersWithInsight: effectiveWidgetFiltersWithInsight,
84
+ dashboardFilters: effectiveDashboardFilters,
85
+ defaultPdfPageSize,
86
+ timezoneId: exportTimezoneId,
87
+ }))
88
+ : [];
89
89
  const updatedExportDefinitions = [...keptExportDefinitions, ...newExportDefinitions];
90
90
  return withRebuiltExportDefinitions(s, updatedExportDefinitions, latestParametersWireRef.current);
91
91
  });
@@ -11,6 +11,7 @@ export interface IUseScheduledEmailFormValidityProps {
11
11
  isTitleValid: boolean;
12
12
  isSubjectValid: boolean;
13
13
  isOnMessageValid: boolean;
14
+ isWidgetInsightUnavailable: boolean;
14
15
  }
15
16
  export declare function useScheduledEmailFormValidity(props: IUseScheduledEmailFormValidityProps): IScheduledExportDialogValidity;
16
17
  //# sourceMappingURL=useScheduledEmailFormValidity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useScheduledEmailFormValidity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAI1C,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAEjE,MAAM,WAAW,mCAAmC;IAChD,gBAAgB,EAAE,mCAAmC,CAAC;IACtD,kBAAkB,EAAE,mCAAmC,CAAC;IACxD,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAClD,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,gBAAgB,EAAE,oBAAoB,CAAC;IACvC,wBAAwB,EAAE,MAAM,CAAC;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,mCAAmC,GAC3C,8BAA8B,CAsEhC"}
1
+ {"version":3,"file":"useScheduledEmailFormValidity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledEmailFormValidity.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAI1C,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAOjE,MAAM,WAAW,mCAAmC;IAChD,gBAAgB,EAAE,mCAAmC,CAAC;IACtD,kBAAkB,EAAE,mCAAmC,CAAC;IACxD,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAClD,oBAAoB,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAC9F,gBAAgB,EAAE,oBAAoB,CAAC;IACvC,wBAAwB,EAAE,MAAM,CAAC;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,0BAA0B,EAAE,OAAO,CAAC;CACvC;AAED,wBAAgB,6BAA6B,CACzC,KAAK,EAAE,mCAAmC,GAC3C,8BAA8B,CAyEhC"}
@@ -1,19 +1,25 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { useIntl } from "react-intl";
2
+ import { defineMessages, useIntl } from "react-intl";
3
3
  import { isAutomationExternalUserRecipient, isAutomationUnknownUserRecipient, isAutomationUserRecipient, } from "@gooddata/sdk-model";
4
4
  import { areAutomationsEqual } from "../../shared/utils/automationUtils.js";
5
5
  import { useScheduleValidation } from "../hooks/useScheduleValidation.js";
6
6
  import { isEmail } from "../utils/validate.js";
7
+ const messages = defineMessages({
8
+ widgetError: { id: "dialogs.schedule.email.widgetError" },
9
+ visualizationUnavailable: { id: "dialogs.schedule.email.visualizationUnavailable" },
10
+ });
7
11
  export function useScheduledEmailFormValidity(props) {
8
- const { editedAutomation, originalAutomation, scheduledExportToEdit, notificationChannels, defaultRecipient, maxAutomationsRecipients, isCronValid, isTitleValid, isSubjectValid, isOnMessageValid, } = props;
12
+ const { editedAutomation, originalAutomation, scheduledExportToEdit, notificationChannels, defaultRecipient, maxAutomationsRecipients, isCronValid, isTitleValid, isSubjectValid, isOnMessageValid, isWidgetInsightUnavailable, } = props;
9
13
  const intl = useIntl();
10
14
  const selectedNotificationChannel = notificationChannels.find((channel) => channel.id === editedAutomation.notificationChannel);
11
15
  const allowExternalRecipients = selectedNotificationChannel?.allowedRecipients === "external";
12
16
  const allowOnlyLoggedUserRecipients = selectedNotificationChannel?.allowedRecipients === "creator";
13
17
  const { isValid: isParentValid } = useScheduleValidation(originalAutomation);
14
18
  const validationErrorMessage = isParentValid
15
- ? undefined
16
- : intl.formatMessage({ id: "dialogs.schedule.email.widgetError" });
19
+ ? isWidgetInsightUnavailable
20
+ ? intl.formatMessage(messages.visualizationUnavailable)
21
+ : undefined
22
+ : intl.formatMessage(messages.widgetError);
17
23
  const hasAttachments = !!editedAutomation.exportDefinitions?.length;
18
24
  const hasRecipients = (editedAutomation.recipients?.length ?? 0) > 0;
19
25
  const hasValidExternalRecipients = allowExternalRecipients
@@ -1 +1 @@
1
- {"version":3,"file":"useScheduledExportDialogValidity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAGjE;;;;;;;;;GASG;AACH,wBAAgB,gCAAgC,IAAI,8BAA8B,CAyBjF"}
1
+ {"version":3,"file":"useScheduledExportDialogValidity.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAGjE;;;;;;;;;GASG;AACH,wBAAgB,gCAAgC,IAAI,8BAA8B,CA0BjF"}
@@ -16,7 +16,7 @@ import { useScheduledEmailFormValidity } from "./useScheduledEmailFormValidity.j
16
16
  */
17
17
  export function useScheduledExportDialogValidity() {
18
18
  const { maxAutomationsRecipients } = useAutomationsContext();
19
- const { scheduledExportToEdit, notificationChannels } = useScheduledEmailDialogContext();
19
+ const { scheduledExportToEdit, notificationChannels, widget, insight } = useScheduledEmailDialogContext();
20
20
  const { editedAutomation, originalAutomation, isCronValid, isTitleValid, isSubjectValid, isOnMessageValid, } = useScheduledExportDraft();
21
21
  const { defaultRecipient } = useScheduledExportData();
22
22
  return useScheduledEmailFormValidity({
@@ -30,5 +30,6 @@ export function useScheduledExportDialogValidity() {
30
30
  isTitleValid,
31
31
  isSubjectValid,
32
32
  isOnMessageValid,
33
+ isWidgetInsightUnavailable: !!widget && !insight,
33
34
  });
34
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useAutomationVisibleFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/hooks/useAutomationVisibleFilters.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAU5F,eAAO,MAAM,2BAA2B,sBAClB,iBAAiB,EAAE,GAAG,SAAS,KAClD,wBAAwB,EAY1B,CAAC;AAEF,eAAO,MAAM,gCAAgC,sBACvB,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,KAClE,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAc3C,CAAC"}
1
+ {"version":3,"file":"useAutomationVisibleFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/hooks/useAutomationVisibleFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAW5F,eAAO,MAAM,2BAA2B,sBAClB,iBAAiB,EAAE,GAAG,SAAS,KAClD,wBAAwB,EAY1B,CAAC;AAEF,eAAO,MAAM,gCAAgC,sBACvB,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,KAClE,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAc3C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
2
  import { useMemo } from "react";
3
- import { compact } from "lodash-es";
3
+ import { _compact } from "@gooddata/util";
4
4
  import { useFiltersByTabNamings, useFiltersNamings } from "../../hooks/useFiltersNamings.js";
5
5
  // Module-level, not inline `= []` / `= {}` defaults: a default parameter is evaluated per call, so an
6
6
  // inline default hands a fresh reference to the namings memos on every render of a caller that passes
@@ -10,7 +10,7 @@ const EMPTY_FILTERS_BY_TAB = {};
10
10
  export const useAutomationVisibleFilters = (availableFilters = EMPTY_FILTERS) => {
11
11
  const filterNamings = useFiltersNamings(availableFilters);
12
12
  return useMemo(() => {
13
- return compact(filterNamings).map((filter) => {
13
+ return _compact(filterNamings).map((filter) => {
14
14
  return {
15
15
  title: filter.title,
16
16
  localIdentifier: filter.id,
@@ -24,7 +24,7 @@ export const useAutomationVisibleFiltersByTab = (availableFilters = EMPTY_FILTER
24
24
  return useMemo(() => {
25
25
  const result = {};
26
26
  return Object.entries(filterNamings).reduce((acc, [tabId, namings]) => {
27
- acc[tabId] = compact(namings).map((naming) => ({
27
+ acc[tabId] = _compact(namings).map((naming) => ({
28
28
  title: naming.title,
29
29
  localIdentifier: naming.id,
30
30
  isAllTimeDateFilter: false,
@@ -1 +1 @@
1
- {"version":3,"file":"useValidateExistingAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,qCAAqC,EAE1C,KAAK,iBAAiB,EAEtB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,E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CAAC,CAAC;IAC/E,sBAAsB,EAAE,4BAA4B,EAAE,CAAC;IACvD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,qCAAqC,GAAG,SAAS,CAAC,CAAC,CAAC;CAC1G,GAAG,2BAA2B,CAsE9B"}
1
+ {"version":3,"file":"useValidateExistingAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,qCAAqC,EAE1C,KAAK,iBAAiB,EAEtB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,OAAO,EAEZ,KAAK,QAAQ,EACb,KAAK,wBAAwB,EAmBhC,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAoEzF,MAAM,WAAW,2BAA2B;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,mCAAmC,EAAE,OAAO,CAAC;IAC7C,0CAA0C,EAAE,OAAO,CAAC;IACpD,mCAAmC,EAAE,OAAO,CAAC;IAC7C,0CAA0C,EAAE,OAAO,CAAC;IACpD,oCAAoC,EAAE,OAAO,CAAC;IAC9C,oCAAoC,EAAE,OAAO,CAAC;IAC9C,8CAA8C,EAAE,OAAO,CAAC;IACxD,oCAAoC,EAAE,OAAO,CAAC;IAC9C,wBAAwB,EAAE,OAAO,CAAC;IAClC,gDAAgD,EAAE,OAAO,CAAC;IAC1D;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAiBD,wBAAgB,oCAAoC,CAAC,EACjD,gBAAgB,EAChB,MAAM,EACN,OAAO,GACV,EAAE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,CAAC;CACrF,GAAG,2BAA2B,CAgE9B;AAED,MAAM,WAAW,4BAA4B;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,UAAU,EAAE,iBAAiB,EAAE,CAAC;CACnC;AAED;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,EACpD,0BAA0B,EAC1B,kCAAkC,EAClC,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,GACxB,EAAE;IACC,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAC;IAChE,kCAAkC,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAAC,CAAC;IAC/E,sBAAsB,EAAE,4BAA4B,EAAE,CAAC;IACvD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,qCAAqC,GAAG,SAAS,CAAC,CAAC,CAAC;CAC1G,GAAG,2BAA2B,CAsE9B"}
@@ -1,6 +1,7 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { differenceBy, omit } from "lodash-es";
2
+ import { differenceBy } from "lodash-es";
3
3
  import { DashboardParameterModeValues, dashboardFilterLocalIdentifier, filterContextItemsToDashboardFiltersByWidget, filterLocalIdentifier, isAllDashboardMeasureValueFilter, isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isAttributeFilter, isAttributeFilterWithSelection, isDashboardAttributeFilter, isDashboardCommonDateFilter, isDateFilter, isInsightWidget, isLocalIdRef, isNegativeAttributeFilter, isPositiveAttributeFilter, isRelativeDateFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
4
+ import { _omit } from "@gooddata/util";
4
5
  import { decodeParameterWireValue, getAutomationAlertParameters, getAutomationExportParametersByTab, } from "../../../../../_staging/automation/index.js";
5
6
  import { isFilterTypeCompatibleWithSelectionType } from "../../../../../model/utils/attributeFilterSelectionTypeCompatibility.js";
6
7
  import { useAutomationsContext } from "../../../contexts/AutomationsContext.js";
@@ -12,8 +13,8 @@ function sanitizeCommonDateFilter(filter, commonDateFilterId) {
12
13
  // Sanitize common date filters by removing date dataSet
13
14
  if (isDateFilter(filter) && filterLocalIdentifier(filter) === commonDateFilterId) {
14
15
  return isRelativeDateFilter(filter)
15
- ? omit(filter, "relativeDateFilter.dataSet")
16
- : omit(filter, "absoluteDateFilter.dataSet");
16
+ ? _omit(filter, "relativeDateFilter.dataSet")
17
+ : _omit(filter, "absoluteDateFilter.dataSet");
17
18
  }
18
19
  return filter;
19
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAA0C,MAAM,OAAO,CAAC;AAKtF,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EAEnC,KAAK,MAAM,EACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAuFxF;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,cAAc,EAAE,iBAAiB,EAAE,CAAC;IACpC,6EAA6E;IAC7E,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iEAAiE;IACjE,eAAe,EAAE,OAAO,CAAC;IACzB,kCAAkC;IAClC,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,2DAA2D;IAC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,oBAAoB,EAAE,CAClB,WAAW,EAAE,OAAO,EACpB,OAAO,CAAC,EAAE,iBAAiB,EAAE,EAC7B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,KACjD,IAAI,CAAC;IACV,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;;;;;;;;mCA6Fe,MAAM,iBAAiB,iBAAiB,GAAG,SAAS;mCAsBpD,MAAM,kBAAkB,iBAAiB;gCAkBtC,MAAM,eACA,MAAM,cACP,iBAAiB,EAAE,gBACjB,mBAAmB,EAAE;8CAgC/B,MAAM;sCAgBN,OAAO;;sCAgBF,iBAAiB,GAAG,cAAc,GAAG,IAAI,sBAC9B,gBAAgB,CAAC,WAAW,CAAC;CAwC5D,CAAC"}
1
+ {"version":3,"file":"useAutomationFilters.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/useAutomationFilters.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAA0C,MAAM,OAAO,CAAC;AAItF,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EAEnC,KAAK,MAAM,EACd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAuFxF;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,cAAc,EAAE,iBAAiB,EAAE,CAAC;IACpC,6EAA6E;IAC7E,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iEAAiE;IACjE,eAAe,EAAE,OAAO,CAAC;IACzB,kCAAkC;IAClC,aAAa,EAAE,iBAAiB,EAAE,CAAC;IACnC,2DAA2D;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ACnF,oBAAoB,EAAE,CAClB,WAAW,EAAE,OAAO,EACpB,OAAO,CAAC,EAAE,iBAAiB,EAAE,EAC7B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,KACjD,IAAI,CAAC;IACV,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAChC;;;;;;;;mCA6Fe,MAAM,iBAAiB,iBAAiB,GAAG,SAAS;mCAsBpD,MAAM,kBAAkB,iBAAiB;gCAkBtC,MAAM,eACA,MAAM,cACP,iBAAiB,EAAE,gBACjB,mBAAmB,EAAE;8CAgC/B,MAAM;sCAgBN,OAAO;;sCAgBF,iBAAiB,GAAG,cAAc,GAAG,IAAI,sBAC9B,gBAAgB,CAAC,WAAW,CAAC;CAwC5D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
2
  import { useCallback, useMemo, useRef, useState } from "react";
3
- import { partition } from "lodash-es";
4
3
  import { useIntl } from "react-intl";
4
+ import { _partition } from "@gooddata/util";
5
5
  import { useAutomationsContext } from "../../contexts/AutomationsContext.js";
6
6
  import { applyFilterChange, getCatalogAttributesByFilters, getCatalogDateDatasetsByFilters, getCatalogMeasuresByFilters, getFilterTitle, getNonHiddenFilters, getNonSelectedFilters, removeFilterFrom, resolveFilterToAdd, resolveTabFilterToAdd, } from "./utils.js";
7
7
  /**
@@ -10,7 +10,7 @@ import { applyFilterChange, getCatalogAttributesByFilters, getCatalogDateDataset
10
10
  */
11
11
  function computeVisibleFilters(selectedFilters, context) {
12
12
  const nonHiddenFilters = getNonHiddenFilters(selectedFilters, context.attributeConfigs, context.dateConfigs, context.mvfConfigs, context.isCommonDateFilterHidden, context.disableDateFilters);
13
- const [restrictedFilters, visibleFilters] = partition(nonHiddenFilters, context.isFilterRestricted);
13
+ const [restrictedFilters, visibleFilters] = _partition(nonHiddenFilters, context.isFilterRestricted);
14
14
  return { visibleFilters, restrictedFilters };
15
15
  }
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EA6Bd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,eAAO,MAAM,wBAAwB,WAAY,iBAAiB,KAAG,MAAM,GAAG,SAE7E,CAAC;AAEF,eAAO,MAAM,iCAAiC,YAAa,iBAAiB,EAAE,KAAG,OAEhF,CAAC;AAEF,eAAO,MAAM,6BAA6B,YAC7B,iBAAiB,WACjB,iBAAiB,KAC3B,OAEF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,iBAAiB,CAC7B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,OAAO,EAAE,iBAAiB,GAC3B,iBAAiB,EAAE,CAErB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC5B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,QAAQ,EAAE,iBAAiB,GAC5B,iBAAiB,EAAE,CAErB;AAiBD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,iBAAiB,EAAE,EAC/B,UAAU,EAAE,iBAAiB,EAAE,EAC/B,YAAY,EAAE,mBAAmB,EAAE,GACpC,iBAAiB,GAAG,SAAS,CAuB/B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,iBAAiB,EAAE,EACrC,UAAU,EAAE,iBAAiB,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CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAazE;AAED,eAAO,MAAM,cAAc,WACf,iBAAiB,iBACV,iBAAiB,EAAE,mBACjB,mBAAmB,EAAE,QAChC,SAAS,KAChB,MAyCF,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/automationFilters/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,MAAM,EA6Bd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,eAAO,MAAM,wBAAwB,WAAY,iBAAiB,KAAG,MAAM,GAAG,SAE7E,CAAC;AAEF,eAAO,MAAM,iCAAiC,YAAa,iBAAiB,EAAE,KAAG,OAEhF,CAAC;AAEF,eAAO,MAAM,6BAA6B,YAC7B,iBAAiB,WACjB,iBAAiB,KAC3B,OAEF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,iBAAiB,CAC7B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,OAAO,EAAE,iBAAiB,GAC3B,iBAAiB,EAAE,CAErB;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC5B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,QAAQ,EAAE,iBAAiB,GAC5B,iBAAiB,EAAE,CAErB;AAiBD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAC9B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,iBAAiB,EAAE,EAC/B,UAAU,EAAE,iBAAiB,EAAE,EAC/B,YAAY,EAAE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GG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,qHAUnD;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,uBAAuB,GAAG,OAAO,CA+B3G;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAazE;AAED,eAAO,MAAM,cAAc,WACf,iBAAiB,iBACV,iBAAiB,EAAE,mBACjB,mBAAmB,EAAE,QAChC,SAAS,KAChB,MAyCF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { isEqual } from "lodash-es";
3
2
  import { absoluteDateFilterValues, areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, dashboardFilterObjRef, filterAttributeElements, filterLocalIdentifier, filterObjRef, getAttributeElementsItems, isAbsoluteDateFilter, isAllTimeDateFilter, isArbitraryAttributeFilter, isAttributeFilter, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, isDateFilter, isInsightWidget, isMatchAttributeFilter, isNegativeAttributeFilter, isPositiveAttributeFilter, isRelativeDateFilter, relativeDateFilterValues, } from "@gooddata/sdk-model";
3
+ import { _isEqual } from "@gooddata/util";
4
4
  export const getFilterLocalIdentifier = (filter) => {
5
5
  return dashboardFilterLocalIdentifier(filter);
6
6
  };
@@ -199,7 +199,7 @@ export function areFiltersEqual(filter1, filter2) {
199
199
  const filter2Ref = filterObjRef(filter2);
200
200
  if (isArbitraryAttributeFilter(filter1) && isArbitraryAttributeFilter(filter2)) {
201
201
  return (areObjRefsEqual(filter1Ref, filter2Ref) &&
202
- isEqual(filter1.arbitraryAttributeFilter.values, filter2.arbitraryAttributeFilter.values) &&
202
+ _isEqual(filter1.arbitraryAttributeFilter.values, filter2.arbitraryAttributeFilter.values) &&
203
203
  (filter1.arbitraryAttributeFilter.negativeSelection ?? false) ===
204
204
  (filter2.arbitraryAttributeFilter.negativeSelection ?? false));
205
205
  }
@@ -219,7 +219,7 @@ export function areFiltersEqual(filter1, filter2) {
219
219
  const filter2Values = [...getAttributeElementsItems(filterAttributeElements(filter2))].sort();
220
220
  const filter2Type = isPositiveAttributeFilter(filter2) ? "positive" : "negative";
221
221
  return (areObjRefsEqual(filter1Ref, filter2Ref) &&
222
- isEqual(filter1Values, filter2Values) &&
222
+ _isEqual(filter1Values, filter2Values) &&
223
223
  filter1Type === filter2Type);
224
224
  }
225
225
  }
@@ -228,14 +228,14 @@ export function areFiltersEqual(filter1, filter2) {
228
228
  // only when both filters have one.
229
229
  const { granularity: granularity1, ...values1 } = dateFilterValues(filter1);
230
230
  const { granularity: granularity2, ...values2 } = dateFilterValues(filter2);
231
- return (isEqual(values1, values2) &&
231
+ return (_isEqual(values1, values2) &&
232
232
  (granularity1 === undefined || granularity2 === undefined || granularity1 === granularity2));
233
233
  }
234
234
  else if (isDateFilter(filter1) && isDateFilter(filter2)) {
235
- return isEqual(dateFilterValues(filter1), dateFilterValues(filter2));
235
+ return _isEqual(dateFilterValues(filter1), dateFilterValues(filter2));
236
236
  }
237
237
  // Filter types are different
238
- return isEqual(filter1, filter2);
238
+ return _isEqual(filter1, filter2);
239
239
  }
240
240
  /**
241
241
  * Values to compare date filters by. A bounded range never matches an empty date, so a missing
@@ -1 +1 @@
1
- {"version":3,"file":"conversions.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/filters/conversions.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,OAAO,EACZ,KAAK,QAAQ,EAqChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,OAAO,EAAE,KAAK,gBA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AAO,EAAE,QAAQ,GAAG,SAAS,GAC9B,OAAO,EAAE,CAiDX;AAyBD,8GAA8G;AAC9G,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAW9D;AAED,mEAAmE;AACnE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAWxE;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CA0BhE"}
1
+ {"version":3,"file":"conversions.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/filters/conversions.ts"],"names":[],"mappings":"AAGA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,OAAO,EACZ,KAAK,QAAQ,EAqChB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;GAGG;AACH,MAAM,WAAW,iCAAiC,CAAC,OAAO,GAAG,wBAAwB,EAAE;IACnF,oBAAoB,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;CAC9E;AASD,eAAO,MAAM,0BAA0B,oBAClB,iBAAiB,EAAE,GAAG,SAAS,0BACxB,wBAAwB,EAAE,GAAG,SAAS,iBAC/C,OAAO,uBACD,iCAAiC,KACvD,wBAAwB,EAAE,GAAG,SAmC/B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,+BAA+B,iBAC1B,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAAS,0BACrC,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAAC,GAAG,SAAS,iBAC/D,OAAO,uBACD,iCAAiC,CAAC,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAAC,CAAC,KACnG,MAAM,CAAC,MAAM,EAAE,wBAAwB,EAAE,CAAC,GAAG,SAuB/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,8BACL,iBAAiB,EAAE,0BACtB,iBAAiB,EAAE,UACnC,uBAAuB,GAAG,SAAS,WAClC,QAAQ,GAAG,SAAS,sBACT,MAAM,GAAG,SAAS,wBACjB,OAAO,kBACb,OAAO,cA6BzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,8BACR,iBAAiB,EAAE,0BACtB,iBAAiB,EAAE,iBAC5B,OAAO,oCAWzB,CAAC;AAEF,wBAAgB,kCAAkC,CAC9C,MAAM,EAAE,gBAAgB,EACxB,YAAY,EAAE,OAAO,GACtB,iBAAiB,GAAG,SAAS,CAiF/B;AAED;;;;;;;GAOG;AACH,wBAAgB,oCAAoC,CAChD,OAAO,EAAE,OAAO,EAAE,EAClB,OAAO,EAAE,QAAQ,GAAG,SAAS,GAC9B,OAAO,EAAE,CAiDX;AAyBD,8GAA8G;AAC9G,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAW9D;AAED,mEAAmE;AACnE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAWxE;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,EAAE,OAAO,GAAG,OAAO,CA0BhE"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { compact } from "lodash-es";
3
2
  import { NotSupported } from "@gooddata/sdk-backend-spi";
4
3
  import { attributeLocalId, dashboardFilterLocalIdentifier, filterAttributeElements, filterContextItemsToDashboardFiltersByWidget, filterLocalIdentifier, filterObjRef, hasMeasureValueFilterConditions, insightAttributes, isAbsoluteDateFilter, isAllDashboardMeasureValueFilter, isAllTimeDateFilter, isAllValuesAttributeFilter, isAllValuesDashboardAttributeFilter, isArbitraryAttributeFilter, isAttributeFilterWithSelection, isDashboardDateFilter, isDashboardMeasureValueFilter, isDateFilter, isDateFilterGranularity, isInsightWidget, isLocalIdRef, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isNoopAllTimeDashboardDateFilter, isObjRef, isRankingFilter, isRelativeBoundedDateFilter, isRelativeDateFilter, measureValueFilterConditions, measureValueFilterMeasure, mergeFilters, newAbsoluteDashboardDateFilter, newAllTimeDashboardDateFilter, newRelativeDashboardDateFilter, } from "@gooddata/sdk-model";
4
+ import { _compact } from "@gooddata/util";
5
5
  import { removeIgnoredWidgetFilters } from "../../../../model/utils/widgetFilters.js";
6
6
  function findVisibleFilter(localIdentifier, visibleFilters) {
7
7
  return (visibleFilters ?? []).find((visibleFilter) => visibleFilter.localIdentifier === localIdentifier);
@@ -32,7 +32,7 @@ export const getVisibleFiltersByFilters = (selectedFilters, visibleFiltersMetada
32
32
  }
33
33
  return targetFilter;
34
34
  });
35
- return compact(filters);
35
+ return _compact(filters);
36
36
  };
37
37
  /**
38
38
  * Get visible filters metadata structured by tab.
@@ -1 +1 @@
1
- {"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EAKb,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAUxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAUxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF;IAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAAC,kBAAkB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CAqBhG,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAMd,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC;AAEF,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
1
+ {"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK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,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
- import { isEqual, omit, pick } from "lodash-es";
2
+ import { pick } from "lodash-es";
3
3
  import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilter, isFilterContextItem, } from "@gooddata/sdk-model";
4
+ import { _isEqual, _omit } from "@gooddata/util";
4
5
  export const isDashboardAutomation = (automation) => {
5
6
  if (!automation) {
6
7
  return false;
@@ -86,8 +87,8 @@ export const getAutomationAlertFilters = (automation) => {
86
87
  };
87
88
  const sortByFormat = (a, b) => a.requestPayload.format.localeCompare(b.requestPayload.format);
88
89
  export const areAutomationsEqual = (originalAutomation, updatedAutomation) => {
89
- const automationWithoutExportDefinitions = omit(updatedAutomation, "exportDefinitions");
90
- const origAutomationWithoutExportDefinitions = omit(originalAutomation, "exportDefinitions");
90
+ const automationWithoutExportDefinitions = _omit(updatedAutomation, "exportDefinitions");
91
+ const origAutomationWithoutExportDefinitions = _omit(originalAutomation, "exportDefinitions");
91
92
  // We only want to compare requestPayload and title of exportDefinitions, rest may be omitted as it is just arbitrary
92
93
  // metadata that is not relevant for the comparison and causes false positive results when comparing new and old def.
93
94
  // Sorting is done just to avoid false positive result of different order of export definitions.
@@ -97,8 +98,8 @@ export const areAutomationsEqual = (originalAutomation, updatedAutomation) => {
97
98
  const origAutomationExportDefinitions = originalAutomation.exportDefinitions
98
99
  ?.map((exportDefinition) => pick(exportDefinition, ["requestPayload", "title"]))
99
100
  .sort(sortByFormat);
100
- return (isEqual(automationWithoutExportDefinitions, origAutomationWithoutExportDefinitions) &&
101
- isEqual(automationExportDefinitions, origAutomationExportDefinitions));
101
+ return (_isEqual(automationWithoutExportDefinitions, origAutomationWithoutExportDefinitions) &&
102
+ _isEqual(automationExportDefinitions, origAutomationExportDefinitions));
102
103
  };
103
104
  export const convertUserToAutomationRecipient = (user) => {
104
105
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"CreationPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/CreationPanel.tsx"],"names":[],"mappings":"AAcA,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEH,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC7C,MAAM,4BAA4B,CAAC;AAkBpC,UAAU,mBAAmB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;IAC1D,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;IACtD,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IACxD,uCAAuC,CAAC,EAAE,uCAAuC,CAAC;IAClF,iCAAiC,CAAC,EAAE,iCAAiC,CAAC;CACzE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,2CAyIvD"}
1
+ {"version":3,"file":"CreationPanel.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/DashboardSidebar/CreationPanel.tsx"],"names":[],"mappings":"AAeA,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uCAAuC,EAC/C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEH,KAAK,qCAAqC,EAC1C,KAAK,qCAAqC,EAC7C,MAAM,4BAA4B,CAAC;AAkBpC,UAAU,mBAAmB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,oCAAoC,CAAC,EAAE,qCAAqC,CAAC;IAC7E,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;IAC1D,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;IACtD,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IACxD,uCAAuC,CAAC,EAAE,uCAAuC,CAAC;IAClF,iCAAiC,CAAC,EAAE,iCAAiC,CAAC;CACzE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,mBAAmB,2CAyIvD"}
@@ -2,9 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2007-2026 GoodData Corporation
3
3
  import { Fragment, useMemo, useState } from "react";
4
4
  import cx from "classnames";
5
- import { compact, sortBy } from "lodash-es";
5
+ import { sortBy } from "lodash-es";
6
6
  import { FormattedMessage, useIntl } from "react-intl";
7
7
  import { Typography, UiIconButton, UiTooltip } from "@gooddata/sdk-ui-kit";
8
+ import { _compact } from "@gooddata/util";
8
9
  import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
9
10
  import { selectSupportsRichTextWidgets } from "../../../model/store/backendCapabilities/backendCapabilitiesSelectors.js";
10
11
  import { selectIsAiLoading } from "../../../model/store/config/configSelectors.js";
@@ -44,7 +45,7 @@ export function CreationPanel(props) {
44
45
  const creating = InsightWidgetComponentSet.creating;
45
46
  const isInsightEditorItem = creating?.CreatePanelListItemComponent === InsightEditorCreatePanelItem ||
46
47
  creating?.CreatingPlaceholderComponent === InsightEditorPlaceholder;
47
- const items = compact([
48
+ const items = _compact([
48
49
  (!isInsightEditorItem || canCreateInsightInEditor) && InsightWidgetComponentSet.creating,
49
50
  AttributeFilterComponentSet.creating,
50
51
  DashboardLayoutWidgetComponentSet.creating,
@@ -1 +1 @@
1
- {"version":3,"file":"DraggableInsightListCore.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAMvE,wBAAgB,wBAAwB,CAAC,EACrC,oCAAoC,EACpC,QAAQ,EACR,GAAG,cAAc,EACpB,EAAE,iBAAiB,2CA+EnB"}
1
+ {"version":3,"file":"DraggableInsightListCore.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAMvE,wBAAgB,wBAAwB,CAAC,EACrC,oCAAoC,EACpC,QAAQ,EACR,GAAG,cAAc,EACpB,EAAE,iBAAiB,2CA0EnB"}
@@ -1,7 +1,6 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2022-2026 GoodData Corporation
3
3
  import { useState } from "react";
4
- import cx from "classnames";
5
4
  import { insightCreated, insightIsLocked, insightSummary, insightTitle, insightUpdated, insightVisualizationType, } from "@gooddata/sdk-model";
6
5
  import { InsightListItem } from "@gooddata/sdk-ui-kit";
7
6
  import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
@@ -23,7 +22,7 @@ export function DraggableInsightListCore({ WrapInsightListItemWithDragComponent,
23
22
  const { LoadingComponent } = useDashboardComponentsContext();
24
23
  const [insightToDelete, setInsightToDelete] = useState(undefined);
25
24
  const [deletedRefs, setDeletedRefs] = useState([]);
26
- return (_jsxs(_Fragment, { children: [insightToDelete ? (_jsx(DeleteInsightDialog, { insight: insightToDelete, onClose: () => setInsightToDelete(undefined), onDeleted: (ref) => setDeletedRefs((refs) => [...refs, ref]) })) : null, _jsx(InsightList, { ...remainingProps, disabled: disabled, includePermissions: shouldLoadInsightPermissionsForDelete(settings, permissions), excludeRefs: deletedRefs, renderItem: ({ item: insight, width, isFirst, isLast }) => {
25
+ return (_jsxs(_Fragment, { children: [insightToDelete ? (_jsx(DeleteInsightDialog, { insight: insightToDelete, onClose: () => setInsightToDelete(undefined), onDeleted: (ref) => setDeletedRefs((refs) => [...refs, ref]) })) : null, _jsx(InsightList, { ...remainingProps, disabled: disabled, includePermissions: shouldLoadInsightPermissionsForDelete(settings, permissions), excludeRefs: deletedRefs, renderItem: ({ item: insight, width }) => {
27
26
  if (!insight) {
28
27
  return _jsx(InsightListItem, { isLoading: true });
29
28
  }
@@ -31,17 +30,13 @@ export function DraggableInsightListCore({ WrapInsightListItemWithDragComponent,
31
30
  return _jsx(InsightListDivider, {});
32
31
  }
33
32
  const visualizationType = insightVisualizationType(insight);
34
- const classNames = cx("gd-visualizations-list-item-wrap", {
35
- "is-first": isFirst,
36
- "is-last": isLast,
37
- });
38
33
  const description = insightSummary(insight)?.trim();
39
34
  const eventPayload = {
40
35
  from: "insight",
41
36
  type: "inherit",
42
37
  description,
43
38
  };
44
- return (_jsx(DraggableInsightListItemWrapper, { WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, title: insightTitle(insight), description: description, showDescriptionPanel: true, type: visualizationType, width: width, className: classNames, updated: insightUpdated(insight) ?? insightCreated(insight), isLocked: insightIsLocked(insight), insight: insight, onDescriptionPanelOpen: () => {
39
+ return (_jsx(DraggableInsightListItemWrapper, { WrapInsightListItemWithDragComponent: WrapInsightListItemWithDragComponent, title: insightTitle(insight), description: description, showDescriptionPanel: true, type: visualizationType, width: width, className: "gd-visualizations-list-item-wrap", updated: insightUpdated(insight) ?? insightCreated(insight), isLocked: insightIsLocked(insight), insight: insight, onDescriptionPanelOpen: () => {
45
40
  userInteraction.descriptionTooltipOpened(eventPayload);
46
41
  }, metadataTimeZone: settings?.metadataTimeZone, useReferences: true, restrictedReferences: restrictedReferences, LoadingComponent: LoadingComponent, disabled: disabled, onDelete: !disabled &&
47
42
  !insight.isRelated &&
@@ -1 +1 @@
1
- {"version":3,"file":"useDrillValidationMessages.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/useDrillValidationMessages.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAgCrD,wBAAgB,0BAA0B;;wBA+E7B,MAAM;;EAyBlB"}
1
+ {"version":3,"file":"useDrillValidationMessages.d.ts","sourceRoot":"","sources":["../../../../src/presentation/dashboard/components/useDrillValidationMessages.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAiCrD,wBAAgB,0BAA0B;;wBA+E7B,MAAM;;EAyBlB"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2021-2026 GoodData Corporation
3
3
  import { useCallback, useMemo } from "react";
4
- import { compact } from "lodash-es";
5
4
  import { defineMessages, useIntl } from "react-intl";
6
5
  import { isWidget, widgetTitle } from "@gooddata/sdk-model";
6
+ import { _compact } from "@gooddata/util";
7
7
  import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
8
8
  import { selectIsInEditMode } from "../../../model/store/renderMode/renderModeSelectors.js";
9
9
  import { selectWidgetsMap } from "../../../model/store/tabs/layout/layoutSelectors.js";
@@ -38,10 +38,10 @@ export function useDrillValidationMessages() {
38
38
  if (!isInEditMode) {
39
39
  return [];
40
40
  }
41
- const invalidDrillWidgets = compact(invalidDrillWidgetRefs.map((ref) => allWidgets.get(ref)).filter(isWidget));
42
- const sanitizedDrillWidgets = compact(sanitizedDrillWidgetRefs.map((ref) => allWidgets.get(ref)).filter(isWidget));
43
- const invalidUrlDrillWidgets = compact(invalidUrlDrillWidgetRefs.map((ref) => allWidgets.get(ref)).filter(isWidget));
44
- return compact([
41
+ const invalidDrillWidgets = _compact(invalidDrillWidgetRefs.map((ref) => allWidgets.get(ref)).filter(isWidget));
42
+ const sanitizedDrillWidgets = _compact(sanitizedDrillWidgetRefs.map((ref) => allWidgets.get(ref)).filter(isWidget));
43
+ const invalidUrlDrillWidgets = _compact(invalidUrlDrillWidgetRefs.map((ref) => allWidgets.get(ref)).filter(isWidget));
44
+ return _compact([
45
45
  invalidDrillWidgets.length > 0 &&
46
46
  {
47
47
  id: DRILL_MESSAGE_ID,
@@ -1 +1 @@
1
- {"version":3,"file":"defaultDashboardThemeModifier.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/defaultDashboardThemeModifier.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,UAAW,MAAM,KAAG,MAkC7D,CAAC"}
1
+ {"version":3,"file":"defaultDashboardThemeModifier.d.ts","sourceRoot":"","sources":["../../../src/presentation/dashboard/defaultDashboardThemeModifier.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,UAAW,MAAM,KAAG,MAkC7D,CAAC"}
@@ -1,12 +1,12 @@
1
- // (C) 2020-2025 GoodData Corporation
2
- import { cloneDeep, isEmpty } from "lodash-es";
1
+ // (C) 2020-2026 GoodData Corporation
2
+ import { _cloneDeep, _isEmpty } from "@gooddata/util";
3
3
  /**
4
4
  * Default modifier applied to any theme passed to Dashboard component
5
5
  * @param theme - theme to modify
6
6
  * @beta
7
7
  */
8
8
  export const defaultDashboardThemeModifier = (theme) => {
9
- const modifiedTheme = cloneDeep(theme);
9
+ const modifiedTheme = _cloneDeep(theme);
10
10
  if (theme?.dashboards?.content?.kpiWidget?.kpi) {
11
11
  // duplicate dashboard specific kpi customization to the generic kpi key
12
12
  modifiedTheme.kpi = {
@@ -24,7 +24,7 @@ export const defaultDashboardThemeModifier = (theme) => {
24
24
  if (theme?.table?.backgroundColor) {
25
25
  additionalCssProperties.push(`--gd-dashboards-content-widget-table-backgroundColor: ${theme.table.backgroundColor};`);
26
26
  }
27
- if (!isEmpty(additionalCssProperties)) {
27
+ if (!_isEmpty(additionalCssProperties)) {
28
28
  const styleTag = document.createElement("style");
29
29
  styleTag.appendChild(document.createTextNode(`:root{${additionalCssProperties.join("")}}`));
30
30
  document.head.appendChild(styleTag);
@@ -722,6 +722,8 @@ export interface IDashboardBaseProps {
722
722
  * identifier - this is same as using `idRef(objectIdentifier)`.
723
723
  *
724
724
  * If you do not specify dashboard to render, a new default empty dashboard will be rendered.
725
+ * To render an AI-proposed draft, supply the dashboard by value and set `config.references`.
726
+ * Use `config.initialRenderMode: "edit"` to allow saving it.
725
727
  */
726
728
  dashboard?: string | ObjRef | IDashboard;
727
729
  /**