impact-ui 5.0.4-chatbot.1 → 5.0.4-chatbot.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +2 -4
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts +79 -185
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotComposer.d.ts +1 -1
- package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotComposer.js +107 -5
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +1 -1
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotGreetingHeader.js +21 -8
- package/dist/components/Chatbot/greetingWeather.d.ts +23 -0
- package/dist/components/Chatbot/greetingWeather.d.ts.map +1 -0
- package/dist/components/Chatbot/greetingWeather.js +81 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts +2 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts.map +1 -0
- package/dist/components/Chatbot/index.d.ts +5 -2
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +355 -436
- package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -1
- package/dist/components/Chatbot/irisConversationThread.js +56 -15
- package/dist/components/Chatbot/irisMenuScreen.d.ts +1 -1
- package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/irisMenuScreen.js +157 -111
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +137 -29
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/FilterSlider.js +1 -1
- package/dist/components/FiltersStrip/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.js +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Menu/IconMenuItem.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.js +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/NewCreateItemFlow/index.js +1 -1
- package/dist/components/NewDynamicLayout/index.js +1 -1
- package/dist/components/OnboardingTour/index.js +1 -1
- package/dist/components/OnboardingTour/productTourList.js +1 -1
- package/dist/components/OnboardingTour/tooltipCard.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Prompt/index.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
- package/dist/components/TableV36/index.js +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/hooks/useDraggableResizable.d.ts +11 -1
- package/dist/hooks/useDraggableResizable.d.ts.map +1 -1
- package/dist/hooks/useDraggableResizable.js +73 -59
- package/dist/locales/de-DE.json.d.ts +1 -32
- package/dist/locales/de-DE.json.js +1 -32
- package/dist/locales/en-US.json.d.ts +1 -32
- package/dist/locales/en-US.json.js +1 -32
- package/dist/locales/es-ES.json.d.ts +1 -32
- package/dist/locales/es-ES.json.js +1 -32
- package/dist/mcp-component-registry.json +49 -321
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +13 -5
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/stories/chatBotApiMock.d.ts +2 -387
- package/dist/stories/chatBotApiMock.d.ts.map +1 -1
- package/dist/styles/style.css +1 -1
- package/package.json +1 -1
- package/dist/_virtual/MoreVert.js +0 -4
- package/dist/_virtual/RemoveRounded.js +0 -4
- package/dist/_virtual/SaveOutlined.js +0 -4
- package/dist/_virtual/ThumbDownOutlined.js +0 -4
- package/dist/_virtual/ThumbUpOutlined.js +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/bookMarkPanel.js +0 -64
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
- package/dist/components/Chatbot/chatInput.d.ts +0 -4
- package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
- package/dist/components/Chatbot/chatInput.js +0 -198
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +0 -248
- package/dist/components/Chatbot/constant.d.ts +0 -6
- package/dist/components/Chatbot/constant.d.ts.map +0 -1
- package/dist/components/Chatbot/constant.js +0 -27
- package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
- package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/conversationScreen.js +0 -209
- package/dist/components/Chatbot/customScreen.d.ts +0 -4
- package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/customScreen.js +0 -66
- package/dist/components/Chatbot/historyPanel.d.ts +0 -4
- package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/historyPanel.js +0 -374
- package/dist/components/Chatbot/utils.d.ts +0 -5
- package/dist/components/Chatbot/utils.d.ts.map +0 -1
- package/dist/components/Chatbot/utils.js +0 -29
- package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
- package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/ThumbDownOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/ThumbUpOutlined.js +0 -17
- package/dist/utils/onResize.js +0 -28
|
@@ -83,394 +83,9 @@ export declare const createIrisStyledReply: (userText: any, overrides?: {}) => {
|
|
|
83
83
|
enableRevert: boolean;
|
|
84
84
|
actions: string[];
|
|
85
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
86
|
/**
|
|
472
|
-
* Stateful API-driven wrapper: owns conversation/history/
|
|
473
|
-
* backend latency for send, history, likes,
|
|
87
|
+
* Stateful API-driven wrapper: owns conversation/history/artifacts and simulates
|
|
88
|
+
* backend latency for send, history, likes, stop, artifacts, and Iris thinking.
|
|
474
89
|
*/
|
|
475
90
|
export declare function ApiDrivenChatBot(args: any): import("react/jsx-runtime").JSX.Element;
|
|
476
91
|
//# sourceMappingURL=chatBotApiMock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatBotApiMock.d.ts","sourceRoot":"","sources":["../../src/stories/chatBotApiMock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chatBotApiMock.d.ts","sourceRoot":"","sources":["../../src/stories/chatBotApiMock.tsx"],"names":[],"mappings":"AAUA,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;AAmBF,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;AAuCJ;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,KAAA,2CAgVpC"}
|
package/dist/styles/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#
|
|
1
|
+
@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#cacbcc33;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#cacbcc33;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#cacbcc33;background-image:linear-gradient(270deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#cacbcc33;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#cacbcc33;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 22%,#cacbcc33 48%,#cacbcc1a 62%,#cacbcc33);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#cacbcc33,#cacbcc99 40%,#cacbcc1a);background-size:100% 100%}}.ia-shimmer--circular{background-color:#cacbcc33;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#cacbcc99 0deg,#cacbcc33 80deg,#cacbcc1a 160deg,#cacbcc33 260deg,#cacbcc99 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#cacbcc99,#cacbcc33,#cacbcc1a,#cacbcc33 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bookMarkPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Chatbot/bookMarkPanel.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAK1D,wBAAgB,aAAa,CAAC,EAC5B,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,GACR,EAAE,kBAAkB,2CAyDpB"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import default_1 from "../../node_modules/@mui/icons-material/Add.js";
|
|
4
|
-
import default_1$1 from "../../node_modules/@mui/icons-material/DragIndicator.js";
|
|
5
|
-
import default_1$2 from "../../node_modules/@mui/icons-material/MoreVert.js";
|
|
6
|
-
import { getAssetUrl } from "../../utils/assetBase.js";
|
|
7
|
-
import { Button } from "../Button/index.js";
|
|
8
|
-
import { useTranslation } from "../../i18n/useTranslation.js";
|
|
9
|
-
const BookMarkIcon = getAssetUrl("icons/bookmarkIcon.svg");
|
|
10
|
-
const CloseIcon = getAssetUrl("icons/close.svg");
|
|
11
|
-
function BookMarkPanel({
|
|
12
|
-
preDefinedQuestions,
|
|
13
|
-
addedByYouQuestions,
|
|
14
|
-
onClose
|
|
15
|
-
}) {
|
|
16
|
-
const { t } = useTranslation();
|
|
17
|
-
const [activeTab, setActiveTab] = useState("preDefined");
|
|
18
|
-
return /* @__PURE__ */ jsx("div", { className: "book-mark-panel-container-wrapper", children: /* @__PURE__ */ jsxs("div", { className: "book-mark-panel-container", children: [
|
|
19
|
-
/* @__PURE__ */ jsxs("div", { className: "book-mark-panel-header", children: [
|
|
20
|
-
/* @__PURE__ */ jsxs("div", { className: "book-mark-panel-header-left", children: [
|
|
21
|
-
/* @__PURE__ */ jsx("img", { alt: t("chatBot.bookmark.alt"), src: BookMarkIcon }),
|
|
22
|
-
/* @__PURE__ */ jsx("span", { className: "book-mark-panel-header-left-title", children: t("chatBot.bookmark.title") })
|
|
23
|
-
] }),
|
|
24
|
-
/* @__PURE__ */ jsxs("div", { className: "book-mark-panel-header-right", children: [
|
|
25
|
-
/* @__PURE__ */ jsx(Button, { icon: /* @__PURE__ */ jsx(default_1, {}), iconPlacement: "right", variant: "secondary", children: t("chatBot.bookmark.add") }),
|
|
26
|
-
/* @__PURE__ */ jsx("img", { alt: t("chatBot.closeAlt"), src: CloseIcon, onClick: onClose })
|
|
27
|
-
] })
|
|
28
|
-
] }),
|
|
29
|
-
/* @__PURE__ */ jsx("div", { className: "book-mark-panel-tabs-container", children: /* @__PURE__ */ jsxs("div", { className: "bookmark-tabs", children: [
|
|
30
|
-
/* @__PURE__ */ jsx(
|
|
31
|
-
"span",
|
|
32
|
-
{
|
|
33
|
-
className: `bookmark-tab ${activeTab === "preDefined" ? "active" : ""}`,
|
|
34
|
-
onClick: () => {
|
|
35
|
-
setActiveTab("preDefined");
|
|
36
|
-
},
|
|
37
|
-
children: t("chatBot.bookmark.preDefined")
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
/* @__PURE__ */ jsx(
|
|
41
|
-
"span",
|
|
42
|
-
{
|
|
43
|
-
className: `bookmark-tab ${activeTab === "addedByYou" ? "active" : ""}`,
|
|
44
|
-
onClick: () => {
|
|
45
|
-
setActiveTab("addedByYou");
|
|
46
|
-
},
|
|
47
|
-
children: t("chatBot.bookmark.addedByYou")
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
] }) }),
|
|
51
|
-
activeTab === "preDefined" ? preDefinedQuestions == null ? void 0 : preDefinedQuestions.map((item, idx) => /* @__PURE__ */ jsxs("div", { className: "bookmark-panel-body", children: [
|
|
52
|
-
/* @__PURE__ */ jsx("span", { className: "drag-handle", children: "⋮⋮" }),
|
|
53
|
-
/* @__PURE__ */ jsx("span", { className: "bookmark-question-text", children: item.question }),
|
|
54
|
-
/* @__PURE__ */ jsx("span", { className: "bookmark-menu", children: "⋮" })
|
|
55
|
-
] }, idx)) : addedByYouQuestions == null ? void 0 : addedByYouQuestions.map((item, idx) => /* @__PURE__ */ jsxs("div", { className: "bookmark-panel-body", children: [
|
|
56
|
-
/* @__PURE__ */ jsx(default_1$1, { fontSize: "small" }),
|
|
57
|
-
/* @__PURE__ */ jsx("span", { className: "bookmark-question-text", children: item.question }),
|
|
58
|
-
/* @__PURE__ */ jsx(default_1$2, { fontSize: "small" })
|
|
59
|
-
] }, idx))
|
|
60
|
-
] }) });
|
|
61
|
-
}
|
|
62
|
-
export {
|
|
63
|
-
BookMarkPanel
|
|
64
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatBotLandingScreen.d.ts","sourceRoot":"","sources":["../../../src/components/Chatbot/chatBotLandingScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAEjE,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,yBAAyB,2CAoB/F"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import default_1 from "../../node_modules/@mui/icons-material/Clear.js";
|
|
3
|
-
import { Button } from "../Button/index.js";
|
|
4
|
-
function ChatBotLandingScreen({ onClose, isFullWidth }) {
|
|
5
|
-
return /* @__PURE__ */ jsxs("div", { className: "chatbot-landing-screen-container", children: [
|
|
6
|
-
!isFullWidth && /* @__PURE__ */ jsx("div", { className: "chatbot-landing-screen-container-close-icon", children: /* @__PURE__ */ jsx(
|
|
7
|
-
Button,
|
|
8
|
-
{
|
|
9
|
-
className: "chatbot-component-header-close-icon",
|
|
10
|
-
icon: /* @__PURE__ */ jsx(default_1, {}),
|
|
11
|
-
iconPlacement: "left",
|
|
12
|
-
size: "large",
|
|
13
|
-
type: "default",
|
|
14
|
-
variant: "text",
|
|
15
|
-
onClick: onClose
|
|
16
|
-
}
|
|
17
|
-
) }),
|
|
18
|
-
/* @__PURE__ */ jsx("div", { className: "chatbot-landing-screen-container-circle-1" }),
|
|
19
|
-
/* @__PURE__ */ jsx("div", { className: "chatbot-landing-screen-container-circle-2" })
|
|
20
|
-
] });
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
ChatBotLandingScreen as default
|
|
24
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ChatInputProps } from './Chatbot.types';
|
|
2
|
-
|
|
3
|
-
export default function ChatInput({ inputValue, setInputValue, setIsNewChat, onSendIconClick, setUserChats, userChats, handleRefresh, handleSaveChat, handleMicClick, activeList, uniqueId, suggestionBanner, isStopIcon, onStopIconClick, minRows, newChatScreen, customScreen, onCloseSuggestionBanner, showSuggestionBanner, customInputComponent, }: ChatInputProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
//# sourceMappingURL=chatInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatInput.d.ts","sourceRoot":"","sources":["../../../src/components/Chatbot/chatInput.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,iBAAiB,CAAC;AASnE,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,UAAU,EACV,aAAa,EACb,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,SAAS,EACT,aAAa,EACb,cAAc,EACd,cAAc,EACd,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,OAAW,EACX,aAAqB,EACrB,YAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,GACrB,EAAE,cAAc,2CAuKhB"}
|