@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AA0CrE,eAAO,MAAM,eAAe,GAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AA0CrE,eAAO,MAAM,eAAe,GAAI,uFAS7B,oBAAoB,4CAuctB,CAAC"}
|
|
@@ -1,66 +1,67 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { Attachment02Icon as
|
|
1
|
+
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import { useState as ee, useRef as v, useMemo as U, useCallback as te, useEffect as A } from "react";
|
|
3
|
+
import { useTranslation as oe } from "react-i18next";
|
|
4
|
+
import { Attachment02Icon as re, Sent02Icon as ne } from "@hugeicons/core-free-icons";
|
|
5
5
|
import { HugeiconsIcon as $ } from "@hugeicons/react";
|
|
6
|
-
import { Stack as
|
|
7
|
-
import { getMaxUploadSize as
|
|
6
|
+
import { Stack as se, Box as ie, Group as B, FileButton as le, ActionIcon as P, UnstyledButton as ae, Text as ce, Button as de, Popover as L } from "@mantine/core";
|
|
7
|
+
import { getMaxUploadSize as me } from "../../config/envConfig.js";
|
|
8
8
|
import { showErrorNotification as W } from "../../helpers/showNotifications.js";
|
|
9
|
-
import { AttachmentsPreview as
|
|
10
|
-
import { CommentEditorHandler as
|
|
11
|
-
import { useVirtualAnchor as
|
|
9
|
+
import { AttachmentsPreview as ue } from "../AttachmentsPreview/AttachmentsPreview.js";
|
|
10
|
+
import { CommentEditorHandler as fe } from "./CommentEditorHotkeys.js";
|
|
11
|
+
import { useVirtualAnchor as pe } from "./useVirtualAnchor.js";
|
|
12
12
|
import y from "./CommentComposer.module.css.js";
|
|
13
|
-
function j(
|
|
14
|
-
return "id" in
|
|
13
|
+
function j(r) {
|
|
14
|
+
return "id" in r;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
return typeof
|
|
16
|
+
function he(r) {
|
|
17
|
+
return typeof r == "object" && "isTemp" in r;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
const c = URL.createObjectURL(
|
|
19
|
+
function ge(r) {
|
|
20
|
+
const c = URL.createObjectURL(r);
|
|
21
21
|
return {
|
|
22
22
|
id: `temp-${crypto.randomUUID()}`,
|
|
23
|
-
name:
|
|
24
|
-
type:
|
|
25
|
-
size:
|
|
23
|
+
name: r.name,
|
|
24
|
+
type: r.type,
|
|
25
|
+
size: r.size,
|
|
26
26
|
url: c,
|
|
27
27
|
src: c,
|
|
28
|
-
isImage:
|
|
28
|
+
isImage: r.type.startsWith("image/"),
|
|
29
29
|
isTemp: !0,
|
|
30
|
-
raw:
|
|
30
|
+
raw: r
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
const M = () =>
|
|
34
|
-
function
|
|
35
|
-
return
|
|
33
|
+
const M = () => me() ?? 5 * 1024 * 1024, xe = 10;
|
|
34
|
+
function ye(r, c) {
|
|
35
|
+
return r(`composer.${c}`, { defaultValue: "" }) || r(`editor.composer.${c}`);
|
|
36
36
|
}
|
|
37
|
-
const
|
|
38
|
-
children:
|
|
37
|
+
const Re = ({
|
|
38
|
+
children: r,
|
|
39
39
|
onSubmit: c,
|
|
40
40
|
initialDraft: d,
|
|
41
41
|
updateLocation: N,
|
|
42
42
|
onBlur: k,
|
|
43
43
|
setEdit: R,
|
|
44
|
-
ns: S = "comments"
|
|
44
|
+
ns: S = "comments",
|
|
45
|
+
autoFocus: G
|
|
45
46
|
}) => {
|
|
46
|
-
const [m, _] =
|
|
47
|
+
const [m, _] = ee({
|
|
47
48
|
text: d?.text ?? "",
|
|
48
49
|
files: d?.files ?? []
|
|
49
|
-
}), { t: h } =
|
|
50
|
+
}), { t: h } = oe(S), X = h(S === "comments" ? "composer.placeholder" : "editor.composer.placeholder"), g = v(null), u = typeof d?.text < "u", a = {
|
|
50
51
|
text: m.text,
|
|
51
52
|
files: m.files
|
|
52
|
-
},
|
|
53
|
+
}, Y = v(null), p = v(null), V = U(
|
|
53
54
|
() => ({
|
|
54
55
|
container: document.createElement("div"),
|
|
55
56
|
elements: []
|
|
56
57
|
}),
|
|
57
58
|
[]
|
|
58
|
-
),
|
|
59
|
+
), q = v(null), f = !!N, J = pe({
|
|
59
60
|
isFloat: f,
|
|
60
61
|
updateLocation: N,
|
|
61
|
-
selectionRef:
|
|
62
|
-
selectionState:
|
|
63
|
-
}), I = 10 * 30 * 0.7, b =
|
|
62
|
+
selectionRef: q,
|
|
63
|
+
selectionState: V
|
|
64
|
+
}), I = 10 * 30 * 0.7, b = te(() => {
|
|
64
65
|
if (!p.current) return;
|
|
65
66
|
const e = p.current, t = e.querySelector(
|
|
66
67
|
'[class*="editorWrapper"]'
|
|
@@ -88,7 +89,7 @@ const Ne = ({
|
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
}, [f]);
|
|
91
|
-
const { textChanged:
|
|
92
|
+
const { textChanged: K, newFiles: D, deletedFiles: Q, hasChanges: F } = U(() => {
|
|
92
93
|
const e = d?.files || [], t = m.files, s = d?.text !== a.text, o = t.filter((i) => i.isTemp), x = new Set(
|
|
93
94
|
t.filter(
|
|
94
95
|
(i) => j(i)
|
|
@@ -116,9 +117,9 @@ const Ne = ({
|
|
|
116
117
|
files: o.files
|
|
117
118
|
};
|
|
118
119
|
});
|
|
119
|
-
},
|
|
120
|
+
}, Z = (e, t) => {
|
|
120
121
|
e && t((s) => {
|
|
121
|
-
const o = s.files, x =
|
|
122
|
+
const o = s.files, x = xe - o.length, l = [], E = [];
|
|
122
123
|
e.forEach((z) => {
|
|
123
124
|
z.size > M() ? E.push(z) : l.push(z);
|
|
124
125
|
}), E.length > 0 && W({
|
|
@@ -127,12 +128,12 @@ const Ne = ({
|
|
|
127
128
|
maxSize: Math.round(M() / (1024 * 1024))
|
|
128
129
|
})
|
|
129
130
|
}), l.length > x && W({
|
|
130
|
-
message:
|
|
131
|
+
message: ye(h, "uploadErrors.tooManyFiles")
|
|
131
132
|
});
|
|
132
133
|
const i = l.slice(0, x);
|
|
133
134
|
return {
|
|
134
135
|
...s,
|
|
135
|
-
files: [...o, ...i.map(
|
|
136
|
+
files: [...o, ...i.map(ge)]
|
|
136
137
|
};
|
|
137
138
|
});
|
|
138
139
|
}, w = async () => {
|
|
@@ -140,16 +141,16 @@ const Ne = ({
|
|
|
140
141
|
u ? await c({
|
|
141
142
|
mode: "edit",
|
|
142
143
|
data: {
|
|
143
|
-
textChanged:
|
|
144
|
-
newFiles:
|
|
145
|
-
deletedFiles:
|
|
144
|
+
textChanged: K,
|
|
145
|
+
newFiles: D,
|
|
146
|
+
deletedFiles: Q,
|
|
146
147
|
newText: a.text
|
|
147
148
|
}
|
|
148
149
|
}) : await c({
|
|
149
150
|
mode: "create",
|
|
150
151
|
data: {
|
|
151
152
|
text: a.text,
|
|
152
|
-
files: m.files.filter(
|
|
153
|
+
files: m.files.filter(he)
|
|
153
154
|
}
|
|
154
155
|
});
|
|
155
156
|
} catch {
|
|
@@ -164,8 +165,8 @@ const Ne = ({
|
|
|
164
165
|
const s = new t.klass();
|
|
165
166
|
e.append(s), s.select();
|
|
166
167
|
}), T({ text: "", files: [] }, !0);
|
|
167
|
-
}, O = /* @__PURE__ */
|
|
168
|
-
|
|
168
|
+
}, O = /* @__PURE__ */ n(
|
|
169
|
+
se,
|
|
169
170
|
{
|
|
170
171
|
ref: p,
|
|
171
172
|
className: `
|
|
@@ -178,11 +179,11 @@ const Ne = ({
|
|
|
178
179
|
{
|
|
179
180
|
className: y.composerContainer,
|
|
180
181
|
style: {
|
|
181
|
-
"--placeholder-text": `"${
|
|
182
|
+
"--placeholder-text": `"${X}"`
|
|
182
183
|
},
|
|
183
184
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
|
|
185
|
+
/* @__PURE__ */ n("div", { className: y.editorWrapper, children: /* @__PURE__ */ n(
|
|
186
|
+
fe,
|
|
186
187
|
{
|
|
187
188
|
onSubmit: w,
|
|
188
189
|
editorRef: g,
|
|
@@ -193,7 +194,8 @@ const Ne = ({
|
|
|
193
194
|
isFloat: f,
|
|
194
195
|
hasChanges: F,
|
|
195
196
|
ns: S,
|
|
196
|
-
|
|
197
|
+
forceAutoFocus: G,
|
|
198
|
+
children: r?.({
|
|
197
199
|
onSubmit: w,
|
|
198
200
|
handleBlur: () => {
|
|
199
201
|
},
|
|
@@ -204,9 +206,9 @@ const Ne = ({
|
|
|
204
206
|
})
|
|
205
207
|
}
|
|
206
208
|
) }),
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
|
|
209
|
+
/* @__PURE__ */ n(ie, { h: 10, "data-editor-spacer": !0, tabIndex: 0, style: { width: "100%" } }),
|
|
210
|
+
/* @__PURE__ */ n(
|
|
211
|
+
ue,
|
|
210
212
|
{
|
|
211
213
|
files: m.files,
|
|
212
214
|
mode: "draft",
|
|
@@ -227,24 +229,24 @@ const Ne = ({
|
|
|
227
229
|
tabIndex: 0,
|
|
228
230
|
gap: "4px",
|
|
229
231
|
children: [
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
|
|
232
|
+
/* @__PURE__ */ n(
|
|
233
|
+
le,
|
|
232
234
|
{
|
|
233
|
-
onChange: (e) =>
|
|
235
|
+
onChange: (e) => Z(e, T),
|
|
234
236
|
multiple: !0,
|
|
235
|
-
children: (e) => /* @__PURE__ */
|
|
237
|
+
children: (e) => /* @__PURE__ */ n(P, { ...e, variant: "subtle", size: "lg", color: "gray", children: /* @__PURE__ */ n(
|
|
236
238
|
$,
|
|
237
239
|
{
|
|
238
240
|
style: { transform: "rotate(35deg)" },
|
|
239
|
-
icon:
|
|
241
|
+
icon: re,
|
|
240
242
|
size: 20
|
|
241
243
|
}
|
|
242
244
|
) })
|
|
243
245
|
}
|
|
244
246
|
),
|
|
245
247
|
u ? /* @__PURE__ */ C(B, { gap: "8px", children: [
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
|
|
248
|
+
/* @__PURE__ */ n(
|
|
249
|
+
ae,
|
|
248
250
|
{
|
|
249
251
|
onClick: H,
|
|
250
252
|
"data-no-focus": !0,
|
|
@@ -255,11 +257,11 @@ const Ne = ({
|
|
|
255
257
|
background: "none",
|
|
256
258
|
border: "none"
|
|
257
259
|
},
|
|
258
|
-
children: /* @__PURE__ */
|
|
260
|
+
children: /* @__PURE__ */ n(ce, { size: "sm", c: "dimmed", children: h("composer.cancel") })
|
|
259
261
|
}
|
|
260
262
|
),
|
|
261
|
-
/* @__PURE__ */
|
|
262
|
-
|
|
263
|
+
/* @__PURE__ */ n(
|
|
264
|
+
de,
|
|
263
265
|
{
|
|
264
266
|
size: "xs",
|
|
265
267
|
radius: "md",
|
|
@@ -268,7 +270,7 @@ const Ne = ({
|
|
|
268
270
|
children: h("composer.save")
|
|
269
271
|
}
|
|
270
272
|
)
|
|
271
|
-
] }) : /* @__PURE__ */
|
|
273
|
+
] }) : /* @__PURE__ */ n(
|
|
272
274
|
P,
|
|
273
275
|
{
|
|
274
276
|
size: "lg",
|
|
@@ -276,7 +278,7 @@ const Ne = ({
|
|
|
276
278
|
variant: "filled",
|
|
277
279
|
onClick: w,
|
|
278
280
|
disabled: !a.text.trim() && a.files.length === 0,
|
|
279
|
-
children: /* @__PURE__ */
|
|
281
|
+
children: /* @__PURE__ */ n($, { icon: ne, size: 20 })
|
|
280
282
|
}
|
|
281
283
|
)
|
|
282
284
|
]
|
|
@@ -321,10 +323,10 @@ const Ne = ({
|
|
|
321
323
|
}
|
|
322
324
|
},
|
|
323
325
|
children: [
|
|
324
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ n(L.Target, { children: /* @__PURE__ */ n(
|
|
325
327
|
"div",
|
|
326
328
|
{
|
|
327
|
-
ref:
|
|
329
|
+
ref: J,
|
|
328
330
|
style: {
|
|
329
331
|
position: "fixed",
|
|
330
332
|
width: "5px",
|
|
@@ -336,10 +338,10 @@ const Ne = ({
|
|
|
336
338
|
}
|
|
337
339
|
}
|
|
338
340
|
) }),
|
|
339
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ n(
|
|
340
342
|
L.Dropdown,
|
|
341
343
|
{
|
|
342
|
-
ref:
|
|
344
|
+
ref: Y,
|
|
343
345
|
className: y.commentComposerFloat,
|
|
344
346
|
children: O
|
|
345
347
|
}
|
|
@@ -349,5 +351,5 @@ const Ne = ({
|
|
|
349
351
|
) : O;
|
|
350
352
|
};
|
|
351
353
|
export {
|
|
352
|
-
|
|
354
|
+
Re as CommentComposer
|
|
353
355
|
};
|
|
@@ -34,6 +34,11 @@ export declare namespace CommentComposerTypes {
|
|
|
34
34
|
isImage: boolean;
|
|
35
35
|
isTemp: boolean;
|
|
36
36
|
raw?: File;
|
|
37
|
+
/** Natural media pixel dimensions when the backend reports them — lets the
|
|
38
|
+
* preview reserve the exact aspect-ratio box so the row doesn't reflow once
|
|
39
|
+
* the media loads. Undefined falls back to a fixed placeholder aspect. */
|
|
40
|
+
width?: number;
|
|
41
|
+
height?: number;
|
|
37
42
|
}
|
|
38
43
|
type AnyCommentFile = CommentAttachment;
|
|
39
44
|
interface CommentDraft {
|
|
@@ -82,6 +87,7 @@ export interface CommentComposerBaseProps {
|
|
|
82
87
|
initialDraft?: CommentComposerTypes.ComposerInitialDraft;
|
|
83
88
|
ns?: string;
|
|
84
89
|
placementData?: PlacementData;
|
|
90
|
+
autoFocus?: boolean;
|
|
85
91
|
setEdit?: (v: {
|
|
86
92
|
id: string;
|
|
87
93
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/types.ts"],"names":[],"mappings":"AAAA,yBAAiB,oBAAoB,CAAC;IACpC,KAAY,MAAM;QAChB,IAAI,SAAS;QACb,OAAO,YAAY;QACnB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,SAAS,cAAc;QACvB,IAAI,SAAS;QACb,IAAI,gBAAgB;QACpB,IAAI,SAAS;QACb,UAAU,eAAe;QACzB,IAAI,SAAS;QACb,OAAO,YAAY;QACnB,IAAI,SAAS;KACd;IAED,UAAiB,qBAAqB;QACpC,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,IAAI,CAAC;QACb,GAAG,EAAE,IAAI,CAAC;KACX;IAED,UAAiB,iBAAiB;QAChC,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,OAAO,CAAC;QAChB,GAAG,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/CommentComposer/types.ts"],"names":[],"mappings":"AAAA,yBAAiB,oBAAoB,CAAC;IACpC,KAAY,MAAM;QAChB,IAAI,SAAS;QACb,OAAO,YAAY;QACnB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,SAAS,cAAc;QACvB,IAAI,SAAS;QACb,IAAI,gBAAgB;QACpB,IAAI,SAAS;QACb,UAAU,eAAe;QACzB,IAAI,SAAS;QACb,OAAO,YAAY;QACnB,IAAI,SAAS;KACd;IAED,UAAiB,qBAAqB;QACpC,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,IAAI,CAAC;QACb,GAAG,EAAE,IAAI,CAAC;KACX;IAED,UAAiB,iBAAiB;QAChC,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM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
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Box as
|
|
3
|
-
import
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { Box as n } from "@mantine/core";
|
|
3
|
+
import f from "./CustomKBD.module.css.js";
|
|
4
4
|
const B = ({
|
|
5
5
|
value: o,
|
|
6
6
|
miw: r = 31,
|
|
7
7
|
w: t = 16,
|
|
8
8
|
mr: e = 0,
|
|
9
|
-
fz:
|
|
10
|
-
fontFamily:
|
|
11
|
-
fw:
|
|
12
|
-
bbw:
|
|
13
|
-
br:
|
|
14
|
-
onClick:
|
|
9
|
+
fz: m = 12,
|
|
10
|
+
fontFamily: s = "Space Mono",
|
|
11
|
+
fw: i = 400,
|
|
12
|
+
bbw: p = 2,
|
|
13
|
+
br: d = 4,
|
|
14
|
+
onClick: a = () => {
|
|
15
15
|
},
|
|
16
|
-
...
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
|
|
16
|
+
...c
|
|
17
|
+
}) => /* @__PURE__ */ l(
|
|
18
|
+
n,
|
|
19
19
|
{
|
|
20
|
-
...
|
|
21
|
-
className:
|
|
22
|
-
onClick:
|
|
20
|
+
...c,
|
|
21
|
+
className: f.root,
|
|
22
|
+
onClick: a,
|
|
23
23
|
py: 2,
|
|
24
24
|
miw: r,
|
|
25
25
|
w: t,
|
|
26
26
|
mr: e,
|
|
27
|
-
fw:
|
|
28
|
-
fz:
|
|
27
|
+
fw: i,
|
|
28
|
+
fz: m,
|
|
29
29
|
style: {
|
|
30
|
-
borderRadius:
|
|
31
|
-
borderBottomWidth:
|
|
32
|
-
fontFamily:
|
|
30
|
+
borderRadius: d,
|
|
31
|
+
borderBottomWidth: p,
|
|
32
|
+
fontFamily: s
|
|
33
33
|
},
|
|
34
34
|
children: o
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
37
|
export {
|
|
38
|
-
B as CustomKBD
|
|
39
|
-
B as default
|
|
38
|
+
B as CustomKBD
|
|
40
39
|
};
|
|
@@ -56,5 +56,6 @@ export type EmojiPickerLocales = {
|
|
|
56
56
|
gifs?: string;
|
|
57
57
|
emojiCategory?: Record<string, string>;
|
|
58
58
|
};
|
|
59
|
+
export declare function useEmojiPickerLocales(override?: EmojiPickerLocales): EmojiPickerLocales;
|
|
59
60
|
export declare const EmojiPicker: ({ project, value, querySearch, children, onChange, position, popoverProps, showIcons, showColors, showGifs, onSelectGif, defaultActiveTab, showEmojis, withinPortal, locales: _locales, openWhen, triggerRegex, typingSeq, showRemoveButton, keepOpenOnRandom, showRandomButton, closeOnSelect, }: PropsWithChildren<EmojiPickerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
60
61
|
//# sourceMappingURL=EmojiPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiPicker.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAIL,gBAAgB,EAEhB,YAAY,EAEb,MAAM,eAAe,CAAC;AAWvB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,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