impact-chatbot 2.4.1 → 3.0.0

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 (47) hide show
  1. package/dist/components/ag-grid/AgGridComponent.d.ts +2 -0
  2. package/dist/components/ag-grid/columnFormatter.d.ts +10 -0
  3. package/dist/components/ag-grid/constants.d.ts +3 -0
  4. package/dist/components/ag-grid/formatters.d.ts +11 -0
  5. package/dist/components/ag-grid/index.d.ts +3 -0
  6. package/dist/components/core-chart/CoreChart.d.ts +22 -0
  7. package/dist/components/core-chart/index.d.ts +2 -0
  8. package/dist/components/date-range-picker/DateRangePickerComponent.d.ts +4 -0
  9. package/dist/components/date-range-picker/index.d.ts +2 -0
  10. package/dist/constants.d.ts +1 -0
  11. package/dist/hooks/useBotConfiguration.d.ts +1 -1
  12. package/dist/index.cjs.css +93 -0
  13. package/dist/index.cjs.js +2190 -1797
  14. package/dist/index.cjs.js.map +1 -1
  15. package/dist/index.d.ts +4 -0
  16. package/dist/index.esm.css +93 -0
  17. package/dist/index.esm.js +2053 -1677
  18. package/dist/index.esm.js.map +1 -1
  19. package/dist/provider/ChatbotProvider.d.ts +32 -0
  20. package/dist/provider/types.d.ts +49 -0
  21. package/dist/services/apiConstants.d.ts +14 -0
  22. package/dist/services/chatbot-services.d.ts +42 -9
  23. package/dist/services/http.d.ts +53 -0
  24. package/dist/store/actions.d.ts +13 -0
  25. package/dist/store/index.d.ts +3 -0
  26. package/dist/store/reducer.d.ts +205 -0
  27. package/dist/store/types.d.ts +18 -0
  28. package/dist/utils/coreUtils.d.ts +16 -9
  29. package/package.json +33 -5
  30. package/dist/components/allocation-detail-panel/AllocationDetailPanel.d.ts +0 -2
  31. package/dist/components/allocation-detail-panel/AllocationPlanCard.d.ts +0 -4
  32. package/dist/components/allocation-detail-panel/components/PanelHeader.d.ts +0 -8
  33. package/dist/components/allocation-detail-panel/components/PanelSection.d.ts +0 -4
  34. package/dist/components/allocation-detail-panel/components/ReportSummaryCard.d.ts +0 -4
  35. package/dist/components/allocation-detail-panel/components/StructuredComparison.d.ts +0 -4
  36. package/dist/components/allocation-detail-panel/styles.d.ts +0 -1
  37. package/dist/components/chatbot-input/index_new.d.ts +0 -3
  38. package/dist/components/chatbot-input/index_old_backup.d.ts +0 -3
  39. package/dist/components/chatbot-save-filter-component/ChatbotSaveFilterComponent.d.ts +0 -2
  40. package/dist/components/message-template/components/message-content/SurfaceFrameContent.d.ts +0 -37
  41. package/dist/components/message-template/components/message-content/surfaceWidgets.d.ts +0 -22
  42. package/dist/core/commonComponents/custom-group-accordion/index.d.ts +0 -5
  43. package/dist/core/constants/index.d.ts +0 -5
  44. package/dist/core/utils/functions.d.ts +0 -8
  45. package/dist/core/utils/replaceSpecialCharacter.d.ts +0 -1
  46. /package/dist/{core/styles → styles}/colours.d.ts +0 -0
  47. /package/dist/{core/styles → styles}/globalStyles.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,2 +1,6 @@
1
1
  declare const SmartBot: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export { ChatbotProvider, useChatbotDeps } from "./provider/ChatbotProvider";
3
+ export type { ChatbotDependencies, HttpClient, ApiConstants, ChatbotCallbacks, ChatbotSelectors, ChatbotComponents } from "./provider/types";
4
+ export { smartBotReducer, smartBotInitialState } from "./store/reducer";
5
+ export { setSmartBotActive, setIsSmartBotRestricted, setChatbotContext, setThinkingContext, setHierarchyKeyValue, setCurrentAgentChatId, setPersistedFormValues, clearPersistedFormValues, setStepFormRestreamPayload, setSavedFilterSets, setStepFormStreamData, setMinimizedStreamData, setChatbotFilterOptions, } from "./store/actions";
2
6
  export default SmartBot;
@@ -266,6 +266,99 @@
266
266
  .md-content a:hover {
267
267
  text-decoration: underline;
268
268
  }
269
+ .DateRangePicker {
270
+ width: 100%;
271
+ }
272
+ .DateRangePickerInput {
273
+ width: 100%;
274
+ }
275
+ .DateRangePicker .DateInput_input__focused {
276
+ border-color: #0055AF;
277
+ }
278
+ .DateRangePicker .DateRangePickerInput_calendarIcon {
279
+ padding: 0.375rem 0.125rem;
280
+ }
281
+ .DateRangePicker .DateRangePickerInput__disabled .DateRangePickerInput_clearDates {
282
+ display: none;
283
+ }
284
+ .DateRangePicker .DateInput_input {
285
+ padding: 0.125rem 0.5rem;
286
+ }
287
+
288
+ .DateRangePicker_picker {
289
+ z-index: 1301 !important;
290
+ }
291
+ .DateRangePicker_picker .CalendarMonth_table {
292
+ border-collapse: separate;
293
+ margin-top: 0.5rem;
294
+ }
295
+ .DateRangePicker_picker .DayPicker_weekHeader_li small {
296
+ color: #394960;
297
+ font-size: 0.8125rem;
298
+ line-height: 1.5384615385;
299
+ font-weight: 400;
300
+ letter-spacing: 0;
301
+ }
302
+ .DateRangePicker_picker .DayPickerNavigation_button_1 {
303
+ left: 1.5rem;
304
+ }
305
+ .DateRangePicker_picker .DayPickerNavigation_button_1:nth-child(2) {
306
+ left: unset;
307
+ right: 1.5rem;
308
+ }
309
+ .DateRangePicker_picker .DayPickerNavigation_button_1:hover, .DateRangePicker_picker .DayPickerNavigation_button_1:active {
310
+ background-color: rgba(29, 29, 29, 0.04);
311
+ border-radius: 50%;
312
+ }
313
+ .DateRangePicker_picker .DayPickerNavigation_button__horizontal {
314
+ position: absolute;
315
+ top: 1.25rem;
316
+ line-height: 0.6;
317
+ padding: 0.25rem;
318
+ }
319
+ .DateRangePicker_picker .CalendarDay__default {
320
+ border: 0.125rem solid #FFFFFF;
321
+ border-radius: 50%;
322
+ color: #1D1D1D;
323
+ vertical-align: middle;
324
+ font-size: 0.8125rem;
325
+ line-height: 1.5384615385;
326
+ font-weight: 400;
327
+ letter-spacing: 0;
328
+ }
329
+ .DateRangePicker_picker .CalendarDay__default:hover:not(.CalendarDay__selected) {
330
+ background-color: rgba(29, 29, 29, 0.04);
331
+ }
332
+ .DateRangePicker_picker .CalendarDay__selected {
333
+ background-color: #0055AF;
334
+ color: #FFFFFF;
335
+ }
336
+ .DateRangePicker_picker .CalendarDay__selected:hover, .DateRangePicker_picker .CalendarDay__selected:active {
337
+ background-color: #0055AF;
338
+ color: #FFFFFF;
339
+ }
340
+ .DateRangePicker_picker .CalendarDay__selected_span {
341
+ background-color: #E5EDF7;
342
+ }
343
+ .DateRangePicker_picker .CalendarDay__hovered_span {
344
+ background-color: #F3F7FD;
345
+ }
346
+ .DateRangePicker_picker .CalendarDay__hovered_span:hover, .DateRangePicker_picker .CalendarDay__hovered_span:active {
347
+ background-color: #F3F7FD;
348
+ }
349
+ .DateRangePicker_picker .CalendarDay__blocked_out_of_range:hover, .DateRangePicker_picker .CalendarDay__blocked_out_of_range:active {
350
+ background-color: #F3F7FD;
351
+ }
352
+ .DateRangePicker_picker .CalendarDay__blocked_out_of_range:not(.CalendarDay__selected) {
353
+ color: #758490;
354
+ }
355
+ .DateRangePicker_picker .CalendarDay__blocked_out_of_range:not(.CalendarDay__selected):hover, .DateRangePicker_picker .CalendarDay__blocked_out_of_range:not(.CalendarDay__selected):active {
356
+ background-color: #FFFFFF;
357
+ color: #758490;
358
+ }
359
+ .DateRangePicker_picker .DayPickerKeyboardShortcuts_show__bottomRight::before {
360
+ border-right-color: #0055AF;
361
+ }
269
362
  .chat-input-container {
270
363
  width: 100%;
271
364
  position: relative;