@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,10 +1,11 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
2
  import stringify from "json-stable-stringify";
3
- import { groupBy } from "lodash-es";
3
+ import { escapeRegExp } from "lodash-es";
4
4
  import { all, call, select } from "redux-saga/effects";
5
5
  import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, dashboardMeasureValueFilterLocalIdentifier, filterAttributeElements, filterObjRef, insightFilters as insightDefinitionFilters, insightId, isArbitraryAttributeFilter, isAttributeDescriptor, isAttributeElementsByValue, isAttributeFilter, isComparisonCondition, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardTextAttributeFilter, isIdentifierRef, isMeasureValueFilter, isNegativeAttributeFilter, isRangeCondition, isTextAttributeFilter, isUriRef, measureValueFilterConditions, measureValueFilterMeasure, } from "@gooddata/sdk-model";
6
- import { DRILL_TO_URL_PLACEHOLDER, displayFormPlaceholderRef, getAttributeIdentifiersPlaceholdersFromUrl, getDashboardAttributeFilterPlaceholdersFromUrl, getDashboardMeasureValueFilterPlaceholdersFromUrl, getDrillUrlPlaceholderTypes, getInsightAttributeFilterPlaceholdersFromUrl, getInsightMeasureValueFilterPlaceholdersFromUrl, } from "@gooddata/sdk-model/internal";
6
+ import { DRILL_TO_URL_PLACEHOLDER, displayFormPlaceholderRef, getAttributeIdentifiersPlaceholdersFromUrl, getDashboardAttributeFilterPlaceholdersFromUrl, getDashboardMeasureValueFilterPlaceholdersFromUrl, getDrillUrlPlaceholderTypes, getInsightAttributeFilterPlaceholdersFromUrl, getInsightMeasureValueFilterPlaceholdersFromUrl, getParameterPlaceholdersFromUrl, } from "@gooddata/sdk-model/internal";
7
7
  import { isDrillIntersectionAttributeItem, } from "@gooddata/sdk-ui";
8
+ import { _groupBy } from "@gooddata/util";
8
9
  import { invalidArgumentsProvided } from "../../events/general.js";
9
10
  import { selectAllCatalogDisplayFormsMap, selectAllCatalogMeasuresMap, selectCatalogDateAttributes, } from "../../store/catalog/catalogSelectors.js";
10
11
  import { selectEnableMeasureValueFilterKD } from "../../store/config/configSelectors.js";
@@ -14,6 +15,7 @@ import { selectDashboardId } from "../../store/meta/metaSelectors.js";
14
15
  import { selectAttributeFilterConfigsOverrides } from "../../store/tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
15
16
  import { selectFilterContextAttributeFilterItems, selectFilterContextMeasureValueFilters, } from "../../store/tabs/filterContext/filterContextSelectors.js";
16
17
  import { selectAnalyticalWidgetByRef } from "../../store/tabs/layout/layoutSelectors.js";
18
+ import { selectWidgetParameterValues, } from "../../store/tabs/parameters/parametersSelectors.js";
17
19
  import { resolveDisplayFormMetadata } from "../../utils/displayFormResolver.js";
18
20
  import { dashboardMeasureValueFilterMatchesIdentifier, insightMeasureValueFilterMatchesIdentifier, } from "../../utils/measureValueFilterUtils.js";
19
21
  import { getElementTitle, getElementsSecondaryTitles } from "./getElementTitle.js";
@@ -112,7 +114,7 @@ export function* splitDFToLoadingAndMapping(attributesDisplayForms, ctx) {
112
114
  // we can't call collectLabelElements for date attributes because there are no date "elements", but we can use this values directly.
113
115
  const dateAttributes = yield select(selectCatalogDateAttributes);
114
116
  const dateAttributeRefs = dateAttributes.map((da) => da.attribute.ref);
115
- const { true: displayFormsWithKnownValues = [], false: displayFormForValueLoad = [] } = groupBy(attributesDisplayForms, (df) => isInRefList(dateAttributeRefs, df.attribute));
117
+ const { true: displayFormsWithKnownValues = [], false: displayFormForValueLoad = [] } = _groupBy(attributesDisplayForms, (df) => isInRefList(dateAttributeRefs, df.attribute));
116
118
  return {
117
119
  displayFormsWithKnownValues,
118
120
  displayFormForValueLoad,
@@ -316,6 +318,18 @@ export function* getInsightAttributeFilterReplacements(url, widgetRef) {
316
318
  };
317
319
  });
318
320
  }
321
+ function* getParameterReplacements(url, widgetRef) {
322
+ const parameters = yield select(selectWidgetParameterValues(widgetRef));
323
+ const valueByIdentifier = new Map(parameters.map((parameter) => [parameter.identifier, parameter.value]));
324
+ return getParameterPlaceholdersFromUrl(url).map(({ placeholder: toBeReplaced, identifier, toBeEncoded }) => {
325
+ const value = valueByIdentifier.get(identifier);
326
+ if (value === undefined) {
327
+ return { toBeReplaced, replacement: undefined };
328
+ }
329
+ const text = String(value);
330
+ return { toBeReplaced, replacement: toBeEncoded ? encodeURIComponent(text) : text };
331
+ });
332
+ }
319
333
  const createIdentifierReplacement = (toBeReplaced, replacement = "") => ({ toBeReplaced, replacement, replaceGlobally: true });
320
334
  export function* getInsightIdentifiersReplacements(customUrl, widgetRef, ctx) {
321
335
  const { workspace, clientId, dataProductId } = ctx;
@@ -338,7 +352,21 @@ export function* getInsightIdentifiersReplacements(customUrl, widgetRef, ctx) {
338
352
  }
339
353
  return replacements;
340
354
  }
341
- const applyReplacements = (url, replacements) => replacements.reduce((customUrlWithReplacedPlaceholders, { toBeReplaced, replacement, replaceGlobally }) => customUrlWithReplacedPlaceholders.replace(replaceGlobally ? new RegExp(toBeReplaced, "g") : toBeReplaced, replacement), url);
355
+ const applyReplacements = (url, replacements) => {
356
+ if (replacements.length === 0) {
357
+ return url;
358
+ }
359
+ const pending = _groupBy(replacements, ({ toBeReplaced }) => toBeReplaced);
360
+ const pattern = new RegExp(Object.keys(pending).map(escapeRegExp).join("|"), "g");
361
+ return url.replace(pattern, (placeholder) => {
362
+ const queue = pending[placeholder];
363
+ const next = queue[0];
364
+ if (!next.replaceGlobally) {
365
+ queue.shift();
366
+ }
367
+ return next.replacement;
368
+ });
369
+ };
342
370
  export function* resolveDrillToCustomUrl(drillConfig, widgetRef, event, ctx, cmd) {
343
371
  const customUrl = drillConfig.target.url;
344
372
  const resolveContext = () => getInsightIdentifiersReplacements(customUrl, widgetRef, ctx);
@@ -356,6 +384,7 @@ export function* resolveDrillToCustomUrl(drillConfig, widgetRef, event, ctx, cmd
356
384
  replacement: undefined,
357
385
  }));
358
386
  },
387
+ parameter: () => getParameterReplacements(customUrl, widgetRef),
359
388
  [DRILL_TO_URL_PLACEHOLDER.DRILL_TO_URL_PLACEHOLDER_PROJECT_ID]: resolveContext,
360
389
  [DRILL_TO_URL_PLACEHOLDER.DRILL_TO_URL_PLACEHOLDER_WORKSPACE_ID]: resolveContext,
361
390
  [DRILL_TO_URL_PLACEHOLDER.DRILL_TO_URL_PLACEHOLDER_INSIGHT_ID]: resolveContext,
@@ -1 +1 @@
1
- {"version":3,"file":"addAttributeFilterHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAexE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAYtE,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,EACxB,IAAI,GAAE,QAAQ,GAAG,aAAwB,GAC1C,YAAY,CAAC,IAAI,CAAC,CAyJpB;AAED,wBAAiB,uBAAuB,CACpC,GAAG,EAAE,gBAAgB,EACrB,oBAAoB,EAAE,MAAM,EAC5B,cAAc,EAAE,yBAAyB;;;;;;sLAqC5C"}
1
+ {"version":3,"file":"addAttributeFilterHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAEH,KAAK,yBAAyB,EAC9B,KAAK,MAAM,EAId,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAexE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAYtE,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,EACxB,IAAI,GAAE,QAAQ,GAAG,aAAwB,GAC1C,YAAY,CAAC,IAAI,CAAC,CAyJpB;AAED,wBAAiB,uBAAuB,CACpC,GAAG,EAAE,gBAAgB,EACrB,oBAAoB,EAAE,MAAM,EAC5B,cAAc,EAAE,yBAAyB;;;;;;sLAqC5C"}
@@ -1,9 +1,9 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { batchActions } from "redux-batched-actions";
4
3
  import { all, call, put, select } from "redux-saga/effects";
5
4
  import { invariant } from "ts-invariant";
6
5
  import { DashboardAttributeFilterSelectionTypeValues, areObjRefsEqual, isInsightWidget, objRefToString, } from "@gooddata/sdk-model";
6
+ import { _isEmpty } from "@gooddata/util";
7
7
  import { attributeFilterAdded } from "../../../events/filters.js";
8
8
  import { invalidArgumentsProvided } from "../../../events/general.js";
9
9
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
@@ -31,7 +31,7 @@ export function* addAttributeFilterHandler(ctx, cmd, type = "normal") {
31
31
  }
32
32
  const allFilters = yield select(selectFilterContextAttributeFilterItems);
33
33
  const resolvedDisplayForm = yield call(resolveDisplayFormMetadata, ctx, [usedDisplayForm]);
34
- if (!isEmpty(resolvedDisplayForm.missing)) {
34
+ if (!_isEmpty(resolvedDisplayForm.missing)) {
35
35
  throw invalidArgumentsProvided(ctx, cmd, `Attempting to add filter for a non-existing display form ${objRefToString(usedDisplayForm)}.`);
36
36
  }
37
37
  const displayFormMetadata = resolvedDisplayForm.resolved.get(usedDisplayForm);
@@ -1 +1 @@
1
- {"version":3,"file":"addTextAttributeFilterHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAY/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAW5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAYtE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CA2GpB"}
1
+ {"version":3,"file":"addTextAttributeFilterHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAa/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAW5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAYtE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CA2GpB"}
@@ -1,9 +1,9 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { batchActions } from "redux-batched-actions";
4
3
  import { call, put, select } from "redux-saga/effects";
5
4
  import { invariant } from "ts-invariant";
6
5
  import { DashboardAttributeFilterSelectionTypeValues, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, isInsightWidget, objRefToString, } from "@gooddata/sdk-model";
6
+ import { _isEmpty } from "@gooddata/util";
7
7
  import { invalidArgumentsProvided } from "../../../events/general.js";
8
8
  import { selectBackendCapabilities } from "../../../store/backendCapabilities/backendCapabilitiesSelectors.js";
9
9
  import { selectCanAddMoreFilters, selectFilterContextAttributeFilterItemByDisplayForm, selectFilterContextAttributeFilterItemByLocalId, selectFilterContextAttributeFilterItems, } from "../../../store/tabs/filterContext/filterContextSelectors.js";
@@ -61,7 +61,7 @@ export function* addTextAttributeFilterHandler(ctx, cmd) {
61
61
  localIdentifier: addedFilterLocalIdentifier,
62
62
  selectionType: DashboardAttributeFilterSelectionTypeValues.LIST_OR_TEXT,
63
63
  }));
64
- if (!isEmpty(configActions)) {
64
+ if (!_isEmpty(configActions)) {
65
65
  yield put(batchActions(configActions));
66
66
  }
67
67
  yield call(dispatchFilterContextChanged, ctx, cmd);
@@ -1 +1 @@
1
- {"version":3,"file":"removeAttributeFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CAmFpB"}
1
+ {"version":3,"file":"removeAttributeFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAY/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CAmFpB"}
@@ -1,8 +1,9 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { difference, partition } from "lodash-es";
2
+ import { difference } from "lodash-es";
3
3
  import { batchActions } from "redux-batched-actions";
4
4
  import { call, put, select } from "redux-saga/effects";
5
5
  import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemLocalIdentifier, isInsightWidget, } from "@gooddata/sdk-model";
6
+ import { _partition } from "@gooddata/util";
6
7
  import { attributeFilterRemoved } from "../../../events/filters.js";
7
8
  import { invalidArgumentsProvided } from "../../../events/general.js";
8
9
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
@@ -14,7 +15,7 @@ import { dispatchFilterContextChanged } from "../common.js";
14
15
  export function* removeAttributeFiltersHandler(ctx, cmd) {
15
16
  const { filterLocalIds } = cmd.payload;
16
17
  const allFilters = yield select(selectFilterContextAttributeFilterItems);
17
- const [removedFilters, survivingFilters] = partition(allFilters, (item) => filterLocalIds.includes(dashboardAttributeFilterItemLocalIdentifier(item)));
18
+ const [removedFilters, survivingFilters] = _partition(allFilters, (item) => filterLocalIds.includes(dashboardAttributeFilterItemLocalIdentifier(item)));
18
19
  const invalidLocalIds = difference(filterLocalIds, allFilters.map((filter) => dashboardAttributeFilterItemLocalIdentifier(filter)));
19
20
  if (invalidLocalIds.length) {
20
21
  throw invalidArgumentsProvided(ctx, cmd, `Invalid filterLocalIds provided. These ids were not found: ${invalidLocalIds.join(", ")}.`);
@@ -12,14 +12,14 @@ import { resetCrossFiltering } from "../common.js";
12
12
  import { beginTabSync, endTabSync, putTabSynced } from "../tabSync/tabSyncSaga.js";
13
13
  import { resolveAndRegisterDisplayFormMetadata } from "./resolveDisplayFormMetadata.js";
14
14
  export function* replaceAttributeFilterItemSelectionHandler(ctx, cmd) {
15
- const { filterLocalId, filter, isWorkingSelectionChange, isSelectionInvalid } = cmd.payload;
15
+ const { filterLocalId, filter, isWorkingSelectionChange, isSelectionInvalid, skipSync } = cmd.payload;
16
16
  // Validate that the filter exists using the wide selector
17
17
  const affectedFilter = yield select(selectFilterContextAttributeFilterItemByLocalId(filterLocalId));
18
18
  if (!affectedFilter) {
19
19
  throw invalidArgumentsProvided(ctx, cmd, `Filter with filterLocalId ${filterLocalId} not found.`);
20
20
  }
21
21
  const isApplyAllAtOnceEnabledAndSet = yield select(selectIsApplyFiltersAllAtOnceEnabledAndSet);
22
- const session = yield call(beginTabSync);
22
+ const session = yield call(beginTabSync, { enabled: !skipSync });
23
23
  yield call(putTabSynced, session, [
24
24
  tabsActions.replaceAttributeFilterItem({
25
25
  filterLocalId,
@@ -1 +1 @@
1
- {"version":3,"file":"setAttributeFilterParentHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAS/C,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAW/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAKtE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0BAA0B,GAChC,YAAY,CAAC,IAAI,CAAC,CAiEpB"}
1
+ {"version":3,"file":"setAttributeFilterParentHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAU/C,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAW/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAKtE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0BAA0B,GAChC,YAAY,CAAC,IAAI,CAAC,CAiEpB"}
@@ -1,8 +1,8 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEqual } from "lodash-es";
3
2
  import { call, put, select } from "redux-saga/effects";
4
3
  import { invariant } from "ts-invariant";
5
4
  import { dashboardAttributeFilterItemFilterElementsBy, } from "@gooddata/sdk-model";
5
+ import { _isEqual } from "@gooddata/util";
6
6
  import { attributeFilterParentChanged } from "../../../events/filters.js";
7
7
  import { invalidArgumentsProvided } from "../../../events/general.js";
8
8
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
@@ -25,7 +25,7 @@ export function* setAttributeFilterParentsHandler(ctx, cmd) {
25
25
  // reject the whole command. Anything new or edited is validated, which is what refuses a
26
26
  // dependency on a filter the caller may not read.
27
27
  const isCarriedOverRestrictedParent = (parent) => restrictedFilterLocalIdentifiers.has(parent.filterLocalIdentifier) &&
28
- storedParents.some((stored) => isEqual(stored, parent));
28
+ storedParents.some((stored) => _isEqual(stored, parent));
29
29
  const validationResult = yield call(validateAttributeFilterParents, ctx, affectedFilter, parentFilters.filter((parent) => !isCarriedOverRestrictedParent(parent)), allFilters, displayFormsMap);
30
30
  if (validationResult !== "VALID") {
31
31
  const message = validationResult === "EXTRANEOUS_PARENT"
@@ -1 +1 @@
1
- {"version":3,"file":"computedAttributesEnabledValidation.d.ts","sourceRoot":"","sources":["../../../../../../src/model/commandHandlers/filterContext/attributeFilter/validation/computedAttributesEnabledValidation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,KAAK,MAAM,EAA0C,MAAM,qBAAqB,CAAC;AAI1F;;;;;;;;;;GAUG;AACH,wBAAiB,gCAAgC,CAC7C,IAAI,EAAE,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,GACxC,YAAY,CAAC,MAAM,GAAG,SAAS,CAAC,CAWlC;AAED,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE"}
1
+ {"version":3,"file":"computedAttributesEnabledValidation.d.ts","sourceRoot":"","sources":["../../../../../../src/model/commandHandlers/filterContext/attributeFilter/validation/computedAttributesEnabledValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,KAAK,MAAM,EAA0C,MAAM,qBAAqB,CAAC;AAK1F;;;;;;;;;;GAUG;AACH,wBAAiB,gCAAgC,CAC7C,IAAI,EAAE,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,GACxC,YAAY,CAAC,MAAM,GAAG,SAAS,CAAC,CAWlC;AAED,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAErE"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { compact } from "lodash-es";
3
2
  import { select } from "redux-saga/effects";
4
3
  import { isComputedAttributeRef, objRefToString } from "@gooddata/sdk-model";
4
+ import { _compact } from "@gooddata/util";
5
5
  import { selectEnableComputedAttributes } from "../../../../store/config/configSelectors.js";
6
6
  /**
7
7
  * Finds a reference to a computed attribute that the command must not accept because computed attributes
@@ -15,7 +15,7 @@ import { selectEnableComputedAttributes } from "../../../../store/config/configS
15
15
  * @returns the first offending reference, or undefined when the command may proceed
16
16
  */
17
17
  export function* findDisabledComputedAttributeRef(refs) {
18
- const computedAttributeRef = compact(refs).find(isComputedAttributeRef);
18
+ const computedAttributeRef = _compact(refs).find(isComputedAttributeRef);
19
19
  if (!computedAttributeRef) {
20
20
  return undefined;
21
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"changeFilterContextSelectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAyC/C,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAuC9E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiOnE,wBAAiB,mCAAmC,CAChD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,4BAA4B,GAClC,YAAY,CAAC,IAAI,CAAC,CA6OpB"}
1
+ {"version":3,"file":"changeFilterContextSelectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AA0C/C,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAuC9E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiOnE,wBAAiB,mCAAmC,CAChD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,4BAA4B,GAClC,YAAY,CAAC,IAAI,CAAC,CA6OpB"}
@@ -1,8 +1,8 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { compact, partition, uniqBy } from "lodash-es";
3
2
  import { all, call, put, select } from "redux-saga/effects";
4
3
  import { NotSupported } from "@gooddata/sdk-backend-spi";
5
4
  import { areObjRefsEqual, attributeElementsIsEmpty, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemFilterElementsByDate, dashboardAttributeFilterItemLocalIdentifier, dashboardAttributeFilterItemValidateElementsBy, dashboardFilterLocalIdentifier, dashboardFilterObjRef, dashboardMeasureValueFilterLocalIdentifier, getAttributeElementsItems, isAllTimeDashboardDateFilter, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMeasureValueFilter, isDashboardTextAttributeFilter, isSingleSelectionFilter, isUriRef, objRefToString, serializeObjRef, updateAttributeElementsItems, } from "@gooddata/sdk-model";
5
+ import { _compact, _partition, _uniqBy } from "@gooddata/util";
6
6
  import { dashboardFilterToFilterContextItem } from "../../../_staging/dashboard/dashboardFilterContext.js";
7
7
  import { invalidArgumentsProvided } from "../../events/general.js";
8
8
  import { dispatchDashboardEvent } from "../../store/_infra/eventDispatcher.js";
@@ -161,7 +161,7 @@ export function* changeFilterContextSelectionHandler(ctx, cmd) {
161
161
  }
162
162
  return isDashboardMeasureValueFilter(entry) && isDashboardMeasureValueFilter(target);
163
163
  };
164
- const normalizedFilters = compact(filters.map((filter) => {
164
+ const normalizedFilters = _compact(filters.map((filter) => {
165
165
  if (isDashboardAttributeFilterItem(filter) ||
166
166
  isDashboardDateFilter(filter) ||
167
167
  isDashboardMeasureValueFilter(filter)) {
@@ -183,15 +183,15 @@ export function* changeFilterContextSelectionHandler(ctx, cmd) {
183
183
  // Separate text filter types (arbitrary, match) — they use whole-filter replacement
184
184
  const textAttributeFiltersRaw = normalizedFilters.filter((filter) => isDashboardAttributeFilterItem(filter) && !isDashboardAttributeFilter(filter));
185
185
  // Deduplicate text filters by localIdentifier (last occurrence wins, matching batch behavior)
186
- const textAttributeFilters = uniqBy(textAttributeFiltersRaw
186
+ const textAttributeFilters = _uniqBy(textAttributeFiltersRaw
187
187
  .filter((f) => dashboardAttributeFilterItemLocalIdentifier(f))
188
188
  .slice()
189
189
  .reverse(), (f) => dashboardAttributeFilterItemLocalIdentifier(f)).reverse();
190
190
  const supportedFilters = normalizedFilters.filter((filter) => isDashboardAttributeFilter(filter) || isDashboardDateFilter(filter));
191
191
  // Measure value filters use whole-condition replacement keyed by localIdentifier; deduplicate
192
192
  // by localIdentifier (last occurrence wins, mirroring text attribute filter handling).
193
- const measureValueFilters = uniqBy(normalizedFilters.filter(isDashboardMeasureValueFilter).slice().reverse(), (f) => dashboardMeasureValueFilterLocalIdentifier(f)).reverse();
194
- const uniqueFilters = uniqBy(supportedFilters, (filter) => {
193
+ const measureValueFilters = _uniqBy(normalizedFilters.filter(isDashboardMeasureValueFilter).slice().reverse(), (f) => dashboardMeasureValueFilterLocalIdentifier(f)).reverse();
194
+ const uniqueFilters = _uniqBy(supportedFilters, (filter) => {
195
195
  if (matchByLocalIdentifier && isDashboardAttributeFilter(filter)) {
196
196
  const localIdentifier = dashboardAttributeFilterItemLocalIdentifier(filter);
197
197
  if (localIdentifier) {
@@ -213,8 +213,8 @@ export function* changeFilterContextSelectionHandler(ctx, cmd) {
213
213
  ? objRefToString(identification) + secondaryIdentification
214
214
  : identification + secondaryIdentification;
215
215
  });
216
- const [dateFilters, attributeFilters] = partition(uniqueFilters, isDashboardDateFilter);
217
- const [[commonDateFilter], dateFiltersWithDimension] = partition(dateFilters, isDashboardCommonDateFilter);
216
+ const [dateFilters, attributeFilters] = _partition(uniqueFilters, isDashboardDateFilter);
217
+ const [[commonDateFilter], dateFiltersWithDimension] = _partition(dateFilters, isDashboardCommonDateFilter);
218
218
  const selectionTypeMap = yield call(selectAttributeFilterConfigsSelectionTypeMapTabAware, tabLocalIdentifier);
219
219
  const [attributeFilterResult, commonDateFilterUpdateActions, dateFiltersUpdateActions, measureValueFilterUpdateActions,] = yield all([
220
220
  call(getAttributeFiltersUpdateActions, [...attributeFilters].reverse(), textAttributeFilters, attributeFilterConfigs, resetOthers, ctx, tabLocalIdentifier, selectionTypeMap, matchByLocalIdentifier),
@@ -252,7 +252,7 @@ function* getDashboardFilterByAttributeMatching(filterRef, resolvedDisplayForms,
252
252
  throw new NotSupported("Unsupported filter ObjRef! Please provide IdentifierRef instead of UriRef.");
253
253
  }
254
254
  const filterDF = resolvedDisplayForms.resolved.get(filterRef);
255
- const resolvedAttribute = yield call(resolveAttributeMetadata, ctx, compact([filterDF?.attribute]));
255
+ const resolvedAttribute = yield call(resolveAttributeMetadata, ctx, _compact([filterDF?.attribute]));
256
256
  const attribute = filterDF?.attribute && resolvedAttribute.resolved.get(filterDF?.attribute);
257
257
  for (const displayForm of attribute?.displayForms ?? []) {
258
258
  const dashboardFilter = yield call(selectFilterContextAttributeFilterByDisplayFormTabAware, displayForm.ref, tabLocalIdentifier);
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAChC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAqBhE,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AAI5G,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,KAAK,eAAe,EAA0C,MAAM,0BAA0B,CAAC;AAExG;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAC9E,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC5F,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,+BAA+B,EAAE,CAAC,CAAC;CACtF;AAED,wBAAiB,iCAAiC,IAAI,YAAY,CAAC,2BAA2B,CAAC,CAU9F;AAED;;GAEG;AACH,wBAAiB,0CAA0C,CACvD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,QAAQ,EAAE,2BAA2B,EACrC,YAAY,CAAC,EAAE,MAAM,GACtB,YAAY,CAAC,IAAI,CAAC,CAwBpB;AAED,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,kBAAkB,CAAC,EAAE,MAAM,GAC5B,YAAY,CAAC,IAAI,CAAC,CAkCpB;AAED,wBAAiB,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,GAAG,YAAY,CAAC,OAAO,CAAC,CAuB3F;AAED,wBAAiB,mBAAmB,CAAC,GAAG,EAAE,iBAAiB;;;yEAU1D;AAED,wBAAiB,4BAA4B,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,iBAAiB,8YA4B1F;AAED,wBAAiB,4BAA4B;;;mBAE5C"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACH,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAChC,MAAM,qBAAqB,CAAC;AAI7B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAqBhE,OAAO,EAAE,KAAK,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AAI5G,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAE,KAAK,eAAe,EAA0C,MAAM,0BAA0B,CAAC;AAExG;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IACxC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAC9E,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC5F,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,+BAA+B,EAAE,CAAC,CAAC;CACtF;AAED,wBAAiB,iCAAiC,IAAI,YAAY,CAAC,2BAA2B,CAAC,CAU9F;AAED;;GAEG;AACH,wBAAiB,0CAA0C,CACvD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,QAAQ,EAAE,2BAA2B,EACrC,YAAY,CAAC,EAAE,MAAM,GACtB,YAAY,CAAC,IAAI,CAAC,CAwBpB;AAED,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,kBAAkB,CAAC,EAAE,MAAM,GAC5B,YAAY,CAAC,IAAI,CAAC,CAkCpB;AAED,wBAAiB,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,GAAG,YAAY,CAAC,OAAO,CAAC,CAuB3F;AAED,wBAAiB,mBAAmB,CAAC,GAAG,EAAE,iBAAiB;;;yEAU1D;AAED,wBAAiB,4BAA4B,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,iBAAiB,8YA4B1F;AAED,wBAAiB,4BAA4B;;;mBAE5C"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEqual } from "lodash-es";
3
2
  import { call, put, select } from "redux-saga/effects";
4
3
  import { invariant } from "ts-invariant";
4
+ import { _isEqual } from "@gooddata/util";
5
5
  import { findDateFilterOptionByValue } from "../../../_staging/dateFilterConfig/dateFilterOptionMapping.js";
6
6
  import { removeAttributeFilters } from "../../commands/filters.js";
7
7
  import { filterContextChanged, filterContextWorkingSelectionApplied } from "../../events/filters.js";
@@ -35,9 +35,9 @@ export function* dispatchFilterContextChangedForMutatedTabs(ctx, cmd, snapshot,
35
35
  continue;
36
36
  }
37
37
  const configs = attributeFilterConfigs[tabId] ?? [];
38
- if (isEqual(snapshot.filterContexts[tabId], filterContexts[tabId]) &&
39
- isEqual(snapshot.workingFilterContexts[tabId], workingFilterContexts[tabId]) &&
40
- isEqual(snapshot.attributeFilterConfigs[tabId] ?? [], configs)) {
38
+ if (_isEqual(snapshot.filterContexts[tabId], filterContexts[tabId]) &&
39
+ _isEqual(snapshot.workingFilterContexts[tabId], workingFilterContexts[tabId]) &&
40
+ _isEqual(snapshot.attributeFilterConfigs[tabId] ?? [], configs)) {
41
41
  continue;
42
42
  }
43
43
  yield call(dispatchFilterContextChanged, ctx, cmd, tabId);
@@ -1 +1 @@
1
- {"version":3,"file":"removeDateFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AASvE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE,wBAAiB,wBAAwB,CACrC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,IAAI,CAAC,CAsFpB"}
1
+ {"version":3,"file":"removeDateFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAO/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AASvE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE,wBAAiB,wBAAwB,CACrC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,IAAI,CAAC,CAsFpB"}
@@ -1,9 +1,10 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { difference, partition } from "lodash-es";
2
+ import { difference } from "lodash-es";
3
3
  import { batchActions } from "redux-batched-actions";
4
4
  import { call, put, select } from "redux-saga/effects";
5
5
  import { invariant } from "ts-invariant";
6
6
  import { areObjRefsEqual, isUriRef, serializeObjRef } from "@gooddata/sdk-model";
7
+ import { _partition } from "@gooddata/util";
7
8
  import { dateFilterRemoved } from "../../../events/filters.js";
8
9
  import { invalidArgumentsProvided } from "../../../events/general.js";
9
10
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
@@ -14,7 +15,7 @@ export function* removeDateFiltersHandler(ctx, cmd) {
14
15
  const { dataSets } = cmd.payload;
15
16
  const allDateFiltersWithDimension = yield select(selectFilterContextDateFiltersWithDimension);
16
17
  const allAttributeFilters = yield select(selectFilterContextAttributeFilters);
17
- const [removedFilters, _survivingFilters] = partition(allDateFiltersWithDimension, (item) => dataSets.some((ds) => areObjRefsEqual(ds, item.dateFilter.dataSet)));
18
+ const [removedFilters, _survivingFilters] = _partition(allDateFiltersWithDimension, (item) => dataSets.some((ds) => areObjRefsEqual(ds, item.dateFilter.dataSet)));
18
19
  const invalidDataSets = difference(dataSets.map(serializeObjRef), allDateFiltersWithDimension.map((filter) => serializeObjRef(filter.dateFilter.dataSet)));
19
20
  if (invalidDataSets.length) {
20
21
  throw invalidArgumentsProvided(ctx, cmd, `Invalid dataSet provided. These ids were not found: ${invalidDataSets.join(", ")}.`);
@@ -1 +1 @@
1
- {"version":3,"file":"addLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/addLayoutSectionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAU/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,KAAK,4BAA4B,EAAsB,MAAM,wBAAwB,CAAC;AAM/F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AA4DnE,wBAAiB,uBAAuB,CACpC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,4BAA4B,CAAC,CAwF5C"}
1
+ {"version":3,"file":"addLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/addLayoutSectionHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAY/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,KAAK,4BAA4B,EAAsB,MAAM,wBAAwB,CAAC;AAM/F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AA4DnE,wBAAiB,uBAAuB,CACpC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,4BAA4B,CAAC,CAwF5C"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { batchActions } from "redux-batched-actions";
4
3
  import { call, put, select } from "redux-saga/effects";
4
+ import { _isEmpty } from "@gooddata/util";
5
5
  import { asLayoutItemPath, findSections, getParentPath, updateSectionIndex, } from "../../../_staging/layout/coordinates.js";
6
6
  import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
7
7
  import { invalidArgumentsProvided } from "../../events/general.js";
@@ -24,7 +24,7 @@ function validateAndResolveItems(commandCtx) {
24
24
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to insert new section at wrong index ${index}. There are currently ${layout.sections.length} sections.`);
25
25
  }
26
26
  const stashValidationResult = validateAndResolveStashedItems(stash, initialItems);
27
- if (!isEmpty(stashValidationResult.missing)) {
27
+ if (!_isEmpty(stashValidationResult.missing)) {
28
28
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
29
29
  }
30
30
  return stashValidationResult;
@@ -1 +1 @@
1
- {"version":3,"file":"addSectionItemsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/addSectionItemsHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAY/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAAE,KAAK,iCAAiC,EAA2B,MAAM,wBAAwB,CAAC;AAMzG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAgHnE,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,gBAAgB,GACtB,YAAY,CAAC,iCAAiC,CAAC,CAiFjD"}
1
+ {"version":3,"file":"addSectionItemsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/addSectionItemsHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAc/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAAE,KAAK,iCAAiC,EAA2B,MAAM,wBAAwB,CAAC;AAMzG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAgHnE,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,gBAAgB,GACtB,YAAY,CAAC,iCAAiC,CAAC,CAiFjD"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { batchActions } from "redux-batched-actions";
4
3
  import { call, put, select } from "redux-saga/effects";
4
+ import { _isEmpty } from "@gooddata/util";
5
5
  import { findSection, getItemIndex, getParentPath, getSectionIndex, serializeLayoutItemPath, updateItemIndex, } from "../../../_staging/layout/coordinates.js";
6
6
  import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
7
7
  import { invalidArgumentsProvided } from "../../events/general.js";
@@ -28,7 +28,7 @@ function validateAndResolveItems(commandCtx) {
28
28
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to insert new item at wrong index ${itemIndex}. There are currently ${section.items.length} items.`);
29
29
  }
30
30
  const stashValidationResult = validateAndResolveStashedItems(stash, items);
31
- if (!isEmpty(stashValidationResult.missing)) {
31
+ if (!_isEmpty(stashValidationResult.missing)) {
32
32
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
33
33
  }
34
34
  return {
@@ -45,7 +45,7 @@ function validateAndResolveItems(commandCtx) {
45
45
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to insert new item at wrong index ${serializeLayoutItemPath(itemPath)}. There are currently ${section.items.length} items.`);
46
46
  }
47
47
  const stashValidationResult = validateAndResolveStashedItems(stash, items);
48
- if (!isEmpty(stashValidationResult.missing)) {
48
+ if (!_isEmpty(stashValidationResult.missing)) {
49
49
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
50
50
  }
51
51
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"removeLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAS/C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,KAAK,8BAA8B,EAAwB,MAAM,wBAAwB,CAAC;AAGnG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAMnE,wBAAiB,0BAA0B,CACvC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,oBAAoB,GAC1B,YAAY,CAAC,8BAA8B,CAAC,CA4D9C"}
1
+ {"version":3,"file":"removeLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,KAAK,8BAA8B,EAAwB,MAAM,wBAAwB,CAAC;AAGnG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAMnE,wBAAiB,0BAA0B,CACvC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,oBAAoB,GAC1B,YAAY,CAAC,8BAA8B,CAAC,CA4D9C"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { call, put, select } from "redux-saga/effects";
3
+ import { _isEmpty } from "@gooddata/util";
4
4
  import { findSections, getParentPath, serializeLayoutSectionPath, updateSectionIndex, } from "../../../_staging/layout/coordinates.js";
5
5
  import { invalidArgumentsProvided } from "../../events/general.js";
6
6
  import { layoutSectionRemoved } from "../../events/layout.js";
@@ -14,7 +14,7 @@ export function* removeLayoutSectionHandler(ctx, cmd) {
14
14
  const { index, stashIdentifier } = cmd.payload;
15
15
  const isLegacyCommand = typeof index === "number";
16
16
  const sections = isLegacyCommand ? layout.sections : findSections(layout, index);
17
- if (isEmpty(sections)) {
17
+ if (_isEmpty(sections)) {
18
18
  throw invalidArgumentsProvided(ctx, cmd, `Attempting to remove a section from an empty layout.`);
19
19
  }
20
20
  if (isLegacyCommand) {
@@ -1 +1 @@
1
- {"version":3,"file":"replaceSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAY/C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,EAAE,KAAK,mCAAmC,EAA6B,MAAM,wBAAwB,CAAC;AAK7G,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AA4GnE,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,mCAAmC,CAAC,CAsEnD"}
1
+ {"version":3,"file":"replaceSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAc/C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,OAAO,EAAE,KAAK,mCAAmC,EAA6B,MAAM,wBAAwB,CAAC;AAK7G,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AA4GnE,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,mCAAmC,CAAC,CAsEnD"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { batchActions } from "redux-batched-actions";
4
3
  import { call, put, select } from "redux-saga/effects";
4
+ import { _isEmpty } from "@gooddata/util";
5
5
  import { findItem, findSection, getItemIndex, getParentPath, getSectionIndex, serializeLayoutItemPath, } from "../../../_staging/layout/coordinates.js";
6
6
  import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
7
7
  import { invalidArgumentsProvided } from "../../events/general.js";
@@ -26,7 +26,7 @@ function validateAndResolve(commandCtx) {
26
26
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
27
27
  }
28
28
  const stashValidationResult = validateAndResolveStashedItems(stash, items);
29
- if (!isEmpty(stashValidationResult.missing)) {
29
+ if (!_isEmpty(stashValidationResult.missing)) {
30
30
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
31
31
  }
32
32
  return {
@@ -43,7 +43,7 @@ function validateAndResolve(commandCtx) {
43
43
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace non-existent item from index ${serializeLayoutItemPath(itemPath)}. There are only ${fromSection.items.length} items in this section.`);
44
44
  }
45
45
  const stashValidationResult = validateAndResolveStashedItems(stash, items);
46
- if (!isEmpty(stashValidationResult.missing)) {
46
+ if (!_isEmpty(stashValidationResult.missing)) {
47
47
  throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
48
48
  }
49
49
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"itemValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/itemValidation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AA6B/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAcnE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,EAAE,KAAK,wBAAwB,EAAmB,MAAM,mCAAmC,CAAC;AAQnG,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAyBlE,KAAK,oBAAoB,GAAG;IACxB,eAAe,EAAE,qBAAqB,CAAC;IACvC,gBAAgB,EAAE,wBAAwB,CAAC;CAC9C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAiB,+BAA+B,CAC5C,GAAG,EAAE,gBAAgB,EACrB,KAAK,EAAE,qBAAqB,EAC5B,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,oBAAoB,CAAC,CAyBpC;AAyKD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAiB,oCAAoC,CACjD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,KAAK,EAAE,oBAAoB,EAC3B,eAAe,GAAE,OAAe,GACjC,YAAY,CAAC,qBAAqB,EAAE,CAAC,CAsIvC"}
1
+ {"version":3,"file":"itemValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/itemValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AA8B/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAcnE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,EAAE,KAAK,wBAAwB,EAAmB,MAAM,mCAAmC,CAAC;AAQnG,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAyBlE,KAAK,oBAAoB,GAAG;IACxB,eAAe,EAAE,qBAAqB,CAAC;IACvC,gBAAgB,EAAE,wBAAwB,CAAC;CAC9C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAiB,+BAA+B,CAC5C,GAAG,EAAE,gBAAgB,EACrB,KAAK,EAAE,qBAAqB,EAC5B,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,oBAAoB,CAAC,CAyBpC;AAyKD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAiB,oCAAoC,CACjD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,KAAK,EAAE,oBAAoB,EAC3B,eAAe,GAAE,OAAe,GACjC,YAAY,CAAC,qBAAqB,EAAE,CAAC,CAsIvC"}
@@ -1,8 +1,8 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
3
2
  import { call, select } from "redux-saga/effects";
4
3
  import { invariant } from "ts-invariant";
5
4
  import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterObjRef, insightMeasures, insightRef, isDashboardAttributeFilterReference, isDashboardMeasureValueFilterReference, isInsightWidget, isKpiWidget, isRichTextWidget, measureItem, objRefToString, } from "@gooddata/sdk-model";
5
+ import { _isEmpty } from "@gooddata/util";
6
6
  import { newInsight } from "../../../../_staging/insight/insightBuilder.js";
7
7
  import { invalidArgumentsProvided } from "../../../events/general.js";
8
8
  import { insightSelectDateDataset, queryDateDatasetsForInsight, } from "../../../queries/insights.js";
@@ -43,7 +43,7 @@ function normalizeItems(items, insights) {
43
43
  export function* validateAndNormalizeWidgetItems(ctx, items, cmd) {
44
44
  const insightRefs = extractInsightRefsFromItems(items.resolved);
45
45
  const resolvedInsights = yield call(resolveInsights, ctx, insightRefs);
46
- if (!isEmpty(resolvedInsights.missing)) {
46
+ if (!_isEmpty(resolvedInsights.missing)) {
47
47
  throw invalidArgumentsProvided(ctx, cmd, `Attempting to add dashboard items that reference missing insights: ${resolvedInsights.missing
48
48
  .map(objRefToString)
49
49
  .join(", ")}`);
@@ -1 +1 @@
1
- {"version":3,"file":"layoutValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/layoutValidation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAQ5D,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrF,OAAO,EACH,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC/B,MAAM,+BAA+B,CAAC;AAEvC,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,KAAK,EAAE,kBAAkB,GAAG,eAAe,GAAG,MAAM,GACrD,OAAO,CA4BT;AAED,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,UAAU,EAAE,eAAe,GAAG,kBAAkB,GAAG,MAAM,GAC1D,OAAO,CAOT;AAED,wBAAgB,qBAAqB,CACjC,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,eAAe,GAAG,MAAM,GAChC,OAAO,CAyBT;AAED,wBAAgB,kBAAkB,CAC9B,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,eAAe,GAAG,MAAM,GAChC,OAAO,CAOT"}
1
+ {"version":3,"file":"layoutValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/layoutValidation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAS5D,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrF,OAAO,EACH,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,EAC/B,MAAM,+BAA+B,CAAC;AAEvC,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,KAAK,EAAE,kBAAkB,GAAG,eAAe,GAAG,MAAM,GACrD,OAAO,CA4BT;AAED,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,UAAU,EAAE,eAAe,GAAG,kBAAkB,GAAG,MAAM,GAC1D,OAAO,CAOT;AAED,wBAAgB,qBAAqB,CACjC,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,eAAe,GAAG,MAAM,GAChC,OAAO,CAyBT;AAED,wBAAgB,kBAAkB,CAC9B,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,eAAe,GAAG,MAAM,GAChC,OAAO,CAOT"}
@@ -1,12 +1,12 @@
1
- // (C) 2021-2025 GoodData Corporation
2
- import { isEmpty } from "lodash-es";
1
+ // (C) 2021-2026 GoodData Corporation
2
+ import { _isEmpty } from "@gooddata/util";
3
3
  import { findSection, findSections, getItemIndex, getSectionIndex, } from "../../../../_staging/layout/coordinates.js";
4
4
  export function validateSectionPlacement(layout, index) {
5
5
  if (typeof index === "number") {
6
6
  if (index === -1) {
7
7
  return true;
8
8
  }
9
- if (isEmpty(layout.sections) && !index) {
9
+ if (_isEmpty(layout.sections) && !index) {
10
10
  return true;
11
11
  }
12
12
  // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
@@ -18,7 +18,7 @@ export function validateSectionPlacement(layout, index) {
18
18
  return true;
19
19
  }
20
20
  const sections = findSections(layout, index);
21
- if (isEmpty(sections) && !sectionIndex) {
21
+ if (_isEmpty(sections) && !sectionIndex) {
22
22
  return true;
23
23
  }
24
24
  // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
@@ -39,7 +39,7 @@ export function validateItemPlacement(section, index) {
39
39
  if (index === -1) {
40
40
  return true;
41
41
  }
42
- if (isEmpty(section.items) && !index) {
42
+ if (_isEmpty(section.items) && !index) {
43
43
  return true;
44
44
  }
45
45
  // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
@@ -50,7 +50,7 @@ export function validateItemPlacement(section, index) {
50
50
  if (itemIndex === -1) {
51
51
  return true;
52
52
  }
53
- if (isEmpty(section.items) && !itemIndex) {
53
+ if (_isEmpty(section.items) && !itemIndex) {
54
54
  return true;
55
55
  }
56
56
  // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
@@ -1 +1 @@
1
- {"version":3,"file":"changeParameterValuesHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/parameters/changeParameterValuesHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,KAAK,sBAAsB,EAAmB,MAAM,qBAAqB,CAAC;AAEnF,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAY3E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAInE;;;;;;;GAOG;AACH,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,GAC5B,YAAY,CAAC,IAAI,CAAC,CA2BpB;AAoCD;;;;;GAKG;AACH,wBAAiB,wCAAwC,CACrD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC,EAClE,WAAW,EAAE,MAAM,GACpB,YAAY,CAAC,IAAI,CAAC,CAOpB;AAED;;;;;GAKG;AACH,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,sBAAsB,EAAE,GAAG,SAAS,GACnD,YAAY,CAAC,IAAI,CAAC,CASpB"}
1
+ {"version":3,"file":"changeParameterValuesHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/parameters/changeParameterValuesHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,KAAK,sBAAsB,EAAmB,MAAM,qBAAqB,CAAC;AAGnF,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAY3E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAInE;;;;;;;GAOG;AACH,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,GAC5B,YAAY,CAAC,IAAI,CAAC,CA2BpB;AAoCD;;;;;GAKG;AACH,wBAAiB,wCAAwC,CACrD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC,EAClE,WAAW,EAAE,MAAM,GACpB,YAAY,CAAC,IAAI,CAAC,CAOpB;AAED;;;;;GAKG;AACH,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,EACtB,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,sBAAsB,EAAE,GAAG,SAAS,GACnD,YAAY,CAAC,IAAI,CAAC,CASpB"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { isEqual } from "lodash-es";
3
2
  import { call, put, select } from "redux-saga/effects";
4
3
  import { areObjRefsEqual } from "@gooddata/sdk-model";
4
+ import { _isEqual } from "@gooddata/util";
5
5
  import { parametersChanged } from "../../events/parameters.js";
6
6
  import { dispatchDashboardEvent } from "../../store/_infra/eventDispatcher.js";
7
7
  import { selectEnableParameters } from "../../store/config/configSelectors.js";
@@ -87,7 +87,7 @@ export function* dispatchParametersChangedForAffectedTabs(ctx, cmd, valuesBefore
87
87
  export function* dispatchParametersChanged(ctx, cmd, tabLocalIdentifier, valuesBefore) {
88
88
  const valuesByTab = yield select(selectParameterValuesByTab);
89
89
  const values = valuesByTab[tabLocalIdentifier];
90
- if (values === undefined || isEqual(valuesBefore, values)) {
90
+ if (values === undefined || _isEqual(valuesBefore, values)) {
91
91
  return;
92
92
  }
93
93
  yield dispatchDashboardEvent(parametersChanged(ctx, values, tabLocalIdentifier, cmd.correlationId));
@@ -0,0 +1,3 @@
1
+ import { type SagaIterator } from "redux-saga";
2
+ export declare function newCustomUrlDrillParametersWorker(): () => SagaIterator<void>;
3
+ //# sourceMappingURL=customUrlDrillParametersWorker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customUrlDrillParametersWorker.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/parameters/customUrlDrillParametersWorker.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAS/C,wBAAgB,iCAAiC,UACM,YAAY,CAAC,IAAI,CAAC,CAMxE"}