@gooddata/sdk-ui-dashboard 11.68.0-alpha.8 → 11.68.0

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 (215) hide show
  1. package/NOTICE +63 -394
  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.js +4 -4
  6. package/esm/_staging/catalog/computedAttributes.d.ts.map +1 -1
  7. package/esm/_staging/catalog/computedAttributes.js +2 -2
  8. package/esm/_staging/dateFilterConfig/merge.d.ts.map +1 -1
  9. package/esm/_staging/dateFilterConfig/merge.js +2 -2
  10. package/esm/_staging/dateFilterConfig/validation.d.ts.map +1 -1
  11. package/esm/_staging/dateFilterConfig/validation.js +2 -3
  12. package/esm/kdaDialog/components/KdaKeyDriverChart.d.ts.map +1 -1
  13. package/esm/kdaDialog/components/KdaKeyDriverChart.js +1 -2
  14. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
  15. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +13 -3
  16. package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/dashboard/common/filterViews.js +4 -5
  18. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  19. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +2 -2
  20. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +2 -2
  22. package/esm/model/commandHandlers/drill/assertSafeDrillUrl.d.ts +4 -0
  23. package/esm/model/commandHandlers/drill/assertSafeDrillUrl.d.ts.map +1 -0
  24. package/esm/model/commandHandlers/drill/assertSafeDrillUrl.js +8 -0
  25. package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.d.ts.map +1 -1
  26. package/esm/model/commandHandlers/drill/drillToAttributeUrlHandler.js +2 -0
  27. package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.d.ts.map +1 -1
  28. package/esm/model/commandHandlers/drill/drillToCustomUrlHandler.js +2 -0
  29. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.d.ts.map +1 -1
  30. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js +4 -3
  31. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  32. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -2
  33. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  34. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +6 -7
  35. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
  36. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +3 -2
  37. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.d.ts.map +1 -1
  38. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +2 -2
  39. package/esm/model/commandHandlers/parameters/dashboardParameterRoots.d.ts.map +1 -1
  40. package/esm/model/commandHandlers/parameters/dashboardParameterRoots.js +3 -3
  41. package/esm/model/commandHandlers/parameters/parameterDependenciesWorker.d.ts.map +1 -1
  42. package/esm/model/commandHandlers/parameters/parameterDependenciesWorker.js +2 -2
  43. package/esm/model/commandHandlers/render/renderingWorker.d.ts.map +1 -1
  44. package/esm/model/commandHandlers/render/renderingWorker.js +2 -2
  45. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  46. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +4 -5
  47. package/esm/model/commandHandlers/widgets/validation/filterValidation.d.ts.map +1 -1
  48. package/esm/model/commandHandlers/widgets/validation/filterValidation.js +2 -3
  49. package/esm/model/queryServices/queryInsightAttributesMeta.js +3 -3
  50. package/esm/model/queryServices/queryInsightDateDatasets.d.ts.map +1 -1
  51. package/esm/model/queryServices/queryInsightDateDatasets.js +2 -3
  52. package/esm/model/store/_infra/queryService.d.ts.map +1 -1
  53. package/esm/model/store/_infra/queryService.js +4 -3
  54. package/esm/model/store/_infra/selectors.d.ts.map +1 -1
  55. package/esm/model/store/_infra/selectors.js +3 -3
  56. package/esm/model/store/config/configSelectors.d.ts +0 -6
  57. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  58. package/esm/model/store/config/configSelectors.js +0 -8
  59. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  60. package/esm/model/store/dashboardStore.js +3 -2
  61. package/esm/model/store/drillTargets/drillTargetsSelectors.d.ts.map +1 -1
  62. package/esm/model/store/drillTargets/drillTargetsSelectors.js +2 -2
  63. package/esm/model/store/tabs/filterContext/filterContextSelectors.js +3 -3
  64. package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
  65. package/esm/model/store/tabs/filterContext/filterContextUtils.js +2 -2
  66. package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
  67. package/esm/model/store/tabs/layout/layoutSelectors.js +2 -3
  68. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +10 -0
  69. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  70. package/esm/model/store/tabs/parameters/parametersHelpers.js +19 -5
  71. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  72. package/esm/model/store/tabs/parameters/parametersSelectors.js +2 -3
  73. package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
  74. package/esm/model/store/widgetDrills/widgetDrillSelectors.js +5 -6
  75. package/esm/model/utils/alertsUtils.d.ts.map +1 -1
  76. package/esm/model/utils/alertsUtils.js +2 -2
  77. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.d.ts.map +1 -1
  78. package/esm/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.js +1 -1
  79. package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.d.ts.map +1 -1
  80. package/esm/presentation/automations/connectors/hooks/sanitizeAutomationForSave.js +2 -2
  81. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
  82. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +2 -2
  83. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +2 -2
  84. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
  85. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +4 -3
  86. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.d.ts.map +1 -1
  87. package/esm/presentation/automations/shared/automationFilters/useAutomationFilters.js +2 -2
  88. package/esm/presentation/automations/shared/utils/automationUtils.js +4 -4
  89. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.d.ts.map +1 -1
  90. package/esm/presentation/dashboard/DashboardSidebar/CreationPanel.js +2 -3
  91. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  92. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +2 -7
  93. package/esm/presentation/dashboardList/DashboardList.js +2 -2
  94. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +3 -3
  95. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
  96. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +3 -4
  97. package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts +3 -2
  98. package/esm/presentation/export/hooks/useDashboardRelatedFilters.d.ts.map +1 -1
  99. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +12 -7
  100. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
  101. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +2 -2
  102. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +3 -3
  103. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
  104. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
  105. package/esm/presentation/insightEditor/filterContext/filterIntersection.d.ts.map +1 -1
  106. package/esm/presentation/insightEditor/filterContext/filterIntersection.js +3 -3
  107. package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
  108. package/esm/presentation/insightList/InsightList.js +2 -9
  109. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +6 -0
  110. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  111. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +13 -7
  112. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +6 -0
  113. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  114. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +6 -0
  115. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +6 -0
  116. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  117. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +6 -0
  118. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +4 -0
  119. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  120. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +4 -0
  121. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +6 -0
  122. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  123. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +6 -0
  124. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +6 -0
  125. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  126. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +6 -0
  127. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +6 -0
  128. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  129. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +6 -0
  130. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +6 -0
  131. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  132. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +6 -0
  133. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +6 -0
  134. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  135. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +6 -0
  136. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +6 -0
  137. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  138. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +6 -0
  139. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +6 -0
  140. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  141. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +6 -0
  142. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +6 -0
  143. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  144. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +6 -0
  145. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +6 -0
  146. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  147. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +6 -0
  148. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +6 -0
  149. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  150. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +6 -0
  151. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +6 -0
  152. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  153. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +6 -0
  154. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +6 -0
  155. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  156. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +6 -0
  157. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +6 -0
  158. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  159. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +6 -0
  160. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +6 -0
  161. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  162. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +6 -0
  163. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +6 -0
  164. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  165. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +6 -0
  166. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +6 -0
  167. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  168. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +6 -0
  169. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +6 -0
  170. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  171. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +6 -0
  172. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +6 -0
  173. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  174. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +6 -0
  175. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +6 -0
  176. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  177. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +6 -0
  178. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +6 -0
  179. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  180. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +6 -0
  181. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +6 -0
  182. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  183. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +6 -0
  184. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +6 -0
  185. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  186. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +6 -0
  187. package/esm/presentation/localization/translations.d.ts.map +1 -1
  188. package/esm/presentation/localization/translations.js +2 -3
  189. package/esm/presentation/widget/common/configuration/DateDatasetDropdown.d.ts.map +1 -1
  190. package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js +2 -2
  191. package/esm/presentation/widget/insight/configuration/DrillFilters/messages.d.ts +3 -0
  192. package/esm/presentation/widget/insight/configuration/DrillFilters/messages.d.ts.map +1 -1
  193. package/esm/presentation/widget/insight/configuration/DrillFilters/messages.js +3 -0
  194. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillFiltersConfig.d.ts.map +1 -1
  195. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillFiltersConfig.js +8 -3
  196. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillParameterOptions.d.ts +13 -0
  197. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillParameterOptions.d.ts.map +1 -0
  198. package/esm/presentation/widget/insight/configuration/DrillFilters/useDrillParameterOptions.js +58 -0
  199. package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.d.ts.map +1 -1
  200. package/esm/presentation/widget/insight/configuration/DrillTargets/useInvalidFilteringParametersIdentifiers.js +2 -2
  201. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.d.ts.map +1 -1
  202. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useSaveAlertToBackend.js +2 -2
  203. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.d.ts.map +1 -1
  204. package/esm/presentation/widget/widget/warningPartialResult/InsightWidgetWarningPartialResult.js +1 -2
  205. package/package.json +24 -23
  206. package/styles/css/configurationPanel.css +2 -8
  207. package/styles/css/configurationPanel.css.map +1 -1
  208. package/styles/css/dashboard.css +8 -3
  209. package/styles/css/dashboard.css.map +1 -1
  210. package/styles/css/main.css +10 -11
  211. package/styles/css/main.css.map +1 -1
  212. package/styles/css/scheduled_mail_recipients.css +8 -3
  213. package/styles/css/scheduled_mail_recipients.css.map +1 -1
  214. package/styles/scss/configurationPanel.scss +2 -12
  215. package/styles/scss/scheduled_mail_recipients.scss +15 -4
@@ -1 +1 @@
1
- {"version":3,"file":"alertsUtils.d.ts","sourceRoot":"","sources":["../../../src/model/utils/alertsUtils.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAQd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAE1E;;;;;;;;;;;GAWG;AACH,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,sBAAsB,GAAG,SAAS,EACzC,GAAG,EAAE,iBAAiB,EACtB,cAAc,EAAE,OAAO,EAAE,EACzB,eAAe,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC/D,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACvC,2BAA2B,EAAE,CAqE/B"}
1
+ {"version":3,"file":"alertsUtils.d.ts","sourceRoot":"","sources":["../../../src/model/utils/alertsUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,MAAM,EAQd,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAE1E;;;;;;;;;;;GAWG;AACH,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,sBAAsB,GAAG,SAAS,EACzC,GAAG,EAAE,iBAAiB,EACtB,cAAc,EAAE,OAAO,EAAE,EACzB,eAAe,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC/D,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACvC,2BAA2B,EAAE,CAqE/B"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { partition } from "lodash-es";
3
2
  import { invariant } from "ts-invariant";
4
3
  import { areObjRefsEqual, filterObjRef, isAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterReference, isDashboardDateFilter, isDashboardDateFilterReference, } from "@gooddata/sdk-model";
4
+ import { _partition } from "@gooddata/util";
5
5
  /**
6
6
  * Gets the information about the so called broken alert filters. These are filters that are set up on the alert,
7
7
  * but the currently applied filters either do not contain them, or the KPI has started ignoring them
@@ -21,7 +21,7 @@ export function getBrokenAlertFiltersBasicInfo(alert, kpi, appliedFilters, displ
21
21
  return [];
22
22
  }
23
23
  const result = [];
24
- const [alertDateFilters, alertNonDateFilters] = partition(alertFilters, isDashboardDateFilter);
24
+ const [alertDateFilters, alertNonDateFilters] = _partition(alertFilters, isDashboardDateFilter);
25
25
  const alertAttributeFilters = alertNonDateFilters.filter(isDashboardAttributeFilter);
26
26
  // attribute filters
27
27
  const appliedAttributeFilters = appliedFilters.filter(isAttributeFilter);
@@ -1 +1 @@
1
- {"version":3,"file":"AlertingDialogFieldLabelWithTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,YAAY,CAAC;AAI/E;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,EAChD,KAAK,EACL,OAAO,GACV,EAAE;IACC,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC9B,2CAsBA"}
1
+ {"version":3,"file":"AlertingDialogFieldLabelWithTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/blocks/AlertingDialogFieldLabelWithTooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,YAAY,CAAC;AAI/E;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,EAChD,KAAK,EACL,OAAO,GACV,EAAE;IACC,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC9B,2CA0BA"}
@@ -9,5 +9,5 @@ import { UiIconButton, UiTooltip } from "@gooddata/sdk-ui-kit";
9
9
  */
10
10
  export function AlertingDialogFieldLabelWithTooltip({ label, tooltip, }) {
11
11
  const intl = useIntl();
12
- return (_jsxs("div", { className: "gd-dashboard-alerting-dialog-form-field__content-container-tooltip", children: [_jsx(FormattedMessage, { ...label }), _jsx(UiTooltip, { anchor: _jsx(UiIconButton, { icon: "question", variant: "tertiary", size: "xxsmall", accessibilityConfig: { ariaLabel: intl.formatMessage(label) } }), content: _jsx(FormattedMessage, { ...tooltip }), arrowPlacement: "left", optimalPlacement: true, offset: 10, triggerBy: ["hover", "click"] })] }));
12
+ return (_jsxs("span", { className: "gd-dashboard-alerting-dialog-form-field__content-container-tooltip", children: [_jsx(FormattedMessage, { ...label }), _jsx("span", { className: "gd-dashboard-alerting-dialog-form-field__label-tooltip-icon", children: _jsx(UiTooltip, { component: "span", inlineAnchor: true, anchor: _jsx(UiIconButton, { icon: "question", variant: "tertiary", size: "xxsmall", accessibilityConfig: { ariaLabel: intl.formatMessage(label) } }), content: _jsx(FormattedMessage, { ...tooltip }), arrowPlacement: "left", optimalPlacement: true, offset: 10, triggerBy: ["hover", "click"] }) })] }));
13
13
  }
@@ -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":"RecipientsSelect.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,OAAO,CAAC;AAIpD,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAU7B,UAAU,sBAAsB;IAC5B;;OAEG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAE5D;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;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;AAED,wBAAgB,gBAAgB,CAAC,EAC7B,EAAE,EACF,KAAK,EACL,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,uBAAuB,EACvB,6BAA6B,EAC7B,aAAa,EACb,SAAS,EACT,oBAAoB,EACpB,qBAAqB,EACrB,SAAgB,EAChB,eAAe,EACf,yBAAyB,GAC5B,EAAE,sBAAsB,2CAwExB"}
1
+ {"version":3,"file":"RecipientsSelect.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAC1C,MAAM,qBAAqB,CAAC;AAW7B,UAAU,sBAAsB;IAC5B;;OAEG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAE9B;;OAEG;IACH,QAAQ,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAE5D;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,oBAAoB,CAAC,EAAE,8BAA8B,EAAE,GAAG,kCAAkC,EAAE,CAAC;IAE/F;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;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;AAED,wBAAgB,gBAAgB,CAAC,EAC7B,EAAE,EACF,KAAK,EACL,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,uBAAuB,EACvB,6BAA6B,EAC7B,aAAa,EACb,SAAS,EACT,oBAAoB,EACpB,qBAAqB,EACrB,SAAgB,EAChB,eAAe,EACf,yBAAyB,GAC5B,EAAE,sBAAsB,2CAwExB"}
@@ -1,8 +1,8 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2019-2026 GoodData Corporation
3
3
  import { useMemo } from "react";
4
- import { sortBy } from "lodash-es";
5
4
  import { DETAILED_ANNOUNCEMENT_THRESHOLD, UiSearchResultsAnnouncement } from "@gooddata/sdk-ui-kit";
5
+ import { _sortBy } from "@gooddata/util";
6
6
  import { useWorkspaceUsersSearch } from "../../../../shared/hooks/useWorkspaceUsersSearch.js";
7
7
  import { convertUserToAutomationRecipient } from "../../../../shared/utils/automationUtils.js";
8
8
  import { createUser, getRecipientLabel, matchRecipient } from "../../../utils/users.js";
@@ -22,7 +22,7 @@ export function RecipientsSelect({ id, value, onChange, loggedUser, allowEmptySe
22
22
  ? loggedUser && matchRecipient(loggedUser, search)
23
23
  ? [loggedUser]
24
24
  : []
25
- : sortBy((users ?? []).map(convertUserToAutomationRecipient), "email");
25
+ : _sortBy((users ?? []).map(convertUserToAutomationRecipient), "email");
26
26
  // If there is no user found and the search is an email, add it as an external recipient
27
27
  if (search && mappedUsers.length === 0 && isEmail(search) && allowExternalRecipients) {
28
28
  mappedUsers.push(createUser(search));
@@ -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":"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;AAO7B,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;IACp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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;IACC,gBAAgB,CAAC,EAAE,yBAAyB,CAAC;IAC7C,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,OAAO,CAAC,EAAE,QAAQ,CAAC;CACtB,GAAG,2BAA2B,CAyD9B;AAoHD;;;;GAIG;AACH,wBAAgB,oCAAoC,CAAC,EACjD,qBAAqB,EACrB,OAAO,EACP,wBAAwB,EACxB,cAAc,EACd,WAAW,GACd,EAAE;IACC,qBAA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AgB,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;IAC3D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,8DAA8D;IAC9D,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,sFAAsF;IACtF,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,4DAA4D;IAC5D,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,4CAA4C;IAC5C,gBAAgB,EAAE,+BAA+B,EAAE,CAAC;IACpD,uCAAuC;IACv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AM,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;IAC3D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,8DAA8D;IAC9D,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,sFAAsF;IACtF,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,4DAA4D;IAC5D,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;IACxC,4CAA4C;IAC5C,gBAAgB,EAAE,+BAA+B,EAAE,CAAC;IACpD,uCAAuC;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,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,7 +1,7 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
- import { 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 } from "@gooddata/util";
4
+ import { _isEqual, _omit } from "@gooddata/util";
5
5
  export const isDashboardAutomation = (automation) => {
6
6
  if (!automation) {
7
7
  return false;
@@ -87,8 +87,8 @@ export const getAutomationAlertFilters = (automation) => {
87
87
  };
88
88
  const sortByFormat = (a, b) => a.requestPayload.format.localeCompare(b.requestPayload.format);
89
89
  export const areAutomationsEqual = (originalAutomation, updatedAutomation) => {
90
- const automationWithoutExportDefinitions = omit(updatedAutomation, "exportDefinitions");
91
- const origAutomationWithoutExportDefinitions = omit(originalAutomation, "exportDefinitions");
90
+ const automationWithoutExportDefinitions = _omit(updatedAutomation, "exportDefinitions");
91
+ const origAutomationWithoutExportDefinitions = _omit(originalAutomation, "exportDefinitions");
92
92
  // We only want to compare requestPayload and title of exportDefinitions, rest may be omitted as it is just arbitrary
93
93
  // metadata that is not relevant for the comparison and causes false positive results when comparing new and old def.
94
94
  // Sorting is done just to avoid false positive result of different order of export definitions.
@@ -1 +1 @@
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"}
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"}
@@ -2,10 +2,9 @@ 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 { sortBy } from "lodash-es";
6
5
  import { FormattedMessage, useIntl } from "react-intl";
7
6
  import { Typography, UiIconButton, UiTooltip } from "@gooddata/sdk-ui-kit";
8
- import { _compact } from "@gooddata/util";
7
+ import { _compact, _sortBy } from "@gooddata/util";
9
8
  import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
10
9
  import { selectSupportsRichTextWidgets } from "../../../model/store/backendCapabilities/backendCapabilitiesSelectors.js";
11
10
  import { selectIsAiLoading } from "../../../model/store/config/configSelectors.js";
@@ -52,7 +51,7 @@ export function CreationPanel(props) {
52
51
  VisualizationSwitcherWidgetComponentSet.creating,
53
52
  supportsRichText && RichTextWidgetComponentSet.creating,
54
53
  ]);
55
- return sortBy(items, (item) => item.priority ?? 0).map(({ CreatePanelListItemComponent, type }) => {
54
+ return _sortBy(items, (item) => item.priority ?? 0).map(({ CreatePanelListItemComponent, type }) => {
56
55
  const listItem = (_jsx(CreatePanelListItemComponent, { WrapCreatePanelItemWithDragComponent: WrapCreatePanelItemWithDragComponent, disabled: isAiLoading }));
57
56
  const tooltip = RAIL_TOOLTIPS[type];
58
57
  if (!isRailCollapsed || !tooltip) {
@@ -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,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2020-2026 GoodData Corporation
3
3
  import { useMemo, useState } from "react";
4
- import { sortBy } from "lodash-es";
5
4
  import { useIntl } from "react-intl";
6
5
  import { Dropdown, DropdownList } from "@gooddata/sdk-ui-kit";
6
+ import { _sortBy } from "@gooddata/util";
7
7
  import { dashboardMatch } from "../drill/utils/dashboardPredicate.js";
8
8
  import { DashboardListButton } from "./DashboardListButton.js";
9
9
  import { DashboardListItem } from "./DashboardListItem.js";
@@ -40,7 +40,7 @@ export function DashboardList({ selected, dashboards, onSelect }) {
40
40
  if (selectedDashboard) {
41
41
  items = items.map((item) => item.identifier === selectedDashboard.identifier ? { ...item, selected: true } : item);
42
42
  }
43
- return sortBy(items, (dashboard) => dashboard.title.toLowerCase());
43
+ return _sortBy(items, (dashboard) => dashboard.title.toLowerCase());
44
44
  }, [dashboards, searchString, selectedDashboard]);
45
45
  const searchPlaceholder = intl.formatMessage({
46
46
  id: "configurationPanel.drillConfig.drillIntoDashboard.searchPlaceholder",
@@ -3,12 +3,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useCallback, useMemo, useState } from "react";
4
4
  import { HighlightStyle, StreamLanguage, syntaxHighlighting } from "@codemirror/language";
5
5
  import { Tag } from "@lezer/highlight";
6
- import { escapeRegExp, uniqBy } from "lodash-es";
6
+ import { escapeRegExp } from "lodash-es";
7
7
  import { FormattedMessage, useIntl } from "react-intl";
8
8
  import { dashboardAttributeFilterItemToAttributeFilter, filterObjRef, insightFilters as insightDefinitionFilters, isArbitraryAttributeFilter, isAttributeFilter, isMatchAttributeFilter, isMeasureValueFilter, isNegativeAttributeFilter, isPositiveAttributeFilter, objRefToString, serializeObjRef, } from "@gooddata/sdk-model";
9
9
  import { attributeIdentifierToPlaceholder, dashboardAttributeFilterToPlaceholder, displayFormPlaceholderRef, insightAttributeFilterToPlaceholder, parameterIdentifierToPlaceholder, } from "@gooddata/sdk-model/internal";
10
10
  import { ConfirmDialogBase, DefaultSyntaxHighlightingInput, FullScreenOverlay, Overlay, OverlayController, OverlayControllerProvider, useMediaQuery, } from "@gooddata/sdk-ui-kit";
11
- import { _compact } from "@gooddata/util";
11
+ import { _compact, _uniqBy } from "@gooddata/util";
12
12
  import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
13
13
  import { selectAllCatalogDisplayFormsMap, selectAllCatalogMeasuresMap, } from "../../../../model/store/catalog/catalogSelectors.js";
14
14
  import { selectEnableMeasureValueFilterKD, selectIsWhiteLabeled, } from "../../../../model/store/config/configSelectors.js";
@@ -309,7 +309,7 @@ function useSanitizedInsightFilters(widgetRef) {
309
309
  return undefined;
310
310
  }
311
311
  // Date filters are currently not supported, so filter them out
312
- return uniqBy(insightDefinitionFilters(insight)
312
+ return _uniqBy(insightDefinitionFilters(insight)
313
313
  .filter(isAttributeFilter)
314
314
  .map(sanitizeAttributeFilter)
315
315
  .filter(isAttributeFilter), // filter out undefined values (eg. filters with removed display forms)
@@ -1 +1 @@
1
- {"version":3,"file":"DrillSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAMA,OAAO,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M,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAC3E,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC,KAAG,gBAAgB,EA2JnB,CAAC"}
1
+ {"version":3,"file":"DrillSelectDropdown.d.ts","sourceRoot":"","sources":["../../../../src/presentation/drill/DrillSelect/DrillSelectDropdown.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,YAAY,CAAC;AAGrD,OAAO,EACH,KAAK,mCAAmC,EACxC,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,OAAO,EAgBf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,WAAW,EAAsB,MAAM,kBAAkB,CAAC;AAKxE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAazE,OAAO,EAAE,KAAK,wBAAwB,EAAyB,MAAM,mBAAmB,CAAC;AAazF,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EAExB,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,yBAA0B,SAAQ,mBAAmB;IAClE,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,EAAE,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACxE;AAED,wBAAgB,mBAAmB,CAAC,EAChC,MAAM,EACN,mBAAmB,EACnB,OAAO,EACP,kBAAkB,EAClB,QAAQ,EACR,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACb,EAAE,yBAAyB,kDA+K3B;AAgGD,eAAO,MAAM,sBAAsB,kKAWhC;IACC,iBAAiB,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,OAAO,CAAC;IAChE,gBAAgB,EAAE,wBAAwB,EAAE,CAAC;IAC7C,UAAU,EAAE,WAAW,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;IAC9B,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,mCAAmC,CAAC,CAAC;IAC3E,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACvC,KAAG,gBAAgB,EA2JnB,CAAC"}
@@ -2,13 +2,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2020-2026 GoodData Corporation
3
3
  import { useCallback, useEffect, useMemo, useRef } from "react";
4
4
  import stringify from "json-stable-stringify";
5
- import { groupBy, uniqBy } from "lodash-es";
6
5
  import { useIntl } from "react-intl";
7
6
  import { invariant } from "ts-invariant";
8
7
  import { areObjRefsEqual, insightTitle, isAttributeDescriptor, isCrossFiltering, isDrillFromAttribute, isDrillToAttributeUrl, isDrillToCustomUrl, isDrillToDashboard, isDrillToInsight, isDrillToLegacyDashboard, isIdentifierRef, isInsightWidget, isKeyDriveAnalysis, objRefToString, } from "@gooddata/sdk-model";
9
8
  import { UnexpectedSdkError } from "@gooddata/sdk-ui";
10
9
  import { Overlay, UiFocusManager, UiMenu } from "@gooddata/sdk-ui-kit";
11
- import { _compact } from "@gooddata/util";
10
+ import { _compact, _groupBy, _uniqBy } from "@gooddata/util";
12
11
  import { getDrillOriginLocalIdentifier } from "../../../_staging/drills/drillingUtils.js";
13
12
  import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
14
13
  import { selectAccessibleDashboards } from "../../../model/store/accessibleDashboards/accessibleDashboardsSelectors.js";
@@ -101,7 +100,7 @@ export function DrillSelectDropdown({ isOpen, dropDownAnchorClass, onClose, onCl
101
100
  attributeDisplayForms,
102
101
  enableSecondGranularities,
103
102
  ]);
104
- const grouped = groupBy(drillSelectItems, (item) => {
103
+ const grouped = _groupBy(drillSelectItems, (item) => {
105
104
  switch (item.type) {
106
105
  case DrillType.DRILL_DOWN:
107
106
  return "drillDown";
@@ -354,7 +353,7 @@ export const createDrillSelectItems = ({ drillDefinitions, drillEvent, insights,
354
353
  * It let other types of drill definitions as it is.
355
354
  */
356
355
  function deduplicateDrillIntoUrlItems(drillDefinitions) {
357
- return uniqBy(drillDefinitions, (drillDefinition) => {
356
+ return _uniqBy(drillDefinitions, (drillDefinition) => {
358
357
  if (!isDrillToAttributeUrl(drillDefinition)) {
359
358
  return drillDefinition;
360
359
  }
@@ -20,8 +20,9 @@ export declare function useDashboardRelatedFilters(run: boolean): {
20
20
  isSuccess: boolean;
21
21
  };
22
22
  /**
23
- * Titles to display for the elements: the raw titles, with the values of a numeric computed attribute
24
- * formatted by the number format of the elements query result.
23
+ * Titles to display for the elements: the formatted title of an element that carries one (a date computed
24
+ * attribute), otherwise the raw title, with the values of a numeric computed attribute formatted by the
25
+ * number format of the elements query result.
25
26
  *
26
27
  * @internal exported for tests
27
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useDashboardRelatedFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/export/hooks/useDashboardRelatedFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAElC,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAInB,MAAM,qBAAqB,CAAC;AAkB7B;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,IAAI,EAAE,iBAAiB,GAAG,YAAY,GAAG,oBAAoB,CAAC;IAC9D,GAAG,EAAE,OAAO,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,6BAA6B,GAAG,kCAAkC,CAAC;CAC5E,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG;IACtD,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACtC,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAC;IAC9C,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACtB,CA4DA;AA4CD;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACjC,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,UAAU,EAAE,WAAW,GAAG,SAAS,GACpC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAQtB"}
1
+ {"version":3,"file":"useDashboardRelatedFilters.d.ts","sourceRoot":"","sources":["../../../../src/presentation/export/hooks/useDashboardRelatedFilters.ts"],"names":[],"mappings":"AAGA,OAAO,EACH,KAAK,kCAAkC,EACvC,KAAK,6BAA6B,EAElC,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAInB,MAAM,qBAAqB,CAAC;AAkB7B;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACjC,IAAI,EAAE,iBAAiB,GAAG,YAAY,GAAG,oBAAoB,CAAC;IAC9D,GAAG,EAAE,OAAO,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,IAAI,EAAE,6BAA6B,GAAG,kCAAkC,CAAC;CAC5E,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,OAAO,GAAG;IACtD,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACtC,gBAAgB,EAAE,sBAAsB,EAAE,CAAC;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAC;IAC9C,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACtB,CA4DA;AA4CD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,QAAQ,EAAE,iBAAiB,EAAE,EAC7B,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,UAAU,EAAE,WAAW,GAAG,SAAS,GACpC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAYtB"}
@@ -92,15 +92,20 @@ async function updateLabelElements(backend, workspaceId, attributeFiltersConfig,
92
92
  return dashboardFilter;
93
93
  }
94
94
  /**
95
- * Titles to display for the elements: the raw titles, with the values of a numeric computed attribute
96
- * formatted by the number format of the elements query result.
95
+ * Titles to display for the elements: the formatted title of an element that carries one (a date computed
96
+ * attribute), otherwise the raw title, with the values of a numeric computed attribute formatted by the
97
+ * number format of the elements query result.
97
98
  *
98
99
  * @internal exported for tests
99
100
  */
100
101
  export function elementsDisplayTitles(elements, numberFormat, separators) {
101
- if (!numberFormat) {
102
- return elements.map((element) => element.title);
103
- }
104
- const formatter = createNumberFormatter(separators);
105
- return elements.map((element) => formatAttributeValue(element.title, numberFormat, formatter));
102
+ const formatter = numberFormat ? createNumberFormatter(separators) : undefined;
103
+ return elements.map((element) => {
104
+ if (element.formattedTitle) {
105
+ return element.formattedTitle;
106
+ }
107
+ return numberFormat && formatter
108
+ ? formatAttributeValue(element.title, numberFormat, formatter)
109
+ : element.title;
110
+ });
106
111
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AttributesDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.tsx"],"names":[],"mappings":"AAQA,OAAO,EAGH,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAe7B,OAAO,EAAE,KAAK,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAS7E,OAAO,EACH,KAAK,iBAAiB,EAIzB,MAAM,gCAAgC,CAAC;AAwDxC;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,yCAAyC;IACvF,0FAA0F;IAC1F,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACjC,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AA6BD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,EAAE,EACF,SAAS,EACT,aAAa,EACb,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,QAAa,EACb,UAAiB,EACjB,uBAAkD,EAClD,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,UAAe,EACf,iBAAiB,GACpB,EAAE,wBAAwB,2CAyT1B"}
1
+ {"version":3,"file":"AttributesDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.tsx"],"names":[],"mappings":"AAOA,OAAO,EAGH,KAAK,aAAa,EAGrB,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,EAAE,KAAK,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAS7E,OAAO,EACH,KAAK,iBAAiB,EAIzB,MAAM,gCAAgC,CAAC;AAwDxC;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,yCAAyC;IACvF,0FAA0F;IAC1F,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACjC,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AA6BD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAC/B,EAAE,EACF,SAAS,EACT,aAAa,EACb,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,QAAa,EACb,UAAiB,EACjB,uBAAkD,EAClD,sBAAsB,EACtB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,UAAe,EACf,iBAAiB,GACpB,EAAE,wBAAwB,2CAyT1B"}
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2007-2026 GoodData Corporation
3
3
  import { useCallback, useEffect, useMemo, useState } from "react";
4
4
  import cx from "classnames";
5
- import { debounce } from "lodash-es";
6
5
  import { useIntl } from "react-intl";
7
6
  import { isCatalogAttribute, isCatalogMeasure, } from "@gooddata/sdk-model";
8
7
  import { Dropdown, DropdownList, SingleSelectListItem, UiIcon, useIdPrefixed, } from "@gooddata/sdk-ui-kit";
8
+ import { _debounce } from "@gooddata/util";
9
9
  import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
10
10
  import { selectSupportsMultipleDateFilters } from "../../../../model/store/backendCapabilities/backendCapabilitiesSelectors.js";
11
11
  import { selectEnableMeasureValueFilterKD } from "../../../../model/store/config/configSelectors.js";
@@ -107,7 +107,7 @@ export function AttributesDropdown({ id, className, bodyClassName, onClose, onOp
107
107
  const insightWidgets = useDashboardSelector(selectAllInsightWidgets);
108
108
  const shouldDisplayLocationIcon = useMemo(() => isLocationIconEnabled(insightWidgets, insightsMap), [insightWidgets, insightsMap]);
109
109
  // oxlint-disable-next-line react-hooks/exhaustive-deps
110
- const onSearch = useCallback(debounce((query) => {
110
+ const onSearch = useCallback(_debounce((query) => {
111
111
  setSearchQuery(query);
112
112
  }, 250), []);
113
113
  const onDropdownStateChange = useCallback((isOpen) => {
@@ -1,10 +1,10 @@
1
1
  // (C) 2023-2026 GoodData Corporation
2
2
  import { useCallback, useMemo } from "react";
3
- import { difference, partition } from "lodash-es";
3
+ import { difference } from "lodash-es";
4
4
  import { generateDateFilterLocalIdentifier } from "@gooddata/sdk-backend-base";
5
5
  import { dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMeasureValueFilter, isNoopAllTimeDashboardDateFilter, newAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
6
6
  import { useToastMessage } from "@gooddata/sdk-ui-kit";
7
- import { _isEqual } from "@gooddata/util";
7
+ import { _isEqual, _partition } from "@gooddata/util";
8
8
  import { messages } from "../../../../locales.js";
9
9
  import { changeFilterContextSelectionByParams, removeAttributeFilters, resetFilterContextWorkingSelection, } from "../../../../model/commands/filters.js";
10
10
  import { changeParameterValues } from "../../../../model/commands/parameters.js";
@@ -156,7 +156,7 @@ export const useResetFiltersButton = () => {
156
156
  // keep user-modified filters; only the cross-filter cleanup branch runs below.
157
157
  if (willResetFilterContext && userFilterResetAllowed) {
158
158
  // Normalize filters to include "All time" date filter
159
- const [[commonDateFilter], otherFilters] = partition(originalFilters, isDashboardCommonDateFilter);
159
+ const [[commonDateFilter], otherFilters] = _partition(originalFilters, isDashboardCommonDateFilter);
160
160
  if (isApplyAllAtOnceEnabledAndSet) {
161
161
  dispatch(resetFilterContextWorkingSelection());
162
162
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useFiltersWithAddedPlaceholder.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,MAAM,EASd,MAAM,qBAAqB,CAAC;AAgB7B,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,0BAA0B,CAE9F;AAED;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC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,OAAO,EAAE,iBAAiB,EAAE,EAC5B,cAAc,CAAC,EAAE,iBAAiB,EAAE,GACrC;IACC;QACI,gBAAgB,EAAE,oBAAoB,CAAC;QACvC,uBAAuB,CAAC,EAAE,oBAAoB,CAAC;QAC/C,+BAA+B,EAAE,uBAAuB,CAAC;QACzD,qBAAqB,EAAE,MAAM,CAAC;QAC9B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;KACtC;IACD;QACI,6BAA6B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACvD,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,4BAA4B,KAAK,IAAI,CAAC;QAC3F,uBAAuB,EAAE,MAAM,IAAI,CAAC;QACpC,sBAAsB,EAAE,MAAM,IAAI,CAAC;KACtC;CACJ,CA2OA"}
1
+ {"version":3,"file":"useFiltersWithAddedPlaceholder.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.tsx"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,MAAM,EASd,MAAM,qBAAqB,CAAC;AAiB7B,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACrC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,0BAA0B,CAE9F;AAED;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC1C,MAAM,EAAE,4BAA4B,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;I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EAAE,GACrC;IACC;QACI,gBAAgB,EAAE,oBAAoB,CAAC;QACvC,uBAAuB,CAAC,EAAE,oBAAoB,CAAC;QAC/C,+BAA+B,EAAE,uBAAuB,CAAC;QACzD,qBAAqB,EAAE,MAAM,CAAC;QAC9B,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;KACtC;IACD;QACI,6BAA6B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QACvD,qBAAqB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,4BAA4B,KAAK,IAAI,CAAC;QAC3F,uBAAuB,EAAE,MAAM,IAAI,CAAC;QACpC,sBAAsB,EAAE,MAAM,IAAI,CAAC;KACtC;CACJ,CA2OA"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
2
  import { useCallback, useMemo, useState } from "react";
3
- import { partition } from "lodash-es";
4
3
  import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardFilterObjRef, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, } from "@gooddata/sdk-model";
4
+ import { _partition } from "@gooddata/util";
5
5
  import { addAttributeFilter as addAttributeFilterAction, addDateFilter as addDateFilterAction, addMeasureValueFilter as addMeasureValueFilterAction, } from "../../../model/commands/filters.js";
6
6
  import { useDashboardDispatch, useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
7
7
  import { dispatchAndWaitFor } from "../../../model/store/_infra/dispatchAndWaitFor.js";
@@ -59,11 +59,11 @@ export function useFiltersWithAddedPlaceholder(filters, workingFilters) {
59
59
  const allAttributes = useDashboardSelector(selectCatalogAttributesWithComputed);
60
60
  const dateDatasetsMap = useDashboardSelector(selectAllCatalogDateDatasetsMap);
61
61
  const commonWorkingDateFilter = workingFilters?.find(isDashboardCommonDateFilter);
62
- const [draggableFilters, nonDraggableFilters] = partition(filters, isNotDashboardCommonDateFilter);
62
+ const [draggableFilters, nonDraggableFilters] = _partition(filters, isNotDashboardCommonDateFilter);
63
63
  // nonDraggableFilters may contain new filter types (arbitrary, match) alongside the common date filter.
64
64
  // Use a cast since TypeScript cannot narrow FilterContextItem exclusions through .find().
65
65
  const commonDateFilter = nonDraggableFilters.find((f) => isDashboardCommonDateFilter(f));
66
- const [dateFiltersWithDimensions, attributeFilters] = partition(draggableFilters, isDashboardDateFilterWithDimension);
66
+ const [dateFiltersWithDimensions, attributeFilters] = _partition(draggableFilters, isDashboardDateFilterWithDimension);
67
67
  const [selectedDisplayForm, setSelectedDisplayForm] = useState();
68
68
  const [autoOpenFilter, setAutoOpenFilter] = useState();
69
69
  const addedAttributeFilter = useMemo(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"filterIntersection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/insightEditor/filterContext/filterIntersection.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,wBAAwB,IAAI,6BAA6B,EAC9D,KAAK,wBAAwB,IAAI,6BAA6B,EAGjE,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEH,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAUhC,MAAM,qBAAqB,CAAC;AAQ7B,wBAAgB,wCAAwC,CACpD,kBAAkB,EAAE,wBAAwB,EAC5C,kBAAkB,EAAE,6BAA6B,GAClD,6BAA6B,CAiC/B;AAED,wBAAgB,yCAAyC,CACrD,kBAAkB,EAAE,6BAA6B,EACjD,kBAAkB,EAAE,wBAAwB,GAC7C,6BAA6B,CA0B/B;AACD,wBAAgB,gBAAgB,CAC5B,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,6BAA6B,GAAG,6BAA6B,GACjF,6BAA6B,GAAG,6BAA6B,CA+D/D;AAED,wBAAgB,0BAA0B,CACtC,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,6BAA6B,GAAG,6BAA6B,GACjF,OAAO,CAsDT"}
1
+ {"version":3,"file":"filterIntersection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/insightEditor/filterContext/filterIntersection.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,wBAAwB,IAAI,6BAA6B,EAC9D,KAAK,wBAAwB,IAAI,6BAA6B,EAGjE,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEH,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAUhC,MAAM,qBAAqB,CAAC;AAS7B,wBAAgB,wCAAwC,CACpD,kBAAkB,EAAE,wBAAwB,EAC5C,kBAAkB,EAAE,6BAA6B,GAClD,6BAA6B,CAiC/B;AAED,wBAAgB,yCAAyC,CACrD,kBAAkB,EAAE,6BAA6B,EACjD,kBAAkB,EAAE,wBAAwB,GAC7C,6BAA6B,CA0B/B;AACD,wBAAgB,gBAAgB,CAC5B,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,6BAA6B,GAAG,6BAA6B,GACjF,6BAA6B,GAAG,6BAA6B,CA+D/D;AAED,wBAAgB,0BAA0B,CACtC,iBAAiB,EAAE,6BAA6B,EAChD,iBAAiB,EAAE,6BAA6B,GAAG,6BAA6B,GACjF,OAAO,CAsDT"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { uniq } from "lodash-es";
3
2
  import { isNegativeAttributeFilter as isEmbedNegativeAttributeFilter, isPositiveAttributeFilter as isEmbedPositiveAttributeFilter, } from "@gooddata/sdk-embedding";
4
3
  import { filterAttributeElements, filterIsEmpty, isAttributeElementsByRef, isAttributeElementsByValue, isNegativeAttributeFilter, isObjRef, isPositiveAttributeFilter, newNegativeAttributeFilter, newPositiveAttributeFilter, } from "@gooddata/sdk-model";
4
+ import { _uniq } from "@gooddata/util";
5
5
  // The embedding API types the element lists as strings. The null element (an empty value) passes
6
6
  // through as it is.
7
7
  function elementIds(elements) {
@@ -68,7 +68,7 @@ export function intersectFilters(insightAttrFilter, attrFilterContext) {
68
68
  return {
69
69
  negativeAttributeFilter: {
70
70
  displayForm: attrFilterContext.negativeAttributeFilter.displayForm,
71
- notIn: uniq(elementIds(attributeElements).concat(attrFilterContext.negativeAttributeFilter.notIn)),
71
+ notIn: _uniq(elementIds(attributeElements).concat(attrFilterContext.negativeAttributeFilter.notIn)),
72
72
  },
73
73
  };
74
74
  }
@@ -91,7 +91,7 @@ export function intersectFilters(insightAttrFilter, attrFilterContext) {
91
91
  return {
92
92
  negativeAttributeFilter: {
93
93
  displayForm: attrFilterContext.negativeAttributeFilter.displayForm,
94
- notIn: uniq(elementIds(attributeElements).concat(attrFilterContext.negativeAttributeFilter.notIn)),
94
+ notIn: _uniq(elementIds(attributeElements).concat(attrFilterContext.negativeAttributeFilter.notIn)),
95
95
  },
96
96
  };
97
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InsightList.d.ts","sourceRoot":"","sources":["../../../src/presentation/insightList/InsightList.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,QAAQ,EAUhB,MAAM,qBAAqB,CAAC;AAmC7B,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,YAAY,CAAC;AAKzE,UAAU,gBAAgB;IACtB,OAAO,EAAE,QAAQ,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,QAAQ,GAAG,gBAAgB,CAO5E;AAsCD;;GAEG;AACH,wBAAgB,WAAW,CAAC,EACxB,MAAM,EACN,KAAkB,EAClB,eAAe,EACf,UAAU,EACV,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,WAAW,GACd,EAAE,iBAAiB,2CAsPnB"}
1
+ {"version":3,"file":"InsightList.d.ts","sourceRoot":"","sources":["../../../src/presentation/insightList/InsightList.tsx"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,QAAQ,EAUhB,MAAM,qBAAqB,CAAC;AAmC7B,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,YAAY,CAAC;AAMzE,UAAU,gBAAgB;IACtB,OAAO,EAAE,QAAQ,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,QAAQ,GAAG,gBAAgB,CAO5E;AAsCD;;GAEG;AACH,wBAAgB,WAAW,CAAC,EACxB,MAAM,EACN,KAAkB,EAClB,eAAe,EACf,UAAU,EACV,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,WAAW,GACd,EAAE,iBAAiB,2CA0OnB"}
@@ -24,6 +24,7 @@ import { useDashboardComponentsContext } from "../dashboardContexts/DashboardCom
24
24
  import { DIVIDER, InsightListDivider } from "./InsightListDivider.js";
25
25
  import { InsightListNoData } from "./InsightListNoData.js";
26
26
  const ITEM_HEIGHT = 40;
27
+ const LIST_PADDING = 10;
27
28
  const LIST_WIDTH = 229;
28
29
  export function getInsightListSourceItem(insight) {
29
30
  const insightType = insightVisualizationType(insight);
@@ -128,14 +129,6 @@ export function InsightList({ height, width = LIST_WIDTH, searchAutofocus, rende
128
129
  }
129
130
  prevInsightListLastUpdateRequestedRef.current = insightListLastUpdateRequested;
130
131
  }, [insightListLastUpdateRequested, refreshItems]);
131
- const itemHeightGetter = (index) => {
132
- // Modify item heights for first/last item so that their hover states don't overlap.
133
- // Also @see styles and keep this value in sync with what's in css styles
134
- // for is-first and is-last in visualization items in the list
135
- const firstLastItemMargin = 10;
136
- const isFirstOrLast = totalInsightsCount ? index === 0 || index === totalInsightsCount - 1 : false;
137
- return isFirstOrLast ? ITEM_HEIGHT + firstLastItemMargin : ITEM_HEIGHT;
138
- };
139
132
  const eventDispatch = useDashboardEventDispatch();
140
133
  const dispatch = useDashboardDispatch();
141
134
  const isInsightEditingEnabled = useDashboardSelector(selectEnableInsightEditing);
@@ -155,7 +148,7 @@ export function InsightList({ height, width = LIST_WIDTH, searchAutofocus, rende
155
148
  const dropdownListLoading = isLoading && pagedInsights.length === 0;
156
149
  const showDropdownListTabs = initialLoadCompleted && !search;
157
150
  const showNoDataCreateButton = (allowCreateInsightRequest || isInsightEditingEnabled) && canCreateVisualization;
158
- return (_jsx(DropdownList, { width: width, height: dropdownListHeight, isMobile: false, isLoading: dropdownListLoading, showSearch: initialLoadCompleted, searchString: search, searchFieldSize: "small", searchPlaceholder: intl.formatMessage({ id: "search_insights" }), onSearch: onSearch, disableAutofocus: !searchAutofocus, showTabs: showDropdownListTabs, tabs: backend.capabilities.supportsOwners && author ? dropdownTabsTranslationIds : undefined, selectedTabId: selectedTabId, onTabSelect: onTabSelect, itemHeight: ITEM_HEIGHT, itemHeightGetter: itemHeightGetter, items: insights, itemsCount: totalItems, body: () => {
151
+ return (_jsx(DropdownList, { width: width, height: dropdownListHeight, isMobile: false, isLoading: dropdownListLoading, showSearch: initialLoadCompleted, searchString: search, searchFieldSize: "small", searchPlaceholder: intl.formatMessage({ id: "search_insights" }), onSearch: onSearch, disableAutofocus: !searchAutofocus, showTabs: showDropdownListTabs, tabs: backend.capabilities.supportsOwners && author ? dropdownTabsTranslationIds : undefined, selectedTabId: selectedTabId, onTabSelect: onTabSelect, itemHeight: ITEM_HEIGHT, listPadding: LIST_PADDING, items: insights, itemsCount: totalItems, body: () => {
159
152
  if (!isLoading && pagedInsights.length === 0 && searchRelatedItems.length > 0) {
160
153
  return (_jsx(InsightListNoData, { isUserInsights: selectedTabId === messages.tabsMy.id, hasNoMatchingData: true, showNoDataCreateButton: showNoDataCreateButton, onCreateButtonClick: createInsightRequestedEvent }));
161
154
  }