impact-ui 5.0.4-alpha.2 → 5.0.4-chatbot.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 (93) hide show
  1. package/dist/_virtual/ArrowBack.js +4 -0
  2. package/dist/_virtual/AttachFileOutlined.js +4 -0
  3. package/dist/_virtual/ContentCopyOutlined.js +4 -0
  4. package/dist/_virtual/Menu.js +4 -0
  5. package/dist/_virtual/NorthRounded.js +4 -0
  6. package/dist/_virtual/RefreshOutlined.js +4 -0
  7. package/dist/_virtual/StopRounded.js +4 -0
  8. package/dist/_virtual/ThumbDownOutlined.js +4 -0
  9. package/dist/_virtual/ThumbUpOutlined.js +4 -0
  10. package/dist/_virtual/VolumeUpOutlined.js +4 -0
  11. package/dist/_virtual/index10.js +3 -3
  12. package/dist/_virtual/index11.js +3 -3
  13. package/dist/_virtual/index12.js +3 -3
  14. package/dist/_virtual/index5.js +1 -1
  15. package/dist/_virtual/index6.js +3 -3
  16. package/dist/_virtual/index7.js +3 -3
  17. package/dist/_virtual/index8.js +3 -3
  18. package/dist/_virtual/index9.js +3 -3
  19. package/dist/components/Button/index.js +1 -1
  20. package/dist/components/Chatbot/Chatbot.types.d.ts +191 -18
  21. package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
  22. package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
  23. package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
  24. package/dist/components/Chatbot/chatBotFooter.js +21 -4
  25. package/dist/components/Chatbot/chatbotComposer.d.ts +4 -0
  26. package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -0
  27. package/dist/components/Chatbot/chatbotComposer.js +226 -0
  28. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +4 -0
  29. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -0
  30. package/dist/components/Chatbot/chatbotGreetingHeader.js +213 -0
  31. package/dist/components/Chatbot/conversationScreen.d.ts +1 -1
  32. package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
  33. package/dist/components/Chatbot/conversationScreen.js +5 -3
  34. package/dist/components/Chatbot/index.d.ts +2 -2
  35. package/dist/components/Chatbot/index.d.ts.map +1 -1
  36. package/dist/components/Chatbot/index.js +100 -50
  37. package/dist/components/Chatbot/irisConversationThread.d.ts +24 -0
  38. package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -0
  39. package/dist/components/Chatbot/irisConversationThread.js +470 -0
  40. package/dist/components/Chatbot/irisGreetingBackdrop.d.ts +5 -0
  41. package/dist/components/Chatbot/irisGreetingBackdrop.d.ts.map +1 -0
  42. package/dist/components/Chatbot/irisGreetingBackdrop.js +62 -0
  43. package/dist/components/Chatbot/irisMenuListItem.d.ts +11 -0
  44. package/dist/components/Chatbot/irisMenuListItem.d.ts.map +1 -0
  45. package/dist/components/Chatbot/irisMenuListItem.js +126 -0
  46. package/dist/components/Chatbot/irisMenuScreen.d.ts +4 -0
  47. package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -0
  48. package/dist/components/Chatbot/irisMenuScreen.js +311 -0
  49. package/dist/components/Chatbot/irisThinking.d.ts +7 -0
  50. package/dist/components/Chatbot/irisThinking.d.ts.map +1 -0
  51. package/dist/components/Chatbot/irisThinking.js +219 -0
  52. package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
  53. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  54. package/dist/components/Chatbot/newChatComponent.js +387 -70
  55. package/dist/components/Menu/IconMenuItem.js +1 -1
  56. package/dist/components/Menu/NestedMenuItem.js +1 -1
  57. package/dist/components/Menu/index.js +1 -1
  58. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  59. package/dist/components/TableV36/Table.types.d.ts +8 -7
  60. package/dist/components/TableV36/Table.types.d.ts.map +1 -1
  61. package/dist/components/TableV36/index.d.ts.map +1 -1
  62. package/dist/components/TableV36/index.js +39 -110
  63. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
  64. package/dist/components/TableV36/tableFunctions.js +15 -14
  65. package/dist/components/TableV36/tableUtils.d.ts +0 -14
  66. package/dist/components/TableV36/tableUtils.d.ts.map +1 -1
  67. package/dist/components/TableV36/tableUtils.js +0 -32
  68. package/dist/components/index.d.ts +1 -1
  69. package/dist/components/index.d.ts.map +1 -1
  70. package/dist/locales/de-DE.json.d.ts +51 -0
  71. package/dist/locales/de-DE.json.js +51 -0
  72. package/dist/locales/en-US.json.d.ts +51 -0
  73. package/dist/locales/en-US.json.js +51 -0
  74. package/dist/locales/es-ES.json.d.ts +51 -0
  75. package/dist/locales/es-ES.json.js +51 -0
  76. package/dist/mcp-component-registry.json +257 -188
  77. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +280 -48
  78. package/dist/node_modules/@mui/icons-material/ArrowBack.js +17 -0
  79. package/dist/node_modules/@mui/icons-material/AttachFileOutlined.js +17 -0
  80. package/dist/node_modules/@mui/icons-material/ContentCopyOutlined.js +17 -0
  81. package/dist/node_modules/@mui/icons-material/Menu.js +17 -0
  82. package/dist/node_modules/@mui/icons-material/NorthRounded.js +17 -0
  83. package/dist/node_modules/@mui/icons-material/RefreshOutlined.js +17 -0
  84. package/dist/node_modules/@mui/icons-material/StopRounded.js +17 -0
  85. package/dist/node_modules/@mui/icons-material/ThumbDownOutlined.js +17 -0
  86. package/dist/node_modules/@mui/icons-material/ThumbUpOutlined.js +17 -0
  87. package/dist/node_modules/@mui/icons-material/VolumeUpOutlined.js +17 -0
  88. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  89. package/dist/node_modules/@mui/system/createStyled.js +6 -6
  90. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
  91. package/dist/stories/chatBotApiMock.d.ts +476 -0
  92. package/dist/stories/chatBotApiMock.d.ts.map +1 -0
  93. package/package.json +2 -2
@@ -0,0 +1,17 @@
1
+ import { __exports as RefreshOutlined } from "../../../_virtual/RefreshOutlined.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(RefreshOutlined, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = RefreshOutlined.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = RefreshOutlined.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"
14
+ }), "RefreshOutlined");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as StopRounded } from "../../../_virtual/StopRounded.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(StopRounded, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = StopRounded.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = StopRounded.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M8 6h8c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V8c0-1.1.9-2 2-2"
14
+ }), "StopRounded");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as ThumbDownOutlined } from "../../../_virtual/ThumbDownOutlined.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(ThumbDownOutlined, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = ThumbDownOutlined.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = ThumbDownOutlined.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2m0 12-4.34 4.34L12 14H3v-2l3-7h9zm4-12h4v12h-4z"
14
+ }), "ThumbDownOutlined");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as ThumbUpOutlined } from "../../../_virtual/ThumbUpOutlined.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(ThumbUpOutlined, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = ThumbUpOutlined.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = ThumbUpOutlined.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M9 21h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.58 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2M9 9l4.34-4.34L12 10h9v2l-3 7H9zM1 9h4v12H1z"
14
+ }), "ThumbUpOutlined");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as VolumeUpOutlined } from "../../../_virtual/VolumeUpOutlined.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(VolumeUpOutlined, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = VolumeUpOutlined.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = VolumeUpOutlined.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M3 9v6h4l5 5V4L7 9zm7-.17v6.34L7.83 13H5v-2h2.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77"
14
+ }), "VolumeUpOutlined");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -1,7 +1,7 @@
1
1
  import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
- import require$$1 from "../../../_virtual/index11.js";
4
- import require$$2 from "../../../_virtual/index12.js";
3
+ import require$$1 from "../../../_virtual/index5.js";
4
+ import require$$2 from "../../../_virtual/index6.js";
5
5
  var _interopRequireDefault = require$$0;
6
6
  Object.defineProperty(colorManipulator, "__esModule", {
7
7
  value: true
@@ -2,12 +2,12 @@ import { __exports as createStyled$1 } from "../../../_virtual/createStyled.js";
2
2
  import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
3
  import require$$1 from "@babel/runtime/helpers/extends";
4
4
  import require$$2 from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
5
- import require$$1$1 from "../../../_virtual/index5.js";
6
- import require$$4 from "../../../_virtual/index6.js";
7
- import require$$5 from "../../../_virtual/index7.js";
8
- import require$$6 from "../../../_virtual/index8.js";
9
- import require$$7 from "../../../_virtual/index9.js";
10
- import require$$8 from "../../../_virtual/index10.js";
5
+ import require$$1$1 from "../../../_virtual/index7.js";
6
+ import require$$4 from "../../../_virtual/index8.js";
7
+ import require$$5 from "../../../_virtual/index9.js";
8
+ import require$$6 from "../../../_virtual/index10.js";
9
+ import require$$7 from "../../../_virtual/index11.js";
10
+ import require$$8 from "../../../_virtual/index12.js";
11
11
  var _interopRequireDefault = require$$0;
12
12
  Object.defineProperty(createStyled$1, "__esModule", {
13
13
  value: true
@@ -1,6 +1,6 @@
1
1
  import { __exports as useThemeWithoutDefault } from "../../../_virtual/useThemeWithoutDefault.js";
2
2
  import React__default from "react";
3
- import require$$1 from "../../../_virtual/index5.js";
3
+ import require$$1 from "../../../_virtual/index7.js";
4
4
  Object.defineProperty(useThemeWithoutDefault, "__esModule", {
5
5
  value: true
6
6
  });
@@ -0,0 +1,476 @@
1
+ export declare const irisArtifactsSeed: {
2
+ id: string;
3
+ name: string;
4
+ }[];
5
+ export declare const irisThinkingStepsSeed: ({
6
+ id: string;
7
+ label: string;
8
+ status: string;
9
+ expandable: boolean;
10
+ chip: string;
11
+ } | {
12
+ id: string;
13
+ label: string;
14
+ status: string;
15
+ expandable: boolean;
16
+ chip?: undefined;
17
+ } | {
18
+ id: string;
19
+ label: string;
20
+ status: string;
21
+ expandable?: undefined;
22
+ chip?: undefined;
23
+ })[];
24
+ export declare const irisThinkingCitationsSeed: {
25
+ id: string;
26
+ label: string;
27
+ tags: string[];
28
+ }[];
29
+ export declare const irisSuggestedPrompts: {
30
+ id: string;
31
+ label: string;
32
+ }[];
33
+ export declare const irisMenuHistoryData: {
34
+ group_name: string;
35
+ conversation_list: {
36
+ conversation_id: number;
37
+ name: string;
38
+ }[];
39
+ }[];
40
+ export declare const createUserMessage: (text: any) => {
41
+ type: string;
42
+ text: any;
43
+ bodyType: string;
44
+ bodyText: any;
45
+ timeStamp: string;
46
+ timestamp: string;
47
+ userType: string;
48
+ role: string;
49
+ userName: string;
50
+ };
51
+ export declare const createBotMessage: (text: any, overrides?: {}) => {
52
+ type: string;
53
+ text: any;
54
+ bodyType: string;
55
+ bodyText: string | undefined;
56
+ timeStamp: string;
57
+ timestamp: string;
58
+ userType: string;
59
+ role: string;
60
+ userName: string;
61
+ enableLikes: boolean;
62
+ enableSpeaker: boolean;
63
+ enableCopy: boolean;
64
+ enableRegenerate: boolean;
65
+ enableRevert: boolean;
66
+ actions: string[];
67
+ };
68
+ /** Figma 2135:9596 sample assistant copy with emphasis + positive metrics. */
69
+ export declare const createIrisStyledReply: (userText: any, overrides?: {}) => {
70
+ type: string;
71
+ text: any;
72
+ bodyType: string;
73
+ bodyText: string | undefined;
74
+ timeStamp: string;
75
+ timestamp: string;
76
+ userType: string;
77
+ role: string;
78
+ userName: string;
79
+ enableLikes: boolean;
80
+ enableSpeaker: boolean;
81
+ enableCopy: boolean;
82
+ enableRegenerate: boolean;
83
+ enableRevert: boolean;
84
+ actions: string[];
85
+ };
86
+ export declare const initialConversation: {
87
+ conversations: {
88
+ 1: {
89
+ id: number;
90
+ name: string;
91
+ timestamp: string;
92
+ messages: ({
93
+ type: string;
94
+ text: string;
95
+ timeStamp: string;
96
+ userType: string;
97
+ userName: string;
98
+ bodyType: string;
99
+ bodyText: string;
100
+ data?: undefined;
101
+ agentId?: undefined;
102
+ headerTitle?: undefined;
103
+ enableLikes?: undefined;
104
+ jsx?: undefined;
105
+ extra?: undefined;
106
+ thinkingResponse?: undefined;
107
+ utilityData?: undefined;
108
+ } | {
109
+ type: string;
110
+ data: {
111
+ display_name: string;
112
+ table_name: string;
113
+ unique_id: string;
114
+ select_all_component: boolean;
115
+ row_data: {
116
+ header_1: string;
117
+ header_2: string;
118
+ header_3: string;
119
+ }[];
120
+ table_config: {
121
+ column_header: string;
122
+ field: string;
123
+ }[];
124
+ };
125
+ agentId: string;
126
+ timeStamp: string;
127
+ userType: string;
128
+ userName: string;
129
+ headerTitle: string;
130
+ bodyType: string;
131
+ bodyText: {
132
+ display_name: string;
133
+ table_name: string;
134
+ unique_id: string;
135
+ select_all_component: boolean;
136
+ row_data: {
137
+ header_1: string;
138
+ header_2: string;
139
+ header_3: string;
140
+ }[];
141
+ table_config: {
142
+ column_header: string;
143
+ field: string;
144
+ }[];
145
+ };
146
+ enableLikes: boolean;
147
+ text?: undefined;
148
+ jsx?: undefined;
149
+ extra?: undefined;
150
+ thinkingResponse?: undefined;
151
+ utilityData?: undefined;
152
+ } | {
153
+ type: string;
154
+ jsx: import("react/jsx-runtime").JSX.Element;
155
+ enableLikes: boolean;
156
+ extra: {
157
+ status: string;
158
+ };
159
+ data: {
160
+ display_name: string;
161
+ table_name: string;
162
+ unique_id: string;
163
+ select_all_component: boolean;
164
+ row_data: {
165
+ header_1: string;
166
+ header_2: string;
167
+ header_3: string;
168
+ }[];
169
+ table_config: {
170
+ column_header: string;
171
+ field: string;
172
+ }[];
173
+ };
174
+ agentId: string;
175
+ timeStamp: string;
176
+ userType: string;
177
+ userName: string;
178
+ headerTitle: string;
179
+ bodyType: string;
180
+ bodyText: {
181
+ display_name: string;
182
+ table_name: string;
183
+ unique_id: string;
184
+ select_all_component: boolean;
185
+ row_data: {
186
+ header_1: string;
187
+ header_2: string;
188
+ header_3: string;
189
+ }[];
190
+ table_config: {
191
+ column_header: string;
192
+ field: string;
193
+ }[];
194
+ };
195
+ thinkingResponse: {
196
+ thinkingHeading: string;
197
+ thinkingContent: string;
198
+ };
199
+ text?: undefined;
200
+ utilityData?: undefined;
201
+ } | {
202
+ type: string;
203
+ headerTitle: string;
204
+ data: {
205
+ chip_name: string;
206
+ flow_type: string;
207
+ }[];
208
+ timeStamp: string;
209
+ userType: string;
210
+ userName: string;
211
+ bodyType: string;
212
+ utilityData: {
213
+ baseUrl: string;
214
+ };
215
+ bodyText: {
216
+ id: number;
217
+ displayText: string;
218
+ interactable: boolean;
219
+ actionType: string;
220
+ actionName: string;
221
+ flow_type: string;
222
+ agentId: string;
223
+ sessionId: string;
224
+ }[];
225
+ text?: undefined;
226
+ agentId?: undefined;
227
+ enableLikes?: undefined;
228
+ jsx?: undefined;
229
+ extra?: undefined;
230
+ thinkingResponse?: undefined;
231
+ })[];
232
+ };
233
+ };
234
+ };
235
+ export declare const initialHistoryData: {
236
+ group_name: string;
237
+ max_days_diff: number;
238
+ conversation_list: ({
239
+ conversation_id: number;
240
+ module_name: string;
241
+ name: string;
242
+ pinned: boolean;
243
+ } | {
244
+ conversation_id: number;
245
+ module_name: string;
246
+ name: string;
247
+ pinned?: undefined;
248
+ })[];
249
+ }[];
250
+ export declare const defaultModules: ({
251
+ id: string;
252
+ key: string;
253
+ name: string;
254
+ label: string;
255
+ description: string;
256
+ isActive: boolean;
257
+ } | {
258
+ id: string;
259
+ key: string;
260
+ name: string;
261
+ label: string;
262
+ description: string;
263
+ isActive?: undefined;
264
+ })[];
265
+ export declare const defaultPreDefinedQuestions: {
266
+ question: string;
267
+ }[];
268
+ export declare const defaultAddedByYouQuestions: {
269
+ question: string;
270
+ }[];
271
+ export declare const defaultTabList: ({
272
+ name: string;
273
+ label: string;
274
+ icon: string;
275
+ initialClick: boolean;
276
+ } | {
277
+ name: string;
278
+ label: string;
279
+ icon: string;
280
+ initialClick?: undefined;
281
+ })[];
282
+ export declare const conversationByTab: {
283
+ Demand: {
284
+ conversations: {
285
+ 1: {
286
+ id: number;
287
+ name: string;
288
+ timestamp: string;
289
+ messages: ({
290
+ type: string;
291
+ text: string;
292
+ timeStamp: string;
293
+ userType: string;
294
+ userName: string;
295
+ bodyType: string;
296
+ bodyText: string;
297
+ data?: undefined;
298
+ agentId?: undefined;
299
+ headerTitle?: undefined;
300
+ enableLikes?: undefined;
301
+ jsx?: undefined;
302
+ extra?: undefined;
303
+ thinkingResponse?: undefined;
304
+ utilityData?: undefined;
305
+ } | {
306
+ type: string;
307
+ data: {
308
+ display_name: string;
309
+ table_name: string;
310
+ unique_id: string;
311
+ select_all_component: boolean;
312
+ row_data: {
313
+ header_1: string;
314
+ header_2: string;
315
+ header_3: string;
316
+ }[];
317
+ table_config: {
318
+ column_header: string;
319
+ field: string;
320
+ }[];
321
+ };
322
+ agentId: string;
323
+ timeStamp: string;
324
+ userType: string;
325
+ userName: string;
326
+ headerTitle: string;
327
+ bodyType: string;
328
+ bodyText: {
329
+ display_name: string;
330
+ table_name: string;
331
+ unique_id: string;
332
+ select_all_component: boolean;
333
+ row_data: {
334
+ header_1: string;
335
+ header_2: string;
336
+ header_3: string;
337
+ }[];
338
+ table_config: {
339
+ column_header: string;
340
+ field: string;
341
+ }[];
342
+ };
343
+ enableLikes: boolean;
344
+ text?: undefined;
345
+ jsx?: undefined;
346
+ extra?: undefined;
347
+ thinkingResponse?: undefined;
348
+ utilityData?: undefined;
349
+ } | {
350
+ type: string;
351
+ jsx: import("react/jsx-runtime").JSX.Element;
352
+ enableLikes: boolean;
353
+ extra: {
354
+ status: string;
355
+ };
356
+ data: {
357
+ display_name: string;
358
+ table_name: string;
359
+ unique_id: string;
360
+ select_all_component: boolean;
361
+ row_data: {
362
+ header_1: string;
363
+ header_2: string;
364
+ header_3: string;
365
+ }[];
366
+ table_config: {
367
+ column_header: string;
368
+ field: string;
369
+ }[];
370
+ };
371
+ agentId: string;
372
+ timeStamp: string;
373
+ userType: string;
374
+ userName: string;
375
+ headerTitle: string;
376
+ bodyType: string;
377
+ bodyText: {
378
+ display_name: string;
379
+ table_name: string;
380
+ unique_id: string;
381
+ select_all_component: boolean;
382
+ row_data: {
383
+ header_1: string;
384
+ header_2: string;
385
+ header_3: string;
386
+ }[];
387
+ table_config: {
388
+ column_header: string;
389
+ field: string;
390
+ }[];
391
+ };
392
+ thinkingResponse: {
393
+ thinkingHeading: string;
394
+ thinkingContent: string;
395
+ };
396
+ text?: undefined;
397
+ utilityData?: undefined;
398
+ } | {
399
+ type: string;
400
+ headerTitle: string;
401
+ data: {
402
+ chip_name: string;
403
+ flow_type: string;
404
+ }[];
405
+ timeStamp: string;
406
+ userType: string;
407
+ userName: string;
408
+ bodyType: string;
409
+ utilityData: {
410
+ baseUrl: string;
411
+ };
412
+ bodyText: {
413
+ id: number;
414
+ displayText: string;
415
+ interactable: boolean;
416
+ actionType: string;
417
+ actionName: string;
418
+ flow_type: string;
419
+ agentId: string;
420
+ sessionId: string;
421
+ }[];
422
+ text?: undefined;
423
+ agentId?: undefined;
424
+ enableLikes?: undefined;
425
+ jsx?: undefined;
426
+ extra?: undefined;
427
+ thinkingResponse?: undefined;
428
+ })[];
429
+ };
430
+ };
431
+ };
432
+ Supply: {
433
+ conversations: {
434
+ 8: {
435
+ id: number;
436
+ name: string;
437
+ messages: {
438
+ type: string;
439
+ text: any;
440
+ bodyType: string;
441
+ bodyText: any;
442
+ timeStamp: string;
443
+ timestamp: string;
444
+ userType: string;
445
+ role: string;
446
+ userName: string;
447
+ }[];
448
+ };
449
+ };
450
+ };
451
+ Insights: {
452
+ conversations: {
453
+ 7: {
454
+ id: number;
455
+ name: string;
456
+ messages: {
457
+ type: string;
458
+ text: any;
459
+ bodyType: string;
460
+ bodyText: any;
461
+ timeStamp: string;
462
+ timestamp: string;
463
+ userType: string;
464
+ role: string;
465
+ userName: string;
466
+ }[];
467
+ };
468
+ };
469
+ };
470
+ };
471
+ /**
472
+ * Stateful API-driven wrapper: owns conversation/history/modules/tabs and simulates
473
+ * backend latency for send, history, likes, modules, stop, artifacts, and Iris thinking.
474
+ */
475
+ export declare function ApiDrivenChatBot(args: any): import("react/jsx-runtime").JSX.Element;
476
+ //# sourceMappingURL=chatBotApiMock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatBotApiMock.d.ts","sourceRoot":"","sources":["../../src/stories/chatBotApiMock.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,iBAAiB;;;GAO7B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;IA0BjC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;GASrC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;GAahC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;GAY/B,CAAC;AA6CF,eAAO,MAAM,iBAAiB,GAAI,SAAI;;;;;;;;;;CAUpC,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAAI,SAAI,EAAE,cAAc;;;;;;;;;;;;;;;;CAiBnD,CAAC;AAEH,8EAA8E;AAC9E,eAAO,MAAM,qBAAqB,GAAI,aAAQ,EAAE,cAAc;;;;;;;;;;;;;;;;CA0B3D,CAAC;AAeJ,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgG/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;GA6D9B,CAAC;AA6FF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;IAuB1B,CAAC;AAEF,eAAO,MAAM,0BAA0B;;GAItC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;GAGtC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;IAiB1B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI7B,CAAC;AAwFF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,KAAA,2CA4hBpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-ui",
3
- "version": "5.0.4-alpha.2",
3
+ "version": "5.0.4-chatbot.1",
4
4
  "description": "Impact Analytics UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",
@@ -108,7 +108,7 @@
108
108
  "@chromatic-com/storybook": "^5.0.1",
109
109
  "@emotion/react": "^11.14.0",
110
110
  "@emotion/styled": "^11.14.1",
111
- "@impactsmartsuite/impact-icons": "0.1.8-beta.3",
111
+ "@impactsmartsuite/impact-icons": "0.1.8-beta.10",
112
112
  "@mui/base": "^5.0.0-alpha.82",
113
113
  "@mui/docs": "^5.8.0",
114
114
  "@mui/envinfo": "^2.0.6",