@gooddata/sdk-ui-gen-ai 11.52.0 → 11.53.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 (144) hide show
  1. package/NOTICE +59 -9
  2. package/esm/components/ConfigContext.d.ts +1 -0
  3. package/esm/components/ConfigContext.d.ts.map +1 -1
  4. package/esm/components/GenAIChat.d.ts.map +1 -1
  5. package/esm/components/GenAIChat.js +2 -2
  6. package/esm/components/GenAiStore.d.ts +9 -0
  7. package/esm/components/GenAiStore.d.ts.map +1 -1
  8. package/esm/components/GenAiStore.js +2 -1
  9. package/esm/components/intelligence/GenAiInteractionIntelligence.d.ts +21 -0
  10. package/esm/components/intelligence/GenAiInteractionIntelligence.d.ts.map +1 -0
  11. package/esm/components/intelligence/GenAiInteractionIntelligence.js +57 -0
  12. package/esm/components/intelligence/InteractionIntelligenceTrigger.d.ts +15 -0
  13. package/esm/components/intelligence/InteractionIntelligenceTrigger.d.ts.map +1 -0
  14. package/esm/components/intelligence/InteractionIntelligenceTrigger.js +19 -0
  15. package/esm/components/intelligence/data/categoryDetailRows.d.ts +12 -0
  16. package/esm/components/intelligence/data/categoryDetailRows.d.ts.map +1 -0
  17. package/esm/components/intelligence/data/categoryDetailRows.js +206 -0
  18. package/esm/components/intelligence/data/constants.d.ts +22 -0
  19. package/esm/components/intelligence/data/constants.d.ts.map +1 -0
  20. package/esm/components/intelligence/data/constants.js +27 -0
  21. package/esm/components/intelligence/data/deriveInteractionIntelligenceFromSteps.d.ts +23 -0
  22. package/esm/components/intelligence/data/deriveInteractionIntelligenceFromSteps.d.ts.map +1 -0
  23. package/esm/components/intelligence/data/deriveInteractionIntelligenceFromSteps.js +109 -0
  24. package/esm/components/intelligence/data/mergeDetailRows.d.ts +15 -0
  25. package/esm/components/intelligence/data/mergeDetailRows.d.ts.map +1 -0
  26. package/esm/components/intelligence/data/mergeDetailRows.js +91 -0
  27. package/esm/components/intelligence/data/timeline.d.ts +18 -0
  28. package/esm/components/intelligence/data/timeline.d.ts.map +1 -0
  29. package/esm/components/intelligence/data/timeline.js +40 -0
  30. package/esm/components/intelligence/data/types.d.ts +159 -0
  31. package/esm/components/intelligence/data/types.d.ts.map +1 -0
  32. package/esm/components/intelligence/data/types.js +2 -0
  33. package/esm/components/intelligence/data/useInteractionIntelligenceData.d.ts +9 -0
  34. package/esm/components/intelligence/data/useInteractionIntelligenceData.d.ts.map +1 -0
  35. package/esm/components/intelligence/data/useInteractionIntelligenceData.js +20 -0
  36. package/esm/components/intelligence/data/useInteractionIntelligenceTotals.d.ts +9 -0
  37. package/esm/components/intelligence/data/useInteractionIntelligenceTotals.d.ts.map +1 -0
  38. package/esm/components/intelligence/data/useInteractionIntelligenceTotals.js +20 -0
  39. package/esm/components/intelligence/detail/DetailRowValue.d.ts +10 -0
  40. package/esm/components/intelligence/detail/DetailRowValue.d.ts.map +1 -0
  41. package/esm/components/intelligence/detail/DetailRowValue.js +23 -0
  42. package/esm/components/intelligence/detail/IntelligenceCategoryDetail.d.ts +17 -0
  43. package/esm/components/intelligence/detail/IntelligenceCategoryDetail.d.ts.map +1 -0
  44. package/esm/components/intelligence/detail/IntelligenceCategoryDetail.js +21 -0
  45. package/esm/components/intelligence/detail/IntelligenceDetailHeader.d.ts +12 -0
  46. package/esm/components/intelligence/detail/IntelligenceDetailHeader.d.ts.map +1 -0
  47. package/esm/components/intelligence/detail/IntelligenceDetailHeader.js +19 -0
  48. package/esm/components/intelligence/detail/IntelligenceDetailRows.d.ts +11 -0
  49. package/esm/components/intelligence/detail/IntelligenceDetailRows.d.ts.map +1 -0
  50. package/esm/components/intelligence/detail/IntelligenceDetailRows.js +16 -0
  51. package/esm/components/intelligence/detail/IntelligenceStepCarousel.d.ts +12 -0
  52. package/esm/components/intelligence/detail/IntelligenceStepCarousel.d.ts.map +1 -0
  53. package/esm/components/intelligence/detail/IntelligenceStepCarousel.js +21 -0
  54. package/esm/components/intelligence/format/formatDuration.d.ts +23 -0
  55. package/esm/components/intelligence/format/formatDuration.d.ts.map +1 -0
  56. package/esm/components/intelligence/format/formatDuration.js +38 -0
  57. package/esm/components/intelligence/format/formatTokens.d.ts +8 -0
  58. package/esm/components/intelligence/format/formatTokens.d.ts.map +1 -0
  59. package/esm/components/intelligence/format/formatTokens.js +10 -0
  60. package/esm/components/intelligence/format/resolveMessage.d.ts +9 -0
  61. package/esm/components/intelligence/format/resolveMessage.d.ts.map +1 -0
  62. package/esm/components/intelligence/format/resolveMessage.js +10 -0
  63. package/esm/components/intelligence/intelligenceBem.d.ts +7 -0
  64. package/esm/components/intelligence/intelligenceBem.d.ts.map +1 -0
  65. package/esm/components/intelligence/intelligenceBem.js +8 -0
  66. package/esm/components/intelligence/panel/IconCircle.d.ts +10 -0
  67. package/esm/components/intelligence/panel/IconCircle.d.ts.map +1 -0
  68. package/esm/components/intelligence/panel/IconCircle.js +12 -0
  69. package/esm/components/intelligence/panel/IntelligenceCategoryList.d.ts +13 -0
  70. package/esm/components/intelligence/panel/IntelligenceCategoryList.d.ts.map +1 -0
  71. package/esm/components/intelligence/panel/IntelligenceCategoryList.js +10 -0
  72. package/esm/components/intelligence/panel/IntelligenceCategoryRow.d.ts +14 -0
  73. package/esm/components/intelligence/panel/IntelligenceCategoryRow.d.ts.map +1 -0
  74. package/esm/components/intelligence/panel/IntelligenceCategoryRow.js +19 -0
  75. package/esm/components/intelligence/panel/IntelligenceDurationTokens.d.ts +12 -0
  76. package/esm/components/intelligence/panel/IntelligenceDurationTokens.d.ts.map +1 -0
  77. package/esm/components/intelligence/panel/IntelligenceDurationTokens.js +19 -0
  78. package/esm/components/intelligence/panel/IntelligenceFooter.d.ts +10 -0
  79. package/esm/components/intelligence/panel/IntelligenceFooter.d.ts.map +1 -0
  80. package/esm/components/intelligence/panel/IntelligenceFooter.js +20 -0
  81. package/esm/components/intelligence/panel/IntelligenceHeader.d.ts +8 -0
  82. package/esm/components/intelligence/panel/IntelligenceHeader.d.ts.map +1 -0
  83. package/esm/components/intelligence/panel/IntelligenceHeader.js +15 -0
  84. package/esm/components/intelligence/panel/IntelligenceStepTooltip.d.ts +12 -0
  85. package/esm/components/intelligence/panel/IntelligenceStepTooltip.d.ts.map +1 -0
  86. package/esm/components/intelligence/panel/IntelligenceStepTooltip.js +18 -0
  87. package/esm/components/intelligence/panel/IntelligenceTimeline.d.ts +15 -0
  88. package/esm/components/intelligence/panel/IntelligenceTimeline.d.ts.map +1 -0
  89. package/esm/components/intelligence/panel/IntelligenceTimeline.js +16 -0
  90. package/esm/components/intelligence/panel/TimelineBar.d.ts +19 -0
  91. package/esm/components/intelligence/panel/TimelineBar.d.ts.map +1 -0
  92. package/esm/components/intelligence/panel/TimelineBar.js +34 -0
  93. package/esm/components/messages/AssistantItem.d.ts.map +1 -1
  94. package/esm/components/messages/AssistantItem.js +15 -1
  95. package/esm/components/messages/AssistantItemFeedback.d.ts +6 -1
  96. package/esm/components/messages/AssistantItemFeedback.d.ts.map +1 -1
  97. package/esm/components/messages/AssistantItemFeedback.js +9 -2
  98. package/esm/components/messages/ConversationItemContents.d.ts.map +1 -1
  99. package/esm/components/messages/ConversationItemContents.js +1 -1
  100. package/esm/components/messages/conversationContents/ConversationDashboardContent.d.ts +2 -1
  101. package/esm/components/messages/conversationContents/ConversationDashboardContent.d.ts.map +1 -1
  102. package/esm/components/messages/conversationContents/ConversationDashboardContent.js +3 -2
  103. package/esm/context/dashboard.d.ts +2 -2
  104. package/esm/context/dashboard.d.ts.map +1 -1
  105. package/esm/context/dashboard.js +5 -2
  106. package/esm/hooks/useGenAIStore.d.ts +1 -0
  107. package/esm/hooks/useGenAIStore.d.ts.map +1 -1
  108. package/esm/hooks/useGenAIStore.js +3 -3
  109. package/esm/index.d.ts +2 -0
  110. package/esm/index.d.ts.map +1 -1
  111. package/esm/index.js +2 -0
  112. package/esm/localization/bundles/en-US.localization-bundle.d.ts +184 -0
  113. package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  114. package/esm/localization/bundles/en-US.localization-bundle.js +184 -0
  115. package/esm/sdk-ui-gen-ai.d.ts +37 -0
  116. package/esm/store/chatWindow/chatWindowSelectors.d.ts +2 -0
  117. package/esm/store/chatWindow/chatWindowSelectors.d.ts.map +1 -1
  118. package/esm/store/chatWindow/chatWindowSelectors.js +5 -0
  119. package/esm/store/chatWindow/chatWindowSlice.d.ts +7 -1
  120. package/esm/store/chatWindow/chatWindowSlice.d.ts.map +1 -1
  121. package/esm/store/chatWindow/chatWindowSlice.js +3 -1
  122. package/esm/store/messages/messagesSelectors.d.ts +6 -0
  123. package/esm/store/messages/messagesSelectors.d.ts.map +1 -1
  124. package/esm/store/messages/messagesSelectors.js +9 -0
  125. package/esm/store/messages/messagesSlice.d.ts +11 -3
  126. package/esm/store/messages/messagesSlice.d.ts.map +1 -1
  127. package/esm/store/messages/messagesSlice.js +34 -1
  128. package/esm/store/sideEffects/onUserMessage.d.ts.map +1 -1
  129. package/esm/store/sideEffects/onUserMessage.js +40 -6
  130. package/esm/store/store.d.ts +1 -1
  131. package/esm/store/store.d.ts.map +1 -1
  132. package/esm/store/store.js +2 -2
  133. package/esm/types.d.ts +33 -1
  134. package/esm/types.d.ts.map +1 -1
  135. package/package.json +20 -20
  136. package/styles/css/intelligence.css +302 -0
  137. package/styles/css/intelligence.css.map +1 -0
  138. package/styles/css/main.css +306 -1
  139. package/styles/css/main.css.map +1 -1
  140. package/styles/css/messages.css +5 -1
  141. package/styles/css/messages.css.map +1 -1
  142. package/styles/scss/intelligence.scss +330 -0
  143. package/styles/scss/main.scss +1 -0
  144. package/styles/scss/messages.scss +10 -1
package/esm/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type IChatConversationVisualisationContent } from "@gooddata/sdk-backend-spi";
1
+ import { type IChatConversationInteractionStep, type IChatConversationItemDetail, type IChatConversationVisualisationContent } from "@gooddata/sdk-backend-spi";
2
2
  import { type GenAIChatEffort, type GenAIObjectType, type IGenAIObjectReference, type IGenAIUserContext, type IGenAIVisualization, type ObjRef } from "@gooddata/sdk-model";
3
3
  import { type IChatConversationLocalItem } from "./model.js";
4
4
  export type Config = IGenAIVisualization["config"] | NonNullable<IChatConversationVisualisationContent["visualization"]>["insight"]["properties"]["controls"];
@@ -40,6 +40,38 @@ export type StoredConversation = {
40
40
  * yet, the conversation runs at the default effort.
41
41
  */
42
42
  reasoningEffort?: GenAIChatEffort;
43
+ /**
44
+ * The "Interaction Intelligence" trace of this conversation's responses, keyed by `responseId`.
45
+ * Kept out of `items` because a step is not a message.
46
+ */
47
+ interactionTrace?: Record<string, IChatConversationResponseTrace>;
48
+ };
49
+ /**
50
+ * The trace of one response: its steps (timing and spend, from the `interaction_step` events) and
51
+ * the per-action details of the items that ran within them (from the items' own `detail`, keyed by
52
+ * `stepId`). Neither half is complete alone — a step has no category, and an item has no timing.
53
+ * @internal
54
+ */
55
+ export type IChatConversationResponseTrace = {
56
+ steps: IChatConversationInteractionStep[];
57
+ /** Details of the actions that ran within each step, keyed by `stepId`. */
58
+ detailsByStepId: Record<string, IChatConversationTracedAction[]>;
59
+ /** Backend trace id of this response, for support/debugging. Set from the first step that carries one. */
60
+ traceId?: string;
61
+ };
62
+ /**
63
+ * One traced action within a step: the tool that ran, when it ran, and what it did.
64
+ *
65
+ * `toolName` is resolved from the matching `toolCall` item, since a `toolResult` carries only its
66
+ * `callId`. `detail` is absent for a tool whose category has no card body yet — the action is
67
+ * still recorded, so its step can be named after the tool rather than falling back to nothing.
68
+ * @internal
69
+ */
70
+ export type IChatConversationTracedAction = {
71
+ itemId: string;
72
+ createdAt: number;
73
+ toolName?: string;
74
+ detail?: IChatConversationItemDetail;
43
75
  };
44
76
  export type StoreContext = {
45
77
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EACH,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB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0G;IAC1G,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,6BAA6B,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,eAAe,GAAG,QAAQ,CAAC;IACjC,KAAK,EAAE,gBAAgB,GAAG,mBAAmB,CAAC;IAC9C,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-gen-ai",
3
- "version": "11.52.0",
3
+ "version": "11.53.0-alpha.1",
4
4
  "description": "GoodData GenAI SDK",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -57,18 +57,18 @@
57
57
  "reselect": "5.1.1",
58
58
  "tslib": "2.8.1",
59
59
  "uuid": "11.1.1",
60
- "@gooddata/api-client-tiger": "11.52.0",
61
- "@gooddata/sdk-backend-spi": "11.52.0",
62
- "@gooddata/sdk-model": "11.52.0",
63
- "@gooddata/sdk-ui": "11.52.0",
64
- "@gooddata/sdk-ui-charts": "11.52.0",
65
- "@gooddata/sdk-ui-dashboard": "11.52.0",
66
- "@gooddata/sdk-ui-filters": "11.52.0",
67
- "@gooddata/sdk-ui-kit": "11.52.0",
68
- "@gooddata/sdk-ui-pivot": "11.52.0",
69
- "@gooddata/sdk-ui-semantic-search": "11.52.0",
70
- "@gooddata/sdk-ui-theme-provider": "11.52.0",
71
- "@gooddata/util": "11.52.0"
60
+ "@gooddata/api-client-tiger": "11.53.0-alpha.1",
61
+ "@gooddata/sdk-model": "11.53.0-alpha.1",
62
+ "@gooddata/sdk-ui-charts": "11.53.0-alpha.1",
63
+ "@gooddata/sdk-backend-spi": "11.53.0-alpha.1",
64
+ "@gooddata/sdk-ui": "11.53.0-alpha.1",
65
+ "@gooddata/sdk-ui-dashboard": "11.53.0-alpha.1",
66
+ "@gooddata/sdk-ui-filters": "11.53.0-alpha.1",
67
+ "@gooddata/sdk-ui-kit": "11.53.0-alpha.1",
68
+ "@gooddata/sdk-ui-pivot": "11.53.0-alpha.1",
69
+ "@gooddata/sdk-ui-theme-provider": "11.53.0-alpha.1",
70
+ "@gooddata/util": "11.53.0-alpha.1",
71
+ "@gooddata/sdk-ui-semantic-search": "11.53.0-alpha.1"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@microsoft/api-documenter": "^7.17.0",
@@ -111,13 +111,13 @@
111
111
  "typescript": "5.9.3",
112
112
  "vitest": "4.1.8",
113
113
  "vitest-dom": "0.1.1",
114
- "@gooddata/eslint-config": "11.52.0",
115
- "@gooddata/oxlint-config": "11.52.0",
116
- "@gooddata/i18n-toolkit": "11.52.0",
117
- "@gooddata/reference-workspace": "11.52.0",
118
- "@gooddata/sdk-backend-mockingbird": "11.52.0",
119
- "@gooddata/sdk-ui-theme-provider": "11.52.0",
120
- "@gooddata/stylelint-config": "11.52.0"
114
+ "@gooddata/eslint-config": "11.53.0-alpha.1",
115
+ "@gooddata/i18n-toolkit": "11.53.0-alpha.1",
116
+ "@gooddata/oxlint-config": "11.53.0-alpha.1",
117
+ "@gooddata/reference-workspace": "11.53.0-alpha.1",
118
+ "@gooddata/sdk-backend-mockingbird": "11.53.0-alpha.1",
119
+ "@gooddata/sdk-ui-theme-provider": "11.53.0-alpha.1",
120
+ "@gooddata/stylelint-config": "11.53.0-alpha.1"
121
121
  },
122
122
  "peerDependencies": {
123
123
  "react": "^18.0.0 || ^19.0.0",
@@ -0,0 +1,302 @@
1
+ .gd-gen-ai-chat__interaction-intelligence__trigger {
2
+ padding: 5px;
3
+ border: none;
4
+ border-radius: 3px;
5
+ background: transparent;
6
+ font: inherit;
7
+ font-size: 14px;
8
+ color: var(--gd-palette-complementary-8, #464e56);
9
+ cursor: pointer;
10
+ text-decoration: none;
11
+ }
12
+ .gd-gen-ai-chat__interaction-intelligence__trigger:first-child {
13
+ margin-left: -5px;
14
+ }
15
+ .gd-gen-ai-chat__interaction-intelligence__trigger:hover, .gd-gen-ai-chat__interaction-intelligence__trigger:focus-visible {
16
+ text-decoration: underline;
17
+ }
18
+
19
+ .gd-gen-ai-chat__interaction-intelligence {
20
+ box-sizing: border-box;
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 10px;
24
+ width: 100%;
25
+ max-width: 100%;
26
+ padding: 10px;
27
+ margin-top: 5px;
28
+ border: 1px solid var(--gd-palette-complementary-3, #dde4eb);
29
+ border-radius: 8px;
30
+ background: var(--gd-palette-complementary-0, #fff);
31
+ font-size: 14px;
32
+ color: var(--gd-palette-complementary-8, #464e56);
33
+ }
34
+
35
+ .gd-gen-ai-chat__interaction-intelligence__header {
36
+ display: flex;
37
+ align-items: center;
38
+ gap: 5px;
39
+ min-width: 0;
40
+ }
41
+ .gd-gen-ai-chat__interaction-intelligence__header__title {
42
+ flex: 1 0 0;
43
+ min-width: 0;
44
+ line-height: 23px;
45
+ }
46
+
47
+ .gd-gen-ai-chat__interaction-intelligence__duration-tokens__separator {
48
+ color: var(--gd-palette-complementary-5, #b0beca);
49
+ }
50
+
51
+ .gd-gen-ai-chat__interaction-intelligence__footer {
52
+ display: flex;
53
+ align-items: center;
54
+ gap: 4px;
55
+ min-width: 0;
56
+ font-size: 12px;
57
+ color: var(--gd-palette-complementary-6, #94a1ad);
58
+ }
59
+ .gd-gen-ai-chat__interaction-intelligence__footer__trace-id {
60
+ overflow: hidden;
61
+ text-overflow: ellipsis;
62
+ white-space: nowrap;
63
+ }
64
+ .gd-gen-ai-chat__interaction-intelligence__footer__hint {
65
+ flex: 0 0 auto;
66
+ border-bottom: 1px dashed var(--gd-palette-complementary-5, #b0beca);
67
+ cursor: help;
68
+ }
69
+
70
+ .gd-gen-ai-chat__interaction-intelligence__category-list {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: 5px;
74
+ }
75
+
76
+ .gd-gen-ai-chat__interaction-intelligence__category-row {
77
+ display: flex;
78
+ align-items: center;
79
+ gap: 8px;
80
+ width: 100%;
81
+ min-width: 0;
82
+ padding: 7px;
83
+ border: none;
84
+ border-radius: 3px;
85
+ background: transparent;
86
+ font: inherit;
87
+ color: inherit;
88
+ text-align: left;
89
+ cursor: pointer;
90
+ transition: background-color 0.2s;
91
+ }
92
+ .gd-gen-ai-chat__interaction-intelligence__category-row:hover {
93
+ background: var(--gd-palette-complementary-1, #f5f8fa);
94
+ }
95
+ .gd-gen-ai-chat__interaction-intelligence__category-row__label {
96
+ flex: 0 0 130px;
97
+ width: 130px;
98
+ min-width: 0;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
101
+ white-space: nowrap;
102
+ }
103
+ .gd-gen-ai-chat__interaction-intelligence__category-row__excerpt {
104
+ display: flex;
105
+ flex: 1 0 0;
106
+ justify-content: flex-end;
107
+ gap: 8px;
108
+ min-width: 0;
109
+ overflow: hidden;
110
+ font-size: 12px;
111
+ color: var(--gd-palette-complementary-6, #94a1ad);
112
+ text-align: right;
113
+ text-overflow: ellipsis;
114
+ white-space: nowrap;
115
+ }
116
+
117
+ .gd-gen-ai-chat__interaction-intelligence__icon-circle {
118
+ display: flex;
119
+ align-items: center;
120
+ justify-content: center;
121
+ flex: 0 0 auto;
122
+ width: 26px;
123
+ height: 26px;
124
+ border-radius: 50%;
125
+ background: var(--gd-palette-complementary-1, #f5f8fa);
126
+ }
127
+
128
+ .gd-gen-ai-chat__interaction-intelligence__timeline-wrapper {
129
+ display: flex;
130
+ flex: 0 0 auto;
131
+ min-width: 0;
132
+ }
133
+
134
+ .gd-gen-ai-chat__interaction-intelligence__timeline {
135
+ display: flex;
136
+ align-items: center;
137
+ flex: 1 0 0;
138
+ min-width: 0;
139
+ height: 15px;
140
+ gap: 1px;
141
+ border-radius: 2px;
142
+ overflow: hidden;
143
+ }
144
+
145
+ .gd-gen-ai-chat__interaction-intelligence__timeline-segment {
146
+ display: block;
147
+ flex: 0 0 auto;
148
+ width: 100%;
149
+ height: 15px;
150
+ border-radius: 2px;
151
+ background: var(--gd-palette-complementary-3, #dde4eb);
152
+ transition: background-color 0.2s;
153
+ }
154
+ .gd-gen-ai-chat__interaction-intelligence__timeline-segment--dimmed {
155
+ background: var(--gd-palette-complementary-2, #ebeff4);
156
+ }
157
+ .gd-gen-ai-chat__interaction-intelligence__timeline-segment--highlighted {
158
+ background: var(--gd-palette-success-base, #00c18d);
159
+ }
160
+
161
+ .gd-gen-ai-chat__interaction-intelligence__step-tooltip {
162
+ display: flex;
163
+ flex-direction: column;
164
+ gap: 10px;
165
+ width: 210px;
166
+ padding: 15px;
167
+ border: 1px solid var(--gd-palette-complementary-3, #dde4eb);
168
+ border-radius: 3px;
169
+ background: var(--gd-palette-complementary-0, #fff);
170
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
171
+ font-size: 14px;
172
+ line-height: 23px;
173
+ color: var(--gd-palette-complementary-8, #464e56);
174
+ }
175
+ .gd-gen-ai-chat__interaction-intelligence__step-tooltip__eyebrow {
176
+ margin: 0;
177
+ font-size: 10px;
178
+ color: var(--gd-palette-complementary-6, #94a1ad);
179
+ text-transform: uppercase;
180
+ }
181
+ .gd-gen-ai-chat__interaction-intelligence__step-tooltip__activity-list {
182
+ display: flex;
183
+ flex-direction: column;
184
+ gap: 3px;
185
+ font-size: 12px;
186
+ line-height: 19px;
187
+ }
188
+ .gd-gen-ai-chat__interaction-intelligence__step-tooltip__divider {
189
+ width: 100%;
190
+ height: 1px;
191
+ background: var(--gd-palette-complementary-3, #dde4eb);
192
+ }
193
+ .gd-gen-ai-chat__interaction-intelligence__step-tooltip__footer {
194
+ font-size: 12px;
195
+ color: var(--gd-palette-complementary-7, #6d7680);
196
+ }
197
+
198
+ .gd-gen-ai-chat__interaction-intelligence__detail {
199
+ display: flex;
200
+ flex-direction: column;
201
+ gap: 10px;
202
+ height: 300px;
203
+ }
204
+ .gd-gen-ai-chat__interaction-intelligence__detail__divider {
205
+ width: 100%;
206
+ height: 1px;
207
+ background: var(--gd-palette-complementary-3, #dde4eb);
208
+ }
209
+
210
+ .gd-gen-ai-chat__interaction-intelligence__detail-header {
211
+ display: flex;
212
+ align-items: center;
213
+ gap: 10px;
214
+ min-width: 0;
215
+ }
216
+ .gd-gen-ai-chat__interaction-intelligence__detail-header__label {
217
+ flex: 1 0 0;
218
+ min-width: 0;
219
+ overflow: hidden;
220
+ text-overflow: ellipsis;
221
+ white-space: nowrap;
222
+ }
223
+
224
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows {
225
+ display: flex;
226
+ flex-direction: column;
227
+ gap: 10px;
228
+ margin: 0;
229
+ font-size: 14px;
230
+ color: var(--gd-palette-complementary-8, #464e56);
231
+ }
232
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows--scrollable {
233
+ flex: 1 1 auto;
234
+ min-height: 0;
235
+ overflow-y: auto;
236
+ overscroll-behavior: contain;
237
+ }
238
+
239
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__row {
240
+ display: flex;
241
+ gap: 10px;
242
+ align-items: flex-start;
243
+ }
244
+
245
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__label {
246
+ flex: 0 0 120px;
247
+ margin: 0;
248
+ line-height: 23px;
249
+ }
250
+
251
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__value {
252
+ flex: 1 0 0;
253
+ min-width: 0;
254
+ margin: 0;
255
+ line-height: 23px;
256
+ }
257
+
258
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list {
259
+ display: flex;
260
+ flex-direction: column;
261
+ }
262
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list + .gd-gen-ai-chat__interaction-intelligence__detail-rows__list {
263
+ margin-top: 10px;
264
+ }
265
+
266
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list-heading {
267
+ margin: 0;
268
+ }
269
+
270
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list-items {
271
+ margin: 0;
272
+ padding-left: 21px;
273
+ list-style: disc;
274
+ }
275
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list-items--plain {
276
+ padding-left: 0;
277
+ list-style: none;
278
+ }
279
+
280
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list-item-meta {
281
+ color: var(--gd-palette-complementary-6, #94a1ad);
282
+ }
283
+
284
+ .gd-gen-ai-chat__interaction-intelligence__detail-rows__list-truncated {
285
+ margin: 0;
286
+ color: var(--gd-palette-complementary-6, #94a1ad);
287
+ }
288
+
289
+ .gd-gen-ai-chat__interaction-intelligence__carousel {
290
+ display: flex;
291
+ align-items: center;
292
+ justify-content: center;
293
+ gap: 8px;
294
+ font-size: 12px;
295
+ color: var(--gd-palette-complementary-7, #6d7680);
296
+ }
297
+ .gd-gen-ai-chat__interaction-intelligence__carousel__label b {
298
+ color: #000;
299
+ font-weight: 700;
300
+ }
301
+
302
+ /*# sourceMappingURL=intelligence.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"","sources":["../scss/intelligence.scss"],"names":[],"mappings":"AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIA;EACI;;AAGJ;EAEI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;;AAIR;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;AAGJ;EACI;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAGJ;EACI;EACA;;;AAIR;EACI;EACA;EACA;EAEA;;AAEA;EACI;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;AAKA;EACI;EACA;EACA;EACA;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;AAEA;EACI;;;AAIR;EACI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;;;AAIR;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA","file":"intelligence.css"}