@layers-app/shared 0.4.6 → 0.4.8
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/assets/default-workspace-avatar.jpg.js +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.js +32 -32
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
- package/dist/components/AppContainer/AppContainer.js +82 -70
- package/dist/components/AppContainer/AppContainer.module.css.js +20 -10
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts +6 -0
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.d.ts.map +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/DesktopUpdateButton.js +161 -0
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.js +77 -49
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +238 -105
- package/dist/components/AppContainer/components/Main.js +4 -4
- package/dist/components/AppContainer/components/NavbarContent.d.ts.map +1 -1
- package/dist/components/AppContainer/components/NavbarContent.js +16 -2
- package/dist/components/AppContainer/components/SlideAnimation.js +4 -4
- package/dist/components/AppContainer/components/ToolSidebar.d.ts +5 -0
- package/dist/components/AppContainer/components/ToolSidebar.d.ts.map +1 -1
- package/dist/components/AppContainer/components/ToolSidebar.js +51 -39
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts +62 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +1107 -137
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +158 -6
- package/dist/components/AppContainer/types.d.ts +12 -0
- package/dist/components/AppContainer/types.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +3 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +237 -93
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +18 -16
- package/dist/components/Chat/ChatInput/index.d.ts +13 -1
- package/dist/components/Chat/ChatInput/index.d.ts.map +1 -1
- package/dist/components/Chat/ChatInput/index.js +264 -164
- package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts +16 -0
- package/dist/components/Chat/ChatInput/useVoiceRecorder.d.ts.map +1 -0
- package/dist/components/Chat/ChatInput/useVoiceRecorder.js +83 -0
- package/dist/components/Chat/ChatMessage/ChatMessage.module.css.js +20 -16
- package/dist/components/Chat/ChatMessage/index.d.ts +16 -0
- package/dist/components/Chat/ChatMessage/index.d.ts.map +1 -1
- package/dist/components/Chat/ChatMessage/index.js +153 -118
- package/dist/components/Chat/MessageActions/index.d.ts +2 -0
- package/dist/components/Chat/MessageActions/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageActions/index.js +189 -50
- package/dist/components/Chat/MessageAuthor/index.d.ts +7 -1
- package/dist/components/Chat/MessageAuthor/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageAuthor/index.js +39 -25
- package/dist/components/Chat/MessageList/MessageList.module.css.js +14 -12
- package/dist/components/Chat/MessageList/index.d.ts +17 -25
- package/dist/components/Chat/MessageList/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageList/index.js +201 -149
- package/dist/components/Chat/MessageMeta/index.d.ts.map +1 -1
- package/dist/components/Chat/MessageMeta/index.js +21 -19
- package/dist/components/ColorPicker/ColorPicker.d.ts +3 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +81 -76
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +1 -0
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +97 -91
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +2 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +29 -26
- package/dist/components/CommentComposer/index.d.ts +1 -1
- package/dist/components/CommentComposer/index.d.ts.map +1 -1
- package/dist/components/CommentComposer/index.js +70 -68
- package/dist/components/CommentComposer/types.d.ts +6 -0
- package/dist/components/CommentComposer/types.d.ts.map +1 -1
- package/dist/components/CustomKBD/index.js +21 -22
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +129 -121
- package/dist/components/EntityTitle/EntityTitle.d.ts +3 -4
- package/dist/components/EntityTitle/EntityTitle.d.ts.map +1 -1
- package/dist/components/EntityTitle/EntityTitle.js +81 -80
- package/dist/components/FormViewer/helpers/conditions.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/conditions.js +33 -17
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts +3 -1
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.d.ts.map +1 -1
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.js +26 -25
- package/dist/components/NewToolbar/utils.d.ts +12 -0
- package/dist/components/NewToolbar/utils.d.ts.map +1 -0
- package/dist/components/Notification/InfiniteScroll.d.ts +12 -0
- package/dist/components/Notification/InfiniteScroll.d.ts.map +1 -0
- package/dist/components/Notification/InfiniteScroll.js +42 -0
- package/dist/components/Notification/Notification.d.ts +4 -1
- package/dist/components/Notification/Notification.d.ts.map +1 -1
- package/dist/components/Notification/Notification.module.css.js +28 -4
- package/dist/components/Notification/atoms/ActionBadge.d.ts +11 -0
- package/dist/components/Notification/atoms/ActionBadge.d.ts.map +1 -0
- package/dist/components/Notification/atoms/ActionBadge.js +53 -0
- package/dist/components/Notification/atoms/ArchiveIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/ArchiveIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/ArchiveIcon.js +40 -0
- package/dist/components/Notification/atoms/InboxIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/InboxIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/InboxIcon.js +33 -0
- package/dist/components/Notification/atoms/MarkReadIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/MarkReadIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/MarkReadIcon.js +33 -0
- package/dist/components/Notification/atoms/ResourceIcon.d.ts +7 -0
- package/dist/components/Notification/atoms/ResourceIcon.d.ts.map +1 -0
- package/dist/components/Notification/atoms/TabBadge.d.ts +7 -0
- package/dist/components/Notification/atoms/TabBadge.d.ts.map +1 -0
- package/dist/components/Notification/atoms/TabBadge.js +32 -0
- package/dist/components/Notification/atoms/UnreadDot.d.ts +6 -0
- package/dist/components/Notification/atoms/UnreadDot.d.ts.map +1 -0
- package/dist/components/Notification/atoms/UnreadDot.js +23 -0
- package/dist/components/Notification/atoms/index.d.ts +5 -0
- package/dist/components/Notification/atoms/index.d.ts.map +1 -0
- package/dist/components/Notification/hooks/index.d.ts +8 -0
- package/dist/components/Notification/hooks/index.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useInboxActions.d.ts +12 -0
- package/dist/components/Notification/hooks/useInboxActions.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useInboxActions.js +58 -0
- package/dist/components/Notification/hooks/useInboxLoader.d.ts +8 -0
- package/dist/components/Notification/hooks/useInboxLoader.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useInboxLoader.js +49 -0
- package/dist/components/Notification/hooks/useNotificationItem.d.ts +26 -0
- package/dist/components/Notification/hooks/useNotificationItem.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationItem.js +51 -0
- package/dist/components/Notification/hooks/useNotificationStore.d.ts +49 -0
- package/dist/components/Notification/hooks/useNotificationStore.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationStore.js +139 -0
- package/dist/components/Notification/hooks/useNotificationStream.d.ts +2 -0
- package/dist/components/Notification/hooks/useNotificationStream.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationStream.js +86 -0
- package/dist/components/Notification/hooks/useNotificationTime.d.ts +2 -0
- package/dist/components/Notification/hooks/useNotificationTime.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationTime.js +23 -0
- package/dist/components/Notification/hooks/useNotificationsApi.d.ts +25 -0
- package/dist/components/Notification/hooks/useNotificationsApi.d.ts.map +1 -0
- package/dist/components/Notification/hooks/useNotificationsApi.js +64 -0
- package/dist/components/Notification/lib/api.d.ts +4 -0
- package/dist/components/Notification/lib/api.d.ts.map +1 -0
- package/dist/components/Notification/lib/api.js +19 -0
- package/dist/components/Notification/lib/index.d.ts +5 -0
- package/dist/components/Notification/lib/index.d.ts.map +1 -0
- package/dist/components/Notification/lib/notificationText.d.ts +10 -0
- package/dist/components/Notification/lib/notificationText.d.ts.map +1 -0
- package/dist/components/Notification/lib/notificationText.js +131 -0
- package/dist/components/Notification/lib/stripHtml.d.ts +2 -0
- package/dist/components/Notification/lib/stripHtml.d.ts.map +1 -0
- package/dist/components/Notification/lib/stripHtml.js +6 -0
- package/dist/components/Notification/lib/types.d.ts +45 -0
- package/dist/components/Notification/lib/types.d.ts.map +1 -0
- package/dist/components/Notification/lib/types.js +9 -0
- package/dist/components/Notification/molecules/InboxEmpty.d.ts +8 -0
- package/dist/components/Notification/molecules/InboxEmpty.d.ts.map +1 -0
- package/dist/components/Notification/molecules/InboxEmpty.js +21 -0
- package/dist/components/Notification/molecules/InboxHeader.d.ts +17 -0
- package/dist/components/Notification/molecules/InboxHeader.d.ts.map +1 -0
- package/dist/components/Notification/molecules/InboxHeader.js +73 -0
- package/dist/components/Notification/molecules/InboxTabs.d.ts +15 -0
- package/dist/components/Notification/molecules/InboxTabs.d.ts.map +1 -0
- package/dist/components/Notification/molecules/InboxTabs.js +60 -0
- package/dist/components/Notification/molecules/NotificationActions.d.ts +9 -0
- package/dist/components/Notification/molecules/NotificationActions.d.ts.map +1 -0
- package/dist/components/Notification/molecules/NotificationActions.js +64 -0
- package/dist/components/Notification/molecules/NotificationAvatar.d.ts +17 -0
- package/dist/components/Notification/molecules/NotificationAvatar.d.ts.map +1 -0
- package/dist/components/Notification/molecules/NotificationAvatar.js +38 -0
- package/dist/components/Notification/molecules/NotificationContent.d.ts +22 -0
- package/dist/components/Notification/molecules/NotificationContent.d.ts.map +1 -0
- package/dist/components/Notification/molecules/NotificationContent.js +183 -0
- package/dist/components/Notification/molecules/index.d.ts +7 -0
- package/dist/components/Notification/molecules/index.d.ts.map +1 -0
- package/dist/components/Notification/organisms/InboxItem.d.ts +14 -0
- package/dist/components/Notification/organisms/InboxItem.d.ts.map +1 -0
- package/dist/components/Notification/organisms/InboxItem.js +100 -0
- package/dist/components/Notification/organisms/InboxPanel.d.ts +4 -0
- package/dist/components/Notification/organisms/InboxPanel.d.ts.map +1 -0
- package/dist/components/Notification/organisms/InboxPanel.js +99 -0
- package/dist/components/Notification/organisms/index.d.ts +3 -0
- package/dist/components/Notification/organisms/index.d.ts.map +1 -0
- package/dist/components/OnboardingTour/index.d.ts +1 -1
- package/dist/components/OnboardingTour/index.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts +2 -0
- package/dist/components/OnboardingTour/useOnboardingTour.d.ts.map +1 -1
- package/dist/components/OnboardingTour/useOnboardingTour.js +63 -51
- package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
- package/dist/components/modals/RemoveConfirmModal.js +27 -26
- package/dist/config/brand.d.ts.map +1 -1
- package/dist/config/brand.js +29 -29
- package/dist/config/envConfig.d.ts +4 -0
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +29 -28
- package/dist/helpers/getFileIcons.js +5 -5
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +11 -2
- package/dist/helpers/platform.d.ts +1 -1
- package/dist/helpers/platform.d.ts.map +1 -1
- package/dist/helpers/platform.js +1 -0
- package/dist/helpers/showNotifications.d.ts +8 -14
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +107 -111
- package/dist/helpers/showNotifications.module.css.js +4 -16
- package/dist/hooks/useDateUtils.d.ts.map +1 -1
- package/dist/hooks/useDateUtils.js +19 -23
- package/dist/index.css +1 -1
- package/dist/index.js +576 -573
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.context.js +15 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.js +228 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/Audio.module.css.js +4 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioControls.js +19 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioMuteButton.js +30 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioPlayButton.js +40 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSkipButton.js +28 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpectrum.js +137 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioSpeedControl.js +31 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeDisplay.js +44 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioTimeline.js +71 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioVolumeSlider.js +43 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/components/AudioWaveform.js +166 -0
- package/dist/node_modules/@gfazioli/mantine-audio/dist/esm/use-audio.js +201 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.context.js +15 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.js +272 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/Video.module.css.js +4 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoCaptionsButton.js +55 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoControls.js +30 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoFullscreenButton.js +31 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoMuteButton.js +29 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPiPButton.js +29 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoPlayButton.js +28 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoSkipButton.js +27 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeDisplay.js +44 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/components/VideoTimeline.js +70 -0
- package/dist/node_modules/@gfazioli/mantine-video/dist/esm/use-video.js +170 -0
- package/package.json +5 -3
- package/dist/components/Notification/Notification.js +0 -119
- package/dist/components/Notification/NotificationCard.d.ts +0 -10
- package/dist/components/Notification/NotificationCard.d.ts.map +0 -1
- package/dist/components/Notification/NotificationCard.js +0 -93
|
@@ -1,21 +1,88 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Download01Icon as
|
|
4
|
-
import { HugeiconsIcon as
|
|
5
|
-
import { Stack as
|
|
6
|
-
import { useDisclosure as
|
|
7
|
-
import { formatBytes as
|
|
8
|
-
import { getFileIcons as
|
|
9
|
-
import { getFileType as
|
|
10
|
-
import { AttachmentsGalleryModal as
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsxs as n, Fragment as $, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as k } from "react";
|
|
3
|
+
import { Download01Icon as v } from "@hugeicons/core-free-icons";
|
|
4
|
+
import { HugeiconsIcon as x } from "@hugeicons/react";
|
|
5
|
+
import { Stack as C, Box as m, Image as M, LoadingOverlay as z, ActionIcon as h, Grid as T, CloseIcon as B, Text as f, Flex as A } from "@mantine/core";
|
|
6
|
+
import { useDisclosure as G } from "@mantine/hooks";
|
|
7
|
+
import { formatBytes as W } from "../../helpers/formatBytes.js";
|
|
8
|
+
import { getFileIcons as X } from "../../helpers/getFileIcons.js";
|
|
9
|
+
import { getFileType as Y } from "../../helpers/getFileType.js";
|
|
10
|
+
import { AttachmentsGalleryModal as q } from "../AttachmentsGalleryModal/AttachmentsGalleryModal.js";
|
|
11
|
+
import o from "./AttachmentsPreview.module.css.js";
|
|
12
|
+
import { Audio as i } from "../../node_modules/@gfazioli/mantine-audio/dist/esm/Audio.js";
|
|
13
|
+
import { Video as H } from "../../node_modules/@gfazioli/mantine-video/dist/esm/Video.js";
|
|
14
|
+
const D = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='%23adb5bd' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m3 16 5-5 4 4'/%3E%3Cpath d='m14 14 2-2 5 5'/%3E%3Cline x1='3' y1='3' x2='21' y2='21'/%3E%3C/svg%3E", K = {
|
|
15
|
+
"audio/mpeg": "mp3",
|
|
16
|
+
"audio/mp4": "m4a",
|
|
17
|
+
"audio/m4a": "m4a",
|
|
18
|
+
"audio/x-m4a": "m4a",
|
|
19
|
+
"audio/wav": "wav",
|
|
20
|
+
"audio/x-wav": "wav",
|
|
21
|
+
"audio/ogg": "ogg",
|
|
22
|
+
"audio/opus": "opus",
|
|
23
|
+
"audio/aac": "aac",
|
|
24
|
+
"audio/flac": "flac",
|
|
25
|
+
"audio/x-flac": "flac",
|
|
26
|
+
"video/mp4": "mp4",
|
|
27
|
+
"video/webm": "webm",
|
|
28
|
+
"video/ogg": "ogv",
|
|
29
|
+
"video/quicktime": "mov",
|
|
30
|
+
"video/x-matroska": "mkv",
|
|
31
|
+
"image/png": "png",
|
|
32
|
+
"image/jpeg": "jpg",
|
|
33
|
+
"image/gif": "gif",
|
|
34
|
+
"image/webp": "webp",
|
|
35
|
+
"image/bmp": "bmp",
|
|
36
|
+
"image/svg+xml": "svg",
|
|
37
|
+
"application/pdf": "pdf",
|
|
38
|
+
"application/zip": "zip",
|
|
39
|
+
"application/json": "json",
|
|
40
|
+
"text/plain": "txt",
|
|
41
|
+
"text/csv": "csv"
|
|
42
|
+
}, U = /* @__PURE__ */ new Set([
|
|
43
|
+
"audio/mpeg",
|
|
44
|
+
"audio/mp4",
|
|
45
|
+
"audio/m4a",
|
|
46
|
+
"audio/x-m4a",
|
|
47
|
+
"audio/aac",
|
|
48
|
+
"audio/wav",
|
|
49
|
+
"audio/x-wav",
|
|
50
|
+
"audio/ogg",
|
|
51
|
+
"audio/opus",
|
|
52
|
+
"audio/webm",
|
|
53
|
+
"audio/flac",
|
|
54
|
+
"audio/x-flac"
|
|
55
|
+
]), J = /* @__PURE__ */ new Set([
|
|
56
|
+
"video/mp4",
|
|
57
|
+
"video/webm",
|
|
58
|
+
"video/ogg",
|
|
59
|
+
"video/quicktime"
|
|
60
|
+
]), Q = 360, P = 480;
|
|
61
|
+
function Z(r, s) {
|
|
62
|
+
const t = r && s ? r / s : 1.7777777777777777;
|
|
63
|
+
let d = Q, u = Math.round(d / t);
|
|
64
|
+
return u > P && (u = P, d = Math.round(u * t)), { width: d, height: u };
|
|
65
|
+
}
|
|
66
|
+
function g(r, s) {
|
|
67
|
+
const t = r?.trim() || "file";
|
|
68
|
+
if (/\.[a-z0-9]{2,4}$/i.test(t)) return t;
|
|
69
|
+
const d = s ? K[s] : void 0;
|
|
70
|
+
return d ? `${t}.${d}` : t;
|
|
71
|
+
}
|
|
72
|
+
const R = (r) => r ? r.split(";")[0].trim().toLowerCase() : "", ue = ({
|
|
73
|
+
files: r,
|
|
74
|
+
onRemove: s,
|
|
15
75
|
mode: t,
|
|
16
|
-
parentIsExisting:
|
|
76
|
+
parentIsExisting: d,
|
|
77
|
+
audioVariant: u
|
|
17
78
|
}) => {
|
|
18
|
-
const [
|
|
79
|
+
const [F, { open: I, close: S }] = G(!1), [O, _] = k(0), [E, L] = k(() => /* @__PURE__ */ new Set()), y = (e) => {
|
|
80
|
+
e && L((l) => {
|
|
81
|
+
if (l.has(e)) return l;
|
|
82
|
+
const p = new Set(l);
|
|
83
|
+
return p.add(e), p;
|
|
84
|
+
});
|
|
85
|
+
}, c = r.filter((e) => e.isImage), b = r.filter((e) => !e.isImage), j = c.map((e) => ({
|
|
19
86
|
id: e.id,
|
|
20
87
|
Url: e.url,
|
|
21
88
|
contentType: e.type || "image/png",
|
|
@@ -32,53 +99,53 @@ const k = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8
|
|
|
32
99
|
version: 1,
|
|
33
100
|
deleted: !1,
|
|
34
101
|
deletedAt: /* @__PURE__ */ new Date()
|
|
35
|
-
})),
|
|
36
|
-
|
|
102
|
+
})), w = c.every((e) => !e.isTemp), N = (e) => {
|
|
103
|
+
w && (_(e), I());
|
|
37
104
|
};
|
|
38
|
-
return
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
t === "view" &&
|
|
105
|
+
return r.length === 0 ? null : /* @__PURE__ */ n($, { children: [
|
|
106
|
+
/* @__PURE__ */ n(C, { gap: "10px", w: "100%", tabIndex: 0, children: [
|
|
107
|
+
t === "view" && c.length >= 2 && /* @__PURE__ */ a(
|
|
41
108
|
"div",
|
|
42
109
|
{
|
|
43
|
-
className:
|
|
44
|
-
"data-odd":
|
|
45
|
-
children:
|
|
110
|
+
className: o.mediaGrid,
|
|
111
|
+
"data-odd": c.length % 2 === 1,
|
|
112
|
+
children: c.map((e, l) => /* @__PURE__ */ n(
|
|
46
113
|
m,
|
|
47
114
|
{
|
|
48
115
|
pos: "relative",
|
|
49
|
-
className: `${
|
|
116
|
+
className: `${o.imagePreviewWrapper} ${o.mediaTile}`,
|
|
50
117
|
children: [
|
|
51
118
|
/* @__PURE__ */ a(
|
|
52
|
-
|
|
119
|
+
M,
|
|
53
120
|
{
|
|
54
121
|
src: e.src,
|
|
55
|
-
fallbackSrc:
|
|
122
|
+
fallbackSrc: D,
|
|
56
123
|
fit: "cover",
|
|
57
|
-
className: `${
|
|
58
|
-
style: { cursor:
|
|
59
|
-
onClick: () =>
|
|
124
|
+
className: `${o.tileImg} ${o.mediaFadeIn}`,
|
|
125
|
+
style: { cursor: w ? "zoom-in" : "default" },
|
|
126
|
+
onClick: () => N(l)
|
|
60
127
|
}
|
|
61
128
|
),
|
|
62
129
|
/* @__PURE__ */ a(
|
|
63
|
-
|
|
130
|
+
z,
|
|
64
131
|
{
|
|
65
|
-
visible: e.isTemp &&
|
|
132
|
+
visible: e.isTemp && d,
|
|
66
133
|
loaderProps: { size: 20 }
|
|
67
134
|
}
|
|
68
135
|
),
|
|
69
136
|
!e.isTemp && /* @__PURE__ */ a(
|
|
70
|
-
|
|
137
|
+
h,
|
|
71
138
|
{
|
|
72
139
|
component: "a",
|
|
73
140
|
size: "22px",
|
|
74
141
|
href: e.url,
|
|
75
|
-
download: e.name,
|
|
142
|
+
download: g(e.name, e.type),
|
|
76
143
|
rel: "noopener noreferrer",
|
|
77
144
|
variant: "subtle",
|
|
78
145
|
color: "white",
|
|
79
146
|
bg: "var(--mantine-color-dark-filled, #2E2E2E)",
|
|
80
|
-
className:
|
|
81
|
-
children: /* @__PURE__ */ a(
|
|
147
|
+
className: o.downloadButton,
|
|
148
|
+
children: /* @__PURE__ */ a(x, { size: 16, icon: v })
|
|
82
149
|
}
|
|
83
150
|
)
|
|
84
151
|
]
|
|
@@ -87,102 +154,179 @@ const k = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8
|
|
|
87
154
|
))
|
|
88
155
|
}
|
|
89
156
|
),
|
|
90
|
-
!(t === "view" &&
|
|
91
|
-
const
|
|
92
|
-
return /* @__PURE__ */ a(
|
|
157
|
+
!(t === "view" && c.length >= 2) && c.length > 0 && /* @__PURE__ */ a(T, { gap: "xs", children: c.map((e, l) => {
|
|
158
|
+
const p = r.indexOf(e);
|
|
159
|
+
return /* @__PURE__ */ a(T.Col, { span: "content", children: /* @__PURE__ */ n(
|
|
93
160
|
m,
|
|
94
161
|
{
|
|
95
162
|
pos: "relative",
|
|
96
|
-
className:
|
|
163
|
+
className: o.imagePreviewWrapper,
|
|
97
164
|
style: {
|
|
98
165
|
width: "var(--attachment-image-w, 56px)",
|
|
99
166
|
height: "var(--attachment-image-h, 56px)"
|
|
100
167
|
},
|
|
101
168
|
children: [
|
|
102
169
|
/* @__PURE__ */ a(
|
|
103
|
-
|
|
170
|
+
M,
|
|
104
171
|
{
|
|
105
172
|
src: e.src,
|
|
106
|
-
fallbackSrc:
|
|
107
|
-
className:
|
|
173
|
+
fallbackSrc: D,
|
|
174
|
+
className: o.mediaFadeIn,
|
|
108
175
|
w: "100%",
|
|
109
176
|
h: "100%",
|
|
110
177
|
fit: "cover",
|
|
111
178
|
radius: "sm",
|
|
112
179
|
style: {
|
|
113
|
-
cursor:
|
|
180
|
+
cursor: w ? "zoom-in" : "default"
|
|
114
181
|
},
|
|
115
|
-
onClick: () =>
|
|
182
|
+
onClick: () => N(l)
|
|
116
183
|
}
|
|
117
184
|
),
|
|
118
185
|
/* @__PURE__ */ a(
|
|
119
|
-
|
|
186
|
+
z,
|
|
120
187
|
{
|
|
121
|
-
visible: e.isTemp && t === "view" &&
|
|
188
|
+
visible: e.isTemp && t === "view" && d,
|
|
122
189
|
loaderProps: { size: 20 }
|
|
123
190
|
}
|
|
124
191
|
),
|
|
125
192
|
t === "view" && !e.isTemp && /* @__PURE__ */ a(
|
|
126
|
-
|
|
193
|
+
h,
|
|
127
194
|
{
|
|
128
195
|
component: "a",
|
|
129
196
|
size: "20px",
|
|
130
197
|
href: e.url,
|
|
131
|
-
download: e.name,
|
|
198
|
+
download: g(e.name, e.type),
|
|
132
199
|
rel: "noopener noreferrer",
|
|
133
200
|
variant: "subtle",
|
|
134
201
|
color: "white",
|
|
135
202
|
top: 2,
|
|
136
203
|
right: 2,
|
|
137
204
|
bg: "var(--mantine-color-dark-filled, #2E2E2E)",
|
|
138
|
-
className:
|
|
139
|
-
children: /* @__PURE__ */ a(
|
|
205
|
+
className: o.downloadButton,
|
|
206
|
+
children: /* @__PURE__ */ a(x, { size: 16, icon: v })
|
|
140
207
|
}
|
|
141
208
|
),
|
|
142
|
-
t === "draft" &&
|
|
143
|
-
|
|
209
|
+
t === "draft" && s && /* @__PURE__ */ a(
|
|
210
|
+
h,
|
|
144
211
|
{
|
|
145
212
|
size: "20px",
|
|
146
213
|
radius: "xl",
|
|
147
214
|
variant: "filled",
|
|
148
|
-
onMouseDown: (
|
|
215
|
+
onMouseDown: (V) => V.preventDefault(),
|
|
149
216
|
pos: "absolute",
|
|
150
217
|
color: "dark",
|
|
151
|
-
onClick: () =>
|
|
152
|
-
className:
|
|
153
|
-
children: /* @__PURE__ */ a(
|
|
218
|
+
onClick: () => s(p),
|
|
219
|
+
className: o.deleteButton,
|
|
220
|
+
children: /* @__PURE__ */ a(B, { size: "12px" })
|
|
154
221
|
}
|
|
155
222
|
)
|
|
156
223
|
]
|
|
157
224
|
}
|
|
158
225
|
) }, e.id);
|
|
159
226
|
}) }),
|
|
160
|
-
|
|
227
|
+
b.length > 0 && /* @__PURE__ */ a(
|
|
161
228
|
m,
|
|
162
229
|
{
|
|
163
230
|
w: "100%",
|
|
164
|
-
className:
|
|
165
|
-
"data-many": t === "draft" &&
|
|
166
|
-
children:
|
|
167
|
-
const
|
|
168
|
-
return /* @__PURE__ */
|
|
231
|
+
className: o.filePreviewList,
|
|
232
|
+
"data-many": t === "draft" && b.length >= 4,
|
|
233
|
+
children: b.map((e) => {
|
|
234
|
+
const l = r.indexOf(e);
|
|
235
|
+
return t === "view" && U.has(R(e.type)) && !E.has(e.id) ? u === "voice" || /^voice-message\b/i.test(e.name ?? "") ? /* @__PURE__ */ a(m, { children: /* @__PURE__ */ n(
|
|
236
|
+
i,
|
|
237
|
+
{
|
|
238
|
+
src: e.url,
|
|
239
|
+
variant: "floating",
|
|
240
|
+
onError: () => y(e.id),
|
|
241
|
+
children: [
|
|
242
|
+
/* @__PURE__ */ a(i.Waveform, { height: 30 }),
|
|
243
|
+
/* @__PURE__ */ n(i.Controls, { children: [
|
|
244
|
+
/* @__PURE__ */ a(i.PlayButton, {}),
|
|
245
|
+
/* @__PURE__ */ a(i.TimeDisplay, {}),
|
|
246
|
+
/* @__PURE__ */ a(i.MuteButton, {})
|
|
247
|
+
] })
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
) }, e.id) : /* @__PURE__ */ a(m, { children: /* @__PURE__ */ n(
|
|
251
|
+
i,
|
|
252
|
+
{
|
|
253
|
+
src: e.url,
|
|
254
|
+
variant: "floating",
|
|
255
|
+
onError: () => y(e.id),
|
|
256
|
+
children: [
|
|
257
|
+
/* @__PURE__ */ a(
|
|
258
|
+
f,
|
|
259
|
+
{
|
|
260
|
+
size: "xs",
|
|
261
|
+
fw: 500,
|
|
262
|
+
truncate: !0,
|
|
263
|
+
c: "dimmed",
|
|
264
|
+
title: e.name,
|
|
265
|
+
children: e.name
|
|
266
|
+
}
|
|
267
|
+
),
|
|
268
|
+
/* @__PURE__ */ a(i.Timeline, {}),
|
|
269
|
+
/* @__PURE__ */ n(i.Controls, { children: [
|
|
270
|
+
/* @__PURE__ */ a(i.PlayButton, {}),
|
|
271
|
+
/* @__PURE__ */ a(i.TimeDisplay, {}),
|
|
272
|
+
/* @__PURE__ */ a(i.MuteButton, {}),
|
|
273
|
+
/* @__PURE__ */ a(i.VolumeSlider, {})
|
|
274
|
+
] })
|
|
275
|
+
]
|
|
276
|
+
}
|
|
277
|
+
) }, e.id) : t === "view" && e.type && J.has(e.type) && !E.has(e.id) ? /* @__PURE__ */ a(m, { children: /* @__PURE__ */ n(
|
|
278
|
+
m,
|
|
279
|
+
{
|
|
280
|
+
pos: "relative",
|
|
281
|
+
display: "inline-block",
|
|
282
|
+
style: Z(e.width, e.height),
|
|
283
|
+
children: [
|
|
284
|
+
/* @__PURE__ */ a(
|
|
285
|
+
H,
|
|
286
|
+
{
|
|
287
|
+
src: e.url,
|
|
288
|
+
variant: "overlay",
|
|
289
|
+
radius: "md",
|
|
290
|
+
onError: () => y(e.id),
|
|
291
|
+
className: o.videoPlayer
|
|
292
|
+
}
|
|
293
|
+
),
|
|
294
|
+
!e.isTemp && /* @__PURE__ */ a(
|
|
295
|
+
h,
|
|
296
|
+
{
|
|
297
|
+
component: "a",
|
|
298
|
+
href: e.url,
|
|
299
|
+
download: g(e.name, e.type),
|
|
300
|
+
rel: "noopener noreferrer",
|
|
301
|
+
variant: "filled",
|
|
302
|
+
color: "dark",
|
|
303
|
+
size: "sm",
|
|
304
|
+
pos: "absolute",
|
|
305
|
+
top: 6,
|
|
306
|
+
right: 6,
|
|
307
|
+
children: /* @__PURE__ */ a(x, { size: 16, icon: v })
|
|
308
|
+
}
|
|
309
|
+
)
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
) }, e.id) : /* @__PURE__ */ n(m, { className: o.filePreviewWrapper, children: [
|
|
169
313
|
/* @__PURE__ */ a(
|
|
170
|
-
|
|
314
|
+
z,
|
|
171
315
|
{
|
|
172
|
-
visible: e.isTemp && t === "view" &&
|
|
316
|
+
visible: e.isTemp && t === "view" && d,
|
|
173
317
|
loaderProps: { size: 20 }
|
|
174
318
|
}
|
|
175
319
|
),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
|
|
320
|
+
/* @__PURE__ */ n(
|
|
321
|
+
A,
|
|
178
322
|
{
|
|
179
323
|
align: "center",
|
|
180
324
|
justify: "space-between",
|
|
181
325
|
wrap: "nowrap",
|
|
182
326
|
gap: 2,
|
|
183
327
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
|
|
328
|
+
/* @__PURE__ */ n(
|
|
329
|
+
A,
|
|
186
330
|
{
|
|
187
331
|
align: "center",
|
|
188
332
|
gap: "xs",
|
|
@@ -190,60 +334,60 @@ const k = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8
|
|
|
190
334
|
flex: 1,
|
|
191
335
|
miw: 0,
|
|
192
336
|
children: [
|
|
193
|
-
|
|
194
|
-
|
|
337
|
+
X(
|
|
338
|
+
Y(e.type, !1, e.name),
|
|
195
339
|
!1,
|
|
196
340
|
36
|
|
197
341
|
),
|
|
198
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ n(C, { gap: 0, flex: 1, miw: 0, children: [
|
|
199
343
|
/* @__PURE__ */ a(
|
|
200
|
-
|
|
344
|
+
f,
|
|
201
345
|
{
|
|
202
346
|
size: "sm",
|
|
203
347
|
truncate: !0,
|
|
204
348
|
title: e.name,
|
|
205
|
-
className:
|
|
349
|
+
className: o.fileDownloadName,
|
|
206
350
|
component: "a",
|
|
207
351
|
href: e.url,
|
|
208
|
-
download: e.name,
|
|
352
|
+
download: g(e.name, e.type),
|
|
209
353
|
rel: "noopener noreferrer",
|
|
210
354
|
w: "fit-content",
|
|
211
355
|
children: e.name
|
|
212
356
|
}
|
|
213
357
|
),
|
|
214
|
-
/* @__PURE__ */ a(
|
|
358
|
+
/* @__PURE__ */ a(f, { size: "xs", className: o.fileSize, children: W(e.size, 1) })
|
|
215
359
|
] })
|
|
216
360
|
]
|
|
217
361
|
}
|
|
218
362
|
),
|
|
219
363
|
t === "view" && !e.isTemp && /* @__PURE__ */ a(
|
|
220
|
-
|
|
364
|
+
h,
|
|
221
365
|
{
|
|
222
366
|
component: "a",
|
|
223
367
|
href: e.url,
|
|
224
|
-
download: e.name,
|
|
368
|
+
download: g(e.name, e.type),
|
|
225
369
|
rel: "noopener noreferrer",
|
|
226
370
|
variant: "subtle",
|
|
227
371
|
color: "gray",
|
|
228
372
|
size: "sm",
|
|
229
|
-
className:
|
|
230
|
-
children: /* @__PURE__ */ a(
|
|
373
|
+
className: o.downloadButton,
|
|
374
|
+
children: /* @__PURE__ */ a(x, { size: 16, icon: v })
|
|
231
375
|
}
|
|
232
376
|
)
|
|
233
377
|
]
|
|
234
378
|
}
|
|
235
379
|
),
|
|
236
|
-
t === "draft" &&
|
|
237
|
-
|
|
380
|
+
t === "draft" && s && /* @__PURE__ */ a(
|
|
381
|
+
h,
|
|
238
382
|
{
|
|
239
383
|
size: "xs",
|
|
240
384
|
radius: "xl",
|
|
241
|
-
onMouseDown: (
|
|
385
|
+
onMouseDown: (p) => p.preventDefault(),
|
|
242
386
|
variant: "filled",
|
|
243
387
|
color: "dark",
|
|
244
|
-
onClick: () =>
|
|
245
|
-
className:
|
|
246
|
-
children: /* @__PURE__ */ a(
|
|
388
|
+
onClick: () => s(l),
|
|
389
|
+
className: o.deleteButton,
|
|
390
|
+
children: /* @__PURE__ */ a(B, { size: "12px" })
|
|
247
391
|
}
|
|
248
392
|
)
|
|
249
393
|
] }, e.id);
|
|
@@ -251,17 +395,17 @@ const k = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8
|
|
|
251
395
|
}
|
|
252
396
|
)
|
|
253
397
|
] }),
|
|
254
|
-
|
|
255
|
-
|
|
398
|
+
w && /* @__PURE__ */ a(
|
|
399
|
+
q,
|
|
256
400
|
{
|
|
257
|
-
opened:
|
|
258
|
-
onOpenChange: (e) => e ?
|
|
259
|
-
attachments:
|
|
260
|
-
initialIndex:
|
|
401
|
+
opened: F,
|
|
402
|
+
onOpenChange: (e) => e ? I() : S(),
|
|
403
|
+
attachments: j,
|
|
404
|
+
initialIndex: O
|
|
261
405
|
}
|
|
262
406
|
)
|
|
263
407
|
] });
|
|
264
408
|
};
|
|
265
409
|
export {
|
|
266
|
-
|
|
410
|
+
ue as AttachmentsPreview
|
|
267
411
|
};
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_mediaGrid_1q5jy_11", i = "_mediaTile_1q5jy_27", t = "_tileImg_1q5jy_61", _ = "_mediaFadeIn_1q5jy_75", a = "_downloadButton_1q5jy_119", o = "_imagePreviewWrapper_1q5jy_115", l = "_deleteButton_1q5jy_145", d = "_filePreviewList_1q5jy_197", n = "_fileDownloadName_1q5jy_223", r = "_filePreviewWrapper_1q5jy_235", s = "_fileSize_1q5jy_303", m = "_videoPlayer_1q5jy_311", y = {
|
|
2
2
|
mediaGrid: e,
|
|
3
3
|
mediaTile: i,
|
|
4
|
-
tileImg:
|
|
5
|
-
mediaFadeIn:
|
|
6
|
-
downloadButton:
|
|
7
|
-
imagePreviewWrapper:
|
|
8
|
-
deleteButton:
|
|
9
|
-
filePreviewList:
|
|
4
|
+
tileImg: t,
|
|
5
|
+
mediaFadeIn: _,
|
|
6
|
+
downloadButton: a,
|
|
7
|
+
imagePreviewWrapper: o,
|
|
8
|
+
deleteButton: l,
|
|
9
|
+
filePreviewList: d,
|
|
10
10
|
fileDownloadName: n,
|
|
11
11
|
filePreviewWrapper: r,
|
|
12
|
-
fileSize:
|
|
12
|
+
fileSize: s,
|
|
13
|
+
videoPlayer: m
|
|
13
14
|
};
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
y as default,
|
|
17
|
+
l as deleteButton,
|
|
18
|
+
a as downloadButton,
|
|
18
19
|
n as fileDownloadName,
|
|
19
|
-
|
|
20
|
+
d as filePreviewList,
|
|
20
21
|
r as filePreviewWrapper,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
s as fileSize,
|
|
23
|
+
o as imagePreviewWrapper,
|
|
24
|
+
_ as mediaFadeIn,
|
|
24
25
|
e as mediaGrid,
|
|
25
26
|
i as mediaTile,
|
|
26
|
-
|
|
27
|
+
t as tileImg,
|
|
28
|
+
m as videoPlayer
|
|
27
29
|
};
|
|
@@ -43,12 +43,24 @@ export interface ChatInputProps {
|
|
|
43
43
|
onSend?: (value: string) => void;
|
|
44
44
|
onAttach?: (files: File[]) => void;
|
|
45
45
|
onEmojiSelect?: (emoji: string) => void;
|
|
46
|
+
/**
|
|
47
|
+
* When provided, an `@` button is shown next to the emoji picker. Clicking it
|
|
48
|
+
* is a discoverable alternative to typing `@` — the host inserts the trigger
|
|
49
|
+
* and opens its mention picker. Omitted where mentions don't apply (DMs).
|
|
50
|
+
*/
|
|
51
|
+
onMention?: () => void;
|
|
46
52
|
/**
|
|
47
53
|
* When provided, a GIF tab appears in the composer's emoji picker. Receives
|
|
48
54
|
* the picked GIF's URL — the host sends it as a message (GIFs aren't text,
|
|
49
55
|
* so they don't go through {@link onChange} / {@link onSend}).
|
|
50
56
|
*/
|
|
51
57
|
onGifSelect?: (url: string) => void;
|
|
58
|
+
/**
|
|
59
|
+
* When provided, an empty composer shows a hold-to-record microphone (instead
|
|
60
|
+
* of the send button). Holding records; releasing in place sends the captured
|
|
61
|
+
* audio as a {@link File}; sliding away before release cancels.
|
|
62
|
+
*/
|
|
63
|
+
onVoiceRecorded?: (file: File, durationMs: number) => void;
|
|
52
64
|
placeholder?: string;
|
|
53
65
|
replyTo?: ChatInputReplyTo;
|
|
54
66
|
editing?: ChatInputEditing;
|
|
@@ -67,7 +79,7 @@ export interface ChatInputProps {
|
|
|
67
79
|
className?: string;
|
|
68
80
|
style?: React.CSSProperties;
|
|
69
81
|
}
|
|
70
|
-
export declare function ChatInput({ value: controlledValue, onChange, onSend, onAttach, onEmojiSelect, onGifSelect, placeholder, replyTo, editing, notice, attachments, onRemoveAttachment, maxLength, disabled, disableAttachments, className, style, }: ChatInputProps): import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
export declare function ChatInput({ value: controlledValue, onChange, onSend, onAttach, onEmojiSelect, onMention, onGifSelect, onVoiceRecorded, placeholder, replyTo, editing, notice, attachments, onRemoveAttachment, maxLength, disabled, disableAttachments, className, style, }: ChatInputProps): import("react/jsx-runtime").JSX.Element;
|
|
71
83
|
export declare namespace ChatInput {
|
|
72
84
|
var displayName: string;
|
|
73
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/ChatInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Chat/ChatInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AA0BxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAQnE,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAC5C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpD,sEAAsE;IACtE,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACnC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,qEAAqE;IACrE,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,WAAW,CAAC,EAAE,oBAAoB,CAAC,cAAc,EAAE,CAAC;IACpD,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wBAAgB,SAAS,CAAC,EACxB,KAAK,EAAE,eAAe,EACtB,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,aAAa,EACb,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAgC,EAChC,OAAO,EACP,OAAO,EACP,MAAM,EACN,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,KAAK,GACN,EAAE,cAAc,2CAgdhB;yBApee,SAAS"}
|