@gooddata/sdk-ui-dashboard 10.20.0-alpha.9 → 10.20.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 (561) hide show
  1. package/NOTICE +3 -3
  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/__version.js.map +1 -1
  6. package/esm/_staging/layout/sizing.d.ts +1 -1
  7. package/esm/_staging/layout/sizing.d.ts.map +1 -1
  8. package/esm/_staging/layout/sizing.js +4 -1
  9. package/esm/_staging/layout/sizing.js.map +1 -1
  10. package/esm/_staging/sharedHooks/useAttributes.d.ts.map +1 -1
  11. package/esm/_staging/sharedHooks/useAttributes.js +10 -4
  12. package/esm/_staging/sharedHooks/useAttributes.js.map +1 -1
  13. package/esm/_staging/slideshow/breakupSlideTransformer.d.ts +10 -0
  14. package/esm/_staging/slideshow/breakupSlideTransformer.d.ts.map +1 -0
  15. package/esm/_staging/slideshow/breakupSlideTransformer.js +20 -0
  16. package/esm/_staging/slideshow/breakupSlideTransformer.js.map +1 -0
  17. package/esm/_staging/slideshow/containerSlideTransformer.d.ts +11 -0
  18. package/esm/_staging/slideshow/containerSlideTransformer.d.ts.map +1 -0
  19. package/esm/_staging/slideshow/containerSlideTransformer.js +49 -0
  20. package/esm/_staging/slideshow/containerSlideTransformer.js.map +1 -0
  21. package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts +8 -0
  22. package/esm/_staging/slideshow/containerSwitcherSlideTransformer.d.ts.map +1 -0
  23. package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js +115 -0
  24. package/esm/_staging/slideshow/containerSwitcherSlideTransformer.js.map +1 -0
  25. package/esm/_staging/slideshow/index.d.ts +10 -0
  26. package/esm/_staging/slideshow/index.d.ts.map +1 -0
  27. package/esm/_staging/slideshow/index.js +11 -0
  28. package/esm/_staging/slideshow/index.js.map +1 -0
  29. package/esm/_staging/slideshow/itemsSlideTransformer.d.ts +9 -0
  30. package/esm/_staging/slideshow/itemsSlideTransformer.d.ts.map +1 -0
  31. package/esm/_staging/slideshow/itemsSlideTransformer.js +13 -0
  32. package/esm/_staging/slideshow/itemsSlideTransformer.js.map +1 -0
  33. package/esm/_staging/slideshow/layoutTransformer.d.ts +9 -0
  34. package/esm/_staging/slideshow/layoutTransformer.d.ts.map +1 -0
  35. package/esm/_staging/slideshow/layoutTransformer.js +24 -0
  36. package/esm/_staging/slideshow/layoutTransformer.js.map +1 -0
  37. package/esm/_staging/slideshow/sectionSlideTransformer.d.ts +4 -0
  38. package/esm/_staging/slideshow/sectionSlideTransformer.d.ts.map +1 -0
  39. package/esm/_staging/slideshow/sectionSlideTransformer.js +19 -0
  40. package/esm/_staging/slideshow/sectionSlideTransformer.js.map +1 -0
  41. package/esm/_staging/slideshow/singleWidgetTransformer.d.ts +6 -0
  42. package/esm/_staging/slideshow/singleWidgetTransformer.d.ts.map +1 -0
  43. package/esm/_staging/slideshow/singleWidgetTransformer.js +21 -0
  44. package/esm/_staging/slideshow/singleWidgetTransformer.js.map +1 -0
  45. package/esm/_staging/slideshow/switcherSlideTransformer.d.ts +9 -0
  46. package/esm/_staging/slideshow/switcherSlideTransformer.d.ts.map +1 -0
  47. package/esm/_staging/slideshow/switcherSlideTransformer.js +37 -0
  48. package/esm/_staging/slideshow/switcherSlideTransformer.js.map +1 -0
  49. package/esm/_staging/slideshow/utils/index.d.ts +16 -0
  50. package/esm/_staging/slideshow/utils/index.d.ts.map +1 -0
  51. package/esm/_staging/slideshow/utils/index.js +57 -0
  52. package/esm/_staging/slideshow/utils/index.js.map +1 -0
  53. package/esm/_staging/slideshow/widgetSlideTransformer.d.ts +3 -0
  54. package/esm/_staging/slideshow/widgetSlideTransformer.d.ts.map +1 -0
  55. package/esm/_staging/slideshow/widgetSlideTransformer.js +24 -0
  56. package/esm/_staging/slideshow/widgetSlideTransformer.js.map +1 -0
  57. package/esm/model/commandHandlers/common/validateDrills.d.ts +2 -2
  58. package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.d.ts +7 -0
  59. package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.d.ts.map +1 -0
  60. package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js +13 -0
  61. package/esm/model/commandHandlers/dashboard/common/loadAutomationsData.js.map +1 -0
  62. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  63. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +3 -3
  64. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
  65. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +7 -3
  66. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  67. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +30 -28
  68. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
  69. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.js +1 -1
  70. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUser.js.map +1 -1
  71. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +5 -0
  72. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -0
  73. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +16 -0
  74. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js.map +1 -0
  75. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts +10 -0
  76. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.d.ts.map +1 -1
  77. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +17 -1
  78. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js.map +1 -1
  79. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
  80. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +8 -2
  81. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
  82. package/esm/model/commandHandlers/filterContext/common.d.ts +4 -0
  83. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  84. package/esm/model/commandHandlers/filterContext/common.js +10 -2
  85. package/esm/model/commandHandlers/filterContext/common.js.map +1 -1
  86. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  87. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +6 -1
  88. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
  89. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  90. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +3 -8
  91. package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
  92. package/esm/model/index.d.ts +1 -1
  93. package/esm/model/index.d.ts.map +1 -1
  94. package/esm/model/index.js.map +1 -1
  95. package/esm/model/queryServices/queryAttributeByDisplayForm.d.ts.map +1 -1
  96. package/esm/model/queryServices/queryAttributeByDisplayForm.js +16 -9
  97. package/esm/model/queryServices/queryAttributeByDisplayForm.js.map +1 -1
  98. package/esm/model/queryServices/queryAttributeDataset.d.ts +1 -1
  99. package/esm/model/queryServices/queryAttributeDataset.d.ts.map +1 -1
  100. package/esm/model/queryServices/queryAttributeDataset.js +14 -6
  101. package/esm/model/queryServices/queryAttributeDataset.js.map +1 -1
  102. package/esm/model/queryServices/queryWidgetFilters.d.ts +1 -1
  103. package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
  104. package/esm/model/queryServices/queryWidgetFilters.js +12 -13
  105. package/esm/model/queryServices/queryWidgetFilters.js.map +1 -1
  106. package/esm/model/store/config/configSelectors.d.ts +4 -0
  107. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  108. package/esm/model/store/config/configSelectors.js +6 -0
  109. package/esm/model/store/config/configSelectors.js.map +1 -1
  110. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  111. package/esm/model/store/dashboardStore.js +3 -2
  112. package/esm/model/store/dashboardStore.js.map +1 -1
  113. package/esm/model/store/executionResults/executionResultsSelectors.d.ts +4 -0
  114. package/esm/model/store/executionResults/executionResultsSelectors.d.ts.map +1 -1
  115. package/esm/model/store/executionResults/executionResultsSelectors.js +8 -1
  116. package/esm/model/store/executionResults/executionResultsSelectors.js.map +1 -1
  117. package/esm/model/store/filterContext/filterContextReducers.d.ts +5 -0
  118. package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
  119. package/esm/model/store/filterContext/filterContextReducers.js +8 -1
  120. package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
  121. package/esm/model/store/filterContext/filterContextSelectors.d.ts +7 -0
  122. package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +1 -1
  123. package/esm/model/store/filterContext/filterContextSelectors.js +9 -1
  124. package/esm/model/store/filterContext/filterContextSelectors.js.map +1 -1
  125. package/esm/model/store/filterContext/filterContextState.d.ts +6 -0
  126. package/esm/model/store/filterContext/filterContextState.d.ts.map +1 -1
  127. package/esm/model/store/filterContext/filterContextState.js +2 -1
  128. package/esm/model/store/filterContext/filterContextState.js.map +1 -1
  129. package/esm/model/store/filterContext/index.d.ts +4 -0
  130. package/esm/model/store/filterContext/index.d.ts.map +1 -1
  131. package/esm/model/store/index.d.ts +4 -4
  132. package/esm/model/store/index.d.ts.map +1 -1
  133. package/esm/model/store/index.js +4 -4
  134. package/esm/model/store/index.js.map +1 -1
  135. package/esm/model/store/renderMode/index.d.ts +1 -0
  136. package/esm/model/store/renderMode/index.d.ts.map +1 -1
  137. package/esm/model/store/renderMode/renderModeReducers.d.ts +1 -0
  138. package/esm/model/store/renderMode/renderModeReducers.d.ts.map +1 -1
  139. package/esm/model/store/renderMode/renderModeReducers.js +4 -0
  140. package/esm/model/store/renderMode/renderModeReducers.js.map +1 -1
  141. package/esm/model/store/renderMode/renderModeSelectors.d.ts +6 -0
  142. package/esm/model/store/renderMode/renderModeSelectors.d.ts.map +1 -1
  143. package/esm/model/store/renderMode/renderModeSelectors.js +7 -1
  144. package/esm/model/store/renderMode/renderModeSelectors.js.map +1 -1
  145. package/esm/model/types/commonTypes.d.ts +48 -3
  146. package/esm/model/types/commonTypes.d.ts.map +1 -1
  147. package/esm/model/types/commonTypes.js.map +1 -1
  148. package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
  149. package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
  150. package/esm/plugins/customizationApis/customizationBuilder.js.map +1 -1
  151. package/esm/plugins/customizationApis/exportLayoutCustomizer.d.ts +13 -0
  152. package/esm/plugins/customizationApis/exportLayoutCustomizer.d.ts.map +1 -0
  153. package/esm/plugins/customizationApis/exportLayoutCustomizer.js +47 -0
  154. package/esm/plugins/customizationApis/exportLayoutCustomizer.js.map +1 -0
  155. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
  156. package/esm/plugins/customizationApis/filterBarCustomizer.js +2 -2
  157. package/esm/plugins/customizationApis/filterBarCustomizer.js.map +1 -1
  158. package/esm/plugins/customizationApis/layoutCustomizer.d.ts +5 -1
  159. package/esm/plugins/customizationApis/layoutCustomizer.d.ts.map +1 -1
  160. package/esm/plugins/customizationApis/layoutCustomizer.js +57 -0
  161. package/esm/plugins/customizationApis/layoutCustomizer.js.map +1 -1
  162. package/esm/plugins/customizationApis/titleCustomizer.d.ts.map +1 -1
  163. package/esm/plugins/customizationApis/titleCustomizer.js +2 -2
  164. package/esm/plugins/customizationApis/titleCustomizer.js.map +1 -1
  165. package/esm/plugins/customizationApis/topBarCustomizer.d.ts.map +1 -1
  166. package/esm/plugins/customizationApis/topBarCustomizer.js +2 -2
  167. package/esm/plugins/customizationApis/topBarCustomizer.js.map +1 -1
  168. package/esm/plugins/customizationApis/types.d.ts +2 -1
  169. package/esm/plugins/customizationApis/types.d.ts.map +1 -1
  170. package/esm/plugins/customizationApis/types.js +1 -0
  171. package/esm/plugins/customizationApis/types.js.map +1 -1
  172. package/esm/plugins/customizer.d.ts +113 -0
  173. package/esm/plugins/customizer.d.ts.map +1 -1
  174. package/esm/plugins/index.d.ts +1 -1
  175. package/esm/plugins/index.d.ts.map +1 -1
  176. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +3 -3
  177. package/esm/presentation/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js.map +1 -1
  178. package/esm/presentation/componentDefinition/renderModeAware.d.ts.map +1 -1
  179. package/esm/presentation/componentDefinition/renderModeAware.js +5 -3
  180. package/esm/presentation/componentDefinition/renderModeAware.js.map +1 -1
  181. package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
  182. package/esm/presentation/dashboard/components/DashboardInner.js +11 -2
  183. package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
  184. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  185. package/esm/presentation/dashboard/components/DashboardRenderer.js +6 -6
  186. package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
  187. package/esm/presentation/dashboard/types.d.ts +42 -0
  188. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  189. package/esm/presentation/dashboard/types.js +9 -1
  190. package/esm/presentation/dashboard/types.js.map +1 -1
  191. package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.d.ts +3 -0
  192. package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.d.ts.map +1 -1
  193. package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.js +1 -1
  194. package/esm/presentation/dashboardContexts/DashboardCustomizationsContext.js.map +1 -1
  195. package/esm/presentation/dashboardContexts/index.d.ts +1 -0
  196. package/esm/presentation/dashboardContexts/index.d.ts.map +1 -1
  197. package/esm/presentation/dashboardContexts/index.js +2 -1
  198. package/esm/presentation/dashboardContexts/index.js.map +1 -1
  199. package/esm/presentation/dashboardContexts/useSlideData.d.ts +19 -0
  200. package/esm/presentation/dashboardContexts/useSlideData.d.ts.map +1 -0
  201. package/esm/presentation/dashboardContexts/useSlideData.js +39 -0
  202. package/esm/presentation/dashboardContexts/useSlideData.js.map +1 -0
  203. package/esm/presentation/export/index.d.ts +3 -0
  204. package/esm/presentation/export/index.d.ts.map +1 -0
  205. package/esm/presentation/export/index.js +4 -0
  206. package/esm/presentation/export/index.js.map +1 -0
  207. package/esm/presentation/export/types.d.ts +67 -0
  208. package/esm/presentation/export/types.d.ts.map +1 -0
  209. package/esm/presentation/export/types.js +3 -0
  210. package/esm/presentation/export/types.js.map +1 -0
  211. package/esm/presentation/export/useExportData.d.ts +15 -0
  212. package/esm/presentation/export/useExportData.d.ts.map +1 -0
  213. package/esm/presentation/export/useExportData.js +54 -0
  214. package/esm/presentation/export/useExportData.js.map +1 -0
  215. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts +1 -1
  216. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
  217. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +8 -5
  218. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  219. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.d.ts.map +1 -1
  220. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.js +8 -4
  221. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useAttributeDataSet.js.map +1 -1
  222. package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.d.ts +6 -0
  223. package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.d.ts.map +1 -0
  224. package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.js +12 -0
  225. package/esm/presentation/filterBar/filterBar/RenderModeAwareFilterBar.js.map +1 -0
  226. package/esm/presentation/filterBar/filterBar/index.d.ts +1 -0
  227. package/esm/presentation/filterBar/filterBar/index.d.ts.map +1 -1
  228. package/esm/presentation/filterBar/filterBar/index.js +2 -1
  229. package/esm/presentation/filterBar/filterBar/index.js.map +1 -1
  230. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  231. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +6 -3
  232. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  233. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  234. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +24 -11
  235. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  236. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +4 -0
  237. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +1 -0
  238. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +25 -0
  239. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js.map +1 -0
  240. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  241. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +1 -1
  242. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
  243. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  244. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +1 -1
  245. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  246. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +2 -0
  247. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  248. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
  249. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  250. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +16 -2
  251. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  252. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +2 -0
  253. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
  254. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -3
  255. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
  256. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
  257. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +3 -3
  258. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
  259. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts +2 -0
  260. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.d.ts.map +1 -1
  261. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +3 -3
  262. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
  263. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts +3 -0
  264. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts.map +1 -0
  265. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js +13 -0
  266. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js.map +1 -0
  267. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +9 -0
  268. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
  269. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +7 -2
  270. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
  271. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  272. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js +3 -1
  273. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js.map +1 -1
  274. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -1
  275. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js +3 -1
  276. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -1
  277. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +27 -1
  278. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  279. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  280. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +5 -2
  281. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  282. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
  283. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +0 -1
  284. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
  285. package/esm/presentation/index.d.ts +1 -0
  286. package/esm/presentation/index.d.ts.map +1 -1
  287. package/esm/presentation/index.js +2 -1
  288. package/esm/presentation/index.js.map +1 -1
  289. package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
  290. package/esm/presentation/layout/DashboardLayoutWidget.js +6 -3
  291. package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
  292. package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
  293. package/esm/presentation/layout/DefaultDashboardLayout.js +6 -3
  294. package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
  295. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  296. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +16 -6
  297. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  298. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts +4 -0
  299. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.d.ts.map +1 -0
  300. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js +12 -0
  301. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutExportSectionHeaderRenderer.js.map +1 -0
  302. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  303. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +4 -1
  304. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  305. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts +2 -0
  306. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
  307. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +4 -4
  308. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
  309. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts +2 -0
  310. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
  311. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -3
  312. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js.map +1 -1
  313. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts +3 -0
  314. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.d.ts.map +1 -0
  315. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js +18 -0
  316. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/ExportableDashboardLayoutSectionRenderer.js.map +1 -0
  317. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  318. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js +3 -1
  319. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js.map +1 -1
  320. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.d.ts.map +1 -1
  321. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js +3 -1
  322. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js.map +1 -1
  323. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +18 -0
  324. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  325. package/esm/presentation/localization/bundles/en-US.json +16 -1
  326. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts +3 -0
  327. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts.map +1 -1
  328. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js +2 -2
  329. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js.map +1 -1
  330. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts +4 -0
  331. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.d.ts.map +1 -1
  332. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js +3 -3
  333. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemBase.js.map +1 -1
  334. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.d.ts +1 -0
  335. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.d.ts.map +1 -1
  336. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.js +3 -2
  337. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemContent.js.map +1 -1
  338. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts +2 -0
  339. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.d.ts.map +1 -1
  340. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js +2 -2
  341. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadline.js.map +1 -1
  342. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.d.ts +2 -0
  343. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.d.ts.map +1 -1
  344. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.js +5 -5
  345. package/esm/presentation/presentationComponents/DashboardItems/DashboardItemHeadlineContainer.js.map +1 -1
  346. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  347. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -2
  348. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  349. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts +2 -0
  350. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts.map +1 -1
  351. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js +8 -8
  352. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js.map +1 -1
  353. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
  354. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js +4 -3
  355. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.js.map +1 -1
  356. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  357. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js +4 -3
  358. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.js.map +1 -1
  359. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.d.ts.map +1 -1
  360. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +4 -3
  361. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
  362. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.d.ts +1 -0
  363. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.d.ts.map +1 -1
  364. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.js +4 -4
  365. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Input.js.map +1 -1
  366. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
  367. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +6 -2
  368. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
  369. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.d.ts +1 -0
  370. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.d.ts.map +1 -1
  371. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.js +4 -4
  372. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Textarea.js.map +1 -1
  373. package/esm/presentation/topBar/title/RenderModeAwareTitle.d.ts +2 -2
  374. package/esm/presentation/topBar/title/RenderModeAwareTitle.d.ts.map +1 -1
  375. package/esm/presentation/topBar/title/RenderModeAwareTitle.js +3 -1
  376. package/esm/presentation/topBar/title/RenderModeAwareTitle.js.map +1 -1
  377. package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.d.ts +6 -0
  378. package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.d.ts.map +1 -0
  379. package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.js +12 -0
  380. package/esm/presentation/topBar/topBar/RenderModeAwareTopBar.js.map +1 -0
  381. package/esm/presentation/topBar/topBar/index.d.ts +1 -0
  382. package/esm/presentation/topBar/topBar/index.d.ts.map +1 -1
  383. package/esm/presentation/topBar/topBar/index.js +2 -1
  384. package/esm/presentation/topBar/topBar/index.js.map +1 -1
  385. package/esm/presentation/widget/common/useWidgetHighlighting.d.ts.map +1 -1
  386. package/esm/presentation/widget/common/useWidgetHighlighting.js +5 -2
  387. package/esm/presentation/widget/common/useWidgetHighlighting.js.map +1 -1
  388. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts +9 -0
  389. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -0
  390. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +19 -0
  391. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js.map +1 -0
  392. package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.d.ts +12 -0
  393. package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.d.ts.map +1 -0
  394. package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.js +15 -0
  395. package/esm/presentation/widget/description/InsightWidgetDescriptionComponentProvider.js.map +1 -0
  396. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
  397. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +8 -12
  398. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js.map +1 -1
  399. package/esm/presentation/widget/description/types.d.ts +2 -0
  400. package/esm/presentation/widget/description/types.d.ts.map +1 -1
  401. package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts +7 -0
  402. package/esm/presentation/widget/description/useInsightWidgetDescription.d.ts.map +1 -0
  403. package/esm/presentation/widget/description/useInsightWidgetDescription.js +21 -0
  404. package/esm/presentation/widget/description/useInsightWidgetDescription.js.map +1 -0
  405. package/esm/presentation/widget/insight/DefaultDashboardInsight.d.ts.map +1 -1
  406. package/esm/presentation/widget/insight/DefaultDashboardInsight.js +3 -1
  407. package/esm/presentation/widget/insight/DefaultDashboardInsight.js.map +1 -1
  408. package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts +4 -0
  409. package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.d.ts.map +1 -0
  410. package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.js +7 -0
  411. package/esm/presentation/widget/insight/ExportModeDashboardInsight/ExportModeDashboardInsight.js.map +1 -0
  412. package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.d.ts +2 -0
  413. package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.d.ts.map +1 -0
  414. package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.js +3 -0
  415. package/esm/presentation/widget/insight/ExportModeDashboardInsight/index.js.map +1 -0
  416. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.d.ts.map +1 -1
  417. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js +35 -16
  418. package/esm/presentation/widget/insight/ViewModeDashboardInsight/Insight/DashboardInsight.js.map +1 -1
  419. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.d.ts.map +1 -1
  420. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js +3 -2
  421. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js.map +1 -1
  422. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -1
  423. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +4 -2
  424. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -1
  425. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -1
  426. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +4 -2
  427. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
  428. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +2 -1
  429. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -1
  430. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +3 -3
  431. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -1
  432. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +2 -1
  433. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -1
  434. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +3 -3
  435. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -1
  436. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +3 -2
  437. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -1
  438. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +3 -3
  439. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -1
  440. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +3 -2
  441. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
  442. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +6 -5
  443. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
  444. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -1
  445. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +4 -4
  446. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -1
  447. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +4 -3
  448. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
  449. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +7 -7
  450. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
  451. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts +1 -1
  452. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.d.ts.map +1 -1
  453. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +8 -17
  454. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
  455. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.d.ts +3 -2
  456. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.d.ts.map +1 -1
  457. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.js +2 -2
  458. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/convertors.js.map +1 -1
  459. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.d.ts +12 -2
  460. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.d.ts.map +1 -1
  461. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.js +26 -7
  462. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/getters.js.map +1 -1
  463. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.d.ts +6 -5
  464. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.d.ts.map +1 -1
  465. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +43 -18
  466. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js.map +1 -1
  467. package/esm/presentation/widget/insight/configuration/InsightAlerts.js +4 -4
  468. package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -1
  469. package/esm/presentation/widget/insight/types.d.ts +5 -0
  470. package/esm/presentation/widget/insight/types.d.ts.map +1 -1
  471. package/esm/presentation/widget/insight/types.js.map +1 -1
  472. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +2 -2
  473. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js.map +1 -1
  474. package/esm/presentation/widget/richText/DefaultDashboardRichText.d.ts.map +1 -1
  475. package/esm/presentation/widget/richText/DefaultDashboardRichText.js +3 -1
  476. package/esm/presentation/widget/richText/DefaultDashboardRichText.js.map +1 -1
  477. package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts +4 -0
  478. package/esm/presentation/widget/richText/ExportModeDashboardRichText.d.ts.map +1 -0
  479. package/esm/presentation/widget/richText/ExportModeDashboardRichText.js +10 -0
  480. package/esm/presentation/widget/richText/ExportModeDashboardRichText.js.map +1 -0
  481. package/esm/presentation/widget/richText/types.d.ts +7 -0
  482. package/esm/presentation/widget/richText/types.d.ts.map +1 -1
  483. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts +2 -0
  484. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.d.ts.map +1 -1
  485. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.js +3 -3
  486. package/esm/presentation/widget/visualizationSwitcher/AllVisualizationsDashInsights.js.map +1 -1
  487. package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.d.ts.map +1 -1
  488. package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js +3 -1
  489. package/esm/presentation/widget/visualizationSwitcher/DefaultDashboardVisualizationSwitcher.js.map +1 -1
  490. package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.d.ts +7 -0
  491. package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.d.ts.map +1 -0
  492. package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.js +10 -0
  493. package/esm/presentation/widget/visualizationSwitcher/ExportModeDashboardVisualizationSwitcher.js.map +1 -0
  494. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.d.ts.map +1 -1
  495. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js +12 -7
  496. package/esm/presentation/widget/visualizationSwitcher/ViewModeDashboardVisualizationSwitcher.js.map +1 -1
  497. package/esm/presentation/widget/visualizationSwitcher/types.d.ts +7 -0
  498. package/esm/presentation/widget/visualizationSwitcher/types.d.ts.map +1 -1
  499. package/esm/presentation/widget/visualizationSwitcher/types.js +1 -1
  500. package/esm/presentation/widget/visualizationSwitcher/types.js.map +1 -1
  501. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  502. package/esm/presentation/widget/widget/DefaultDashboardWidget.js +6 -6
  503. package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
  504. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
  505. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +12 -6
  506. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  507. package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.d.ts +10 -0
  508. package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.d.ts.map +1 -0
  509. package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.js +16 -0
  510. package/esm/presentation/widget/widget/InsightWidget/ExportableDashboardInsightWidget.js.map +1 -0
  511. package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.d.ts.map +1 -1
  512. package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.js +3 -1
  513. package/esm/presentation/widget/widget/InsightWidget/RenderModeAwareDashboardInsightWidget.js.map +1 -1
  514. package/esm/presentation/widget/widget/InsightWidget/types.d.ts +2 -0
  515. package/esm/presentation/widget/widget/InsightWidget/types.d.ts.map +1 -1
  516. package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.d.ts +7 -0
  517. package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.d.ts.map +1 -0
  518. package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.js +13 -0
  519. package/esm/presentation/widget/widget/RichTextWidget/ExportableDashboardRichTextWidget.js.map +1 -0
  520. package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.d.ts.map +1 -1
  521. package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.js +3 -1
  522. package/esm/presentation/widget/widget/RichTextWidget/RenderModeAwareDashboardRichTextWidget.js.map +1 -1
  523. package/esm/presentation/widget/widget/RichTextWidget/types.d.ts +2 -0
  524. package/esm/presentation/widget/widget/RichTextWidget/types.d.ts.map +1 -1
  525. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.d.ts +7 -0
  526. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.d.ts.map +1 -0
  527. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.js +13 -0
  528. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/ExportableDashboardVisualizationSwitcherWidget.js.map +1 -0
  529. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
  530. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js +3 -1
  531. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/RenderModeAwareDashboardVisualizationSwitcherWidget.js.map +1 -1
  532. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts +2 -0
  533. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
  534. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +5 -5
  535. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js.map +1 -1
  536. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts +2 -0
  537. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.d.ts.map +1 -1
  538. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js +1 -1
  539. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/types.js.map +1 -1
  540. package/esm/presentation/widget/widget/types.d.ts +7 -0
  541. package/esm/presentation/widget/widget/types.d.ts.map +1 -1
  542. package/esm/sdk-ui-dashboard.d.ts +386 -6
  543. package/esm/types.d.ts +1 -1
  544. package/esm/types.d.ts.map +1 -1
  545. package/esm/types.js +1 -1
  546. package/package.json +15 -15
  547. package/styles/css/dashboard.css +5 -2
  548. package/styles/css/dashboard.css.map +1 -1
  549. package/styles/css/kpi_alert_dialog.css.map +1 -1
  550. package/styles/css/layout.css +1 -1
  551. package/styles/css/layout.css.map +1 -1
  552. package/styles/css/main.css +21 -3
  553. package/styles/css/main.css.map +1 -1
  554. package/styles/css/remove.css +8 -0
  555. package/styles/css/remove.css.map +1 -0
  556. package/styles/css/resizing.css.map +1 -1
  557. package/styles/css/topBar.css.map +1 -1
  558. package/styles/scss/_zIndexes.scss +2 -2
  559. package/styles/scss/dashboard.scss +5 -1
  560. package/styles/scss/main.scss +2 -1
  561. package/styles/scss/remove.scss +9 -0
@@ -7,4 +7,14 @@ import { DashboardContext, ResolvedDashboardConfig } from "../../../types/common
7
7
  * backend queries and post-processing is done.
8
8
  */
9
9
  export declare function resolveDashboardConfig(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator<ResolvedDashboardConfig>;
10
+ /**
11
+ * Resolves dashboard config
12
+ */
13
+ export declare function resolveDashboardConfigAndFeatureFlagDependentCalls(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator<{
14
+ resolvedConfig: ResolvedDashboardConfig;
15
+ additionalData: {
16
+ notificationChannelsCount: number;
17
+ workspaceAutomationsCount: number;
18
+ };
19
+ }>;
10
20
  //# sourceMappingURL=resolveDashboardConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveDashboardConfig.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAc1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAEH,gBAAgB,EAEhB,uBAAuB,EAC1B,MAAM,+BAA+B,CAAC;AAsHvC;;;;GAIG;AACH,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,uBAAuB,CAAC,CA4DvC"}
1
+ {"version":3,"file":"resolveDashboardConfig.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAc1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAEH,gBAAgB,EAEhB,uBAAuB,EAC1B,MAAM,+BAA+B,CAAC;AA0HvC;;;;GAIG;AACH,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,uBAAuB,CAAC,CA4DvC;AAwBD;;GAEG;AACH,wBAAiB,kDAAkD,CAC/D,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC;IACZ,cAAc,EAAE,uBAAuB,CAAC;IACxC,cAAc,EAAE;QACZ,yBAAyB,EAAE,MAAM,CAAC;QAClC,yBAAyB,EAAE,MAAM,CAAC;KACrC,CAAC;CACL,CAAC,CAQD"}
@@ -8,6 +8,7 @@ import { dateFilterConfigActions } from "../../../store/dateFilterConfig/index.j
8
8
  import { isResolvedConfig, } from "../../../types/commonTypes.js";
9
9
  import { sanitizeUnfinishedFeatureSettings } from "./sanitizeUnfinishedFeatureSettings.js";
10
10
  import { onDateFilterConfigValidationError } from "./onDateFilterConfigValidationError.js";
11
+ import { loadAutomationsData } from "../common/loadAutomationsData.js";
11
12
  function loadDateFilterConfig(ctx) {
12
13
  const { backend, workspace } = ctx;
13
14
  return backend
@@ -25,6 +26,7 @@ function loadSettingsForCurrentUser(ctx) {
25
26
  const { backend, workspace } = ctx;
26
27
  return backend.workspace(workspace).settings().getSettingsForCurrentUser();
27
28
  }
29
+ ///
28
30
  async function loadCustomDateFilterConfig(ctx) {
29
31
  const { backend, workspace } = ctx;
30
32
  const customDateFilterConfig = await backend
@@ -44,9 +46,12 @@ function loadColorPalette(ctx) {
44
46
  return backend.workspace(workspace).styling().getColorPalette();
45
47
  }
46
48
  function* resolveDateFilterConfig(ctx, config, cmd) {
47
- if (config.dateFilterConfig !== undefined) {
49
+ if (config.dateFilterConfig) {
48
50
  return config.dateFilterConfig;
49
51
  }
52
+ else if (config?.settings?.dateFilterConfig) {
53
+ return config.settings.dateFilterConfig;
54
+ }
50
55
  const customDateFilterConfig = yield call(loadCustomDateFilterConfig, ctx);
51
56
  if (customDateFilterConfig) {
52
57
  return customDateFilterConfig;
@@ -153,4 +158,15 @@ function applyConfigDefaults(config) {
153
158
  widgetsOverlay: config.widgetsOverlay ?? {},
154
159
  };
155
160
  }
161
+ /**
162
+ * Resolves dashboard config
163
+ */
164
+ export function* resolveDashboardConfigAndFeatureFlagDependentCalls(ctx, cmd) {
165
+ const resolvedConfig = yield call(resolveDashboardConfig, ctx, cmd);
166
+ const additionalData = yield call(loadAutomationsData, ctx, resolvedConfig.settings);
167
+ return {
168
+ resolvedConfig,
169
+ additionalData,
170
+ };
171
+ }
156
172
  //# sourceMappingURL=resolveDashboardConfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveDashboardConfig.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAW,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACjG,OAAO,EACH,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,GAC3B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAGH,gBAAgB,GAEnB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,SAAS,oBAAoB,CAAC,GA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MAAM,CAAC,QAAQ,IAAI,KAAK;QAClC,cAAc,EAAE,MAAM,CAAC,cAAc,IAAI,KAAK;QAC9C,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,IAAI,KAAK;QAC1D,yCAAyC,EAAE,MAAM,CAAC,yCAAyC,IAAI,KAAK;QACpG,yBAAyB,EAAE,MAAM,CAAC,yBAAyB,IAAI,EAAE;QACjE,uBAAuB,EAAE,MAAM,CAAC,uBAAuB,IAAI,KAAK;QAChE,yBAAyB,EAAE,MAAM,CAAC,yBAAyB,IAAI,KAAK;QACpE,iBAAiB,EAAE,MAAM,CAAC,iBAAiB,IAAI,MAAM;QACrD,mBAAmB,EAAE,MAAM,CAAC,mBAAmB,IAAI,KAAK;QACxD,eAAe,EAAE,MAAM,CAAC,eAAe,IAAI,KAAK;QAChD,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,IAAI,KAAK;QAC5D,sBAAsB,EAAE,MAAM,CAAC,sBAAsB,IAAI,KAAK;QAC9D,cAAc,EAAE,MAAM,CAAC,cAAc,IAAI,EAAE;KAC9C,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"resolveDashboardConfig.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAW,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,wDAAwD,CAAC;AACjG,OAAO,EACH,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,GAC3B,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAGH,gB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CAAC,mBAAmB,EAAE,GAAG,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAErF,OAAO;QACH,cAAc;QACd,cAAc;KACjB,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"changeAttributeFilterSelectionHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAK1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAQjE,wBAAiB,qCAAqC,CAClD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,8BAA8B,GACpC,YAAY,CAAC,IAAI,CAAC,CA8CpB"}
1
+ {"version":3,"file":"changeAttributeFilterSelectionHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAK1C,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAYjE,wBAAiB,qCAAqC,CAClD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,8BAA8B,GACpC,YAAY,CAAC,IAAI,CAAC,CAsDpB"}
@@ -1,12 +1,13 @@
1
- // (C) 2021 GoodData Corporation
1
+ // (C) 2021-2025 GoodData Corporation
2
2
  import { all, call, put, select } from "redux-saga/effects";
3
3
  import { invariant } from "ts-invariant";
4
4
  import { invalidArgumentsProvided } from "../../../events/general.js";
5
5
  import { attributeFilterSelectionChanged } from "../../../events/filters.js";
6
6
  import { filterContextActions } from "../../../store/filterContext/index.js";
7
- import { dispatchFilterContextChanged } from "../common.js";
7
+ import { dispatchFilterContextChanged, resetCrossFiltering } from "../common.js";
8
8
  import { selectAttributeFilterDescendants, selectFilterContextAttributeFilterByLocalId, } from "../../../store/filterContext/filterContextSelectors.js";
9
9
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
10
+ import { selectIsCrossFiltering, selectIsFilterFromCrossFilteringByLocalIdentifier, } from "../../../store/drill/drillSelectors.js";
10
11
  export function* changeAttributeFilterSelectionHandler(ctx, cmd) {
11
12
  const { elements, filterLocalId, selectionType } = cmd.payload;
12
13
  // validate filterLocalId
@@ -31,6 +32,11 @@ export function* changeAttributeFilterSelectionHandler(ctx, cmd) {
31
32
  negativeSelection: true,
32
33
  }))));
33
34
  }
35
+ const isCrossFiltering = yield select(selectIsCrossFiltering);
36
+ const isCurrentFilterCrossFiltering = yield select(selectIsFilterFromCrossFilteringByLocalIdentifier(filterLocalId));
37
+ if (isCrossFiltering && !isCurrentFilterCrossFiltering) {
38
+ yield call(resetCrossFiltering, cmd);
39
+ }
34
40
  yield dispatchDashboardEvent(attributeFilterSelectionChanged(ctx, changedFilter, cmd.correlationId));
35
41
  yield call(dispatchFilterContextChanged, ctx, cmd);
36
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"changeAttributeFilterSelectionHandler.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;A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CACJ,CACJ,CAAC;IACN,CAAC;IAED,MAAM,sBAAsB,CAAC,+BAA+B,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC;IACrG,MAAM,IAAI,CAAC,4BAA4B,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACvD,CAAC"}
1
+ {"version":3,"file":"changeAttributeFilterSelectionHandler.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAE,4BAA4B,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EACH,gCAAgC,EAChC,2CAA2C,GAC9C,MAAM,wDAAwD,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EACH,sBAAsB,EACtB,iDAAiD,GACpD,MAAM,wCAAwC,CAAC;AAEhD,MAAM,SAAS,CAAC,CAAC,qCAAqC,CAClD,GAAqB,EACrB,GAAmC;IAEnC,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IAE/D,yBAAyB;IACzB,MAAM,cAAc,GAChB,MAAM,MAAM,CAAC,2CAA2C,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;IAEzF,IAAI,CAAC,cAAc,EAAE,CAAC;QAClB,MAAM,wBAAw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,GAAG,CAAC,CAAC;AACvD,CAAC"}
@@ -4,4 +4,8 @@ import { IDashboardCommand } from "../../commands/base.js";
4
4
  import { DashboardContext } from "../../types/commonTypes.js";
5
5
  export declare function dispatchFilterContextChanged(ctx: DashboardContext, cmd: IDashboardCommand): SagaIterator<void>;
6
6
  export declare function canApplyDateFilter(dateFilter: IDashboardDateFilter): SagaIterator<boolean>;
7
+ export declare function resetCrossFiltering(cmd: IDashboardCommand): Generator<import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<import("../../commands/filters.js").RemoveAttributeFilters> | import("redux-saga/effects").PutEffect<{
8
+ payload: undefined;
9
+ type: "drill/resetCrossFiltering";
10
+ }>, void, string[]>;
7
11
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAM9D,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,IAAI,CAAC,CAWpB;AAED,wBAAiB,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,GAAG,YAAY,CAAC,OAAO,CAAC,CAuB3F"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAS9D,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,IAAI,CAAC,CAWpB;AAED,wBAAiB,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,GAAG,YAAY,CAAC,OAAO,CAAC,CAuB3F;AAED,wBAAiB,mBAAmB,CAAC,GAAG,EAAE,iBAAiB;;;oBAM1D"}
@@ -1,11 +1,14 @@
1
- // (C) 2021-2024 GoodData Corporation
2
- import { select } from "redux-saga/effects";
1
+ // (C) 2021-2025 GoodData Corporation
2
+ import { put, select } from "redux-saga/effects";
3
3
  import { filterContextChanged } from "../../events/filters.js";
4
4
  import { selectFilterContextDefinition } from "../../store/filterContext/filterContextSelectors.js";
5
5
  import { dispatchDashboardEvent } from "../../store/_infra/eventDispatcher.js";
6
6
  import { selectEffectiveDateFilterOptions } from "../../store/dateFilterConfig/dateFilterConfigSelectors.js";
7
7
  import { findDateFilterOptionByValue } from "../../../_staging/dateFilterConfig/dateFilterOptionMapping.js";
8
8
  import { selectAttributeFilterConfigsOverrides } from "../../store/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
9
+ import { removeAttributeFilters } from "../../commands/filters.js";
10
+ import { selectCrossFilteringFiltersLocalIdentifiers } from "../../store/drill/drillSelectors.js";
11
+ import { drillActions } from "../../store/drill/index.js";
9
12
  export function* dispatchFilterContextChanged(ctx, cmd) {
10
13
  const filterContext = yield select(selectFilterContextDefinition);
11
14
  const attributeFilterConfigs = yield select(selectAttributeFilterConfigsOverrides);
@@ -29,4 +32,9 @@ export function* canApplyDateFilter(dateFilter) {
29
32
  }
30
33
  return !!targetOption;
31
34
  }
35
+ export function* resetCrossFiltering(cmd) {
36
+ const virtualFilters = yield select(selectCrossFilteringFiltersLocalIdentifiers);
37
+ yield put(removeAttributeFilters(virtualFilters, cmd.correlationId));
38
+ yield put(drillActions.resetCrossFiltering());
39
+ }
32
40
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/common.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AAEpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,2DAA2D,CAAC;AAC7G,OAAO,EAAE,2BAA2B,EAAE,MAAM,+DAA+D,CAAC;AAC5G,OAAO,EAAE,qCAAqC,EAAE,MAAM,uEAAuE,CAAC;AAE9H,MAAM,SAAS,CAAC,CAAC,4BAA4B,CACzC,GAAqB,EACrB,GAAsB;IAEtB,MAAM,aAAa,GAAqD,MAAM,MAAM,CAChF,6BAA6B,CAChC,CAAC;IACF,MAAM,sBAAsB,GAA6D,MAAM,MAAM,CACjG,qCAAqC,CACxC,CAAC;IAEF,MAAM,sBAAsB,CACxB,oBAAoB,CAAC,GAAG,EAAE,aAAa,EAAE,sBAAsB,EAAE,GAAG,CAAC,aAAa,CAAC,CACtF,CAAC;AACN,CAAC;AAED,MAAM,SAAS,CAAC,CAAC,kBAAkB,CAAC,UAAgC;IAChE,MAAM,0BAA0B,GAAwD,MAAM,MAAM,CAChG,gCAAgC,CACnC,CAAC;IAEF,MAAM,YAAY,GAAG,2BAA2B,CAAC,UAAU,EAAE,0BAA0B,CAAC,CAAC;IAEzF,IAAI,CAAC,YAAY,EAAE,CAAC;QAChB,IAAI,UAAU,CAAC,UAAU,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;YAC5C,OAAO,CAAC,CAAC,0BAA0B,EAAE,YAAY,EAAE,OAAO,CAAC;QAC/D,CAAC;aAAM,IAAI,UAAU,CAAC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AC"}
@@ -1 +1 @@
1
- {"version":3,"file":"changeDateFilterSelectionHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAS1C,OAAO,EAAE,yBAAyB,EAAuB,MAAM,8BAA8B,CAAC;AAO9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAKjE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,yBAAyB,GAC/B,YAAY,CAAC,IAAI,CAAC,CA0CpB"}
1
+ {"version":3,"file":"changeDateFilterSelectionHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAS1C,OAAO,EAAE,yBAAyB,EAAuB,MAAM,8BAA8B,CAAC;AAO9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAMjE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,yBAAyB,GAC/B,YAAY,CAAC,IAAI,CAAC,CA+CpB"}
@@ -4,9 +4,10 @@ import toNumber from "lodash/toNumber.js";
4
4
  import { dateFilterChanged } from "../../../events/filters.js";
5
5
  import { filterContextActions } from "../../../store/filterContext/index.js";
6
6
  import { selectFilterContextDateFilter, selectFilterContextDateFilterByDataSet, } from "../../../store/filterContext/filterContextSelectors.js";
7
- import { canApplyDateFilter, dispatchFilterContextChanged } from "../common.js";
7
+ import { canApplyDateFilter, dispatchFilterContextChanged, resetCrossFiltering } from "../common.js";
8
8
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
9
9
  import { invalidArgumentsProvided } from "../../../events/general.js";
10
+ import { selectIsCrossFiltering } from "../../../store/drill/drillSelectors.js";
10
11
  export function* changeDateFilterSelectionHandler(ctx, cmd) {
11
12
  const isAllTime = cmd.payload.type === "relative" &&
12
13
  cmd.payload.granularity === "GDC.time.date" &&
@@ -28,6 +29,10 @@ export function* changeDateFilterSelectionHandler(ctx, cmd) {
28
29
  const affectedFilter = cmd.payload.dataSet
29
30
  ? yield select(selectFilterContextDateFilterByDataSet(cmd.payload.dataSet))
30
31
  : yield select(selectFilterContextDateFilter);
32
+ const isCrossFiltering = yield select(selectIsCrossFiltering);
33
+ if (isCrossFiltering) {
34
+ yield call(resetCrossFiltering, cmd);
35
+ }
31
36
  yield dispatchDashboardEvent(dateFilterChanged(ctx, affectedFilter, cmd.payload.dateFilterOptionLocalId, cmd.correlationId));
32
37
  yield call(dispatchFilterContextChanged, ctx, cmd);
33
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"changeDateFilterSelectionHandler.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAEH,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EACH,6BAA6B,EAC7B,sCAAsC,GACzC,MAAM,wDAAwD,CAAC;AAEhE,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,SAAS,CAAC,CAAC,gCAAgC,CAC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,CAAC,CACjG,CAAC;IAEF,MAAM,IAAI,CAAC,4BAA4B,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACvD,CAAC;AAED,SAAS,+BAA+B,CAAC,mBAAwC;IAC7E,IAAI,mBAAmB,CAAC,IAAI,KAAK,UAAU,IAAI,mBAAmB,CAAC,IAAI,IAAI,mBAAmB,CAAC,EAAE,EAAE,CAAC;QAChG,OAAO,8BAA8B,CACjC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,EACnC,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,CACpC,CAAC;IACN,CAAC;SAAM,IACH,mBAAmB,CAAC,IAAI,KAAK,UAAU;QACvC,mBAAmB,CAAC,WAAW,KAAK,eAAe;QACnD,mBAAmB,CAAC,IAAI,KAAK,SAAS;QACtC,mBAAmB,CAAC,EAAE,KAAK,SAAS,EACtC,CAAC;QACC,OAAO,6BAA6B,EAAE,CAAC;IAC3C,CAAC;SAAM,CAAC;QACJ,OAAO,8BAA8B,CACjC,mBAAmB,CAAC,WAAW,EAC/B,QAAQ,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAClC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAAC,CACnC,CAAC;IACN,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"changeDateFilterSelectionHandler.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAEH,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,GACjC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EACH,6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EAAE,CAAC,CACnC,CAAC;IACN,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"filterViewHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAY1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EAIzB,MAAM,yBAAyB,CAAC;AAyBjC,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,GAAG,YAAY,CAAC,IAAI,CAAC,CA6CrG;AAMD,wBAAiB,uBAAuB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAgBzG;AAeD,wBAAiB,sBAAsB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,CAavG;AAMD,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,GAC5B,YAAY,CAAC,IAAI,CAAC,CAgBpB;AAED,wBAAiB,wBAAwB,CAAC,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAcnF"}
1
+ {"version":3,"file":"filterViewHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAY1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,sBAAsB,EAGzB,MAAM,yBAAyB,CAAC;AAyBjC,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,GAAG,YAAY,CAAC,IAAI,CAAC,CA6CrG;AAMD,wBAAiB,uBAAuB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAgBzG;AAOD,wBAAiB,sBAAsB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,eAAe,GAAG,YAAY,CAAC,IAAI,CAAC,CAavG;AAMD,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,sBAAsB,GAC5B,YAAY,CAAC,IAAI,CAAC,CAgBpB;AAED,wBAAiB,wBAAwB,CAAC,GAAG,EAAE,gBAAgB,GAAG,YAAY,CAAC,IAAI,CAAC,CAcnF"}
@@ -1,14 +1,14 @@
1
- // (C) 2024 GoodData Corporation
1
+ // (C) 2024-2025 GoodData Corporation
2
2
  import { call, select, put } from "redux-saga/effects";
3
3
  import { areObjRefsEqual, isDashboardAttributeFilter, } from "@gooddata/sdk-model";
4
4
  import { defaultErrorHandler } from "@gooddata/sdk-ui";
5
- import { reloadFilterViews, changeFilterContextSelection, removeAttributeFilters, } from "../../commands/index.js";
5
+ import { reloadFilterViews, changeFilterContextSelection, } from "../../commands/index.js";
6
6
  import { selectFilterContextDefinition } from "../../store/filterContext/filterContextSelectors.js";
7
7
  import { selectCrossFilteringFiltersLocalIdentifiers } from "../../store/drill/drillSelectors.js";
8
8
  import { selectFilterViews, filterViewsActions } from "../../store/filterViews/index.js";
9
- import { drillActions } from "../../store/drill/index.js";
10
9
  import { filterViewCreationSucceeded, filterViewCreationFailed, filterViewDeletionFailed, filterViewApplicationFailed, filterViewDefaultStatusChangeFailed, filterViewDeletionSucceeded, filterViewApplicationSucceeded, filterViewDefaultStatusChangeSucceeded, } from "../../events/filters.js";
11
10
  import { loadFilterViews } from "../dashboard/initializeDashboardHandler/loadFilterViews.js";
11
+ import { resetCrossFiltering } from "./common.js";
12
12
  function createFilterView(ctx, filterView) {
13
13
  return ctx.backend.workspace(ctx.workspace).dashboards().createFilterView(filterView);
14
14
  }
@@ -64,11 +64,6 @@ function* findFilterView(ref) {
64
64
  const filterViews = yield select(selectFilterViews);
65
65
  return filterViews.find((filterView) => areObjRefsEqual(filterView.ref, ref));
66
66
  }
67
- function* resetCrossFiltering(cmd) {
68
- const virtualFilters = yield select(selectCrossFilteringFiltersLocalIdentifiers);
69
- yield put(removeAttributeFilters(virtualFilters, cmd.correlationId));
70
- yield put(drillActions.resetCrossFiltering());
71
- }
72
67
  export function* applyFilterViewHandler(ctx, cmd) {
73
68
  const filterView = yield call(findFilterView, cmd.payload.ref);
74
69
  if (filterView) {
@@ -1 +1 @@
1
- {"version":3,"file":"filterViewHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAGhC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAIH,eAAe,EAEf,0BAA0B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAKH,iBAAiB,EACjB,4BAA4B,EAC5B,sBAAsB,GACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EACH,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,mCAAmC,EACnC,2BAA2B,EAC3B,8BAA8B,EAC9B,sCAAsC,GACzC,MAAM,yBAAyB,CAAC;AACjC,OA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AAC,eAAe,EAAE,GAAG,CAAC,CAAC;QAClG,MAAM,GAAG,CACL,kBAAkB,CAAC,cAAc,CAAC;YAC9B,SAAS,EAAE,GAAG,CAAC,YAAa,EAAE,4BAA4B;YAC1D,WAAW;SACd,CAAC,CACL,CAAC;IACN,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,mBAAmB,CAAC,KAAK,CAAC,CAAC;QAC3B,MAAM,GAAG,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1D,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"filterViewHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/filterViewHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAIH,eAAe,EAEf,0BAA0B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAKH,iBAAiB,EACjB,4BAA4B,GAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACzF,OAAO,EACH,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EACxB,2BAA2B,EAC3B,mCAAmC,EACnC,2BAA2B,EAC3B,8BAA8B,EAC9B,sCAAsC,GACzC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,4DAA4D,CAAC;AAE7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,SAAS,gBAAgB,CACrB,GAAqB,EACrB,UAA2C;IAE3C,OAAO,GAAG,CA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Context, ObjectAvailabilityConfig, DashboardConfig, DashboardFocusObject, DashboardModelCustomizationFns, DashboardTransformFn, FiltersInfo, ResolvedDashboardConfig, ResolvedEntitlements, ResolvableFilter, ResolvedDateFilterValues, IResolvedAttributeFilterValues, IResolvedDateFilterValue, IResolvedFilterValues, WidgetsOverlayFn, IDashboardWidgetOverlay, } from "./types/commonTypes.js";
1
+ export type { DashboardContext, ObjectAvailabilityConfig, DashboardConfig, DashboardExportSlideConfig, DashboardFocusObject, DashboardModelCustomizationFns, DashboardTransformFn, FiltersInfo, ResolvedDashboardConfig, ResolvedEntitlements, ResolvableFilter, ResolvedDateFilterValues, IResolvedAttributeFilterValues, IResolvedDateFilterValue, IResolvedFilterValues, WidgetsOverlayFn, IDashboardWidgetOverlay, PrivateDashboardContext, DashboardLayoutExportTransformFn, } from "./types/commonTypes.js";
2
2
  export type { ICustomWidget, ICustomWidgetDefinition, ICustomWidgetBase, ExtendedDashboardItem, ExtendedDashboardWidget, DashboardItemDefinition, StashedDashboardItemsId, ExtendedDashboardLayoutSection, RelativeIndex, ExtendedDashboardItemType, ExtendedDashboardItemTypes, ExtendedDashboardLayoutWidget, FilterableDashboardWidget, } from "./types/layoutTypes.js";
3
3
  export { newCustomWidget, newDashboardItem, newDashboardSection, isCustomWidgetDefinition, isCustomWidgetBase, isCustomWidget, extendedWidgetDebugStr, isExtendedDashboardLayoutWidget, } from "./types/layoutTypes.js";
4
4
  export type { FilterOp, FilterOpReplaceAll, FilterOpUnignoreAttributeFilter, FilterOpIgnoreAttributeFilter, FilterOpReplaceAttributeIgnores, FilterOpDisableDateFilter, FilterOpEnableDateFilter, FilterOpUnignoreDateFilter, FilterOpIgnoreDateFilter, FilterOperations, WidgetFilterOperation, WidgetHeader, WidgetDescription, } from "./types/widgetTypes.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAcA,YAAY,EACR,gBAAgB,EAChB,wBAAwB,EAC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AC;AAO3F,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,GAC5B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,uDAAuD,CAAC;AACvG,cAAc,8BAA8B,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"queryAttributeByDisplayForm.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeByDisplayForm.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,wBAAwB,EAI3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAQvE,eAAO,MAAM,kCAAkC,uHAU9C,CAAC"}
1
+ {"version":3,"file":"queryAttributeByDisplayForm.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeByDisplayForm.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,wBAAwB,EAI3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AASvE,eAAO,MAAM,kCAAkC,uHAU9C,CAAC"}
@@ -1,33 +1,40 @@
1
- // (C) 2022 GoodData Corporation
1
+ // (C) 2022-2025 GoodData Corporation
2
2
  import { areObjRefsEqual, serializeObjRef, } from "@gooddata/sdk-model";
3
3
  import { createCachedQueryService } from "../store/_infra/queryService.js";
4
4
  import { call, select } from "redux-saga/effects";
5
5
  import { invalidQueryArguments } from "../events/general.js";
6
- import { selectCatalogAttributes } from "../store/index.js";
6
+ import { selectCatalogAttributes, selectPreloadedAttributesWithReferences } from "../store/index.js";
7
7
  export const QueryAttributeByDisplayFormService = createCachedQueryService("GDC.DASH/QUERY.DISPLAY.FORM.ATTRIBUTE", queryService, (query) => {
8
8
  const { payload: { displayForms }, } = query;
9
9
  return displayForms.map((df) => serializeObjRef(df)).join();
10
10
  });
11
11
  /**
12
12
  * Loads the attribute metadata for given display form. Primarily the metadata are loaded
13
- * from the catalog attributes. If the required attribute is not listed in the catalog
13
+ * from the preloaded filter attributes or catalog attributes. If the required attribute is not listed in the preloaded attributes or catalog
14
14
  * (e.g. deprecated attributes), the attribute metadata are fetched from the backend.
15
15
  */
16
- async function loadAttributeByDisplayForm(ctx, catalogAttributes, displayFormRef) {
16
+ async function loadAttributeByDisplayForm(ctx, catalogAttributes, displayFormRef, preloadedAttributesWithReferences) {
17
17
  const { backend, workspace } = ctx;
18
- const attribute = catalogAttributes.find((catalogAttribute) => catalogAttribute.displayForms.some((df) => areObjRefsEqual(df.ref, displayFormRef)));
18
+ // First try to get the attribute from preloaded filters
19
+ let attribute = preloadedAttributesWithReferences?.find((attr) => attr.attribute.displayForms.some((df) => areObjRefsEqual(df.ref, displayFormRef)))?.attribute;
20
+ if (!attribute) {
21
+ // If the attribute is not in preloaded filters, try to get it from catalog attributes
22
+ attribute = catalogAttributes.find((catalogAttribute) => catalogAttribute.displayForms.some((df) => areObjRefsEqual(df.ref, displayFormRef)))?.attribute;
23
+ }
19
24
  if (attribute) {
20
- return attribute.attribute;
25
+ return attribute;
21
26
  }
27
+ // If attribute is not in preloaded filters or catalog attributes, fetch it from backend
22
28
  return backend.workspace(workspace).attributes().getAttributeByDisplayForm(displayFormRef);
23
29
  }
24
- async function loadAttributes(ctx, catalogAttributes, displayForms) {
25
- return Promise.all(displayForms.map((df) => loadAttributeByDisplayForm(ctx, catalogAttributes, df)));
30
+ async function loadAttributes(ctx, catalogAttributes, displayForms, preloadedAttributesWithReferences) {
31
+ return Promise.all(displayForms.map((df) => loadAttributeByDisplayForm(ctx, catalogAttributes, df, preloadedAttributesWithReferences)));
26
32
  }
27
33
  function* queryService(ctx, query) {
28
34
  const { payload: { displayForms }, correlationId, } = query;
35
+ const preloadedAttributesWithReferences = yield select(selectPreloadedAttributesWithReferences);
29
36
  const catalogAttributes = yield select(selectCatalogAttributes);
30
- const attributes = yield call(loadAttributes, ctx, catalogAttributes, displayForms);
37
+ const attributes = yield call(loadAttributes, ctx, catalogAttributes, displayForms, preloadedAttributesWithReferences);
31
38
  if (!attributes) {
32
39
  throw invalidQueryArguments(ctx, `Cannot find attribute for given displayForm`, correlationId);
33
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queryAttributeByDisplayForm.js","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeByDisplayForm.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EACH,eAAe,EAIf,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAG3E,OAAO,EAAE,IAAI,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,MAAM,CAAC,MAAM,kCAAkC,GAAG,wBAAwB,CACtE,uCAAuC,EACvC,YAAY,EACZ,CAAC,KAAkC,EAAE,EAAE;IACnC,MAAM,EACF,OAAO,EAAE,EAAE,YAAY,EAAE,GAC5B,GAAG,KAAK,CAAC;IAEV,OAAO,YAAY,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;AAChE,CAAC,CACJ,CAAC;AAEF;;;;GAIG;AACH,KAAK,UAAU,0BAA0B,CACrC,GAAqB,EACrB,iBAAsC,EACtC,cAAsB;IAEtB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IACnC,MAAM,SAAS,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC,gBAAgB,EAAE,EAAE,CAC1D,gBAAgB,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC,CACtF,CAAC;IAEF,IAAI,SAAS,EAAE,CAAC;QACZ,OAAO,SAAS,CAAC,SAAS,CAAC;IAC/B,CAAC;IAED,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,yBAAyB,CAAC,cAAc,CAAC,CAAC;AAC/F,CAAC;AAED,KAAK,UAAU,cAAc,CACzB,GAAqB,EACrB,iBAAsC,EACtC,YAAsB;IAEtB,OAAO,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,0BAA0B,CAAC,GAAG,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACzG,CAAC;AAED,QAAQ,CAAC,CAAC,YAAY,CAClB,GAAqB,EACrB,KAAkC;IAElC,MAAM,EACF,OAAO,EAAE,EAAE,YAAY,EAAE,EACzB,aAAa,GAChB,GAAG,KAAK,CAAC;IACV,MAAM,iBAAiB,GAA+C,MAAM,MAAM,CAC9E,uBAAuB,CAC1B,CAAC;IAEF,MAAM,UAAU,GAA0C,MAAM,IAAI,CAChE,cAAc,EACd,GAAG,EACH,iBAAiB,EACjB,YAAY,CACf,CAAC;IAEF,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,MAAM,qBAAqB,CAAC,GAAG,EAAE,6CAA6C,EAAE,aAAa,CAAC,CAAC;IACnG,CAAC;IAED,OAAO,UAAU,CAAC;AACtB,CAAC"}
1
+ {"version":3,"file":"queryAttributeByDisplayForm.js","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeByDisplayForm.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EACH,eAAe,EAIf,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAE7B,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,CAAC;IACjB,CAAC;IAED,IAAI,SAAS,EAAE,CAAC;QACZ,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,wFAAwF;IACxF,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,yBAAyB,CAAC,cAAc,CAAC,CAAC;AAC/F,CAAC;AAED,KAAK,UAAU,cAAc,CACzB,GAAqB,EACrB,iBAAsC,EACtC,YAAsB,EACtB,iCAA8D;IAE9D,OAAO,OAAO,CAAC,GAAG,CACd,YAAY,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CACpB,0BAA0B,CAAC,GAAG,EAAE,iBAAiB,EAAE,EAAE,EAAE,iCAAiC,CAAC,CAC5F,CACJ,CAAC;AACN,CAAC;AAED,QAAQ,CAAC,CAAC,YAAY,CAClB,GAAqB,EACrB,KAAkC;IAElC,MAAM,EACF,OAAO,EAAE,EAAE,YAAY,EAAE,EACzB,aAAa,GAChB,GAAG,KAAK,CAAC;IACV,MAAM,iCAAiC,GACnC,MAAM,MAAM,CAAC,uCAAuC,CAAC,CAAC;IAC1D,MAAM,iBAAiB,GAA+C,MAAM,MAAM,CAC9E,uBAAuB,CAC1B,CAAC;IAEF,MAAM,UAAU,GAA0C,MAAM,IAAI,CAChE,cAAc,EACd,GAAG,EACH,iBAAiB,EACjB,YAAY,EACZ,iCAAiC,CACpC,CAAC;IAEF,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,MAAM,qBAAqB,CAAC,GAAG,EAAE,6CAA6C,EAAE,aAAa,CAAC,CAAC;IACnG,CAAC;IAED,OAAO,UAAU,CAAC;AACtB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { IMetadataObject } from "@gooddata/sdk-model";
2
2
  import { QueryAttributeDataSet } from "../queries/attributeDataSet.js";
3
- export declare const QueryAttributeDataSetService: Required<import("../store/_infra/queryService.js").IDashboardQueryService<QueryAttributeDataSet, IMetadataObject>>;
3
+ export declare const QueryAttributeDataSetService: Required<import("../store/index.js").IDashboardQueryService<QueryAttributeDataSet, IMetadataObject>>;
4
4
  //# sourceMappingURL=queryAttributeDataset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queryAttributeDataset.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeDataset.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAA2B,MAAM,qBAAqB,CAAC;AAM/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,eAAO,MAAM,4BAA4B,oHAUxC,CAAC"}
1
+ {"version":3,"file":"queryAttributeDataset.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeDataset.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,eAAe,EAA2B,MAAM,qBAAqB,CAAC;AAMhG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAIvE,eAAO,MAAM,4BAA4B,sGAUxC,CAAC"}
@@ -1,19 +1,27 @@
1
- // (C) 2022-2023 GoodData Corporation
2
- import { serializeObjRef } from "@gooddata/sdk-model";
1
+ // (C) 2022-2025 GoodData Corporation
2
+ import { areObjRefsEqual, serializeObjRef } from "@gooddata/sdk-model";
3
3
  import { createCachedQueryService } from "../store/_infra/queryService.js";
4
- import { call } from "redux-saga/effects";
4
+ import { call, select } from "redux-saga/effects";
5
5
  import { invalidQueryArguments } from "../events/general.js";
6
+ import { selectPreloadedAttributesWithReferences } from "../store/index.js";
6
7
  export const QueryAttributeDataSetService = createCachedQueryService("GDC.DASH/QUERY.DATA.SET.ATTRIBUTE", queryService, (query) => {
7
8
  const { payload: { displayForm }, } = query;
8
9
  return serializeObjRef(displayForm);
9
10
  });
10
- async function loadAttributeDataSetMeta(ctx, displayFormRef) {
11
+ async function loadAttributeDataSetMeta(ctx, attributeRef, preloadedAttributesWithReferences) {
11
12
  const { backend, workspace } = ctx;
12
- return backend.workspace(workspace).attributes().getAttributeDatasetMeta(displayFormRef);
13
+ // First try to get the dataSet from preloaded filters
14
+ const dataSet = preloadedAttributesWithReferences?.find((attr) => areObjRefsEqual(attr.attribute.ref, attributeRef))?.dataSet;
15
+ if (dataSet) {
16
+ return dataSet;
17
+ }
18
+ // If dataSet is not in preloaded filters, fetch it from backend
19
+ return backend.workspace(workspace).attributes().getAttributeDatasetMeta(attributeRef);
13
20
  }
14
21
  function* queryService(ctx, query) {
15
22
  const { payload: { displayForm }, correlationId, } = query;
16
- const attributeDataSet = yield call(loadAttributeDataSetMeta, ctx, displayForm);
23
+ const preloadedAttributesWithReferences = yield select(selectPreloadedAttributesWithReferences);
24
+ const attributeDataSet = yield call(loadAttributeDataSetMeta, ctx, displayForm, preloadedAttributesWithReferences);
17
25
  if (!attributeDataSet) {
18
26
  throw invalidQueryArguments(ctx, `Cannot find attribute data set for given displayForm`, correlationId);
19
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"queryAttributeDataset.js","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeDataset.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAG3E,OAAO,EAAE,IAAI,EAAkB,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,MAAM,CAAC,MAAM,4BAA4B,GAAG,wBAAwB,CAChE,mCAAmC,EACnC,YAAY,EACZ,CAAC,KAA4B,EAAE,EAAE;IAC7B,MAAM,EACF,OAAO,EAAE,EAAE,WAAW,EAAE,GAC3B,GAAG,KAAK,CAAC;IAEV,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACxC,CAAC,CACJ,CAAC;AAEF,KAAK,UAAU,wBAAwB,CACnC,GAAqB,EACrB,cAAsB;IAEtB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IACnC,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC;AAC7F,CAAC;AAED,QAAQ,CAAC,CAAC,YAAY,CAAC,GAAqB,EAAE,KAA4B;IACtE,MAAM,EACF,OAAO,EAAE,EAAE,WAAW,EAAE,EACxB,aAAa,GAChB,GAAG,KAAK,CAAC;IAEV,MAAM,gBAAgB,GAAoD,MAAM,IAAI,CAChF,wBAAwB,EACxB,GAAG,EACH,WAAW,CACd,CAAC;IAEF,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACpB,MAAM,qBAAqB,CACvB,GAAG,EACH,sDAAsD,EACtD,aAAa,CAChB,CAAC;IACN,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"queryAttributeDataset.js","sourceRoot":"","sources":["../../../src/model/queryServices/queryAttributeDataset.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,eAAe,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAG3E,OAAO,EAAE,IAAI,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,uCAAuC,EAAE,MAAM,mBAAmB,CAAC;AAG5E,MAAM,CAAC,MAAM,4BAA4B,GAAG,wBAAwB,CAChE,mCAAmC,EACnC,YAAY,EACZ,CAAC,KAA4B,EAAE,EAAE;IAC7B,MAAM,EACF,OAAO,EAAE,EAAE,WAAW,EAAE,GAC3B,GAAG,KAAK,CAAC;IAEV,OAAO,eAAe,CAAC,WAAW,CAAC,CAAC;AACxC,CAAC,CACJ,CAAC;AAEF,KAAK,UAAU,wBAAwB,CACnC,GAAqB,EACrB,YAAoB,EACpB,iCAA8D;IAE9D,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC;IAEnC,sDAAsD;IACtD,MAAM,OAAO,GAAG,iCAAiC,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC7D,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,YAAY,CAAC,CACpD,EAAE,OAAO,CAAC;IAEX,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,gEAAgE;IAChE,OAAO,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,CAAC,uBAAuB,CAAC,YAAY,CAAC,CAAC;AAC3F,CAAC;AAED,QAAQ,CAAC,CAAC,YAAY,CAAC,GAAqB,EAAE,KAA4B;IACtE,MAAM,EACF,OAAO,EAAE,EAAE,WAAW,EAAE,EACxB,aAAa,GAChB,GAAG,KAAK,CAAC;IAEV,MAAM,iCAAiC,GACnC,MAAM,MAAM,CAAC,uCAAuC,CAAC,CAAC;IAE1D,MAAM,gBAAgB,GAAoD,MAAM,IAAI,CAChF,wBAAwB,EACxB,GAAG,EACH,WAAW,EACX,iCAAiC,CACpC,CAAC;IAEF,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACpB,MAAM,qBAAqB,CACvB,GAAG,EACH,sDAAsD,EACtD,aAAa,CAChB,CAAC;IACN,CAAC;IAED,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { IFilter } from "@gooddata/sdk-model";
2
2
  import { QueryWidgetFilters } from "../queries/widgets.js";
3
- export declare const QueryWidgetFiltersService: import("../store/_infra/queryService.js").IDashboardQueryService<QueryWidgetFilters, IFilter[]>;
3
+ export declare const QueryWidgetFiltersService: import("../store/index.js").IDashboardQueryService<QueryWidgetFilters, IFilter[]>;
4
4
  //# sourceMappingURL=queryWidgetFilters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queryWidgetFilters.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/queryWidgetFilters.ts"],"names":[],"mappings":"AAKA,OAAO,EAMH,OAAO,EAuBV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAiB3D,eAAO,MAAM,yBAAyB,iGAAoE,CAAC"}
1
+ {"version":3,"file":"queryWidgetFilters.d.ts","sourceRoot":"","sources":["../../../src/model/queryServices/queryWidgetFilters.ts"],"names":[],"mappings":"AAKA,OAAO,EAMH,OAAO,EAuBV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAkB3D,eAAO,MAAM,yBAAyB,mFAAoE,CAAC"}
@@ -11,6 +11,7 @@ import { invariant } from "ts-invariant";
11
11
  import isEmpty from "lodash/isEmpty.js";
12
12
  import { selectSupportsMultipleDateFilters } from "../store/backendCapabilities/backendCapabilitiesSelectors.js";
13
13
  import { selectAttributeFilterConfigsDisplayAsLabelMap } from "../store/attributeFilterConfigs/attributeFilterConfigsSelectors.js";
14
+ import { selectEnableCriticalContentPerformanceOptimizations } from "../store/index.js";
14
15
  export const QueryWidgetFiltersService = createQueryService("GDC.DASH/QUERY.WIDGET.FILTERS", queryService);
15
16
  function refMatchesMdObject(ref, mdObject, type) {
16
17
  return (areObjRefsEqual(ref, mdObject.ref) ||
@@ -76,18 +77,16 @@ function selectResolveWidgetDateFilterIgnore(state, widget, dashboardCommonDateF
76
77
  function resolveWidgetDateFilterIgnore(widget, commonDateFilterDateDatasetPairs, widgetDateFilterDateDatasetPairs, avoidCatalogForFilterLookup) {
77
78
  const nonIgnoredCommonDateFilterDateDatasetPairs = commonDateFilterDateDatasetPairs.filter(({ dateDataset, dateDatasetLink }) => {
78
79
  return (!!widget.dateDataSet &&
79
- dateDataset &&
80
80
  (avoidCatalogForFilterLookup
81
- ? areObjRefsEqual(widget.dateDataSet, dateDatasetLink)
82
- : refMatchesMdObject(widget.dateDataSet, dateDataset.dataSet, "dataSet")));
81
+ ? dateDatasetLink && areObjRefsEqual(widget.dateDataSet, dateDatasetLink)
82
+ : dateDataset && refMatchesMdObject(widget.dateDataSet, dateDataset.dataSet, "dataSet")));
83
83
  });
84
84
  const nonIgnoredWidgetDateFilterDateDatasetPairs = widgetDateFilterDateDatasetPairs.filter(({ dateDataset, dateDatasetLink }) => {
85
- const matches = dateDataset &&
86
- widget.ignoreDashboardFilters
87
- ?.filter(isDashboardDateFilterReference)
88
- .some((ignored) => avoidCatalogForFilterLookup
89
- ? areObjRefsEqual(ignored.dataSet, dateDatasetLink)
90
- : refMatchesMdObject(ignored.dataSet, dateDataset.dataSet, "dataSet"));
85
+ const matches = widget.ignoreDashboardFilters
86
+ ?.filter(isDashboardDateFilterReference)
87
+ .some((ignored) => avoidCatalogForFilterLookup
88
+ ? dateDatasetLink && areObjRefsEqual(ignored.dataSet, dateDatasetLink)
89
+ : dateDataset && refMatchesMdObject(ignored.dataSet, dateDataset.dataSet, "dataSet"));
91
90
  return !matches;
92
91
  });
93
92
  return [...nonIgnoredCommonDateFilterDateDatasetPairs, ...nonIgnoredWidgetDateFilterDateDatasetPairs];
@@ -100,10 +99,10 @@ function resolveDateFilters(insightDateFilterDateDatasetPairs, dashboardDateFilt
100
99
  // prioritize dashboard filters over insight ones
101
100
  // and strip useless all time filters at the end
102
101
  const init = dashboardDateFilterDateDatasetPairs
103
- .filter((item) => !!item.dateDataset)
102
+ .filter((item) => (avoidCatalogForFilterLookup ? !!item.dateDatasetLink : !!item.dateDataset))
104
103
  .map((item) => item.filter);
105
104
  return insightDateFilterDateDatasetPairs
106
- .filter((item) => !!item.dateDataset)
105
+ .filter((item) => (avoidCatalogForFilterLookup ? !!item.dateDatasetLink : !!item.dateDataset))
107
106
  .reduceRight((acc, curr) => {
108
107
  const alreadyPresent = avoidCatalogForFilterLookup
109
108
  ? acc.some((item) => areObjRefsEqual(filterObjRef(item), curr.dateDatasetLink))
@@ -133,7 +132,7 @@ function* queryWithInsight(ctx, widget, insight) {
133
132
  widgetAwareDashboardCommonDateFilters.push(newAllTimeFilter(widget.dateDataSet));
134
133
  }
135
134
  const effectiveInsightFilters = insightFilters(insight);
136
- const avoidCatalogForFilterLookup = !!ctx.config?.settings?.enableCriticalContentPerformanceOptimizations;
135
+ const avoidCatalogForFilterLookup = yield select(selectEnableCriticalContentPerformanceOptimizations);
137
136
  const [dateFilters, attributeFilters] = yield all([
138
137
  select(selectResolvedInsightDateFilters, widget, widgetAwareDashboardCommonDateFilters.filter(isDateFilter), widgetAwareDashboardOtherFilters.filter(isDateFilter), effectiveInsightFilters.filter(isDateFilter), supportsMultipleDateFilters, avoidCatalogForFilterLookup),
139
138
  call(getResolvedInsightAttributeFilters, ctx, widget, widgetAwareDashboardOtherFilters.filter(isAttributeFilter), effectiveInsightFilters.filter(isAttributeFilter)),
@@ -159,7 +158,7 @@ function* queryWithoutInsight(ctx, widget) {
159
158
  const widgetAwareDashboardFiltersSelector = selectAllFiltersForWidgetByRef(widget.ref);
160
159
  const [widgetAwareDashboardCommonDateFilters, widgetAwareDashboardOtherFilters] = yield select(widgetAwareDashboardFiltersSelector);
161
160
  const supportsMultipleDateFilters = yield select(selectSupportsMultipleDateFilters);
162
- const avoidCatalogForFilterLookup = !!ctx.config?.settings?.enableCriticalContentPerformanceOptimizations;
161
+ const avoidCatalogForFilterLookup = yield select(selectEnableCriticalContentPerformanceOptimizations);
163
162
  const [dateFilters, attributeFilters] = yield all([
164
163
  select(selectResolvedDateFilters, widget, widgetAwareDashboardCommonDateFilters.filter(isDateFilter), widgetAwareDashboardOtherFilters.filter(isDateFilter), supportsMultipleDateFilters, avoidCatalogForFilterLookup),
165
164
  call(getResolvedAttributeFilters, ctx, widget, widgetAwareDashboardOtherFilters.filter(isAttributeFilter)),