@webitel/ui-chats 0.1.40 → 0.1.42
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/package.json +17 -1
- package/src/adapters/chat-web-sdk/toChatMessage.ts +111 -0
- package/src/adapters/index.ts +12 -0
- package/src/types/index.ts +15 -0
- package/src/ui/index.ts +2 -0
- package/src/ui/messaging/components/chat-date-divider.vue +1 -1
- package/src/ui/messaging/components/scroll-to-bottom-btn.vue +0 -2
- package/src/ui/messaging/components/the-messages-container.vue +56 -46
- package/src/ui/messaging/composables/useChatScroll.ts +185 -75
- package/src/ui/messaging/composables/useObserveHeightUntilStable.ts +75 -0
- package/src/ui/messaging/composables/useScrollToBottomBtn.ts +51 -0
- package/src/ui/messaging/modules/message/components/chat-message.vue +1 -2
- package/src/ui/messaging/modules/message/components/details/chat-message-document.vue +1 -2
- package/src/ui/messaging/modules/message/components/details/chat-message-image.vue +0 -2
- package/src/ui/messaging/modules/message/components/details/chat-message-player.vue +1 -2
- package/src/ui/messaging/modules/message/components/details/chat-message-size-exceeded-error.vue +1 -1
- package/src/ui/messaging/modules/message/components/details/chat-message-time.vue +1 -1
- package/src/ui/messaging/types/ChatMessage.types.ts +3 -2
- package/src/ui/the-chat-container.vue +7 -0
- package/src/ui/utils/ResultCallbacks.types.ts +1 -1
- package/src/ui/utils/emitter.ts +1 -1
- package/types/adapters/chat-web-sdk/toChatMessage.d.ts +23 -0
- package/types/adapters/index.d.ts +8 -0
- package/types/types/index.d.ts +8 -0
- package/types/ui/chat-footer/modules/user-input/enums/ChatAction.enum.d.ts +6 -5
- package/types/ui/index.d.ts +7 -3
- package/types/ui/messaging/components/the-messages-container.vue.d.ts +5 -1
- package/types/ui/messaging/composables/useChatScroll.d.ts +13 -3
- package/types/ui/messaging/composables/useObserveHeightUntilStable.d.ts +11 -0
- package/types/ui/messaging/composables/useScrollToBottomBtn.d.ts +9 -0
- package/types/ui/messaging/modules/message/composables/useChatMessageFile.d.ts +2 -0
- package/types/ui/messaging/types/ChatMessage.types.d.ts +33 -32
- package/types/ui/the-chat-container.vue.d.ts +39 -49
- package/types/ui/utils/ResultCallbacks.types.d.ts +1 -1
- package/types/ui/utils/emitter.d.ts +1 -1
- package/types/ui/chat-container.vue.d.ts +0 -76
- package/types/ui/chat-footer/modules/user-input/types/ChatAction.types.d.ts +0 -10
- package/types/ui/chat-input/components/actions/attach-files-action.vue.d.ts +0 -29
- package/types/ui/chat-input/components/actions/emoji-picker-action.vue.d.ts +0 -24
- package/types/ui/chat-input/components/actions/send-message-action.vue.d.ts +0 -29
- package/types/ui/chat-input/components/chat-input-actions-bar.vue.d.ts +0 -43
- package/types/ui/chat-input/components/chat-input-actions-wrapper.vue.d.ts +0 -34
- package/types/ui/chat-input/components/chat-input.vue.d.ts +0 -42
- package/types/ui/chat-input/components/chat-text-field.vue.d.ts +0 -32
- package/types/ui/chat-input/enums/ChatAction.enum.d.ts +0 -6
- package/types/ui/media-viewer/media-viewer.vue.d.ts +0 -11
- package/types/ui/messaging/components/chat-messages-container.vue.d.ts +0 -11
- package/types/ui/messaging/components/the-chat-messages-container.vue.d.ts +0 -40
- package/types/ui/messaging/composebles/useChatScroll.d.ts +0 -12
- package/types/ui/messaging/modules/message/components/details/chat-message-avatar.vue.d.ts +0 -10
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
bot?: boolean;
|
|
3
|
-
username?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
bot: boolean;
|
|
7
|
-
username: string;
|
|
8
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|