@webitel/ui-chats 0.0.13 → 0.0.14
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 +1 -1
- package/src/ui/chat-footer/modules/user-input/components/actions/attach-files-action.vue +3 -2
- package/src/ui/chat-footer/modules/user-input/components/actions/emoji-picker-action.vue +2 -2
- package/src/ui/chat-footer/modules/user-input/components/actions/send-message-action.vue +3 -2
- package/src/ui/chat-footer/modules/user-input/components/chat-input-actions-bar.vue +2 -1
- package/src/ui/chat-footer/modules/user-input/components/chat-text-field.vue +1 -1
package/package.json
CHANGED
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
<script setup lang="ts">
|
|
20
20
|
import { WtRoundedAction } from "@webitel/ui-sdk/components";
|
|
21
|
-
import
|
|
21
|
+
import { ComponentSize } from "@webitel/ui-sdk/enums";
|
|
22
22
|
import { inject, useTemplateRef } from "vue";
|
|
23
|
+
|
|
23
24
|
import { ChatAction } from "../../types/ChatAction.types";
|
|
24
25
|
|
|
25
26
|
const size = inject<ComponentSize>("size");
|
|
@@ -36,4 +37,4 @@ const handleAttachmentInputChange = (event: Event) => {
|
|
|
36
37
|
};
|
|
37
38
|
</script>
|
|
38
39
|
|
|
39
|
-
<style scoped></style>
|
|
40
|
+
<style scoped></style>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<script setup lang="ts">
|
|
9
9
|
import { WtChatEmoji } from "@webitel/ui-sdk/components";
|
|
10
|
-
import
|
|
10
|
+
import { ComponentSize } from "@webitel/ui-sdk/enums";
|
|
11
11
|
import type { Emitter } from "mitt";
|
|
12
12
|
import { inject } from "vue";
|
|
13
13
|
|
|
@@ -15,4 +15,4 @@ import type { UiChatsEmitterEvents } from "../../../../../utils/emitter";
|
|
|
15
15
|
|
|
16
16
|
const size = inject<ComponentSize>("size");
|
|
17
17
|
const uiChatsEmitter = inject<Emitter<UiChatsEmitterEvents>>("uiChatsEmitter");
|
|
18
|
-
</script>
|
|
18
|
+
</script>
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
</template>
|
|
11
11
|
|
|
12
12
|
<script setup lang="ts">
|
|
13
|
-
import
|
|
13
|
+
import { ComponentSize } from "@webitel/ui-sdk/enums";
|
|
14
14
|
import { inject } from "vue";
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
import { ChatAction } from "../../types/ChatAction.types";
|
|
16
17
|
|
|
17
18
|
const size = inject<ComponentSize>("size");
|
|
18
19
|
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
</template>
|
|
18
18
|
|
|
19
19
|
<script setup lang="ts">
|
|
20
|
-
import
|
|
20
|
+
import { ComponentSize } from "@webitel/ui-sdk/enums";
|
|
21
21
|
import { computed, inject } from "vue";
|
|
22
|
+
|
|
22
23
|
import { ChatAction, type SharedActionSlots } from "../types/ChatAction.types";
|
|
23
24
|
import AttachFilesAction from "./actions/attach-files-action.vue";
|
|
24
25
|
import EmojiPickerAction from "./actions/emoji-picker-action.vue";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
<script setup lang="ts">
|
|
11
11
|
import type { WtTextarea } from "@webitel/ui-sdk/components";
|
|
12
|
-
import
|
|
12
|
+
import { ComponentSize } from "@webitel/ui-sdk/enums";
|
|
13
13
|
import insertTextAtCursor from "insert-text-at-cursor";
|
|
14
14
|
import type { Emitter } from "mitt";
|
|
15
15
|
import { computed, inject, type MaybeRef, useTemplateRef } from "vue";
|