@gooddata/sdk-ui-gen-ai 11.61.0 → 11.62.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 (173) hide show
  1. package/esm/components/ConfigContext.d.ts +1 -0
  2. package/esm/components/ConfigContext.d.ts.map +1 -1
  3. package/esm/components/GenAIChatContextIndicator.d.ts +1 -1
  4. package/esm/components/GenAIChatContextIndicator.js +3 -3
  5. package/esm/components/GenAIChatDialogConnected.d.ts +7 -4
  6. package/esm/components/GenAIChatDialogConnected.d.ts.map +1 -1
  7. package/esm/components/GenAIChatDialogConnected.js +5 -3
  8. package/esm/components/GenAiChatContextChooser.d.ts +1 -1
  9. package/esm/components/GenAiChatContextChooser.d.ts.map +1 -1
  10. package/esm/components/GenAiChatContextChooser.js +5 -1
  11. package/esm/components/hooks/useContextChangeAnnouncement.js +1 -1
  12. package/esm/components/hooks/useContextItems.d.ts +2 -2
  13. package/esm/components/hooks/useDashboardSavedSync.d.ts +13 -0
  14. package/esm/components/hooks/useDashboardSavedSync.d.ts.map +1 -0
  15. package/esm/components/hooks/useDashboardSavedSync.js +14 -0
  16. package/esm/components/hooks/usePublisherDocumentSavedSync.d.ts +18 -0
  17. package/esm/components/hooks/usePublisherDocumentSavedSync.d.ts.map +1 -0
  18. package/esm/components/hooks/usePublisherDocumentSavedSync.js +18 -0
  19. package/esm/components/intelligence/data/categoryDetailRows.js +1 -1
  20. package/esm/components/messages/components/SemanticSearchTreeView.d.ts.map +1 -1
  21. package/esm/components/messages/components/SemanticSearchTreeView.js +5 -1
  22. package/esm/components/messages/contents/CustomHyperlink.d.ts +3 -1
  23. package/esm/components/messages/contents/CustomHyperlink.d.ts.map +1 -1
  24. package/esm/components/messages/contents/CustomHyperlink.js +7 -4
  25. package/esm/components/messages/conversationContents/ConversationDashboardContent.d.ts.map +1 -1
  26. package/esm/components/messages/conversationContents/ConversationDashboardContent.js +13 -4
  27. package/esm/components/messages/conversationContents/ConversationMultipartContent.js +3 -3
  28. package/esm/components/messages/conversationContents/ConversationPublisherDocumentContent.d.ts +11 -0
  29. package/esm/components/messages/conversationContents/ConversationPublisherDocumentContent.d.ts.map +1 -0
  30. package/esm/components/messages/conversationContents/ConversationPublisherDocumentContent.js +57 -0
  31. package/esm/components/messages/conversationContents/ConversationVisualizationContent.d.ts.map +1 -1
  32. package/esm/components/messages/conversationContents/ConversationVisualizationContent.js +9 -5
  33. package/esm/components/messages/conversationContents/useSaveCheck.d.ts +6 -2
  34. package/esm/components/messages/conversationContents/useSaveCheck.d.ts.map +1 -1
  35. package/esm/components/messages/conversationContents/useSaveCheck.js +26 -1
  36. package/esm/components/utils/icons.js +5 -5
  37. package/esm/context/addContextReference.js +2 -2
  38. package/esm/context/build.d.ts.map +1 -1
  39. package/esm/context/build.js +8 -6
  40. package/esm/context/collectContextReferences.js +9 -9
  41. package/esm/context/removeContextReference.d.ts.map +1 -1
  42. package/esm/context/removeContextReference.js +4 -3
  43. package/esm/context/selectContextReferences.js +11 -9
  44. package/esm/context/{viewReport.d.ts → viewedPublisherDocument.d.ts} +4 -4
  45. package/esm/context/viewedPublisherDocument.d.ts.map +1 -0
  46. package/esm/context/{viewReport.js → viewedPublisherDocument.js} +3 -3
  47. package/esm/index.d.ts +1 -1
  48. package/esm/index.d.ts.map +1 -1
  49. package/esm/index.js +1 -1
  50. package/esm/internal.d.ts +2 -1
  51. package/esm/internal.d.ts.map +1 -1
  52. package/esm/localization/bundles/de-DE.localization-bundle.d.ts +1 -0
  53. package/esm/localization/bundles/de-DE.localization-bundle.d.ts.map +1 -1
  54. package/esm/localization/bundles/de-DE.localization-bundle.js +1 -0
  55. package/esm/localization/bundles/en-AU.localization-bundle.d.ts +1 -0
  56. package/esm/localization/bundles/en-AU.localization-bundle.d.ts.map +1 -1
  57. package/esm/localization/bundles/en-AU.localization-bundle.js +1 -0
  58. package/esm/localization/bundles/en-GB.localization-bundle.d.ts +1 -0
  59. package/esm/localization/bundles/en-GB.localization-bundle.d.ts.map +1 -1
  60. package/esm/localization/bundles/en-GB.localization-bundle.js +1 -0
  61. package/esm/localization/bundles/en-US.localization-bundle.d.ts +10 -6
  62. package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  63. package/esm/localization/bundles/en-US.localization-bundle.js +19 -15
  64. package/esm/localization/bundles/es-419.localization-bundle.d.ts +1 -0
  65. package/esm/localization/bundles/es-419.localization-bundle.d.ts.map +1 -1
  66. package/esm/localization/bundles/es-419.localization-bundle.js +1 -0
  67. package/esm/localization/bundles/es-ES.localization-bundle.d.ts +1 -0
  68. package/esm/localization/bundles/es-ES.localization-bundle.d.ts.map +1 -1
  69. package/esm/localization/bundles/es-ES.localization-bundle.js +1 -0
  70. package/esm/localization/bundles/fi-FI.localization-bundle.d.ts +1 -0
  71. package/esm/localization/bundles/fi-FI.localization-bundle.d.ts.map +1 -1
  72. package/esm/localization/bundles/fi-FI.localization-bundle.js +1 -0
  73. package/esm/localization/bundles/fr-CA.localization-bundle.d.ts +1 -0
  74. package/esm/localization/bundles/fr-CA.localization-bundle.d.ts.map +1 -1
  75. package/esm/localization/bundles/fr-CA.localization-bundle.js +1 -0
  76. package/esm/localization/bundles/fr-FR.localization-bundle.d.ts +1 -0
  77. package/esm/localization/bundles/fr-FR.localization-bundle.d.ts.map +1 -1
  78. package/esm/localization/bundles/fr-FR.localization-bundle.js +1 -0
  79. package/esm/localization/bundles/id-ID.localization-bundle.d.ts +1 -0
  80. package/esm/localization/bundles/id-ID.localization-bundle.d.ts.map +1 -1
  81. package/esm/localization/bundles/id-ID.localization-bundle.js +1 -0
  82. package/esm/localization/bundles/it-IT.localization-bundle.d.ts +1 -0
  83. package/esm/localization/bundles/it-IT.localization-bundle.d.ts.map +1 -1
  84. package/esm/localization/bundles/it-IT.localization-bundle.js +1 -0
  85. package/esm/localization/bundles/ja-JP.localization-bundle.d.ts +1 -0
  86. package/esm/localization/bundles/ja-JP.localization-bundle.d.ts.map +1 -1
  87. package/esm/localization/bundles/ja-JP.localization-bundle.js +1 -0
  88. package/esm/localization/bundles/ko-KR.localization-bundle.d.ts +1 -0
  89. package/esm/localization/bundles/ko-KR.localization-bundle.d.ts.map +1 -1
  90. package/esm/localization/bundles/ko-KR.localization-bundle.js +1 -0
  91. package/esm/localization/bundles/nl-NL.localization-bundle.d.ts +1 -0
  92. package/esm/localization/bundles/nl-NL.localization-bundle.d.ts.map +1 -1
  93. package/esm/localization/bundles/nl-NL.localization-bundle.js +1 -0
  94. package/esm/localization/bundles/pl-PL.localization-bundle.d.ts +1 -0
  95. package/esm/localization/bundles/pl-PL.localization-bundle.d.ts.map +1 -1
  96. package/esm/localization/bundles/pl-PL.localization-bundle.js +1 -0
  97. package/esm/localization/bundles/pt-BR.localization-bundle.d.ts +1 -0
  98. package/esm/localization/bundles/pt-BR.localization-bundle.d.ts.map +1 -1
  99. package/esm/localization/bundles/pt-BR.localization-bundle.js +1 -0
  100. package/esm/localization/bundles/pt-PT.localization-bundle.d.ts +1 -0
  101. package/esm/localization/bundles/pt-PT.localization-bundle.d.ts.map +1 -1
  102. package/esm/localization/bundles/pt-PT.localization-bundle.js +1 -0
  103. package/esm/localization/bundles/ru-RU.localization-bundle.d.ts +1 -0
  104. package/esm/localization/bundles/ru-RU.localization-bundle.d.ts.map +1 -1
  105. package/esm/localization/bundles/ru-RU.localization-bundle.js +1 -0
  106. package/esm/localization/bundles/sl-SI.localization-bundle.d.ts +1 -0
  107. package/esm/localization/bundles/sl-SI.localization-bundle.d.ts.map +1 -1
  108. package/esm/localization/bundles/sl-SI.localization-bundle.js +1 -0
  109. package/esm/localization/bundles/th-TH.localization-bundle.d.ts +1 -0
  110. package/esm/localization/bundles/th-TH.localization-bundle.d.ts.map +1 -1
  111. package/esm/localization/bundles/th-TH.localization-bundle.js +1 -0
  112. package/esm/localization/bundles/tr-TR.localization-bundle.d.ts +1 -0
  113. package/esm/localization/bundles/tr-TR.localization-bundle.d.ts.map +1 -1
  114. package/esm/localization/bundles/tr-TR.localization-bundle.js +1 -0
  115. package/esm/localization/bundles/uk-UA.localization-bundle.d.ts +1 -0
  116. package/esm/localization/bundles/uk-UA.localization-bundle.d.ts.map +1 -1
  117. package/esm/localization/bundles/uk-UA.localization-bundle.js +1 -0
  118. package/esm/localization/bundles/vi-VN.localization-bundle.d.ts +1 -0
  119. package/esm/localization/bundles/vi-VN.localization-bundle.d.ts.map +1 -1
  120. package/esm/localization/bundles/vi-VN.localization-bundle.js +1 -0
  121. package/esm/localization/bundles/zh-HK.localization-bundle.d.ts +1 -0
  122. package/esm/localization/bundles/zh-HK.localization-bundle.d.ts.map +1 -1
  123. package/esm/localization/bundles/zh-HK.localization-bundle.js +1 -0
  124. package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts +1 -0
  125. package/esm/localization/bundles/zh-Hans.localization-bundle.d.ts.map +1 -1
  126. package/esm/localization/bundles/zh-Hans.localization-bundle.js +1 -0
  127. package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts +1 -0
  128. package/esm/localization/bundles/zh-Hant.localization-bundle.d.ts.map +1 -1
  129. package/esm/localization/bundles/zh-Hant.localization-bundle.js +1 -0
  130. package/esm/model.d.ts +1 -0
  131. package/esm/model.d.ts.map +1 -1
  132. package/esm/sdk-ui-gen-ai.d.ts +42 -11
  133. package/esm/store/chatWindow/chatWindowSelectors.d.ts.map +1 -1
  134. package/esm/store/chatWindow/chatWindowSelectors.js +4 -3
  135. package/esm/store/chatWindow/chatWindowSlice.d.ts +6 -6
  136. package/esm/store/chatWindow/chatWindowSlice.d.ts.map +1 -1
  137. package/esm/store/events.d.ts +11 -11
  138. package/esm/store/events.d.ts.map +1 -1
  139. package/esm/store/messages/messagesSelectors.d.ts +1 -0
  140. package/esm/store/messages/messagesSelectors.d.ts.map +1 -1
  141. package/esm/store/messages/messagesSelectors.js +1 -0
  142. package/esm/store/messages/messagesSlice.d.ts +22 -6
  143. package/esm/store/messages/messagesSlice.d.ts.map +1 -1
  144. package/esm/store/messages/messagesSlice.js +42 -8
  145. package/esm/store/sideEffects/index.d.ts.map +1 -1
  146. package/esm/store/sideEffects/index.js +5 -1
  147. package/esm/store/sideEffects/onDashboardSaved.d.ts +3 -0
  148. package/esm/store/sideEffects/onDashboardSaved.d.ts.map +1 -0
  149. package/esm/store/sideEffects/onDashboardSaved.js +31 -0
  150. package/esm/store/sideEffects/onDefinitionReceivedTrigger.d.ts.map +1 -1
  151. package/esm/store/sideEffects/onDefinitionReceivedTrigger.js +8 -7
  152. package/esm/store/sideEffects/onPublisherDocumentSaved.d.ts +3 -0
  153. package/esm/store/sideEffects/onPublisherDocumentSaved.d.ts.map +1 -0
  154. package/esm/store/sideEffects/onPublisherDocumentSaved.js +26 -0
  155. package/esm/store/sideEffects/onVisualizationSuccessSave.d.ts.map +1 -1
  156. package/esm/store/sideEffects/onVisualizationSuccessSave.js +1 -0
  157. package/esm/types.d.ts +4 -4
  158. package/esm/types.d.ts.map +1 -1
  159. package/esm/utils.d.ts +7 -7
  160. package/esm/utils.d.ts.map +1 -1
  161. package/esm/utils.js +15 -15
  162. package/package.json +20 -20
  163. package/styles/css/main.css +79 -86
  164. package/styles/css/main.css.map +1 -1
  165. package/styles/css/messages.css +73 -73
  166. package/styles/scss/messages.scss +5 -5
  167. package/esm/components/hooks/useReportSavedSync.d.ts +0 -18
  168. package/esm/components/hooks/useReportSavedSync.d.ts.map +0 -1
  169. package/esm/components/hooks/useReportSavedSync.js +0 -18
  170. package/esm/components/messages/conversationContents/ConversationReportContent.d.ts +0 -11
  171. package/esm/components/messages/conversationContents/ConversationReportContent.d.ts.map +0 -1
  172. package/esm/components/messages/conversationContents/ConversationReportContent.js +0 -56
  173. package/esm/context/viewReport.d.ts.map +0 -1
@@ -1041,10 +1041,10 @@
1041
1041
  overscroll-behavior: contain;
1042
1042
  margin: 0;
1043
1043
  }
1044
- .gd-gen-ai-chat__conversation__item__content--alertProposal, .gd-gen-ai-chat__conversation__item__content--dashboard, .gd-gen-ai-chat__conversation__item__content--report {
1044
+ .gd-gen-ai-chat__conversation__item__content--alertProposal, .gd-gen-ai-chat__conversation__item__content--dashboard, .gd-gen-ai-chat__conversation__item__content--publisherDocument {
1045
1045
  display: grid;
1046
1046
  }
1047
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-header, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-header, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-header {
1047
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-header, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-header, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-header {
1048
1048
  display: flex;
1049
1049
  flex-direction: row;
1050
1050
  align-items: center;
@@ -1054,7 +1054,7 @@
1054
1054
  font-weight: 400;
1055
1055
  color: var(--gd-palette-complementary-7, #6d7680);
1056
1056
  }
1057
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-subheader, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-subheader, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-subheader {
1057
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-subheader, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-subheader, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-subheader {
1058
1058
  display: flex;
1059
1059
  flex-direction: row;
1060
1060
  align-items: center;
@@ -1064,7 +1064,7 @@
1064
1064
  font-weight: 400;
1065
1065
  color: var(--gd-palette-complementary-7, #6d7680);
1066
1066
  }
1067
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame {
1067
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame {
1068
1068
  display: flex;
1069
1069
  max-height: 500px;
1070
1070
  padding: 10px;
@@ -1077,61 +1077,61 @@
1077
1077
  overflow-y: auto;
1078
1078
  overscroll-behavior: auto;
1079
1079
  }
1080
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul {
1080
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame ul {
1081
1081
  padding: 0 0 0 20px;
1082
1082
  margin: 0;
1083
1083
  }
1084
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title {
1084
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-title {
1085
1085
  display: inline-block;
1086
1086
  margin-right: 5px;
1087
1087
  }
1088
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description {
1088
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description {
1089
1089
  display: inline;
1090
1090
  }
1091
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p {
1091
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description p {
1092
1092
  display: inline;
1093
1093
  }
1094
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p {
1094
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-alertProposal-item-bold p, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description.gd-gen-ai-chat__conversation__item__content-dashboard-item-bold p {
1095
1095
  font-weight: bold;
1096
1096
  }
1097
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code {
1097
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-description code {
1098
1098
  background: var(--gd-palette-complementary-2, #ebeff4);
1099
1099
  padding: 2px 4px;
1100
1100
  border-radius: 4px;
1101
1101
  }
1102
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format {
1102
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-format {
1103
1103
  margin-left: 5px;
1104
1104
  display: inline;
1105
1105
  color: var(--gd-palette-complementary-6, #94a1ad);
1106
1106
  }
1107
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons {
1107
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-frame .gd-gen-ai-chat__conversation__item__content-alertProposal-item-buttons {
1108
1108
  display: flex;
1109
1109
  align-items: center;
1110
1110
  justify-content: flex-end;
1111
1111
  width: 100%;
1112
1112
  }
1113
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-condition, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-condition, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-condition {
1113
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-condition, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-condition, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-condition {
1114
1114
  display: flex;
1115
1115
  flex-direction: row;
1116
1116
  gap: 5px;
1117
1117
  align-items: center;
1118
1118
  align-self: center;
1119
1119
  }
1120
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-condition .alertProposal-operand-number, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-condition .alertProposal-operand-number, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-condition .alertProposal-operand-number {
1120
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-condition .alertProposal-operand-number, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-condition .alertProposal-operand-number, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-condition .alertProposal-operand-number {
1121
1121
  font-weight: bold;
1122
1122
  }
1123
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly {
1123
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly {
1124
1124
  display: block;
1125
1125
  padding: 5px 15px 0 15px;
1126
1126
  text-align: center;
1127
1127
  }
1128
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand {
1128
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-alertProposal-anomaly .alertProposal-operand {
1129
1129
  display: inline-block;
1130
1130
  }
1131
1131
  .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame,
1132
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame,
1133
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame,
1134
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame {
1132
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame,
1133
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame,
1134
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame {
1135
1135
  display: flex;
1136
1136
  max-height: 500px;
1137
1137
  padding: 10px;
@@ -1146,42 +1146,42 @@
1146
1146
  overscroll-behavior: auto;
1147
1147
  }
1148
1148
  .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1149
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-icon,
1150
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1151
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-icon, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1152
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-icon,
1153
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1154
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-icon, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1155
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-icon,
1156
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1157
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-icon {
1149
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon,
1150
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1151
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1152
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon,
1153
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1154
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1155
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon,
1156
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1157
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon {
1158
1158
  flex-grow: 0;
1159
1159
  flex-shrink: 0;
1160
1160
  }
1161
1161
  .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1162
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content,
1163
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1164
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1165
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content,
1166
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1167
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1168
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content,
1169
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1170
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content {
1162
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content,
1163
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1164
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1165
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content,
1166
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1167
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1168
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content,
1169
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1170
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content {
1171
1171
  display: flex;
1172
1172
  flex-direction: column;
1173
1173
  flex-grow: 1;
1174
1174
  }
1175
1175
  .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1176
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-title,
1177
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1178
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1179
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-title,
1180
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1181
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-title, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1182
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-title,
1183
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1184
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-title {
1176
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-title,
1177
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1178
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-title, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1179
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-title,
1180
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1181
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-title, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1182
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-title,
1183
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-title,
1184
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-title {
1185
1185
  align-self: stretch;
1186
1186
  color: var(--gd-palette-complementary-8);
1187
1187
  font-size: 14px;
@@ -1190,24 +1190,24 @@
1190
1190
  line-height: 23px;
1191
1191
  }
1192
1192
  .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date, .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1193
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-date,
1194
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-details,
1195
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date,
1196
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1197
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-date,
1198
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-details, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1199
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-date,
1200
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-details,
1201
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date,
1202
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1203
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-date,
1204
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-details, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1205
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-date,
1206
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-content-details,
1207
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date,
1208
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1209
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-date,
1210
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-content-details {
1193
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-date,
1194
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-details,
1195
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date,
1196
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1197
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-date,
1198
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-details, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1199
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-date,
1200
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-details,
1201
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date,
1202
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1203
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-date,
1204
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-details, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1205
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-date,
1206
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-details,
1207
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-date,
1208
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-content-details,
1209
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-date,
1210
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-content-details {
1211
1211
  color: var(--gd-palette-complementary-7);
1212
1212
  font-size: 12px;
1213
1213
  font-style: normal;
@@ -1215,15 +1215,15 @@
1215
1215
  line-height: normal;
1216
1216
  }
1217
1217
  .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1218
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-item-buttons,
1219
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1220
- .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1221
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-item-buttons,
1222
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1223
- .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-item-buttons, .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1224
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-report-item-buttons,
1225
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1226
- .gd-gen-ai-chat__conversation__item__content--report .gd-gen-ai-chat__conversation__item__content-report-frame .gd-gen-ai-chat__conversation__item__content-report-item-buttons {
1218
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons,
1219
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1220
+ .gd-gen-ai-chat__conversation__item__content--alertProposal .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons, .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1221
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons,
1222
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1223
+ .gd-gen-ai-chat__conversation__item__content--dashboard .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons, .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1224
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-dashboard-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons,
1225
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1226
+ .gd-gen-ai-chat__conversation__item__content--publisherDocument .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons {
1227
1227
  flex-grow: 0;
1228
1228
  }
1229
1229
  .gd-gen-ai-chat__conversation__item__content--kda__button {
@@ -1031,7 +1031,7 @@ $dataset_color: #952f8e;
1031
1031
 
1032
1032
  &--alertProposal,
1033
1033
  &--dashboard,
1034
- &--report {
1034
+ &--publisherDocument {
1035
1035
  display: grid;
1036
1036
 
1037
1037
  .gd-gen-ai-chat__conversation__item__content-alertProposal-header {
@@ -1135,7 +1135,7 @@ $dataset_color: #952f8e;
1135
1135
  }
1136
1136
 
1137
1137
  .gd-gen-ai-chat__conversation__item__content-dashboard-frame,
1138
- .gd-gen-ai-chat__conversation__item__content-report-frame {
1138
+ .gd-gen-ai-chat__conversation__item__content-publisherDocument-frame {
1139
1139
  display: flex;
1140
1140
  max-height: 500px;
1141
1141
  padding: 10px;
@@ -1150,13 +1150,13 @@ $dataset_color: #952f8e;
1150
1150
  overscroll-behavior: auto;
1151
1151
 
1152
1152
  .gd-gen-ai-chat__conversation__item__content-dashboard-icon,
1153
- .gd-gen-ai-chat__conversation__item__content-report-icon {
1153
+ .gd-gen-ai-chat__conversation__item__content-publisherDocument-icon {
1154
1154
  flex-grow: 0;
1155
1155
  flex-shrink: 0;
1156
1156
  }
1157
1157
 
1158
1158
  .gd-gen-ai-chat__conversation__item__content-dashboard-content,
1159
- .gd-gen-ai-chat__conversation__item__content-report-content {
1159
+ .gd-gen-ai-chat__conversation__item__content-publisherDocument-content {
1160
1160
  display: flex;
1161
1161
  flex-direction: column;
1162
1162
  flex-grow: 1;
@@ -1181,7 +1181,7 @@ $dataset_color: #952f8e;
1181
1181
  }
1182
1182
 
1183
1183
  .gd-gen-ai-chat__conversation__item__content-dashboard-item-buttons,
1184
- .gd-gen-ai-chat__conversation__item__content-report-item-buttons {
1184
+ .gd-gen-ai-chat__conversation__item__content-publisherDocument-item-buttons {
1185
1185
  flex-grow: 0;
1186
1186
  }
1187
1187
  }
@@ -1,18 +0,0 @@
1
- import { reportSavedAction } from "../../store/messages/messagesSlice.js";
2
- /**
3
- * A report of the chat that an application saved. `seq` tells one save from the next, so saving the
4
- * same report again is reported again.
5
- */
6
- export interface IReportSaved {
7
- seq: number;
8
- conversationId: string;
9
- itemId: string;
10
- reportRef?: string;
11
- savedReportId: string;
12
- }
13
- /**
14
- * Tells the chat store about a report an application saved, so the report in the chat reads as saved
15
- * without the conversation being loaded again.
16
- */
17
- export declare function useReportSavedSync(dispatch: ((action: ReturnType<typeof reportSavedAction>) => void) | null, reportSaved: IReportSaved | undefined): void;
18
- //# sourceMappingURL=useReportSavedSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useReportSavedSync.d.ts","sourceRoot":"","sources":["../../../src/components/hooks/useReportSavedSync.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAE1E;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAC9B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,KAAK,IAAI,CAAC,GAAG,IAAI,EACzE,WAAW,EAAE,YAAY,GAAG,SAAS,QAYxC"}
@@ -1,18 +0,0 @@
1
- // (C) 2026 GoodData Corporation
2
- import { useEffect, useRef } from "react";
3
- import { reportSavedAction } from "../../store/messages/messagesSlice.js";
4
- /**
5
- * Tells the chat store about a report an application saved, so the report in the chat reads as saved
6
- * without the conversation being loaded again.
7
- */
8
- export function useReportSavedSync(dispatch, reportSaved) {
9
- const lastSeq = useRef(undefined);
10
- useEffect(() => {
11
- if (!dispatch || !reportSaved || lastSeq.current === reportSaved.seq) {
12
- return;
13
- }
14
- lastSeq.current = reportSaved.seq;
15
- const { seq: _seq, ...payload } = reportSaved;
16
- dispatch(reportSavedAction(payload));
17
- }, [dispatch, reportSaved]);
18
- }
@@ -1,11 +0,0 @@
1
- import { type IReportDefinition } from "@gooddata/sdk-model";
2
- import type { IChatConversationLocalItem } from "../../../model.js";
3
- export type ConversationReportContentProps = {
4
- message: IChatConversationLocalItem;
5
- report: IReportDefinition | null;
6
- saved?: string | null;
7
- baseReportId?: string | null;
8
- className?: string;
9
- };
10
- export declare function ConversationReportContent({ message, report, saved, baseReportId, className, }: ConversationReportContentProps): import("react/jsx-runtime").JSX.Element | null;
11
- //# sourceMappingURL=ConversationReportContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConversationReportContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationReportContent.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAMpE,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACtC,OAAO,EACP,MAAM,EACN,KAAK,EACL,YAAY,EACZ,SAAS,GACZ,EAAE,8BAA8B,kDA2FhC"}
@@ -1,56 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import cx from "classnames";
3
- import { useIntl } from "react-intl";
4
- import { useSelector } from "react-redux";
5
- import { useWorkspaceStrict } from "@gooddata/sdk-ui";
6
- import { UiButton, UiIcon } from "@gooddata/sdk-ui-kit";
7
- import { isPreviewSelector, settingsSelector } from "../../../store/chatWindow/chatWindowSelectors.js";
8
- import { conversationSelector } from "../../../store/messages/messagesSelectors.js";
9
- import { formatReportPeriod, getReportItemUrl } from "../../../utils.js";
10
- import { useConfig } from "../../ConfigContext.js";
11
- export function ConversationReportContent({ message, report, saved, baseReportId, className, }) {
12
- const intl = useIntl();
13
- const config = useConfig();
14
- const workspaceId = useWorkspaceStrict();
15
- const conversationId = useSelector(conversationSelector)?.id;
16
- const isReportsAppEnabled = Boolean(useSelector(settingsSelector)?.enableBusinessBriefingReportsApp);
17
- const isPreview = useSelector(isPreviewSelector);
18
- if (!isReportsAppEnabled || isPreview) {
19
- return null;
20
- }
21
- if (!report) {
22
- return (_jsx("div", { className: "gd-gen-ai-chat__conversation__item__content--error", children: intl.formatMessage({ id: "gd.gen-ai.report.unavailable" }) }));
23
- }
24
- const itemUrl = getReportItemUrl({
25
- workspaceId,
26
- saved,
27
- baseReportId,
28
- conversationId,
29
- itemId: message.id,
30
- });
31
- // The card only opens the version: a change to the report in the editor is applied there by the editor.
32
- const buttonLabel = intl.formatMessage({ id: "gd.gen-ai.report.open-report" });
33
- const handleOpen = itemUrl
34
- ? (e) => {
35
- if (config.allowNativeLinks) {
36
- window.location.href = itemUrl;
37
- return;
38
- }
39
- config.linkHandler?.({
40
- type: "report",
41
- id: saved ?? message.id,
42
- workspaceId,
43
- newTab: e.metaKey,
44
- preventDefault: e.preventDefault.bind(e),
45
- itemUrl,
46
- action: "open",
47
- });
48
- }
49
- : undefined;
50
- const period = formatReportPeriod(report.periodStart, report.periodEnd, intl);
51
- const count = report.content.pages.length;
52
- const details = period
53
- ? intl.formatMessage({ id: "gd.gen-ai.report.details" }, { period, count })
54
- : intl.formatMessage({ id: "gd.gen-ai.report.page-count" }, { count });
55
- return (_jsx("div", { className: cx("gd-gen-ai-chat__conversation__item__content", "gd-gen-ai-chat__conversation__item__content--report", className), children: _jsxs("div", { className: "gd-gen-ai-chat__conversation__item__content-report-frame", children: [_jsx("div", { className: "gd-gen-ai-chat__conversation__item__content-report-icon", children: _jsx(UiIcon, { type: "file", size: 14, color: "complementary-6", backgroundSize: 26, backgroundColor: "complementary-2" }) }), _jsxs("div", { className: "gd-gen-ai-chat__conversation__item__content-report-content", children: [_jsx("div", { className: "gd-gen-ai-chat__conversation__item__content-report-content-title", children: report.title }), _jsx("div", { className: "gd-gen-ai-chat__conversation__item__content-report-content-details", children: details })] }), _jsx("div", { className: "gd-gen-ai-chat__conversation__item__content-report-item-buttons", children: _jsx(UiButton, { label: buttonLabel, variant: "secondary", isDisabled: !handleOpen, onClick: handleOpen }) })] }) }));
56
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"viewReport.d.ts","sourceRoot":"","sources":["../../src/context/viewReport.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAoC,MAAM,qBAAqB,CAAC;AAIpF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAK5D;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,EAAE,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,GAAG,OAAO,CAE1G"}