@pixonui/react 0.5.26 → 0.5.28

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/index.d.mts CHANGED
@@ -1422,8 +1422,9 @@ interface DialogProps {
1422
1422
  onClose: () => void;
1423
1423
  children: React__default.ReactNode;
1424
1424
  className?: string;
1425
+ hideClose?: boolean;
1425
1426
  }
1426
- declare function Dialog({ isOpen, onClose, children, className }: DialogProps): React__default.ReactPortal | null;
1427
+ declare function Dialog({ isOpen, onClose, children, className, hideClose }: DialogProps): React__default.ReactPortal | null;
1427
1428
  declare function DialogHeader({ className, children }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1428
1429
  declare function DialogFooter({ className, children }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1429
1430
  declare function DialogTitle({ className, children }: React__default.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
@@ -1812,6 +1813,8 @@ interface Message {
1812
1813
  starred?: boolean;
1813
1814
  agentName?: string;
1814
1815
  isInternalNote?: boolean;
1816
+ transcription?: string;
1817
+ isTranscribing?: boolean;
1815
1818
  }
1816
1819
  interface Conversation {
1817
1820
  id: string;
@@ -1828,6 +1831,11 @@ interface Conversation {
1828
1831
  isReadOnly?: boolean;
1829
1832
  ephemeralExpiration?: number;
1830
1833
  labels?: string[];
1834
+ activeFlowName?: string;
1835
+ jid?: string;
1836
+ instanceId?: number;
1837
+ status?: 'open' | 'closed';
1838
+ sessionWindowExpiresAt?: string | Date;
1831
1839
  wallpaper?: string;
1832
1840
  }
1833
1841
  interface GroupInfo {
@@ -1905,6 +1913,8 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
1905
1913
  onAction?: (message: Message, action: any) => void;
1906
1914
  onImageClick?: (url: string) => void;
1907
1915
  onTTS?: (message: Message) => void;
1916
+ onTranscribe?: (message: Message) => void;
1917
+ hasAi?: boolean;
1908
1918
  onLoadMore?: () => void;
1909
1919
  hasMore?: boolean;
1910
1920
  isLoadingMore?: boolean;
@@ -1912,7 +1922,7 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
1912
1922
  dateFormat?: string;
1913
1923
  groupByDate?: boolean;
1914
1924
  }
1915
- declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onTTS, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
1925
+ declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onTTS, onTranscribe, hasAi, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
1916
1926
 
1917
1927
  interface MessageBubbleProps {
1918
1928
  message: Message;
@@ -1932,9 +1942,11 @@ interface MessageBubbleProps {
1932
1942
  onAction?: (action: any) => void;
1933
1943
  onImageClick?: (url: string) => void;
1934
1944
  onTTS?: () => void;
1945
+ onTranscribe?: (message: Message) => void;
1946
+ hasAi?: boolean;
1935
1947
  isSelected?: boolean;
1936
1948
  }
1937
- declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onTTS, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
1949
+ declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onTTS, onTranscribe, hasAi, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
1938
1950
 
1939
1951
  interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
1940
1952
  value?: string;
package/dist/index.d.ts CHANGED
@@ -1422,8 +1422,9 @@ interface DialogProps {
1422
1422
  onClose: () => void;
1423
1423
  children: React__default.ReactNode;
1424
1424
  className?: string;
1425
+ hideClose?: boolean;
1425
1426
  }
1426
- declare function Dialog({ isOpen, onClose, children, className }: DialogProps): React__default.ReactPortal | null;
1427
+ declare function Dialog({ isOpen, onClose, children, className, hideClose }: DialogProps): React__default.ReactPortal | null;
1427
1428
  declare function DialogHeader({ className, children }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1428
1429
  declare function DialogFooter({ className, children }: React__default.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1429
1430
  declare function DialogTitle({ className, children }: React__default.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
@@ -1812,6 +1813,8 @@ interface Message {
1812
1813
  starred?: boolean;
1813
1814
  agentName?: string;
1814
1815
  isInternalNote?: boolean;
1816
+ transcription?: string;
1817
+ isTranscribing?: boolean;
1815
1818
  }
1816
1819
  interface Conversation {
1817
1820
  id: string;
@@ -1828,6 +1831,11 @@ interface Conversation {
1828
1831
  isReadOnly?: boolean;
1829
1832
  ephemeralExpiration?: number;
1830
1833
  labels?: string[];
1834
+ activeFlowName?: string;
1835
+ jid?: string;
1836
+ instanceId?: number;
1837
+ status?: 'open' | 'closed';
1838
+ sessionWindowExpiresAt?: string | Date;
1831
1839
  wallpaper?: string;
1832
1840
  }
1833
1841
  interface GroupInfo {
@@ -1905,6 +1913,8 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
1905
1913
  onAction?: (message: Message, action: any) => void;
1906
1914
  onImageClick?: (url: string) => void;
1907
1915
  onTTS?: (message: Message) => void;
1916
+ onTranscribe?: (message: Message) => void;
1917
+ hasAi?: boolean;
1908
1918
  onLoadMore?: () => void;
1909
1919
  hasMore?: boolean;
1910
1920
  isLoadingMore?: boolean;
@@ -1912,7 +1922,7 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
1912
1922
  dateFormat?: string;
1913
1923
  groupByDate?: boolean;
1914
1924
  }
1915
- declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onTTS, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
1925
+ declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onTTS, onTranscribe, hasAi, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
1916
1926
 
1917
1927
  interface MessageBubbleProps {
1918
1928
  message: Message;
@@ -1932,9 +1942,11 @@ interface MessageBubbleProps {
1932
1942
  onAction?: (action: any) => void;
1933
1943
  onImageClick?: (url: string) => void;
1934
1944
  onTTS?: () => void;
1945
+ onTranscribe?: (message: Message) => void;
1946
+ hasAi?: boolean;
1935
1947
  isSelected?: boolean;
1936
1948
  }
1937
- declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onTTS, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
1949
+ declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onTTS, onTranscribe, hasAi, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
1938
1950
 
1939
1951
  interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
1940
1952
  value?: string;