@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
@@ -2,5 +2,5 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { ItemsWrapper } from "@gooddata/sdk-ui-kit";
3
3
  const itemsWrapperStyle = { width: "100%" };
4
4
  export function DashboardInsightMenuContainer(props) {
5
- return (_jsx("div", { className: "insight-configuration", role: "dialog", "aria-labelledby": props.ariaLabelledBy, children: _jsx(ItemsWrapper, { smallItemsSpacing: true, style: itemsWrapperStyle, children: props.children }) }));
5
+ return (_jsx("div", { className: "insight-configuration", role: "dialog", "aria-labelledby": props.ariaLabelledBy, "aria-label": props.ariaLabel, children: _jsx(ItemsWrapper, { smallItemsSpacing: true, style: itemsWrapperStyle, children: props.children }) }));
6
6
  }
@@ -1,9 +1,14 @@
1
1
  import { type Dispatch, type SetStateAction } from "react";
2
2
  import { type RenderMode } from "../../../../../types.js";
3
3
  import { type IDashboardInsightMenuProps, type IInsightMenuSubmenu } from "../../types.js";
4
- export declare function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, }: IDashboardInsightMenuProps & {
4
+ export declare function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, showTitle, }: IDashboardInsightMenuProps & {
5
5
  setSubmenu?: Dispatch<SetStateAction<IInsightMenuSubmenu | null>>;
6
6
  renderMode: RenderMode;
7
+ /**
8
+ * Whether the menu names the widget it belongs to. Off for a widget the user is not allowed to
9
+ * see, whose stored title can name the object they have no access to.
10
+ */
11
+ showTitle?: boolean;
7
12
  }): import("react/jsx-runtime").JSX.Element;
8
13
  export declare function DashboardInsightMenu(props: IDashboardInsightMenuProps): import("react/jsx-runtime").JSX.Element;
9
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;AAaf,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACH,KAAK,0BAA0B,EAE/B,KAAK,mBAAmB,EAE3B,MAAM,gBAAgB,CAAC;AA6HxB,wBAAgB,wBAAwB,CAAC,EACrC,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,GACb,EAAE,0BAA0B,GAAG;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC;CAC1B,2CA6EA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,2CAcrE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,QAAQ,EAGb,KAAK,cAAc,EAItB,MAAM,OAAO,CAAC;AAef,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EACH,KAAK,0BAA0B,EAE/B,KAAK,mBAAmB,EAE3B,MAAM,gBAAgB,CAAC;AA8HxB,wBAAgB,wBAAwB,CAAC,EACrC,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAgB,GACnB,EAAE,0BAA0B,GAAG;IAC5B,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;IAClE,UAAU,EAAE,UAAU,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,2CAwFA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,0BAA0B,2CAcrE"}
@@ -1,12 +1,13 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // (C) 2021-2026 GoodData Corporation
3
3
  import { useMemo, useRef, useState, } from "react";
4
+ import { useIntl } from "react-intl";
4
5
  import { objRefToString, widgetRef } from "@gooddata/sdk-model";
5
6
  import { UiFocusManager, UiMenu, getSelectedMenuId, } from "@gooddata/sdk-ui-kit";
6
7
  import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
7
8
  import { selectRenderMode } from "../../../../../model/store/renderMode/renderModeSelectors.js";
8
9
  import { isIInsightMenuSubmenu, } from "../../types.js";
9
- import { CustomUiMenuContentComponent, CustomUiMenuContentItemComponent, CustomUiMenuHeaderComponent, CustomUiMenuInteractiveItemComponent, } from "./CustomUiMenuComponents.js";
10
+ import { CustomUiMenuContentComponent, CustomUiMenuContentItemComponent, CustomUiMenuHeaderComponent, CustomUiMenuHeaderComponentWithoutTitle, CustomUiMenuInteractiveItemComponent, } from "./CustomUiMenuComponents.js";
10
11
  import { DashboardInsightEditMenuBubble } from "./DashboardInsightEditMenuBubble.js";
11
12
  import { DashboardInsightMenuBubble } from "./DashboardInsightMenuBubble.js";
12
13
  import { DashboardInsightMenuContainer } from "./DashboardInsightMenuContainer.js";
@@ -83,7 +84,8 @@ const convertToUiMenuItems = (items, latestWidgetRef, submenuComponentCache) =>
83
84
  };
84
85
  });
85
86
  };
86
- export function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, }) {
87
+ export function DashboardInsightMenuBody({ items, widget, insight, onClose, renderMode, setSubmenu, showTitle = true, }) {
88
+ const intl = useIntl();
87
89
  const widgetRefAsString = objRefToString(widgetRef(widget));
88
90
  const latestWidgetRef = useRef(widget);
89
91
  latestWidgetRef.current = widget;
@@ -109,16 +111,19 @@ export function DashboardInsightMenuBody({ items, widget, insight, onClose, rend
109
111
  };
110
112
  const menuId = `insight-menu-${widgetRefAsString}`;
111
113
  const menuLabelId = `${menuId}-label`;
114
+ // without the title there is no element carrying menuLabelId, so the name goes on the menu itself
115
+ const menuLabel = showTitle
116
+ ? undefined
117
+ : intl.formatMessage({ id: "insightMenu.restrictedWidget.options" });
112
118
  const getMaxHeight = (context) => {
113
119
  if (getSelectedMenuId(context) === "Alerts") {
114
120
  return 500;
115
121
  }
116
122
  return 350;
117
123
  };
118
- return (_jsx(UiFocusManager, { enableAutofocus: { initialFocus: menuId }, enableFocusTrap: true, enableReturnFocusOnUnmount: true, children: _jsx(DashboardInsightMenuContainer, { ariaLabelledBy: menuLabelId, children: _jsx(UiMenu, { maxHeight: getMaxHeight, containerBottomPadding: "small", items: uiMenuItems, onClose: onClose, InteractiveItem: CustomUiMenuInteractiveItemComponent, ContentItem: CustomUiMenuContentItemComponent, Content: CustomUiMenuContentComponent, MenuHeader: CustomUiMenuHeaderComponent, shouldCloseOnSelect: true, ariaAttributes: {
119
- id: menuId,
120
- "aria-labelledby": menuLabelId,
121
- }, onSelect: handleSelect, onLevelChange: handleSubmenuOpen, menuCtxData: {
124
+ return (_jsx(UiFocusManager, { enableAutofocus: { initialFocus: menuId }, enableFocusTrap: true, enableReturnFocusOnUnmount: true, children: _jsx(DashboardInsightMenuContainer, { ariaLabelledBy: menuLabel ? undefined : menuLabelId, ariaLabel: menuLabel, children: _jsx(UiMenu, { maxHeight: getMaxHeight, containerBottomPadding: "small", items: uiMenuItems, onClose: onClose, InteractiveItem: CustomUiMenuInteractiveItemComponent, ContentItem: CustomUiMenuContentItemComponent, Content: CustomUiMenuContentComponent, MenuHeader: showTitle ? CustomUiMenuHeaderComponent : CustomUiMenuHeaderComponentWithoutTitle, shouldCloseOnSelect: true, ariaAttributes: menuLabel
125
+ ? { id: menuId, "aria-label": menuLabel }
126
+ : { id: menuId, "aria-labelledby": menuLabelId }, onSelect: handleSelect, onLevelChange: handleSubmenuOpen, menuCtxData: {
122
127
  widget,
123
128
  insight,
124
129
  renderMode,
@@ -1 +1 @@
1
- {"version":3,"file":"EditModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/EditModeDashboardRichText.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAK1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CA8GvG"}
1
+ {"version":3,"file":"EditModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/EditModeDashboardRichText.tsx"],"names":[],"mappings":"AA6BA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAK1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CAgHvG"}
@@ -13,6 +13,7 @@ import { useDashboardDispatch, useDashboardSelector } from "../../../model/react
13
13
  import { useDashboardExecConfig } from "../../../model/react/useWidgetExecConfig.js";
14
14
  import { useWidgetSelection } from "../../../model/react/useWidgetSelection.js";
15
15
  import { selectIsWhiteLabeled, selectSeparators } from "../../../model/store/config/configSelectors.js";
16
+ import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
16
17
  import { DASHBOARD_OVERLAYS_FILTER_Z_INDEX } from "../../../presentation/constants/zIndex.js";
17
18
  import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
18
19
  import { useEditableRichTextMenu } from "./useEditableRichTextMenu.js";
@@ -24,6 +25,7 @@ export function EditModeDashboardRichText({ widget, clientWidth, clientHeight })
24
25
  const { isSelected, hasConfigPanelOpen, closeConfigPanel } = useWidgetSelection(widgetRef(widget));
25
26
  const previousIsSelected = usePrevious(isSelected);
26
27
  const isWhiteLabeled = useDashboardSelector(selectIsWhiteLabeled);
28
+ const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
27
29
  const intl = useIntl();
28
30
  const execConfig = useDashboardExecConfig();
29
31
  const { menuItems } = useEditableRichTextMenu({ closeMenu: closeConfigPanel, widget });
@@ -54,5 +56,5 @@ export function EditModeDashboardRichText({ widget, clientWidth, clientHeight })
54
56
  clientWidth > 250 &&
55
57
  typeof clientHeight !== "undefined" &&
56
58
  clientHeight > 150;
57
- return (_jsxs(_Fragment, { children: [hasConfigPanelOpen ? (_jsx(RichTextMenuComponent, { widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, items: menuItems })) : null, _jsx(RichText, { referencesEnabled: true, filters: filters, separators: separators, className: "gd-rich-text-widget", value: richText, onChange: setRichText, renderMode: isRichTextEditing ? "edit" : "view", emptyElement: EmptyElement, LoadingComponent: LoadingComponent, execConfig: execConfig }), isRichTextEditing && showLink ? (_jsx("div", { className: "gd-rich-text-widget-footer", children: _jsx("div", { className: "gd-rich-text-footer-options", children: showLink ? (_jsx("a", { className: "gd-button-link-dimmed gd-icon-circle-question", href: "https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/", rel: "noopener noreferrer", target: "_blank", children: _jsx(FormattedMessage, { id: "richText.formattingOptions" }) })) : null }) })) : null, isConfirmDeleteDialogVisible ? (_jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialog, { className: "s-rich-text-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "richText.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }), children: _jsx(FormattedMessage, { id: "richText.deleteDialog.message" }) }) })) : null] }));
59
+ return (_jsxs(_Fragment, { children: [hasConfigPanelOpen ? (_jsx(RichTextMenuComponent, { widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, items: menuItems })) : null, _jsx(RichText, { referencesEnabled: true, filters: filters, separators: separators, restrictedReferences: restrictedReferences, className: "gd-rich-text-widget", value: richText, onChange: setRichText, renderMode: isRichTextEditing ? "edit" : "view", emptyElement: EmptyElement, LoadingComponent: LoadingComponent, execConfig: execConfig }), isRichTextEditing && showLink ? (_jsx("div", { className: "gd-rich-text-widget-footer", children: _jsx("div", { className: "gd-rich-text-footer-options", children: showLink ? (_jsx("a", { className: "gd-button-link-dimmed gd-icon-circle-question", href: "https://www.gooddata.com/docs/cloud/create-dashboards/rich-text/", rel: "noopener noreferrer", target: "_blank", children: _jsx(FormattedMessage, { id: "richText.formattingOptions" }) })) : null }) })) : null, isConfirmDeleteDialogVisible ? (_jsx(OverlayControllerProvider, { overlayController: overlayController, children: _jsx(ConfirmDialog, { className: "s-rich-text-remove-confirm-dialog", onSubmit: () => dispatch(eagerRemoveSectionItemByWidgetRef(widget.ref)), onCancel: () => setIsConfirmDeleteDialogVisible(false), headline: intl.formatMessage({ id: "richText.deleteDialog.header" }), submitButtonText: intl.formatMessage({ id: "delete" }), cancelButtonText: intl.formatMessage({ id: "cancel" }), children: _jsx(FormattedMessage, { id: "richText.deleteDialog.message" }) }) })) : null] }));
58
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ViewModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/ViewModeDashboardRichText.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,GACV,EAAE,uBAAuB,2CAsDzB"}
1
+ {"version":3,"file":"ViewModeDashboardRichText.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/richText/ViewModeDashboardRichText.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,GACV,EAAE,uBAAuB,2CAwDzB"}
@@ -9,6 +9,7 @@ import { selectSeparators } from "../../../model/store/config/configSelectors.js
9
9
  import { DASHBOARD_SUMMARY_MACRO } from "../../../model/store/dashboardSummaryWorkflow/constants.js";
10
10
  import { selectCurrentDashboardSummaryWorkflowStatus } from "../../../model/store/dashboardSummaryWorkflow/dashboardSummaryWorkflowSelectors.js";
11
11
  import { selectCurrentDashboardSummary } from "../../../model/store/listedDashboards/listedDashboardsSummarySelectors.js";
12
+ import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
12
13
  import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
13
14
  /**
14
15
  * @internal
@@ -17,6 +18,7 @@ export function ViewModeDashboardRichText({ widget, richTextExportData, onLoadin
17
18
  const intl = useIntl();
18
19
  const { filters } = useRichTextWidgetFilters(widget);
19
20
  const separators = useDashboardSelector(selectSeparators);
21
+ const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
20
22
  const { LoadingComponent } = useDashboardComponentsContext();
21
23
  const dashboardSummary = useDashboardSelector(selectCurrentDashboardSummary);
22
24
  const summaryWorkflowStatus = useDashboardSelector(selectCurrentDashboardSummaryWorkflowStatus);
@@ -44,7 +46,7 @@ export function ViewModeDashboardRichText({ widget, richTextExportData, onLoadin
44
46
  const raw = widget?.content ?? "";
45
47
  const value = raw.split(DASHBOARD_SUMMARY_MACRO).join(summaryWorkflowReplaceString);
46
48
  const execConfig = useDashboardExecConfig();
47
- return (_jsx(RichText, { referencesEnabled: true, className: "gd-rich-text-widget", value: value, filters: filters, separators: separators, renderMode: "view", rawContent: {
49
+ return (_jsx(RichText, { referencesEnabled: true, className: "gd-rich-text-widget", value: value, filters: filters, separators: separators, restrictedReferences: restrictedReferences, renderMode: "view", rawContent: {
48
50
  show: !!richTextExportData,
49
51
  dataAttributes: richTextExportData?.markdown,
50
52
  }, execConfig: execConfig, onLoadingChanged: onLoadingChanged, onError: onError, LoadingComponent: LoadingComponent }));
@@ -2,6 +2,12 @@ import { type ComponentType } from "react";
2
2
  import { type IDefaultDashboardInsightWidgetProps } from "./types.js";
3
3
  interface IDashboardWidgetInsightGuardProps extends Omit<IDefaultDashboardInsightWidgetProps, "insight"> {
4
4
  Component: ComponentType<IDefaultDashboardInsightWidgetProps>;
5
+ /**
6
+ * What stands in for a widget the user is not allowed to see. Defaults to the placeholder tile,
7
+ * which is all a viewer can be offered; edit mode passes a rendering that keeps the selection and
8
+ * the remove entry.
9
+ */
10
+ RestrictedComponent?: ComponentType<Omit<IDefaultDashboardInsightWidgetProps, "insight">>;
5
11
  }
6
12
  export declare function DashboardWidgetInsightGuard(props: IDashboardWidgetInsightGuardProps): import("react/jsx-runtime").JSX.Element;
7
13
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardWidgetInsightGuard.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ3C,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEtE,UAAU,iCAAkC,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC;IACpG,SAAS,EAAE,aAAa,CAAC,mCAAmC,CAAC,CAAC;CACjE;AAKD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,2CAsBnF"}
1
+ {"version":3,"file":"DashboardWidgetInsightGuard.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/DashboardWidgetInsightGuard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ3C,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEtE,UAAU,iCAAkC,SAAQ,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC;IACpG,SAAS,EAAE,aAAa,CAAC,mCAAmC,CAAC,CAAC;IAE9D;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,CAAC,CAAC;CAC7F;AAKD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,iCAAiC,2CAwBnF"}
@@ -8,14 +8,14 @@ import { RestrictedPlaceholder } from "../../common/RestrictedPlaceholder.js";
8
8
  // Since the behavior is nearly impossible to replicate reliably, let's be defensive here and not render
9
9
  // anything until the insights "catch up".
10
10
  export function DashboardWidgetInsightGuard(props) {
11
- const { widget, screen, dashboardItemClasses, exportData, Component } = props;
11
+ const { widget, screen, dashboardItemClasses, exportData, Component, RestrictedComponent } = props;
12
12
  const insights = useDashboardSelector(selectInsightsMap);
13
13
  const isRestricted = useIsWidgetRestricted(widget);
14
14
  const { RestrictedPlaceholderComponentProvider } = useDashboardComponentsContext();
15
- // view, edit and export modes all reach the widget through this guard, so short-circuiting here is
16
- // what strips the config panel, menu and selection from a restricted widget in edit mode
15
+ // view, edit and export modes all reach the widget through this guard, so this is the single
16
+ // short-circuit that keeps a restricted insight from reaching the widget in any of them
17
17
  if (isRestricted) {
18
- return (_jsx(RestrictedPlaceholder, { screen: screen, dashboardItemClasses: dashboardItemClasses, exportData: exportData, Content: RestrictedPlaceholderComponentProvider(widget) }));
18
+ return RestrictedComponent ? (_jsx(RestrictedComponent, { ...props })) : (_jsx(RestrictedPlaceholder, { screen: screen, dashboardItemClasses: dashboardItemClasses, exportData: exportData, Content: RestrictedPlaceholderComponentProvider(widget) }));
19
19
  }
20
20
  const insight = insights.get(widget.insight);
21
21
  return _jsx(Component, { ...props, insight: insight });
@@ -1 +1 @@
1
- {"version":3,"file":"EditableDashboardInsightWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.tsx"],"names":[],"mappings":"AAsBA,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAItE,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,2CAEzG"}
1
+ {"version":3,"file":"EditableDashboardInsightWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAItE,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,2CAQzG"}
@@ -15,10 +15,11 @@ import { DashboardInsight } from "../../insight/DashboardInsight.js";
15
15
  import { InsightWidgetWarningPartialResult } from "../warningPartialResult/InsightWidgetWarningPartialResult.js";
16
16
  import { DashboardWidgetInsightGuard } from "./DashboardWidgetInsightGuard.js";
17
17
  import { EditableDashboardInsightWidgetHeader } from "./EditableDashboardInsightWidgetHeader.js";
18
+ import { EditableRestrictedInsightWidget } from "./EditableRestrictedInsightWidget.js";
18
19
  import { useEditableInsightMenu } from "./useEditableInsightMenu.js";
19
20
  import { useInsightWarning } from "./useInsightWarning.js";
20
21
  export function EditableDashboardInsightWidget(props) {
21
- return _jsx(DashboardWidgetInsightGuard, { ...props, Component: EditableDashboardInsightWidgetCore });
22
+ return (_jsx(DashboardWidgetInsightGuard, { ...props, Component: EditableDashboardInsightWidgetCore, RestrictedComponent: EditableRestrictedInsightWidget }));
22
23
  }
23
24
  /**
24
25
  * @internal
@@ -0,0 +1,13 @@
1
+ import { type IDefaultDashboardInsightWidgetProps } from "./types.js";
2
+ /**
3
+ * Stands in for an insight widget the editor is not allowed to see. It keeps the selection and the
4
+ * context menu of an ordinary widget, because the editor may still want the widget gone; the menu is
5
+ * built by the standard builder for a widget with no readable insight, which leaves removal alone.
6
+ *
7
+ * It renders the standard menu body — keyboard handling, focus management and item rendering come
8
+ * with it — with its title suppressed, because the widget title can name the object the editor may
9
+ * not see. It does not go through `InsightMenuComponentProvider`: a replacement menu would have no
10
+ * reason to honour that.
11
+ */
12
+ export declare function EditableRestrictedInsightWidget({ widget, screen, dashboardItemClasses, }: Omit<IDefaultDashboardInsightWidgetProps, "insight">): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=EditableRestrictedInsightWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditableRestrictedInsightWidget.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/widget/widget/InsightWidget/EditableRestrictedInsightWidget.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAGtE;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,MAAM,EACN,MAAM,EACN,oBAAoB,GACvB,EAAE,IAAI,CAAC,mCAAmC,EAAE,SAAS,CAAC,2CAkDtD"}
@@ -0,0 +1,32 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // (C) 2026 GoodData Corporation
3
+ import cx from "classnames";
4
+ import { widgetRef } from "@gooddata/sdk-model";
5
+ import { useWidgetSelection } from "../../../../model/react/useWidgetSelection.js";
6
+ import { useDashboardComponentsContext } from "../../../dashboardContexts/DashboardComponentsContext.js";
7
+ import { DashboardItem } from "../../../presentationComponents/DashboardItems/DashboardItem.js";
8
+ import { DashboardItemVisualization } from "../../../presentationComponents/DashboardItems/DashboardItemVisualization.js";
9
+ import { DashboardInsightEditMenuBubble } from "../../insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightEditMenuBubble.js";
10
+ import { DashboardInsightMenuBody } from "../../insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js";
11
+ import { useEditableInsightMenu } from "./useEditableInsightMenu.js";
12
+ /**
13
+ * Stands in for an insight widget the editor is not allowed to see. It keeps the selection and the
14
+ * context menu of an ordinary widget, because the editor may still want the widget gone; the menu is
15
+ * built by the standard builder for a widget with no readable insight, which leaves removal alone.
16
+ *
17
+ * It renders the standard menu body — keyboard handling, focus management and item rendering come
18
+ * with it — with its title suppressed, because the widget title can name the object the editor may
19
+ * not see. It does not go through `InsightMenuComponentProvider`: a replacement menu would have no
20
+ * reason to honour that.
21
+ */
22
+ export function EditableRestrictedInsightWidget({ widget, screen, dashboardItemClasses, }) {
23
+ const { isSelectable, isSelected, onSelected, closeConfigPanel, hasConfigPanelOpen } = useWidgetSelection(widgetRef(widget));
24
+ const { RestrictedPlaceholderComponentProvider } = useDashboardComponentsContext();
25
+ const Content = RestrictedPlaceholderComponentProvider(widget);
26
+ const { menuItems } = useEditableInsightMenu({
27
+ closeMenu: closeConfigPanel,
28
+ insight: undefined,
29
+ widget,
30
+ });
31
+ return (_jsx(DashboardItem, { className: cx(dashboardItemClasses, "type-visualization", "gd-dashboard-view-widget", "is-edit-mode", { "is-selected": isSelected }), screen: screen, children: _jsx(DashboardItemVisualization, { isSelectable: isSelectable, isSelected: isSelected, onSelected: onSelected, renderAfterContent: () => hasConfigPanelOpen ? (_jsx(DashboardInsightEditMenuBubble, { onClose: closeConfigPanel, children: _jsx(DashboardInsightMenuBody, { items: menuItems, widget: widget, isOpen: hasConfigPanelOpen, onClose: closeConfigPanel, renderMode: "edit", showTitle: false }) })) : null, children: ({ clientHeight, clientWidth }) => (_jsx("div", { className: "visualization-content", children: _jsx(Content, { width: clientWidth, height: clientHeight }) })) }) }));
32
+ }
@@ -7,5 +7,5 @@ export declare function useWidgetDeleteDialogProps(): IWidgetDeleteDialogProps;
7
7
  /**
8
8
  * @internal
9
9
  */
10
- export declare function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, }: IWidgetDeleteDialogProps): ReactElement | null;
10
+ export declare function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, isRestricted, }: IWidgetDeleteDialogProps): ReactElement | null;
11
11
  //# sourceMappingURL=DefaultWidgetDeleteDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultWidgetDeleteDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AAqBvD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAuB3D;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,wBAAwB,CA8BrE;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,QAAQ,EACR,MAAM,GACT,EAAE,wBAAwB,GAAG,YAAY,GAAG,IAAI,CAmChD"}
1
+ {"version":3,"file":"DefaultWidgetDeleteDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/DefaultWidgetDeleteDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,OAAO,CAAC;AAsBvD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AA0B3D;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,wBAAwB,CAgCrE;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,SAAS,EACT,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,YAAoB,GACvB,EAAE,wBAAwB,GAAG,YAAY,GAAG,IAAI,CAuChD"}
@@ -6,6 +6,7 @@ import { FormattedMessage, defineMessages, useIntl } from "react-intl";
6
6
  import { ConfirmDialog } from "@gooddata/sdk-ui-kit";
7
7
  import { eagerRemoveSectionItemByWidgetRef } from "../../model/commands/layout.js";
8
8
  import { useDashboardDispatch, useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
9
+ import { useIsWidgetRestricted } from "../../model/react/useIsWidgetRestricted.js";
9
10
  import { dispatchAndWaitFor } from "../../model/store/_infra/dispatchAndWaitFor.js";
10
11
  import { selectDashboardUserAutomationAlertsInContext, selectDashboardUserAutomationSchedulesInContext, } from "../../model/store/automations/automationsSelectors.js";
11
12
  import { selectAnalyticalWidgetByRef } from "../../model/store/tabs/layout/layoutSelectors.js";
@@ -18,6 +19,9 @@ const deleteMessages = defineMessages({
18
19
  objects: {
19
20
  id: "deleteWidgetDialog.objectsMessage",
20
21
  },
22
+ objectsRestricted: {
23
+ id: "deleteWidgetDialog.objectsMessage.restricted",
24
+ },
21
25
  alerts: {
22
26
  id: "deleteWidgetDialog.alerts",
23
27
  },
@@ -47,6 +51,7 @@ export function useWidgetDeleteDialogProps() {
47
51
  }
48
52
  }, [dispatch, widget]);
49
53
  const isVisible = useDashboardSelector(selectIsWidgetDeleteDialogOpen);
54
+ const isRestricted = useIsWidgetRestricted(widget);
50
55
  const alerts = useDashboardSelector(selectDashboardUserAutomationAlertsInContext(widget?.localIdentifier));
51
56
  const schedules = useDashboardSelector(selectDashboardUserAutomationSchedulesInContext(widget?.localIdentifier));
52
57
  return {
@@ -56,12 +61,13 @@ export function useWidgetDeleteDialogProps() {
56
61
  onCancel,
57
62
  onDelete,
58
63
  widget,
64
+ isRestricted,
59
65
  };
60
66
  }
61
67
  /**
62
68
  * @internal
63
69
  */
64
- export function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, }) {
70
+ export function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSchedulesMessage, onDelete, onCancel, widget, isRestricted = false, }) {
65
71
  const intl = useIntl();
66
72
  if (!isVisible || !widget) {
67
73
  return null;
@@ -71,5 +77,5 @@ export function DefaultWidgetDeleteDialog({ isVisible, showAlertsMessage, showSc
71
77
  showAlertsMessage && deleteMessages.alerts,
72
78
  showSchedulesMessage && deleteMessages.schedules,
73
79
  ]);
74
- return (_jsx(ConfirmDialog, { onCancel: onCancel, onSubmit: onDelete, isPositive: false, className: "s-dialog s-delete_widget_dialog", headline: intl.formatMessage(deleteMessages.headline), cancelButtonText: intl.formatMessage(deleteMessages.cancel), submitButtonText: intl.formatMessage(deleteMessages.delete), children: _jsxs("div", { children: [_jsx(FormattedMessage, { id: deleteMessages.objects.id, values: { title: widgetTitle } }), _jsx("ul", { className: "gd-delete-dialog-objects-list", children: messages.map((message) => (_jsx("li", { children: _jsx(FormattedMessage, { ...message }) }, message.id))) })] }) }));
80
+ return (_jsx(ConfirmDialog, { onCancel: onCancel, onSubmit: onDelete, isPositive: false, className: "s-dialog s-delete_widget_dialog", headline: intl.formatMessage(deleteMessages.headline), cancelButtonText: intl.formatMessage(deleteMessages.cancel), submitButtonText: intl.formatMessage(deleteMessages.delete), children: _jsxs("div", { children: [isRestricted ? (_jsx(FormattedMessage, { id: deleteMessages.objectsRestricted.id })) : (_jsx(FormattedMessage, { id: deleteMessages.objects.id, values: { title: widgetTitle } })), _jsx("ul", { className: "gd-delete-dialog-objects-list", children: messages.map((message) => (_jsx("li", { children: _jsx(FormattedMessage, { ...message }) }, message.id))) })] }) }));
75
81
  }
@@ -10,6 +10,11 @@ export interface IWidgetDeleteDialogProps {
10
10
  onDelete: () => void;
11
11
  onCancel: () => void;
12
12
  widget: IWidget | undefined;
13
+ /**
14
+ * Whether the widget renders something the current user is not allowed to see. Such a widget must
15
+ * not be named: its stored title can be the name of the object they have no access to.
16
+ */
17
+ isRestricted?: boolean;
13
18
  }
14
19
  /**
15
20
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/presentation/widgetDeleteDialog/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAE5B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,aAAa,CAAC,wBAAwB,CAAC,CAAC"}