@bcc-code/vue-bcc-chat-ui 7.2.7 → 7.3.1

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 (110) hide show
  1. package/dist/definitions-D2uFt784.js +11 -0
  2. package/dist/definitions-D2uFt784.js.map +1 -0
  3. package/dist/index.d.ts +886 -11
  4. package/dist/style.css +1 -1
  5. package/dist/vue-bcc-chat-ui.js +9101 -8817
  6. package/dist/vue-bcc-chat-ui.js.map +1 -1
  7. package/dist/web-BXfaCfgZ.js +55 -0
  8. package/dist/web-BXfaCfgZ.js.map +1 -0
  9. package/package.json +5 -2
  10. package/dist/App.vue.d.ts +0 -4
  11. package/dist/FixtureApp.vue.d.ts +0 -4
  12. package/dist/auth.d.ts +0 -3
  13. package/dist/chat/accessToken.d.ts +0 -11
  14. package/dist/chat/avatar.d.ts +0 -3
  15. package/dist/chat/cacheScope.d.ts +0 -13
  16. package/dist/chat/client.d.ts +0 -7
  17. package/dist/chat/clipboardFiles.d.ts +0 -5
  18. package/dist/chat/conversationState.d.ts +0 -17
  19. package/dist/chat/data.d.ts +0 -18
  20. package/dist/chat/environment.d.ts +0 -8
  21. package/dist/chat/i18n/en.d.ts +0 -151
  22. package/dist/chat/i18n/nb.d.ts +0 -151
  23. package/dist/chat/i18n/types.d.ts +0 -2
  24. package/dist/chat/index.d.ts +0 -240
  25. package/dist/chat/localization.d.ts +0 -17
  26. package/dist/chat/mentions.d.ts +0 -33
  27. package/dist/chat/messageText.d.ts +0 -21
  28. package/dist/chat/mockClient.d.ts +0 -13
  29. package/dist/chat/offlineStore.d.ts +0 -55
  30. package/dist/chat/participants.d.ts +0 -8
  31. package/dist/chat/pinnedMessages.d.ts +0 -12
  32. package/dist/chat/publicChannelMessageFallback.d.ts +0 -1
  33. package/dist/chat/reactions.d.ts +0 -8
  34. package/dist/chat/richText.d.ts +0 -9
  35. package/dist/chat/runtime.d.ts +0 -3
  36. package/dist/chat/theme.d.ts +0 -19
  37. package/dist/chat/types.d.ts +0 -409
  38. package/dist/components/chat/BccChat.vue.d.ts +0 -100
  39. package/dist/components/chat/ChatStatusOverlay.vue.d.ts +0 -34
  40. package/dist/components/chat/publicContract.d.ts +0 -44
  41. package/dist/components/conversations/ConversationList.vue.d.ts +0 -18
  42. package/dist/components/conversations/UserProfileCard.vue.d.ts +0 -9
  43. package/dist/components/messages/ActionMessageRow.vue.d.ts +0 -7
  44. package/dist/components/messages/AudioStickyPlayer.vue.d.ts +0 -12
  45. package/dist/components/messages/ComposerActionsPopover.vue.d.ts +0 -15
  46. package/dist/components/messages/ComposerContextBanner.vue.d.ts +0 -15
  47. package/dist/components/messages/ComposerFormatMenu.vue.d.ts +0 -19
  48. package/dist/components/messages/ComposerLinkDialog.vue.d.ts +0 -18
  49. package/dist/components/messages/ComposerPollDialog.vue.d.ts +0 -18
  50. package/dist/components/messages/ComposerScheduleDialog.vue.d.ts +0 -22
  51. package/dist/components/messages/ComposerTriggerMenu.vue.d.ts +0 -24
  52. package/dist/components/messages/ConversationComposer.vue.d.ts +0 -30
  53. package/dist/components/messages/LinkPreviewCard.vue.d.ts +0 -8
  54. package/dist/components/messages/LinkifiedText.vue.d.ts +0 -15
  55. package/dist/components/messages/MessageAttachmentList.vue.d.ts +0 -12
  56. package/dist/components/messages/MessageComposer.vue.d.ts +0 -59
  57. package/dist/components/messages/MessageDateSeparator.vue.d.ts +0 -7
  58. package/dist/components/messages/MessageDeliveryStatus.vue.d.ts +0 -8
  59. package/dist/components/messages/MessageForwardedLabel.vue.d.ts +0 -8
  60. package/dist/components/messages/MessageItem.vue.d.ts +0 -36
  61. package/dist/components/messages/MessageItemHeader.vue.d.ts +0 -8
  62. package/dist/components/messages/MessageItemMenu.vue.d.ts +0 -36
  63. package/dist/components/messages/MessageItemMenuReactions.vue.d.ts +0 -13
  64. package/dist/components/messages/MessageItemReactions.vue.d.ts +0 -16
  65. package/dist/components/messages/MessageList.vue.d.ts +0 -42
  66. package/dist/components/messages/MessageListHeader.vue.d.ts +0 -9
  67. package/dist/components/messages/MessagePinnedLabel.vue.d.ts +0 -4
  68. package/dist/components/messages/MessagePollContent.vue.d.ts +0 -14
  69. package/dist/components/messages/MessageReactionList.vue.d.ts +0 -14
  70. package/dist/components/messages/MessageReplyQuote.vue.d.ts +0 -12
  71. package/dist/components/messages/MessageTextContent.vue.d.ts +0 -12
  72. package/dist/components/messages/PinnedMessagesBar.vue.d.ts +0 -4
  73. package/dist/components/overlays/ForwardMessageDialog.vue.d.ts +0 -16
  74. package/dist/components/overlays/FullscreenDialog.vue.d.ts +0 -34
  75. package/dist/components/overlays/MediaViewerDialog.vue.d.ts +0 -12
  76. package/dist/components/overlays/MessageInfoDialog.vue.d.ts +0 -16
  77. package/dist/components/overlays/PinnedMessagesDialog.vue.d.ts +0 -20
  78. package/dist/components/overlays/ReceiptSection.vue.d.ts +0 -13
  79. package/dist/components/overlays/ScheduledMessagesDialog.vue.d.ts +0 -37
  80. package/dist/components/shared/PersonAvatar.vue.d.ts +0 -8
  81. package/dist/composables/chat/index.d.ts +0 -13
  82. package/dist/composables/chat/useComposerContext.d.ts +0 -44
  83. package/dist/composables/chat/useConversationContext.d.ts +0 -36
  84. package/dist/composables/chat/useDialogsContext.d.ts +0 -43
  85. package/dist/composables/chat/useMessagesContext.d.ts +0 -42
  86. package/dist/composables/useAudioPlayer.d.ts +0 -18
  87. package/dist/composables/useChatActions.d.ts +0 -21
  88. package/dist/composables/useChatEventBus.d.ts +0 -108
  89. package/dist/composables/useComposerDrafts.d.ts +0 -47
  90. package/dist/composables/useComposerTriggers.d.ts +0 -63
  91. package/dist/composables/useConversationComposer.d.ts +0 -16
  92. package/dist/composables/useGroupMemberTracking.d.ts +0 -33
  93. package/dist/composables/useImageZoom.d.ts +0 -26
  94. package/dist/composables/useIsTouchUi.d.ts +0 -4
  95. package/dist/composables/useMessageActionMenu.d.ts +0 -257
  96. package/dist/composables/useMessageInfoDialog.d.ts +0 -201
  97. package/dist/composables/useMessageListScroll.d.ts +0 -15
  98. package/dist/composables/useMessageNavigation.d.ts +0 -16
  99. package/dist/composables/usePinnedMessages.d.ts +0 -190
  100. package/dist/composables/useRichTextComposer.d.ts +0 -75
  101. package/dist/demo/ApiExamplesPanel.vue.d.ts +0 -8
  102. package/dist/demo/CallDebugPanel.vue.d.ts +0 -8
  103. package/dist/demo/ChatShell.vue.d.ts +0 -12
  104. package/dist/demo/StatCard.vue.d.ts +0 -17
  105. package/dist/demo/ThemeModeToggle.vue.d.ts +0 -17
  106. package/dist/demo/useDemoThemeMode.d.ts +0 -7
  107. package/dist/main.d.ts +0 -0
  108. package/dist/sfc-styles-entry.d.ts +0 -1
  109. package/dist/shims-vue.d.ts +0 -6
  110. package/dist/vite-env.d.ts +0 -1
@@ -1,19 +0,0 @@
1
- import { ComposerFormatCommand } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- visible: boolean;
5
- position: {
6
- x: number;
7
- y: number;
8
- placement?: "above" | "below";
9
- };
10
- };
11
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
- link: () => any;
13
- format: (command: ComposerFormatCommand) => any;
14
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onLink?: (() => any) | undefined;
16
- onFormat?: ((command: ComposerFormatCommand) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
- declare const _default: typeof __VLS_export;
19
- export default _default;
@@ -1,18 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- visible: boolean;
4
- disabled?: boolean;
5
- initialUrl?: string;
6
- selectedText?: string;
7
- };
8
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- cancel: () => any;
10
- apply: (url: string) => any;
11
- "update:visible": (value: boolean) => any;
12
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- onCancel?: (() => any) | undefined;
14
- onApply?: ((url: string) => any) | undefined;
15
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
- declare const _default: typeof __VLS_export;
18
- export default _default;
@@ -1,18 +0,0 @@
1
- import { PollComposerInput } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- visible: boolean;
5
- disabled?: boolean;
6
- };
7
- declare function reset(): void;
8
- declare const __VLS_export: DefineComponent<__VLS_Props, {
9
- reset: typeof reset;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- "update:visible": (value: boolean) => any;
12
- send: (input: PollComposerInput) => any;
13
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
14
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
15
- onSend?: ((input: PollComposerInput) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
- declare const _default: typeof __VLS_export;
18
- export default _default;
@@ -1,22 +0,0 @@
1
- import { ScheduleMessageInput } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- visible: boolean;
5
- disabled?: boolean;
6
- /** Human-readable preview of what will be sent. */
7
- contentPreview: string;
8
- /** Whether scheduling is currently possible (e.g. file attachments are allowed). */
9
- canSchedule: boolean;
10
- };
11
- declare function reset(): void;
12
- declare const __VLS_export: DefineComponent<__VLS_Props, {
13
- reset: typeof reset;
14
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
- schedule: (input: ScheduleMessageInput) => any;
16
- "update:visible": (value: boolean) => any;
17
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
18
- onSchedule?: ((input: ScheduleMessageInput) => any) | undefined;
19
- "onUpdate:visible"?: ((value: boolean) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
- declare const _default: typeof __VLS_export;
22
- export default _default;
@@ -1,24 +0,0 @@
1
- import { ComposerTriggerCandidate } from '../../composables/useComposerTriggers';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- visible: boolean;
5
- position: {
6
- x: number;
7
- y: number;
8
- placement?: "above" | "below";
9
- };
10
- candidates: ComposerTriggerCandidate[];
11
- };
12
- type __VLS_ModelProps = {
13
- "highlightedIndex"?: number;
14
- };
15
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
- declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
- select: (candidate: ComposerTriggerCandidate) => any;
18
- "update:highlightedIndex": (value: number | undefined) => any;
19
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- onSelect?: ((candidate: ComposerTriggerCandidate) => any) | undefined;
21
- "onUpdate:highlightedIndex"?: ((value: number | undefined) => any) | undefined;
22
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
23
- declare const _default: typeof __VLS_export;
24
- export default _default;
@@ -1,30 +0,0 @@
1
- import { ChatComposerSelectionState, ComposerFormatCommand, ComposerFormattingMode } from '../../chat/types';
2
- import { ChatTarget } from '../../composables/useChatEventBus';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- /** Which target this composer belongs to. */
6
- target: ChatTarget;
7
- formattingMode?: ComposerFormattingMode;
8
- };
9
- declare function focusEditor(): Promise<void>;
10
- declare function applyComposerFormat(command: ComposerFormatCommand): boolean;
11
- declare function requestComposerLink(): boolean;
12
- declare function applyComposerLink(url: string): boolean;
13
- declare function cancelComposerLink(): void;
14
- declare function getComposerSelection(): ChatComposerSelectionState | null;
15
- declare const __VLS_export: DefineComponent<__VLS_Props, {
16
- applyComposerFormat: typeof applyComposerFormat;
17
- applyComposerLink: typeof applyComposerLink;
18
- cancelComposerLink: typeof cancelComposerLink;
19
- focusEditor: typeof focusEditor;
20
- getComposerSelection: typeof getComposerSelection;
21
- requestComposerLink: typeof requestComposerLink;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
- composerSelectionChange: (selection: ChatComposerSelectionState | null) => any;
24
- composerLinkRequest: (selection: ChatComposerSelectionState) => any;
25
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- onComposerSelectionChange?: ((selection: ChatComposerSelectionState | null) => any) | undefined;
27
- onComposerLinkRequest?: ((selection: ChatComposerSelectionState) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
29
- declare const _default: typeof __VLS_export;
30
- export default _default;
@@ -1,8 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- url: string;
4
- isOwn?: boolean;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
@@ -1,15 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- text: string;
4
- isOwn?: boolean;
5
- showPreview?: boolean;
6
- textClass?: string;
7
- mentionNameByUid?: Record<string, string>;
8
- };
9
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
- anchorclick: (event: MouseEvent, url: string) => any;
11
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onAnchorclick?: ((event: MouseEvent, url: string) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
@@ -1,12 +0,0 @@
1
- import { ChatAttachmentItem, ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- openMedia: (attachment: ChatAttachmentItem) => any;
8
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onOpenMedia?: ((attachment: ChatAttachmentItem) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
@@ -1,59 +0,0 @@
1
- import { MentionCandidate } from '../../chat/mentions';
2
- import { AttachmentUploadInput, ChatMessageItem, ComposerFormatCommand, ComposerFormattingMode, ComposerSelectionState, PollComposerInput, ScheduleMessageInput } from '../../chat/types';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- type __VLS_Props = {
5
- modelValue: string;
6
- disabled: boolean;
7
- resetSignal: number;
8
- showScheduledButton?: boolean;
9
- replyToMessage?: ChatMessageItem | null;
10
- editingMessage?: ChatMessageItem | null;
11
- contextLabel?: string;
12
- offlineMode?: boolean;
13
- pendingQueueCount?: number;
14
- compact?: boolean;
15
- mentionCandidates?: MentionCandidate[];
16
- mentionNameByUid?: Record<string, string>;
17
- mentionsEnabled?: boolean;
18
- formattingMode?: ComposerFormattingMode;
19
- };
20
- declare function focusComposerEditor(): Promise<void>;
21
- declare function hideComposerActions(): void;
22
- declare function applyComposerFormat(command: ComposerFormatCommand): boolean;
23
- declare function requestComposerLink(): boolean;
24
- declare function applyComposerLink(url: string): boolean;
25
- declare function cancelComposerLink(): void;
26
- declare function getComposerSelection(): ComposerSelectionState | null;
27
- declare const __VLS_export: DefineComponent<__VLS_Props, {
28
- focusEditor: typeof focusComposerEditor;
29
- hideComposerActions: typeof hideComposerActions;
30
- applyComposerFormat: typeof applyComposerFormat;
31
- applyComposerLink: typeof applyComposerLink;
32
- cancelComposerLink: typeof cancelComposerLink;
33
- getComposerSelection: typeof getComposerSelection;
34
- requestComposerLink: typeof requestComposerLink;
35
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
36
- scheduleMessage: (input: ScheduleMessageInput) => any;
37
- sendAttachment: (input: AttachmentUploadInput) => any;
38
- sendPoll: (input: PollComposerInput) => any;
39
- "update:modelValue": (value: string) => any;
40
- sendText: () => any;
41
- openScheduled: () => any;
42
- cancelReply: () => any;
43
- cancelEdit: () => any;
44
- composerSelectionChange: (selection: ComposerSelectionState | null) => any;
45
- composerLinkRequest: (selection: ComposerSelectionState) => any;
46
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
47
- onScheduleMessage?: ((input: ScheduleMessageInput) => any) | undefined;
48
- onSendAttachment?: ((input: AttachmentUploadInput) => any) | undefined;
49
- onSendPoll?: ((input: PollComposerInput) => any) | undefined;
50
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
- onSendText?: (() => any) | undefined;
52
- onOpenScheduled?: (() => any) | undefined;
53
- onCancelReply?: (() => any) | undefined;
54
- onCancelEdit?: (() => any) | undefined;
55
- onComposerSelectionChange?: ((selection: ComposerSelectionState | null) => any) | undefined;
56
- onComposerLinkRequest?: ((selection: ComposerSelectionState) => any) | undefined;
57
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
58
- declare const _default: typeof __VLS_export;
59
- export default _default;
@@ -1,7 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- date: Date;
4
- };
5
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
6
- declare const _default: typeof __VLS_export;
7
- export default _default;
@@ -1,8 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
@@ -1,8 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
@@ -1,36 +0,0 @@
1
- import { ChatAttachmentItem, ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- currentUserId?: string;
6
- canReact?: boolean;
7
- canOpenThread?: boolean;
8
- isPinned?: boolean;
9
- contextMenuOpen?: boolean;
10
- canShowSenderAvatar: boolean;
11
- pendingOptionKey?: string | null;
12
- actionMessageClass?: string;
13
- actionMessageRowClass?: string;
14
- isTouchUi?: boolean;
15
- };
16
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
- contextmenu: (event: MouseEvent) => any;
18
- tap: (event: MouseEvent) => any;
19
- anchorclick: (event: MouseEvent, url: string) => any;
20
- openMedia: (attachment: ChatAttachmentItem) => any;
21
- toggleReaction: (emoji: string) => any;
22
- openThread: () => any;
23
- votePoll: (optionId: string) => any;
24
- openReferencedMessage: (messageId: string) => any;
25
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
26
- onContextmenu?: ((event: MouseEvent) => any) | undefined;
27
- onTap?: ((event: MouseEvent) => any) | undefined;
28
- onAnchorclick?: ((event: MouseEvent, url: string) => any) | undefined;
29
- onOpenMedia?: ((attachment: ChatAttachmentItem) => any) | undefined;
30
- onToggleReaction?: ((emoji: string) => any) | undefined;
31
- onOpenThread?: (() => any) | undefined;
32
- onVotePoll?: ((optionId: string) => any) | undefined;
33
- onOpenReferencedMessage?: ((messageId: string) => any) | undefined;
34
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
- declare const _default: typeof __VLS_export;
36
- export default _default;
@@ -1,8 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7
- declare const _default: typeof __VLS_export;
8
- export default _default;
@@ -1,36 +0,0 @@
1
- import { Component, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { ChatMessageItem } from '../../chat/types';
3
- import { MessagePollVotersSummaryAction, MessageReactionsSummaryAction, MessageReceiptSummaryAction } from '../../composables/useMessageActionMenu';
4
- type __VLS_Props = {
5
- message: ChatMessageItem | null;
6
- canReact: boolean;
7
- receiptSummaryAction?: MessageReceiptSummaryAction | null;
8
- pollVotersSummaryAction?: MessagePollVotersSummaryAction | null;
9
- reactionsSummaryAction?: MessageReactionsSummaryAction | null;
10
- actionItems: Array<{
11
- key: string;
12
- label: string;
13
- icon: Component;
14
- command: () => void;
15
- }>;
16
- };
17
- declare function show(event: Event, fallback?: {
18
- x: number;
19
- y: number;
20
- }, element?: HTMLElement): Promise<void>;
21
- declare function hide(): void;
22
- declare const __VLS_export: DefineComponent<__VLS_Props, {
23
- show: typeof show;
24
- hide: typeof hide;
25
- visible: ComputedRef<boolean>;
26
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
27
- hide: () => any;
28
- react: (emoji: string) => any;
29
- loadReactions: () => any;
30
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
31
- onHide?: (() => any) | undefined;
32
- onReact?: ((emoji: string) => any) | undefined;
33
- onLoadReactions?: (() => any) | undefined;
34
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
- declare const _default: typeof __VLS_export;
36
- export default _default;
@@ -1,13 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- canReact: boolean;
6
- };
7
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
- react: (emoji: string) => any;
9
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- onReact?: ((emoji: string) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;
@@ -1,16 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- canReact?: boolean;
6
- canOpenThread?: boolean;
7
- };
8
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- toggleReaction: (emoji: string) => any;
10
- openThread: () => any;
11
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onToggleReaction?: ((emoji: string) => any) | undefined;
13
- onOpenThread?: (() => any) | undefined;
14
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
@@ -1,42 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { ChatTarget } from '../../composables/useChatEventBus';
3
- import { ChatConversationItem } from '../..';
4
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
- type __VLS_Props = {
6
- /** Which target this list instance represents. Determines which context slice to use. */
7
- target: ChatTarget;
8
- /** Optional override to show/hide the list header for this pane. */
9
- showHeader?: boolean;
10
- /** Optional class applied to action-message rows rendered by MessageItem. */
11
- actionMessageClass?: string;
12
- /** Optional class applied to the inner action message pill/content row. */
13
- actionMessageRowClass?: string;
14
- /** Optional flag to hide the group actions for this pane. */
15
- hideGroupActions?: boolean;
16
- };
17
- declare var __VLS_1: {
18
- conversation: ChatConversationItem | null;
19
- parentMessage: ChatMessageItem | null;
20
- target: ChatTarget;
21
- title: string;
22
- subtitle: string;
23
- memberCount: number;
24
- }, __VLS_39: {};
25
- type __VLS_Slots = {} & {
26
- header?: (props: typeof __VLS_1) => any;
27
- } & {
28
- composer?: (props: typeof __VLS_39) => any;
29
- };
30
- declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
31
- anchorclick: (event: MouseEvent, url: string) => any;
32
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
33
- onAnchorclick?: ((event: MouseEvent, url: string) => any) | undefined;
34
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
- declare const _default: typeof __VLS_export;
37
- export default _default;
38
- type __VLS_WithSlots<T, S> = T & {
39
- new (): {
40
- $slots: S;
41
- };
42
- };
@@ -1,9 +0,0 @@
1
- import { ChatConversationItem, ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- conversation: ChatConversationItem | null;
5
- parentMessage?: ChatMessageItem | null;
6
- };
7
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
- declare const _default: typeof __VLS_export;
9
- export default _default;
@@ -1,4 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const __VLS_export: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
- declare const _default: typeof __VLS_export;
4
- export default _default;
@@ -1,14 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- currentUserId?: string;
6
- pendingOptionKey?: string | null;
7
- };
8
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- vote: (optionId: string) => any;
10
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- onVote?: ((optionId: string) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
- declare const _default: typeof __VLS_export;
14
- export default _default;
@@ -1,14 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- disabled: boolean;
6
- compact?: boolean;
7
- };
8
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- toggle: (emoji: string) => any;
10
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- onToggle?: ((emoji: string) => any) | undefined;
12
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
- declare const _default: typeof __VLS_export;
14
- export default _default;
@@ -1,12 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- open: () => any;
8
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onOpen?: (() => any) | undefined;
10
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
@@ -1,12 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- message: ChatMessageItem;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- anchorclick: (event: MouseEvent, url: string) => any;
8
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onAnchorclick?: ((event: MouseEvent, url: string) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
@@ -1,4 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const __VLS_export: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
- declare const _default: typeof __VLS_export;
4
- export default _default;
@@ -1,16 +0,0 @@
1
- import { ChatConversationItem, ForwardMessageTarget } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- open: boolean;
5
- chats: ChatConversationItem[];
6
- sending?: boolean;
7
- };
8
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- close: () => any;
10
- select: (target: ForwardMessageTarget) => any;
11
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onClose?: (() => any) | undefined;
13
- onSelect?: ((target: ForwardMessageTarget) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
@@ -1,34 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type __VLS_Props = {
3
- open: boolean;
4
- title?: string;
5
- subtitle?: string;
6
- closeLabel?: string;
7
- closeAriaLabel?: string;
8
- };
9
- declare var __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
10
- type __VLS_Slots = {} & {
11
- actions?: (props: typeof __VLS_19) => any;
12
- } & {
13
- default?: (props: typeof __VLS_21) => any;
14
- } & {
15
- footer?: (props: typeof __VLS_23) => any;
16
- };
17
- declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
- close: () => any;
19
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onClose?: (() => any) | undefined;
21
- }>, {
22
- title: string;
23
- subtitle: string;
24
- closeLabel: string;
25
- closeAriaLabel: string;
26
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
27
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
- declare const _default: typeof __VLS_export;
29
- export default _default;
30
- type __VLS_WithSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
@@ -1,12 +0,0 @@
1
- import { ChatAttachmentItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- attachment: ChatAttachmentItem | null;
5
- };
6
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- close: () => any;
8
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onClose?: (() => any) | undefined;
10
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
- declare const _default: typeof __VLS_export;
12
- export default _default;
@@ -1,16 +0,0 @@
1
- import { ChatMessageItem, ChatMessageReceiptItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- open: boolean;
5
- message: ChatMessageItem | null;
6
- receipts: ChatMessageReceiptItem[];
7
- loading: boolean;
8
- error?: string | null;
9
- };
10
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- close: () => any;
12
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- onClose?: (() => any) | undefined;
14
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
- declare const _default: typeof __VLS_export;
16
- export default _default;
@@ -1,20 +0,0 @@
1
- import { ChatMessageItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- open: boolean;
5
- messages: ChatMessageItem[];
6
- canUnpin?: boolean;
7
- mentionNameByUid?: Record<string, string>;
8
- conversationTitle?: string;
9
- };
10
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- close: () => any;
12
- unpin: (messageId: string) => any;
13
- jump: (messageId: string) => any;
14
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- onClose?: (() => any) | undefined;
16
- onUnpin?: ((messageId: string) => any) | undefined;
17
- onJump?: ((messageId: string) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
- declare const _default: typeof __VLS_export;
20
- export default _default;
@@ -1,13 +0,0 @@
1
- import { ChatMessageReceiptItem } from '../../chat/types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type __VLS_Props = {
4
- title: string;
5
- receipts: ChatMessageReceiptItem[];
6
- formatDateTime: (date?: Date) => string;
7
- showHeader?: boolean;
8
- };
9
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
- showHeader: boolean;
11
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
12
- declare const _default: typeof __VLS_export;
13
- export default _default;