@magemetrics/ai 0.0.43 → 0.0.44

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.
@@ -2,6 +2,7 @@ import { default as default_2 } from 'react';
2
2
  import { FormattedData } from '@mm/shared/data/FormattedData';
3
3
  import { FrontendFlowColumns } from '@mm/shared/schemas/flows';
4
4
  import { FrontendFlowData } from '@mm/shared/schemas/flows';
5
+ import { FrontendFlowDataExplainability } from '@mm/shared/schemas/flows';
5
6
 
6
7
  declare type CellContentProps = {
7
8
  formattedValue: FormattedData | undefined;
@@ -12,7 +13,13 @@ declare type CellContentProps = {
12
13
 
13
14
  declare interface Components {
14
15
  dataTableCells?: {
15
- [key: string]: (props: CellContentProps) => default_2.ReactNode;
16
+ empty?: (props: CellContentProps) => default_2.ReactNode;
17
+ units?: {
18
+ [key: string]: (props: CellContentProps) => default_2.ReactNode;
19
+ };
20
+ renderTypes?: {
21
+ [key: string]: (props: CellContentProps) => default_2.ReactNode;
22
+ };
16
23
  };
17
24
  dataReportTable?: (props: DataReportMessageProps) => default_2.ReactNode;
18
25
  }
@@ -28,9 +35,10 @@ declare interface DataReportMessageProps {
28
35
  report: FrontendFlowData;
29
36
  isOpened: boolean;
30
37
  setIsOpened: (opened: boolean) => void;
38
+ explainability: FrontendFlowDataExplainability | null | undefined;
31
39
  infiniteData: {
32
40
  data?: {
33
- pages: unknown[][];
41
+ pages: Record<string, unknown>[][];
34
42
  };
35
43
  isPending: boolean;
36
44
  fetchNextPage: () => Promise<unknown>;
@@ -72,6 +80,7 @@ export declare interface SearchElement extends HTMLElement, ManagedModalProps {
72
80
  declare type StartOptions = DisplayControlProps & {
73
81
  label?: string;
74
82
  recommendationsLabel?: string;
83
+ placeholders?: string[];
75
84
  };
76
85
 
77
86
  export { }
@@ -1,4 +1,4 @@
1
- import { c as o, l as r } from "./web-component-t8s5LBp8.js";
1
+ import { c as o, l as r } from "./web-component-D7L8akX4.js";
2
2
  export {
3
3
  o as createMagemetrics,
4
4
  r as logout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magemetrics/ai",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@ai-sdk/react": "^1.2.12",
@@ -29,10 +29,11 @@
29
29
  "clsx": "^2.1.1",
30
30
  "dayjs": "^1.11.13",
31
31
  "framer-motion": "^12.4.3",
32
- "html2canvas": "^1.4.1",
32
+ "html2canvas-pro": "^1.5.11",
33
33
  "openapi-fetch": "^0.13.4",
34
34
  "react-error-boundary": "^6.0.0",
35
35
  "react-markdown": "^10.1.0",
36
+ "react-textarea-autosize": "^8.5.9",
36
37
  "tailwind-merge": "^3.3.0",
37
38
  "vaul": "^1.1.2",
38
39
  "zod": "^3.25.42"