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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/NOTICE +16 -16
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/_staging/sharedHooks/useRichTextFilters.js +2 -2
  6. package/esm/index.d.ts +5 -3
  7. package/esm/index.d.ts.map +1 -1
  8. package/esm/index.js +4 -2
  9. package/esm/locales.d.ts +2 -2
  10. package/esm/locales.d.ts.map +1 -1
  11. package/esm/locales.js +2 -2
  12. package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
  13. package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +14 -4
  14. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.d.ts.map +1 -1
  15. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfHandler.js +3 -3
  16. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/dashboard/exportDashboardToPdfPresentationHandler.js +3 -3
  18. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.d.ts.map +1 -1
  19. package/esm/model/commandHandlers/dashboard/exportDashboardToPptPresentationHandler.js +3 -3
  20. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/dashboard/exportToTabularHandler.js +9 -4
  22. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts +1 -1
  23. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/index.js +3 -1
  25. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts +13 -3
  26. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.d.ts.map +1 -1
  27. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/loadUnavailableReferences.js +19 -5
  28. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts +2 -2
  29. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.d.ts.map +1 -1
  30. package/esm/model/commandHandlers/dashboard/initializeDashboardHandler/preloadAttributeFiltersData.js +3 -2
  31. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.d.ts.map +1 -1
  32. package/esm/model/commandHandlers/filterContext/attributeFilter/setAttributeFilterParentHandler.js +11 -1
  33. package/esm/model/commandHandlers/widgets/exportImageInsightWidgetHandler.js +2 -2
  34. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.d.ts.map +1 -1
  35. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +3 -2
  36. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.d.ts.map +1 -1
  37. package/esm/model/commandHandlers/widgets/exportSlidesInsightWidgetHandler.js +3 -3
  38. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.d.ts +2 -2
  39. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmails.js +3 -3
  40. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.d.ts +2 -2
  41. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsManagementDialog.js +5 -5
  42. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.d.ts +2 -2
  43. package/esm/model/react/useDashboardAlerting/useDashboardAlerts.js +3 -3
  44. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.d.ts +2 -2
  45. package/esm/model/react/useDashboardAlerting/useDashboardAlertsManagementDialog.js +5 -5
  46. package/esm/model/react/useWidgetFilters.js +2 -2
  47. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts +34 -0
  48. package/esm/model/store/filtering/dashboardFilterSelectors.d.ts.map +1 -1
  49. package/esm/model/store/filtering/dashboardFilterSelectors.js +62 -3
  50. package/esm/model/store/filtering/restrictedFilterUtils.d.ts +5 -0
  51. package/esm/model/store/filtering/restrictedFilterUtils.d.ts.map +1 -0
  52. package/esm/model/store/filtering/restrictedFilterUtils.js +22 -0
  53. package/esm/model/store/filtering/types.d.ts +1 -1
  54. package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
  55. package/esm/model/store/tabs/layout/layoutSelectors.js +2 -2
  56. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts +9 -1
  57. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.d.ts.map +1 -1
  58. package/esm/model/store/unavailableObjects/unavailableObjectsSelectors.js +14 -0
  59. package/esm/plugins/customizationApis/customizationBuilder.d.ts.map +1 -1
  60. package/esm/plugins/customizationApis/customizationBuilder.js +1 -0
  61. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts +4 -2
  62. package/esm/plugins/customizationApis/filterBarCustomizer.d.ts.map +1 -1
  63. package/esm/plugins/customizationApis/filterBarCustomizer.js +42 -3
  64. package/esm/plugins/customizer.d.ts +13 -1
  65. package/esm/plugins/customizer.d.ts.map +1 -1
  66. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +10 -10
  67. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +10 -10
  68. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.d.ts +1 -1
  69. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogAttribute.js +1 -1
  70. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.d.ts +1 -1
  71. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonOperator.js +1 -1
  72. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.d.ts +1 -1
  73. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogComparisonPeriod.js +1 -1
  74. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts +3 -2
  75. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.d.ts.map +1 -1
  76. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogDestination.js +1 -2
  77. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts +3 -2
  78. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.d.ts.map +1 -1
  79. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogFilters.js +1 -2
  80. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.d.ts +1 -1
  81. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogGranularity.js +1 -1
  82. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.d.ts +1 -1
  83. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogHeader.js +2 -2
  84. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.d.ts +1 -1
  85. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogMeasure.js +1 -1
  86. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts +3 -2
  87. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.d.ts.map +1 -1
  88. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogRecipients.js +1 -2
  89. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.d.ts +1 -1
  90. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogSensitivity.js +1 -1
  91. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.d.ts +1 -1
  92. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogThreshold.js +1 -1
  93. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.d.ts +1 -1
  94. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerInterval.js +1 -1
  95. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.d.ts +1 -1
  96. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialogTriggerMode.js +1 -1
  97. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.d.ts +1 -1
  98. package/esm/presentation/automations/alerting/DefaultAlertingManagementDialog/DefaultAlertingManagementDialogNew.js +1 -1
  99. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts +4 -3
  100. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.d.ts.map +1 -1
  101. package/esm/presentation/automations/alerting/blocks/AlertingDialogActionBar.js +1 -2
  102. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.d.ts +1 -1
  103. package/esm/presentation/automations/alerting/blocks/AlertingDialogAttribute.js +1 -1
  104. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.d.ts +1 -1
  105. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonOperator.js +1 -1
  106. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.d.ts +1 -1
  107. package/esm/presentation/automations/alerting/blocks/AlertingDialogComparisonPeriod.js +1 -1
  108. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts +3 -2
  109. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.d.ts.map +1 -1
  110. package/esm/presentation/automations/alerting/blocks/AlertingDialogDestination.js +1 -1
  111. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts +3 -2
  112. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.d.ts.map +1 -1
  113. package/esm/presentation/automations/alerting/blocks/AlertingDialogFilters.js +1 -2
  114. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +1 -1
  115. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +1 -1
  116. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.d.ts +1 -1
  117. package/esm/presentation/automations/alerting/blocks/AlertingDialogGranularity.js +1 -1
  118. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.d.ts +1 -1
  119. package/esm/presentation/automations/alerting/blocks/AlertingDialogHeader.js +1 -1
  120. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.d.ts +1 -1
  121. package/esm/presentation/automations/alerting/blocks/AlertingDialogMeasure.js +1 -1
  122. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts +3 -2
  123. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.d.ts.map +1 -1
  124. package/esm/presentation/automations/alerting/blocks/AlertingDialogRecipients.js +1 -1
  125. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.d.ts +1 -1
  126. package/esm/presentation/automations/alerting/blocks/AlertingDialogSensitivity.js +1 -1
  127. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +3 -3
  128. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +3 -3
  129. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.d.ts +1 -1
  130. package/esm/presentation/automations/alerting/blocks/AlertingDialogThreshold.js +1 -1
  131. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.d.ts +1 -1
  132. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js +1 -1
  133. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.d.ts +1 -1
  134. package/esm/presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js +1 -1
  135. package/esm/presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.d.ts +1 -1
  136. package/esm/presentation/automations/alerting/state/AlertActionsContext.d.ts +1 -1
  137. package/esm/presentation/automations/alerting/state/AlertActionsContext.js +1 -1
  138. package/esm/presentation/automations/alerting/state/AlertDataContext.d.ts +1 -1
  139. package/esm/presentation/automations/alerting/state/AlertDataContext.js +1 -1
  140. package/esm/presentation/automations/alerting/state/AlertDraftContext.d.ts +1 -1
  141. package/esm/presentation/automations/alerting/state/AlertDraftContext.js +1 -1
  142. package/esm/presentation/automations/alerting/state/AlertFiltersContext.d.ts +1 -1
  143. package/esm/presentation/automations/alerting/state/AlertFiltersContext.js +1 -1
  144. package/esm/presentation/automations/alerting/state/types.d.ts +8 -8
  145. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.d.ts +1 -1
  146. package/esm/presentation/automations/alerting/state/useAlertDialogValidity.js +1 -1
  147. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.d.ts +1 -1
  148. package/esm/presentation/automations/alerting/state/useAlertSelectedValues.js +1 -1
  149. package/esm/presentation/automations/alerting/state/useAlertSubmit.d.ts +1 -1
  150. package/esm/presentation/automations/alerting/state/useAlertSubmit.js +1 -1
  151. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.d.ts +9 -9
  152. package/esm/presentation/automations/alerting/state/useAlertingDialogFieldProps.js +9 -9
  153. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.d.ts +7 -7
  154. package/esm/presentation/automations/alerting/state/useAlertingDialogRegionProps.js +5 -5
  155. package/esm/presentation/automations/alerting/types.d.ts +31 -28
  156. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  157. package/esm/presentation/automations/alerting/types.js +1 -1
  158. package/esm/presentation/automations/alerting/utils/getters.d.ts +1 -1
  159. package/esm/presentation/automations/connectors/AlertingConnector.js +2 -2
  160. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.d.ts +1 -1
  161. package/esm/presentation/automations/connectors/DefaultAlertingManagementDialogConnected.js +1 -1
  162. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +2 -2
  163. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +3 -3
  164. package/esm/presentation/automations/contexts/AlertingDialogContext.js +2 -2
  165. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +5 -5
  166. package/esm/presentation/automations/contexts/AutomationsContext.js +2 -2
  167. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +3 -3
  168. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.js +2 -2
  169. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +11 -11
  170. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +11 -11
  171. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +1 -1
  172. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +1 -1
  173. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts +3 -2
  174. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.d.ts.map +1 -1
  175. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js +1 -1
  176. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +1 -1
  177. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +1 -1
  178. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts +3 -2
  179. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.d.ts.map +1 -1
  180. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js +1 -2
  181. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.d.ts +1 -1
  182. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.js +2 -2
  183. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +1 -1
  184. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +1 -1
  185. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts +3 -2
  186. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.d.ts.map +1 -1
  187. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js +1 -1
  188. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +1 -1
  189. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +1 -1
  190. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +1 -1
  191. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +1 -1
  192. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts +3 -2
  193. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.d.ts.map +1 -1
  194. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js +1 -2
  195. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +1 -1
  196. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +1 -1
  197. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.d.ts +1 -1
  198. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +1 -1
  199. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts +4 -3
  200. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.d.ts.map +1 -1
  201. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js +1 -2
  202. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +1 -1
  203. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +1 -1
  204. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts +3 -2
  205. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.d.ts.map +1 -1
  206. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js +1 -1
  207. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +1 -1
  208. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +1 -1
  209. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts +3 -2
  210. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.d.ts.map +1 -1
  211. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js +1 -2
  212. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.d.ts +1 -1
  213. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js +1 -1
  214. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +1 -1
  215. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +1 -1
  216. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts +3 -2
  217. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.d.ts.map +1 -1
  218. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js +1 -2
  219. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +1 -1
  220. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +1 -1
  221. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +3 -3
  222. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +3 -3
  223. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +1 -1
  224. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +1 -1
  225. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts +3 -2
  226. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.d.ts.map +1 -1
  227. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js +1 -2
  228. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +1 -1
  229. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js +1 -1
  230. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.d.ts +1 -1
  231. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js +1 -1
  232. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.d.ts +1 -1
  233. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDataContext.js +1 -1
  234. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.d.ts +1 -1
  235. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js +1 -1
  236. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.d.ts +1 -1
  237. package/esm/presentation/automations/scheduledEmail/state/ScheduledExportFiltersContext.js +1 -1
  238. package/esm/presentation/automations/scheduledEmail/state/types.d.ts +8 -8
  239. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.d.ts +1 -1
  240. package/esm/presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js +1 -1
  241. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +8 -8
  242. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +6 -6
  243. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.d.ts +9 -9
  244. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js +6 -6
  245. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +2 -2
  246. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +1 -1
  247. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.d.ts +1 -1
  248. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js +1 -1
  249. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.d.ts +1 -1
  250. package/esm/presentation/automations/scheduledEmail/state/useScheduledExportDialogValidity.js +1 -1
  251. package/esm/presentation/automations/scheduledEmail/types.d.ts +25 -22
  252. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  253. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +1 -1
  254. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +2 -2
  255. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.js +1 -1
  256. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.d.ts +1 -1
  257. package/esm/presentation/automations/shared/slots/AutomationDialogFormField.js +1 -1
  258. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.d.ts +1 -1
  259. package/esm/presentation/automations/shared/slots/DefaultAutomationDialogActionBar.js +1 -1
  260. package/esm/presentation/automations/shared/slots/types.d.ts +9 -7
  261. package/esm/presentation/automations/shared/slots/types.d.ts.map +1 -1
  262. package/esm/presentation/automations/shared/types.d.ts +2 -2
  263. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.d.ts.map +1 -1
  264. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListCore.js +3 -1
  265. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts +1 -1
  266. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.d.ts.map +1 -1
  267. package/esm/presentation/dashboard/DashboardSidebar/DraggableInsightList/DraggableInsightListItemWrapper.js +2 -1
  268. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts +2 -1
  269. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.d.ts.map +1 -1
  270. package/esm/presentation/dashboard/DashboardSidebar/InsightPickerPanel.js +2 -2
  271. package/esm/presentation/dashboard/DashboardSidebar/SidebarResizeChrome.d.ts.map +1 -1
  272. package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts +8 -0
  273. package/esm/presentation/dashboard/components/DashboardContractExpired.d.ts.map +1 -0
  274. package/esm/presentation/dashboard/components/DashboardContractExpired.js +25 -0
  275. package/esm/presentation/dashboard/components/DashboardLoading.d.ts.map +1 -1
  276. package/esm/presentation/dashboard/components/DashboardLoading.js +13 -2
  277. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  278. package/esm/presentation/dashboard/components/DashboardRenderer.js +2 -2
  279. package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts +13 -0
  280. package/esm/presentation/dashboard/components/contractExpiredIcons.d.ts.map +1 -0
  281. package/esm/presentation/dashboard/components/contractExpiredIcons.js +15 -0
  282. package/esm/presentation/dashboard/hooks/useDashboard.d.ts +2 -1
  283. package/esm/presentation/dashboard/hooks/useDashboard.d.ts.map +1 -1
  284. package/esm/presentation/dashboard/hooks/useDashboard.js +7 -1
  285. package/esm/presentation/dashboard/types.d.ts +12 -1
  286. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  287. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +2 -1
  288. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  289. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +1 -0
  290. package/esm/presentation/dashboardContexts/types.d.ts +20 -0
  291. package/esm/presentation/dashboardContexts/types.d.ts.map +1 -1
  292. package/esm/presentation/dragAndDrop/types.d.ts +1 -0
  293. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  294. package/esm/presentation/export/hooks/useDashboardRelatedFilters.js +2 -2
  295. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
  296. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +7 -3
  297. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.d.ts.map +1 -1
  298. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useDependentDateFiltersConfiguration.js +11 -1
  299. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.d.ts.map +1 -1
  300. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/hooks/useParentsConfiguration.js +3 -1
  301. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.d.ts.map +1 -1
  302. package/esm/presentation/filterBar/attributeFilter/useDependentDateFilters.js +13 -4
  303. package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
  304. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +10 -3
  305. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.d.ts.map +1 -1
  306. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +13 -0
  307. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.d.ts.map +1 -1
  308. package/esm/presentation/filterBar/filterBar/DefaultFilterBar.js +5 -2
  309. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.d.ts.map +1 -1
  310. package/esm/presentation/filterBar/filterBar/DefaultFilterBarItem.js +10 -5
  311. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts +14 -0
  312. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.d.ts.map +1 -0
  313. package/esm/presentation/filterBar/filterBar/RestrictedFiltersPlaceholder.js +11 -0
  314. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.d.ts.map +1 -1
  315. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderDescription.js +3 -1
  316. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  317. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +3 -1
  318. package/esm/presentation/insightList/InsightList.d.ts.map +1 -1
  319. package/esm/presentation/insightList/InsightList.js +3 -1
  320. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts +28 -0
  321. package/esm/presentation/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  322. package/esm/presentation/localization/bundles/en-US.localization-bundle.js +28 -0
  323. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.d.ts.map +1 -1
  324. package/esm/presentation/widget/description/ExportModeInsightWidgetDescription.js +3 -1
  325. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.d.ts.map +1 -1
  326. package/esm/presentation/widget/description/InsightWidgetDescriptionTrigger.js +4 -1
  327. package/esm/presentation/widget/description/types.d.ts +2 -1
  328. package/esm/presentation/widget/description/types.d.ts.map +1 -1
  329. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.d.ts.map +1 -1
  330. package/esm/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.js +3 -1
  331. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.d.ts.map +1 -1
  332. package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js +4 -1
  333. package/esm/presentation/widget/richText/EditModeDashboardRichText.d.ts.map +1 -1
  334. package/esm/presentation/widget/richText/EditModeDashboardRichText.js +3 -1
  335. package/esm/presentation/widget/richText/ViewModeDashboardRichText.d.ts.map +1 -1
  336. package/esm/presentation/widget/richText/ViewModeDashboardRichText.js +3 -1
  337. package/esm/sdk-ui-dashboard.d.ts +366 -246
  338. package/esm/types.d.ts +1 -1
  339. package/package.json +22 -22
  340. package/styles/css/dashboard.css +8 -0
  341. package/styles/css/dashboard.css.map +1 -1
  342. package/styles/css/filterBar.css +23 -0
  343. package/styles/css/filterBar.css.map +1 -1
  344. package/styles/css/main.css +42 -0
  345. package/styles/css/main.css.map +1 -1
  346. package/styles/scss/dashboard.scss +8 -0
  347. package/styles/scss/filterBar.scss +30 -0
@@ -3,8 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { objRefToString, widgetRef } from "@gooddata/sdk-model";
4
4
  import { simplifyText } from "@gooddata/util";
5
5
  import { useRichTextWidgetFilters } from "../../../_staging/sharedHooks/useRichTextFilters.js";
6
+ import { useDashboardSelector } from "../../../model/react/DashboardStoreProvider.js";
6
7
  import { useDashboardUserInteraction } from "../../../model/react/useDashboardUserInteraction.js";
7
8
  import { useDashboardExecConfig } from "../../../model/react/useWidgetExecConfig.js";
9
+ import { selectRestrictedRichTextReferences } from "../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
8
10
  import { useDashboardComponentsContext } from "../../dashboardContexts/DashboardComponentsContext.js";
9
11
  import { DescriptionClickTrigger } from "./DescriptionClickTrigger.js";
10
12
  import { useInsightWidgetDescription } from "./useInsightWidgetDescription.js";
@@ -15,6 +17,7 @@ export function InsightWidgetDescriptionTrigger(props) {
15
17
  const userInteraction = useDashboardUserInteraction();
16
18
  const execConfig = useDashboardExecConfig();
17
19
  const { filters } = useRichTextWidgetFilters(widget);
20
+ const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
18
21
  const { LoadingComponent } = useDashboardComponentsContext();
19
22
  const eventPayload = {
20
23
  from: "widget",
@@ -22,7 +25,7 @@ export function InsightWidgetDescriptionTrigger(props) {
22
25
  description,
23
26
  };
24
27
  if (isVisible) {
25
- return (_jsx(DescriptionClickTrigger, { className: `widget-description-${simplifyText(widgetRefAsString)}`, description: description, onOpen: () => userInteraction.descriptionTooltipOpened(eventPayload), useReferences: true, filters: filters, LoadingComponent: LoadingComponent, execConfig: execConfig }));
28
+ return (_jsx(DescriptionClickTrigger, { className: `widget-description-${simplifyText(widgetRefAsString)}`, description: description, onOpen: () => userInteraction.descriptionTooltipOpened(eventPayload), useReferences: true, filters: filters, restrictedReferences: restrictedReferences, LoadingComponent: LoadingComponent, execConfig: execConfig }));
26
29
  }
27
30
  return null;
28
31
  }
@@ -1,5 +1,5 @@
1
1
  import { type ComponentType } from "react";
2
- import { type IExecutionConfig, type IFilter, type IInsight, type IInsightWidget, type ScreenSize } from "@gooddata/sdk-model";
2
+ import { type IExecutionConfig, type IFilter, type IInsight, type IInsightWidget, type ObjRef, type ScreenSize } from "@gooddata/sdk-model";
3
3
  import { type DescriptionExportData } from "../../export/types.js";
4
4
  export interface IInsightWidgetDescriptionTriggerProps {
5
5
  widget: IInsightWidget;
@@ -14,6 +14,7 @@ export interface IDescriptionClickTriggerProps {
14
14
  useReferences?: boolean;
15
15
  LoadingComponent?: ComponentType;
16
16
  filters?: IFilter[];
17
+ restrictedReferences?: ObjRef[];
17
18
  execConfig?: IExecutionConfig;
18
19
  id?: string;
19
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/description/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,UAAU,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,WAAW,qCAAqC;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/presentation/widget/description/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,UAAU,EAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,WAAW,qCAAqC;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;AAyBvE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAgB7G;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAmCD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CA2MhF"}
1
+ {"version":3,"file":"InsightDrillDialog.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/ViewModeDashboardInsight/InsightDrillDialog/InsightDrillDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,YAAY,EAAyB,MAAM,OAAO,CAAC;AAKrF,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,cAAc,EAKtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAyB,MAAM,kBAAkB,CAAC;AA0BvE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAgB7G;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,gBAAgB,CAAC;CACnC;AAmCD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,wBAAwB,GAAG,YAAY,CA2MhF"}
@@ -11,6 +11,7 @@ import { useDashboardExecConfig } from "../../../../../model/react/useWidgetExec
11
11
  import { useWidgetExecutionsHandler } from "../../../../../model/react/useWidgetExecutionsHandler.js";
12
12
  import { selectSeparators } from "../../../../../model/store/config/configSelectors.js";
13
13
  import { DRILL_MODAL_EXECUTION_PSEUDO_REF } from "../../../../../model/store/executionResults/constants.js";
14
+ import { selectRestrictedRichTextReferences } from "../../../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
14
15
  import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../../../constants/zIndex.js";
15
16
  import { useDashboardComponentsContext } from "../../../../dashboardContexts/DashboardComponentsContext.js";
16
17
  import { WithDrillSelect } from "../../../../drill/DrillSelect/WithDrillSelect.js";
@@ -121,9 +122,10 @@ function InsightDrillDialogDescriptionButton({ isOpen, isMobileDevice, setIsOpen
121
122
  }
122
123
  function InsightDrillDialogDescriptionContent({ id, isOpen, isMobileDevice, description, widgetFilters, LoadingComponent, }) {
123
124
  const separators = useDashboardSelector(selectSeparators);
125
+ const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
124
126
  const execConfig = useDashboardExecConfig();
125
127
  return (_jsx("div", { id: id, className: cx("drill-dialog-insight-container-description", {
126
128
  "drill-dialog-insight-container-description--open": isOpen,
127
129
  "drill-dialog-insight-container-description--mobile": isMobileDevice,
128
- }), children: _jsx("div", { className: "drill-dialog-insight-container-description-content", children: _jsx(RichText, { value: description, execConfig: execConfig, renderMode: "view", referencesEnabled: true, filters: widgetFilters, separators: separators, LoadingComponent: LoadingComponent }) }) }));
130
+ }), children: _jsx("div", { className: "drill-dialog-insight-container-description-content", children: _jsx(RichText, { value: description, execConfig: execConfig, renderMode: "view", referencesEnabled: true, filters: widgetFilters, separators: separators, restrictedReferences: restrictedReferences, LoadingComponent: LoadingComponent }) }) }));
129
131
  }
@@ -1 +1 @@
1
- {"version":3,"file":"InsightDescription.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAK7E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAUrE,UAAU,wBAAwB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EAC/B,WAAW,EACX,cAAc,EACd,QAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,UAAU,GACb,EAAE,wBAAwB,2CAiE1B"}
1
+ {"version":3,"file":"InsightDescription.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAoC,MAAM,OAAO,CAAC;AAK7E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAYrE,UAAU,wBAAwB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,cAAc,CAAC,EAAE,OAAO,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,kBAAkB,CAAC,EAC/B,WAAW,EACX,cAAc,EACd,QAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,UAAU,GACb,EAAE,wBAAwB,2CAmE1B"}
@@ -4,7 +4,9 @@ import { useCallback, useEffect, useState } from "react";
4
4
  import cx from "classnames";
5
5
  import { useIntl } from "react-intl";
6
6
  import { RichTextWithTooltip } from "@gooddata/sdk-ui-kit";
7
+ import { useDashboardSelector } from "../../../../../model/react/DashboardStoreProvider.js";
7
8
  import { useDashboardExecConfig } from "../../../../../model/react/useWidgetExecConfig.js";
9
+ import { selectRestrictedRichTextReferences } from "../../../../../model/store/unavailableObjects/unavailableObjectsSelectors.js";
8
10
  const richTextTooltipAlignPoints = [
9
11
  { align: "bl tl", offset: { x: 4, y: 5 } },
10
12
  { align: "tl bl", offset: { x: 4, y: -5 } },
@@ -17,6 +19,7 @@ export function InsightDescription({ description, setDescription, readOnly = fal
17
19
  const [isRichTextEditing, setIsRichTextEditing] = useState(false);
18
20
  const [richTextValue, setRichTextValue] = useState(description);
19
21
  const execConfig = useDashboardExecConfig();
22
+ const restrictedReferences = useDashboardSelector(selectRestrictedRichTextReferences);
20
23
  useEffect(() => {
21
24
  setRichTextValue(description);
22
25
  }, [description]);
@@ -35,5 +38,5 @@ export function InsightDescription({ description, setDescription, readOnly = fal
35
38
  const onRichTextChange = useCallback((value) => {
36
39
  setRichTextValue(value);
37
40
  }, []);
38
- return (_jsx("label", { className: "gd-input", children: _jsx("div", { className: cx("gd-input-field gd-rich-text-insight-description", { disabled: readOnly }), onClick: onDescriptionClick, onBlur: onDescriptionBlur, children: _jsx(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 4, editPlaceholder: placeholder, emptyElement: readOnly ? undefined : (_jsx("div", { className: "gd-editable-label-richtext-empty", children: placeholder })), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints, referencesEnabled: true, LoadingComponent: LoadingComponent, filters: insightFilters, separators: separators, execConfig: execConfig }) }) }));
41
+ return (_jsx("label", { className: "gd-input", children: _jsx("div", { className: cx("gd-input-field gd-rich-text-insight-description", { disabled: readOnly }), onClick: onDescriptionClick, onBlur: onDescriptionBlur, children: _jsx(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 4, editPlaceholder: placeholder, emptyElement: readOnly ? undefined : (_jsx("div", { className: "gd-editable-label-richtext-empty", children: placeholder })), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints, referencesEnabled: true, LoadingComponent: LoadingComponent, filters: insightFilters, separators: separators, restrictedReferences: restrictedReferences, execConfig: execConfig }) }) }));
39
42
  }
@@ -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 }));