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
@@ -1,22 +0,0 @@
1
- /**
2
- * One widget per generated surface in a stream: the agent may send a surface more than once (a placeholder
3
- * while it is composed, `status: "pending"`, version 0; then the surface, version 1; or its withdrawal), and
4
- * frame protocol 1 replaces a surface by its id (agent-ui-service-ssr docs/chat-frame-widget.md, rule 4).
5
- * No imports: the stream reader (AxiosEventSource) uses it too. Ported from core's smartBot
6
- * (insideinsight/core feat/iui-surface, e386f8f0).
7
- */
8
- /** A surface's version; one when it gives none. */
9
- export declare const surfaceVersion: (surface: any) => number;
10
- /** A stream's widgets with these added: a surface_frame widget whose surface the list already holds replaces
11
- * it in place (a lower version is dropped); any other widget is added at the end. */
12
- export declare const mergeSurfaceWidgets: (previous: any, incoming: any) => any[];
13
- /** A token for one widget. */
14
- export declare const surfaceToken: () => number;
15
- /** This widget shows `version` of surface `id`. */
16
- export declare const showSurface: (id: string, token: number, version: number) => void;
17
- /** This widget no longer shows surface `id`. */
18
- export declare const hideSurface: (id: string, token: number) => void;
19
- /** Whether another widget shows surface `id` in a version higher than `version`. */
20
- export declare const newerShown: (id: string, version: number) => boolean;
21
- /** Calls `watch` whenever a widget starts or stops showing a surface; returns the unsubscribe. */
22
- export declare const watchSurfaces: (watch: () => void) => (() => void);
@@ -1,5 +0,0 @@
1
- declare const CustomGroupAccordion: ({ children, onExpandChange, }: {
2
- children: any;
3
- onExpandChange: any;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default CustomGroupAccordion;
@@ -1,5 +0,0 @@
1
- /**
2
- * Constants extracted from core/constants
3
- * Only includes constants used by chatbot-v2
4
- */
5
- export const COMBINED_CROSS_DIMENSIONAL_API_V4: "/combined-cross-dimensional-v4";
@@ -1,8 +0,0 @@
1
- export function pxToRem(px: any): string;
2
- export function getCurrentUserId(): Promise<any>;
3
- export function getUserName(): any;
4
- export function fetchApplicationCode(): string;
5
- export function fetchBaseUrl(): string;
6
- export function getFormattedApplicationName(applicationURL: any): "application access management" | "AssortSmart" | "module configurator" | "InventorySmart" | "ADA" | "PlanSmart" | "ADAConfigurator" | "ItemSmart" | "ItemSmart-New" | "SourceSmart" | "PriceSmart Markdown" | "PriceSmart Promo" | "SizeSmart" | "workflow input center";
7
- export function fetchLegacyAgentScreen(): any;
8
- export function replaceSpecialCharacter(str: any): any;
@@ -1 +0,0 @@
1
- export function replaceSpecialCharacter(str: any): any;
File without changes
File without changes