impact-chatbot 2.4.0 → 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.
- package/dist/components/ag-grid/AgGridComponent.d.ts +2 -0
- package/dist/components/ag-grid/columnFormatter.d.ts +10 -0
- package/dist/components/ag-grid/constants.d.ts +3 -0
- package/dist/components/ag-grid/formatters.d.ts +11 -0
- package/dist/components/ag-grid/index.d.ts +3 -0
- package/dist/components/core-chart/CoreChart.d.ts +22 -0
- package/dist/components/core-chart/index.d.ts +2 -0
- package/dist/components/date-range-picker/DateRangePickerComponent.d.ts +4 -0
- package/dist/components/date-range-picker/index.d.ts +2 -0
- package/dist/constants.d.ts +1 -0
- package/dist/hooks/useBotConfiguration.d.ts +1 -1
- package/dist/index.cjs.css +93 -0
- package/dist/index.cjs.js +2187 -1789
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.esm.css +93 -0
- package/dist/index.esm.js +2050 -1669
- package/dist/index.esm.js.map +1 -1
- package/dist/provider/ChatbotProvider.d.ts +32 -0
- package/dist/provider/types.d.ts +49 -0
- package/dist/services/apiConstants.d.ts +14 -0
- package/dist/services/chatbot-services.d.ts +42 -9
- package/dist/services/http.d.ts +53 -0
- package/dist/store/actions.d.ts +13 -0
- package/dist/store/index.d.ts +3 -0
- package/dist/store/reducer.d.ts +205 -0
- package/dist/store/types.d.ts +18 -0
- package/dist/utils/coreUtils.d.ts +16 -9
- package/package.json +33 -5
- package/dist/components/allocation-detail-panel/AllocationDetailPanel.d.ts +0 -2
- package/dist/components/allocation-detail-panel/AllocationPlanCard.d.ts +0 -4
- package/dist/components/allocation-detail-panel/components/PanelHeader.d.ts +0 -8
- package/dist/components/allocation-detail-panel/components/PanelSection.d.ts +0 -4
- package/dist/components/allocation-detail-panel/components/ReportSummaryCard.d.ts +0 -4
- package/dist/components/allocation-detail-panel/components/StructuredComparison.d.ts +0 -4
- package/dist/components/allocation-detail-panel/styles.d.ts +0 -1
- package/dist/components/chatbot-input/index_new.d.ts +0 -3
- package/dist/components/chatbot-input/index_old_backup.d.ts +0 -3
- package/dist/components/chatbot-save-filter-component/ChatbotSaveFilterComponent.d.ts +0 -2
- package/dist/components/message-template/components/message-content/SurfaceFrameContent.d.ts +0 -37
- package/dist/components/message-template/components/message-content/surfaceWidgets.d.ts +0 -22
- package/dist/core/commonComponents/custom-group-accordion/index.d.ts +0 -5
- package/dist/core/constants/index.d.ts +0 -5
- package/dist/core/utils/functions.d.ts +0 -8
- package/dist/core/utils/replaceSpecialCharacter.d.ts +0 -1
- /package/dist/{core/styles → styles}/colours.d.ts +0 -0
- /package/dist/{core/styles → styles}/globalStyles.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Simplified column formatter for chatbot tables.
|
|
3
|
+
* Handles non-editable display-only columns. Does not support editable cells,
|
|
4
|
+
* advanced search, range filters, or complex cell renderers.
|
|
5
|
+
*
|
|
6
|
+
* API-compatible with the core agGridColumnFormatter signature:
|
|
7
|
+
* agGridColumnFormatter(data, levelsJson, actions, formatSetAllLabel, hideValueGetter, isView)
|
|
8
|
+
* but ignores all args except `data`.
|
|
9
|
+
*/
|
|
10
|
+
export default function agGridColumnFormatter(data: any, _levelsJson?: any, _actions?: any, _formatSetAllLabel?: any, _hideValueGetter?: any, _isView?: any): any;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const AG_GRID_V36_LICENCE_KEY = "Using_this_{AG_Grid}_Enterprise_key_{AG-082017}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Impact_Analytics}_is_granted_a_{Multiple_Applications}_Developer_License_for_{1}_Front-End_JavaScript_developer___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_not_been_granted_a_Deployment_License_Add-on___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{28_February_2027}____[v3]_[01]_MTgwMzc3MjgwMDAwMA==d3fb103fa88b52d1f7ad90bf7e94f9a5";
|
|
2
|
+
export declare const DEFAULT_ROUNDOFF = 2;
|
|
3
|
+
export declare const IGNORE_ROUNDOFF: string[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const numbersWithComma: (value: any, roundOffTo: any, disableCommaFormatting?: boolean, displayBlank?: boolean) => any;
|
|
2
|
+
export declare const percentFormatter: (value: any, roundOffTo: any, dontMultiply: any, displayBlank?: boolean) => any;
|
|
3
|
+
export declare const decimalsFormatter: (x: any, toFix: any, shouldRoundOff?: any, displayBlank?: boolean) => any;
|
|
4
|
+
export declare const currencyFormatter: (value: any, roundOffTo: any, symbol: any) => any;
|
|
5
|
+
export declare const formattedDate: (date: any, format: any, currentDateFormat?: any) => any;
|
|
6
|
+
export declare const arrayToCommaFormatter: (value: any) => any;
|
|
7
|
+
/**
|
|
8
|
+
* Returns a valueFormatter function for non-editable cells based on column type.
|
|
9
|
+
* This is the simplified version that handles display-only columns.
|
|
10
|
+
*/
|
|
11
|
+
export declare const nonEditableCellValueFormatter: (item: any, forFooter?: any, shouldRoundOff?: any) => (ins: any) => any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import 'highcharts/esm/highcharts-more.js';
|
|
2
|
+
import 'highcharts/esm/highcharts-3d.js';
|
|
3
|
+
import 'highcharts/esm/modules/exporting.js';
|
|
4
|
+
import 'highcharts/esm/modules/export-data.js';
|
|
5
|
+
import 'highcharts/esm/modules/map.js';
|
|
6
|
+
import 'highcharts/esm/modules/pattern-fill.js';
|
|
7
|
+
import 'highcharts/esm/modules/treemap.js';
|
|
8
|
+
import 'highcharts/esm/modules/heatmap.js';
|
|
9
|
+
import 'highcharts/esm/modules/pareto.js';
|
|
10
|
+
/**
|
|
11
|
+
* CoreChart Component
|
|
12
|
+
* A simple wrapper around the Highcharts React component.
|
|
13
|
+
* Directly passes the provided options to Highcharts.
|
|
14
|
+
*
|
|
15
|
+
* @param {Object} props - Component props
|
|
16
|
+
* @param {Object} props.options - Highcharts options configuration
|
|
17
|
+
* @param {Function} [props.handleChartRef] - Optional callback to get a reference to the chart
|
|
18
|
+
* @param {Object} [props.containerProps] - Optional props for the chart container
|
|
19
|
+
* @returns {JSX.Element} Rendered chart component
|
|
20
|
+
*/
|
|
21
|
+
declare const CoreChart: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default CoreChart;
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const useBotConfiguration: (setRefreshLoader: any, setEnableRefreshAction: any
|
|
1
|
+
export declare const useBotConfiguration: (setRefreshLoader: any, setEnableRefreshAction: any) => {
|
|
2
2
|
refreshAndUpdateUserManual: () => Promise<void>;
|
|
3
3
|
configureBotActions: () => Promise<void>;
|
|
4
4
|
displaySnackMessages: (message: any, variant: any) => void;
|
package/dist/index.cjs.css
CHANGED
|
@@ -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;
|