@gooddata/sdk-ui-dashboard 11.57.0-alpha.0 → 11.57.0-alpha.2

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 (486) hide show
  1. package/NOTICE +18 -18
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/dateFilterConfig/dateFilterConfigConverters.js +1 -1
  5. package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.js +1 -1
  6. package/esm/_staging/dateFilterConfig/defaultConfig.js +1 -1
  7. package/esm/_staging/metadata/objRefMap.js +1 -1
  8. package/esm/_staging/sharedHooks/useRichTextFilters.js +2 -2
  9. package/esm/index.d.ts +6 -4
  10. package/esm/index.d.ts.map +1 -1
  11. package/esm/index.js +5 -3
  12. package/esm/internal.js +1 -1
  13. package/esm/locales.d.ts +2 -2
  14. package/esm/locales.d.ts.map +1 -1
  15. package/esm/locales.js +2 -2
  16. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +14 -4
  18. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.d.ts.map +1 -1
  19. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js +3 -3
  20. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +3 -3
  22. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -1
  23. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +3 -3
  24. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.d.ts.map +1 -1
  25. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.js +9 -4
  26. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +1 -1
  27. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  28. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -1
  29. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +13 -3
  30. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -1
  31. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +19 -5
  32. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +2 -2
  33. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
  34. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +3 -2
  35. package/esm/model/commandHandlers/dashboard/saveDashboardHandler.js +1 -1
  36. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.d.ts.map +1 -1
  37. package/esm/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.js +2 -1
  38. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
  39. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +11 -1
  40. package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.d.ts +9 -0
  41. package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.d.ts.map +1 -0
  42. package/esm/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.js +39 -0
  43. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  44. package/esm/model/commandHandlers/index.js +2 -0
  45. package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js +2 -2
  46. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
  47. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +3 -2
  48. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -1
  49. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +3 -3
  50. package/esm/model/commands/base.d.ts +1 -1
  51. package/esm/model/commands/base.d.ts.map +1 -1
  52. package/esm/model/commands/filters.d.ts +20 -0
  53. package/esm/model/commands/filters.d.ts.map +1 -1
  54. package/esm/model/commands/filters.js +13 -0
  55. package/esm/model/commands/index.d.ts +2 -2
  56. package/esm/model/commands/index.d.ts.map +1 -1
  57. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +2 -2
  58. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js +3 -3
  59. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts +2 -2
  60. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js +5 -5
  61. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.d.ts +2 -2
  62. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.js +3 -3
  63. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.d.ts +2 -2
  64. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js +5 -5
  65. package/esm/model/react/useWidgetFilters.js +2 -2
  66. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts +40 -0
  67. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
  68. package/esm/model/store/filtering/dashboardFilterSelectors.js +67 -3
  69. package/esm/model/store/filtering/restrictedFilterUtils.d.ts +5 -0
  70. package/esm/model/store/filtering/restrictedFilterUtils.d.ts.map +1 -0
  71. package/esm/model/store/filtering/restrictedFilterUtils.js +22 -0
  72. package/esm/model/store/filtering/types.d.ts +1 -1
  73. package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
  74. package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
  75. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +9 -1
  76. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -1
  77. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +14 -0
  78. package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
  79. package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
  80. package/esm/plugins/customizationApis/customizationLogging.js +2 -2
  81. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts +4 -2
  82. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
  83. package/esm/plugins/customizationApis/filterBarCustomizer.js +42 -3
  84. package/esm/plugins/customizer.d.ts +13 -1
  85. package/esm/plugins/customizer.d.ts.map +1 -1
  86. package/esm/plugins/engine.js +1 -1
  87. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +10 -10
  88. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +10 -10
  89. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +1 -1
  90. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.js +1 -1
  91. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +1 -1
  92. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.js +1 -1
  93. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +1 -1
  94. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.js +1 -1
  95. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +3 -2
  96. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -1
  97. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +1 -2
  98. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +3 -2
  99. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -1
  100. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +1 -2
  101. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +1 -1
  102. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.js +1 -1
  103. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +1 -1
  104. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.js +2 -2
  105. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +1 -1
  106. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.js +1 -1
  107. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +3 -2
  108. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -1
  109. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +1 -2
  110. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +1 -1
  111. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.js +1 -1
  112. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +1 -1
  113. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.js +1 -1
  114. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +1 -1
  115. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.js +1 -1
  116. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +1 -1
  117. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.js +1 -1
  118. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
  119. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +1 -1
  120. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +4 -3
  121. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -1
  122. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +1 -2
  123. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +1 -1
  124. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +1 -1
  125. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +1 -1
  126. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +1 -1
  127. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +1 -1
  128. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +1 -1
  129. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +3 -2
  130. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -1
  131. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +1 -1
  132. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +3 -2
  133. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -1
  134. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +1 -2
  135. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +1 -1
  136. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +1 -1
  137. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +1 -1
  138. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +1 -1
  139. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +1 -1
  140. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +1 -1
  141. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +1 -1
  142. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +1 -1
  143. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +3 -2
  144. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -1
  145. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +1 -1
  146. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +1 -1
  147. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +1 -1
  148. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +3 -3
  149. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +3 -3
  150. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +1 -1
  151. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +1 -1
  152. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +1 -1
  153. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +1 -1
  154. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +1 -1
  155. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +1 -1
  156. package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts +1 -1
  157. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
  158. package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
  159. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
  160. package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
  161. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
  162. package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
  163. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
  164. package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
  165. package/esm/presentation/automations/alerting/state/types.d.ts +8 -8
  166. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +1 -1
  167. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
  168. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +1 -1
  169. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +1 -1
  170. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +1 -1
  171. package/esm/presentation/automations/alerting/state/useAlertSubmit.js +1 -1
  172. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +9 -9
  173. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +9 -9
  174. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +7 -7
  175. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +5 -5
  176. package/esm/presentation/automations/alerting/types.d.ts +54 -28
  177. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  178. package/esm/presentation/automations/alerting/types.js +8 -1
  179. package/esm/presentation/automations/alerting/utils/getters.d.ts +1 -1
  180. package/esm/presentation/automations/connectors/AlertingConnector.js +2 -2
  181. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.d.ts +1 -1
  182. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.js +1 -1
  183. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +2 -2
  184. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +16 -3
  185. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts.map +1 -1
  186. package/esm/presentation/automations/contexts/AlertingDialogContext.js +2 -2
  187. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +25 -0
  188. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -1
  189. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +76 -5
  190. package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
  191. package/esm/presentation/automations/contexts/AutomationsContext.js +2 -2
  192. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +12 -3
  193. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
  194. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +2 -2
  195. package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts +3 -2
  196. package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts.map +1 -1
  197. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +11 -11
  198. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +11 -11
  199. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +1 -1
  200. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +1 -1
  201. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +3 -2
  202. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -1
  203. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +1 -1
  204. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +1 -1
  205. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +1 -1
  206. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +3 -2
  207. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -1
  208. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +1 -2
  209. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +1 -1
  210. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.js +2 -2
  211. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +1 -1
  212. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +1 -1
  213. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +3 -2
  214. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -1
  215. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +1 -1
  216. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +1 -1
  217. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +1 -1
  218. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +1 -1
  219. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +1 -1
  220. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +3 -2
  221. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -1
  222. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js +1 -2
  223. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +1 -1
  224. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +1 -1
  225. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts +4 -1
  226. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts.map +1 -1
  227. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +4 -1
  228. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +4 -3
  229. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -1
  230. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +1 -2
  231. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +1 -1
  232. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +1 -1
  233. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +3 -2
  234. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -1
  235. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +1 -1
  236. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +1 -1
  237. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +1 -1
  238. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +3 -2
  239. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -1
  240. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +1 -2
  241. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +1 -1
  242. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +1 -1
  243. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +1 -1
  244. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +1 -1
  245. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +3 -2
  246. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -1
  247. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +1 -2
  248. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +1 -1
  249. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +1 -1
  250. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +3 -3
  251. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +3 -3
  252. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +1 -1
  253. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +1 -1
  254. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +3 -2
  255. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -1
  256. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +1 -2
  257. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +1 -1
  258. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js +1 -1
  259. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
  260. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
  261. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
  262. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
  263. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
  264. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
  265. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
  266. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
  267. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +8 -8
  268. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +1 -1
  269. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +1 -1
  270. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +8 -8
  271. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +6 -6
  272. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +9 -9
  273. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
  274. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +2 -2
  275. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +1 -1
  276. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +1 -1
  277. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
  278. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +1 -1
  279. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
  280. package/esm/presentation/automations/scheduledEmail/types.d.ts +40 -22
  281. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  282. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +1 -1
  283. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterConfigConverters.js +1 -1
  284. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterOptionMapping.js +1 -1
  285. package/esm/presentation/automations/shared/dateFilterConfig/defaultConfig.js +1 -1
  286. package/esm/presentation/automations/shared/filters/index.js +1 -1
  287. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +2 -2
  288. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.js +1 -1
  289. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +1 -1
  290. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.js +1 -1
  291. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +1 -1
  292. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.js +1 -1
  293. package/esm/presentation/automations/shared/slots/types.d.ts +9 -7
  294. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  295. package/esm/presentation/automations/shared/types.d.ts +2 -2
  296. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  297. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +3 -1
  298. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +1 -1
  299. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts.map +1 -1
  300. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +2 -1
  301. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts +2 -1
  302. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts.map +1 -1
  303. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.js +2 -2
  304. package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.d.ts.map +1 -1
  305. package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts +8 -0
  306. package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts.map +1 -0
  307. package/esm/presentation/dashboard/components/DashboardContractExpired.js +25 -0
  308. package/esm/presentation/dashboard/components/DashboardLoading.d.ts.map +1 -1
  309. package/esm/presentation/dashboard/components/DashboardLoading.js +13 -2
  310. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  311. package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
  312. package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts +13 -0
  313. package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts.map +1 -0
  314. package/esm/presentation/dashboard/components/contractExpiredIcons.js +15 -0
  315. package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
  316. package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
  317. package/esm/presentation/dashboard/hooks/useDashboard.js +7 -1
  318. package/esm/presentation/dashboard/types.d.ts +12 -1
  319. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  320. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
  321. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  322. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
  323. package/esm/presentation/dashboardContexts/types.d.ts +20 -0
  324. package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
  325. package/esm/presentation/dragAndDrop/types.d.ts +1 -0
  326. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  327. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +2 -2
  328. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
  329. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +7 -3
  330. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
  331. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +11 -1
  332. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.d.ts.map +1 -1
  333. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.js +3 -1
  334. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  335. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +13 -4
  336. package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
  337. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +10 -3
  338. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.d.ts.map +1 -1
  339. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +13 -0
  340. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  341. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +9 -3
  342. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.d.ts.map +1 -1
  343. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +10 -5
  344. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts +16 -0
  345. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts.map +1 -0
  346. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.js +42 -0
  347. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
  348. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -1
  349. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  350. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +3 -1
  351. package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
  352. package/esm/presentation/insightList/InsightList.js +3 -1
  353. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts +14 -0
  354. package/esm/presentation/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  355. package/esm/presentation/localization/bundles/de-DE.localization-bundle.js +14 -0
  356. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts +14 -0
  357. package/esm/presentation/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  358. package/esm/presentation/localization/bundles/en-AU.localization-bundle.js +14 -0
  359. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts +14 -0
  360. package/esm/presentation/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  361. package/esm/presentation/localization/bundles/en-GB.localization-bundle.js +14 -0
  362. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +40 -0
  363. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  364. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +40 -0
  365. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts +14 -0
  366. package/esm/presentation/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  367. package/esm/presentation/localization/bundles/es-419.localization-bundle.js +14 -0
  368. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts +14 -0
  369. package/esm/presentation/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  370. package/esm/presentation/localization/bundles/es-ES.localization-bundle.js +14 -0
  371. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts +14 -0
  372. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  373. package/esm/presentation/localization/bundles/fi-FI.localization-bundle.js +14 -0
  374. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts +14 -0
  375. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  376. package/esm/presentation/localization/bundles/fr-CA.localization-bundle.js +14 -0
  377. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts +14 -0
  378. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  379. package/esm/presentation/localization/bundles/fr-FR.localization-bundle.js +14 -0
  380. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts +14 -0
  381. package/esm/presentation/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  382. package/esm/presentation/localization/bundles/id-ID.localization-bundle.js +14 -0
  383. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts +14 -0
  384. package/esm/presentation/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  385. package/esm/presentation/localization/bundles/it-IT.localization-bundle.js +14 -0
  386. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts +14 -0
  387. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  388. package/esm/presentation/localization/bundles/ja-JP.localization-bundle.js +14 -0
  389. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts +14 -0
  390. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  391. package/esm/presentation/localization/bundles/ko-KR.localization-bundle.js +14 -0
  392. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts +14 -0
  393. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  394. package/esm/presentation/localization/bundles/nl-NL.localization-bundle.js +14 -0
  395. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts +14 -0
  396. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  397. package/esm/presentation/localization/bundles/pl-PL.localization-bundle.js +14 -0
  398. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts +14 -0
  399. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  400. package/esm/presentation/localization/bundles/pt-BR.localization-bundle.js +14 -0
  401. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts +14 -0
  402. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  403. package/esm/presentation/localization/bundles/pt-PT.localization-bundle.js +14 -0
  404. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts +14 -0
  405. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  406. package/esm/presentation/localization/bundles/ru-RU.localization-bundle.js +16 -2
  407. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts +14 -0
  408. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  409. package/esm/presentation/localization/bundles/sl-SI.localization-bundle.js +14 -0
  410. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts +14 -0
  411. package/esm/presentation/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  412. package/esm/presentation/localization/bundles/th-TH.localization-bundle.js +14 -0
  413. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts +14 -0
  414. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  415. package/esm/presentation/localization/bundles/tr-TR.localization-bundle.js +14 -0
  416. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts +14 -0
  417. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  418. package/esm/presentation/localization/bundles/uk-UA.localization-bundle.js +14 -0
  419. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts +14 -0
  420. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  421. package/esm/presentation/localization/bundles/vi-VN.localization-bundle.js +14 -0
  422. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts +14 -0
  423. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  424. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +107 -93
  425. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts +14 -0
  426. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  427. package/esm/presentation/localization/bundles/zh-Hans.localization-bundle.js +14 -0
  428. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts +14 -0
  429. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  430. package/esm/presentation/localization/bundles/zh-Hant.localization-bundle.js +14 -0
  431. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -1
  432. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +3 -1
  433. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
  434. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +4 -1
  435. package/esm/presentation/widget/description/types.d.ts +2 -1
  436. package/esm/presentation/widget/description/types.d.ts.map +1 -1
  437. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
  438. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +3 -1
  439. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.d.ts.map +1 -1
  440. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js +4 -1
  441. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/CustomUiMenuComponents.d.ts +5 -0
  442. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/CustomUiMenuComponents.d.ts.map +1 -1
  443. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/CustomUiMenuComponents.js +12 -0
  444. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.d.ts +2 -0
  445. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.d.ts.map +1 -1
  446. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuContainer.js +1 -1
  447. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts +6 -1
  448. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
  449. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +11 -6
  450. package/esm/presentation/widget/richText/EditModeDashboardRichText.d.ts.map +1 -1
  451. package/esm/presentation/widget/richText/EditModeDashboardRichText.js +3 -1
  452. package/esm/presentation/widget/richText/ViewModeDashboardRichText.d.ts.map +1 -1
  453. package/esm/presentation/widget/richText/ViewModeDashboardRichText.js +3 -1
  454. package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.d.ts +6 -0
  455. package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.d.ts.map +1 -1
  456. package/esm/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.js +4 -4
  457. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
  458. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +2 -1
  459. package/esm/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.d.ts +13 -0
  460. package/esm/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.d.ts.map +1 -0
  461. package/esm/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.js +32 -0
  462. package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts +1 -1
  463. package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.d.ts.map +1 -1
  464. package/esm/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.js +8 -2
  465. package/esm/presentation/widgetDeleteDialog/types.d.ts +5 -0
  466. package/esm/presentation/widgetDeleteDialog/types.d.ts.map +1 -1
  467. package/esm/sdk-ui-dashboard.d.ts +554 -250
  468. package/esm/types.d.ts +1 -1
  469. package/package.json +25 -24
  470. package/styles/css/alerting.css +2 -2
  471. package/styles/css/attributeFilterConfig.css +1 -1
  472. package/styles/css/dashboard.css +10 -2
  473. package/styles/css/dashboard.css.map +1 -1
  474. package/styles/css/dashboardNestedLayoutWidget.css +1 -1
  475. package/styles/css/dragAndDrop.css +2 -2
  476. package/styles/css/drillConfigPanel.css +4 -4
  477. package/styles/css/filterBar.css +34 -2
  478. package/styles/css/filterBar.css.map +1 -1
  479. package/styles/css/icons.css +2 -2
  480. package/styles/css/main.css +218 -167
  481. package/styles/css/main.css.map +1 -1
  482. package/styles/css/notifications_channels_dialog.css +2 -2
  483. package/styles/css/resizing.css +4 -4
  484. package/styles/css/visualizationSwitcherToolbar.css +4 -4
  485. package/styles/scss/dashboard.scss +8 -0
  486. package/styles/scss/filterBar.scss +39 -0
package/esm/index.js CHANGED
@@ -3,6 +3,8 @@
3
3
  export { ObjRefMap, newDisplayFormMap, newMapForObjectWithIdentity, } from "./_staging/metadata/objRefMap.js";
4
4
  // TODO remove export after values resolver call from KD is obsolete
5
5
  export { resolveFilterValues } from "./model/commandHandlers/drill/common/filterValuesResolver.js";
6
+ // exported for hosts that preload the dashboard themselves (KD)
7
+ export { getDashboardLoadReferenceTypes } from "./model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js";
6
8
  export { newCustomWidget, newDashboardItem, newDashboardSection, isCustomWidgetDefinition, isCustomWidgetBase, isCustomWidget, extendedWidgetDebugStr, isExtendedDashboardLayoutWidget, } from "./model/types/layoutTypes.js";
7
9
  export { isBrokenAlertDateFilterInfo, isBrokenAlertAttributeFilterInfo, } from "./model/types/alertTypes.js";
8
10
  export { isDashboardDependentDateFilter, } from "./model/types/dateFilterTypes.js";
@@ -24,10 +26,10 @@ export { useWidgetSelection } from "./model/react/useWidgetSelection.js";
24
26
  export { useWidgetFilters } from "./model/react/useWidgetFilters.js";
25
27
  export { useDashboardAutomations } from "./model/react/useDashboardAutomations/useDashboardAutomations.js";
26
28
  export { DEFAULT_MAX_AUTOMATIONS } from "./model/react/useDashboardAutomations/constants.js";
27
- export { selectAutomationCommonDateFilterId, selectAutomationAvailableDashboardFilters, selectAutomationDefaultSelectedFilters, selectAutomationFiltersByTab, selectDashboardFiltersWithoutCrossFiltering, selectDashboardHiddenFilters, selectDashboardLockedFilters, } from "./model/store/filtering/dashboardFilterSelectors.js";
29
+ export { selectAutomationCommonDateFilterId, selectAutomationAvailableDashboardFilters, selectAutomationDefaultSelectedFilters, selectAutomationFiltersByTab, selectDashboardFiltersWithoutCrossFiltering, selectDashboardHiddenFilters, selectDashboardLockedFilters, selectExecutableDashboardFilters, selectExecutableDashboardFiltersByTab, selectRestrictedDashboardFilterCount, selectRestrictedDashboardFilterLocalIdentifiers, selectRestrictedDashboardFilterLocalIdentifiersForTab, } from "./model/store/filtering/dashboardFilterSelectors.js";
28
30
  export { InitialLoadCorrelationId, initializeDashboard, initializeDashboardWithPersistedDashboard, saveDashboardAs, saveDashboard, renameDashboard, resetDashboard, exportDashboardToPdf, exportDashboardToExcel, exportDashboardToPdfPresentation, exportDashboardToPptPresentation, deleteDashboard, changeSharing, setDashboardDateFilterConfigMode, setDashboardDateFilterWithDimensionConfigMode, setDashboardAttributeFilterConfigMode, setDashboardAttributeFilterSelectionType, setDashboardMeasureValueFilterConfigMode, setDateFilterConfigTitle, setAttributeFilterLimitingItems, setDashboardAttributeFilterConfigDisplayAsLabel, changeIgnoreExecutionTimestamp, } from "./model/commands/dashboard.js";
29
31
  export { triggerEvent } from "./model/commands/events.js";
30
- export { changeDateFilterSelection, clearDateFilterSelection, addAttributeFilter, addTextAttributeFilter, moveAttributeFilter, removeAttributeFilter, removeAttributeFilters, addDateFilter, addMeasureValueFilter, removeMeasureValueFilter, removeMeasureValueFilters, removeDateFilter, moveMeasureValueFilter, moveDateFilter, changeMeasureValueFilterCondition, setMeasureValueFilterDimensionality, resetAttributeFilterSelection, changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeWorkingAttributeFilterSelection, changeWorkingMeasureValueFilterCondition, replaceAttributeFilterItemSelection, replaceWorkingAttributeFilterItemSelection, setAttributeFilterParents, changeFilterContextSelection, changeFilterContextSelectionByParams, applyAttributeFilter, applyDateFilter, setAttributeFilterDisplayForm, setAttributeFilterTitle, setMeasureValueFilterTitle, setAttributeFilterSelectionMode, setAttributeFilterDependentDateFilters, saveFilterView, deleteFilterView, applyFilterView, setFilterViewAsDefault, reloadFilterViews, applyFilterContextWorkingSelection, resetFilterContextWorkingSelection, } from "./model/commands/filters.js";
32
+ export { changeDateFilterSelection, clearDateFilterSelection, addAttributeFilter, addTextAttributeFilter, moveAttributeFilter, removeAttributeFilter, removeAttributeFilters, addDateFilter, addMeasureValueFilter, removeMeasureValueFilter, removeMeasureValueFilters, removeDateFilter, removeRestrictedFilters, moveMeasureValueFilter, moveDateFilter, changeMeasureValueFilterCondition, setMeasureValueFilterDimensionality, resetAttributeFilterSelection, changeAttributeFilterSelection, changeMigratedAttributeFilterSelection, changeWorkingAttributeFilterSelection, changeWorkingMeasureValueFilterCondition, replaceAttributeFilterItemSelection, replaceWorkingAttributeFilterItemSelection, setAttributeFilterParents, changeFilterContextSelection, changeFilterContextSelectionByParams, applyAttributeFilter, applyDateFilter, setAttributeFilterDisplayForm, setAttributeFilterTitle, setMeasureValueFilterTitle, setAttributeFilterSelectionMode, setAttributeFilterDependentDateFilters, saveFilterView, deleteFilterView, applyFilterView, setFilterViewAsDefault, reloadFilterViews, applyFilterContextWorkingSelection, resetFilterContextWorkingSelection, } from "./model/commands/filters.js";
31
33
  export { addLayoutSection, addNestedLayoutSection, moveLayoutSection, moveNestedLayoutSection, removeLayoutSection, removeNestedLayoutSection, changeLayoutSectionHeader, changeNestedLayoutSectionHeader, addSectionItem, addNestedLayoutSectionItem, replaceSectionItem, replaceNestedLayoutSectionItem, moveSectionItem, moveNestedLayoutSectionItem, moveSectionItemAndRemoveOriginalSectionIfEmpty, moveNestedLayoutSectionItemAndRemoveOriginalSectionIfEmpty, moveSectionItemToNewSection, moveNestedLayoutSectionItemToNewSection, moveSectionItemToNewSectionAndRemoveOriginalSectionIfEmpty, moveNestedLayoutSectionItemToNewSectionAndRemoveOriginalSectionIfEmpty, removeSectionItem, removeNestedLayoutSectionItem, eagerRemoveSectionItem, eagerRemoveNestedLayoutSectionItem, removeSectionItemByWidgetRef, eagerRemoveSectionItemByWidgetRef, undoLayoutChanges, revertLastLayoutChange, resizeHeight, resizeNestedLayoutItemsHeight, resizeWidth, resizeNestedLayoutItemWidth, setScreenSize, toggleLayoutSectionHeaders, toggleLayoutDirection, } from "./model/commands/layout.js";
32
34
  export { createAlert, saveAlert, } from "./model/commands/alerts.js";
33
35
  export { createScheduledEmail, saveScheduledEmail, refreshAutomations, initializeAutomations, } from "./model/commands/scheduledEmail.js";
@@ -116,7 +118,7 @@ export { metaActions } from "./model/store/meta/index.js";
116
118
  export { selectListedDashboards, selectListedDashboardsMap, } from "./model/store/listedDashboards/listedDashboardsSelectors.js";
117
119
  export { selectAccessibleDashboards, selectAccessibleDashboardsLoaded, selectAccessibleDashboardsMap, } from "./model/store/accessibleDashboards/accessibleDashboardsSelectors.js";
118
120
  export { selectInaccessibleDashboards, selectInaccessibleDashboardsMap, } from "./model/store/inaccessibleDashboards/inaccessibleDashboardsSelectors.js";
119
- export { selectRestrictedInsightsMap, selectUnavailableObjects, selectUnavailableObjectsMapByType, } from "./model/store/unavailableObjects/unavailableObjectsSelectors.js";
121
+ export { selectRestrictedInsightsMap, selectRestrictedRichTextReferences, selectUnavailableObjects, selectUnavailableObjectsMapByType, } from "./model/store/unavailableObjects/unavailableObjectsSelectors.js";
120
122
  export { selectDrillTargetsByWidgetRef, selectDrillTargets, } from "./model/store/drillTargets/drillTargetsSelectors.js";
121
123
  export { selectExecutionResult, selectExecutionResultByRef, selectIsExecutionResultExportableToCsvByRef, selectIsExecutionResultExportableToXlsxByRef, selectIsExecutionResultExportableToPdfByRef, selectIsExecutionResultReadyForExportByRef, selectHasSomeExecutionResult, selectIsExecutionResultExportableToCsvRawByRef, selectExecutionResultLimitBreaksByRef, selectHasExecutionResultLimitBreaksByRef, selectHasAnyExecutionResultLimitBreaks, } from "./model/store/executionResults/executionResultsSelectors.js";
122
124
  export { selectIsScheduleEmailDialogOpen, selectIsScheduleEmailManagementDialogOpen, selectIsScheduleEmailDialogContext, selectIsScheduleEmailManagementDialogContext, selectIsAlertingManagementDialogContext, selectIsSaveAsDialogOpen, selectIsShareDialogOpen, selectFilterBarExpanded, selectIsKpiAlertOpenedByWidgetRef, selectIsKpiAlertHighlightedByWidgetRef, selectMenuButtonItemsVisibility, selectScheduleEmailDialogReturnFocusTo, selectAlertingDialogReturnFocusTo, selectScheduleEmailDialogDefaultAttachment, selectSelectedWidgetRef, selectConfigurationPanelOpened, selectWidgetDateDatasetAutoSelect, selectIsDeleteDialogOpen, selectIsKpiDeleteDialogOpen, selectKpiDeleteDialogWidgetLayoutPath, selectKpiDeleteDialogWidgetCoordinates, selectInsightListLastUpdateRequested, selectIsWidgetLoadingAdditionalDataByWidgetRef, selectIsFilterAttributeSelectionOpen, selectSelectedFilterIndex, selectIsDraggingWidget, selectActiveSection, selectActiveSectionIndex, selectIsCancelEditModeDialogOpen, selectDraggingWidgetSource, selectDraggingWidgetTargetLayoutPath, selectDraggingWidgetTriggeringDropZoneType, selectDraggingWidgetTarget, selectWidgetsOverlay, selectWidgetsOverlayState, selectWidgetsModification, selectSectionModification, selectIsSectionInsertedByPlugin, selectInvalidDrillWidgetRefs, selectInvalidUrlDrillParameterDrillLocalIdsByWidgetRef, selectInvalidUrlDrillParameterWidgetRefs, selectInvalidUrlDrillParameterWidgetWarnings, selectFilterViewsDialogMode, selectIsFilterViewsDialogOpen, selectIsAlertingDialogOpen, selectIsAlertsManagementDialogOpen, selectIsWidgetDeleteDialogOpen, selectWidgetDeleteDialogWidgetRef, selectIgnoreExecutionTimestamp, selectExecutionTimestamp, selectIsSettingsDialogOpen, selectIsDensityDialogOpen, selectDashboardDensity, selectFilterValidationIncompatibleDefaultFiltersOverride, selectAutomationsInvalidationId, selectTimezoneOverride, selectVisualizationSwitcherActiveVisualizations, selectVisualizationSwitcherActiveVisualizationByWidgetRef, } from "./model/store/ui/uiSelectors.js";
package/esm/internal.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2022-2026 GoodData Corporation
2
- /* oxlint-disable no-barrel-files/no-barrel-files */
2
+ // oxlint-disable no-barrel-files/no-barrel-files
3
3
  /**
4
4
  * This file is used to re-export internal parts of the package that are used in other GoodData applications.
5
5
  * These are not to be used, outside GoodData, as they can change or disappear at any time.
package/esm/locales.d.ts CHANGED
@@ -60,7 +60,7 @@ export declare const messages: {
60
60
  scheduleManagementLoadError: {
61
61
  id: string;
62
62
  };
63
- scheduleManagementDeleteError: {
63
+ scheduleDeleteError: {
64
64
  id: string;
65
65
  };
66
66
  scheduleManagementNoSchedules: {
@@ -96,7 +96,7 @@ export declare const messages: {
96
96
  alertingManagementLoadError: {
97
97
  id: string;
98
98
  };
99
- alertingManagementDeleteError: {
99
+ alertingDeleteError: {
100
100
  id: string;
101
101
  };
102
102
  alertingManagementListTitle: {
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,uEAAsB,CAAC;AAEnD,eAAO,MAAM,QAAQ;;QACL,EAAE;;;QACkB,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;;QACM,EAAE;;;QACZ,EAAE;;;QACS,EAAE;;;QACN,EAAE;;;QACL,EAAE;;;QACJ,EAAE;;;QACN,EAAE;;;QACC,EAAE;;;QACD,EAAE;;;QACL,EAAE;;;QACA,EAAE;;;QACN,EAAE;;;QACA,EAAE;;;QACA,EAAE;;;QACD,EAAE;;;QACA,EAAE;;;QACF,EAAE;;;QACP,EAAE;;;QACC,EAAE;;;QACE,EAAE;;;QACN,EAAE;;;QACW,EAAE;;;QAE3B,EAAE;;;QACJ,EAAE;;;QACG,EAAE;;;QACJ,EAAE;;;QACS,EAAE;;;QACA,EAAE;;;QACJ,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;;QACC,EAAE;;;QACR,EAAE;;;QACO,EAAE;;;QAED,EAAE;;;QACX,EAAE;;;QACF,EAAE;;;QACU,EAAE;;;QACV,EAAE;;;QACtB,EAAE;;;QACD,EAAE;;;QACc,EAAE;;;QACQ,EAAE;;;QACF,EAAE;;;QACT,EAAE;;;QACF,EAAE;;;QACI,EAAE;;;QACG,EAAE;;;QACN,EAAE;;;QAEhB,EAAE;;;QACU,EAAE;;;QACF,EAAE;;;QACC,EAAE;;;QACF,EAAE;;;QACA,EAAE;;;QACF,EAAE;;;QACF,EAAE;;;QACA,EAAE;;;QACZ,EAAE;;;QACD,EAAE;;;QACF,EAAE;;;QACM,EAAE;;;QACA,EAAE;;;QACA,EAAE;;;QACjB,EAAE;;;QACJ,EAAE;;;QACF,EAAE;;;QACG,EAAE;;;QACX,EAAE;;;QACoB,EAAE;;;QACN,EAAE;;;QACN,EAAE;;;QACF,EAAE;;;QACV,EAAE;;;QACR,EAAE;;;QACF,EAAE;;;QACJ,EAAE;;;QACF,EAAE;;;QACE,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;;QACG,EAAE;;;QAEP,EAAE;;;QACR,EAAE;;;QACH,EAAE;;;QACD,EAAE;;;QACK,EAAE;;;QAEzB,EAAE;;;QAEyB,EAAE;;;QACF,EAAE;;;QACD,EAAE;;;QACT,EAAE;;;QACK,EAAE;;CACpC,CAAC"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,uEAAsB,CAAC;AAEnD,eAAO,MAAM,QAAQ;;QACL,EAAE;;;QACkB,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;;QACM,EAAE;;;QACZ,EAAE;;;QACS,EAAE;;;QACN,EAAE;;;QACL,EAAE;;;QACJ,EAAE;;;QACN,EAAE;;;QACC,EAAE;;;QACD,EAAE;;;QACL,EAAE;;;QACA,EAAE;;;QACN,EAAE;;;QACA,EAAE;;;QACA,EAAE;;;QACD,EAAE;;;QACV,EAAE;;;QACQ,EAAE;;;QACP,EAAE;;;QACC,EAAE;;;QACE,EAAE;;;QACN,EAAE;;;QACW,EAAE;;;QAE3B,EAAE;;;QACJ,EAAE;;;QACG,EAAE;;;QACJ,EAAE;;;QACS,EAAE;;;QACV,EAAE;;;QACM,EAAE;;;QACH,EAAE;;;QACJ,EAAE;;;QACC,EAAE;;;QACR,EAAE;;;QACO,EAAE;;;QAED,EAAE;;;QACX,EAAE;;;QACF,EAAE;;;QACU,EAAE;;;QACV,EAAE;;;QACtB,EAAE;;;QACD,EAAE;;;QACc,EAAE;;;QACQ,EAAE;;;QACF,EAAE;;;QACT,EAAE;;;QACF,EAAE;;;QACI,EAAE;;;QACG,EAAE;;;QACN,EAAE;;;QAEhB,EAAE;;;QACU,EAAE;;;QACF,EAAE;;;QACC,EAAE;;;QACF,EAAE;;;QACA,EAAE;;;QACF,EAAE;;;QACF,EAAE;;;QACA,EAAE;;;QACZ,EAAE;;;QACD,EAAE;;;QACF,EAAE;;;QACM,EAAE;;;QACA,EAAE;;;QACA,EAAE;;;QACjB,EAAE;;;QACJ,EAAE;;;QACF,EAAE;;;QACG,EAAE;;;QACX,EAAE;;;QACoB,EAAE;;;QACN,EAAE;;;QACN,EAAE;;;QACF,EAAE;;;QACV,EAAE;;;QACR,EAAE;;;QACF,EAAE;;;QACJ,EAAE;;;QACF,EAAE;;;QACE,EAAE;;;QACJ,EAAE;;;QACA,EAAE;;;QACG,EAAE;;;QAEP,EAAE;;;QACR,EAAE;;;QACH,EAAE;;;QACD,EAAE;;;QACK,EAAE;;;QAEzB,EAAE;;;QAEyB,EAAE;;;QACF,EAAE;;;QACD,EAAE;;;QACT,EAAE;;;QACK,EAAE;;CACpC,CAAC"}
package/esm/locales.js CHANGED
@@ -23,7 +23,7 @@ export const messages = defineMessages({
23
23
  scheduleEmailSaveSuccess: { id: "dialogs.schedule.email.save.success" },
24
24
  scheduleEmailDeleteSuccess: { id: "dialogs.schedule.email.delete.success" },
25
25
  scheduleManagementLoadError: { id: "dialogs.schedule.management.load.error" },
26
- scheduleManagementDeleteError: { id: "dialogs.schedule.management.delete.error" },
26
+ scheduleDeleteError: { id: "dialogs.schedule.management.delete.error" },
27
27
  scheduleManagementNoSchedules: { id: "dialogs.schedule.management.noSchedules" },
28
28
  scheduleManagementCreate: { id: "dialogs.schedule.management.create" },
29
29
  scheduleManagementCreateNew: { id: "dialogs.schedule.management.create.new" },
@@ -35,7 +35,7 @@ export const messages = defineMessages({
35
35
  alertUpdateSuccess: { id: "dialogs.alerting.update.success" },
36
36
  alertUpdateError: { id: "dialogs.alerting.update.error" },
37
37
  alertingManagementLoadError: { id: "dialogs.alerting.management.load.error" },
38
- alertingManagementDeleteError: { id: "dialogs.alerting.management.delete.error" },
38
+ alertingDeleteError: { id: "dialogs.alerting.management.delete.error" },
39
39
  alertingManagementListTitle: { id: "dialogs.alerting.management.list.title" },
40
40
  alertingManagementNoAlerts: { id: "dialogs.alerting.management.noAlerts" },
41
41
  alertingManagementCreate: { id: "dialogs.alerting.management.create" },
@@ -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) {
@@ -68,7 +68,7 @@ function saveDashboard(ctx, saveCtx) {
68
68
  return ctx.backend
69
69
  .workspace(ctx.workspace)
70
70
  .dashboards()
71
- .createDashboard(dashboardToSave)
71
+ .createDashboard(dashboardToSave, !ctx.config?.isAiMode)
72
72
  .then((dashboard) => ({ dashboard, created: true }));
73
73
  }
74
74
  throw error;
@@ -1 +1 @@
1
- {"version":3,"file":"removeAttributeFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CAmFpB"}
1
+ {"version":3,"file":"removeAttributeFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/filterContext/attributeFilter/removeAttributeFiltersHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAO5E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,wBAAiB,6BAA6B,CAC1C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,uBAAuB,GAC7B,YAAY,CAAC,IAAI,CAAC,CAoFpB"}
@@ -43,7 +43,8 @@ export function* removeAttributeFiltersHandler(ctx, cmd) {
43
43
  // remove filter from parents for all affected children (standard and arbitrary filters)
44
44
  ...affectedChildren.map((item) => tabsActions.setAttributeFilterParents({
45
45
  filterLocalId: dashboardAttributeFilterItemLocalIdentifier(item),
46
- parentFilters: (dashboardAttributeFilterItemFilterElementsBy(item) ?? []).filter((parent) => parent.filterLocalIdentifier !== removedLocalId),
46
+ // affectedChildren is a pre-loop snapshot, so drop every id being removed
47
+ parentFilters: (dashboardAttributeFilterItemFilterElementsBy(item) ?? []).filter((parent) => !filterLocalIds.includes(parent.filterLocalIdentifier)),
47
48
  })),
48
49
  // remove filter itself
49
50
  tabsActions.removeAttributeFilter({
@@ -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. " +
@@ -0,0 +1,9 @@
1
+ import { type SagaIterator } from "redux-saga";
2
+ import { type IRemoveRestrictedFilters } from "../../commands/filters.js";
3
+ import { type DashboardContext } from "../../types/commonTypes.js";
4
+ /**
5
+ * Removes the filters the active tab's notice reports. Each type goes through its own removal handler,
6
+ * which is what cleans up the dependencies, configs and widget ignore lists the filter leaves behind.
7
+ */
8
+ export declare function removeRestrictedFiltersHandler(ctx: DashboardContext, cmd: IRemoveRestrictedFilters): SagaIterator<void>;
9
+ //# sourceMappingURL=removeRestrictedFiltersHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeRestrictedFiltersHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/filterContext/removeRestrictedFiltersHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAS/C,OAAO,EAEH,KAAK,wBAAwB,EAGhC,MAAM,2BAA2B,CAAC;AAKnC,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAMnE;;;GAGG;AACH,wBAAiB,8BAA8B,CAC3C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,wBAAwB,GAC9B,YAAY,CAAC,IAAI,CAAC,CAwCpB"}
@@ -0,0 +1,39 @@
1
+ // (C) 2026 GoodData Corporation
2
+ import { call, select } from "redux-saga/effects";
3
+ import { isDashboardAttributeFilterItem, isDashboardDateFilterWithDimension, isDashboardMeasureValueFilter, } from "@gooddata/sdk-model";
4
+ import { removeAttributeFilters, removeMeasureValueFilters, } from "../../commands/filters.js";
5
+ import { filterLocalIdentifiers, selectReportedRestrictedDashboardFilters, } from "../../store/filtering/dashboardFilterSelectors.js";
6
+ import { removeAttributeFiltersHandler } from "./attributeFilter/removeAttributeFiltersHandler.js";
7
+ import { removeDateFiltersHandler } from "./dateFilter/removeDateFiltersHandler.js";
8
+ import { removeMeasureValueFilterHandler } from "./measureValueFilter/removeMeasureValueFilterHandler.js";
9
+ /**
10
+ * Removes the filters the active tab's notice reports. Each type goes through its own removal handler,
11
+ * which is what cleans up the dependencies, configs and widget ignore lists the filter leaves behind.
12
+ */
13
+ export function* removeRestrictedFiltersHandler(ctx, cmd) {
14
+ const restricted = yield select(selectReportedRestrictedDashboardFilters);
15
+ const attributeFilterLocalIds = [
16
+ ...filterLocalIdentifiers(restricted.filter(isDashboardAttributeFilterItem)),
17
+ ];
18
+ const measureValueFilterLocalIds = [
19
+ ...filterLocalIdentifiers(restricted.filter(isDashboardMeasureValueFilter)),
20
+ ];
21
+ const dateFilterDataSets = restricted
22
+ .filter(isDashboardDateFilterWithDimension)
23
+ .map((filter) => filter.dateFilter.dataSet);
24
+ if (attributeFilterLocalIds.length) {
25
+ yield call(removeAttributeFiltersHandler, ctx, removeAttributeFilters(attributeFilterLocalIds, cmd.correlationId));
26
+ }
27
+ if (dateFilterDataSets.length) {
28
+ // there is no factory taking more than one data set
29
+ const command = {
30
+ type: "GDC.DASH/CMD.FILTER_CONTEXT.DATE_FILTER.REMOVE",
31
+ correlationId: cmd.correlationId,
32
+ payload: { dataSets: dateFilterDataSets },
33
+ };
34
+ yield call(removeDateFiltersHandler, ctx, command);
35
+ }
36
+ if (measureValueFilterLocalIds.length) {
37
+ yield call(removeMeasureValueFilterHandler, ctx, removeMeasureValueFilters(measureValueFilterLocalIds, cmd.correlationId));
38
+ }
39
+ }