@medipha/chat 1.0.58 → 1.0.60
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/features/forward/forward-dialog.d.ts +1 -1
- package/dist/features/forward/use-forward-message.d.ts +1 -1
- package/dist/features/tags/tag-quick-picker.d.ts +7 -0
- package/dist/index.cjs +66 -66
- package/dist/index.js +12981 -12791
- package/dist/pages/conversation/conversation-header/conversation-header.d.ts +3 -3
- package/dist/styles.css +1 -1
- package/dist/utils/chat.d.ts +4 -0
- package/package.json +3 -2
|
@@ -2,7 +2,7 @@ import { ChatMessage } from '../../utils/chat';
|
|
|
2
2
|
interface ForwardDialogProps {
|
|
3
3
|
source: ChatMessage;
|
|
4
4
|
onClose: () => void;
|
|
5
|
-
onForward: (targetConversationIds: string[], note: string) => void;
|
|
5
|
+
onForward: (targetConversationIds: string[], targetUserIds: string[], note: string) => void;
|
|
6
6
|
/** Opens the account-info modal for the person behind a "Cá nhân" row. */
|
|
7
7
|
onOpenProfile?: (userId: string) => void;
|
|
8
8
|
}
|
|
@@ -17,6 +17,6 @@ export declare function useForwardMessage({ onForwarded }: UseForwardMessageOpti
|
|
|
17
17
|
openForward: (message: import('../../utils/chat').ChatMessage, conversationId?: string) => void;
|
|
18
18
|
closeForward: () => void;
|
|
19
19
|
clearIfTarget: (messageId: string) => void;
|
|
20
|
-
submitForward: (targetConversationIds: string[], note: string) => void;
|
|
20
|
+
submitForward: (targetConversationIds: string[], targetUserIds: string[], note: string) => void;
|
|
21
21
|
};
|
|
22
22
|
export {};
|
|
@@ -9,4 +9,11 @@ interface TagQuickPickerProps {
|
|
|
9
9
|
submenuAlign?: 'left' | 'right';
|
|
10
10
|
}
|
|
11
11
|
export declare function TagQuickPicker({ conversation, triggerRef, onManageTags, onClose, variant, submenuAlign, }: TagQuickPickerProps): import('react/jsx-runtime').JSX.Element | null;
|
|
12
|
+
interface TagQuickPickerPopoverProps {
|
|
13
|
+
conversation: Conversation;
|
|
14
|
+
triggerRef: RefObject<HTMLButtonElement | null>;
|
|
15
|
+
onManageTags: () => void;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function TagQuickPickerPopover({ conversation, triggerRef, onManageTags, onClose, }: TagQuickPickerPopoverProps): import('react').ReactPortal;
|
|
12
19
|
export {};
|