@gooddata/sdk-ui-dashboard 11.9.0 → 11.10.0-alpha.1

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 (285) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.d.ts.map +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/__version.js.map +1 -1
  5. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
  6. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +3 -2
  7. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js.map +1 -1
  8. package/esm/model/commandHandlers/dashboard/changeAttributeFilterDisplayAsLabelHandler.d.ts.map +1 -1
  9. package/esm/model/commandHandlers/dashboard/changeAttributeFilterDisplayAsLabelHandler.js +4 -3
  10. package/esm/model/commandHandlers/dashboard/changeAttributeFilterDisplayAsLabelHandler.js.map +1 -1
  11. package/esm/model/commandHandlers/dashboard/changeAttributeFilterLimitingItemsHandler.js +3 -3
  12. package/esm/model/commandHandlers/dashboard/changeAttributeFilterLimitingItemsHandler.js.map +1 -1
  13. package/esm/model/commandHandlers/dashboard/changeAttributeFilterModeHandler.d.ts.map +1 -1
  14. package/esm/model/commandHandlers/dashboard/changeAttributeFilterModeHandler.js +4 -3
  15. package/esm/model/commandHandlers/dashboard/changeAttributeFilterModeHandler.js.map +1 -1
  16. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js +7 -7
  18. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js.map +1 -1
  19. package/esm/model/commandHandlers/dashboard/changeDateFilterWithDimensionModeHandler.d.ts.map +1 -1
  20. package/esm/model/commandHandlers/dashboard/changeDateFilterWithDimensionModeHandler.js +5 -4
  21. package/esm/model/commandHandlers/dashboard/changeDateFilterWithDimensionModeHandler.js.map +1 -1
  22. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts +2 -2
  23. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +234 -106
  25. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
  26. package/esm/model/commandHandlers/dashboard/dateFilterConfigHandler.d.ts.map +1 -1
  27. package/esm/model/commandHandlers/dashboard/dateFilterConfigHandler.js +2 -2
  28. package/esm/model/commandHandlers/dashboard/dateFilterConfigHandler.js.map +1 -1
  29. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.d.ts.map +1 -1
  30. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js +2 -1
  31. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js.map +1 -1
  32. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -1
  33. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +2 -1
  34. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js.map +1 -1
  35. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -1
  36. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +2 -1
  37. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js.map +1 -1
  38. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.js +1 -1
  39. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.js.map +1 -1
  40. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +1 -1
  41. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  42. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +47 -20
  43. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js.map +1 -1
  44. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/onDateFilterConfigValidationError.d.ts +1 -1
  45. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/onDateFilterConfigValidationError.d.ts.map +1 -1
  46. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/onDateFilterConfigValidationError.js +2 -2
  47. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/onDateFilterConfigValidationError.js.map +1 -1
  48. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
  49. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +10 -5
  50. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js.map +1 -1
  51. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js +2 -2
  52. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/resolveDashboardConfig.js.map +1 -1
  53. package/esm/model/commandHandlers/dashboard/resetDashboardHandler.d.ts.map +1 -1
  54. package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js +62 -22
  55. package/esm/model/commandHandlers/dashboard/resetDashboardHandler.js.map +1 -1
  56. package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js +6 -6
  57. package/esm/model/commandHandlers/dashboard/saveAsDashboardHandler.js.map +1 -1
  58. package/esm/model/commandHandlers/dashboard/saveDashboardHandler.d.ts.map +1 -1
  59. package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js +39 -14
  60. package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js.map +1 -1
  61. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +2 -2
  62. package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
  63. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +2 -2
  64. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
  65. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.d.ts.map +1 -1
  66. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js +2 -2
  67. package/esm/model/commandHandlers/drill/resolveDrillToCustomUrl.js.map +1 -1
  68. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
  69. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js +6 -7
  70. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js.map +1 -1
  71. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +4 -4
  72. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
  73. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.d.ts.map +1 -1
  74. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js +5 -4
  75. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeFilterSelectionHandler.js.map +1 -1
  76. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeSelectionModeHandler.d.ts.map +1 -1
  77. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeSelectionModeHandler.js +4 -3
  78. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeSelectionModeHandler.js.map +1 -1
  79. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeTitleHandler.d.ts.map +1 -1
  80. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeTitleHandler.js +4 -3
  81. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeTitleHandler.js.map +1 -1
  82. package/esm/model/commandHandlers/filterContext/attributeFilter/moveAttributeFilterHandler.d.ts.map +1 -1
  83. package/esm/model/commandHandlers/filterContext/attributeFilter/moveAttributeFilterHandler.js +4 -3
  84. package/esm/model/commandHandlers/filterContext/attributeFilter/moveAttributeFilterHandler.js.map +1 -1
  85. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  86. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +6 -7
  87. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js.map +1 -1
  88. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.d.ts.map +1 -1
  89. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.js +4 -3
  90. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterDependentDateFilterHandler.js.map +1 -1
  91. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
  92. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +4 -3
  93. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js.map +1 -1
  94. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  95. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +13 -14
  96. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js.map +1 -1
  97. package/esm/model/commandHandlers/filterContext/common.d.ts +3 -3
  98. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  99. package/esm/model/commandHandlers/filterContext/common.js +6 -6
  100. package/esm/model/commandHandlers/filterContext/common.js.map +1 -1
  101. package/esm/model/commandHandlers/filterContext/dateFilter/addDateFilterHandler.js +3 -3
  102. package/esm/model/commandHandlers/filterContext/dateFilter/addDateFilterHandler.js.map +1 -1
  103. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  104. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +3 -3
  105. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js.map +1 -1
  106. package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.d.ts.map +1 -1
  107. package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.js +4 -3
  108. package/esm/model/commandHandlers/filterContext/dateFilter/moveDateFilterHandler.js.map +1 -1
  109. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.d.ts.map +1 -1
  110. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js +5 -6
  111. package/esm/model/commandHandlers/filterContext/dateFilter/removeDateFiltersHandler.js.map +1 -1
  112. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +4 -4
  113. package/esm/model/commandHandlers/filterContext/filterViewHandler.js.map +1 -1
  114. package/esm/model/commandHandlers/layout/validation/itemValidation.js +2 -2
  115. package/esm/model/commandHandlers/layout/validation/itemValidation.js.map +1 -1
  116. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  117. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +1 -1
  118. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
  119. package/esm/model/commandHandlers/tabs/createDashboardTabHandler.d.ts.map +1 -1
  120. package/esm/model/commandHandlers/tabs/createDashboardTabHandler.js +26 -4
  121. package/esm/model/commandHandlers/tabs/createDashboardTabHandler.js.map +1 -1
  122. package/esm/model/commandHandlers/tabs/switchDashboardTabHandler.d.ts.map +1 -1
  123. package/esm/model/commandHandlers/tabs/switchDashboardTabHandler.js +1 -93
  124. package/esm/model/commandHandlers/tabs/switchDashboardTabHandler.js.map +1 -1
  125. package/esm/model/commandHandlers/widgets/common/filterOperations.js +2 -2
  126. package/esm/model/commandHandlers/widgets/common/filterOperations.js.map +1 -1
  127. package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.d.ts.map +1 -1
  128. package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js +2 -1
  129. package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js.map +1 -1
  130. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
  131. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +2 -1
  132. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js.map +1 -1
  133. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -1
  134. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +2 -1
  135. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js.map +1 -1
  136. package/esm/model/commandHandlers/widgets/validation/filterValidation.js +2 -2
  137. package/esm/model/commandHandlers/widgets/validation/filterValidation.js.map +1 -1
  138. package/esm/model/queryServices/queryWidgetFilters.d.ts.map +1 -1
  139. package/esm/model/queryServices/queryWidgetFilters.js +1 -1
  140. package/esm/model/queryServices/queryWidgetFilters.js.map +1 -1
  141. package/esm/model/store/dashboardStore.d.ts.map +1 -1
  142. package/esm/model/store/dashboardStore.js +0 -8
  143. package/esm/model/store/dashboardStore.js.map +1 -1
  144. package/esm/model/store/index.d.ts +12 -10
  145. package/esm/model/store/index.d.ts.map +1 -1
  146. package/esm/model/store/index.js +6 -5
  147. package/esm/model/store/index.js.map +1 -1
  148. package/esm/model/store/keyDriverAnalysis/const.d.ts +14 -0
  149. package/esm/model/store/keyDriverAnalysis/const.d.ts.map +1 -0
  150. package/esm/model/store/keyDriverAnalysis/const.js +32 -0
  151. package/esm/model/store/keyDriverAnalysis/const.js.map +1 -0
  152. package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
  153. package/esm/model/store/layout/layoutSelectors.js +1 -1
  154. package/esm/model/store/layout/layoutSelectors.js.map +1 -1
  155. package/esm/model/store/meta/metaSelectors.d.ts +76 -20
  156. package/esm/model/store/meta/metaSelectors.d.ts.map +1 -1
  157. package/esm/model/store/meta/metaSelectors.js +234 -140
  158. package/esm/model/store/meta/metaSelectors.js.map +1 -1
  159. package/esm/model/store/{attributeFilterConfigs → tabs/attributeFilterConfigs}/attributeFilterConfigsReducers.d.ts +7 -6
  160. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.d.ts.map +1 -0
  161. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.js +83 -0
  162. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsReducers.js.map +1 -0
  163. package/esm/model/store/{attributeFilterConfigs → tabs/attributeFilterConfigs}/attributeFilterConfigsSelectors.d.ts +7 -1
  164. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.d.ts.map +1 -0
  165. package/esm/model/store/{attributeFilterConfigs → tabs/attributeFilterConfigs}/attributeFilterConfigsSelectors.js +24 -4
  166. package/esm/model/store/tabs/attributeFilterConfigs/attributeFilterConfigsSelectors.js.map +1 -0
  167. package/esm/model/store/{attributeFilterConfigs/attributeFilterConfigsState.d.ts → tabs/attributeFilterConfigs/attrtibuteFilterConfigsState.d.ts} +1 -1
  168. package/esm/model/store/tabs/attributeFilterConfigs/attrtibuteFilterConfigsState.d.ts.map +1 -0
  169. package/esm/model/store/tabs/attributeFilterConfigs/attrtibuteFilterConfigsState.js +5 -0
  170. package/esm/model/store/tabs/attributeFilterConfigs/attrtibuteFilterConfigsState.js.map +1 -0
  171. package/esm/model/store/{dateFilterConfig → tabs/dateFilterConfig}/dateFilterConfigReducers.d.ts +3 -3
  172. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigReducers.d.ts.map +1 -0
  173. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigReducers.js +117 -0
  174. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigReducers.js.map +1 -0
  175. package/esm/model/store/{dateFilterConfig → tabs/dateFilterConfig}/dateFilterConfigSelectors.d.ts +8 -2
  176. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.d.ts.map +1 -0
  177. package/esm/model/store/{dateFilterConfig → tabs/dateFilterConfig}/dateFilterConfigSelectors.js +36 -13
  178. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigSelectors.js.map +1 -0
  179. package/esm/model/store/{dateFilterConfig → tabs/dateFilterConfig}/dateFilterConfigState.d.ts +1 -1
  180. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigState.d.ts.map +1 -0
  181. package/esm/model/store/tabs/dateFilterConfig/dateFilterConfigState.js.map +1 -0
  182. package/esm/model/store/{dateFilterConfigs → tabs/dateFilterConfigs}/dateFilterConfigsReducers.d.ts +7 -7
  183. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsReducers.d.ts.map +1 -0
  184. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsReducers.js +105 -0
  185. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsReducers.js.map +1 -0
  186. package/esm/model/store/{dateFilterConfigs → tabs/dateFilterConfigs}/dateFilterConfigsSelectors.d.ts +7 -1
  187. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsSelectors.d.ts.map +1 -0
  188. package/esm/model/store/{dateFilterConfigs → tabs/dateFilterConfigs}/dateFilterConfigsSelectors.js +24 -4
  189. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsSelectors.js.map +1 -0
  190. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsState.d.ts.map +1 -0
  191. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsState.js +5 -0
  192. package/esm/model/store/tabs/dateFilterConfigs/dateFilterConfigsState.js.map +1 -0
  193. package/esm/model/store/{filterContext → tabs/filterContext}/filterContextReducers.d.ts +54 -3
  194. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -0
  195. package/esm/model/store/{filterContext → tabs/filterContext}/filterContextReducers.js +237 -92
  196. package/esm/model/store/tabs/filterContext/filterContextReducers.js.map +1 -0
  197. package/esm/model/store/{filterContext → tabs/filterContext}/filterContextSelectors.d.ts +182 -2
  198. package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -0
  199. package/esm/model/store/{filterContext → tabs/filterContext}/filterContextSelectors.js +55 -8
  200. package/esm/model/store/tabs/filterContext/filterContextSelectors.js.map +1 -0
  201. package/esm/model/store/tabs/filterContext/filterContextState.d.ts.map +1 -0
  202. package/esm/model/store/tabs/filterContext/filterContextState.js.map +1 -0
  203. package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts +35 -0
  204. package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -0
  205. package/esm/model/store/{filterContext → tabs/filterContext}/filterContextUtils.js +55 -0
  206. package/esm/model/store/tabs/filterContext/filterContextUtils.js.map +1 -0
  207. package/esm/model/store/tabs/index.d.ts +175 -12
  208. package/esm/model/store/tabs/index.d.ts.map +1 -1
  209. package/esm/model/store/tabs/index.js +15 -3
  210. package/esm/model/store/tabs/index.js.map +1 -1
  211. package/esm/model/store/tabs/tabsReducers.d.ts +22 -6
  212. package/esm/model/store/tabs/tabsReducers.d.ts.map +1 -1
  213. package/esm/model/store/tabs/tabsReducers.js +37 -3
  214. package/esm/model/store/tabs/tabsReducers.js.map +1 -1
  215. package/esm/model/store/tabs/tabsSelectors.d.ts +31 -6
  216. package/esm/model/store/tabs/tabsSelectors.d.ts.map +1 -1
  217. package/esm/model/store/tabs/tabsSelectors.js +6 -0
  218. package/esm/model/store/tabs/tabsSelectors.js.map +1 -1
  219. package/esm/model/store/tabs/tabsState.d.ts +30 -3
  220. package/esm/model/store/tabs/tabsState.d.ts.map +1 -1
  221. package/esm/model/store/tabs/tabsState.js +13 -0
  222. package/esm/model/store/tabs/tabsState.js.map +1 -1
  223. package/esm/model/store/types.d.ts +0 -11
  224. package/esm/model/store/types.d.ts.map +1 -1
  225. package/esm/model/store/widgetDrills/widgetDrillSelectors.d.ts.map +1 -1
  226. package/esm/model/store/widgetDrills/widgetDrillSelectors.js +3 -11
  227. package/esm/model/store/widgetDrills/widgetDrillSelectors.js.map +1 -1
  228. package/esm/presentation/drill/utils/kdaUtils.d.ts.map +1 -1
  229. package/esm/presentation/drill/utils/kdaUtils.js +7 -1
  230. package/esm/presentation/drill/utils/kdaUtils.js.map +1 -1
  231. package/esm/sdk-ui-dashboard.d.ts +365 -22
  232. package/package.json +18 -18
  233. package/styles/css/main.css +5 -5
  234. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsReducers.d.ts.map +0 -1
  235. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsReducers.js +0 -43
  236. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsReducers.js.map +0 -1
  237. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsSelectors.d.ts.map +0 -1
  238. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsSelectors.js.map +0 -1
  239. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsState.d.ts.map +0 -1
  240. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsState.js +0 -4
  241. package/esm/model/store/attributeFilterConfigs/attributeFilterConfigsState.js.map +0 -1
  242. package/esm/model/store/attributeFilterConfigs/index.d.ts +0 -10
  243. package/esm/model/store/attributeFilterConfigs/index.d.ts.map +0 -1
  244. package/esm/model/store/attributeFilterConfigs/index.js +0 -13
  245. package/esm/model/store/attributeFilterConfigs/index.js.map +0 -1
  246. package/esm/model/store/dateFilterConfig/dateFilterConfigReducers.d.ts.map +0 -1
  247. package/esm/model/store/dateFilterConfig/dateFilterConfigReducers.js +0 -55
  248. package/esm/model/store/dateFilterConfig/dateFilterConfigReducers.js.map +0 -1
  249. package/esm/model/store/dateFilterConfig/dateFilterConfigSelectors.d.ts.map +0 -1
  250. package/esm/model/store/dateFilterConfig/dateFilterConfigSelectors.js.map +0 -1
  251. package/esm/model/store/dateFilterConfig/dateFilterConfigState.d.ts.map +0 -1
  252. package/esm/model/store/dateFilterConfig/dateFilterConfigState.js.map +0 -1
  253. package/esm/model/store/dateFilterConfig/index.d.ts +0 -16
  254. package/esm/model/store/dateFilterConfig/index.d.ts.map +0 -1
  255. package/esm/model/store/dateFilterConfig/index.js +0 -13
  256. package/esm/model/store/dateFilterConfig/index.js.map +0 -1
  257. package/esm/model/store/dateFilterConfigs/dateFilterConfigsReducers.d.ts.map +0 -1
  258. package/esm/model/store/dateFilterConfigs/dateFilterConfigsReducers.js +0 -63
  259. package/esm/model/store/dateFilterConfigs/dateFilterConfigsReducers.js.map +0 -1
  260. package/esm/model/store/dateFilterConfigs/dateFilterConfigsSelectors.d.ts.map +0 -1
  261. package/esm/model/store/dateFilterConfigs/dateFilterConfigsSelectors.js.map +0 -1
  262. package/esm/model/store/dateFilterConfigs/dateFilterConfigsState.d.ts.map +0 -1
  263. package/esm/model/store/dateFilterConfigs/dateFilterConfigsState.js +0 -4
  264. package/esm/model/store/dateFilterConfigs/dateFilterConfigsState.js.map +0 -1
  265. package/esm/model/store/dateFilterConfigs/index.d.ts +0 -10
  266. package/esm/model/store/dateFilterConfigs/index.d.ts.map +0 -1
  267. package/esm/model/store/dateFilterConfigs/index.js +0 -13
  268. package/esm/model/store/dateFilterConfigs/index.js.map +0 -1
  269. package/esm/model/store/filterContext/filterContextReducers.d.ts.map +0 -1
  270. package/esm/model/store/filterContext/filterContextReducers.js.map +0 -1
  271. package/esm/model/store/filterContext/filterContextSelectors.d.ts.map +0 -1
  272. package/esm/model/store/filterContext/filterContextSelectors.js.map +0 -1
  273. package/esm/model/store/filterContext/filterContextState.d.ts.map +0 -1
  274. package/esm/model/store/filterContext/filterContextState.js.map +0 -1
  275. package/esm/model/store/filterContext/filterContextUtils.d.ts +0 -14
  276. package/esm/model/store/filterContext/filterContextUtils.d.ts.map +0 -1
  277. package/esm/model/store/filterContext/filterContextUtils.js.map +0 -1
  278. package/esm/model/store/filterContext/index.d.ts +0 -36
  279. package/esm/model/store/filterContext/index.d.ts.map +0 -1
  280. package/esm/model/store/filterContext/index.js +0 -13
  281. package/esm/model/store/filterContext/index.js.map +0 -1
  282. /package/esm/model/store/{dateFilterConfig → tabs/dateFilterConfig}/dateFilterConfigState.js +0 -0
  283. /package/esm/model/store/{dateFilterConfigs → tabs/dateFilterConfigs}/dateFilterConfigsState.d.ts +0 -0
  284. /package/esm/model/store/{filterContext → tabs/filterContext}/filterContextState.d.ts +0 -0
  285. /package/esm/model/store/{filterContext → tabs/filterContext}/filterContextState.js +0 -0
@@ -25,6 +25,7 @@ import { DashboardAttributeFilterSelectionMode } from '@gooddata/sdk-model';
25
25
  import { DashboardDateFilterConfigMode } from '@gooddata/sdk-model';
26
26
  import { DashboardFiltersApplyMode } from '@gooddata/sdk-model';
27
27
  import { DataViewFacade } from '@gooddata/sdk-ui';
28
+ import { DateAttributeGranularity } from '@gooddata/sdk-model';
28
29
  import { DateFilterGranularity } from '@gooddata/sdk-model';
29
30
  import { DateFilterType } from '@gooddata/sdk-model';
30
31
  import { DateString } from '@gooddata/sdk-model';
@@ -86,7 +87,6 @@ import { IDashboardLayoutSizeByScreenSize } from '@gooddata/sdk-model';
86
87
  import { IDashboardObjectIdentity } from '@gooddata/sdk-model';
87
88
  import { IDashboardPermissions } from '@gooddata/sdk-model';
88
89
  import { IDashboardReferences } from '@gooddata/sdk-backend-spi';
89
- import { IDashboardTab } from '@gooddata/sdk-model';
90
90
  import { IDashboardWidget } from '@gooddata/sdk-model';
91
91
  import { IDataView } from '@gooddata/sdk-backend-spi';
92
92
  import { IDateFilter } from '@gooddata/sdk-model';
@@ -6437,15 +6437,8 @@ export declare interface DashboardState {
6437
6437
  /** @beta */
6438
6438
  entitlements: EntitlementsState;
6439
6439
  permissions: PermissionsState;
6440
- filterContext: FilterContextState;
6441
6440
  /** @alpha */
6442
6441
  layout: LayoutState;
6443
- /** @beta */
6444
- dateFilterConfig: DateFilterConfigState;
6445
- /** @alpha */
6446
- attributeFilterConfigs: AttributeFilterConfigsState;
6447
- /** @alpha */
6448
- dateFilterConfigs: DateFilterConfigsState;
6449
6442
  /** @alpha */
6450
6443
  tabs: TabsState;
6451
6444
  catalog: CatalogState;
@@ -9138,6 +9131,20 @@ export declare interface IAddAttributeFilterButtonProps {
9138
9131
  onClick?: () => void;
9139
9132
  }
9140
9133
 
9134
+ /**
9135
+ * @internal
9136
+ */
9137
+ export declare interface IAddAttributeFilterPayload {
9138
+ readonly displayForm: ObjRef;
9139
+ readonly index: number;
9140
+ readonly parentFilters?: ReadonlyArray<IDashboardAttributeFilterParent>;
9141
+ readonly initialSelection?: IAttributeElements;
9142
+ readonly initialIsNegativeSelection?: boolean;
9143
+ readonly selectionMode?: DashboardAttributeFilterSelectionMode;
9144
+ readonly localIdentifier?: string;
9145
+ readonly title?: string;
9146
+ }
9147
+
9141
9148
  /**
9142
9149
  * @internal
9143
9150
  */
@@ -9346,6 +9353,13 @@ export declare interface IAlertingManagementDialogProps {
9346
9353
  onPauseError: (error: GoodDataSdkError, pause: boolean) => void;
9347
9354
  }
9348
9355
 
9356
+ /**
9357
+ * @internal
9358
+ */
9359
+ export declare interface IApplyWorkingSelectionPayload {
9360
+ readonly enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean;
9361
+ }
9362
+
9349
9363
  /**
9350
9364
  * @internal
9351
9365
  */
@@ -9470,6 +9484,48 @@ export declare interface ICancelEditDialogProps {
9470
9484
  onSubmit: () => void;
9471
9485
  }
9472
9486
 
9487
+ /**
9488
+ * @internal
9489
+ */
9490
+ export declare interface IChangeAttributeDisplayFormPayload {
9491
+ readonly filterLocalId: string;
9492
+ readonly displayForm: ObjRef;
9493
+ readonly isWorkingSelectionChange?: boolean;
9494
+ readonly enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean;
9495
+ readonly isResultOfMigration?: boolean;
9496
+ }
9497
+
9498
+ /**
9499
+ * @internal
9500
+ */
9501
+ export declare interface IChangeAttributeLimitingItemsPayload {
9502
+ readonly filterLocalId: string;
9503
+ readonly limitingItems: ObjRef[];
9504
+ }
9505
+
9506
+ /**
9507
+ * @internal
9508
+ */
9509
+ export declare interface IChangeAttributeSelectionModePayload {
9510
+ readonly filterLocalId: string;
9511
+ readonly selectionMode: DashboardAttributeFilterSelectionMode;
9512
+ }
9513
+
9514
+ /**
9515
+ * @internal
9516
+ */
9517
+ export declare interface IChangeAttributeTitlePayload {
9518
+ readonly filterLocalId: string;
9519
+ readonly title?: string;
9520
+ }
9521
+
9522
+ /**
9523
+ * @internal
9524
+ */
9525
+ export declare interface IClearAttributeFiltersSelectionPayload {
9526
+ readonly filterLocalIds: string[];
9527
+ }
9528
+
9473
9529
  /**
9474
9530
  * @internal
9475
9531
  */
@@ -12862,6 +12918,22 @@ export declare interface IMetricsAndFacts {
12862
12918
  facts: ICatalogFact[];
12863
12919
  }
12864
12920
 
12921
+ /**
12922
+ * @internal
12923
+ */
12924
+ export declare interface IMoveAttributeFilterPayload {
12925
+ readonly filterLocalId: string;
12926
+ readonly index: number;
12927
+ }
12928
+
12929
+ /**
12930
+ * @internal
12931
+ */
12932
+ export declare interface IMoveDateFilterPayload {
12933
+ readonly dataSet: ObjRef;
12934
+ readonly index: number;
12935
+ }
12936
+
12865
12937
  /**
12866
12938
  * @alpha
12867
12939
  */
@@ -13311,6 +13383,20 @@ export declare interface IPdfExportConfig {
13311
13383
  title?: string;
13312
13384
  }
13313
13385
 
13386
+ /**
13387
+ * @internal
13388
+ */
13389
+ export declare interface IRemoveAttributeFilterPayload {
13390
+ readonly filterLocalId: string;
13391
+ }
13392
+
13393
+ /**
13394
+ * @internal
13395
+ */
13396
+ export declare interface IRemoveDateFilterPayload {
13397
+ readonly dataSet: ObjRef;
13398
+ }
13399
+
13314
13400
  /**
13315
13401
  * @alpha
13316
13402
  */
@@ -14842,6 +14928,22 @@ export declare function isDrillDownDefinition(obj: unknown): obj is IDrillDownDe
14842
14928
  */
14843
14929
  export declare const isDrillTargetsAdded: (obj: unknown) => obj is DrillTargetsAdded;
14844
14930
 
14931
+ /**
14932
+ * @internal
14933
+ */
14934
+ export declare interface ISetAttributeFilterDependentDateFiltersPayload {
14935
+ readonly filterLocalId: string;
14936
+ readonly dependentDateFilters: ReadonlyArray<IDashboardAttributeFilterByDate>;
14937
+ }
14938
+
14939
+ /**
14940
+ * @internal
14941
+ */
14942
+ export declare interface ISetAttributeFilterParentsPayload {
14943
+ readonly filterLocalId: string;
14944
+ readonly parentFilters: ReadonlyArray<IDashboardAttributeFilterParent>;
14945
+ }
14946
+
14845
14947
  /**
14846
14948
  * @beta
14847
14949
  */
@@ -15392,6 +15494,48 @@ export declare interface ITopBarProps {
15392
15494
  DefaultTopBar: CustomTopBarComponent;
15393
15495
  }
15394
15496
 
15497
+ /**
15498
+ * @internal
15499
+ */
15500
+ export declare interface IUpdateAttributeFilterSelectionPayload {
15501
+ readonly filterLocalId: string;
15502
+ readonly elements: IAttributeElements;
15503
+ readonly negativeSelection: boolean;
15504
+ readonly isWorkingSelectionChange?: boolean;
15505
+ readonly enableImmediateAttributeFilterDisplayAsLabelMigration?: boolean;
15506
+ readonly isResultOfMigration?: boolean;
15507
+ readonly isSelectionInvalid?: boolean;
15508
+ }
15509
+
15510
+ /**
15511
+ * @internal
15512
+ */
15513
+ export declare interface IUpsertDateFilterAllTimePayload {
15514
+ readonly type: "allTime";
15515
+ readonly dataSet?: ObjRef;
15516
+ readonly isWorkingSelectionChange?: boolean;
15517
+ readonly localIdentifier?: string;
15518
+ }
15519
+
15520
+ /**
15521
+ * @internal
15522
+ */
15523
+ export declare interface IUpsertDateFilterNonAllTimePayload {
15524
+ readonly type: DateFilterType;
15525
+ readonly granularity: DateFilterGranularity;
15526
+ readonly dataSet?: ObjRef;
15527
+ readonly from?: DateString | number;
15528
+ readonly to?: DateString | number;
15529
+ readonly isWorkingSelectionChange?: boolean;
15530
+ readonly localIdentifier?: string;
15531
+ readonly boundedFilter?: IUpperBoundedFilter | ILowerBoundedFilter;
15532
+ }
15533
+
15534
+ /**
15535
+ * @internal
15536
+ */
15537
+ export declare type IUpsertDateFilterPayload = IUpsertDateFilterAllTimePayload | IUpsertDateFilterNonAllTimePayload;
15538
+
15395
15539
  /**
15396
15540
  * @internal
15397
15541
  */
@@ -15894,6 +16038,21 @@ export declare interface KeyDriverAnalysisPayload {
15894
16038
  readonly filters: FilterContextItem[];
15895
16039
  }
15896
16040
 
16041
+ /**
16042
+ * @internal
16043
+ */
16044
+ export declare const keyDriverAnalysisSupportedGranularities: DateAttributeGranularity[];
16045
+
16046
+ /**
16047
+ * @internal
16048
+ */
16049
+ export declare const keyDriverAnalysisSupportedStringGranularities: string[];
16050
+
16051
+ /**
16052
+ * @internal
16053
+ */
16054
+ export declare const keyDriverYearGranularity: string[];
16055
+
15897
16056
  /**
15898
16057
  * @internal
15899
16058
  */
@@ -19437,7 +19596,7 @@ export declare const selectActiveSectionIndex: DashboardSelector<number | undefi
19437
19596
  *
19438
19597
  * @alpha
19439
19598
  */
19440
- export declare const selectActiveTab: DashboardSelector<IDashboardTab<ExtendedDashboardWidget> | undefined>;
19599
+ export declare const selectActiveTab: DashboardSelector<TabState | undefined>;
19441
19600
 
19442
19601
  /**
19443
19602
  * Returns the identifier of the currently active tab.
@@ -21860,6 +22019,8 @@ export declare const selectPermissions: DashboardSelector<IWorkspacePermissions>
21860
22019
  export declare const selectPersistedDashboard: DashboardSelector<IDashboard | undefined>;
21861
22020
 
21862
22021
  /**
22022
+ * Selects persisted date filter config for the active tab (legacy selector).
22023
+ *
21863
22024
  * @internal
21864
22025
  */
21865
22026
  export declare const selectPersistedDashboardFilterContextDateFilterConfig: DashboardSelector<IDashboardDateFilterConfig_2 | undefined>;
@@ -21873,6 +22034,7 @@ export declare const selectPlatformEdition: DashboardSelector<PlatformEdition>;
21873
22034
 
21874
22035
  /**
21875
22036
  * Select preloaded attribute metadata objects with references for attribute filters.
22037
+ * Returns merged attributes from all filters across all tabs.
21876
22038
  *
21877
22039
  * @internal
21878
22040
  */
@@ -22084,14 +22246,14 @@ export declare const selectSupportsSingleSelectDependentFilters: DashboardSelect
22084
22246
  *
22085
22247
  * @alpha
22086
22248
  */
22087
- export declare const selectTabById: (tabId: string) => DashboardSelector<IDashboardTab<ExtendedDashboardWidget> | undefined>;
22249
+ export declare const selectTabById: (tabId: string) => DashboardSelector<TabState | undefined>;
22088
22250
 
22089
22251
  /**
22090
22252
  * Returns all tabs with their configurations.
22091
22253
  *
22092
22254
  * @alpha
22093
22255
  */
22094
- export declare const selectTabs: DashboardSelector<IDashboardTab<ExtendedDashboardWidget>[] | undefined>;
22256
+ export declare const selectTabs: DashboardSelector<TabState[] | undefined>;
22095
22257
 
22096
22258
  /**
22097
22259
  * Returns timezone
@@ -23064,34 +23226,198 @@ export declare interface SwitchDashboardTabPayload {
23064
23226
  export declare function switchToEditRenderMode(correlationId?: string): ChangeRenderMode;
23065
23227
 
23066
23228
  /**
23067
- * @alpha
23229
+ * @internal
23068
23230
  */
23069
23231
  export declare const tabsActions: CaseReducerActions< {
23070
- setTabs: (state: WritableDraft<TabsState>, action: {
23232
+ readonly setFilterContext: (state: WritableDraft<TabsState>, action: {
23071
23233
  payload: {
23072
- tabs?: IDashboardTab<ExtendedDashboardWidget>[];
23073
- activeTabId?: string;
23234
+ filterContextDefinition: IFilterContextDefinition;
23235
+ originalFilterContextDefinition?: IFilterContextDefinition;
23236
+ attributeFilterDisplayForms: IAttributeDisplayFormMetadataObject[];
23237
+ filterContextIdentity?: IDashboardObjectIdentity;
23238
+ };
23239
+ type: string;
23240
+ }) => void | TabsState | WritableDraft<TabsState>;
23241
+ readonly updateFilterContextIdentity: (state: WritableDraft<TabsState>, action: {
23242
+ payload: {
23243
+ filterContextIdentity?: IDashboardObjectIdentity;
23244
+ };
23245
+ type: string;
23246
+ }) => void | TabsState | WritableDraft<TabsState>;
23247
+ readonly removeAttributeFilterDisplayForms: (state: WritableDraft<TabsState>, action: {
23248
+ payload: ObjRef;
23249
+ type: string;
23250
+ }) => void | TabsState | WritableDraft<TabsState>;
23251
+ readonly addAttributeFilterDisplayForm: (state: WritableDraft<TabsState>, action: {
23252
+ payload: IAttributeDisplayFormMetadataObject;
23253
+ type: string;
23254
+ }) => void | TabsState | WritableDraft<TabsState>;
23255
+ readonly addAttributeFilter: (state: WritableDraft<TabsState>, action: {
23256
+ payload: IAddAttributeFilterPayload;
23257
+ type: string;
23258
+ }) => void | TabsState | WritableDraft<TabsState>;
23259
+ readonly removeAttributeFilter: (state: WritableDraft<TabsState>, action: {
23260
+ payload: IRemoveAttributeFilterPayload;
23261
+ type: string;
23262
+ }) => void | TabsState | WritableDraft<TabsState>;
23263
+ readonly moveAttributeFilter: (state: WritableDraft<TabsState>, action: {
23264
+ payload: IMoveAttributeFilterPayload;
23265
+ type: string;
23266
+ }) => void | TabsState | WritableDraft<TabsState>;
23267
+ readonly addDateFilter: (state: WritableDraft<TabsState>, action: {
23268
+ payload: AddDateFilterPayload;
23269
+ type: string;
23270
+ }) => void | TabsState | WritableDraft<TabsState>;
23271
+ readonly removeDateFilter: (state: WritableDraft<TabsState>, action: {
23272
+ payload: IRemoveDateFilterPayload;
23273
+ type: string;
23274
+ }) => void | TabsState | WritableDraft<TabsState>;
23275
+ readonly moveDateFilter: (state: WritableDraft<TabsState>, action: {
23276
+ payload: IMoveDateFilterPayload;
23277
+ type: string;
23278
+ }) => void | TabsState | WritableDraft<TabsState>;
23279
+ readonly updateAttributeFilterSelection: (state: WritableDraft<TabsState>, action: {
23280
+ payload: IUpdateAttributeFilterSelectionPayload;
23281
+ type: string;
23282
+ }) => void | TabsState | WritableDraft<TabsState>;
23283
+ readonly setAttributeFilterParents: (state: WritableDraft<TabsState>, action: {
23284
+ payload: ISetAttributeFilterParentsPayload;
23285
+ type: string;
23286
+ }) => void | TabsState | WritableDraft<TabsState>;
23287
+ readonly setAttributeFilterDependentDateFilters: (state: WritableDraft<TabsState>, action: {
23288
+ payload: ISetAttributeFilterDependentDateFiltersPayload;
23289
+ type: string;
23290
+ }) => void | TabsState | WritableDraft<TabsState>;
23291
+ readonly clearAttributeFiltersSelection: (state: WritableDraft<TabsState>, action: {
23292
+ payload: IClearAttributeFiltersSelectionPayload;
23293
+ type: string;
23294
+ }) => void | TabsState | WritableDraft<TabsState>;
23295
+ readonly upsertDateFilter: (state: WritableDraft<TabsState>, action: {
23296
+ payload: IUpsertDateFilterPayload;
23297
+ type: string;
23298
+ }) => void | TabsState | WritableDraft<TabsState>;
23299
+ readonly changeAttributeDisplayForm: (state: WritableDraft<TabsState>, action: {
23300
+ payload: IChangeAttributeDisplayFormPayload;
23301
+ type: string;
23302
+ }) => void | TabsState | WritableDraft<TabsState>;
23303
+ readonly changeAttributeTitle: (state: WritableDraft<TabsState>, action: {
23304
+ payload: IChangeAttributeTitlePayload;
23305
+ type: string;
23306
+ }) => void | TabsState | WritableDraft<TabsState>;
23307
+ readonly changeSelectionMode: (state: WritableDraft<TabsState>, action: {
23308
+ payload: IChangeAttributeSelectionModePayload;
23309
+ type: string;
23310
+ }) => void | TabsState | WritableDraft<TabsState>;
23311
+ readonly changeLimitingItems: (state: WritableDraft<TabsState>, action: {
23312
+ payload: IChangeAttributeLimitingItemsPayload;
23313
+ type: string;
23314
+ }) => void | TabsState | WritableDraft<TabsState>;
23315
+ readonly setPreloadedAttributesWithReferences: (state: WritableDraft<TabsState>, action: {
23316
+ payload: IAttributeWithReferences[];
23317
+ type: string;
23318
+ }) => void | TabsState | WritableDraft<TabsState>;
23319
+ readonly applyWorkingSelection: (state: WritableDraft<TabsState>, action: {
23320
+ payload: IApplyWorkingSelectionPayload;
23321
+ type: string;
23322
+ }) => void | TabsState | WritableDraft<TabsState>;
23323
+ readonly resetWorkingSelection: (state: WritableDraft<TabsState>, action: {
23324
+ payload: void;
23325
+ type: string;
23326
+ }) => void | TabsState | WritableDraft<TabsState>;
23327
+ readonly setDefaultFilterOverrides: (state: WritableDraft<TabsState>, action: {
23328
+ payload: FilterContextItem[];
23329
+ type: string;
23330
+ }) => void | TabsState | WritableDraft<TabsState>;
23331
+ readonly setDateFilterConfig: (state: WritableDraft<TabsState>, action: {
23332
+ payload: {
23333
+ dateFilterConfig?: IDashboardDateFilterConfig_2;
23334
+ effectiveDateFilterConfig: IDateFilterConfig;
23335
+ isUsingDashboardOverrides: boolean;
23074
23336
  };
23075
23337
  type: string;
23076
23338
  }) => void | TabsState | WritableDraft<TabsState>;
23077
- setActiveTabId: (state: WritableDraft<TabsState>, action: {
23339
+ readonly setDateFilterConfigMode: (state: WritableDraft<TabsState>, action: {
23340
+ payload: DashboardDateFilterConfigMode;
23341
+ type: string;
23342
+ }) => void | TabsState | WritableDraft<TabsState>;
23343
+ readonly setDateFilterConfigTitle: (state: WritableDraft<TabsState>, action: {
23078
23344
  payload: string | undefined;
23079
23345
  type: string;
23080
23346
  }) => void | TabsState | WritableDraft<TabsState>;
23081
- updateTab: (state: WritableDraft<TabsState>, action: {
23082
- payload: IDashboardTab<ExtendedDashboardWidget>;
23347
+ readonly updateDateFilterConfig: (state: WritableDraft<TabsState>, action: {
23348
+ payload: IDashboardDateFilterConfig_2;
23083
23349
  type: string;
23084
23350
  }) => void | TabsState | WritableDraft<TabsState>;
23085
- removeTabById: (state: WritableDraft<TabsState>, action: {
23086
- payload: string;
23351
+ readonly addDateFilterConfigValidationWarning: (state: WritableDraft<TabsState>, action: {
23352
+ payload: DateFilterValidationResult;
23087
23353
  type: string;
23088
23354
  }) => void | TabsState | WritableDraft<TabsState>;
23089
- clearTabs: (state: WritableDraft<TabsState>, action: {
23355
+ readonly clearDateFilterConfigValidationWarning: (state: WritableDraft<TabsState>, action: {
23090
23356
  payload: void;
23091
23357
  type: string;
23092
23358
  }) => void | TabsState | WritableDraft<TabsState>;
23359
+ readonly changeDateFilterConfigsMode: (state: WritableDraft<TabsState>, action: {
23360
+ payload: SetDashboardDateFilterWithDimensionConfigModePayload;
23361
+ type: string;
23362
+ }) => void | TabsState | WritableDraft<TabsState>;
23363
+ readonly setDateFilterConfigs: (state: WritableDraft<TabsState>, action: {
23364
+ payload: any;
23365
+ type: string;
23366
+ }) => void | TabsState | WritableDraft<TabsState>;
23367
+ readonly removeDateFilterConfigs: (state: WritableDraft<TabsState>, action: {
23368
+ payload: ObjRef;
23369
+ type: string;
23370
+ }) => void | TabsState | WritableDraft<TabsState>;
23371
+ readonly changeDateFilterConfigsTitle: (state: WritableDraft<TabsState>, action: {
23372
+ payload: SetDateFilterConfigTitlePayload;
23373
+ type: string;
23374
+ }) => void | TabsState | WritableDraft<TabsState>;
23375
+ readonly changeAttributeFilterConfigMode: (state: WritableDraft<TabsState>, action: {
23376
+ payload: SetDashboardAttributeFilterConfigModePayload;
23377
+ type: string;
23378
+ }) => void | TabsState | WritableDraft<TabsState>;
23379
+ readonly setAttributeFilterConfigs: (state: WritableDraft<TabsState>, action: {
23380
+ payload: any;
23381
+ type: string;
23382
+ }) => void | TabsState | WritableDraft<TabsState>;
23383
+ readonly removeAttributeFilterConfig: TabsReducer< {
23384
+ payload: string;
23385
+ type: string;
23386
+ }>;
23387
+ readonly changeDisplayAsLabel: (state: WritableDraft<TabsState>, action: {
23388
+ payload: SetDashboardAttributeFilterConfigDisplayAsLabelPayload;
23389
+ type: string;
23390
+ }) => void | TabsState | WritableDraft<TabsState>;
23391
+ readonly setTabs: TabsReducer< {
23392
+ payload: {
23393
+ tabs?: TabState[];
23394
+ activeTabId?: string;
23395
+ };
23396
+ type: string;
23397
+ }>;
23398
+ readonly setActiveTabId: TabsReducer< {
23399
+ payload: string | undefined;
23400
+ type: string;
23401
+ }>;
23402
+ readonly updateTab: TabsReducer< {
23403
+ payload: TabState;
23404
+ type: string;
23405
+ }>;
23406
+ readonly removeTabById: TabsReducer< {
23407
+ payload: string;
23408
+ type: string;
23409
+ }>;
23410
+ readonly clearTabs: TabsReducer< {
23411
+ payload: void;
23412
+ type: string;
23413
+ }>;
23093
23414
  }, "tabs">;
23094
23415
 
23416
+ /**
23417
+ * @alpha
23418
+ */
23419
+ export declare type TabsReducer<A extends Action> = CaseReducer<TabsState, A>;
23420
+
23095
23421
  /**
23096
23422
  * @alpha
23097
23423
  */
@@ -23099,11 +23425,28 @@ export declare interface TabsState {
23099
23425
  /**
23100
23426
  * Array of tabs with their configurations.
23101
23427
  */
23102
- tabs?: IDashboardTab<ExtendedDashboardWidget>[];
23428
+ tabs?: TabState[];
23103
23429
  /**
23104
23430
  * Identifier of the currently active tab.
23105
23431
  */
23106
23432
  activeTabId?: string;
23433
+ /**
23434
+ * Attribute metadata objects with referenced objects for all attribute filters across all tabs.
23435
+ * @beta
23436
+ */
23437
+ attributesWithReferences?: IAttributeWithReferences[];
23438
+ }
23439
+
23440
+ /**
23441
+ * @alpha
23442
+ */
23443
+ export declare interface TabState {
23444
+ title?: string;
23445
+ identifier: string;
23446
+ dateFilterConfig?: DateFilterConfigState;
23447
+ dateFilterConfigs?: DateFilterConfigsState;
23448
+ attributeFilterConfigs?: AttributeFilterConfigsState;
23449
+ filterContext?: FilterContextState;
23107
23450
  }
23108
23451
 
23109
23452
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-dashboard",
3
- "version": "11.9.0",
3
+ "version": "11.10.0-alpha.1",
4
4
  "description": "GoodData SDK - Dashboard Component",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,19 +60,19 @@
60
60
  "ts-invariant": "^0.7.5",
61
61
  "tslib": "2.8.1",
62
62
  "uuid": "^11.1.0",
63
- "@gooddata/sdk-backend-base": "11.9.0",
64
- "@gooddata/sdk-backend-spi": "11.9.0",
65
- "@gooddata/sdk-ui": "11.9.0",
66
- "@gooddata/sdk-model": "11.9.0",
67
- "@gooddata/sdk-ui-charts": "11.9.0",
68
- "@gooddata/sdk-ui-ext": "11.9.0",
69
- "@gooddata/sdk-ui-geo": "11.9.0",
70
- "@gooddata/sdk-ui-filters": "11.9.0",
71
- "@gooddata/sdk-ui-pivot": "11.9.0",
72
- "@gooddata/sdk-ui-theme-provider": "11.9.0",
73
- "@gooddata/sdk-ui-kit": "11.9.0",
74
- "@gooddata/util": "11.9.0",
75
- "@gooddata/sdk-ui-vis-commons": "11.9.0"
63
+ "@gooddata/sdk-backend-base": "11.10.0-alpha.1",
64
+ "@gooddata/sdk-model": "11.10.0-alpha.1",
65
+ "@gooddata/sdk-ui": "11.10.0-alpha.1",
66
+ "@gooddata/sdk-backend-spi": "11.10.0-alpha.1",
67
+ "@gooddata/sdk-ui-charts": "11.10.0-alpha.1",
68
+ "@gooddata/sdk-ui-ext": "11.10.0-alpha.1",
69
+ "@gooddata/sdk-ui-filters": "11.10.0-alpha.1",
70
+ "@gooddata/sdk-ui-geo": "11.10.0-alpha.1",
71
+ "@gooddata/sdk-ui-kit": "11.10.0-alpha.1",
72
+ "@gooddata/sdk-ui-vis-commons": "11.10.0-alpha.1",
73
+ "@gooddata/sdk-ui-theme-provider": "11.10.0-alpha.1",
74
+ "@gooddata/util": "11.10.0-alpha.1",
75
+ "@gooddata/sdk-ui-pivot": "11.10.0-alpha.1"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@microsoft/api-documenter": "^7.17.0",
@@ -118,10 +118,10 @@
118
118
  "typescript": "5.8.3",
119
119
  "vitest": "3.2.4",
120
120
  "vitest-dom": "0.1.1",
121
- "@gooddata/eslint-config": "11.9.0",
122
- "@gooddata/i18n-toolkit": "11.9.0",
123
- "@gooddata/reference-workspace": "11.9.0",
124
- "@gooddata/sdk-backend-mockingbird": "11.9.0"
121
+ "@gooddata/eslint-config": "11.10.0-alpha.1",
122
+ "@gooddata/i18n-toolkit": "11.10.0-alpha.1",
123
+ "@gooddata/reference-workspace": "11.10.0-alpha.1",
124
+ "@gooddata/sdk-backend-mockingbird": "11.10.0-alpha.1"
125
125
  },
126
126
  "peerDependencies": {
127
127
  "react": "^18.0.0 || ^19.0.0",
@@ -6402,7 +6402,7 @@ input[type=search]::-webkit-search-cancel-button {
6402
6402
  left: 9px;
6403
6403
  width: 7px;
6404
6404
  height: 26px;
6405
- background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat;
6405
+ background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;
6406
6406
  opacity: 0;
6407
6407
  }
6408
6408
 
@@ -7108,7 +7108,7 @@ div.gd-empty-item-bubble {
7108
7108
  left: -4px;
7109
7109
  width: 7px;
7110
7110
  height: 26px;
7111
- background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat;
7111
+ background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;
7112
7112
  opacity: 0;
7113
7113
  }
7114
7114
 
@@ -12000,7 +12000,7 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
12000
12000
  left: -4px;
12001
12001
  width: 7px;
12002
12002
  height: 26px;
12003
- background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat;
12003
+ background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;
12004
12004
  opacity: 0;
12005
12005
  }
12006
12006
 
@@ -12036,7 +12036,7 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
12036
12036
  left: -4px;
12037
12037
  width: 7px;
12038
12038
  height: 26px;
12039
- background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat;
12039
+ background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;
12040
12040
  opacity: 0;
12041
12041
  }
12042
12042
 
@@ -17571,7 +17571,7 @@ a.gd-button-link:hover .gd-button-text, a.gd-button-link-dimmed:hover .gd-button
17571
17571
  left: 9px;
17572
17572
  width: 7px;
17573
17573
  height: 26px;
17574
- background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E%0A") no-repeat;
17574
+ background: url("data:image/svg+xml,%3Csvg width='7' height='26' viewBox='0 0 7 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4h2v2H0V4zm0-4h2v2H0V0zm5 4h2v2H5V4zm0-4h2v2H5V0zm0 8h2v2H5V8zM0 8h2v2H0V8zm0 4h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5 4h2v2H5v-2zm-5 0h2v2H0v-2zm5-12h2v2H5v-2z' fill='%23B0BECA' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat;
17575
17575
  opacity: 0;
17576
17576
  }
17577
17577
 
@@ -1 +0,0 @@
1
- {"version":3,"file":"attributeFilterConfigsReducers.d.ts","sourceRoot":"","sources":["../../../../src/model/store/attributeFilterConfigs/attributeFilterConfigsReducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EACH,sDAAsD,EACtD,4CAA4C,EAC/C,MAAM,sCAAsC,CAAC;AAE9C,KAAK,4BAA4B,CAAC,CAAC,SAAS,MAAM,IAAI,WAAW,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAuDlG,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;CAK1C,CAAC"}
@@ -1,43 +0,0 @@
1
- // (C) 2023-2024 GoodData Corporation
2
- /**
3
- * Changes the config mode for the filter given by its local identifier.
4
- */
5
- const changeMode = (state, action) => {
6
- const { localIdentifier } = action.payload;
7
- const effectiveFilter = state.attributeFilterConfigs?.find((item) => item.localIdentifier === localIdentifier);
8
- if (effectiveFilter) {
9
- effectiveFilter.mode = action.payload.mode;
10
- state.attributeFilterConfigs = [...(state.attributeFilterConfigs ?? [])];
11
- }
12
- else {
13
- state.attributeFilterConfigs = [...(state.attributeFilterConfigs || []), action.payload];
14
- }
15
- };
16
- /**
17
- * Changes the config mode for the filter given by its local identifier.
18
- */
19
- const changeDisplayAsLabel = (state, action) => {
20
- const { localIdentifier, displayAsLabel } = action.payload;
21
- const existingConfig = state.attributeFilterConfigs?.find((item) => item.localIdentifier === localIdentifier);
22
- if (existingConfig) {
23
- existingConfig.displayAsLabel = displayAsLabel;
24
- state.attributeFilterConfigs = [...(state.attributeFilterConfigs ?? [])];
25
- }
26
- else {
27
- state.attributeFilterConfigs = [...(state.attributeFilterConfigs || []), action.payload];
28
- }
29
- };
30
- const setAttributeFilterConfigs = (state, action) => {
31
- const { attributeFilterConfigs } = action.payload;
32
- state.attributeFilterConfigs = attributeFilterConfigs;
33
- };
34
- const removeAttributeFilterConfig = (state, action) => {
35
- state.attributeFilterConfigs = state.attributeFilterConfigs?.filter((attributeFilterConfig) => attributeFilterConfig.localIdentifier !== action.payload);
36
- };
37
- export const attributeFilterConfigsReducers = {
38
- changeMode,
39
- setAttributeFilterConfigs,
40
- removeAttributeFilterConfig,
41
- changeDisplayAsLabel,
42
- };
43
- //# sourceMappingURL=attributeFilterConfigsReducers.js.map