@layers-app/shared 0.4.2 → 0.4.4
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/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +13 -13
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +15 -16
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +7 -7
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.module.css.js +24 -24
- package/dist/components/CommentComposer/CommentComposer.module.css.js +1 -1
- package/dist/components/CommentComposer/index.d.ts.map +1 -1
- package/dist/components/CommentComposer/index.js +53 -54
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/Copyright.module.css.js +1 -1
- package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +6 -6
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EmojiPicker/IconsPanel.js +11 -11
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
- package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
- package/dist/components/FilePicker/FilePicker.module.css.js +10 -10
- package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
- package/dist/components/FormViewer/helpers/steps.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/steps.js +11 -11
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
- package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
- package/dist/components/Loaders/styles.module.css.js +6 -6
- package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/MusicPlayerBar/MusicPlayerBar.d.ts +3 -0
- package/dist/components/MusicPlayerBar/MusicPlayerBar.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/MusicPlayerBar.js +239 -0
- package/dist/components/MusicPlayerBar/MusicPlayerBar.module.css.js +49 -0
- package/dist/components/MusicPlayerBar/components/HiddenAudio.d.ts +10 -0
- package/dist/components/MusicPlayerBar/components/HiddenAudio.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/HiddenAudio.js +35 -0
- package/dist/components/MusicPlayerBar/components/HoverActions.d.ts +20 -0
- package/dist/components/MusicPlayerBar/components/HoverActions.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/HoverActions.js +88 -0
- package/dist/components/MusicPlayerBar/components/MobileActionsDrawer.d.ts +18 -0
- package/dist/components/MusicPlayerBar/components/MobileActionsDrawer.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/MobileActionsDrawer.js +91 -0
- package/dist/components/MusicPlayerBar/components/MobileSpeedDrawer.d.ts +11 -0
- package/dist/components/MusicPlayerBar/components/MobileSpeedDrawer.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/MobileSpeedDrawer.js +38 -0
- package/dist/components/MusicPlayerBar/components/MobileTailControls.d.ts +11 -0
- package/dist/components/MusicPlayerBar/components/MobileTailControls.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/MobileTailControls.js +50 -0
- package/dist/components/MusicPlayerBar/components/PlayButton.d.ts +9 -0
- package/dist/components/MusicPlayerBar/components/PlayButton.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/PlayButton.js +28 -0
- package/dist/components/MusicPlayerBar/components/SpeedPopover.d.ts +11 -0
- package/dist/components/MusicPlayerBar/components/SpeedPopover.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/SpeedPopover.js +90 -0
- package/dist/components/MusicPlayerBar/components/Timer.d.ts +8 -0
- package/dist/components/MusicPlayerBar/components/Timer.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/Timer.js +25 -0
- package/dist/components/MusicPlayerBar/components/VolumePopover.d.ts +15 -0
- package/dist/components/MusicPlayerBar/components/VolumePopover.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/VolumePopover.js +88 -0
- package/dist/components/MusicPlayerBar/components/Waveform.d.ts +12 -0
- package/dist/components/MusicPlayerBar/components/Waveform.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/components/Waveform.js +47 -0
- package/dist/components/MusicPlayerBar/constants.d.ts +19 -0
- package/dist/components/MusicPlayerBar/constants.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/constants.js +21 -0
- package/dist/components/MusicPlayerBar/helpers.d.ts +11 -0
- package/dist/components/MusicPlayerBar/helpers.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/helpers.js +44 -0
- package/dist/components/MusicPlayerBar/hooks/useAudioPlayback.d.ts +23 -0
- package/dist/components/MusicPlayerBar/hooks/useAudioPlayback.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/hooks/useAudioPlayback.js +49 -0
- package/dist/components/MusicPlayerBar/hooks/useCopyFeedback.d.ts +6 -0
- package/dist/components/MusicPlayerBar/hooks/useCopyFeedback.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/hooks/useCopyFeedback.js +17 -0
- package/dist/components/MusicPlayerBar/hooks/useHoverPopover.d.ts +9 -0
- package/dist/components/MusicPlayerBar/hooks/useHoverPopover.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/hooks/useHoverPopover.js +18 -0
- package/dist/components/MusicPlayerBar/hooks/useMusicPlayerLabels.d.ts +3 -0
- package/dist/components/MusicPlayerBar/hooks/useMusicPlayerLabels.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/hooks/useMusicPlayerLabels.js +26 -0
- package/dist/components/MusicPlayerBar/hooks/useWaveform.d.ts +7 -0
- package/dist/components/MusicPlayerBar/hooks/useWaveform.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/hooks/useWaveform.js +28 -0
- package/dist/components/MusicPlayerBar/index.d.ts +3 -0
- package/dist/components/MusicPlayerBar/index.d.ts.map +1 -0
- package/dist/components/MusicPlayerBar/types.d.ts +33 -0
- package/dist/components/MusicPlayerBar/types.d.ts.map +1 -0
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavbarResizer/NavbarResizer.js +1 -1
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/OnboardingTour/OnboardingTourFooter.js +1 -1
- package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
- package/dist/components/SettingsSection/styles.module.css.js +1 -1
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
- package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
- package/dist/components/table/FrontTable.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.js +1 -1
- package/dist/helpers/isNoAccessError.d.ts +2 -0
- package/dist/helpers/isNoAccessError.d.ts.map +1 -0
- package/dist/helpers/isNoAccessError.js +7 -0
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/hooks/useOfficePreviewAvailable.d.ts +2 -0
- package/dist/hooks/useOfficePreviewAvailable.d.ts.map +1 -0
- package/dist/hooks/useOfficePreviewAvailable.js +20 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +307 -305
- package/dist/lang/locales/ui_en.json.js +6 -4
- package/dist/lang/locales/ui_es.json.js +8 -6
- package/dist/lang/locales/ui_ru.json.js +9 -7
- package/docs/README.md +499 -499
- package/package.json +75 -75
- package/dist/assets/images/person.png.js +0 -4
- package/dist/assets/images/person2.png.js +0 -4
- package/dist/assets/images/person3.png.js +0 -4
- package/dist/assets/images/person4.png.js +0 -4
- package/dist/components/OnBoarding/OnBoardingPage.d.ts +0 -2
- package/dist/components/OnBoarding/OnBoardingPage.d.ts.map +0 -1
- package/dist/components/OnBoarding/OnBoardingPage.js +0 -80
- package/dist/components/OnBoarding/ProjectBoard.d.ts +0 -5
- package/dist/components/OnBoarding/ProjectBoard.d.ts.map +0 -1
- package/dist/components/OnBoarding/ProjectBoard.js +0 -141
- package/dist/components/OnBoarding/StepsNavBar.d.ts +0 -5
- package/dist/components/OnBoarding/StepsNavBar.d.ts.map +0 -1
- package/dist/components/OnBoarding/StepsNavBar.js +0 -21
- package/dist/components/OnBoarding/index.d.ts +0 -2
- package/dist/components/OnBoarding/index.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.d.ts +0 -3
- package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.js +0 -42
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.d.ts +0 -3
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.js +0 -51
- package/dist/components/OnBoarding/steps/CreateFirstProject.d.ts +0 -3
- package/dist/components/OnBoarding/steps/CreateFirstProject.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/CreateFirstProject.js +0 -45
- package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.d.ts +0 -3
- package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.js +0 -42
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusBadge.d.ts +0 -9
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusBadge.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusBadge.js +0 -22
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.d.ts +0 -3
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.js +0 -217
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.d.ts +0 -3
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.js +0 -16
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.d.ts +0 -3
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.js +0 -56
- package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.d.ts +0 -3
- package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.js +0 -272
- package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +0 -9
- package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.d.ts +0 -3
- package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.js +0 -86
- package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.d.ts +0 -3
- package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.js +0 -26
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.d.ts +0 -9
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.js +0 -61
- package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.d.ts +0 -3
- package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.js +0 -42
- package/dist/components/OnBoarding/steps/StartedStep.d.ts +0 -3
- package/dist/components/OnBoarding/steps/StartedStep.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/StartedStep.js +0 -71
- package/dist/components/OnBoarding/steps/Wrapper.d.ts +0 -15
- package/dist/components/OnBoarding/steps/Wrapper.d.ts.map +0 -1
- package/dist/components/OnBoarding/steps/Wrapper.js +0 -49
- package/dist/components/OnBoarding/steps/styles.module.css.js +0 -17
- package/dist/components/OnBoarding/styles.module.css.js +0 -15
- package/dist/store/onboarding.d.ts +0 -30
- package/dist/store/onboarding.d.ts.map +0 -1
- package/dist/store/onboarding.js +0 -53
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_page_q8c84_3", g = "_figureContainer_q8c84_16", _ = "_figure_q8c84_16", a = "_figureA_q8c84_29", r = "_figureB_q8c84_33", c = "_grainOverlay_q8c84_115", n = "_badgeWrap_q8c84_127", i = "_badge0_q8c84_155", t = "_badge1_q8c84_160", d = "_badge2_q8c84_169", o = "_badge3_q8c84_178", b = {
|
|
2
2
|
page: e,
|
|
3
|
-
figureContainer:
|
|
4
|
-
figure:
|
|
5
|
-
figureA:
|
|
6
|
-
figureB:
|
|
7
|
-
grainOverlay:
|
|
8
|
-
badgeWrap:
|
|
3
|
+
figureContainer: g,
|
|
4
|
+
figure: _,
|
|
5
|
+
figureA: a,
|
|
6
|
+
figureB: r,
|
|
7
|
+
grainOverlay: c,
|
|
8
|
+
badgeWrap: n,
|
|
9
9
|
badge0: i,
|
|
10
10
|
badge1: t,
|
|
11
11
|
badge2: d,
|
|
@@ -16,12 +16,12 @@ export {
|
|
|
16
16
|
t as badge1,
|
|
17
17
|
d as badge2,
|
|
18
18
|
o as badge3,
|
|
19
|
-
|
|
19
|
+
n as badgeWrap,
|
|
20
20
|
b as default,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
_ as figure,
|
|
22
|
+
a as figureA,
|
|
23
|
+
r as figureB,
|
|
24
|
+
g as figureContainer,
|
|
25
|
+
c as grainOverlay,
|
|
26
26
|
e as page
|
|
27
27
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const t = "
|
|
1
|
+
const t = "_toolTitleInput_103nq_19", n = "_appSidebarButton_103nq_34", o = "_slideContainer_103nq_55", e = "_slideContent_103nq_61", i = "_main_103nq_76", l = "_floatingMeetSlot_103nq_85", a = {
|
|
2
2
|
toolTitleInput: t,
|
|
3
3
|
appSidebarButton: n,
|
|
4
4
|
slideContainer: o,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AppContainer/components/menus/HelpMenu/HelpMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HelpMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AppContainer/components/menus/HelpMenu/HelpMenu.tsx"],"names":[],"mappings":"AAmCA,eAAO,MAAM,QAAQ,+CA2PpB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as I } from "react/jsx-runtime";
|
|
2
2
|
import { useState as A, useRef as $, useMemo as B, useCallback as h, useEffect as R } from "react";
|
|
3
3
|
import { useTranslation as _ } from "react-i18next";
|
|
4
|
-
import { DiscountTag02Icon as
|
|
4
|
+
import { DiscountTag02Icon as U, CustomerSupportIcon as H, Book02Icon as N, Structure02Icon as O, BookOpen01Icon as W, LicenseIcon as G } from "@hugeicons/core-free-icons";
|
|
5
5
|
import { HugeiconsIcon as s } from "@hugeicons/react";
|
|
6
6
|
import { Stack as K, Button as u, Menu as i, Popover as g, UnstyledButton as Y, Group as q, Text as S } from "@mantine/core";
|
|
7
7
|
import { IconChevronRight as J } from "@tabler/icons-react";
|
|
@@ -15,9 +15,8 @@ import { usePlatform as te } from "../../../../../hooks/usePlatform.js";
|
|
|
15
15
|
import { resetFeatureFlow as oe } from "../../../../../store/featureProgress.js";
|
|
16
16
|
import { useAppContainerDataStore as re } from "../../../hooks/useAppContainerDataStore.js";
|
|
17
17
|
import { WhatsNew as ie } from "./WhatsNew.js";
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
const ze = () => {
|
|
18
|
+
import { FeatureProgressKey as ne } from "../../../../FeatureProgress/constants.js";
|
|
19
|
+
const Me = () => {
|
|
21
20
|
const { t } = _("helpMenu"), y = te(), [M, f] = A(!1), c = $(null), T = B(() => {
|
|
22
21
|
const r = Z().analytics;
|
|
23
22
|
return r?.intercomEnabled !== !1 && !!r?.intercomAppId;
|
|
@@ -30,7 +29,7 @@ const ze = () => {
|
|
|
30
29
|
updatedAt: P,
|
|
31
30
|
privacyPolicyLink: x,
|
|
32
31
|
userAgreementLink: F,
|
|
33
|
-
whatsNewItems:
|
|
32
|
+
whatsNewItems: v
|
|
34
33
|
} = re(), j = () => {
|
|
35
34
|
m();
|
|
36
35
|
const r = new URL(window.location.href);
|
|
@@ -38,11 +37,11 @@ const ze = () => {
|
|
|
38
37
|
window.history.state,
|
|
39
38
|
"",
|
|
40
39
|
`${r.pathname}${r.search}${r.hash}`
|
|
41
|
-
)),
|
|
42
|
-
const p = window.location.pathname.split("/").filter(Boolean), L = p[0],
|
|
40
|
+
)), oe(ne.GraphStart);
|
|
41
|
+
const p = window.location.pathname.split("/").filter(Boolean), L = p[0], b = p[1] === "pages" ? p[2] : void 0, l = L || C.active.workspaceId;
|
|
43
42
|
if (l) {
|
|
44
|
-
if (
|
|
45
|
-
window.location.assign(`/${l}/pages/${
|
|
43
|
+
if (b) {
|
|
44
|
+
window.location.assign(`/${l}/pages/${b}`);
|
|
46
45
|
return;
|
|
47
46
|
}
|
|
48
47
|
const k = D?.(l);
|
|
@@ -116,7 +115,7 @@ const ze = () => {
|
|
|
116
115
|
onClick: () => {
|
|
117
116
|
w(), z(t("contactSalesMessage"));
|
|
118
117
|
},
|
|
119
|
-
leftSection: /* @__PURE__ */ e(s, { icon:
|
|
118
|
+
leftSection: /* @__PURE__ */ e(s, { icon: U, size: 16 }),
|
|
120
119
|
children: t("contactSales")
|
|
121
120
|
}
|
|
122
121
|
),
|
|
@@ -124,7 +123,7 @@ const ze = () => {
|
|
|
124
123
|
i.Item,
|
|
125
124
|
{
|
|
126
125
|
onClick: w,
|
|
127
|
-
leftSection: /* @__PURE__ */ e(s, { icon:
|
|
126
|
+
leftSection: /* @__PURE__ */ e(s, { icon: H, size: 16 }),
|
|
128
127
|
children: t("getSupport")
|
|
129
128
|
}
|
|
130
129
|
),
|
|
@@ -143,7 +142,7 @@ const ze = () => {
|
|
|
143
142
|
/* @__PURE__ */ e(g.Target, { children: /* @__PURE__ */ e("div", { onMouseEnter: d, onMouseLeave: m, children: /* @__PURE__ */ e(
|
|
144
143
|
i.Item,
|
|
145
144
|
{
|
|
146
|
-
leftSection: /* @__PURE__ */ e(s, { icon:
|
|
145
|
+
leftSection: /* @__PURE__ */ e(s, { icon: N, size: 16 }),
|
|
147
146
|
rightSection: /* @__PURE__ */ e(J, { size: 14 }),
|
|
148
147
|
onClick: (r) => {
|
|
149
148
|
r.preventDefault(), d();
|
|
@@ -175,7 +174,7 @@ const ze = () => {
|
|
|
175
174
|
/* @__PURE__ */ e(
|
|
176
175
|
s,
|
|
177
176
|
{
|
|
178
|
-
icon:
|
|
177
|
+
icon: O,
|
|
179
178
|
size: 16,
|
|
180
179
|
color: "var(--mantine-color-dimmed)"
|
|
181
180
|
}
|
|
@@ -212,8 +211,8 @@ const ze = () => {
|
|
|
212
211
|
}
|
|
213
212
|
),
|
|
214
213
|
/* @__PURE__ */ e(i.Divider, {}),
|
|
215
|
-
!!
|
|
216
|
-
/* @__PURE__ */ e(ie, { items:
|
|
214
|
+
!!v?.length && /* @__PURE__ */ a(I, { children: [
|
|
215
|
+
/* @__PURE__ */ e(ie, { items: v }),
|
|
217
216
|
/* @__PURE__ */ e(i.Divider, {})
|
|
218
217
|
] }),
|
|
219
218
|
/* @__PURE__ */ a(S, { size: "xs", c: "dimmed", children: [
|
|
@@ -233,5 +232,5 @@ const ze = () => {
|
|
|
233
232
|
] });
|
|
234
233
|
};
|
|
235
234
|
export {
|
|
236
|
-
|
|
235
|
+
Me as HelpMenu
|
|
237
236
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
header:
|
|
1
|
+
const e = "_root_9zlef_1", t = "_header_9zlef_9", o = "_section_9zlef_20", _ = "_leftSidebar_9zlef_28", n = "_rightSidebar_9zlef_36", r = "_main_9zlef_44", i = "_workContent_9zlef_52", a = {
|
|
2
|
+
root: e,
|
|
3
|
+
header: t,
|
|
4
4
|
section: o,
|
|
5
5
|
leftSidebar: _,
|
|
6
6
|
rightSidebar: n,
|
|
@@ -9,11 +9,11 @@ const t = "_root_10w7v_1", e = "_header_10w7v_17", o = "_section_10w7v_39", _ =
|
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
11
|
a as default,
|
|
12
|
-
|
|
12
|
+
t as header,
|
|
13
13
|
_ as leftSidebar,
|
|
14
14
|
r as main,
|
|
15
15
|
n as rightSidebar,
|
|
16
|
-
|
|
16
|
+
e as root,
|
|
17
17
|
o as section,
|
|
18
18
|
i as workContent
|
|
19
19
|
};
|
package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
"vod-player": "_vod-
|
|
3
|
-
"vod-player__player": "_vod-
|
|
1
|
+
const e = {
|
|
2
|
+
"vod-player": "_vod-player_be6om_1",
|
|
3
|
+
"vod-player__player": "_vod-player__player_be6om_13"
|
|
4
4
|
};
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
2
|
-
container:
|
|
3
|
-
root:
|
|
1
|
+
const o = "_container_17z0f_1", n = "_root_17z0f_7", t = "_carouselRoot_17z0f_14", e = "_carouselViewport_17z0f_18", a = "_carouselSlide_17z0f_22", _ = "_navButton_17z0f_29", r = "_navButtonPrev_17z0f_42", i = "_navButtonNext_17z0f_46", c = "_headerAction_17z0f_50", d = "_modalContent_17z0f_64", s = "_modalBody_17z0f_69", u = "_videoContainer_17z0f_75", f = "_imageContainer_17z0f_80", l = "_pdfContainer_17z0f_87", m = "_pdfFrame_17z0f_95", z = "_audioContainer_17z0f_102", v = "_audioName_17z0f_117", C = "_audioElement_17z0f_125", B = {
|
|
2
|
+
container: o,
|
|
3
|
+
root: n,
|
|
4
4
|
carouselRoot: t,
|
|
5
5
|
carouselViewport: e,
|
|
6
6
|
carouselSlide: a,
|
|
@@ -14,18 +14,18 @@ const n = "_container_nqf56_1", o = "_root_nqf56_13", t = "_carouselRoot_nqf56_2
|
|
|
14
14
|
imageContainer: f,
|
|
15
15
|
pdfContainer: l,
|
|
16
16
|
pdfFrame: m,
|
|
17
|
-
audioContainer:
|
|
17
|
+
audioContainer: z,
|
|
18
18
|
audioName: v,
|
|
19
19
|
audioElement: C
|
|
20
20
|
};
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
z as audioContainer,
|
|
23
23
|
C as audioElement,
|
|
24
24
|
v as audioName,
|
|
25
25
|
t as carouselRoot,
|
|
26
26
|
a as carouselSlide,
|
|
27
27
|
e as carouselViewport,
|
|
28
|
-
|
|
28
|
+
o as container,
|
|
29
29
|
B as default,
|
|
30
30
|
c as headerAction,
|
|
31
31
|
f as imageContainer,
|
|
@@ -36,6 +36,6 @@ export {
|
|
|
36
36
|
r as navButtonPrev,
|
|
37
37
|
l as pdfContainer,
|
|
38
38
|
m as pdfFrame,
|
|
39
|
-
|
|
39
|
+
n as root,
|
|
40
40
|
u as videoContainer
|
|
41
41
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "
|
|
1
|
+
const e = "_imagePreviewWrapper_qqm20_1", t = "_deleteButton_qqm20_6", o = "_downloadButton_qqm20_13", i = "_filePreviewList_qqm20_32", r = "_fileDownloadName_qqm20_45", a = "_filePreviewWrapper_qqm20_51", l = {
|
|
2
2
|
imagePreviewWrapper: e,
|
|
3
3
|
deleteButton: t,
|
|
4
4
|
downloadButton: o,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_wrapper_1y9p0_1", s = "_logo_1y9p0_8", p = "_desktop_1y9p0_23", _ = "_shadow_1y9p0_37", t = "_desktopShadow_1y9p0_50", d = {
|
|
2
2
|
wrapper: o,
|
|
3
3
|
logo: s,
|
|
4
|
-
desktop:
|
|
5
|
-
shadow:
|
|
6
|
-
desktopShadow:
|
|
4
|
+
desktop: p,
|
|
5
|
+
shadow: _,
|
|
6
|
+
desktopShadow: t
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
d as default,
|
|
10
|
+
p as desktop,
|
|
11
|
+
t as desktopShadow,
|
|
12
12
|
s as logo,
|
|
13
|
-
|
|
13
|
+
_ as shadow,
|
|
14
14
|
o as wrapper
|
|
15
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_accordionRoot_3pkfo_1", c = "_accordionControl_3pkfo_5", n = "_accordionItem_3pkfo_9", t = {
|
|
2
2
|
accordionRoot: o,
|
|
3
3
|
accordionControl: c,
|
|
4
4
|
accordionItem: n
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
const
|
|
2
|
-
section:
|
|
3
|
-
sectionLabel:
|
|
1
|
+
const i = "_section_lidow_2", t = "_sectionLabel_lidow_15", n = "_listItem_lidow_46", e = "_listItemActive_lidow_72", l = "_listItemLabel_lidow_76", o = "_listItemSwatch_lidow_84", c = "_grid_lidow_92", _ = "_inlineSection_lidow_162", s = "_inlineSectionLabel_lidow_172", w = "_inlineRow_lidow_180", a = "_inlineSwatch_lidow_189", d = "_inlineSwatchActive_lidow_215", S = "_inlineSwatchRound_lidow_225", h = {
|
|
2
|
+
section: i,
|
|
3
|
+
sectionLabel: t,
|
|
4
4
|
listItem: n,
|
|
5
5
|
listItemActive: e,
|
|
6
|
-
listItemLabel:
|
|
7
|
-
listItemSwatch:
|
|
8
|
-
grid:
|
|
9
|
-
inlineSection:
|
|
10
|
-
inlineSectionLabel:
|
|
11
|
-
inlineRow:
|
|
12
|
-
inlineSwatch:
|
|
13
|
-
inlineSwatchActive:
|
|
14
|
-
inlineSwatchRound:
|
|
6
|
+
listItemLabel: l,
|
|
7
|
+
listItemSwatch: o,
|
|
8
|
+
grid: c,
|
|
9
|
+
inlineSection: _,
|
|
10
|
+
inlineSectionLabel: s,
|
|
11
|
+
inlineRow: w,
|
|
12
|
+
inlineSwatch: a,
|
|
13
|
+
inlineSwatchActive: d,
|
|
14
|
+
inlineSwatchRound: S
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
h as default,
|
|
18
|
+
c as grid,
|
|
19
|
+
w as inlineRow,
|
|
20
|
+
_ as inlineSection,
|
|
21
|
+
s as inlineSectionLabel,
|
|
22
|
+
a as inlineSwatch,
|
|
23
|
+
d as inlineSwatchActive,
|
|
24
|
+
S as inlineSwatchRound,
|
|
25
25
|
n as listItem,
|
|
26
26
|
e as listItemActive,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
l as listItemLabel,
|
|
28
|
+
o as listItemSwatch,
|
|
29
|
+
i as section,
|
|
30
|
+
t as sectionLabel
|
|
31
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const o = "
|
|
1
|
+
const o = "_commentComposerWrapper_17oei_1", e = "_commentComposerFloat_17oei_68", r = "_composerContainer_17oei_97", t = "_editorWrapper_17oei_113", p = "_editMode_17oei_192", m = {
|
|
2
2
|
commentComposerWrapper: o,
|
|
3
3
|
commentComposerFloat: e,
|
|
4
4
|
composerContainer: r,
|
|
@@ -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,4EAQ7B,oBAAoB,
|
|
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,4EAQ7B,oBAAoB,4CAsctB,CAAC"}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { useState as Z, useRef as v, useMemo as U, useCallback as ee, useEffect as A } from "react";
|
|
3
3
|
import { useTranslation as te } from "react-i18next";
|
|
4
|
-
import { Attachment02Icon as oe, Sent02Icon as
|
|
4
|
+
import { Attachment02Icon as oe, Sent02Icon as ne } from "@hugeicons/core-free-icons";
|
|
5
5
|
import { HugeiconsIcon as $ } from "@hugeicons/react";
|
|
6
|
-
import { Stack as
|
|
6
|
+
import { Stack as re, Box as se, Group as B, FileButton as ie, ActionIcon as P, UnstyledButton as le, Text as ae, Button as ce, Popover as L } from "@mantine/core";
|
|
7
7
|
import { getMaxUploadSize as de } from "../../config/envConfig.js";
|
|
8
8
|
import { showErrorNotification as W } from "../../helpers/showNotifications.js";
|
|
9
9
|
import { AttachmentsPreview as me } from "../AttachmentsPreview/AttachmentsPreview.js";
|
|
10
|
-
import { CommentEditorHandler as
|
|
11
|
-
import { useVirtualAnchor as
|
|
10
|
+
import { CommentEditorHandler as ue } from "./CommentEditorHotkeys.js";
|
|
11
|
+
import { useVirtualAnchor as fe } from "./useVirtualAnchor.js";
|
|
12
12
|
import y from "./CommentComposer.module.css.js";
|
|
13
|
-
function j(
|
|
14
|
-
return "id" in
|
|
13
|
+
function j(n) {
|
|
14
|
+
return "id" in n;
|
|
15
15
|
}
|
|
16
|
-
function pe(
|
|
17
|
-
return typeof
|
|
16
|
+
function pe(n) {
|
|
17
|
+
return typeof n == "object" && "isTemp" in n;
|
|
18
18
|
}
|
|
19
|
-
function he(
|
|
20
|
-
const c = URL.createObjectURL(
|
|
19
|
+
function he(n) {
|
|
20
|
+
const c = URL.createObjectURL(n);
|
|
21
21
|
return {
|
|
22
22
|
id: `temp-${crypto.randomUUID()}`,
|
|
23
|
-
name:
|
|
24
|
-
type:
|
|
25
|
-
size:
|
|
23
|
+
name: n.name,
|
|
24
|
+
type: n.type,
|
|
25
|
+
size: n.size,
|
|
26
26
|
url: c,
|
|
27
27
|
src: c,
|
|
28
|
-
isImage:
|
|
28
|
+
isImage: n.type.startsWith("image/"),
|
|
29
29
|
isTemp: !0,
|
|
30
|
-
raw:
|
|
30
|
+
raw: n
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
const M = () => de() ?? 5 * 1024 * 1024, ge = 10;
|
|
34
|
-
function xe(
|
|
35
|
-
return
|
|
34
|
+
function xe(n, c) {
|
|
35
|
+
return n(`composer.${c}`, { defaultValue: "" }) || n(`editor.composer.${c}`);
|
|
36
36
|
}
|
|
37
37
|
const Ne = ({
|
|
38
|
-
children:
|
|
38
|
+
children: n,
|
|
39
39
|
onSubmit: c,
|
|
40
40
|
initialDraft: d,
|
|
41
41
|
updateLocation: N,
|
|
@@ -46,7 +46,7 @@ const Ne = ({
|
|
|
46
46
|
const [m, _] = Z({
|
|
47
47
|
text: d?.text ?? "",
|
|
48
48
|
files: d?.files ?? []
|
|
49
|
-
}), { t: h } = te(S), G = h(S === "comments" ? "composer.placeholder" : "editor.composer.placeholder"), g = v(null),
|
|
49
|
+
}), { t: h } = te(S), G = h(S === "comments" ? "composer.placeholder" : "editor.composer.placeholder"), g = v(null), u = typeof d?.text < "u", a = {
|
|
50
50
|
text: m.text,
|
|
51
51
|
files: m.files
|
|
52
52
|
}, X = v(null), p = v(null), Y = U(
|
|
@@ -55,8 +55,8 @@ const Ne = ({
|
|
|
55
55
|
elements: []
|
|
56
56
|
}),
|
|
57
57
|
[]
|
|
58
|
-
), V = v(null),
|
|
59
|
-
isFloat:
|
|
58
|
+
), V = v(null), f = !!N, q = fe({
|
|
59
|
+
isFloat: f,
|
|
60
60
|
updateLocation: N,
|
|
61
61
|
selectionRef: V,
|
|
62
62
|
selectionState: Y
|
|
@@ -67,8 +67,8 @@ const Ne = ({
|
|
|
67
67
|
), s = t?.scrollHeight || 0, o = s > I, l = s > 35, i = e.closest(
|
|
68
68
|
'[class*="commentComposerFloat"]'
|
|
69
69
|
) || e;
|
|
70
|
-
|
|
71
|
-
}, [p,
|
|
70
|
+
f && l ? i.setAttribute("data-multiline", "true") : i.removeAttribute("data-multiline"), o && t ? (t.style.maxHeight = `${I}px`, t.style.overflowY = "auto", t.style.scrollbarWidth = "thin", i.setAttribute("data-editor-constrained", "true")) : t && (t.style.maxHeight = "", t.style.overflowY = "", t.style.scrollbarWidth = "", i.removeAttribute("data-editor-constrained"));
|
|
71
|
+
}, [p, f, I]);
|
|
72
72
|
A(() => {
|
|
73
73
|
b();
|
|
74
74
|
}, [b]), A(() => {
|
|
@@ -81,26 +81,26 @@ const Ne = ({
|
|
|
81
81
|
};
|
|
82
82
|
}, [b]), A(() => {
|
|
83
83
|
const e = document.querySelector("main");
|
|
84
|
-
if (e &&
|
|
84
|
+
if (e && f) {
|
|
85
85
|
const t = e.style.overflow;
|
|
86
86
|
return e.style.overflow = "hidden", () => {
|
|
87
87
|
e.style.overflow = t;
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
}, [
|
|
90
|
+
}, [f]);
|
|
91
91
|
const { textChanged: J, newFiles: K, deletedFiles: D, hasChanges: F } = U(() => {
|
|
92
92
|
const e = d?.files || [], t = m.files, s = d?.text !== a.text, o = t.filter((i) => i.isTemp), x = new Set(
|
|
93
93
|
t.filter(
|
|
94
94
|
(i) => j(i)
|
|
95
95
|
).map((i) => i.id)
|
|
96
|
-
), l = e.filter(j).filter((i) => !x.has(i.id)), E =
|
|
96
|
+
), l = e.filter(j).filter((i) => !x.has(i.id)), E = u ? JSON.stringify(d) === JSON.stringify(m) : a.text.trim().length > 0 || o.length > 0 || l.length > 0;
|
|
97
97
|
return {
|
|
98
98
|
textChanged: s,
|
|
99
99
|
newFiles: o,
|
|
100
100
|
deletedFiles: l,
|
|
101
101
|
hasChanges: E
|
|
102
102
|
};
|
|
103
|
-
}, [
|
|
103
|
+
}, [u, d, m, a.text]), H = () => {
|
|
104
104
|
R ? R({
|
|
105
105
|
id: "",
|
|
106
106
|
text: "",
|
|
@@ -137,7 +137,7 @@ const Ne = ({
|
|
|
137
137
|
});
|
|
138
138
|
}, w = async () => {
|
|
139
139
|
try {
|
|
140
|
-
|
|
140
|
+
u ? await c({
|
|
141
141
|
mode: "edit",
|
|
142
142
|
data: {
|
|
143
143
|
textChanged: J,
|
|
@@ -164,14 +164,14 @@ const Ne = ({
|
|
|
164
164
|
const s = new t.klass();
|
|
165
165
|
e.append(s), s.select();
|
|
166
166
|
}), T({ text: "", files: [] }, !0);
|
|
167
|
-
}, O = /* @__PURE__ */
|
|
168
|
-
|
|
167
|
+
}, O = /* @__PURE__ */ r(
|
|
168
|
+
re,
|
|
169
169
|
{
|
|
170
170
|
ref: p,
|
|
171
171
|
className: `
|
|
172
172
|
${y.commentComposerWrapper}
|
|
173
|
-
${
|
|
174
|
-
${
|
|
173
|
+
${u ? y.editMode : ""}
|
|
174
|
+
${f ? y.commentComposerFloat : ""}
|
|
175
175
|
`,
|
|
176
176
|
children: /* @__PURE__ */ C(
|
|
177
177
|
"div",
|
|
@@ -181,19 +181,19 @@ const Ne = ({
|
|
|
181
181
|
"--placeholder-text": `"${G}"`
|
|
182
182
|
},
|
|
183
183
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
|
|
184
|
+
/* @__PURE__ */ r("div", { className: y.editorWrapper, children: /* @__PURE__ */ r(
|
|
185
|
+
ue,
|
|
186
186
|
{
|
|
187
187
|
onSubmit: w,
|
|
188
188
|
editorRef: g,
|
|
189
189
|
inputContainerRef: p,
|
|
190
190
|
commentDraft: a,
|
|
191
191
|
onBlur: H,
|
|
192
|
-
isEdit:
|
|
193
|
-
isFloat:
|
|
192
|
+
isEdit: u,
|
|
193
|
+
isFloat: f,
|
|
194
194
|
hasChanges: F,
|
|
195
195
|
ns: S,
|
|
196
|
-
children:
|
|
196
|
+
children: n?.({
|
|
197
197
|
onSubmit: w,
|
|
198
198
|
handleBlur: () => {
|
|
199
199
|
},
|
|
@@ -204,8 +204,8 @@ const Ne = ({
|
|
|
204
204
|
})
|
|
205
205
|
}
|
|
206
206
|
) }),
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
207
|
+
/* @__PURE__ */ r(se, { h: 10, "data-editor-spacer": !0, tabIndex: 0, style: { width: "100%" } }),
|
|
208
|
+
/* @__PURE__ */ r(
|
|
209
209
|
me,
|
|
210
210
|
{
|
|
211
211
|
files: m.files,
|
|
@@ -219,7 +219,7 @@ const Ne = ({
|
|
|
219
219
|
/* @__PURE__ */ C(
|
|
220
220
|
B,
|
|
221
221
|
{
|
|
222
|
-
justify:
|
|
222
|
+
justify: u ? "space-between" : "flex-end",
|
|
223
223
|
"data-comment-footer": !0,
|
|
224
224
|
align: "center",
|
|
225
225
|
w: "unset",
|
|
@@ -227,12 +227,12 @@ const Ne = ({
|
|
|
227
227
|
tabIndex: 0,
|
|
228
228
|
gap: "4px",
|
|
229
229
|
children: [
|
|
230
|
-
/* @__PURE__ */
|
|
230
|
+
/* @__PURE__ */ r(
|
|
231
231
|
ie,
|
|
232
232
|
{
|
|
233
233
|
onChange: (e) => Q(e, T),
|
|
234
234
|
multiple: !0,
|
|
235
|
-
children: (e) => /* @__PURE__ */
|
|
235
|
+
children: (e) => /* @__PURE__ */ r(P, { ...e, variant: "subtle", size: "lg", color: "gray", children: /* @__PURE__ */ r(
|
|
236
236
|
$,
|
|
237
237
|
{
|
|
238
238
|
style: { transform: "rotate(35deg)" },
|
|
@@ -242,8 +242,8 @@ const Ne = ({
|
|
|
242
242
|
) })
|
|
243
243
|
}
|
|
244
244
|
),
|
|
245
|
-
|
|
246
|
-
/* @__PURE__ */
|
|
245
|
+
u ? /* @__PURE__ */ C(B, { gap: "8px", children: [
|
|
246
|
+
/* @__PURE__ */ r(
|
|
247
247
|
le,
|
|
248
248
|
{
|
|
249
249
|
onClick: H,
|
|
@@ -255,29 +255,28 @@ const Ne = ({
|
|
|
255
255
|
background: "none",
|
|
256
256
|
border: "none"
|
|
257
257
|
},
|
|
258
|
-
children: /* @__PURE__ */
|
|
258
|
+
children: /* @__PURE__ */ r(ae, { size: "sm", c: "dimmed", children: h("composer.cancel") })
|
|
259
259
|
}
|
|
260
260
|
),
|
|
261
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ r(
|
|
262
262
|
ce,
|
|
263
263
|
{
|
|
264
264
|
size: "xs",
|
|
265
265
|
radius: "md",
|
|
266
266
|
onClick: w,
|
|
267
|
-
disabled:
|
|
267
|
+
disabled: u ? F : !F,
|
|
268
268
|
children: h("composer.save")
|
|
269
269
|
}
|
|
270
270
|
)
|
|
271
|
-
] }) : /* @__PURE__ */
|
|
271
|
+
] }) : /* @__PURE__ */ r(
|
|
272
272
|
P,
|
|
273
273
|
{
|
|
274
|
-
color: "var(--mantine-primary-color-filled)",
|
|
275
274
|
size: "lg",
|
|
276
275
|
"data-comment-submit-button": !0,
|
|
277
276
|
variant: "filled",
|
|
278
277
|
onClick: w,
|
|
279
278
|
disabled: !a.text.trim() && a.files.length === 0,
|
|
280
|
-
children: /* @__PURE__ */
|
|
279
|
+
children: /* @__PURE__ */ r($, { icon: ne, size: 20 })
|
|
281
280
|
}
|
|
282
281
|
)
|
|
283
282
|
]
|
|
@@ -288,7 +287,7 @@ const Ne = ({
|
|
|
288
287
|
)
|
|
289
288
|
}
|
|
290
289
|
);
|
|
291
|
-
return
|
|
290
|
+
return f ? /* @__PURE__ */ C(
|
|
292
291
|
L,
|
|
293
292
|
{
|
|
294
293
|
opened: !0,
|
|
@@ -322,7 +321,7 @@ const Ne = ({
|
|
|
322
321
|
}
|
|
323
322
|
},
|
|
324
323
|
children: [
|
|
325
|
-
/* @__PURE__ */
|
|
324
|
+
/* @__PURE__ */ r(L.Target, { children: /* @__PURE__ */ r(
|
|
326
325
|
"div",
|
|
327
326
|
{
|
|
328
327
|
ref: q,
|
|
@@ -337,7 +336,7 @@ const Ne = ({
|
|
|
337
336
|
}
|
|
338
337
|
}
|
|
339
338
|
) }),
|
|
340
|
-
/* @__PURE__ */
|
|
339
|
+
/* @__PURE__ */ r(
|
|
341
340
|
L.Dropdown,
|
|
342
341
|
{
|
|
343
342
|
ref: X,
|