@gooddata/sdk-ui-dashboard 11.56.0 → 11.57.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/NOTICE +16 -16
  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/sharedHooks/useRichTextFilters.js +2 -2
  6. package/esm/index.d.ts +5 -3
  7. package/esm/index.d.ts.map +1 -1
  8. package/esm/index.js +4 -2
  9. package/esm/locales.d.ts +2 -2
  10. package/esm/locales.d.ts.map +1 -1
  11. package/esm/locales.js +2 -2
  12. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  13. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +14 -4
  14. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.d.ts.map +1 -1
  15. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js +3 -3
  16. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +3 -3
  18. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -1
  19. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +3 -3
  20. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.js +9 -4
  22. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +1 -1
  23. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -1
  25. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +13 -3
  26. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -1
  27. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +19 -5
  28. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +2 -2
  29. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
  30. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +3 -2
  31. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
  32. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +11 -1
  33. package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js +2 -2
  34. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
  35. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +3 -2
  36. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -1
  37. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +3 -3
  38. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +2 -2
  39. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js +3 -3
  40. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts +2 -2
  41. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js +5 -5
  42. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.d.ts +2 -2
  43. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.js +3 -3
  44. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.d.ts +2 -2
  45. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js +5 -5
  46. package/esm/model/react/useWidgetFilters.js +2 -2
  47. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts +34 -0
  48. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
  49. package/esm/model/store/filtering/dashboardFilterSelectors.js +62 -3
  50. package/esm/model/store/filtering/restrictedFilterUtils.d.ts +5 -0
  51. package/esm/model/store/filtering/restrictedFilterUtils.d.ts.map +1 -0
  52. package/esm/model/store/filtering/restrictedFilterUtils.js +22 -0
  53. package/esm/model/store/filtering/types.d.ts +1 -1
  54. package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
  55. package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
  56. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +9 -1
  57. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -1
  58. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +14 -0
  59. package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
  60. package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
  61. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts +4 -2
  62. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
  63. package/esm/plugins/customizationApis/filterBarCustomizer.js +42 -3
  64. package/esm/plugins/customizer.d.ts +13 -1
  65. package/esm/plugins/customizer.d.ts.map +1 -1
  66. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +10 -10
  67. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +10 -10
  68. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +1 -1
  69. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.js +1 -1
  70. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +1 -1
  71. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.js +1 -1
  72. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +1 -1
  73. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.js +1 -1
  74. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +3 -2
  75. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -1
  76. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +1 -2
  77. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +3 -2
  78. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -1
  79. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +1 -2
  80. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +1 -1
  81. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.js +1 -1
  82. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +1 -1
  83. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.js +2 -2
  84. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +1 -1
  85. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.js +1 -1
  86. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +3 -2
  87. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -1
  88. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +1 -2
  89. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +1 -1
  90. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.js +1 -1
  91. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +1 -1
  92. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.js +1 -1
  93. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +1 -1
  94. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.js +1 -1
  95. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +1 -1
  96. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.js +1 -1
  97. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
  98. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +1 -1
  99. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +4 -3
  100. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -1
  101. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +1 -2
  102. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +1 -1
  103. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +1 -1
  104. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +1 -1
  105. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +1 -1
  106. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +1 -1
  107. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +1 -1
  108. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +3 -2
  109. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -1
  110. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +1 -1
  111. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +3 -2
  112. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -1
  113. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +1 -2
  114. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +1 -1
  115. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +1 -1
  116. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +1 -1
  117. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +1 -1
  118. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +1 -1
  119. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +1 -1
  120. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +1 -1
  121. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +1 -1
  122. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +3 -2
  123. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -1
  124. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +1 -1
  125. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +1 -1
  126. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +1 -1
  127. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +3 -3
  128. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +3 -3
  129. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +1 -1
  130. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +1 -1
  131. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +1 -1
  132. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +1 -1
  133. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +1 -1
  134. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +1 -1
  135. package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts +1 -1
  136. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
  137. package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
  138. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
  139. package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
  140. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
  141. package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
  142. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
  143. package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
  144. package/esm/presentation/automations/alerting/state/types.d.ts +8 -8
  145. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +1 -1
  146. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
  147. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +1 -1
  148. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +1 -1
  149. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +1 -1
  150. package/esm/presentation/automations/alerting/state/useAlertSubmit.js +1 -1
  151. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +9 -9
  152. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +9 -9
  153. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +7 -7
  154. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +5 -5
  155. package/esm/presentation/automations/alerting/types.d.ts +31 -28
  156. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  157. package/esm/presentation/automations/alerting/types.js +1 -1
  158. package/esm/presentation/automations/alerting/utils/getters.d.ts +1 -1
  159. package/esm/presentation/automations/connectors/AlertingConnector.js +2 -2
  160. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.d.ts +1 -1
  161. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.js +1 -1
  162. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +2 -2
  163. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +3 -3
  164. package/esm/presentation/automations/contexts/AlertingDialogContext.js +2 -2
  165. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +5 -5
  166. package/esm/presentation/automations/contexts/AutomationsContext.js +2 -2
  167. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +3 -3
  168. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +2 -2
  169. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +11 -11
  170. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +11 -11
  171. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +1 -1
  172. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +1 -1
  173. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +3 -2
  174. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -1
  175. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +1 -1
  176. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +1 -1
  177. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +1 -1
  178. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +3 -2
  179. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -1
  180. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +1 -2
  181. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +1 -1
  182. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.js +2 -2
  183. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +1 -1
  184. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +1 -1
  185. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +3 -2
  186. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -1
  187. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +1 -1
  188. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +1 -1
  189. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +1 -1
  190. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +1 -1
  191. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +1 -1
  192. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +3 -2
  193. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -1
  194. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js +1 -2
  195. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +1 -1
  196. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +1 -1
  197. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts +1 -1
  198. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +1 -1
  199. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +4 -3
  200. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -1
  201. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +1 -2
  202. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +1 -1
  203. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +1 -1
  204. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +3 -2
  205. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -1
  206. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +1 -1
  207. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +1 -1
  208. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +1 -1
  209. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +3 -2
  210. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -1
  211. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +1 -2
  212. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +1 -1
  213. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +1 -1
  214. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +1 -1
  215. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +1 -1
  216. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +3 -2
  217. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -1
  218. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +1 -2
  219. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +1 -1
  220. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +1 -1
  221. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +3 -3
  222. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +3 -3
  223. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +1 -1
  224. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +1 -1
  225. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +3 -2
  226. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -1
  227. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +1 -2
  228. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +1 -1
  229. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js +1 -1
  230. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
  231. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
  232. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
  233. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
  234. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
  235. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
  236. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
  237. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
  238. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +8 -8
  239. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +1 -1
  240. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +1 -1
  241. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +8 -8
  242. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +6 -6
  243. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +9 -9
  244. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
  245. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +2 -2
  246. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +1 -1
  247. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +1 -1
  248. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
  249. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +1 -1
  250. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
  251. package/esm/presentation/automations/scheduledEmail/types.d.ts +25 -22
  252. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  253. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +1 -1
  254. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +2 -2
  255. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.js +1 -1
  256. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +1 -1
  257. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.js +1 -1
  258. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +1 -1
  259. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.js +1 -1
  260. package/esm/presentation/automations/shared/slots/types.d.ts +9 -7
  261. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  262. package/esm/presentation/automations/shared/types.d.ts +2 -2
  263. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  264. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +3 -1
  265. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +1 -1
  266. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts.map +1 -1
  267. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +2 -1
  268. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts +2 -1
  269. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts.map +1 -1
  270. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.js +2 -2
  271. package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.d.ts.map +1 -1
  272. package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts +8 -0
  273. package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts.map +1 -0
  274. package/esm/presentation/dashboard/components/DashboardContractExpired.js +25 -0
  275. package/esm/presentation/dashboard/components/DashboardLoading.d.ts.map +1 -1
  276. package/esm/presentation/dashboard/components/DashboardLoading.js +13 -2
  277. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  278. package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
  279. package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts +13 -0
  280. package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts.map +1 -0
  281. package/esm/presentation/dashboard/components/contractExpiredIcons.js +15 -0
  282. package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
  283. package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
  284. package/esm/presentation/dashboard/hooks/useDashboard.js +7 -1
  285. package/esm/presentation/dashboard/types.d.ts +12 -1
  286. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  287. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
  288. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  289. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
  290. package/esm/presentation/dashboardContexts/types.d.ts +20 -0
  291. package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
  292. package/esm/presentation/dragAndDrop/types.d.ts +1 -0
  293. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  294. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +2 -2
  295. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
  296. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +7 -3
  297. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
  298. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +11 -1
  299. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.d.ts.map +1 -1
  300. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.js +3 -1
  301. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  302. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +13 -4
  303. package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
  304. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +10 -3
  305. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.d.ts.map +1 -1
  306. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +13 -0
  307. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  308. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +5 -2
  309. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.d.ts.map +1 -1
  310. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +10 -5
  311. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts +14 -0
  312. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts.map +1 -0
  313. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.js +11 -0
  314. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
  315. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -1
  316. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  317. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +3 -1
  318. package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
  319. package/esm/presentation/insightList/InsightList.js +3 -1
  320. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +28 -0
  321. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  322. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +28 -0
  323. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -1
  324. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +3 -1
  325. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
  326. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +4 -1
  327. package/esm/presentation/widget/description/types.d.ts +2 -1
  328. package/esm/presentation/widget/description/types.d.ts.map +1 -1
  329. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
  330. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +3 -1
  331. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.d.ts.map +1 -1
  332. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js +4 -1
  333. package/esm/presentation/widget/richText/EditModeDashboardRichText.d.ts.map +1 -1
  334. package/esm/presentation/widget/richText/EditModeDashboardRichText.js +3 -1
  335. package/esm/presentation/widget/richText/ViewModeDashboardRichText.d.ts.map +1 -1
  336. package/esm/presentation/widget/richText/ViewModeDashboardRichText.js +3 -1
  337. package/esm/sdk-ui-dashboard.d.ts +366 -246
  338. package/esm/types.d.ts +1 -1
  339. package/package.json +22 -22
  340. package/styles/css/dashboard.css +8 -0
  341. package/styles/css/dashboard.css.map +1 -1
  342. package/styles/css/filterBar.css +23 -0
  343. package/styles/css/filterBar.css.map +1 -1
  344. package/styles/css/main.css +42 -0
  345. package/styles/css/main.css.map +1 -1
  346. package/styles/scss/dashboard.scss +8 -0
  347. package/styles/scss/filterBar.scss +30 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stateInitializers.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/stateInitializers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAEH,KAAK,mCAAmC,EACxC,KAAK,UAAU,EACf,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EAKpC,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EAEtB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EAGd,KAAK,MAAM,EAOd,MAAM,qBAAqB,CAAC;AAc7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAe5E,OAAO,EACH,KAAK,gBAAgB,EAGxB,MAAM,+BAA+B,CAAC;AAsJvC,wBAAiB,+BAA+B,CAC5C,GAAG,EAAE,gBAAgB,EACrB,QAAQ,EAAE,SAAS,EACnB,gBAAgB,EAAE,iBAAiB,EACnC,YAAY,CAAC,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC7D,YAAY,CAAC,EAAE,MAAM,EACrB,mBAAmB,GAAE,wBAAwB,EAAO,GACrD,YAAY,CAAC;IACZ,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;IACvC,SAAS,EAAE,UAAU,GAAG,SAAS,CAAC;IAClC,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACxB,CAAC,CAuGD;AA8ID,wBAAgB,YAAY,CACxB,GAAG,EAAE,gBAAgB,EACrB,WAAW,EAAE,MAAM,EAAE,GACtB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAInC;AAmFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAiB,oCAAoC,CACjD,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,QAAQ,EAAE,EACpB,QAAQ,EAAE,SAAS,EACnB,0CAA0C,EAAE,OAAO,EACnD,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,CAAC,GAAG,SAAS,EAEjG,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,EACjF,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,+BAA+B,EAAE,CAAC,EACjF,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAC/D,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW,CAAC,EACrE,YAAY,CAAC,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC7D,kBAAkB,CAAC,EAAE,UAAU,EAC/B,wBAAwB,CAAC,EAAE,MAAM,EACjC,mBAAmB,GAAE,wBAAwB,EAAO,GACrD,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAkNzC"}
1
+ {"version":3,"file":"stateInitializers.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/common/stateInitializers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAEH,KAAK,mCAAmC,EACxC,KAAK,UAAU,EACf,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EAKpC,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EAEtB,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EAGd,KAAK,MAAM,EAOd,MAAM,qBAAqB,CAAC;AAc7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAoB5E,OAAO,EACH,KAAK,gBAAgB,EAGxB,MAAM,+BAA+B,CAAC;AA4JvC,wBAAiB,+BAA+B,CAC5C,GAAG,EAAE,gBAAgB,EACrB,QAAQ,EAAE,SAAS,EACnB,gBAAgB,EAAE,iBAAiB,EACnC,YAAY,CAAC,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC7D,YAAY,CAAC,EAAE,MAAM,EACrB,mBAAmB,GAAE,wBAAwB,EAAO,GACrD,YAAY,CAAC;IACZ,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;IACvC,SAAS,EAAE,UAAU,GAAG,SAAS,CAAC;IAClC,QAAQ,EAAE,QAAQ,EAAE,CAAC;CACxB,CAAC,CAuGD;AAwJD,wBAAgB,YAAY,CACxB,GAAG,EAAE,gBAAgB,EACrB,WAAW,EAAE,MAAM,EAAE,GACtB,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAInC;AA6FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAiB,oCAAoC,CACjD,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,UAAU,EACrB,QAAQ,EAAE,QAAQ,EAAE,EACpB,QAAQ,EAAE,SAAS,EACnB,0CAA0C,EAAE,OAAO,EACnD,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,CAAC,GAAG,SAAS,EAEjG,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,EACjF,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,+BAA+B,EAAE,CAAC,EACjF,4BAA4B,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,EAC/D,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW,CAAC,EACrE,YAAY,CAAC,EAAE,SAAS,CAAC,mCAAmC,CAAC,EAC7D,kBAAkB,CAAC,EAAE,UAAU,EAC/B,wBAAwB,CAAC,EAAE,MAAM,EACjC,mBAAmB,GAAE,wBAAwB,EAAO,GACrD,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAkNzC"}
@@ -11,6 +11,7 @@ import { DEFAULT_FISCAL_DATE_FILTER_PRESET } from "../../../../_staging/dateFilt
11
11
  import { configHasFiscalPresets } from "../../../../_staging/dateFilterConfig/validation.js";
12
12
  import { getPrivateContext } from "../../../store/_infra/contexts.js";
13
13
  import { drillActions } from "../../../store/drill/index.js";
14
+ import { isDashboardFilterRestricted, isDashboardObjectRestricted, } from "../../../store/filtering/restrictedFilterUtils.js";
14
15
  import { insightsActions } from "../../../store/insights/index.js";
15
16
  import { metaActions } from "../../../store/meta/index.js";
16
17
  import { selectIsNewDashboard } from "../../../store/meta/metaSelectors.js";
@@ -20,6 +21,7 @@ import { selectScreen } from "../../../store/tabs/layout/layoutSelectors.js";
20
21
  import { layoutInitialState } from "../../../store/tabs/layout/layoutState.js";
21
22
  import { DEFAULT_TAB_ID } from "../../../store/tabs/tabsState.js";
22
23
  import { uiActions } from "../../../store/ui/index.js";
24
+ import { selectUnavailableObjects } from "../../../store/unavailableObjects/unavailableObjectsSelectors.js";
23
25
  import { resolveFilterDisplayForms } from "../../../utils/filterResolver.js";
24
26
  import { EmptyDashboardLayout, dashboardInitialize } from "./dashboardInitialize.js";
25
27
  import { loadAvailableDisplayFormRefs } from "./loadAvailableDisplayFormRefs.js";
@@ -65,8 +67,9 @@ function* processExistingTabFilterContext(ctx, tab, effectiveDateFilterConfig, d
65
67
  : filterContextDefinition;
66
68
  // Get display as labels for display form resolution
67
69
  const displayAsLabels = getDisplayAsLabels(tab.attributeFilterConfigs);
70
+ const unavailableObjects = yield select(selectUnavailableObjects);
68
71
  // Resolve display forms for filters
69
- const attributeFilterDisplayForms = yield call(resolveFilterDisplayForms, ctx, migratedFilterContext.filters, displayAsLabels, displayForms);
72
+ const attributeFilterDisplayForms = yield call(resolveFilterDisplayForms, ctx, migratedFilterContext.filters.filter((filter) => !isDashboardFilterRestricted(filter, unavailableObjects)), displayAsLabels.filter((displayForm) => !isDashboardObjectRestricted(displayForm, "displayForm", unavailableObjects)), displayForms);
70
73
  // Return the complete FilterContextState for this tab
71
74
  return [
72
75
  {
@@ -250,8 +253,9 @@ function* actionsToInitializeOrFillNewDashboard(ctx, settings, dateFilterConfig,
250
253
  ? dashboardFilterContextIdentity(customizedDashboard)
251
254
  : undefined;
252
255
  const displayAsLabels = getDisplayAsLabels(effectiveAttributeFilterConfigs);
256
+ const unavailableObjects = yield select(selectUnavailableObjects);
253
257
  // load DFs for both filter refs and displayAsLabels
254
- const attributeFilterDisplayForms = yield call(resolveFilterDisplayForms, ctx, filterContextDefinition.filters, displayAsLabels, displayForms);
258
+ const attributeFilterDisplayForms = yield call(resolveFilterDisplayForms, ctx, filterContextDefinition.filters.filter((filter) => !isDashboardFilterRestricted(filter, unavailableObjects)), displayAsLabels.filter((displayForm) => !isDashboardObjectRestricted(displayForm, "displayForm", unavailableObjects)), displayForms);
255
259
  /*
256
260
  * NOTE: cannot do without the cast here. The layout in IDashboard is parameterized with IDashboardWidget
257
261
  * which also includes KPI and Insight widget definitions = those without identity. That is however
@@ -272,7 +276,10 @@ function* actionsToInitializeOrFillNewDashboard(ctx, settings, dateFilterConfig,
272
276
  initialContent: !!ctx.config?.initialContent,
273
277
  };
274
278
  }
275
- const keepOnlyFiltersWithValidRef = (filter, availableDfRefs, validDataSetIds) => {
279
+ const keepOnlyFiltersWithValidRef = (filter, availableDfRefs, validDataSetIds, unavailableObjects) => {
280
+ if (isDashboardFilterRestricted(filter, unavailableObjects)) {
281
+ return true;
282
+ }
276
283
  if (!isDashboardAttributeFilter(filter)) {
277
284
  if (isDashboardDateFilterWithDimension(filter)) {
278
285
  return (isIdentifierRef(filter.dateFilter.dataSet) &&
@@ -294,8 +301,10 @@ function* sanitizeFilterContext(ctx, filterContext, dataSets = [], displayForms)
294
301
  if (!filterContext || isEmpty(filterContext.filters)) {
295
302
  return filterContext;
296
303
  }
304
+ const unavailableObjects = yield select(selectUnavailableObjects);
297
305
  const usedFilterDisplayForms = filterContext.filters
298
306
  .filter(isDashboardAttributeFilter)
307
+ .filter((filter) => !isDashboardFilterRestricted(filter, unavailableObjects))
299
308
  .map((f) => f.attributeFilter.displayForm);
300
309
  // With enableDashboardPartialRendering on, the unavailableObjects store already knows which of
301
310
  // these display forms are missing (resolved from the filter-context labels), so the lookups
@@ -323,6 +332,7 @@ function* sanitizeFilterContext(ctx, filterContext, dataSets = [], displayForms)
323
332
  const additionalDateFilters = filterContext.filters
324
333
  .filter((filter) => !isDashboardAttributeFilter(filter))
325
334
  .filter(isDashboardDateFilterWithDimension)
335
+ .filter((filter) => !isDashboardFilterRestricted(filter, unavailableObjects))
326
336
  .map((filter) => filter.dateFilter.dataSet);
327
337
  // check which are missing and load them
328
338
  const missingDataSets = additionalDateFilters
@@ -332,7 +342,7 @@ function* sanitizeFilterContext(ctx, filterContext, dataSets = [], displayForms)
332
342
  const resolvedDataSetsIds = [...dataSets, ...loadedMissing].map((dataSet) => dataSet.id);
333
343
  const updatedFilterContext = cloneDeep(filterContext);
334
344
  update(updatedFilterContext, "filters", (filters) => filters.filter((filter) => {
335
- return keepOnlyFiltersWithValidRef(filter, availableRefs, resolvedDataSetsIds);
345
+ return keepOnlyFiltersWithValidRef(filter, availableRefs, resolvedDataSetsIds, unavailableObjects);
336
346
  }));
337
347
  return updatedFilterContext;
338
348
  }
@@ -1 +1 @@
1
- {"version":3,"file":"exportDashboardToPdfHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportDashboardToPdfHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EACH,KAAK,6BAA6B,EAGrC,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,wBAAiB,2BAA2B,CACxC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,6BAA6B,CAAC,CA8D7C"}
1
+ {"version":3,"file":"exportDashboardToPdfHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportDashboardToPdfHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EACH,KAAK,6BAA6B,EAGrC,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,wBAAiB,2BAA2B,CACxC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,qBAAqB,GAC3B,YAAY,CAAC,6BAA6B,CAAC,CAiE7C"}
@@ -4,8 +4,8 @@ import { ensureAllTimeFilterForExport } from "../../../_staging/exportUtils/filt
4
4
  import { dashboardExportToPdfRequested, dashboardExportToPdfResolved, } from "../../events/dashboard.js";
5
5
  import { invalidArgumentsProvided } from "../../events/general.js";
6
6
  import { selectExportResultPollingTimeout } from "../../store/config/configSelectors.js";
7
+ import { selectExecutableDashboardFilters, selectExecutableDashboardFiltersByTab, } from "../../store/filtering/dashboardFilterSelectors.js";
7
8
  import { selectDashboardRef, selectEffectiveDashboardTimezone } from "../../store/meta/metaSelectors.js";
8
- import { selectFilterContextFilters, selectFiltersByTab, } from "../../store/tabs/filterContext/filterContextSelectors.js";
9
9
  import { selectExportEffectiveParameters } from "../../store/tabs/parameters/parametersSelectors.js";
10
10
  function exportDashboardToPdf(ctx, dashboardRef, filters, filtersByTab, options) {
11
11
  const { backend, workspace } = ctx;
@@ -20,8 +20,8 @@ export function* exportDashboardToPdfHandler(ctx, cmd) {
20
20
  if (!dashboardRef) {
21
21
  throw invalidArgumentsProvided(ctx, cmd, "Dashboard to export to PDF must have an ObjRef.");
22
22
  }
23
- const filterContextFilters = yield select(selectFilterContextFilters);
24
- const filtersByTab = yield select(selectFiltersByTab);
23
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
24
+ const filtersByTab = yield select(selectExecutableDashboardFiltersByTab);
25
25
  const effectiveFilters = ensureAllTimeFilterForExport(filterContextFilters);
26
26
  const effectiveFiltersByTab = Object.entries(filtersByTab).reduce((acc, [tabId, filters]) => {
27
27
  acc[tabId] = ensureAllTimeFilterForExport(filters);
@@ -1 +1 @@
1
- {"version":3,"file":"exportDashboardToPdfPresentationHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,EACH,KAAK,yCAAyC,EAGjD,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,wBAAiB,uCAAuC,CACpD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iCAAiC,GACvC,YAAY,CAAC,yCAAyC,CAAC,CAoEzD"}
1
+ {"version":3,"file":"exportDashboardToPdfPresentationHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,EACH,KAAK,yCAAyC,EAGjD,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,wBAAiB,uCAAuC,CACpD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iCAAiC,GACvC,YAAY,CAAC,yCAAyC,CAAC,CAuEzD"}
@@ -4,8 +4,8 @@ import { ensureAllTimeFilterForExport } from "../../../_staging/exportUtils/filt
4
4
  import { dashboardExportToPdfPresentationRequested, dashboardExportToPdfPresentationResolved, } from "../../events/dashboard.js";
5
5
  import { invalidArgumentsProvided } from "../../events/general.js";
6
6
  import { selectExportResultPollingTimeout } from "../../store/config/configSelectors.js";
7
+ import { selectExecutableDashboardFilters, selectExecutableDashboardFiltersByTab, } from "../../store/filtering/dashboardFilterSelectors.js";
7
8
  import { selectDashboardRef, selectEffectiveDashboardTimezone } from "../../store/meta/metaSelectors.js";
8
- import { selectFilterContextFilters, selectFiltersByTab, } from "../../store/tabs/filterContext/filterContextSelectors.js";
9
9
  import { selectExportEffectiveParameters } from "../../store/tabs/parameters/parametersSelectors.js";
10
10
  function exportDashboardToPdfPresentation(ctx, dashboardRef, filters, filtersByTab, options) {
11
11
  const { backend, workspace } = ctx;
@@ -20,8 +20,8 @@ export function* exportDashboardToPdfPresentationHandler(ctx, cmd) {
20
20
  if (!dashboardRef) {
21
21
  throw invalidArgumentsProvided(ctx, cmd, "Dashboard to export to PDF presentation must have an ObjRef.");
22
22
  }
23
- const filterContextFilters = yield select(selectFilterContextFilters);
24
- const filtersByTab = yield select(selectFiltersByTab);
23
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
24
+ const filtersByTab = yield select(selectExecutableDashboardFiltersByTab);
25
25
  const effectiveFilters = ensureAllTimeFilterForExport(cmd.payload?.filters ?? filterContextFilters);
26
26
  const effectiveFiltersByTab = Object.entries(filtersByTab).reduce((acc, [tabId, filters]) => {
27
27
  acc[tabId] = ensureAllTimeFilterForExport(filters);
@@ -1 +1 @@
1
- {"version":3,"file":"exportDashboardToPptPresentationHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,EACH,KAAK,yCAAyC,EAGjD,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,wBAAiB,uCAAuC,CACpD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iCAAiC,GACvC,YAAY,CAAC,yCAAyC,CAAC,CAgEzD"}
1
+ {"version":3,"file":"exportDashboardToPptPresentationHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,EACH,KAAK,yCAAyC,EAGjD,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiBnE,wBAAiB,uCAAuC,CACpD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iCAAiC,GACvC,YAAY,CAAC,yCAAyC,CAAC,CAmEzD"}
@@ -4,8 +4,8 @@ import { ensureAllTimeFilterForExport } from "../../../_staging/exportUtils/filt
4
4
  import { dashboardExportToPptPresentationRequested, dashboardExportToPptPresentationResolved, } from "../../events/dashboard.js";
5
5
  import { invalidArgumentsProvided } from "../../events/general.js";
6
6
  import { selectExportResultPollingTimeout } from "../../store/config/configSelectors.js";
7
+ import { selectExecutableDashboardFilters, selectExecutableDashboardFiltersByTab, } from "../../store/filtering/dashboardFilterSelectors.js";
7
8
  import { selectDashboardRef, selectEffectiveDashboardTimezone } from "../../store/meta/metaSelectors.js";
8
- import { selectFilterContextFilters, selectFiltersByTab, } from "../../store/tabs/filterContext/filterContextSelectors.js";
9
9
  import { selectExportEffectiveParameters } from "../../store/tabs/parameters/parametersSelectors.js";
10
10
  function exportDashboardToPptPresentation(ctx, dashboardRef, filters, filtersByTab, options) {
11
11
  const { backend, workspace } = ctx;
@@ -20,8 +20,8 @@ export function* exportDashboardToPptPresentationHandler(ctx, cmd) {
20
20
  if (!dashboardRef) {
21
21
  throw invalidArgumentsProvided(ctx, cmd, "Dashboard to export to PPT must have an ObjRef.");
22
22
  }
23
- const filterContextFilters = yield select(selectFilterContextFilters);
24
- const filtersByTab = yield select(selectFiltersByTab);
23
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
24
+ const filtersByTab = yield select(selectExecutableDashboardFiltersByTab);
25
25
  const effectiveFilters = ensureAllTimeFilterForExport(cmd.payload?.filters ?? filterContextFilters);
26
26
  const effectiveFiltersByTab = Object.entries(filtersByTab).reduce((acc, [tabId, filters]) => {
27
27
  acc[tabId] = ensureAllTimeFilterForExport(filters);
@@ -1 +1 @@
1
- {"version":3,"file":"exportToTabularHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportToTabularHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EACH,KAAK,+BAA+B,EAGvC,MAAM,2BAA2B,CAAC;AAcnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAsCnE,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,+BAA+B,CAAC,CA4D/C"}
1
+ {"version":3,"file":"exportToTabularHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/dashboard/exportToTabularHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,EACH,KAAK,+BAA+B,EAGvC,MAAM,2BAA2B,CAAC;AAenC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAsCnE,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,+BAA+B,CAAC,CAsE/C"}
@@ -3,9 +3,9 @@ import { call, put, select } from "redux-saga/effects";
3
3
  import { dashboardExportToExcelRequested, dashboardExportToExcelResolved, } from "../../events/dashboard.js";
4
4
  import { invalidArgumentsProvided } from "../../events/general.js";
5
5
  import { selectExportResultPollingTimeout } from "../../store/config/configSelectors.js";
6
+ import { selectExecutableDashboardFilters, selectExecutableDashboardFiltersByTab, selectHasRestrictedDashboardFilters, } from "../../store/filtering/dashboardFilterSelectors.js";
6
7
  import { selectFilterViews } from "../../store/filterViews/filterViewsReducersSelectors.js";
7
8
  import { selectDashboardRef, selectEffectiveDashboardTimezone, selectIsFiltersChanged, } from "../../store/meta/metaSelectors.js";
8
- import { selectFilterContextFilters, selectFiltersByTab, } from "../../store/tabs/filterContext/filterContextSelectors.js";
9
9
  import { selectExportEffectiveParameters } from "../../store/tabs/parameters/parametersSelectors.js";
10
10
  function exportDashboardToTabular(ctx, dashboardRef, title, mergeHeaders, exportInfo, widgetIds, dashboardFiltersOverride, filtersByTab, dashboardTabsParametersOverrides, format, pdfConfiguration, timeout, timezoneId) {
11
11
  const { backend, workspace } = ctx;
@@ -33,12 +33,17 @@ export function* exportToTabularHandler(ctx, cmd) {
33
33
  const isFilterContextChanged = yield select(selectIsFiltersChanged);
34
34
  const filterViews = yield select(selectFilterViews);
35
35
  const hasDefaultFilterViewApplied = filterViews.some((filterView) => filterView.isDefault);
36
- const filterContextFilters = yield select(selectFilterContextFilters);
37
- const filtersByTab = yield select(selectFiltersByTab);
36
+ const hasRestrictedFilters = yield select(selectHasRestrictedDashboardFilters);
37
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
38
+ const filtersByTab = yield select(selectExecutableDashboardFiltersByTab);
38
39
  const parametersByTab = yield select(selectExportEffectiveParameters(widgetIds));
39
40
  const timeout = yield select(selectExportResultPollingTimeout);
40
41
  const timezoneId = yield select(selectEffectiveDashboardTimezone);
41
- const result = yield call(exportDashboardToTabular, ctx, dashboardRef, fileName, mergeHeaders, exportInfo, widgetIds, isFilterContextChanged || hasDefaultFilterViewApplied ? filterContextFilters : undefined, isFilterContextChanged || hasDefaultFilterViewApplied ? filtersByTab : undefined, parametersByTab, format, pdfConfiguration, timeout, timezoneId);
42
+ const result = yield call(exportDashboardToTabular, ctx, dashboardRef, fileName, mergeHeaders, exportInfo, widgetIds, isFilterContextChanged || hasDefaultFilterViewApplied || hasRestrictedFilters
43
+ ? filterContextFilters
44
+ : undefined, isFilterContextChanged || hasDefaultFilterViewApplied || hasRestrictedFilters
45
+ ? filtersByTab
46
+ : undefined, parametersByTab, format, pdfConfiguration, timeout, timezoneId);
42
47
  // prepend hostname if provided so that the results are downloaded from there, not from where the app is hosted
43
48
  const fullUri = ctx.backend.config.hostname
44
49
  ? new URL(result.uri, ctx.backend.config.hostname).href
@@ -10,7 +10,7 @@ export declare function requestCatalog(ctx: DashboardContext, cmd: InitializeDas
10
10
  export declare function preloadAttributeFiltersData(ctx: DashboardContext, dashboard: IDashboard): Generator<import("redux-saga/effects").CallEffect<import("@gooddata/sdk-backend-spi").IAttributeWithReferences[]> | import("redux-saga/effects").PutEffect<{
11
11
  payload: import("@gooddata/sdk-backend-spi").IAttributeWithReferences[];
12
12
  type: "tabs/setPreloadedAttributesWithReferences";
13
- }>, void, import("@gooddata/sdk-backend-spi").IAttributeWithReferences[]>;
13
+ }> | import("redux-saga/effects").SelectEffect, void, import("@gooddata/sdk-backend-spi").IUnavailableDashboardReference[] & import("@gooddata/sdk-backend-spi").IAttributeWithReferences[]>;
14
14
  export declare function requestDashboardsList(ctx: DashboardContext): Generator<import("redux-saga/effects").CallEffect<import("@gooddata/sdk-model").IListedDashboard[]> | import("redux-saga/effects").PutEffect<BatchAction>, void, import("@gooddata/sdk-model").IListedDashboard[]>;
15
15
  export declare function initializeDashboardHandler(ctx: DashboardContext, cmd: InitializeDashboard): SagaIterator;
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACH,KAAK,UAAU,EAIf,KAAK,sBAAsB,EAW9B,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAwB1E,OAAO,EACH,KAAK,gBAAgB,EAGxB,MAAM,+BAA+B,CAAC;AAmevC,wBAAiB,cAAc,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,mBAAmB;;;uIAyB9E;AAkCD,wBAAiB,2BAA2B,CAAC,GAAG,EAAE,gBAAgB,EAAE,SAAS,EAAE,UAAU;;;0EAKxF;AAED,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,sNAW3D;AAoCD,wBAAiB,0BAA0B,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,mBAAmB,GAAG,YAAY,CAoCzG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EACH,KAAK,UAAU,EAIf,KAAK,sBAAsB,EAW9B,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAyB1E,OAAO,EACH,KAAK,gBAAgB,EAGxB,MAAM,+BAA+B,CAAC;AAmevC,wBAAiB,cAAc,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,mBAAmB;;;uIAyB9E;AAkCD,wBAAiB,2BAA2B,CAAC,GAAG,EAAE,gBAAgB,EAAE,SAAS,EAAE,UAAU;;;6LAOxF;AAED,wBAAiB,qBAAqB,CAAC,GAAG,EAAE,gBAAgB,sNAW3D;AAoCD,wBAAiB,0BAA0B,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,mBAAmB,GAAG,YAAY,CAoCzG"}
@@ -28,6 +28,7 @@ import { tabsActions } from "../../../store/tabs/index.js";
28
28
  import { DEFAULT_TAB_ID } from "../../../store/tabs/tabsState.js";
29
29
  import { uiActions } from "../../../store/ui/index.js";
30
30
  import { unavailableObjectsActions } from "../../../store/unavailableObjects/index.js";
31
+ import { selectUnavailableObjects } from "../../../store/unavailableObjects/unavailableObjectsSelectors.js";
31
32
  import { userActions } from "../../../store/user/index.js";
32
33
  import { changeDashboardTimezoneOverrideHandler } from "../../timezone/changeDashboardTimezoneOverrideHandler.js";
33
34
  import { applyDefaultFilterView } from "../common/filterViews.js";
@@ -342,7 +343,8 @@ function makeCatalogParametersPayload(result) {
342
343
  return { status: "loaded", parameters: result };
343
344
  }
344
345
  export function* preloadAttributeFiltersData(ctx, dashboard) {
345
- const attributesWithReferences = yield call(preloadAttributeFiltersDataFromBackend, ctx, dashboard);
346
+ const unavailableObjects = yield select(selectUnavailableObjects);
347
+ const attributesWithReferences = yield call(preloadAttributeFiltersDataFromBackend, ctx, dashboard, unavailableObjects);
346
348
  yield put(tabsActions.setPreloadedAttributesWithReferences(attributesWithReferences));
347
349
  }
348
350
  export function* requestDashboardsList(ctx) {
@@ -2,12 +2,22 @@ import type { IUnavailableDashboardReference, SupportedDashboardReferenceTypes }
2
2
  import type { IDashboard } from "@gooddata/sdk-model";
3
3
  import { type DashboardContext } from "../../../types/commonTypes.js";
4
4
  /**
5
- * Reference types for the dashboard load. Display-form and drill-target availability needs extra
6
- * side-loads, so they are requested with the dashboard only when the switch is already known to be on.
5
+ * Reference types to request with a dashboard load.
6
+ *
7
+ * @remarks
8
+ * Display-form, drill-target and rich text reference availability costs extra side-loads, so those
9
+ * types are included only when partial rendering is enabled.
10
+ *
11
+ * @param partialRenderingEnabled - whether the `enableDashboardPartialRendering` switch is on
12
+ * @internal
13
+ */
14
+ export declare function getDashboardLoadReferenceTypes(partialRenderingEnabled: boolean): SupportedDashboardReferenceTypes[];
15
+ /**
16
+ * Reference types for the dashboard load; the extra types need the switch known before the first request.
7
17
  */
8
18
  export declare function dashboardLoadReferenceTypes(ctx: DashboardContext): SupportedDashboardReferenceTypes[];
9
19
  /**
10
- * Completes the availability of display forms and drill targets when the dashboard load could not
20
+ * Completes the availability of display forms, drill targets and rich text references when the dashboard load could not
11
21
  * request it (the switch was not known up front), with one more dashboard GET. The extra request is an
12
22
  * enrichment: its failure keeps the base result. A persisted dashboard body may differ from the stored
13
23
  * one, which is all the backend can inspect, so — like its insights — its availability is left to the
@@ -1 +1 @@
1
- {"version":3,"file":"loadUnavailableReferences.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,8BAA8B,EAC9B,gCAAgC,EACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmBtE;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,gBAAgB,GAAG,gCAAgC,EAAE,CAErG;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC3C,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,UAAU,EACrB,eAAe,EAAE,8BAA8B,EAAE,GAAG,SAAS,EAC7D,uBAAuB,EAAE,OAAO,EAChC,qBAAqB,EAAE,OAAO,GAC/B,OAAO,CAAC,8BAA8B,EAAE,CAAC,CAkB3C"}
1
+ {"version":3,"file":"loadUnavailableReferences.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,8BAA8B,EAC9B,gCAAgC,EACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAqBtE;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,CAC1C,uBAAuB,EAAE,OAAO,GACjC,gCAAgC,EAAE,CAEpC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,gBAAgB,GAAG,gCAAgC,EAAE,CAErG;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC3C,GAAG,EAAE,gBAAgB,EACrB,SAAS,EAAE,UAAU,EACrB,eAAe,EAAE,8BAA8B,EAAE,GAAG,SAAS,EAC7D,uBAAuB,EAAE,OAAO,EAChC,qBAAqB,EAAE,OAAO,GAC/B,OAAO,CAAC,8BAA8B,EAAE,CAAC,CAkB3C"}
@@ -5,7 +5,9 @@ const ALL_TYPES = [
5
5
  "dataSet",
6
6
  "displayForm",
7
7
  "analyticalDashboard",
8
+ "measure",
8
9
  ];
10
+ const ENRICHED_TYPES = ["displayForm", "analyticalDashboard", "measure"];
9
11
  /**
10
12
  * Whether the partial-rendering switch is known before the first request: hosts that supply
11
13
  * `settings` (our dashboards app does) decide it up front; otherwise the switch arrives with the
@@ -15,14 +17,26 @@ function isPartialRenderingKnownUpfront(ctx) {
15
17
  return Boolean(ctx.config?.settings?.enableDashboardPartialRendering);
16
18
  }
17
19
  /**
18
- * Reference types for the dashboard load. Display-form and drill-target availability needs extra
19
- * side-loads, so they are requested with the dashboard only when the switch is already known to be on.
20
+ * Reference types to request with a dashboard load.
21
+ *
22
+ * @remarks
23
+ * Display-form, drill-target and rich text reference availability costs extra side-loads, so those
24
+ * types are included only when partial rendering is enabled.
25
+ *
26
+ * @param partialRenderingEnabled - whether the `enableDashboardPartialRendering` switch is on
27
+ * @internal
28
+ */
29
+ export function getDashboardLoadReferenceTypes(partialRenderingEnabled) {
30
+ return [...(partialRenderingEnabled ? ALL_TYPES : BASE_TYPES)];
31
+ }
32
+ /**
33
+ * Reference types for the dashboard load; the extra types need the switch known before the first request.
20
34
  */
21
35
  export function dashboardLoadReferenceTypes(ctx) {
22
- return isPartialRenderingKnownUpfront(ctx) ? ALL_TYPES : BASE_TYPES;
36
+ return getDashboardLoadReferenceTypes(isPartialRenderingKnownUpfront(ctx));
23
37
  }
24
38
  /**
25
- * Completes the availability of display forms and drill targets when the dashboard load could not
39
+ * Completes the availability of display forms, drill targets and rich text references when the dashboard load could not
26
40
  * request it (the switch was not known up front), with one more dashboard GET. The extra request is an
27
41
  * enrichment: its failure keeps the base result. A persisted dashboard body may differ from the stored
28
42
  * one, which is all the backend can inspect, so — like its insights — its availability is left to the
@@ -40,7 +54,7 @@ export async function loadUnavailableReferences(ctx, dashboard, baseUnavailable,
40
54
  const extra = await ctx.backend
41
55
  .workspace(ctx.workspace)
42
56
  .dashboards()
43
- .getDashboardReferencedObjects(dashboard, ["displayForm", "analyticalDashboard"]);
57
+ .getDashboardReferencedObjects(dashboard, ENRICHED_TYPES);
44
58
  return [...base, ...(extra.unavailable ?? [])];
45
59
  }
46
60
  catch (error) {
@@ -1,5 +1,5 @@
1
- import { type IAttributeWithReferences } from "@gooddata/sdk-backend-spi";
1
+ import { type IAttributeWithReferences, type IUnavailableDashboardReference } from "@gooddata/sdk-backend-spi";
2
2
  import { type IDashboard } from "@gooddata/sdk-model";
3
3
  import { type DashboardContext } from "../../../types/commonTypes.js";
4
- export declare function preloadAttributeFiltersData(ctx: DashboardContext, dashboard?: IDashboard): Promise<IAttributeWithReferences[]>;
4
+ export declare function preloadAttributeFiltersData(ctx: DashboardContext, dashboard?: IDashboard, unavailableObjects?: IUnavailableDashboardReference[]): Promise<IAttributeWithReferences[]>;
5
5
  //# sourceMappingURL=preloadAttributeFiltersData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"preloadAttributeFiltersData.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EACH,KAAK,UAAU,EAIlB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,wBAAgB,2BAA2B,CACvC,GAAG,EAAE,gBAAgB,EACrB,SAAS,CAAC,EAAE,UAAU,GACvB,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAuBrC"}
1
+ {"version":3,"file":"preloadAttributeFiltersData.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACtC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACH,KAAK,UAAU,EAIlB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,wBAAgB,2BAA2B,CACvC,GAAG,EAAE,gBAAgB,EACrB,SAAS,CAAC,EAAE,UAAU,EACtB,kBAAkB,GAAE,8BAA8B,EAAO,GAC1D,OAAO,CAAC,wBAAwB,EAAE,CAAC,CAyBrC"}
@@ -1,7 +1,8 @@
1
1
  // (C) 2021-2025 GoodData Corporation
2
2
  import { uniqBy } from "lodash-es";
3
3
  import { isDashboardAttributeFilter, objRefToString, } from "@gooddata/sdk-model";
4
- export function preloadAttributeFiltersData(ctx, dashboard) {
4
+ import { isDashboardObjectRestricted } from "../../../store/filtering/restrictedFilterUtils.js";
5
+ export function preloadAttributeFiltersData(ctx, dashboard, unavailableObjects = []) {
5
6
  const { backend, workspace } = ctx;
6
7
  const dashboardAttributeFilterRefs = dashboard?.filterContext?.filters
7
8
  .filter(isDashboardAttributeFilter)
@@ -12,7 +13,7 @@ export function preloadAttributeFiltersData(ctx, dashboard) {
12
13
  .map((filter) => filter.attributeFilter.displayForm);
13
14
  return [...acc, ...(refs ?? [])];
14
15
  }, []);
15
- const allRefs = [...(dashboardAttributeFilterRefs ?? []), ...(tabsAttributeFilterRefs ?? [])];
16
+ const allRefs = [...(dashboardAttributeFilterRefs ?? []), ...(tabsAttributeFilterRefs ?? [])].filter((ref) => !isDashboardObjectRestricted(ref, "displayForm", unavailableObjects));
16
17
  // Remove duplicates by comparing ObjRef string representations
17
18
  const uniqueRefs = uniqBy(allRefs, objRefToString);
18
19
  if (!uniqueRefs?.length) {
@@ -1 +1 @@
1
- {"version":3,"file":"setAttributeFilterParentHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAU/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAKtE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0BAA0B,GAChC,YAAY,CAAC,IAAI,CAAC,CAqDpB"}
1
+ {"version":3,"file":"setAttributeFilterParentHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAS/C,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAW/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAKtE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0BAA0B,GAChC,YAAY,CAAC,IAAI,CAAC,CAiEpB"}
@@ -1,9 +1,12 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
+ import { isEqual } from "lodash-es";
2
3
  import { call, put, select } from "redux-saga/effects";
3
4
  import { invariant } from "ts-invariant";
5
+ import { dashboardAttributeFilterItemFilterElementsBy, } from "@gooddata/sdk-model";
4
6
  import { attributeFilterParentChanged } from "../../../events/filters.js";
5
7
  import { invalidArgumentsProvided } from "../../../events/general.js";
6
8
  import { dispatchDashboardEvent } from "../../../store/_infra/eventDispatcher.js";
9
+ import { selectRestrictedDashboardFilterLocalIdentifiers } from "../../../store/filtering/dashboardFilterSelectors.js";
7
10
  import { selectAttributeFilterDisplayFormsMap, selectFilterContextAttributeFilterItemByLocalId, selectFilterContextAttributeFilterItems, } from "../../../store/tabs/filterContext/filterContextSelectors.js";
8
11
  import { tabsActions } from "../../../store/tabs/index.js";
9
12
  import { dispatchFilterContextChanged } from "../common.js";
@@ -16,7 +19,14 @@ export function* setAttributeFilterParentsHandler(ctx, cmd) {
16
19
  if (!affectedFilter) {
17
20
  throw invalidArgumentsProvided(ctx, cmd, `Filter with localId ${filterLocalId} was not found.`);
18
21
  }
19
- const validationResult = yield call(validateAttributeFilterParents, ctx, affectedFilter, [...parentFilters], allFilters, displayFormsMap);
22
+ const restrictedFilterLocalIdentifiers = yield select(selectRestrictedDashboardFilterLocalIdentifiers);
23
+ const storedParents = dashboardAttributeFilterItemFilterElementsBy(affectedFilter) ?? [];
24
+ // A restricted parent carried over unchanged holds no metadata by design, so validating it would
25
+ // reject the whole command. Anything new or edited is validated, which is what refuses a
26
+ // dependency on a filter the caller may not read.
27
+ const isCarriedOverRestrictedParent = (parent) => restrictedFilterLocalIdentifiers.has(parent.filterLocalIdentifier) &&
28
+ storedParents.some((stored) => isEqual(stored, parent));
29
+ const validationResult = yield call(validateAttributeFilterParents, ctx, affectedFilter, parentFilters.filter((parent) => !isCarriedOverRestrictedParent(parent)), allFilters, displayFormsMap);
20
30
  if (validationResult !== "VALID") {
21
31
  const message = validationResult === "EXTRANEOUS_PARENT"
22
32
  ? "Some of the parents provided cannot be used because filters for those are not in the filters collection. " +
@@ -5,8 +5,8 @@ import { ensureAllTimeFilterForExport } from "../../../_staging/exportUtils/filt
5
5
  import { invalidArgumentsProvided } from "../../events/general.js";
6
6
  import { insightWidgetExportResolved, } from "../../events/insight.js";
7
7
  import { selectExportResultPollingTimeout } from "../../store/config/configSelectors.js";
8
+ import { selectExecutableDashboardFilters } from "../../store/filtering/dashboardFilterSelectors.js";
8
9
  import { selectDashboardRef, selectEffectiveDashboardTimezone } from "../../store/meta/metaSelectors.js";
9
- import { selectFilterContextFilters } from "../../store/tabs/filterContext/filterContextSelectors.js";
10
10
  import { selectExportEffectiveParameters } from "../../store/tabs/parameters/parametersSelectors.js";
11
11
  import { selectActiveTabLocalIdentifier } from "../../store/tabs/tabsSelectors.js";
12
12
  export function* exportImageInsightWidgetHandler(ctx, cmd) {
@@ -16,7 +16,7 @@ export function* exportImageInsightWidgetHandler(ctx, cmd) {
16
16
  if (!dashboardRef) {
17
17
  throw invalidArgumentsProvided(ctx, cmd, "Dashboard to export to image must have an ObjRef.");
18
18
  }
19
- const filterContextFilters = yield select(selectFilterContextFilters);
19
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
20
20
  const effectiveFilters = ensureAllTimeFilterForExport(filterContextFilters);
21
21
  const activeTabLocalIdentifier = yield select(selectActiveTabLocalIdentifier);
22
22
  const timeout = yield select(selectExportResultPollingTimeout);
@@ -1 +1 @@
1
- {"version":3,"file":"exportRawInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/exportRawInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAoB/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACH,KAAK,qCAAqC,EAE7C,MAAM,yBAAyB,CAAC;AAiBjC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAmBnE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,qCAAqC,CAAC,CAmFrD"}
1
+ {"version":3,"file":"exportRawInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/exportRawInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAoB/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACH,KAAK,qCAAqC,EAE7C,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAmBnE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,qCAAqC,CAAC,CAoFrD"}
@@ -7,9 +7,10 @@ import { insightWidgetExportResolved, } from "../../events/insight.js";
7
7
  import { selectCatalogAttributesWithComputed } from "../../store/catalog/catalogSelectors.js";
8
8
  import { selectExportResultPollingTimeout, selectLocale, selectSettings, } from "../../store/config/configSelectors.js";
9
9
  import { selectExecutionResultByRef } from "../../store/executionResults/executionResultsSelectors.js";
10
+ import { selectExecutableDashboardFilters } from "../../store/filtering/dashboardFilterSelectors.js";
10
11
  import { selectInsightByRef, selectRawExportOverridesForInsight, } from "../../store/insights/insightsSelectors.js";
11
12
  import { selectEffectiveDashboardTimezone } from "../../store/meta/metaSelectors.js";
12
- import { selectFilterContextFilters, selectPreloadedAttributesWithReferences, } from "../../store/tabs/filterContext/filterContextSelectors.js";
13
+ import { selectPreloadedAttributesWithReferences } from "../../store/tabs/filterContext/filterContextSelectors.js";
13
14
  import { prepareGeoRawExportDefinition } from "../common/prepareGeoRawExportDefinition.js";
14
15
  async function exportDashboardToCSVRaw(ctx, definition, filename, overrides, options) {
15
16
  const { backend, workspace } = ctx;
@@ -22,7 +23,7 @@ export function* exportRawInsightWidgetHandler(ctx, cmd) {
22
23
  const { ref, widget, insight, filename, options } = cmd.payload;
23
24
  const { workspace } = ctx;
24
25
  const executionEnvelope = yield select(selectExecutionResultByRef(ref));
25
- const filterContextFilters = yield select(selectFilterContextFilters);
26
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
26
27
  const dashboardFilters = filterContextItemsToDashboardFiltersByWidget(filterContextFilters, widget);
27
28
  const mergedFilters = [...insight.insight.filters, ...dashboardFilters];
28
29
  const definition = defWithDimensions(newDefForInsight(workspace, insight, mergedFilters), defaultDimensionsGenerator);
@@ -1 +1 @@
1
- {"version":3,"file":"exportSlidesInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAO/C,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EACH,KAAK,qCAAqC,EAE7C,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0BAA0B,GAChC,YAAY,CAAC,qCAAqC,CAAC,CA2DrD"}
1
+ {"version":3,"file":"exportSlidesInsightWidgetHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAO/C,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EACH,KAAK,qCAAqC,EAE7C,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAGnE,wBAAiB,gCAAgC,CAC7C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,0BAA0B,GAChC,YAAY,CAAC,qCAAqC,CAAC,CA6DrD"}
@@ -5,8 +5,8 @@ import { ensureAllTimeFilterForExport } from "../../../_staging/exportUtils/filt
5
5
  import { invalidArgumentsProvided } from "../../events/general.js";
6
6
  import { insightWidgetExportResolved, } from "../../events/insight.js";
7
7
  import { selectExportResultPollingTimeout } from "../../store/config/configSelectors.js";
8
+ import { selectExecutableDashboardFilters, selectExecutableDashboardFiltersByTab, } from "../../store/filtering/dashboardFilterSelectors.js";
8
9
  import { selectDashboardRef, selectEffectiveDashboardTimezone } from "../../store/meta/metaSelectors.js";
9
- import { selectFilterContextFilters, selectFiltersByTab, } from "../../store/tabs/filterContext/filterContextSelectors.js";
10
10
  import { selectExportEffectiveParameters } from "../../store/tabs/parameters/parametersSelectors.js";
11
11
  export function* exportSlidesInsightWidgetHandler(ctx, cmd) {
12
12
  const { ref, filename, exportType, templateId } = cmd.payload;
@@ -15,9 +15,9 @@ export function* exportSlidesInsightWidgetHandler(ctx, cmd) {
15
15
  if (!dashboardRef) {
16
16
  throw invalidArgumentsProvided(ctx, cmd, "Dashboard to export to slides must have an ObjRef.");
17
17
  }
18
- const filterContextFilters = yield select(selectFilterContextFilters);
18
+ const filterContextFilters = yield select(selectExecutableDashboardFilters);
19
19
  const effectiveFilters = ensureAllTimeFilterForExport(filterContextFilters);
20
- const filtersByTab = yield select(selectFiltersByTab);
20
+ const filtersByTab = yield select(selectExecutableDashboardFiltersByTab);
21
21
  const effectiveFiltersByTab = Object.entries(filtersByTab).reduce((acc, [tabId, filters]) => {
22
22
  acc[tabId] = ensureAllTimeFilterForExport(filters);
23
23
  return acc;
@@ -32,7 +32,7 @@ export declare const useDashboardScheduledEmails: () => {
32
32
  onScheduleEmailingManagementAdd: (targetWidget?: import("@gooddata/sdk-model").IWidget) => void;
33
33
  onScheduleEmailingManagementClose: () => void;
34
34
  onScheduleEmailingManagementLoadingError: () => void;
35
- onScheduleEmailingManagementDeleteSuccess: () => void;
36
- onScheduleEmailingManagementDeleteError: () => void;
35
+ onScheduleEmailingDeleteSuccess: () => void;
36
+ onScheduleEmailingDeleteError: () => void;
37
37
  };
38
38
  //# sourceMappingURL=useDashboardScheduledEmails.d.ts.map
@@ -23,7 +23,7 @@ export const useDashboardScheduledEmails = () => {
23
23
  // List / Management Dialog
24
24
  isScheduledManagementEmailingVisible, isScheduleEmailingManagementDialogOpen, } = useDashboardScheduledEmailsData({ scheduledExportToEdit });
25
25
  const { defaultOnScheduleEmailing, onScheduleEmailingCancel, onScheduleEmailingBack, onScheduleEmailingCreateError, onScheduleEmailingCreateSuccess, onScheduleEmailingOpen, onScheduleEmailingUpdateError, onScheduleEmailingUpdateSuccess, } = useDashboardScheduledEmailsDialog();
26
- const { defaultOnScheduleEmailingManagement, onScheduleEmailingManagementAdd, onScheduleEmailingManagementClose, onScheduleEmailingManagementDeleteError, onScheduleEmailingManagementDeleteSuccess, onScheduleEmailingManagementEdit, onScheduleEmailingManagementLoadingError, onScheduleEmailingManagementOpen, } = useDashboardScheduledEmailsManagementDialog();
26
+ const { defaultOnScheduleEmailingManagement, onScheduleEmailingManagementAdd, onScheduleEmailingManagementClose, onScheduleEmailingDeleteError, onScheduleEmailingDeleteSuccess, onScheduleEmailingManagementEdit, onScheduleEmailingManagementLoadingError, onScheduleEmailingManagementOpen, } = useDashboardScheduledEmailsManagementDialog();
27
27
  return {
28
28
  // Local state
29
29
  scheduledExportToEdit,
@@ -57,7 +57,7 @@ export const useDashboardScheduledEmails = () => {
57
57
  onScheduleEmailingManagementAdd,
58
58
  onScheduleEmailingManagementClose,
59
59
  onScheduleEmailingManagementLoadingError,
60
- onScheduleEmailingManagementDeleteSuccess,
61
- onScheduleEmailingManagementDeleteError,
60
+ onScheduleEmailingDeleteSuccess,
61
+ onScheduleEmailingDeleteError,
62
62
  };
63
63
  };
@@ -9,7 +9,7 @@ export declare const useDashboardScheduledEmailsManagementDialog: () => {
9
9
  onScheduleEmailingManagementLoadingError: () => void;
10
10
  onScheduleEmailingManagementAdd: (targetWidget?: IWidget) => void;
11
11
  onScheduleEmailingManagementEdit: (schedule: IAutomationMetadataObject, widget?: IWidget) => void;
12
- onScheduleEmailingManagementDeleteSuccess: () => void;
13
- onScheduleEmailingManagementDeleteError: () => void;
12
+ onScheduleEmailingDeleteSuccess: () => void;
13
+ onScheduleEmailingDeleteError: () => void;
14
14
  };
15
15
  //# sourceMappingURL=useDashboardScheduledEmailsManagementDialog.d.ts.map
@@ -56,15 +56,15 @@ export const useDashboardScheduledEmailsManagementDialog = () => {
56
56
  openScheduleEmailingDialog({ widget, schedule });
57
57
  }, [openScheduleEmailingDialog]);
58
58
  // Delete
59
- const onScheduleEmailingManagementDeleteSuccess = useCallback(() => {
59
+ const onScheduleEmailingDeleteSuccess = useCallback(() => {
60
60
  closeScheduleEmailingDialog();
61
61
  addSuccess(messages.scheduleEmailDeleteSuccess);
62
62
  handleRefreshAutomations();
63
63
  }, [addSuccess, closeScheduleEmailingDialog, handleRefreshAutomations]);
64
- const onScheduleEmailingManagementDeleteError = useCallback(() => {
64
+ const onScheduleEmailingDeleteError = useCallback(() => {
65
65
  closeScheduleEmailingDialog();
66
66
  closeScheduleEmailingManagementDialog();
67
- addError(messages.scheduleManagementDeleteError);
67
+ addError(messages.scheduleDeleteError);
68
68
  }, [closeScheduleEmailingDialog, closeScheduleEmailingManagementDialog, addError]);
69
69
  return {
70
70
  defaultOnScheduleEmailingManagement,
@@ -73,7 +73,7 @@ export const useDashboardScheduledEmailsManagementDialog = () => {
73
73
  onScheduleEmailingManagementLoadingError,
74
74
  onScheduleEmailingManagementAdd,
75
75
  onScheduleEmailingManagementEdit,
76
- onScheduleEmailingManagementDeleteSuccess,
77
- onScheduleEmailingManagementDeleteError,
76
+ onScheduleEmailingDeleteSuccess,
77
+ onScheduleEmailingDeleteError,
78
78
  };
79
79
  };
@@ -29,8 +29,8 @@ export declare const useDashboardAlerts: () => {
29
29
  onAlertingManagementOpen: (widget?: import("@gooddata/sdk-model").IWidget) => void;
30
30
  onAlertingManagementClose: () => void;
31
31
  onAlertingManagementAdd: (targetWidget?: import("@gooddata/sdk-model").IWidget) => void;
32
- onAlertingManagementDeleteError: () => void;
33
- onAlertingManagementDeleteSuccess: () => void;
32
+ onAlertingDeleteError: () => void;
33
+ onAlertingDeleteSuccess: () => void;
34
34
  onAlertingManagementEdit: (alert: import("@gooddata/sdk-model").IAutomationMetadataObject, widget?: import("@gooddata/sdk-model").IWidget) => void;
35
35
  onAlertingManagementLoadingError: () => void;
36
36
  };
@@ -20,7 +20,7 @@ export const useDashboardAlerts = () => {
20
20
  // List / Management Dialog
21
21
  isAlertManagementVisible, isAlertManagementDialogOpen, } = useDashboardAlertsData({ alertToEdit });
22
22
  const { defaultOnAlerting, onAlertingOpen, onAlertingCancel, onAlertingCreateError, onAlertingCreateSuccess, onAlertingUpdateError, onAlertingUpdateSuccess, } = useDashboardAlertsDialog();
23
- const { defaultOnAlertingManagement, onAlertingManagementAdd, onAlertingManagementClose, onAlertingManagementDeleteError, onAlertingManagementDeleteSuccess, onAlertingManagementEdit, onAlertingManagementLoadingError, onAlertingManagementOpen, } = useDashboardAlertsManagementDialog();
23
+ const { defaultOnAlertingManagement, onAlertingManagementAdd, onAlertingManagementClose, onAlertingDeleteError, onAlertingDeleteSuccess, onAlertingManagementEdit, onAlertingManagementLoadingError, onAlertingManagementOpen, } = useDashboardAlertsManagementDialog();
24
24
  return {
25
25
  // Data
26
26
  alertToEdit,
@@ -50,8 +50,8 @@ export const useDashboardAlerts = () => {
50
50
  onAlertingManagementOpen,
51
51
  onAlertingManagementClose,
52
52
  onAlertingManagementAdd,
53
- onAlertingManagementDeleteError,
54
- onAlertingManagementDeleteSuccess,
53
+ onAlertingDeleteError,
54
+ onAlertingDeleteSuccess,
55
55
  onAlertingManagementEdit,
56
56
  onAlertingManagementLoadingError,
57
57
  };