@gooddata/sdk-ui-dashboard 11.70.0-alpha.3 → 11.70.0-alpha.5

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 (313) hide show
  1. package/NOTICE +49 -49
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts +1 -0
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +16 -5
  7. package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +9 -3
  8. package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -1
  9. package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +22 -13
  10. package/esm/_staging/dashboard/dashboardFilterContext.d.ts.map +1 -1
  11. package/esm/_staging/dashboard/dashboardFilterContext.js +11 -1
  12. package/esm/_staging/dashboard/dashboardFilterContextValidation.d.ts.map +1 -1
  13. package/esm/_staging/dashboard/dashboardFilterContextValidation.js +9 -9
  14. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +3 -3
  15. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
  16. package/esm/_staging/dashboard/dashboardFilterConverter.js +14 -2
  17. package/esm/_staging/dashboard/parameterizedDateFilters.d.ts +9 -0
  18. package/esm/_staging/dashboard/parameterizedDateFilters.d.ts.map +1 -1
  19. package/esm/_staging/dashboard/parameterizedDateFilters.js +27 -0
  20. package/esm/_staging/exportUtils/filterUtils.d.ts.map +1 -1
  21. package/esm/_staging/exportUtils/filterUtils.js +5 -3
  22. package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
  23. package/esm/_staging/sharedHooks/useFiltersNamings.js +9 -7
  24. package/esm/index.d.ts +8 -8
  25. package/esm/index.d.ts.map +1 -1
  26. package/esm/index.js +5 -5
  27. package/esm/kdaDialog/dialog/KdaDialog.d.ts.map +1 -1
  28. package/esm/kdaDialog/dialog/KdaDialog.js +15 -11
  29. package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts +17 -0
  30. package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts.map +1 -1
  31. package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.js +44 -2
  32. package/esm/model/DashboardTester.d.ts.map +1 -1
  33. package/esm/model/DashboardTester.js +0 -2
  34. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts +2 -0
  35. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
  36. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +6 -1
  37. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
  38. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +7 -3
  39. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.d.ts.map +1 -1
  40. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js +9 -4
  41. package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
  42. package/esm/model/commandHandlers/dashboard/common/filterViews.js +23 -11
  43. package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.d.ts.map +1 -1
  44. package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.js +7 -8
  45. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  46. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +6 -3
  47. package/esm/model/commandHandlers/drill/common/sourceDrillFilters.js +2 -2
  48. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  49. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +18 -6
  50. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
  51. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js +3 -5
  52. package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.d.ts.map +1 -1
  53. package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.js +3 -5
  54. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  55. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -5
  56. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  57. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +21 -42
  58. package/esm/model/commandHandlers/filterContext/common.d.ts +2 -2
  59. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  60. package/esm/model/commandHandlers/filterContext/common.js +16 -1
  61. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts +2 -1
  62. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  63. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +56 -34
  64. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  65. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +8 -3
  66. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts +8 -0
  67. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -1
  68. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +42 -9
  69. package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.d.ts.map +1 -1
  70. package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.js +2 -1
  71. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  72. package/esm/model/commandHandlers/index.js +6 -1
  73. package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.d.ts.map +1 -1
  74. package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.js +3 -1
  75. package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts +6 -0
  76. package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts.map +1 -0
  77. package/esm/model/commandHandlers/parameters/addParametersHandler.js +43 -0
  78. package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts +6 -0
  79. package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts.map +1 -0
  80. package/esm/model/commandHandlers/parameters/removeParametersHandler.js +29 -0
  81. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  82. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +10 -4
  83. package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -1
  84. package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +3 -1
  85. package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.d.ts.map +1 -1
  86. package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.js +2 -0
  87. package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.d.ts.map +1 -1
  88. package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.js +2 -0
  89. package/esm/model/commands/base.d.ts +1 -1
  90. package/esm/model/commands/base.d.ts.map +1 -1
  91. package/esm/model/commands/filters.d.ts +88 -4
  92. package/esm/model/commands/filters.d.ts.map +1 -1
  93. package/esm/model/commands/filters.js +33 -21
  94. package/esm/model/commands/index.d.ts +3 -3
  95. package/esm/model/commands/index.d.ts.map +1 -1
  96. package/esm/model/commands/parameters.d.ts +78 -1
  97. package/esm/model/commands/parameters.d.ts.map +1 -1
  98. package/esm/model/commands/parameters.js +47 -0
  99. package/esm/model/events/base.d.ts +1 -1
  100. package/esm/model/events/base.d.ts.map +1 -1
  101. package/esm/model/events/filters.d.ts +70 -1
  102. package/esm/model/events/filters.d.ts.map +1 -1
  103. package/esm/model/events/filters.js +36 -0
  104. package/esm/model/events/index.d.ts +3 -3
  105. package/esm/model/events/index.d.ts.map +1 -1
  106. package/esm/model/events/parameters.d.ts +43 -1
  107. package/esm/model/events/parameters.d.ts.map +1 -1
  108. package/esm/model/events/parameters.js +26 -0
  109. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map +1 -1
  110. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js +5 -0
  111. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.d.ts.map +1 -1
  112. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.js +5 -0
  113. package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
  114. package/esm/model/react/useInitializeDashboardStore.js +0 -2
  115. package/esm/model/react/useWidgetFilters.d.ts.map +1 -1
  116. package/esm/model/react/useWidgetFilters.js +5 -2
  117. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
  118. package/esm/model/store/filtering/dashboardFilterSelectors.js +10 -2
  119. package/esm/model/store/meta/metaSelectors.js +3 -3
  120. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +31 -2
  121. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  122. package/esm/model/store/tabs/filterContext/filterContextReducers.js +66 -12
  123. package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts +29 -3
  124. package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
  125. package/esm/model/store/tabs/filterContext/filterContextSelectors.js +29 -3
  126. package/esm/model/store/tabs/filterContext/filterContextState.d.ts +2 -2
  127. package/esm/model/store/tabs/filterContext/filterContextState.d.ts.map +1 -1
  128. package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
  129. package/esm/model/store/tabs/filterContext/filterContextUtils.js +80 -24
  130. package/esm/model/store/tabs/filterContext/filterSync.d.ts +7 -1
  131. package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
  132. package/esm/model/store/tabs/filterContext/filterSync.js +58 -21
  133. package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
  134. package/esm/model/utils/widgetFilters.js +2 -2
  135. package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
  136. package/esm/plugins/customizationApis/customizationBuilder.js +3 -1
  137. package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts +4 -3
  138. package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts.map +1 -1
  139. package/esm/plugins/customizationApis/dateFiltersCustomizer.js +23 -41
  140. package/esm/plugins/customizer.d.ts +16 -1
  141. package/esm/plugins/customizer.d.ts.map +1 -1
  142. package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
  143. package/esm/presentation/automations/connectors/AlertingConnector.js +14 -1
  144. package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
  145. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +14 -1
  146. package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts +8 -0
  147. package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts.map +1 -0
  148. package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.js +16 -0
  149. package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts +13 -0
  150. package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts.map +1 -0
  151. package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.js +29 -0
  152. package/esm/presentation/automations/shared/exportUtils/filterUtils.d.ts.map +1 -1
  153. package/esm/presentation/automations/shared/exportUtils/filterUtils.js +4 -2
  154. package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
  155. package/esm/presentation/automations/shared/utils/automationUtils.js +10 -4
  156. package/esm/presentation/componentDefinition/types.d.ts +3 -3
  157. package/esm/presentation/componentDefinition/types.d.ts.map +1 -1
  158. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.d.ts.map +1 -1
  159. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js +56 -20
  160. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  161. package/esm/presentation/dashboard/components/DashboardRenderer.js +1 -1
  162. package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -2
  163. package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
  164. package/esm/presentation/dashboard/hooks/useDashboard.js +8 -3
  165. package/esm/presentation/dashboard/types.d.ts +12 -1
  166. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  167. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -2
  168. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  169. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -1
  170. package/esm/presentation/dashboardContexts/types.d.ts +13 -2
  171. package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
  172. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +4 -4
  173. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
  174. package/esm/presentation/dragAndDrop/useFilterDeleteDrop.d.ts.map +1 -1
  175. package/esm/presentation/dragAndDrop/useFilterDeleteDrop.js +6 -4
  176. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
  177. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +10 -2
  178. package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts.map +1 -1
  179. package/esm/presentation/drill/DrillSelect/WithDrillSelect.js +15 -7
  180. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
  181. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +62 -6
  182. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  183. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +3 -2
  184. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts +2 -2
  185. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
  186. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +30 -14
  187. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts +2 -2
  188. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts.map +1 -1
  189. package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts +7 -0
  190. package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts.map +1 -0
  191. package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.js +40 -0
  192. package/esm/presentation/filterBar/dateFilter/types.d.ts +43 -1
  193. package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
  194. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  195. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +13 -5
  196. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  197. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +3 -1
  198. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +2 -2
  199. package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.d.ts.map +1 -1
  200. package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.js +1 -1
  201. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
  202. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +21 -3
  203. package/esm/presentation/filterBar/filterBar/types.d.ts +3 -3
  204. package/esm/presentation/filterBar/filterBar/types.d.ts.map +1 -1
  205. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts +3 -3
  206. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
  207. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
  208. package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.d.ts.map +1 -1
  209. package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.js +11 -13
  210. package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -1
  211. package/esm/presentation/insightEditor/filterContext/dateFilters.js +2 -1
  212. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +2 -0
  213. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  214. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +2 -0
  215. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +2 -0
  216. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  217. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +2 -0
  218. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +2 -0
  219. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  220. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +2 -0
  221. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +52 -0
  222. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  223. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +52 -0
  224. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +2 -0
  225. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  226. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +2 -0
  227. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
  228. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  229. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +2 -0
  230. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +2 -0
  231. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  232. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +2 -0
  233. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +2 -0
  234. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  235. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +2 -0
  236. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +2 -0
  237. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  238. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +2 -0
  239. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +2 -0
  240. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  241. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +2 -0
  242. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +2 -0
  243. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  244. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +2 -0
  245. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +2 -0
  246. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  247. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +2 -0
  248. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +2 -0
  249. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  250. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +2 -0
  251. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +2 -0
  252. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  253. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -0
  254. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +2 -0
  255. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  256. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +2 -0
  257. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +2 -0
  258. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  259. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -0
  260. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +2 -0
  261. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  262. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +2 -0
  263. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +2 -0
  264. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  265. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -0
  266. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +2 -0
  267. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  268. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +2 -0
  269. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +2 -0
  270. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  271. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +2 -0
  272. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +2 -0
  273. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  274. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -0
  275. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +2 -0
  276. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  277. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +2 -0
  278. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +2 -0
  279. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  280. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +2 -0
  281. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +2 -0
  282. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  283. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +3 -1
  284. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +2 -0
  285. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  286. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +2 -0
  287. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +2 -0
  288. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  289. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +2 -0
  290. package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
  291. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +33 -6
  292. package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.d.ts.map +1 -1
  293. package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.js +2 -2
  294. package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
  295. package/esm/presentation/widget/description/DescriptionClickTrigger.js +19 -3
  296. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
  297. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +19 -1
  298. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
  299. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +12 -5
  300. package/esm/sdk-ui-dashboard.d.ts +451 -16
  301. package/package.json +23 -23
  302. package/styles/css/filterBar.css +5 -0
  303. package/styles/css/filterBar.css.map +1 -1
  304. package/styles/css/main.css +6 -3
  305. package/styles/css/main.css.map +1 -1
  306. package/styles/css/timezoneIndicator.css +1 -3
  307. package/styles/css/timezoneIndicator.css.map +1 -1
  308. package/styles/scss/filterBar.scss +4 -0
  309. package/styles/scss/timezoneIndicator.scss +1 -3
  310. package/esm/assets/timezone.svg +0 -1
  311. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts +0 -3
  312. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts.map +0 -1
  313. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.js +0 -26
@@ -1,5 +1,8 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isAllTimeDashboardDateFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, isNoopAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
2
+ import { NotSupported } from "@gooddata/sdk-backend-spi";
3
+ import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, dashboardFilterLocalIdentifier, isAllTimeDashboardDateFilter, isDashboardAbsoluteGranularityDateFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilterOfAnyType, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, isDashboardParameterizedDateFilter, isNoopAllTimeDashboardDateFilter, } from "@gooddata/sdk-model";
4
+ import { PARAMETERIZED_DATE_FILTER_NOT_SUPPORTED } from "../../../../_staging/dashboard/parameterizedDateFilters.js";
5
+ import { upsertDateFilterPayloadDataSet, } from "../../../store/tabs/filterContext/filterContextReducers.js";
3
6
  import { applyMirroredFilterValue, findAppliedFilterForStaged, findCounterpartFilter, findOriginalFilter, isCrossFilteringVirtualFilter, retargetAttributeFilterItem, targetAcceptsAttributeFilterValue, } from "../../../store/tabs/filterContext/filterSync.js";
4
7
  import { tabsActions } from "../../../store/tabs/index.js";
5
8
  import { isDisplayFormMetadataReferencedBy } from "../../../utils/attributeFilterMatching.js";
@@ -130,9 +133,30 @@ function findMeasureValueCounterpart(ctx, target, sourceLocalId) {
130
133
  return isDashboardMeasureValueFilter(counterpart) ? counterpart : undefined;
131
134
  }
132
135
  function findAppliedDateFilter(tab, dataSet) {
133
- return dataSet ? findDimensionDateFilter(tab, dataSet) : filtersOf(tab).find(isDashboardCommonDateFilter);
136
+ return dataSet
137
+ ? findDimensionDateFilter(tab, dataSet)
138
+ : filtersOf(tab).find(isDashboardCommonDateFilterOfAnyType);
134
139
  }
135
- function toUpsertDateFilterPayload(filter) {
140
+ /**
141
+ * The upsert payload that writes the date filter.
142
+ *
143
+ * @internal
144
+ */
145
+ export function toUpsertDateFilterPayload(filter) {
146
+ if (isDashboardParameterizedDateFilter(filter)) {
147
+ throw new NotSupported(PARAMETERIZED_DATE_FILTER_NOT_SUPPORTED);
148
+ }
149
+ if (isDashboardAbsoluteGranularityDateFilter(filter)) {
150
+ const { granularity, from, to, localIdentifier, emptyValueHandling } = filter.dashboardAbsoluteGranularityDateFilter;
151
+ return {
152
+ type: "absoluteGranularity",
153
+ granularity,
154
+ from,
155
+ to,
156
+ ...(localIdentifier ? { localIdentifier } : {}),
157
+ ...(emptyValueHandling ? { emptyValueHandling } : {}),
158
+ };
159
+ }
136
160
  const { dataSet, localIdentifier, emptyValueHandling, boundedFilter, type, granularity, from, to } = filter.dateFilter;
137
161
  const shared = {
138
162
  ...(dataSet ? { dataSet } : {}),
@@ -159,7 +183,7 @@ function savedDateFilterPayload(target, applied, dataSet) {
159
183
  const original = findOriginalFilter(target, applied ?? {
160
184
  dateFilter: { type: "relative", granularity: "GDC.time.date" },
161
185
  });
162
- if (isDashboardDateFilter(original)) {
186
+ if (isDashboardDateFilterOfAnyType(original)) {
163
187
  return toUpsertDateFilterPayload(original);
164
188
  }
165
189
  return dataSet ? undefined : { type: "allTime" };
@@ -192,9 +216,17 @@ function committedFilterValues(ctx, target) {
192
216
  }
193
217
  // A tab without a common date filter is all time, so it receives the committed value
194
218
  // without the local identifier of the source.
195
- if (!isDashboardCommonDateFilter(committed) || isNoopAllTimeDashboardDateFilter(committed)) {
219
+ if (!isDashboardCommonDateFilterOfAnyType(committed) || isNoopAllTimeDashboardDateFilter(committed)) {
196
220
  return [];
197
221
  }
222
+ if (isDashboardAbsoluteGranularityDateFilter(committed)) {
223
+ const { localIdentifier: _sourceLocalIdentifier, ...dateFilter } = committed.dashboardAbsoluteGranularityDateFilter;
224
+ return [{ dashboardAbsoluteGranularityDateFilter: dateFilter }];
225
+ }
226
+ if (isDashboardParameterizedDateFilter(committed)) {
227
+ const { localIdentifier: _sourceLocalIdentifier, ...dateFilter } = committed.dashboardParameterizedDateFilter;
228
+ return [{ dashboardParameterizedDateFilter: dateFilter }];
229
+ }
198
230
  const { localIdentifier: _sourceLocalIdentifier, ...dateFilter } = committed.dateFilter;
199
231
  return [{ dateFilter }];
200
232
  });
@@ -379,13 +411,14 @@ const selectionRules = [
379
411
  if (payload.isWorkingSelectionChange || !target.filterContext?.filterContextDefinition) {
380
412
  return undefined;
381
413
  }
382
- const counterpart = findAppliedDateFilter(target, payload.dataSet);
414
+ const dataSet = upsertDateFilterPayloadDataSet(payload);
415
+ const counterpart = findAppliedDateFilter(target, dataSet);
383
416
  // A common date filter always has a counterpart: all time is stored as its absence.
384
- if (!counterpart && payload.dataSet) {
417
+ if (!counterpart && dataSet) {
385
418
  return undefined;
386
419
  }
387
420
  const value = payload.restoreTargetOriginal
388
- ? savedDateFilterPayload(target, counterpart, payload.dataSet)
421
+ ? savedDateFilterPayload(target, counterpart, dataSet)
389
422
  : payload;
390
423
  if (!value) {
391
424
  return undefined;
@@ -394,7 +427,7 @@ const selectionRules = [
394
427
  const ownValue = payload.restoreTargetOriginal ? value.localIdentifier : undefined;
395
428
  return {
396
429
  ...value,
397
- localIdentifier: counterpart?.dateFilter.localIdentifier ?? ownValue,
430
+ localIdentifier: (counterpart && dashboardFilterLocalIdentifier(counterpart)) ?? ownValue,
398
431
  };
399
432
  }),
400
433
  defineRule(tabsActions.changeMeasureValueFilterCondition, (payload, target, ctx) => {
@@ -1 +1 @@
1
- {"version":3,"file":"writtenTargets.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/tabSync/writtenTargets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAErG,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAMlG;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,kBAAkB,EAAE,CA8CjF;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,qBAAqB,EAAE,CAgBvF"}
1
+ {"version":3,"file":"writtenTargets.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/tabSync/writtenTargets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK/C,OAAO,EACH,KAAK,kBAAkB,EAE1B,MAAM,4DAA4D,CAAC;AAEpE,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAMlG;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,kBAAkB,EAAE,CA8CjF;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,qBAAqB,EAAE,CAgBvF"}
@@ -1,6 +1,7 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { BATCH } from "redux-batched-actions";
3
3
  import { areObjRefsEqual } from "@gooddata/sdk-model";
4
+ import { upsertDateFilterPayloadDataSet, } from "../../../store/tabs/filterContext/filterContextReducers.js";
4
5
  import { tabsActions } from "../../../store/tabs/index.js";
5
6
  /**
6
7
  * The applied filters that `actions` write, per tab. Staged selection changes are not applied, so they
@@ -41,7 +42,7 @@ export function writtenFiltersOf(actions) {
41
42
  }
42
43
  else if (tabsActions.upsertDateFilter.match(action) && !action.payload.isWorkingSelectionChange) {
43
44
  const written = forTab(action.payload.tabLocalIdentifier);
44
- const { dataSet } = action.payload;
45
+ const dataSet = upsertDateFilterPayloadDataSet(action.payload);
45
46
  if (!dataSet) {
46
47
  written.commonDateFilter = true;
47
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/commandHandlers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAiJ9D,eAAO,MAAM,sBAAsB,EAAE;KAEhC,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,YAAY,CAAC,GAAG,CAAC,GAAG,GAAG;CAiJnF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/model/commandHandlers/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAsJ9D,eAAO,MAAM,sBAAsB,EAAE;KAEhC,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,YAAY,CAAC,GAAG,CAAC,GAAG,GAAG;CAqJnF,CAAC"}
@@ -53,7 +53,7 @@ import { setAttributeFilterParentsHandler } from "./filterContext/attributeFilte
53
53
  import { changeFilterContextSelectionHandler } from "./filterContext/changeFilterContextSelectionHandler.js";
54
54
  import { applyWorkingSelectionHandler, resetWorkingSelectionHandler } from "./filterContext/common.js";
55
55
  import { addDateFilterHandler } from "./filterContext/dateFilter/addDateFilterHandler.js";
56
- import { changeDateFilterSelectionHandler } from "./filterContext/dateFilter/changeDateFilterSelectionHandler.js";
56
+ import { changeDateFilterSelectionHandler, changeDateFilterSelectionOfAnyTypeHandler, } from "./filterContext/dateFilter/changeDateFilterSelectionHandler.js";
57
57
  import { moveDateFilterHandler } from "./filterContext/dateFilter/moveDateFilterHandler.js";
58
58
  import { removeDateFiltersHandler } from "./filterContext/dateFilter/removeDateFiltersHandler.js";
59
59
  import { applyFilterViewHandler, deleteFilterViewHandler, reloadFilterViewsHandler, saveFilterViewHandler, setFilterViewAsDefaultHandler, } from "./filterContext/filterViewHandler.js";
@@ -81,7 +81,9 @@ import { setScreenSizeHandler } from "./layout/setScreenSizeHandler.js";
81
81
  import { toggleLayoutDirectionHandler } from "./layout/toggleLayoutDirectionHandler.js";
82
82
  import { toggleLayoutSectionHeadersHandler } from "./layout/toggleLayoutSectionHeadersHandler.js";
83
83
  import { undoLayoutChangesHandler } from "./layout/undoLayoutChangesHandler.js";
84
+ import { addParametersHandler } from "./parameters/addParametersHandler.js";
84
85
  import { changeParameterValuesHandler } from "./parameters/changeParameterValuesHandler.js";
86
+ import { removeParametersHandler } from "./parameters/removeParametersHandler.js";
85
87
  import { requestAsyncRenderHandler } from "./render/requestAsyncRenderHandler.js";
86
88
  import { resolveAsyncRenderHandler } from "./render/resolveAsyncRenderHandler.js";
87
89
  import { changeRenderModeHandler } from "./renderMode/changeRenderModeHandler.js";
@@ -153,6 +155,7 @@ export const DefaultCommandHandlers = {
153
155
  "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT": upsertExecutionResultHandler,
154
156
  "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION": changeFilterContextSelectionHandler,
155
157
  "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION": changeDateFilterSelectionHandler,
158
+ "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER_OF_ANY_TYPE.CHANGE_SELECTION": changeDateFilterSelectionOfAnyTypeHandler,
156
159
  "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD": addAttributeFilterHandler,
157
160
  "GDC.DASH/CMD.FILTER_CONTEXT.TEXT_ATTRIBUTE_FILTER.ADD": addTextAttributeFilterHandler,
158
161
  "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE": removeAttributeFiltersHandler,
@@ -269,4 +272,6 @@ export const DefaultCommandHandlers = {
269
272
  "GDC.DASH/CMD.TAB.RENAME_MODE.CANCEL": cancelRenamingDashboardTabHandler,
270
273
  "GDC.DASH/CMD.TAB.RENAME": renameDashboardTabHandler,
271
274
  "GDC.DASH/CMD.PARAMETERS.CHANGE_VALUES": changeParameterValuesHandler,
275
+ "GDC.DASH/CMD.PARAMETERS.ADD": addParametersHandler,
276
+ "GDC.DASH/CMD.PARAMETERS.REMOVE": removeParametersHandler,
272
277
  };
@@ -1 +1 @@
1
- {"version":3,"file":"undoLayoutChangesHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/undoLayoutChangesHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAEH,KAAK,kBAAkB,EAE1B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,KAAK,uBAAuB,EAAiB,MAAM,wBAAwB,CAAC;AAGrF,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,wBAAiB,wBAAwB,CACrC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,uBAAuB,CAAC,CA0BvC"}
1
+ {"version":3,"file":"undoLayoutChangesHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/undoLayoutChangesHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAEH,KAAK,kBAAkB,EAE1B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,KAAK,uBAAuB,EAAiB,MAAM,wBAAwB,CAAC;AAGrF,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAYnE,wBAAiB,wBAAwB,CACrC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,uBAAuB,CAAC,CA2BvC"}
@@ -1,9 +1,10 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { put, select } from "redux-saga/effects";
2
+ import { call, put, select } from "redux-saga/effects";
3
3
  import { invalidArgumentsProvided } from "../../events/general.js";
4
4
  import { layoutChanged } from "../../events/layout.js";
5
5
  import { tabsActions } from "../../store/tabs/index.js";
6
6
  import { selectLayout, selectUndoableLayoutCommands } from "../../store/tabs/layout/layoutSelectors.js";
7
+ import { revalidateDrillToCustomUrlParams } from "../common/validateDrillToCustomUrlParams.js";
7
8
  /*
8
9
  * Default impl returns 0 -> meaning drop everything that the latest command achieved.
9
10
  */
@@ -21,6 +22,7 @@ export function* undoLayoutChangesHandler(ctx, cmd) {
21
22
  yield put(tabsActions.undoLayout({
22
23
  undoDownTo: selectedCommand.firstOccurrenceOnStack,
23
24
  }));
25
+ yield call(revalidateDrillToCustomUrlParams);
24
26
  const layout = yield select(selectLayout);
25
27
  return layoutChanged(ctx, layout, cmd.correlationId);
26
28
  }
@@ -0,0 +1,6 @@
1
+ import { type SagaIterator } from "redux-saga";
2
+ import { type IAddParameters } from "../../commands/parameters.js";
3
+ import { type IDashboardParametersAdded } from "../../events/parameters.js";
4
+ import { type DashboardContext } from "../../types/commonTypes.js";
5
+ export declare function addParametersHandler(ctx: DashboardContext, cmd: IAddParameters): SagaIterator<IDashboardParametersAdded>;
6
+ //# sourceMappingURL=addParametersHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addParametersHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/parameters/addParametersHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,KAAK,yBAAyB,EAAmB,MAAM,4BAA4B,CAAC;AAK7F,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,wBAAiB,oBAAoB,CACjC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,cAAc,GACpB,YAAY,CAAC,yBAAyB,CAAC,CA4CzC"}
@@ -0,0 +1,43 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { batchActions } from "redux-batched-actions";
3
+ import { call, put, select } from "redux-saga/effects";
4
+ import { DashboardParameterModeValues, objRefToString } from "@gooddata/sdk-model";
5
+ import { invalidArgumentsProvided } from "../../events/general.js";
6
+ import { parametersAdded } from "../../events/parameters.js";
7
+ import { selectCatalogParameterByRef } from "../../store/catalog/catalogSelectors.js";
8
+ import { tabsActions } from "../../store/tabs/index.js";
9
+ import { selectActiveParameterRefKeys } from "../../store/tabs/parameters/parametersSelectors.js";
10
+ import { selectActiveOrDefaultTabLocalIdentifier } from "../../store/tabs/tabsSelectors.js";
11
+ import { revalidateDrillToCustomUrlParams } from "../common/validateDrillToCustomUrlParams.js";
12
+ export function* addParametersHandler(ctx, cmd) {
13
+ const { refs, tabLocalIdentifier } = cmd.payload;
14
+ const activeTabLocalIdentifier = yield select(selectActiveOrDefaultTabLocalIdentifier);
15
+ if (tabLocalIdentifier !== activeTabLocalIdentifier) {
16
+ throw invalidArgumentsProvided(ctx, cmd, `The tab ${tabLocalIdentifier} is not the active tab.`);
17
+ }
18
+ const activeRefKeys = yield select(selectActiveParameterRefKeys);
19
+ const takenRefKeys = new Set(activeRefKeys);
20
+ const addActions = [];
21
+ for (const ref of refs) {
22
+ const refKey = objRefToString(ref);
23
+ if (takenRefKeys.has(refKey)) {
24
+ throw invalidArgumentsProvided(ctx, cmd, `The parameter ${refKey} is already on the active tab.`);
25
+ }
26
+ takenRefKeys.add(refKey);
27
+ const catalogParameter = yield select(selectCatalogParameterByRef(ref));
28
+ if (!catalogParameter) {
29
+ throw invalidArgumentsProvided(ctx, cmd, `The parameter ${refKey} is not in the catalog.`);
30
+ }
31
+ addActions.push(tabsActions.addParameter({
32
+ parameter: {
33
+ ref,
34
+ parameterType: catalogParameter.definition.type,
35
+ mode: DashboardParameterModeValues.ACTIVE,
36
+ },
37
+ workspaceDefault: catalogParameter.definition.defaultValue,
38
+ }));
39
+ }
40
+ yield put(batchActions(addActions));
41
+ yield call(revalidateDrillToCustomUrlParams);
42
+ return parametersAdded(ctx, refs, cmd.correlationId);
43
+ }
@@ -0,0 +1,6 @@
1
+ import { type SagaIterator } from "redux-saga";
2
+ import { type IRemoveParameters } from "../../commands/parameters.js";
3
+ import { type IDashboardParametersRemoved } from "../../events/parameters.js";
4
+ import { type DashboardContext } from "../../types/commonTypes.js";
5
+ export declare function removeParametersHandler(ctx: DashboardContext, cmd: IRemoveParameters): SagaIterator<IDashboardParametersRemoved>;
6
+ //# sourceMappingURL=removeParametersHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeParametersHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/parameters/removeParametersHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,OAAO,EAAE,KAAK,2BAA2B,EAAqB,MAAM,4BAA4B,CAAC;AAIjG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,wBAAiB,uBAAuB,CACpC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GACvB,YAAY,CAAC,2BAA2B,CAAC,CA6B3C"}
@@ -0,0 +1,29 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { batchActions } from "redux-batched-actions";
3
+ import { call, put, select } from "redux-saga/effects";
4
+ import { areObjRefsEqual, objRefToString } from "@gooddata/sdk-model";
5
+ import { invalidArgumentsProvided } from "../../events/general.js";
6
+ import { parametersRemoved } from "../../events/parameters.js";
7
+ import { tabsActions } from "../../store/tabs/index.js";
8
+ import { selectDashboardParameters } from "../../store/tabs/parameters/parametersSelectors.js";
9
+ import { selectActiveOrDefaultTabLocalIdentifier } from "../../store/tabs/tabsSelectors.js";
10
+ import { revalidateDrillToCustomUrlParams } from "../common/validateDrillToCustomUrlParams.js";
11
+ export function* removeParametersHandler(ctx, cmd) {
12
+ const { refs, tabLocalIdentifier } = cmd.payload;
13
+ const activeTabLocalIdentifier = yield select(selectActiveOrDefaultTabLocalIdentifier);
14
+ if (tabLocalIdentifier !== activeTabLocalIdentifier) {
15
+ throw invalidArgumentsProvided(ctx, cmd, `The tab ${tabLocalIdentifier} is not the active tab.`);
16
+ }
17
+ const activeParameters = yield select(selectDashboardParameters);
18
+ const remainingRefs = activeParameters.map((parameter) => parameter.ref);
19
+ for (const ref of refs) {
20
+ const index = remainingRefs.findIndex((remainingRef) => areObjRefsEqual(remainingRef, ref));
21
+ if (index === -1) {
22
+ throw invalidArgumentsProvided(ctx, cmd, `The parameter ${objRefToString(ref)} is not on the active tab or is repeated.`);
23
+ }
24
+ remainingRefs.splice(index, 1);
25
+ }
26
+ yield put(batchActions(refs.map((ref) => tabsActions.removeParameter({ ref }))));
27
+ yield call(revalidateDrillToCustomUrlParams);
28
+ return parametersRemoved(ctx, refs, cmd.correlationId);
29
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAwD/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AA8C/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,sBAAsB,GAC7B,YAAY,CAyTd"}
1
+ {"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AA4D/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AA8C/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,sBAAsB,GAC7B,YAAY,CAkUd"}
@@ -7,8 +7,9 @@ import { convertError } from "@gooddata/sdk-ui";
7
7
  import { isAutomationRestricted } from "@gooddata/sdk-ui-ext";
8
8
  import { _compact, _omit } from "@gooddata/util";
9
9
  import { getAutomationAlertParameters, getAutomationExportParametersByTab, } from "../../../_staging/automation/index.js";
10
- import { ABSOLUTE_GRANULARITY_DATE_FILTER_NOT_SUPPORTED, automationContainsAbsoluteGranularityDateFilter, } from "../../../_staging/dashboard/absoluteGranularityDateFilters.js";
10
+ import { ABSOLUTE_GRANULARITY_DATE_FILTER_AUTOMATIONS_NOT_SUPPORTED, automationContainsAbsoluteGranularityDateFilter, } from "../../../_staging/dashboard/absoluteGranularityDateFilters.js";
11
11
  import { dashboardFilterToFilterContextItem } from "../../../_staging/dashboard/dashboardFilterContext.js";
12
+ import { PARAMETERIZED_DATE_FILTER_NOT_SUPPORTED, automationContainsDashboardParameterizedDateFilter, } from "../../../_staging/dashboard/parameterizedDateFilters.js";
12
13
  import { changeFilterContextSelection, changeFilterContextSelectionByParams, } from "../../commands/filters.js";
13
14
  import { changeParameterValues } from "../../commands/parameters.js";
14
15
  import { switchDashboardTab } from "../../commands/tabs.js";
@@ -75,10 +76,15 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
75
76
  call(loadNotificationChannels, ctx, enableNotificationChannelIdentifiers),
76
77
  ]);
77
78
  const targetAutomation = automationId ? automations.find((a) => a.id === automationId) : undefined;
78
- const skipTargetAutomationContext = automationContainsAbsoluteGranularityDateFilter(targetAutomation);
79
- if (skipTargetAutomationContext) {
80
- console.warn(`Skipping the context of automation ${automationId}. ${ABSOLUTE_GRANULARITY_DATE_FILTER_NOT_SUPPORTED}`);
79
+ const hasAbsoluteGranularityDateFilter = automationContainsAbsoluteGranularityDateFilter(targetAutomation);
80
+ if (hasAbsoluteGranularityDateFilter) {
81
+ console.warn(`Skipping the context of automation ${automationId}. ${ABSOLUTE_GRANULARITY_DATE_FILTER_AUTOMATIONS_NOT_SUPPORTED}`);
81
82
  }
83
+ const hasParameterizedDateFilter = automationContainsDashboardParameterizedDateFilter(targetAutomation);
84
+ if (hasParameterizedDateFilter) {
85
+ console.warn(`Skipping the context of automation ${automationId}. ${PARAMETERIZED_DATE_FILTER_NOT_SUPPORTED}`);
86
+ }
87
+ const skipTargetAutomationContext = hasAbsoluteGranularityDateFilter || hasParameterizedDateFilter;
82
88
  // Set filters according to provided automationId
83
89
  if (automationId && !skipTargetAutomationContext) {
84
90
  const targetWidget = targetAutomation?.metadata?.widget;
@@ -1 +1 @@
1
- {"version":3,"file":"addVisualizationToSwitcherWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,KAAK,qDAAqD,EAAE,MAAM,yCAAyC,CAAC;AACrH,OAAO,EACH,KAAK,uDAAuD,EAE/D,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAInE,wBAAiB,8CAA8C,CAC3D,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qDAAqD,GAC3D,YAAY,CAAC,uDAAuD,CAAC,CA+BvE"}
1
+ {"version":3,"file":"addVisualizationToSwitcherWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,KAAK,qDAAqD,EAAE,MAAM,yCAAyC,CAAC;AACrH,OAAO,EACH,KAAK,uDAAuD,EAE/D,MAAM,uCAAuC,CAAC;AAK/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,wBAAiB,8CAA8C,CAC3D,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qDAAqD,GAC3D,YAAY,CAAC,uDAAuD,CAAC,CAgCvE"}
@@ -1,12 +1,13 @@
1
1
  // (C) 2024-2026 GoodData Corporation
2
2
  import { batchActions } from "redux-batched-actions";
3
- import { put, select } from "redux-saga/effects";
3
+ import { call, put, select } from "redux-saga/effects";
4
4
  import { getSizeInfo } from "../../../_staging/layout/sizing.js";
5
5
  import { visualizationSwitcherWidgetVisualizationAdded, } from "../../events/visualizationSwitcher.js";
6
6
  import { selectSettings } from "../../store/config/configSelectors.js";
7
7
  import { insightsActions } from "../../store/insights/index.js";
8
8
  import { tabsActions } from "../../store/tabs/index.js";
9
9
  import { selectWidgetsMap } from "../../store/tabs/layout/layoutSelectors.js";
10
+ import { revalidateDrillToCustomUrlParams } from "../common/validateDrillToCustomUrlParams.js";
10
11
  import { validateExistingVisualizationSwitcherWidget } from "./validation/widgetValidations.js";
11
12
  export function* addVisualizationToSwticherWidgetContentHandler(ctx, cmd) {
12
13
  const { payload: { visualization, insight }, correlationId, } = cmd;
@@ -25,5 +26,6 @@ export function* addVisualizationToSwticherWidgetContentHandler(ctx, cmd) {
25
26
  },
26
27
  }),
27
28
  ]));
29
+ yield call(revalidateDrillToCustomUrlParams);
28
30
  return visualizationSwitcherWidgetVisualizationAdded(ctx, visualizationSwitcherWidget.ref, visualization, correlationId);
29
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"changeInsightWidgetInsightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAc/C,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAE7E,OAAO,EACH,KAAK,sCAAsC,EAE9C,MAAM,yBAAyB,CAAC;AAWjC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAOnE,wBAAiB,iCAAiC,CAC9C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,2BAA2B,GACjC,YAAY,CAAC,sCAAsC,CAAC,CAuGtD"}
1
+ {"version":3,"file":"changeInsightWidgetInsightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAc/C,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAE7E,OAAO,EACH,KAAK,sCAAsC,EAE9C,MAAM,yBAAyB,CAAC;AAWjC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAQnE,wBAAiB,iCAAiC,CAC9C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,2BAA2B,GACjC,YAAY,CAAC,sCAAsC,CAAC,CAyGtD"}
@@ -14,6 +14,7 @@ import { selectWidgetByRef, selectWidgets, selectWidgetsMap, } from "../../store
14
14
  import { uiActions } from "../../store/ui/index.js";
15
15
  import { shouldRevalidateDrillsAfterInsightChange } from "../common/drillRevalidationUtils.js";
16
16
  import { validateDrills } from "../common/validateDrills.js";
17
+ import { revalidateDrillToCustomUrlParams } from "../common/validateDrillToCustomUrlParams.js";
17
18
  import { loadInsight } from "./common/loadInsight.js";
18
19
  import { validateExistingInsightWidget } from "./validation/widgetValidations.js";
19
20
  export function* changeInsightWidgetInsightHandler(ctx, cmd) {
@@ -92,5 +93,6 @@ export function* changeInsightWidgetInsightHandler(ctx, cmd) {
92
93
  },
93
94
  }));
94
95
  }
96
+ yield call(revalidateDrillToCustomUrlParams);
95
97
  return insightWidgetInsightChanged(ctx, ref, insight, correlationId);
96
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"refreshInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/refreshInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,KAAK,gCAAgC,EAA0B,MAAM,yBAAyB,CAAC;AAKxG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,wBAAiB,2BAA2B,CACxC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,gCAAgC,CAAC,CAqBhD"}
1
+ {"version":3,"file":"refreshInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/refreshInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,KAAK,gCAAgC,EAA0B,MAAM,yBAAyB,CAAC;AAKxG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAMnE,wBAAiB,2BAA2B,CACxC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,gCAAgC,CAAC,CAsBhD"}
@@ -7,6 +7,7 @@ import { insightsActions } from "../../store/insights/index.js";
7
7
  import { selectInsightByRef } from "../../store/insights/insightsSelectors.js";
8
8
  import { restrictedDataActions } from "../../store/restrictedData/index.js";
9
9
  import { selectWidgetsMap } from "../../store/tabs/layout/layoutSelectors.js";
10
+ import { revalidateDrillToCustomUrlParams } from "../common/validateDrillToCustomUrlParams.js";
10
11
  import { loadInsight } from "./common/loadInsight.js";
11
12
  import { validateExistingInsightWidget } from "./validation/widgetValidations.js";
12
13
  export function* refreshInsightWidgetHandler(ctx, cmd) {
@@ -21,5 +22,6 @@ export function* refreshInsightWidgetHandler(ctx, cmd) {
21
22
  yield put(insightsActions.upsertInsight(newInsight));
22
23
  // an explicit refresh executes the widget again even when it was refused for restricted data
23
24
  yield put(restrictedDataActions.clearRefusal(serializeObjRef(insightWidget.ref)));
25
+ yield call(revalidateDrillToCustomUrlParams);
24
26
  return insightWidgetRefreshed(ctx, newInsight, cmd.correlationId);
25
27
  }
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * @public
11
11
  */
12
- export type DashboardCommandType = "GDC.DASH/CMD.INITIALIZE" | "GDC.DASH/CMD.SAVE" | "GDC.DASH/CMD.SAVEAS" | "GDC.DASH/CMD.RESET" | "GDC.DASH/CMD.CHANGE_DEFINITION" | "GDC.DASH/CMD.RENAME" | "GDC.DASH/CMD.DELETE" | "GDC.DASH/CMD.CHANGE_RENDER_MODE" | "GDC.DASH/CMD.SHARING.CHANGE" | "GDC.DASH/CMD.EXPORT.PDF" | "GDC.DASH/CMD.EXPORT.EXCEL" | "GDC.DASH/CMD.EXPORT.PDF_PRESENTATION" | "GDC.DASH/CMD.EXPORT.PPT_PRESENTATION" | "GDC.DASH/CMD.EVENT.TRIGGER" | "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT" | "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.TEXT_ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.REPLACE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_PARENTS" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DISPLAY_FORM" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_TITLE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_SELECTION_MODE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DEPENDENT_DATE_FILTERS" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.RESTRICTED_FILTERS.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CHANGE_CONDITION" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_DIMENSIONALITY" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_TITLE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.MEASURE_VALUE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_AVAILABLE_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_LIMITING_ITEMS" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_DISPLAY_AS_LABEL" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_WITH_DIMENSION_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_TITLE" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM_TO_NEW_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.CHANGE_SECTION_HEADER" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_ITEMS" | "GDC.DASH/CMD.FLUID_LAYOUT.REPLACE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM_BY_WIDGET_REF" | "GDC.DASH/CMD.FLUID_LAYOUT.UNDO" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_HEIGHT" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_WIDTH" | "GDC.DASH/CMD.FLUID_LAYOUT.SET_SCREEN_SIZE" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_SECTION_HEADERS" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_DIRECTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_MEASURE" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_COMPARISON" | "GDC.DASH/CMD.KPI_WIDGET.REFRESH" | "GDC.DASH/CMD.KPI_WIDGET.SET_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.REMOVE_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_PROPERTIES" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_INSIGHT" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_IGNORE_CROSS_FILTERING" | "GDC.DASH/CMD.INSIGHT.DELETE" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_TO_URL" | "GDC.DASH/CMD.INSIGHT_WIDGET.ADD_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.ADD_VISUALIZATION" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.UPDATE_VISUALIZATIONS" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.CHANGE_ACTIVE_VISUALIZATION" | "GDC.DASH/CMD.ALERT.CREATE" | "GDC.DASH/CMD.ALERT.SAVE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.SAVE" | "GDC.DASH/CMD.DRILL" | "GDC.DASH/CMD.DRILL.DRILL_DOWN" | "GDC.DASH/CMD.DRILL.DRILL_TO_INSIGHT" | "GDC.DASH/CMD.DRILL.DRILL_TO_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILL_TO_ATTRIBUTE_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_CUSTOM_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_LEGACY_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILLABLE_ITEMS.CHANGE" | "GDC.DASH/CMD.DRILL.CROSS_FILTERING" | "GDC.DASH/CMD.DRILL.KEY_DRIVER_ANALYSIS" | "GDC.DASH/CMD.DRILL_TARGETS.ADD" | "GDC.DASH/CMD.RENDER.ASYNC.REQUEST" | "GDC.DASH/CMD.RENDER.ASYNC.RESOLVE" | "GDC.DASH/CMD.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/CMD.AUTOMATIONS.INITIALIZE" | "GDC.DASH/CMD.AUTOMATIONS.REFRESH" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.SAVE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.DELETE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.APPLY" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.RELOAD" | "GDC.DASH/CMD.FILTER_CONTEXT.APPLY_WORKING_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.RESET_WORKING_SELECTION" | "GDC.DASH/CMD.CHANGE_IGNORE_EXECUTION_TIMESTAMP" | "GDC.DASH/CMD.TAB.SWITCH" | "GDC.DASH/CMD.TAB.REPOSITION" | "GDC.DASH/CMD.TAB.CREATE" | "GDC.DASH/CMD.TAB.DELETE" | "GDC.DASH/CMD.TAB.RENAME_MODE.START" | "GDC.DASH/CMD.TAB.RENAME_MODE.CANCEL" | "GDC.DASH/CMD.TAB.RENAME" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_RAW" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_SLIDES" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_IMAGE" | "GDC.DASH/CMD.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/CMD.CHANGE_DENSITY" | "GDC.DASH/CMD.OPEN_DENSITY_DIALOG" | "GDC.DASH/CMD.CHANGE_TIMEZONE_OVERRIDE" | "GDC.DASH/CMD.PARAMETERS.CHANGE_VALUES";
12
+ export type DashboardCommandType = "GDC.DASH/CMD.INITIALIZE" | "GDC.DASH/CMD.SAVE" | "GDC.DASH/CMD.SAVEAS" | "GDC.DASH/CMD.RESET" | "GDC.DASH/CMD.CHANGE_DEFINITION" | "GDC.DASH/CMD.RENAME" | "GDC.DASH/CMD.DELETE" | "GDC.DASH/CMD.CHANGE_RENDER_MODE" | "GDC.DASH/CMD.SHARING.CHANGE" | "GDC.DASH/CMD.EXPORT.PDF" | "GDC.DASH/CMD.EXPORT.EXCEL" | "GDC.DASH/CMD.EXPORT.PDF_PRESENTATION" | "GDC.DASH/CMD.EXPORT.PPT_PRESENTATION" | "GDC.DASH/CMD.EVENT.TRIGGER" | "GDC.DASH/CMD.EXECUTION_RESULT.UPSERT" | "GDC.DASH/CMD.FILTER_CONTEXT.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER_OF_ANY_TYPE.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.TEXT_ATTRIBUTE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.CHANGE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER_ITEM.REPLACE_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_PARENTS" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DISPLAY_FORM" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_TITLE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_SELECTION_MODE" | "GDC.DASH/CMD.FILTER_CONTEXT.ATTRIBUTE_FILTER.SET_DEPENDENT_DATE_FILTERS" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.ADD" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.RESTRICTED_FILTERS.REMOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.MOVE" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.CHANGE_CONDITION" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_DIMENSIONALITY" | "GDC.DASH/CMD.FILTER_CONTEXT.MEASURE_VALUE_FILTER.SET_TITLE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.MEASURE_VALUE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_AVAILABLE_MODE" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_LIMITING_ITEMS" | "GDC.DASH/CMD.ATTRIBUTE_FILTER_CONFIG.SET_DISPLAY_AS_LABEL" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_WITH_DIMENSION_CONFIG.SET_MODE" | "GDC.DASH/CMD.DATE_FILTER_CONFIG.SET_TITLE" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM_TO_NEW_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_SECTION" | "GDC.DASH/CMD.FLUID_LAYOUT.CHANGE_SECTION_HEADER" | "GDC.DASH/CMD.FLUID_LAYOUT.ADD_ITEMS" | "GDC.DASH/CMD.FLUID_LAYOUT.REPLACE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.MOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM" | "GDC.DASH/CMD.FLUID_LAYOUT.REMOVE_ITEM_BY_WIDGET_REF" | "GDC.DASH/CMD.FLUID_LAYOUT.UNDO" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_HEIGHT" | "GDC.DASH/CMD.FLUID_LAYOUT.RESIZE_WIDTH" | "GDC.DASH/CMD.FLUID_LAYOUT.SET_SCREEN_SIZE" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_SECTION_HEADERS" | "GDC.DASH/CMD.FLEXIBLE_LAYOUT.TOGGLE_LAYOUT_DIRECTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_MEASURE" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_COMPARISON" | "GDC.DASH/CMD.KPI_WIDGET.REFRESH" | "GDC.DASH/CMD.KPI_WIDGET.SET_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.REMOVE_DRILL" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.KPI_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_HEADER" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_DESCRIPTION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_PROPERTIES" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_CONFIGURATION" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_INSIGHT" | "GDC.DASH/CMD.INSIGHT_WIDGET.CHANGE_IGNORE_CROSS_FILTERING" | "GDC.DASH/CMD.INSIGHT.DELETE" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILLS" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REMOVE_DRILL_TO_URL" | "GDC.DASH/CMD.INSIGHT_WIDGET.ADD_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.MODIFY_DRILL_DOWN" | "GDC.DASH/CMD.INSIGHT_WIDGET.REFRESH" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_CONTENT" | "GDC.DASH/CMD.RICH_TEXT_WIDGET.CHANGE_FILTER_SETTINGS" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.ADD_VISUALIZATION" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.UPDATE_VISUALIZATIONS" | "GDC.DASH/CMD.VISUALIZATION_SWITCHER_WIDGET.CHANGE_ACTIVE_VISUALIZATION" | "GDC.DASH/CMD.ALERT.CREATE" | "GDC.DASH/CMD.ALERT.SAVE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.CREATE" | "GDC.DASH/CMD.SCHEDULED_EMAIL.SAVE" | "GDC.DASH/CMD.DRILL" | "GDC.DASH/CMD.DRILL.DRILL_DOWN" | "GDC.DASH/CMD.DRILL.DRILL_TO_INSIGHT" | "GDC.DASH/CMD.DRILL.DRILL_TO_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILL_TO_ATTRIBUTE_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_CUSTOM_URL" | "GDC.DASH/CMD.DRILL.DRILL_TO_LEGACY_DASHBOARD" | "GDC.DASH/CMD.DRILL.DRILLABLE_ITEMS.CHANGE" | "GDC.DASH/CMD.DRILL.CROSS_FILTERING" | "GDC.DASH/CMD.DRILL.KEY_DRIVER_ANALYSIS" | "GDC.DASH/CMD.DRILL_TARGETS.ADD" | "GDC.DASH/CMD.RENDER.ASYNC.REQUEST" | "GDC.DASH/CMD.RENDER.ASYNC.RESOLVE" | "GDC.DASH/CMD.ATTRIBUTE_HIERARCHY_MODIFIED" | "GDC.DASH/CMD.AUTOMATIONS.INITIALIZE" | "GDC.DASH/CMD.AUTOMATIONS.REFRESH" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.SAVE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.DELETE" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.APPLY" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.CHANGE_DEFAULT_STATUS" | "GDC.DASH/CMD.FILTER_CONTEXT.FILTER_VIEW.RELOAD" | "GDC.DASH/CMD.FILTER_CONTEXT.APPLY_WORKING_SELECTION" | "GDC.DASH/CMD.FILTER_CONTEXT.RESET_WORKING_SELECTION" | "GDC.DASH/CMD.CHANGE_IGNORE_EXECUTION_TIMESTAMP" | "GDC.DASH/CMD.TAB.SWITCH" | "GDC.DASH/CMD.TAB.REPOSITION" | "GDC.DASH/CMD.TAB.CREATE" | "GDC.DASH/CMD.TAB.DELETE" | "GDC.DASH/CMD.TAB.RENAME_MODE.START" | "GDC.DASH/CMD.TAB.RENAME_MODE.CANCEL" | "GDC.DASH/CMD.TAB.RENAME" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_RAW" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_SLIDES" | "GDC.DASH/CMD.INSIGHT_WIDGET.EXPORT_IMAGE" | "GDC.DASH/CMD.SHOW_WIDGET_AS_TABLE.SET" | "GDC.DASH/CMD.CHANGE_DENSITY" | "GDC.DASH/CMD.OPEN_DENSITY_DIALOG" | "GDC.DASH/CMD.CHANGE_TIMEZONE_OVERRIDE" | "GDC.DASH/CMD.PARAMETERS.CHANGE_VALUES" | "GDC.DASH/CMD.PARAMETERS.ADD" | "GDC.DASH/CMD.PARAMETERS.REMOVE";
13
13
  /**
14
14
  * @public
15
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/model/commands/base.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/model/commands/base.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,oBAAoB,GAC1B,yBAAyB,GACzB,mBAAmB,GACnB,qBAAqB,GACrB,oBAAoB,GACpB,gCAAgC,GAChC,qBAAqB,GACrB,qBAAqB,GACrB,iCAAiC,GACjC,6BAA6B,GAC7B,yBAAyB,GACzB,2BAA2B,GAC3B,sCAAsC,GACtC,sCAAsC,GACtC,4BAA4B,GAC5B,sCAAsC,GACtC,8CAA8C,GAC9C,0DAA0D,GAC1D,sEAAsE,GACtE,kDAAkD,GAClD,uDAAuD,GACvD,qDAAqD,GACrD,mDAAmD,GACnD,+DAA+D,GAC/D,qEAAqE,GACrE,0DAA0D,GAC1D,+DAA+D,GAC/D,wDAAwD,GACxD,iEAAiE,GACjE,yEAAyE,GACzE,6CAA6C,GAC7C,gDAAgD,GAChD,8CAA8C,GAC9C,sDAAsD,GACtD,yDAAyD,GACzD,uDAAuD,GACvD,uDAAuD,GACvD,mEAAmE,GACnE,qEAAqE,GACrE,4DAA4D,GAC5D,+CAA+C,GAC/C,mDAAmD,GACnD,yDAAyD,GACzD,yDAAyD,GACzD,2DAA2D,GAC3D,0CAA0C,GAC1C,yDAAyD,GACzD,2CAA2C,GAC3C,uCAAuC,GACvC,wCAAwC,GACxC,oDAAoD,GACpD,0CAA0C,GAC1C,iDAAiD,GACjD,qCAAqC,GACrC,wCAAwC,GACxC,qCAAqC,GACrC,uCAAuC,GACvC,qDAAqD,GACrD,gCAAgC,GAChC,yCAAyC,GACzC,wCAAwC,GACxC,2CAA2C,GAC3C,4DAA4D,GAC5D,sDAAsD,GACtD,uCAAuC,GACvC,wCAAwC,GACxC,gDAAgD,GAChD,2CAA2C,GAC3C,iCAAiC,GACjC,mCAAmC,GACnC,sCAAsC,GACtC,4CAA4C,GAC5C,8CAA8C,GAC9C,2CAA2C,GAC3C,gDAAgD,GAChD,oDAAoD,GACpD,+CAA+C,GAC/C,kDAAkD,GAClD,4CAA4C,GAC5C,2DAA2D,GAC3D,6BAA6B,GAC7B,oCAAoC,GACpC,2CAA2C,GAC3C,2CAA2C,GAC3C,+CAA+C,GAC/C,iDAAiD,GACjD,4CAA4C,GAC5C,+CAA+C,GAC/C,qCAAqC,GACrC,8CAA8C,GAC9C,sDAAsD,GACtD,8DAA8D,GAC9D,kEAAkE,GAClE,wEAAwE,GACxE,2BAA2B,GAC3B,yBAAyB,GACzB,qCAAqC,GACrC,mCAAmC,GACnC,oBAAoB,GACpB,+BAA+B,GAC/B,qCAAqC,GACrC,uCAAuC,GACvC,2CAA2C,GAC3C,wCAAwC,GACxC,8CAA8C,GAC9C,2CAA2C,GAC3C,oCAAoC,GACpC,wCAAwC,GACxC,gCAAgC,GAChC,mCAAmC,GACnC,mCAAmC,GACnC,2CAA2C,GAC3C,qCAAqC,GACrC,kCAAkC,GAClC,8CAA8C,GAC9C,gDAAgD,GAChD,+CAA+C,GAC/C,+DAA+D,GAC/D,gDAAgD,GAChD,qDAAqD,GACrD,qDAAqD,GACrD,gDAAgD,GAChD,yBAAyB,GACzB,6BAA6B,GAC7B,yBAAyB,GACzB,yBAAyB,GACzB,oCAAoC,GACpC,qCAAqC,GACrC,yBAAyB,GACzB,wCAAwC,GACxC,2CAA2C,GAC3C,0CAA0C,GAC1C,uCAAuC,GACvC,6BAA6B,GAC7B,kCAAkC,GAClC,uCAAuC,GACvC,uCAAuC,GACvC,6BAA6B,GAC7B,gCAAgC,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IAEpC;;;;;;;OAOG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAEhC;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,qBAAqB,CAAC;CACzC"}
@@ -1,4 +1,4 @@
1
- import { type DashboardAttributeFilterConfigMode, type DashboardAttributeFilterItem, type DashboardAttributeFilterSelectionMode, type DashboardTextAttributeFilter, type DateFilterGranularity, type DateFilterType, type DateString, type EmptyValues, type FilterContextItem, type IAttributeElements, type IAttributeFilter, type IDashboardAttributeFilterByDate, type IDashboardAttributeFilterConfig, type IDashboardAttributeFilterParent, type IDateFilter, type ILowerBoundedFilter, type IUpperBoundedFilter, type MeasureValueFilterCondition, type ObjRef } from "@gooddata/sdk-model";
1
+ import { type DashboardAttributeFilterConfigMode, type DashboardAttributeFilterItem, type DashboardAttributeFilterSelectionMode, type DashboardDateFilterOfAnyType, type DashboardTextAttributeFilter, type DateFilterGranularity, type DateFilterType, type DateString, type EmptyValues, type FilterContextItem, type IAbsoluteGranularityDateFilter, type IAttributeElements, type IAttributeFilter, type IDashboardAttributeFilterByDate, type IDashboardAttributeFilterConfig, type IDashboardAttributeFilterParent, type IDateFilter, type ILowerBoundedFilter, type IUpperBoundedFilter, type MeasureValueFilterCondition, type ObjRef } from "@gooddata/sdk-model";
2
2
  import { type IDashboardFilter } from "../../types.js";
3
3
  import { type IDashboardCommand } from "./base.js";
4
4
  /**
@@ -81,7 +81,7 @@ export type DateFilterSelection = {
81
81
  * Command for date filter selection change.
82
82
  *
83
83
  * @remarks
84
- * See {@link changeDateFilterSelection} and {@link applyDateFilter} factory functions you can use to create
84
+ * See {@link changeDateFilterSelection} and {@link (applyDateFilter:2)} factory functions you can use to create
85
85
  * this command more easily from raw data and {@link @gooddata/sdk-model#IDateFilter}, respectively.
86
86
  *
87
87
  * @public
@@ -114,6 +114,23 @@ export type ChangeDateFilterSelection = IDashboardCommand & {
114
114
  * @public
115
115
  */
116
116
  export declare function changeDateFilterSelection(type: DateFilterType, granularity: DateFilterGranularity, from?: DateString | number, to?: DateString | number, dateFilterOptionLocalId?: string, correlationId?: string, dataSet?: ObjRef, isWorkingSelectionChange?: boolean, localIdentifier?: string, boundedFilter?: IUpperBoundedFilter | ILowerBoundedFilter, emptyValueHandling?: EmptyValues): ChangeDateFilterSelection;
117
+ /**
118
+ * Creates the ChangeDateFilterSelectionOfAnyType command for an absolute date filter with granularity.
119
+ *
120
+ * @remarks
121
+ * Dispatching this command will result in change of dashboard's common date filter, or error in case of invalid
122
+ * update (e.g. hidden date filter option by dateFilterConfig). The filter must not have a date dataset, the
123
+ * dashboard does not support absolute date filters with granularity for a date dataset yet.
124
+ *
125
+ * See {@link ChangeDateFilterSelectionOfAnyType} for a more complete description of the different parameters
126
+ *
127
+ * @param filter - date filter to apply
128
+ * @param correlationId - specify correlation id to use for this command. this will be included in all
129
+ * events that will be emitted during the command processing
130
+ *
131
+ * @public
132
+ */
133
+ export declare function applyDateFilter(filter: IAbsoluteGranularityDateFilter, correlationId?: string): ChangeDateFilterSelectionOfAnyType;
117
134
  /**
118
135
  * Creates the ChangeDateFilterSelection command.
119
136
  *
@@ -122,8 +139,7 @@ export declare function changeDateFilterSelection(type: DateFilterType, granular
122
139
  * update (e.g. hidden date filter option by dateFilterConfig).
123
140
  *
124
141
  * All parameters for {@link ChangeDateFilterSelection} command is derived from the provided date filter.
125
- * An absolute date filter with granularity or a parameterized date filter is not supported yet and throws
126
- * an error.
142
+ * A parameterized date filter is not supported yet and throws an error.
127
143
  *
128
144
  * See {@link ChangeDateFilterSelection} for a more complete description of the different parameters
129
145
  *
@@ -148,6 +164,74 @@ export declare function applyDateFilter(filter: IDateFilter, correlationId?: str
148
164
  * @public
149
165
  */
150
166
  export declare function clearDateFilterSelection(correlationId?: string, dataSet?: ObjRef, isWorkingSelectionChange?: boolean, localIdentifier?: string, emptyValueHandling?: EmptyValues): ChangeDateFilterSelection;
167
+ /**
168
+ * Payload type for {@link ChangeDateFilterSelectionOfAnyType} command.
169
+ *
170
+ * @alpha
171
+ */
172
+ export type DateFilterOfAnyTypeSelection = {
173
+ /**
174
+ * The date filter to set, undefined for the common date filter set to All time.
175
+ *
176
+ * @remarks
177
+ * An absolute date filter with granularity must not have a date dataset, the dashboard does not support
178
+ * it yet.
179
+ */
180
+ readonly filter: DashboardDateFilterOfAnyType | undefined;
181
+ /**
182
+ * The localId of the DateFilterOption selected.
183
+ */
184
+ readonly dateFilterOptionLocalId?: string;
185
+ /**
186
+ * Determines if this command should change working (staged for application) filters or applied filters (used to compute data).
187
+ */
188
+ readonly isWorkingSelectionChange?: boolean;
189
+ };
190
+ /**
191
+ * Command for date filter selection change, for a date filter of any type.
192
+ *
193
+ * @remarks
194
+ * See {@link changeDateFilterSelectionOfAnyType} factory function you can use to create this command more easily.
195
+ *
196
+ * @alpha
197
+ */
198
+ export type ChangeDateFilterSelectionOfAnyType = IDashboardCommand & {
199
+ readonly type: "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER_OF_ANY_TYPE.CHANGE_SELECTION";
200
+ readonly payload: DateFilterOfAnyTypeSelection;
201
+ };
202
+ /**
203
+ * Options of the {@link changeDateFilterSelectionOfAnyType} factory function.
204
+ *
205
+ * @alpha
206
+ */
207
+ export interface IChangeDateFilterSelectionOfAnyTypeOptions {
208
+ /**
209
+ * The localId of the DateFilterOption selected.
210
+ */
211
+ dateFilterOptionLocalId?: string;
212
+ /**
213
+ * Determines if this command should change working (staged for application) filters or applied filters (used to compute data).
214
+ */
215
+ isWorkingSelectionChange?: boolean;
216
+ /**
217
+ * Specify correlation id to use for this command. This will be included in all events that will be emitted
218
+ * during the command processing.
219
+ */
220
+ correlationId?: string;
221
+ }
222
+ /**
223
+ * Creates the ChangeDateFilterSelectionOfAnyType command.
224
+ *
225
+ * @remarks
226
+ * Dispatching this command will result in change of dashboard's date filter, or error in case of invalid
227
+ * update (e.g. hidden date filter option by dateFilterConfig).
228
+ *
229
+ * @param filter - the date filter to set, undefined for the common date filter set to All time
230
+ * @param options - the selected date filter option, working selection change and correlation id
231
+ *
232
+ * @alpha
233
+ */
234
+ export declare function changeDateFilterSelectionOfAnyType(filter: DashboardDateFilterOfAnyType | undefined, options?: IChangeDateFilterSelectionOfAnyTypeOptions): ChangeDateFilterSelectionOfAnyType;
151
235
  /**
152
236
  * Payload of the {@link IAddAttributeFilter} command.
153
237
  * @beta