@gooddata/sdk-ui-dashboard 11.70.0-alpha.4 → 11.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/NOTICE +49 -49
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/_staging/automation/index.d.ts +1 -0
  6. package/esm/_staging/automation/index.d.ts.map +1 -1
  7. package/esm/_staging/automation/index.js +16 -5
  8. package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts +9 -3
  9. package/esm/_staging/dashboard/absoluteGranularityDateFilters.d.ts.map +1 -1
  10. package/esm/_staging/dashboard/absoluteGranularityDateFilters.js +22 -13
  11. package/esm/_staging/dashboard/dashboardFilterContext.d.ts.map +1 -1
  12. package/esm/_staging/dashboard/dashboardFilterContext.js +11 -1
  13. package/esm/_staging/dashboard/dashboardFilterContextValidation.d.ts.map +1 -1
  14. package/esm/_staging/dashboard/dashboardFilterContextValidation.js +9 -9
  15. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +3 -3
  16. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
  17. package/esm/_staging/dashboard/dashboardFilterConverter.js +14 -2
  18. package/esm/_staging/dashboard/parameterizedDateFilters.d.ts +9 -0
  19. package/esm/_staging/dashboard/parameterizedDateFilters.d.ts.map +1 -1
  20. package/esm/_staging/dashboard/parameterizedDateFilters.js +27 -0
  21. package/esm/_staging/exportUtils/filterUtils.d.ts.map +1 -1
  22. package/esm/_staging/exportUtils/filterUtils.js +5 -3
  23. package/esm/_staging/sharedHooks/useFiltersNamings.d.ts.map +1 -1
  24. package/esm/_staging/sharedHooks/useFiltersNamings.js +9 -7
  25. package/esm/index.d.ts +8 -8
  26. package/esm/index.d.ts.map +1 -1
  27. package/esm/index.js +5 -5
  28. package/esm/kdaDialog/dialog/KdaDialog.d.ts.map +1 -1
  29. package/esm/kdaDialog/dialog/KdaDialog.js +15 -11
  30. package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts +17 -0
  31. package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.d.ts.map +1 -1
  32. package/esm/kdaDialog/dialog/KdaDialogFloatingStatusBar.js +44 -2
  33. package/esm/model/DashboardTester.d.ts.map +1 -1
  34. package/esm/model/DashboardTester.js +0 -2
  35. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts +2 -0
  36. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
  37. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +6 -1
  38. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.d.ts.map +1 -1
  39. package/esm/model/commandHandlers/dashboard/changeDashboardDefinitionHandler.js +7 -3
  40. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.d.ts.map +1 -1
  41. package/esm/model/commandHandlers/dashboard/changeDateFilterTitleHandler.js +9 -4
  42. package/esm/model/commandHandlers/dashboard/common/filterViews.d.ts.map +1 -1
  43. package/esm/model/commandHandlers/dashboard/common/filterViews.js +23 -11
  44. package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.d.ts.map +1 -1
  45. package/esm/model/commandHandlers/dashboard/common/overrideFiltersAcrossTabs.js +7 -8
  46. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  47. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +6 -3
  48. package/esm/model/commandHandlers/drill/common/sourceDrillFilters.js +2 -2
  49. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  50. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +18 -6
  51. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.d.ts.map +1 -1
  52. package/esm/model/commandHandlers/filterContext/attributeFilter/addAttributeFilterHandler.js +3 -5
  53. package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.d.ts.map +1 -1
  54. package/esm/model/commandHandlers/filterContext/attributeFilter/addTextAttributeFilterHandler.js +3 -5
  55. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  56. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +3 -5
  57. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
  58. package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +21 -42
  59. package/esm/model/commandHandlers/filterContext/common.d.ts +2 -2
  60. package/esm/model/commandHandlers/filterContext/common.d.ts.map +1 -1
  61. package/esm/model/commandHandlers/filterContext/common.js +16 -1
  62. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts +2 -1
  63. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.d.ts.map +1 -1
  64. package/esm/model/commandHandlers/filterContext/dateFilter/changeDateFilterSelectionHandler.js +56 -34
  65. package/esm/model/commandHandlers/filterContext/filterViewHandler.d.ts.map +1 -1
  66. package/esm/model/commandHandlers/filterContext/filterViewHandler.js +8 -3
  67. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts +8 -0
  68. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.d.ts.map +1 -1
  69. package/esm/model/commandHandlers/filterContext/tabSync/tabSyncRules.js +42 -9
  70. package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.d.ts.map +1 -1
  71. package/esm/model/commandHandlers/filterContext/tabSync/writtenTargets.js +2 -1
  72. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  73. package/esm/model/commandHandlers/index.js +6 -1
  74. package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.d.ts.map +1 -1
  75. package/esm/model/commandHandlers/layout/undoLayoutChangesHandler.js +3 -1
  76. package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts +6 -0
  77. package/esm/model/commandHandlers/parameters/addParametersHandler.d.ts.map +1 -0
  78. package/esm/model/commandHandlers/parameters/addParametersHandler.js +43 -0
  79. package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts +6 -0
  80. package/esm/model/commandHandlers/parameters/removeParametersHandler.d.ts.map +1 -0
  81. package/esm/model/commandHandlers/parameters/removeParametersHandler.js +29 -0
  82. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  83. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +10 -4
  84. package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.d.ts.map +1 -1
  85. package/esm/model/commandHandlers/widgets/addVisualizationToSwitcherWidgetHandler.js +3 -1
  86. package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.d.ts.map +1 -1
  87. package/esm/model/commandHandlers/widgets/changeInsightWidgetInsightHandler.js +2 -0
  88. package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.d.ts.map +1 -1
  89. package/esm/model/commandHandlers/widgets/refreshInsightWidgetHandler.js +2 -0
  90. package/esm/model/commands/base.d.ts +1 -1
  91. package/esm/model/commands/base.d.ts.map +1 -1
  92. package/esm/model/commands/filters.d.ts +88 -4
  93. package/esm/model/commands/filters.d.ts.map +1 -1
  94. package/esm/model/commands/filters.js +33 -21
  95. package/esm/model/commands/index.d.ts +3 -3
  96. package/esm/model/commands/index.d.ts.map +1 -1
  97. package/esm/model/commands/parameters.d.ts +78 -1
  98. package/esm/model/commands/parameters.d.ts.map +1 -1
  99. package/esm/model/commands/parameters.js +47 -0
  100. package/esm/model/events/base.d.ts +1 -1
  101. package/esm/model/events/base.d.ts.map +1 -1
  102. package/esm/model/events/filters.d.ts +70 -1
  103. package/esm/model/events/filters.d.ts.map +1 -1
  104. package/esm/model/events/filters.js +36 -0
  105. package/esm/model/events/index.d.ts +3 -3
  106. package/esm/model/events/index.d.ts.map +1 -1
  107. package/esm/model/events/parameters.d.ts +43 -1
  108. package/esm/model/events/parameters.d.ts.map +1 -1
  109. package/esm/model/events/parameters.js +26 -0
  110. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.d.ts.map +1 -1
  111. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsCommands.js +5 -0
  112. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.d.ts.map +1 -1
  113. package/esm/model/react/useDashboardAlerting/useDashboardAlertsCommands.js +5 -0
  114. package/esm/model/react/useInitializeDashboardStore.d.ts.map +1 -1
  115. package/esm/model/react/useInitializeDashboardStore.js +0 -2
  116. package/esm/model/react/useWidgetFilters.d.ts.map +1 -1
  117. package/esm/model/react/useWidgetFilters.js +5 -2
  118. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
  119. package/esm/model/store/filtering/dashboardFilterSelectors.js +10 -2
  120. package/esm/model/store/meta/metaSelectors.js +3 -3
  121. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts +31 -2
  122. package/esm/model/store/tabs/filterContext/filterContextReducers.d.ts.map +1 -1
  123. package/esm/model/store/tabs/filterContext/filterContextReducers.js +66 -12
  124. package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts +29 -3
  125. package/esm/model/store/tabs/filterContext/filterContextSelectors.d.ts.map +1 -1
  126. package/esm/model/store/tabs/filterContext/filterContextSelectors.js +29 -3
  127. package/esm/model/store/tabs/filterContext/filterContextState.d.ts +2 -2
  128. package/esm/model/store/tabs/filterContext/filterContextState.d.ts.map +1 -1
  129. package/esm/model/store/tabs/filterContext/filterContextUtils.d.ts.map +1 -1
  130. package/esm/model/store/tabs/filterContext/filterContextUtils.js +80 -24
  131. package/esm/model/store/tabs/filterContext/filterSync.d.ts +7 -1
  132. package/esm/model/store/tabs/filterContext/filterSync.d.ts.map +1 -1
  133. package/esm/model/store/tabs/filterContext/filterSync.js +58 -21
  134. package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
  135. package/esm/model/utils/widgetFilters.js +2 -2
  136. package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
  137. package/esm/plugins/customizationApis/customizationBuilder.js +3 -1
  138. package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts +4 -3
  139. package/esm/plugins/customizationApis/dateFiltersCustomizer.d.ts.map +1 -1
  140. package/esm/plugins/customizationApis/dateFiltersCustomizer.js +23 -41
  141. package/esm/plugins/customizer.d.ts +16 -1
  142. package/esm/plugins/customizer.d.ts.map +1 -1
  143. package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
  144. package/esm/presentation/automations/connectors/AlertingConnector.js +14 -1
  145. package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
  146. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +14 -1
  147. package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts +8 -0
  148. package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.d.ts.map +1 -0
  149. package/esm/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.js +16 -0
  150. package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts +13 -0
  151. package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.d.ts.map +1 -0
  152. package/esm/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.js +29 -0
  153. package/esm/presentation/automations/shared/exportUtils/filterUtils.d.ts.map +1 -1
  154. package/esm/presentation/automations/shared/exportUtils/filterUtils.js +4 -2
  155. package/esm/presentation/automations/shared/utils/automationUtils.d.ts.map +1 -1
  156. package/esm/presentation/automations/shared/utils/automationUtils.js +10 -4
  157. package/esm/presentation/componentDefinition/types.d.ts +3 -3
  158. package/esm/presentation/componentDefinition/types.d.ts.map +1 -1
  159. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.d.ts.map +1 -1
  160. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DeleteInsightDialog.js +56 -20
  161. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  162. package/esm/presentation/dashboard/components/DashboardRenderer.js +1 -1
  163. package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -2
  164. package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
  165. package/esm/presentation/dashboard/hooks/useDashboard.js +8 -3
  166. package/esm/presentation/dashboard/types.d.ts +12 -1
  167. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  168. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -2
  169. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  170. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -1
  171. package/esm/presentation/dashboardContexts/types.d.ts +13 -2
  172. package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
  173. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts +4 -4
  174. package/esm/presentation/dragAndDrop/draggableDateFilter/DraggableDateFilter.d.ts.map +1 -1
  175. package/esm/presentation/dragAndDrop/useFilterDeleteDrop.d.ts.map +1 -1
  176. package/esm/presentation/dragAndDrop/useFilterDeleteDrop.js +6 -4
  177. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.d.ts.map +1 -1
  178. package/esm/presentation/drill/DrillSelect/DrillSelectDropdown.js +10 -2
  179. package/esm/presentation/drill/DrillSelect/WithDrillSelect.d.ts.map +1 -1
  180. package/esm/presentation/drill/DrillSelect/WithDrillSelect.js +15 -7
  181. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.d.ts.map +1 -1
  182. package/esm/presentation/filterBar/attributeFilter/addAttributeFilter/AttributesDropdown.js +62 -6
  183. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  184. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +3 -2
  185. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts +2 -2
  186. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.d.ts.map +1 -1
  187. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js +30 -14
  188. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts +2 -2
  189. package/esm/presentation/filterBar/dateFilter/DefaultDashboardDateFilterComponentSetFactory.d.ts.map +1 -1
  190. package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts +7 -0
  191. package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.d.ts.map +1 -0
  192. package/esm/presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.js +40 -0
  193. package/esm/presentation/filterBar/dateFilter/types.d.ts +43 -1
  194. package/esm/presentation/filterBar/dateFilter/types.d.ts.map +1 -1
  195. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  196. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +13 -5
  197. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  198. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +3 -1
  199. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +2 -2
  200. package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.d.ts.map +1 -1
  201. package/esm/presentation/filterBar/filterBar/ShowAllFiltersButton.js +1 -1
  202. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.d.ts.map +1 -1
  203. package/esm/presentation/filterBar/filterBar/hooks/useResetFiltersButton.js +21 -3
  204. package/esm/presentation/filterBar/filterBar/types.d.ts +3 -3
  205. package/esm/presentation/filterBar/filterBar/types.d.ts.map +1 -1
  206. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts +3 -3
  207. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.d.ts.map +1 -1
  208. package/esm/presentation/filterBar/filterBar/useFiltersWithAddedPlaceholder.js +3 -3
  209. package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.d.ts.map +1 -1
  210. package/esm/presentation/filterBar/parameterFilter/DashboardParameterPicker.js +11 -13
  211. package/esm/presentation/insightEditor/filterContext/dateFilters.d.ts.map +1 -1
  212. package/esm/presentation/insightEditor/filterContext/dateFilters.js +2 -1
  213. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +2 -0
  214. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  215. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +2 -0
  216. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +2 -0
  217. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  218. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +2 -0
  219. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +2 -0
  220. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  221. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +2 -0
  222. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +52 -0
  223. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  224. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +52 -0
  225. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +2 -0
  226. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  227. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +2 -0
  228. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +2 -0
  229. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  230. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +2 -0
  231. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +2 -0
  232. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  233. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +2 -0
  234. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +2 -0
  235. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  236. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +2 -0
  237. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +2 -0
  238. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  239. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +2 -0
  240. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +2 -0
  241. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  242. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +2 -0
  243. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +2 -0
  244. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  245. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +2 -0
  246. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +2 -0
  247. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  248. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +2 -0
  249. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +2 -0
  250. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  251. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +2 -0
  252. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +2 -0
  253. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  254. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +2 -0
  255. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +2 -0
  256. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  257. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +2 -0
  258. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +2 -0
  259. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  260. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +2 -0
  261. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +2 -0
  262. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  263. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +2 -0
  264. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +2 -0
  265. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  266. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +2 -0
  267. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +2 -0
  268. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  269. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +2 -0
  270. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +2 -0
  271. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  272. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +2 -0
  273. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +2 -0
  274. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  275. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +2 -0
  276. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +2 -0
  277. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  278. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +2 -0
  279. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +2 -0
  280. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  281. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +2 -0
  282. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +2 -0
  283. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  284. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +3 -1
  285. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +2 -0
  286. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  287. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +2 -0
  288. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +2 -0
  289. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  290. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +2 -0
  291. package/esm/presentation/topBar/menuButton/DefaultMenuButton.d.ts.map +1 -1
  292. package/esm/presentation/topBar/menuButton/DefaultMenuButton.js +33 -6
  293. package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.d.ts.map +1 -1
  294. package/esm/presentation/topBar/timezoneIndicator/TimezoneIndicator.js +2 -2
  295. package/esm/presentation/widget/description/DescriptionClickTrigger.d.ts.map +1 -1
  296. package/esm/presentation/widget/description/DescriptionClickTrigger.js +19 -3
  297. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
  298. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +19 -1
  299. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.d.ts.map +1 -1
  300. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/VisualizationSwitcherNavigationHeader.js +12 -5
  301. package/esm/sdk-ui-dashboard.d.ts +451 -16
  302. package/package.json +23 -23
  303. package/styles/css/filterBar.css +5 -0
  304. package/styles/css/filterBar.css.map +1 -1
  305. package/styles/css/main.css +6 -3
  306. package/styles/css/main.css.map +1 -1
  307. package/styles/css/timezoneIndicator.css +1 -3
  308. package/styles/css/timezoneIndicator.css.map +1 -1
  309. package/styles/scss/filterBar.scss +4 -0
  310. package/styles/scss/timezoneIndicator.scss +1 -3
  311. package/esm/assets/timezone.svg +0 -1
  312. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts +0 -3
  313. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.d.ts.map +0 -1
  314. package/esm/model/commandHandlers/parameters/customUrlDrillParametersWorker.js +0 -26
@@ -1,7 +1,9 @@
1
1
  // (C) 2026 GoodData Corporation
2
- import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemFilterElementsByDate, dashboardAttributeFilterItemLocalIdentifier, dashboardAttributeFilterItemValidateElementsBy, dashboardFilterLocalIdentifier, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
2
+ import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardAttributeFilterItemFilterElementsBy, dashboardAttributeFilterItemFilterElementsByDate, dashboardAttributeFilterItemLocalIdentifier, dashboardAttributeFilterItemValidateElementsBy, dashboardFilterLocalIdentifier, isDashboardAbsoluteGranularityDateFilter, isDashboardArbitraryAttributeFilter, isDashboardAttributeFilter, isDashboardAttributeFilterItem, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilter, isDashboardDateFilterOfAnyType, isDashboardMatchAttributeFilter, isDashboardMeasureValueFilter, isDashboardParameterizedDateFilter, isSingleSelectionFilter, } from "@gooddata/sdk-model";
3
3
  import { findAttributeFilterCounterpart } from "../../../utils/attributeFilterMatching.js";
4
4
  import { canApplyFilterTypeToTarget } from "../../../utils/attributeFilterSelectionTypeCompatibility.js";
5
+ // Not a type guard, so that a false result does not narrow out the date filters with a data set.
6
+ const isCommonDateFilter = (item) => isDashboardCommonDateFilterOfAnyType(item);
5
7
  /**
6
8
  * True when `localIdentifier` belongs to a cross-filtering virtual filter on `tab`.
7
9
  * Those filters are applied on their own tab only and are not mirrored to or from other tabs.
@@ -47,7 +49,7 @@ export function findCounterpartFilter(sourceTab, sourceFilter, targetTab, attrib
47
49
  });
48
50
  return result.status === "matched" ? result.counterpart : undefined;
49
51
  }
50
- if (isDashboardDateFilter(sourceFilter)) {
52
+ if (isDashboardDateFilterOfAnyType(sourceFilter)) {
51
53
  return findDateCounterpart(sourceFilter, targets);
52
54
  }
53
55
  if (isDashboardMeasureValueFilter(sourceFilter)) {
@@ -55,6 +57,33 @@ export function findCounterpartFilter(sourceTab, sourceFilter, targetTab, attrib
55
57
  }
56
58
  return undefined;
57
59
  }
60
+ /**
61
+ * The common date filter with the local identifier, also when the identifier is undefined.
62
+ *
63
+ * @internal
64
+ */
65
+ export function withCommonDateFilterLocalIdentifier(filter, localIdentifier) {
66
+ if (isDashboardAbsoluteGranularityDateFilter(filter)) {
67
+ const { localIdentifier: _localIdentifier, dataSet: _dataSet, ...body } = filter.dashboardAbsoluteGranularityDateFilter;
68
+ return {
69
+ dashboardAbsoluteGranularityDateFilter: {
70
+ ...body,
71
+ ...(localIdentifier ? { localIdentifier } : {}),
72
+ },
73
+ };
74
+ }
75
+ if (isDashboardParameterizedDateFilter(filter)) {
76
+ const { localIdentifier: _localIdentifier, dataSet: _dataSet, ...body } = filter.dashboardParameterizedDateFilter;
77
+ return {
78
+ dashboardParameterizedDateFilter: {
79
+ ...body,
80
+ ...(localIdentifier ? { localIdentifier } : {}),
81
+ },
82
+ };
83
+ }
84
+ const { localIdentifier: _localIdentifier, dataSet: _dataSet, ...body } = filter.dateFilter;
85
+ return { dateFilter: { ...body, ...(localIdentifier ? { localIdentifier } : {}) } };
86
+ }
58
87
  /**
59
88
  * The saved initial filter on `tab` that corresponds to `appliedFilter`.
60
89
  * Same-tab `localIdentifier` wins; identity matching is the fallback.
@@ -168,6 +197,9 @@ export function applyMirroredFilterValue(source, target) {
168
197
  },
169
198
  };
170
199
  }
200
+ if (isDashboardCommonDateFilterOfAnyType(source) && isDashboardCommonDateFilterOfAnyType(target)) {
201
+ return withCommonDateFilterLocalIdentifier(source, dashboardFilterLocalIdentifier(target));
202
+ }
171
203
  if (isDashboardDateFilter(source) && isDashboardDateFilter(target)) {
172
204
  const dateFilter = {
173
205
  ...source.dateFilter,
@@ -221,7 +253,7 @@ export function writeMirroredSelection(tab, selection) {
221
253
  if (current) {
222
254
  writeFilter(tab, current, filter);
223
255
  }
224
- else if (isDashboardCommonDateFilter(filter)) {
256
+ else if (isDashboardCommonDateFilterOfAnyType(filter)) {
225
257
  tab.filterContext?.filterContextDefinition?.filters.unshift(filter);
226
258
  }
227
259
  else {
@@ -245,10 +277,10 @@ export function writeMirroredSelection(tab, selection) {
245
277
  */
246
278
  export function findAppliedFilterForStaged(tab, staged) {
247
279
  const filters = appliedFilters(tab);
280
+ if (isCommonDateFilter(staged)) {
281
+ return filters.find(isDashboardCommonDateFilterOfAnyType);
282
+ }
248
283
  if ("dateFilter" in staged && staged.dateFilter) {
249
- if (!staged.dateFilter.dataSet) {
250
- return filters.find(isDashboardCommonDateFilter);
251
- }
252
284
  return filters.find((filter) => isDashboardDateFilter(filter) &&
253
285
  areObjRefsEqual(filter.dateFilter.dataSet, staged.dateFilter.dataSet));
254
286
  }
@@ -278,21 +310,22 @@ function dropStagedOverlay(tab, applied) {
278
310
  if (!filterContext || !working?.filters.length) {
279
311
  return;
280
312
  }
281
- const overlays = isDashboardDateFilter(applied)
282
- ? (item) => "dateFilter" in item &&
283
- !!item.dateFilter &&
284
- (areObjRefsEqual(item.dateFilter.dataSet, applied.dateFilter.dataSet) ||
285
- (!item.dateFilter.dataSet && !applied.dateFilter.dataSet))
286
- : (item) => !("dateFilter" in item) &&
287
- stagedLocalIdentifier(item) !== undefined &&
288
- stagedLocalIdentifier(item) === dashboardFilterLocalIdentifier(applied);
313
+ const overlays = isDashboardCommonDateFilterOfAnyType(applied)
314
+ ? (item) => isDashboardCommonDateFilterOfAnyType(item)
315
+ : isDashboardDateFilter(applied)
316
+ ? (item) => "dateFilter" in item &&
317
+ !!item.dateFilter &&
318
+ areObjRefsEqual(item.dateFilter.dataSet, applied.dateFilter.dataSet)
319
+ : (item) => !isDashboardDateFilterOfAnyType(item) &&
320
+ stagedLocalIdentifier(item) !== undefined &&
321
+ stagedLocalIdentifier(item) === dashboardFilterLocalIdentifier(applied);
289
322
  const remaining = working.filters.filter((item) => !overlays(item));
290
323
  if (remaining.length !== working.filters.length) {
291
324
  filterContext.workingFilterContextDefinition = { filters: remaining };
292
325
  }
293
326
  }
294
327
  function findAppliedFilterWithIdentityOf(tab, filter) {
295
- if (isDashboardDateFilter(filter)) {
328
+ if (isDashboardDateFilterOfAnyType(filter)) {
296
329
  return findDateCounterpart(filter, appliedFilters(tab));
297
330
  }
298
331
  const localIdentifier = dashboardFilterLocalIdentifier(filter);
@@ -313,6 +346,9 @@ function stagedLocalIdentifier(item) {
313
346
  if ("dateFilter" in item && item.dateFilter) {
314
347
  return item.dateFilter.localIdentifier;
315
348
  }
349
+ if ("dashboardAbsoluteGranularityDateFilter" in item && item.dashboardAbsoluteGranularityDateFilter) {
350
+ return item.dashboardAbsoluteGranularityDateFilter.localIdentifier;
351
+ }
316
352
  if ("dashboardMeasureValueFilter" in item && item.dashboardMeasureValueFilter) {
317
353
  return item.dashboardMeasureValueFilter.localIdentifier;
318
354
  }
@@ -372,13 +408,14 @@ function samePresentation(left, right) {
372
408
  areObjRefsEqual(left.displayAsLabel, right.displayAsLabel));
373
409
  }
374
410
  function findDateCounterpart(sourceFilter, targets) {
375
- // Check the data set directly. `isDashboardCommonDateFilter` is typed as
376
- // `obj is IDashboardDateFilter`, so using it as a guard would narrow the
377
- // remaining source to `never`.
378
- const dataSet = sourceFilter.dateFilter.dataSet;
379
- if (!dataSet) {
380
- return targets.find(isDashboardCommonDateFilter);
411
+ if (isCommonDateFilter(sourceFilter)) {
412
+ return targets.find(isDashboardCommonDateFilterOfAnyType);
381
413
  }
414
+ if (isDashboardAbsoluteGranularityDateFilter(sourceFilter) ||
415
+ isDashboardParameterizedDateFilter(sourceFilter)) {
416
+ return undefined;
417
+ }
418
+ const dataSet = sourceFilter.dateFilter.dataSet;
382
419
  return targets.find((filter) => isDashboardDateFilter(filter) && areObjRefsEqual(filter.dateFilter.dataSet, dataSet));
383
420
  }
384
421
  function findMeasureValueCounterpart(sourceFilter, targets) {
@@ -1,7 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
2
  import { createSelector } from "@reduxjs/toolkit";
3
3
  import { invariant } from "ts-invariant";
4
- import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, filterContextItemsToDashboardFiltersByWidget, isDashboardAttributeFilterItem, isDashboardCommonDateFilter, isDashboardLayout, isInsightWidget, isKpiWidget, isVisualizationSwitcherWidget, objRefToString, } from "@gooddata/sdk-model";
4
+ import { areObjRefsEqual, dashboardAttributeFilterItemLocalIdentifier, filterContextItemsToDashboardFiltersByWidget, isDashboardAttributeFilterItem, isDashboardCommonDateFilterOfAnyType, isDashboardLayout, isInsightWidget, isKpiWidget, isVisualizationSwitcherWidget, objRefToString, } from "@gooddata/sdk-model";
5
5
  import { _isEmpty, _partition } from "@gooddata/util";
6
6
  import { newMapForObjectWithIdentity } from "../../../../_staging/metadata/objRefMap.js";
7
7
  import { isInsightPlaceholderWidget, isKpiPlaceholderWidget, isPlaceholderWidget, } from "../../../../widgets/placeholders/types.js";
@@ -303,7 +303,7 @@ function calculateWidgetFilters(widget, dashboardFilters, crossFilteringFiltersL
303
303
  return true;
304
304
  })
305
305
  : [...filtersWithoutCrossFilteringFilters];
306
- const [commonDateFilters, otherFilters] = _partition(filtersWithoutAllCrossFiltering, isDashboardCommonDateFilter);
306
+ const [commonDateFilters, otherFilters] = _partition(filtersWithoutAllCrossFiltering, isDashboardCommonDateFilterOfAnyType);
307
307
  const dateFilters = filterContextItemsToDashboardFiltersByWidget(commonDateFilters, widget);
308
308
  const otherFiltersConverted = filterContextItemsToDashboardFiltersByWidget(otherFilters, widget);
309
309
  return [dateFilters, otherFiltersConverted];
@@ -1,5 +1,5 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
- import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardFilterObjRef, filterLocalIdentifier, filterObjRef, isAttributeFilter, isDashboardAttributeFilterItem, isDashboardAttributeFilterReference, isDashboardCommonDateFilter, isDashboardDateFilter, isDashboardDateFilterReference, isDashboardMeasureValueFilter, isDashboardMeasureValueFilterReference, isDateFilterOfAnyType, isInsightWidget, isMeasureValueFilter, isRankingFilter, } from "@gooddata/sdk-model";
2
+ import { areObjRefsEqual, dashboardAttributeFilterItemDisplayForm, dashboardFilterObjRef, filterLocalIdentifier, filterObjRef, isAttributeFilter, isDashboardAttributeFilterItem, isDashboardAttributeFilterReference, isDashboardCommonDateFilterOfAnyType, isDashboardDateFilter, isDashboardDateFilterReference, isDashboardMeasureValueFilter, isDashboardMeasureValueFilterReference, isDateFilterOfAnyType, isInsightWidget, isMeasureValueFilter, isRankingFilter, } from "@gooddata/sdk-model";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -7,7 +7,7 @@ export function removeIgnoredWidgetFilters(filters, widget) {
7
7
  if (!isInsightWidget(widget)) {
8
8
  return filters;
9
9
  }
10
- return filters.filter((filter) => isDashboardCommonDateFilter(filter)
10
+ return filters.filter((filter) => isDashboardCommonDateFilterOfAnyType(filter)
11
11
  ? !!widget.dateDataSet
12
12
  : !widget.ignoreDashboardFilters.some((ignoredFilter) => {
13
13
  if (isDashboardDateFilter(filter) && ignoredFilter.type === "dateFilterReference") {
@@ -1 +1 @@
1
- {"version":3,"file":"customizationBuilder.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/customizationBuilder.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,uBAAuB,EAAyB,MAAM,kCAAkC,CA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0BAA0B,CAEnD;IAEK,SAAS,QAAO,2BAA2B,CAEhD;IAEK,MAAM,QAAO,iBAAiB,CAEnC;IAEK,KAAK,QAAO,gBAAgB,CAEjC;IAEK,OAAO,QAAO,kBAAkB,CAErC;IAEK,MAAM,QAAO,0BAA0B,CAE5C;IAEK,SAAS,QAAO,oBAAoB,CAEzC;IAEK,OAAO,QAAO,kBAAkB,CAErC;IAEK,eAAe,QAAO,mBAAmB,CAE9C;IAEK,4BAA4B,QAAO,gCAAgC,CAExE;IAEK,sBAAsB,WAAY,2BAA2B,KAAG,IAAI,CAGzE;IAEK,qBAAqB,QAAO,IAAI,CAGrC;IAEK,qBAAqB,UAAW,GAAG,KAAG,IAAI,CAM/C;IAEK,KAAK,QAAO,wBAAwB,CAwDzC;IAEF,OAAO,CAAC,mBAAmB;CAoC9B"}
1
+ {"version":3,"file":"customizationBuilder.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/customizationBuilder.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,uBAAuB,EAAyB,MAAM,kCAAkC,CAAC;AACvG,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,gCAAgC,EACxC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAgBhE;;GAEG;AACH,qBAAa,6BAA8B,YAAW,oBAAoB;IACtE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsC;IAChE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoE;IAC3F,OAAO,CAAC,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ashboardAttributeFilterComponentProvider: this.filtersCustomizer
109
109
  .attribute()
110
110
  .getAttributeFilterProvider(),
111
- DashboardDateFilterComponentProvider: this.filtersCustomizer.date().getDateFilterProvider(),
111
+ DashboardDateFilterOfAnyTypeComponentProvider: this.filtersCustomizer
112
+ .date()
113
+ .getDateFilterOfAnyTypeProvider(),
112
114
  DashboardMeasureValueFilterComponentProvider: this.filtersCustomizer
113
115
  .measureValue()
114
116
  .getMeasureValueFilterProvider(),
@@ -1,4 +1,4 @@
1
- import { type DateFilterComponentProvider, type OptionalDateFilterComponentProvider } from "../../presentation/dashboardContexts/types.js";
1
+ import { type DateFilterOfAnyTypeComponentProvider, type OptionalDateFilterComponentProvider, type OptionalDateFilterOfAnyTypeComponentProvider } from "../../presentation/dashboardContexts/types.js";
2
2
  import { type IDateFiltersCustomizer } from "../customizer.js";
3
3
  import { type IDashboardCustomizationLogger } from "./customizationLogging.js";
4
4
  /**
@@ -15,9 +15,10 @@ import { type IDashboardCustomizationLogger } from "./customizationLogging.js";
15
15
  export declare class DefaultDateFiltersCustomizer implements IDateFiltersCustomizer {
16
16
  private readonly logger;
17
17
  private state;
18
- constructor(logger: IDashboardCustomizationLogger, defaultProvider?: DateFilterComponentProvider);
18
+ constructor(logger: IDashboardCustomizationLogger, defaultProvider?: DateFilterOfAnyTypeComponentProvider);
19
19
  withCustomProvider: (provider: OptionalDateFilterComponentProvider) => IDateFiltersCustomizer;
20
- getDateFilterProvider: () => DateFilterComponentProvider;
20
+ withCustomProviderOfAnyType: (provider: OptionalDateFilterOfAnyTypeComponentProvider) => IDateFiltersCustomizer;
21
+ getDateFilterOfAnyTypeProvider: () => DateFilterOfAnyTypeComponentProvider;
21
22
  sealCustomizer: () => void;
22
23
  }
23
24
  //# sourceMappingURL=dateFiltersCustomizer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dateFiltersCustomizer.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/dateFiltersCustomizer.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,2BAA2B,EAChC,KAAK,mCAAmC,EAC3C,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAsG/E;;;;;;;;;;GAUG;AACH,qBAAa,4BAA6B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,KAAK,CAA8B;IAE3C,YACI,MAAM,EAAE,6BAA6B,EACrC,eAAe,GAAE,2BAA+D,EAInF;IAEM,kBAAkB,aAAc,mCAAmC,KAAG,sBAAsB,CAIjG;IAEK,qBAAqB,QAAO,2BAA2B,CAE5D;IAEK,cAAc,QAAO,IAAI,CAE9B;CACL"}
1
+ {"version":3,"file":"dateFiltersCustomizer.d.ts","sourceRoot":"","sources":["../../../src/plugins/customizationApis/dateFiltersCustomizer.ts"],"names":[],"mappings":"AAMA,OAAO,EACH,KAAK,oCAAoC,EACzC,KAAK,mCAAmC,EACxC,KAAK,4CAA4C,EACpD,MAAM,+CAA+C,CAAC;AAIvD,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAwE/E;;;;;;;;;;GAUG;AACH,qBAAa,4BAA6B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IACvD,OAAO,CAAC,KAAK,CAA8B;IAE3C,YACI,MAAM,EAAE,6BAA6B,EACrC,eAAe,GAAE,oCAAwE,EAI5F;IAEM,kBAAkB,aAAc,mCAAmC,KAAG,sBAAsB,CAIjG;IAEK,2BAA2B,aACpB,4CAA4C,KACvD,sBAAsB,CAIvB;IAEK,8BAA8B,QAAO,oCAAoC,CAE9E;IAEK,cAAc,QAAO,IAAI,CAE9B;CACL"}
@@ -1,27 +1,29 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
2
  import { InvariantError } from "ts-invariant";
3
+ import { toDateFilterOfAnyTypeProvider } from "../../presentation/filterBar/dateFilter/dateFilterOfAnyTypeProvider.js";
3
4
  import { DefaultDashboardDateFilter } from "../../presentation/filterBar/dateFilter/DefaultDashboardDateFilter.js";
4
5
  const DefaultDateFilterRendererProvider = () => {
5
6
  return DefaultDashboardDateFilter;
6
7
  };
7
8
  class DefaultDateFiltersCustomizerState {
8
9
  /*
9
- * Chain of 'core' providers. Core providers are evaluated from last to first. As soon as some provider
10
- * returns a Component, then that component will be used for rendering. If provider returns undefined,
11
- * the evaluation continues to next provider in the chain.
10
+ * Chain of providers. Providers are evaluated from last to first. As soon as some provider returns
11
+ * a Component, then that component will be used for rendering. If provider returns undefined, the evaluation
12
+ * continues to next provider in the chain.
12
13
  *
13
- * Note: the chain is 'primed' with a provider that always returns the default DateFilter renderer. This is
14
- * essential to allow the decorations to work - purely because decorations can only work if there is
15
- * something to decorate. See constructor.
14
+ * Note: the chain is 'primed' with a provider that always returns the default DateFilter renderer.
16
15
  */
17
- coreProviderChain;
18
- /*
19
- * Core provider encapsulates resolution using the chain of core providers.
20
- */
21
- coreProvider = (dateFilter) => {
22
- const providerStack = [...this.coreProviderChain].reverse();
16
+ providerChain;
17
+ constructor(defaultProvider) {
18
+ this.providerChain = [defaultProvider];
19
+ }
20
+ addCustomProvider(provider) {
21
+ this.providerChain.push(provider);
22
+ }
23
+ resolve(filter) {
24
+ const providerStack = [...this.providerChain].reverse();
23
25
  for (const provider of providerStack) {
24
- const Component = provider(dateFilter);
26
+ const Component = provider(filter);
25
27
  if (Component) {
26
28
  return Component;
27
29
  }
@@ -29,27 +31,6 @@ class DefaultDateFiltersCustomizerState {
29
31
  // if this happens then the provider chain got messed up. by default the chain contains the default
30
32
  // provider which never returns undefined
31
33
  throw new InvariantError();
32
- };
33
- /*
34
- * Root provider is THE provider that should be used in the dashboard extension properties. The
35
- * provider function included here will reflect the setup where there may be N registered decorators
36
- * sitting on top of a chain of core providers.
37
- *
38
- * In the initial state the root provider IS the core provider - meaning no decorations. As the
39
- * decorators get registered, the rootProvider changes.
40
- */
41
- rootProvider = this.coreProvider;
42
- constructor(defaultProvider) {
43
- this.coreProviderChain = [defaultProvider];
44
- }
45
- addCustomProvider(provider) {
46
- this.coreProviderChain.push(provider);
47
- }
48
- getRootProvider() {
49
- return this.rootProvider;
50
- }
51
- switchRootProvider(provider) {
52
- this.rootProvider = provider;
53
34
  }
54
35
  }
55
36
  /**
@@ -71,11 +52,8 @@ class SealedDateFiltersCustomizerState {
71
52
  addCustomProvider = (_provider) => {
72
53
  this.logger.warn(`Attempting to customize DateFilter rendering outside of plugin registration. Ignoring.`);
73
54
  };
74
- switchRootProvider = (_provider) => {
75
- this.logger.warn(`Attempting to customize DateFilter rendering outside of plugin registration. Ignoring.`);
76
- };
77
- getRootProvider = () => {
78
- return this.state.getRootProvider();
55
+ resolve = (filter) => {
56
+ return this.state.resolve(filter);
79
57
  };
80
58
  }
81
59
  /**
@@ -97,11 +75,15 @@ export class DefaultDateFiltersCustomizer {
97
75
  this.state = new DefaultDateFiltersCustomizerState(defaultProvider);
98
76
  }
99
77
  withCustomProvider = (provider) => {
78
+ this.state.addCustomProvider(toDateFilterOfAnyTypeProvider(provider));
79
+ return this;
80
+ };
81
+ withCustomProviderOfAnyType = (provider) => {
100
82
  this.state.addCustomProvider(provider);
101
83
  return this;
102
84
  };
103
- getDateFilterProvider = () => {
104
- return this.state.getRootProvider();
85
+ getDateFilterOfAnyTypeProvider = () => {
86
+ return (filter) => this.state.resolve(filter);
105
87
  };
106
88
  sealCustomizer = () => {
107
89
  this.state = new SealedDateFiltersCustomizerState(this.logger, this.state);
@@ -4,7 +4,7 @@ import type { ICustomDashboardEvent } from "../model/events/base.js";
4
4
  import type { DashboardEvents } from "../model/events/index.js";
5
5
  import type { DashboardDispatch, DashboardState } from "../model/store/types.js";
6
6
  import type { ExtendedDashboardWidget, ICustomWidget } from "../model/types/layoutTypes.js";
7
- import type { AttributeFilterComponentProvider, DashboardContentComponentProvider, FilterBarComponentProvider, InsightComponentProvider, LayoutComponentProvider, LoadingComponentProvider, OptionalAttributeFilterComponentProvider, OptionalDashboardContentComponentProvider, OptionalDateFilterComponentProvider, OptionalFilterBarComponentProvider, OptionalFilterGroupComponentProvider, OptionalInsightBodyComponentProvider, OptionalInsightComponentProvider, OptionalLayoutComponentProvider, OptionalLoadingComponentProvider, OptionalMeasureValueFilterComponentProvider, OptionalRestrictedFiltersPlaceholderComponentProvider, OptionalRestrictedPlaceholderComponentProvider, OptionalRichTextComponentProvider, OptionalTitleComponentProvider, OptionalTopBarComponentProvider, OptionalVisualizationSwitcherComponentProvider, OptionalVisualizationSwitcherToolbarComponentProvider, RichTextComponentProvider, TitleComponentProvider, TopBarComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider } from "../presentation/dashboardContexts/types.js";
7
+ import type { AttributeFilterComponentProvider, DashboardContentComponentProvider, FilterBarComponentProvider, InsightComponentProvider, LayoutComponentProvider, LoadingComponentProvider, OptionalAttributeFilterComponentProvider, OptionalDashboardContentComponentProvider, OptionalDateFilterComponentProvider, OptionalDateFilterOfAnyTypeComponentProvider, OptionalFilterBarComponentProvider, OptionalFilterGroupComponentProvider, OptionalInsightBodyComponentProvider, OptionalInsightComponentProvider, OptionalLayoutComponentProvider, OptionalLoadingComponentProvider, OptionalMeasureValueFilterComponentProvider, OptionalRestrictedFiltersPlaceholderComponentProvider, OptionalRestrictedPlaceholderComponentProvider, OptionalRichTextComponentProvider, OptionalTitleComponentProvider, OptionalTopBarComponentProvider, OptionalVisualizationSwitcherComponentProvider, OptionalVisualizationSwitcherToolbarComponentProvider, RichTextComponentProvider, TitleComponentProvider, TopBarComponentProvider, VisualizationSwitcherComponentProvider, VisualizationSwitcherToolbarComponentProvider } from "../presentation/dashboardContexts/types.js";
8
8
  import type { CustomDashboardInsightComponent } from "../presentation/widget/insight/types.js";
9
9
  import type { CustomDashboardWidgetComponent } from "../presentation/widget/widget/types.js";
10
10
  import { type ILayoutItemPath, type ILayoutSectionPath } from "../types.js";
@@ -1140,6 +1140,21 @@ export interface IDateFiltersCustomizer {
1140
1140
  * @returns self, for call chaining sakes
1141
1141
  */
1142
1142
  withCustomProvider(provider: OptionalDateFilterComponentProvider): IDateFiltersCustomizer;
1143
+ /**
1144
+ * Register a provider for React components to render date filters of any type, including the absolute
1145
+ * date filter with granularity.
1146
+ *
1147
+ * @remarks
1148
+ * Providers registered by this method and by {@link IDateFiltersCustomizer.withCustomProvider} form one
1149
+ * chain evaluated in the order you register them. A provider registered by
1150
+ * {@link IDateFiltersCustomizer.withCustomProvider} is skipped for an absolute date filter with
1151
+ * granularity.
1152
+ *
1153
+ * @param provider - provider to register
1154
+ * @returns self, for call chaining sakes
1155
+ * @alpha
1156
+ */
1157
+ withCustomProviderOfAnyType(provider: OptionalDateFilterOfAnyTypeComponentProvider): IDateFiltersCustomizer;
1143
1158
  }
1144
1159
  /**
1145
1160
  * Set of functions you can use to customize how filter groups are rendered.
@@ -1 +1 @@
1
- {"version":3,"file":"customizer.d.ts","sourceRoot":"","sources":["../../src/plugins/customizer.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC/B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAC7G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC5F,OAAO,KAAK,EACR,gCA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C;IAElC;;OAEG;IACH,OAAO,IAAI,kBAAkB,CAAC;IAE9B;;OAEG;IACH,SAAS,IAAI,2BAA2B,CAAC;IAEzC;;OAEG;IACH,MAAM,IAAI,iBAAiB,CAAC;IAE5B;;OAEG;IACH,KAAK,IAAI,gBAAgB,CAAC;IAE1B;;OAEG;IACH,OAAO,IAAI,kBAAkB,CAAC;CACjC;AAED;;;;;;;GAOG;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;AAExG;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;;;;;;OASG;IACH,eAAe,CAAC,OAAO,SAAS,eAAe,GAAG,qBAAqB,EACnE,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,uBAAuB,CAAC,OAAO,CAAC,GAC3C,uBAAuB,CAAC;IAE3B;;;;;;;;;;;;;OAaG;IACH,kBAAkB,CAAC,OAAO,SAAS,eAAe,GAAG,qBAAqB,EACtE,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,uBAAuB,CAAC,OAAO,CAAC,GAC3C,uBAAuB,CAAC;IAE3B;;;;;;;;;OASG;IACH,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,GAAG,uBAAuB,CAAC;IAE/E;;;;;;;;;OASG;IACH,wBAAwB,CAAC,OAAO,EAAE,qBAAqB,GAAG,uBAAuB,CAAC;IAElF;;;;;;;;;;;;;;;;;OAiBG;IACH,uBAAuB,CAAC,QAAQ,EAAE,4BAA4B,GAAG,uBAAuB,CAAC;IAEzF;;;;;OAKG;IACH,2BAA2B,CAAC,QAAQ,EAAE,4BAA4B,GAAG,uBAAuB,CAAC;CAChG"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlertingConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/AlertingConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA2B1D;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAQ/F;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,IAAI,YAAY,GAAG,IAAI,CAMvD"}
1
+ {"version":3,"file":"AlertingConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/AlertingConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AA6B1D;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAQ/F;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,IAAI,YAAY,GAAG,IAAI,CAMvD"}
@@ -7,6 +7,8 @@ import { AlertingManagementDialog } from "../alerting/AlertingManagementDialog.j
7
7
  import { AlertingDialogContextProvider } from "../contexts/AlertingDialogContext.js";
8
8
  import { AlertingManagementDialogContextProvider } from "../contexts/AlertingManagementDialogContext.js";
9
9
  import { AutomationsContextProvider } from "../contexts/AutomationsContext.js";
10
+ import { AbsoluteGranularityDateFilterNotSupportedDialog } from "../shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.js";
11
+ import { useAbsoluteGranularityDateFilterBlocksAutomation } from "./hooks/useAbsoluteGranularityDateFilterBlocksAutomation.js";
10
12
  import { useAutomationManagementEditRouting } from "./hooks/useAutomationManagementEditRouting.js";
11
13
  import { useBuildAlertingDialogContext } from "./hooks/useBuildAlertingDialogContext.js";
12
14
  import { useBuildAlertingManagementDialogContext } from "./hooks/useBuildAlertingManagementDialogContext.js";
@@ -67,11 +69,22 @@ function AlertingConnectorWithData({ alerts }) {
67
69
  const managementCtx = useBuildAlertingManagementDialogContext();
68
70
  return (_jsxs(AlertingManagementDialogContextProvider, { value: managementCtx, children: [isAlertManagementDialogOpen ? (_jsx(AlertingManagementDialog, { onAdd: onAlertingManagementAdd, onEdit: handleManagementEdit, onClose: onAlertingManagementClose })) : null, isAlertDialogOpen ? (_jsx(AlertingCreateEditConnector, { alertToEdit: alertToEdit, notificationChannels: notificationChannels, widget: insightWidget, insight: insight, automationsLoading: automationsLoading, onCancel: onAlertingCancel, onCreateError: onAlertingCreateError, onCreateSuccess: onAlertingCreateSuccess, onUpdateError: onAlertingUpdateError, onUpdateSuccess: onAlertingUpdateSuccess, onDeleteSuccess: onAlertingDeleteSuccess, onDeleteError: onAlertingDeleteError })) : null] }));
69
71
  }
72
+ /**
73
+ * Shows the not-supported dialog without building the create/edit context when the dashboard filters block
74
+ * the alert.
75
+ */
76
+ function AlertingCreateEditConnector(props) {
77
+ const isBlocked = useAbsoluteGranularityDateFilterBlocksAutomation(false);
78
+ if (isBlocked) {
79
+ return (_jsx(AbsoluteGranularityDateFilterNotSupportedDialog, { automationType: "alert", onCancel: props.onCancel }));
80
+ }
81
+ return _jsx(AlertingCreateEditDialogConnector, { ...props });
82
+ }
70
83
  /**
71
84
  * Hydrates the alerting create/edit context. Lives here rather than in the parent so that opening only
72
85
  * the management dialog — which does not consume it — skips the work.
73
86
  */
74
- function AlertingCreateEditConnector(props) {
87
+ function AlertingCreateEditDialogConnector(props) {
75
88
  const { alertToEdit, notificationChannels, widget, insight, automationsLoading, onCancel, onCreateError, onCreateSuccess, onUpdateError, onUpdateSuccess, onDeleteSuccess, onDeleteError, } = props;
76
89
  const alertingCtx = useBuildAlertingDialogContext({
77
90
  mode: alertToEdit ? "edit" : "create",
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledEmailConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/ScheduledEmailConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAuCnE;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAQrG;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAM7D"}
1
+ {"version":3,"file":"ScheduledEmailConnector.d.ts","sourceRoot":"","sources":["../../../../src/presentation/automations/connectors/ScheduledEmailConnector.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAyCnE;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,YAAY,CAQrG;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAM7D"}
@@ -12,7 +12,9 @@ import { ScheduledEmailDialogContextProvider } from "../contexts/ScheduledEmailD
12
12
  import { ScheduledEmailManagementDialogContextProvider } from "../contexts/ScheduledEmailManagementDialogContext.js";
13
13
  import { ScheduledEmailDialog } from "../scheduledEmail/ScheduledEmailDialog.js";
14
14
  import { ScheduledEmailManagementDialog } from "../scheduledEmail/ScheduledEmailManagementDialog.js";
15
+ import { AbsoluteGranularityDateFilterNotSupportedDialog } from "../shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.js";
15
16
  import { getAppliedDashboardFilters } from "../shared/filters/index.js";
17
+ import { useAbsoluteGranularityDateFilterBlocksAutomation } from "./hooks/useAbsoluteGranularityDateFilterBlocksAutomation.js";
16
18
  import { useAutomationManagementEditRouting } from "./hooks/useAutomationManagementEditRouting.js";
17
19
  import { useBuildAutomationsContext } from "./hooks/useBuildAutomationsContext.js";
18
20
  import { useBuildScheduledEmailDialogContext } from "./hooks/useBuildScheduledEmailDialogContext.js";
@@ -85,11 +87,22 @@ function ScheduledEmailConnectorWithData({ se }) {
85
87
  const managementCtx = useBuildScheduledEmailManagementDialogContext({ automations, isLoading });
86
88
  return (_jsxs(ScheduledEmailManagementDialogContextProvider, { value: managementCtx, children: [isScheduleEmailingManagementDialogOpen ? (_jsx(ScheduledEmailManagementDialog, { onAdd: onScheduleEmailingManagementAdd, onEdit: handleManagementEdit, onClose: onScheduleEmailingManagementClose })) : null, isScheduleEmailingDialogOpen ? (_jsx(ScheduledEmailCreateEditConnector, { scheduledExportToEdit: scheduledExportToEdit, notificationChannels: notificationChannels, widget: insightWidget, insight: insight, dashboardFilters: dashboardFilters, isLoading: isLoading, onBack: onScheduleEmailingBack, onCancel: onScheduleEmailingCancel, onCreateError: onScheduleEmailingCreateError, onCreateSuccess: onScheduleEmailingCreateSuccess, onUpdateError: onScheduleEmailingUpdateError, onUpdateSuccess: onScheduleEmailingUpdateSuccess, onDeleteSuccess: onScheduleEmailingDeleteSuccess, onDeleteError: onScheduleEmailingDeleteError })) : null] }));
87
89
  }
90
+ /**
91
+ * Shows the not-supported dialog without building the create/edit context when the dashboard filters block
92
+ * the scheduled export.
93
+ */
94
+ function ScheduledEmailCreateEditConnector(props) {
95
+ const isBlocked = useAbsoluteGranularityDateFilterBlocksAutomation(!props.widget);
96
+ if (isBlocked) {
97
+ return (_jsx(AbsoluteGranularityDateFilterNotSupportedDialog, { automationType: "scheduledExport", onCancel: props.onCancel }));
98
+ }
99
+ return _jsx(ScheduledEmailCreateEditDialogConnector, { ...props });
100
+ }
88
101
  /**
89
102
  * Hydrates the scheduled-email create/edit context. Lives here rather than in the parent so that
90
103
  * opening only the management dialog — which does not consume it — skips the work.
91
104
  */
92
- function ScheduledEmailCreateEditConnector(props) {
105
+ function ScheduledEmailCreateEditDialogConnector(props) {
93
106
  const { scheduledExportToEdit, notificationChannels, widget, insight, dashboardFilters, isLoading, onBack, onCancel, onCreateError, onCreateSuccess, onUpdateError, onUpdateSuccess, onDeleteSuccess, onDeleteError, } = props;
94
107
  const seCtx = useBuildScheduledEmailDialogContext({
95
108
  widget,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Whether the filters the automation dialog would use contain an absolute date filter with granularity, which
3
+ * automations do not support yet. A widget automation uses the active tab, a dashboard export any tab.
4
+ *
5
+ * @internal
6
+ */
7
+ export declare function useAbsoluteGranularityDateFilterBlocksAutomation(isDashboardExport: boolean): boolean;
8
+ //# sourceMappingURL=useAbsoluteGranularityDateFilterBlocksAutomation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAbsoluteGranularityDateFilterBlocksAutomation.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/connectors/hooks/useAbsoluteGranularityDateFilterBlocksAutomation.ts"],"names":[],"mappings":"AAUA;;;;;GAKG;AACH,wBAAgB,gDAAgD,CAAC,iBAAiB,EAAE,OAAO,GAAG,OAAO,CAMpG"}
@@ -0,0 +1,16 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { isDashboardAbsoluteGranularityDateFilter } from "@gooddata/sdk-model";
3
+ import { useDashboardSelector } from "../../../../model/react/DashboardStoreProvider.js";
4
+ import { selectFilterContextFilters, selectFiltersByTab, } from "../../../../model/store/tabs/filterContext/filterContextSelectors.js";
5
+ /**
6
+ * Whether the filters the automation dialog would use contain an absolute date filter with granularity, which
7
+ * automations do not support yet. A widget automation uses the active tab, a dashboard export any tab.
8
+ *
9
+ * @internal
10
+ */
11
+ export function useAbsoluteGranularityDateFilterBlocksAutomation(isDashboardExport) {
12
+ const activeTabFilters = useDashboardSelector(selectFilterContextFilters);
13
+ const filtersByTab = useDashboardSelector(selectFiltersByTab);
14
+ const filters = isDashboardExport ? Object.values(filtersByTab).flat() : activeTabFilters;
15
+ return filters.some(isDashboardAbsoluteGranularityDateFilter);
16
+ }
@@ -0,0 +1,13 @@
1
+ interface IAbsoluteGranularityDateFilterNotSupportedDialogProps {
2
+ automationType: "alert" | "scheduledExport";
3
+ onCancel?: () => void;
4
+ }
5
+ /**
6
+ * Shown in place of the automation dialog while automations do not support the absolute date filter
7
+ * with granularity.
8
+ *
9
+ * @internal
10
+ */
11
+ export declare function AbsoluteGranularityDateFilterNotSupportedDialog({ automationType, onCancel, }: IAbsoluteGranularityDateFilterNotSupportedDialogProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=AbsoluteGranularityDateFilterNotSupportedDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AbsoluteGranularityDateFilterNotSupportedDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/components/AbsoluteGranularityDateFilterNotSupportedDialog.tsx"],"names":[],"mappings":"AAgBA,UAAU,qDAAqD;IAC3D,cAAc,EAAE,OAAO,GAAG,iBAAiB,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,+CAA+C,CAAC,EAC5D,cAAc,EACd,QAAQ,GACX,EAAE,qDAAqD,2CAmCvD"}
@@ -0,0 +1,29 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import { useIntl } from "react-intl";
4
+ import { ConfirmDialogBase, Overlay, OverlayController, OverlayControllerProvider, useId, } from "@gooddata/sdk-ui-kit";
5
+ import { DASHBOARD_DIALOG_OVERS_Z_INDEX } from "../../../constants/zIndex.js";
6
+ const overlayController = OverlayController.getInstance(DASHBOARD_DIALOG_OVERS_Z_INDEX);
7
+ /**
8
+ * Shown in place of the automation dialog while automations do not support the absolute date filter
9
+ * with granularity.
10
+ *
11
+ * @internal
12
+ */
13
+ export function AbsoluteGranularityDateFilterNotSupportedDialog({ automationType, onCancel, }) {
14
+ const intl = useIntl();
15
+ const titleElementId = useId();
16
+ return (_jsx(Overlay, { className: "gd-notifications-channels-dialog-overlay", isModal: true, positionType: "fixed", children: _jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialogBase, { className: "gd-notifications-channels-dialog s-absolute-granularity-date-filter-not-supported-dialog", headline: automationType === "alert"
17
+ ? intl.formatMessage({
18
+ id: "dialogs.automation.absoluteGranularityDateFilter.alert.title",
19
+ })
20
+ : intl.formatMessage({
21
+ id: "dialogs.automation.absoluteGranularityDateFilter.scheduledExport.title",
22
+ }), cancelButtonText: intl.formatMessage({ id: "close" }), onCancel: onCancel, accessibilityConfig: { titleElementId }, children: _jsx("div", { className: "gd-notifications-channel-dialog-content-wrapper", children: automationType === "alert"
23
+ ? intl.formatMessage({
24
+ id: "dialogs.automation.absoluteGranularityDateFilter.alert.description",
25
+ })
26
+ : intl.formatMessage({
27
+ id: "dialogs.automation.absoluteGranularityDateFilter.scheduledExport.description",
28
+ }) }) }) }) }));
29
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"filterUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/exportUtils/filterUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAA+B,MAAM,qBAAqB,CAAC;AAU1F,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,iBAAiB,EAAE,CAI9F"}
1
+ {"version":3,"file":"filterUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/exportUtils/filterUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAwC,MAAM,qBAAqB,CAAC;AAUnG,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG,iBAAiB,EAAE,CAM9F"}
@@ -1,5 +1,5 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { isDashboardCommonDateFilter } from "@gooddata/sdk-model";
2
+ import { isDashboardCommonDateFilterOfAnyType } from "@gooddata/sdk-model";
3
3
  // the value is taken from gdc-dashboards
4
4
  const allTimeFilterContextItem = {
5
5
  dateFilter: {
@@ -10,5 +10,7 @@ const allTimeFilterContextItem = {
10
10
  export function ensureAllTimeFilterForExport(filters) {
11
11
  // if there is no date filter, add an "all time" filter so that in case the dashboard is saved with some
12
12
  // date filter, it is overridden to All time for the purpose of the export
13
- return filters.some(isDashboardCommonDateFilter) ? filters : [allTimeFilterContextItem, ...filters];
13
+ return filters.some(isDashboardCommonDateFilterOfAnyType)
14
+ ? filters
15
+ : [allTimeFilterContextItem, ...filters];
14
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EAKb,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAcxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,eAC/B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,GAAG,SAcxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF;IAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAAC,kBAAkB,EAAE,iBAAiB,EAAE,GAAG,SAAS,CAAA;CAwBhG,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAMd,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC;AAEF,eAAO,MAAM,6CAA6C,sBACnC,MAAM,KAC1B,oBAOF,CAAC"}
1
+ {"version":3,"file":"automationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/shared/utils/automationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EAEzB,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,KAAK,EAKb,MAAM,qBAAqB,CAAC;AAM7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAW1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,YAO1F,CA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