@edifice.io/react 2.5.5-develop.20260112150307 → 2.5.6
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/AppIcon/index.d.ts +0 -1
- package/dist/components/Badge/Badge.d.ts +1 -12
- package/dist/components/Badge/Badge.js +2 -15
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/Layout/components/Header.js +6 -1
- package/dist/components/Menu/components/MenuButton.d.ts +0 -2
- package/dist/components/Menu/components/MenuButton.js +4 -13
- package/dist/components/Select/Select.d.ts +2 -6
- package/dist/components/Select/Select.js +4 -10
- package/dist/components/index.d.ts +0 -2
- package/dist/editor.js +36 -40
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/useDropzone/useDropzone.d.ts +2 -2
- package/dist/hooks/useDropzone/useDropzone.js +5 -20
- package/dist/icons.js +298 -300
- package/dist/index.js +170 -186
- package/dist/modals.js +6 -8
- package/dist/modules/comments/components/Comment.js +2 -4
- package/dist/modules/comments/components/CommentList.js +1 -1
- package/dist/modules/comments/components/DeleteModal.js +8 -14
- package/dist/modules/editor/components/Editor/index.d.ts +0 -2
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +1 -1
- package/dist/modules/editor/hooks/useMediaLibraryEditor.js +3 -4
- package/dist/modules/icons/components/index.d.ts +0 -1
- package/dist/modules/modals/ShareModal/ShareBookmark.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareBookmark.js +2 -5
- package/dist/modules/modals/ShareModal/ShareModal.d.ts +11 -1
- package/dist/modules/modals/ShareModal/ShareModal.js +105 -13
- package/dist/modules/modals/ShareModal/hooks/useSearch.d.ts +1 -2
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +2 -3
- package/dist/modules/modals/ShareModal/hooks/useShare.d.ts +5 -12
- package/dist/modules/modals/ShareModal/hooks/useShare.js +13 -20
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +1 -1
- package/dist/modules/modals/ShareModal/index.d.ts +1 -3
- package/dist/modules/multimedia/MediaLibrary/index.d.ts +0 -2
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -1
- package/dist/modules/multimedia/index.d.ts +0 -1
- package/dist/multimedia.js +8 -14
- package/dist/style.css +1 -1
- package/dist/utilities/index.d.ts +0 -1
- package/package.json +6 -7
- package/dist/components/Divider/Divider.d.ts +0 -38
- package/dist/components/Divider/Divider.js +0 -11
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +0 -59
- package/dist/components/SegmentedControl/SegmentedControl.js +0 -21
- package/dist/components/SegmentedControl/index.d.ts +0 -2
- package/dist/hooks/useInfiniteScroll/index.d.ts +0 -1
- package/dist/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +0 -33
- package/dist/hooks/useInfiniteScroll/useInfiniteScroll.js +0 -20
- package/dist/modules/editor/components/Editor/EditorPreview.d.ts +0 -14
- package/dist/modules/editor/components/Editor/EditorPreview.js +0 -56
- package/dist/modules/editor/components/Editor/EditorPreviewSkeleton.d.ts +0 -8
- package/dist/modules/editor/components/Editor/EditorPreviewSkeleton.js +0 -24
- package/dist/modules/icons/components/IconClockAlert.d.ts +0 -7
- package/dist/modules/icons/components/IconClockAlert.js +0 -17
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +0 -174
- package/dist/modules/modals/ShareModal/ShareResources.js +0 -137
- package/dist/utilities/react-query/index.d.ts +0 -1
- package/dist/utilities/react-query/react-query-utils.d.ts +0 -21
- package/dist/utilities/react-query/react-query-utils.js +0 -13
package/dist/index.js
CHANGED
|
@@ -15,99 +15,93 @@ import { default as default15 } from "./components/Checkbox/Checkbox.js";
|
|
|
15
15
|
import { default as default16 } from "./components/ColorPicker/ColorPicker.js";
|
|
16
16
|
import { default as default17 } from "./components/ColorPicker/ColorPickerItem.js";
|
|
17
17
|
import { default as default18 } from "./components/Combobox/Combobox.js";
|
|
18
|
-
import { default as default19 } from "./components/
|
|
19
|
-
import { default as default20 } from "./components/
|
|
20
|
-
import { default as default21 } from "./components/
|
|
21
|
-
import { default as default22 } from "./components/
|
|
22
|
-
import { default as default23 } from "./components/
|
|
23
|
-
import { default as default24 } from "./components/Form/
|
|
24
|
-
import { default as default25 } from "./components/
|
|
25
|
-
import { default as default26 } from "./components/
|
|
26
|
-
import { default as default27 } from "./components/
|
|
27
|
-
import { default as default28 } from "./components/
|
|
28
|
-
import { default as default29 } from "./components/
|
|
29
|
-
import { default as default30 } from "./components/
|
|
30
|
-
import { default as default31 } from "./components/
|
|
31
|
-
import { default as default32 } from "./components/
|
|
32
|
-
import { default as default33 } from "./components/
|
|
33
|
-
import { default as default34 } from "./components/
|
|
34
|
-
import { default as default35 } from "./components/
|
|
35
|
-
import { default as default36 } from "./components/
|
|
36
|
-
import { default as default37 } from "./components/
|
|
37
|
-
import { default as default38 } from "./components/
|
|
38
|
-
import { default as default39 } from "./components/
|
|
39
|
-
import { default as default40 } from "./components/
|
|
40
|
-
import { default as default41 } from "./components/
|
|
41
|
-
import { default as default42 } from "./components/
|
|
42
|
-
import { default as default43 } from "./components/
|
|
43
|
-
import { default as default44 } from "./components/
|
|
44
|
-
import { default as default45 } from "./components/
|
|
45
|
-
import { default as default46 } from "./components/TextArea/TextArea.js";
|
|
46
|
-
import { default as default47 } from "./components/Tooltip/Tooltip.js";
|
|
18
|
+
import { default as default19 } from "./components/Dropdown/Dropdown.js";
|
|
19
|
+
import { default as default20 } from "./components/Dropzone/Dropzone.js";
|
|
20
|
+
import { default as default21 } from "./components/EmptyScreen/EmptyScreen.js";
|
|
21
|
+
import { default as default22 } from "./components/Flex/Flex.js";
|
|
22
|
+
import { default as default23 } from "./components/Form/FormText.js";
|
|
23
|
+
import { default as default24 } from "./components/Form/FormControl.js";
|
|
24
|
+
import { default as default25 } from "./components/Heading/Heading.js";
|
|
25
|
+
import { default as default26 } from "./components/Image/Image.js";
|
|
26
|
+
import { default as default27 } from "./components/Input/Input.js";
|
|
27
|
+
import { default as default28 } from "./components/Label/Label.js";
|
|
28
|
+
import { default as default29 } from "./components/Loading/Loading.js";
|
|
29
|
+
import { default as default30 } from "./components/LoadingScreen/LoadingScreen.js";
|
|
30
|
+
import { default as default31 } from "./components/Logo/Logo.js";
|
|
31
|
+
import { default as default32 } from "./components/Modal/Modal.js";
|
|
32
|
+
import { default as default33 } from "./components/PreventPropagation/PreventPropagation.js";
|
|
33
|
+
import { default as default34 } from "./components/Radio/Radio.js";
|
|
34
|
+
import { default as default35 } from "./components/RadioCard/RadioCard.js";
|
|
35
|
+
import { default as default36 } from "./components/SearchBar/SearchBar.js";
|
|
36
|
+
import { default as default37 } from "./components/Select/Select.js";
|
|
37
|
+
import { default as default38 } from "./components/Skeleton/ButtonSkeleton.js";
|
|
38
|
+
import { default as default39 } from "./components/Skeleton/TextSkeleton.js";
|
|
39
|
+
import { default as default40 } from "./components/StackedGroup/StackedGroup.js";
|
|
40
|
+
import { default as default41 } from "./components/Stepper/Stepper.js";
|
|
41
|
+
import { default as default42 } from "./components/Switch/Switch.js";
|
|
42
|
+
import { default as default43 } from "./components/Table/components/Table.js";
|
|
43
|
+
import { default as default44 } from "./components/TextArea/TextArea.js";
|
|
44
|
+
import { default as default45 } from "./components/Tooltip/Tooltip.js";
|
|
47
45
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
46
|
+
import { default as default46 } from "./components/Tree/components/SortableTree.js";
|
|
47
|
+
import { default as default47 } from "./components/Tree/components/Tree.js";
|
|
48
|
+
import { default as default48 } from "./components/TreeView/TreeView.js";
|
|
49
|
+
import { default as default49 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
50
|
+
import { default as default50 } from "./hooks/useBookmark/useBookmark.js";
|
|
51
|
+
import { default as default51 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
52
|
+
import { default as default52 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
53
|
+
import { default as default53 } from "./hooks/useCantoo/useCantoo.js";
|
|
54
|
+
import { default as default54 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
55
|
+
import { default as default55 } from "./hooks/useConversation/useConversation.js";
|
|
56
|
+
import { default as default56 } from "./hooks/useDate/useDate.js";
|
|
57
|
+
import { default as default57 } from "./hooks/useDebounce/useDebounce.js";
|
|
58
|
+
import { default as default58 } from "./hooks/useDirectory/useDirectory.js";
|
|
59
|
+
import { default as default59 } from "./hooks/useDropdown/useDropdown.js";
|
|
60
|
+
import { default as default60 } from "./hooks/useDropzone/useDropzone.js";
|
|
61
|
+
import { default as default61 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
62
|
+
import { default as default62 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
63
|
+
import { default as default63 } from "./hooks/useHover/useHover.js";
|
|
66
64
|
import { useHttpErrorToast } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import {
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as default106 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
108
|
-
import { default as default107 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
109
|
-
import { default as default108 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
110
|
-
import { default as default109 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
65
|
+
import { default as default64 } from "./hooks/useImage/useImage.js";
|
|
66
|
+
import { default as default65 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
67
|
+
import { default as default66 } from "./hooks/useIsAdmc/useIsAdmc.js";
|
|
68
|
+
import { default as default67 } from "./hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js";
|
|
69
|
+
import { default as default68 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
70
|
+
import { default as default69 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
71
|
+
import { default as default70 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
72
|
+
import { default as default71 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
73
|
+
import { default as default72 } from "./hooks/useTitle/useTitle.js";
|
|
74
|
+
import { default as default73 } from "./hooks/useToast/useToast.js";
|
|
75
|
+
import { default as default74 } from "./hooks/useToggle/useToggle.js";
|
|
76
|
+
import { default as default75 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
77
|
+
import { default as default76 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
78
|
+
import { default as default77 } from "./hooks/useUpload/useUpload.js";
|
|
79
|
+
import { default as default78 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
80
|
+
import { default as default79 } from "./hooks/useUser/useUser.js";
|
|
81
|
+
import { default as default80 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
82
|
+
import { default as default81 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
83
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default82 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
84
|
+
import { default as default83 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
85
|
+
import { default as default84 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
86
|
+
import { default as default85 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
87
|
+
import { default as default86 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
88
|
+
import { default as default87 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
89
|
+
import { default as default88 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
90
|
+
import { default as default89 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
91
|
+
import { default as default90 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
92
|
+
import { default as default91 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
93
|
+
import { default as default92 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
94
|
+
import { default as default93 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
95
|
+
import { default as default94 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
|
|
96
|
+
import { default as default95 } from "./modules/multimedia/Embed/Embed.js";
|
|
97
|
+
import { default as default96 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
98
|
+
import { default as default97 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
99
|
+
import { default as default98 } from "./modules/multimedia/FileCard/FileCard.js";
|
|
100
|
+
import { default as default99 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
101
|
+
import { default as default100 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
102
|
+
import { default as default101 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
103
|
+
import { default as default102 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
104
|
+
import { default as default103 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
111
105
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
112
106
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
113
107
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -126,7 +120,6 @@ import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
|
126
120
|
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
127
121
|
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
128
122
|
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
129
|
-
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
130
123
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
131
124
|
import { EdificeClientProvider } from "./providers/EdificeClientProvider/EdificeClientProvider.js";
|
|
132
125
|
import { EdificeClientContext } from "./providers/EdificeClientProvider/EdificeClientProvider.context.js";
|
|
@@ -137,7 +130,6 @@ import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemePr
|
|
|
137
130
|
import { MockedProvider } from "./providers/MockedProvider/MockedProvider.js";
|
|
138
131
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
139
132
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
140
|
-
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
141
133
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
142
134
|
export {
|
|
143
135
|
AccessiblePalette,
|
|
@@ -147,97 +139,91 @@ export {
|
|
|
147
139
|
default4 as AppHeader,
|
|
148
140
|
default5 as AppIcon,
|
|
149
141
|
default6 as Attachment,
|
|
150
|
-
|
|
142
|
+
default94 as AudioRecorder,
|
|
151
143
|
default7 as Avatar,
|
|
152
144
|
default8 as AvatarGroup,
|
|
153
145
|
default9 as Badge,
|
|
154
|
-
|
|
146
|
+
default89 as BlogPublic,
|
|
155
147
|
default10 as Breadcrumb,
|
|
156
148
|
default11 as Button,
|
|
157
|
-
|
|
149
|
+
default38 as ButtonSkeleton,
|
|
158
150
|
default14 as Card,
|
|
159
151
|
default15 as Checkbox,
|
|
160
152
|
default16 as ColorPicker,
|
|
161
153
|
default17 as ColorPickerItem,
|
|
162
154
|
Column,
|
|
163
155
|
default18 as Combobox,
|
|
164
|
-
|
|
156
|
+
default86 as ConfirmModal,
|
|
165
157
|
DefaultPalette,
|
|
166
|
-
default19 as Divider,
|
|
167
158
|
DndTree,
|
|
168
|
-
|
|
169
|
-
|
|
159
|
+
default19 as Dropdown,
|
|
160
|
+
default20 as Dropzone,
|
|
170
161
|
DropzoneContext,
|
|
171
162
|
EdificeClientContext,
|
|
172
163
|
EdificeClientProvider,
|
|
173
164
|
EdificeThemeContext,
|
|
174
165
|
EdificeThemeProvider,
|
|
175
|
-
|
|
176
|
-
|
|
166
|
+
default95 as Embed,
|
|
167
|
+
default21 as EmptyScreen,
|
|
177
168
|
ExternalLinker,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
169
|
+
default98 as FileCard,
|
|
170
|
+
default22 as Flex,
|
|
171
|
+
default24 as FormControl,
|
|
172
|
+
default23 as FormText,
|
|
182
173
|
Grid,
|
|
183
|
-
|
|
174
|
+
default25 as Heading,
|
|
184
175
|
default12 as IconButton,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
176
|
+
default26 as Image,
|
|
177
|
+
default96 as ImageEditor,
|
|
178
|
+
default97 as ImagePicker,
|
|
179
|
+
default27 as Input,
|
|
189
180
|
InternalLinker,
|
|
190
|
-
|
|
181
|
+
default28 as Label,
|
|
191
182
|
Layout,
|
|
192
183
|
List,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
184
|
+
default29 as Loading,
|
|
185
|
+
default30 as LoadingScreen,
|
|
186
|
+
default31 as Logo,
|
|
187
|
+
default99 as MediaLibrary,
|
|
197
188
|
Menu,
|
|
198
189
|
MockedProvider,
|
|
199
|
-
|
|
200
|
-
|
|
190
|
+
default32 as Modal,
|
|
191
|
+
default87 as OnboardingModal,
|
|
201
192
|
Popover,
|
|
202
193
|
PopoverBody,
|
|
203
194
|
PopoverFooter,
|
|
204
195
|
PopoverHeader,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
196
|
+
default33 as PreventPropagation,
|
|
197
|
+
default88 as PublishModal,
|
|
198
|
+
default34 as Radio,
|
|
199
|
+
default35 as RadioCard,
|
|
209
200
|
ResourceModal,
|
|
210
|
-
|
|
201
|
+
default36 as SearchBar,
|
|
211
202
|
default13 as SearchButton,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
default42 as
|
|
219
|
-
default43 as
|
|
220
|
-
default44 as Switch,
|
|
221
|
-
default45 as Table,
|
|
203
|
+
default37 as Select,
|
|
204
|
+
default92 as ShareBlog,
|
|
205
|
+
default91 as ShareModal,
|
|
206
|
+
default46 as SortableTree,
|
|
207
|
+
default40 as StackedGroup,
|
|
208
|
+
default41 as Stepper,
|
|
209
|
+
default42 as Switch,
|
|
210
|
+
default43 as Table,
|
|
222
211
|
Tabs,
|
|
223
|
-
|
|
224
|
-
|
|
212
|
+
default44 as TextArea,
|
|
213
|
+
default39 as TextSkeleton,
|
|
225
214
|
Toolbar,
|
|
226
|
-
|
|
227
|
-
|
|
215
|
+
default45 as Tooltip,
|
|
216
|
+
default47 as Tree,
|
|
228
217
|
TreeNode,
|
|
229
218
|
TreeNodeFolderWrapper,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
default106 as VideoEmbed,
|
|
235
|
-
default107 as VideoRecorder,
|
|
236
|
-
default51 as VisuallyHidden,
|
|
219
|
+
default48 as TreeView,
|
|
220
|
+
default100 as VideoEmbed,
|
|
221
|
+
default101 as VideoRecorder,
|
|
222
|
+
default49 as VisuallyHidden,
|
|
237
223
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
238
224
|
WORKSPACE_USER_FOLDER_ID,
|
|
239
|
-
|
|
240
|
-
|
|
225
|
+
default102 as Workspace,
|
|
226
|
+
default103 as WorkspaceFolders,
|
|
241
227
|
addNode,
|
|
242
228
|
arrayUnique,
|
|
243
229
|
buildTree,
|
|
@@ -259,58 +245,56 @@ export {
|
|
|
259
245
|
getIndicesToUpdate,
|
|
260
246
|
getProjection,
|
|
261
247
|
hasChildren,
|
|
262
|
-
invalidateQueriesWithFirstPage,
|
|
263
248
|
mergeRefs,
|
|
264
249
|
modifyNode,
|
|
265
250
|
moveNode,
|
|
266
251
|
setRef,
|
|
267
252
|
updateNode,
|
|
268
253
|
updateParentIds,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
254
|
+
default50 as useBookmark,
|
|
255
|
+
default51 as useBreakpoint,
|
|
256
|
+
default52 as useBrowserInfo,
|
|
257
|
+
default53 as useCantoo,
|
|
273
258
|
useCheckable,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
259
|
+
default54 as useClickOutside,
|
|
260
|
+
default55 as useConversation,
|
|
261
|
+
default56 as useDate,
|
|
262
|
+
default57 as useDebounce,
|
|
263
|
+
default58 as useDirectory,
|
|
264
|
+
default59 as useDropdown,
|
|
265
|
+
default60 as useDropzone,
|
|
281
266
|
useDropzoneContext,
|
|
282
267
|
useEdificeClient,
|
|
283
|
-
|
|
268
|
+
default61 as useEdificeIcons,
|
|
284
269
|
useEdificeTheme,
|
|
285
|
-
|
|
286
|
-
|
|
270
|
+
default62 as useHasWorkflow,
|
|
271
|
+
default63 as useHover,
|
|
287
272
|
useHttpErrorToast,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
default79 as useTrashedResource,
|
|
273
|
+
default64 as useImage,
|
|
274
|
+
default66 as useIsAdmc,
|
|
275
|
+
default65 as useIsAdml,
|
|
276
|
+
default67 as useIsAdmlcOrAdmc,
|
|
277
|
+
default68 as useKeyPress,
|
|
278
|
+
default69 as useLibraryUrl,
|
|
279
|
+
default70 as useMediaLibrary,
|
|
280
|
+
default71 as useScrollToTop,
|
|
281
|
+
default93 as useShareMutation,
|
|
282
|
+
default72 as useTitle,
|
|
283
|
+
default73 as useToast,
|
|
284
|
+
default74 as useToggle,
|
|
285
|
+
default75 as useTrapFocus,
|
|
286
|
+
default76 as useTrashedResource,
|
|
303
287
|
useTreeSortable,
|
|
304
288
|
useTreeView,
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
289
|
+
default90 as useUpdateMutation,
|
|
290
|
+
default77 as useUpload,
|
|
291
|
+
default78 as useUploadFiles,
|
|
292
|
+
default79 as useUser,
|
|
293
|
+
default80 as useWorkspaceFile,
|
|
294
|
+
default81 as useWorkspaceFolders,
|
|
295
|
+
default82 as useWorkspaceFoldersTree,
|
|
296
|
+
default83 as useWorkspaceSearch,
|
|
297
|
+
default84 as useXitiTrackPageLoad,
|
|
298
|
+
default85 as useZendeskGuide,
|
|
315
299
|
wrapTreeNode
|
|
316
300
|
};
|
package/dist/modals.js
CHANGED
|
@@ -3,10 +3,9 @@ import { default as default3 } from "./modules/modals/OnboardingModal/Onboarding
|
|
|
3
3
|
import { default as default4 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
4
4
|
import { default as default5 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
5
5
|
import { default as default6 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
6
|
-
import { default as default7 } from "./modules/modals/ShareModal/
|
|
7
|
-
import { default as default8 } from "./modules/modals/ShareModal/
|
|
8
|
-
import { default as default9 } from "./modules/modals/ShareModal/
|
|
9
|
-
import { default as default10 } from "./modules/modals/ShareModal/ShareResources.js";
|
|
6
|
+
import { default as default7 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
7
|
+
import { default as default8 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
8
|
+
import { default as default9 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
10
9
|
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
11
10
|
export {
|
|
12
11
|
default5 as BlogPublic,
|
|
@@ -14,9 +13,8 @@ export {
|
|
|
14
13
|
default3 as OnboardingModal,
|
|
15
14
|
default4 as PublishModal,
|
|
16
15
|
ResourceModal,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
default8 as useShareMutation,
|
|
16
|
+
default8 as ShareBlog,
|
|
17
|
+
default7 as ShareModal,
|
|
18
|
+
default9 as useShareMutation,
|
|
21
19
|
default6 as useUpdateMutation
|
|
22
20
|
};
|
|
@@ -8,9 +8,9 @@ import { BadgeProfile } from "./BadgeProfile.js";
|
|
|
8
8
|
import { CommentAvatar } from "./CommentAvatar.js";
|
|
9
9
|
import { CommentDate } from "./CommentDate.js";
|
|
10
10
|
import { CommentTitle } from "./CommentTitle.js";
|
|
11
|
+
import { TextCounter } from "./TextCounter.js";
|
|
11
12
|
import { CommentDeleted } from "./CommentDeleted.js";
|
|
12
13
|
import { CommentReplies } from "./CommentReplies.js";
|
|
13
|
-
import { TextCounter } from "./TextCounter.js";
|
|
14
14
|
import Button from "../../../components/Button/Button.js";
|
|
15
15
|
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
16
16
|
const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comment = ({
|
|
@@ -41,8 +41,6 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
41
41
|
handleReplyToComment
|
|
42
42
|
} = useCommentsContext(), replies = (defaultComments == null ? void 0 : defaultComments.filter((comm) => comm.replyTo === comment.id)) ?? [], hasReplies = replies.length > 0, hasAllDeletedReplies = replies.every((reply) => reply.deleted), isEditing = editCommentId === comment.id, handleChangeContent = (event) => {
|
|
43
43
|
resizeTextarea(), setValue(event.target.value);
|
|
44
|
-
}, handleDeleteComment = (id2) => {
|
|
45
|
-
onDeleteComment(id2), setIsDeleteModalOpen(!1);
|
|
46
44
|
};
|
|
47
45
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
48
46
|
comment.deleted && hasReplies && !hasAllDeletedReplies && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -85,7 +83,7 @@ const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comm
|
|
|
85
83
|
] })
|
|
86
84
|
] }, id),
|
|
87
85
|
/* @__PURE__ */ jsx(CommentReplies, { parentComment: comment }),
|
|
88
|
-
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingScreen, { position: !1 }), children: isDeleteModalOpen && /* @__PURE__ */ jsx(DeleteModal, { isOpen: isDeleteModalOpen, onCancel: () => setIsDeleteModalOpen(!1), onSuccess: () =>
|
|
86
|
+
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingScreen, { position: !1 }), children: isDeleteModalOpen && /* @__PURE__ */ jsx(DeleteModal, { isOpen: isDeleteModalOpen, onCancel: () => setIsDeleteModalOpen(!1), onSuccess: () => onDeleteComment(id) }) })
|
|
89
87
|
] })
|
|
90
88
|
] });
|
|
91
89
|
};
|
|
@@ -14,7 +14,7 @@ function CommentList() {
|
|
|
14
14
|
const {
|
|
15
15
|
authorId
|
|
16
16
|
} = comment, profile = ((_a = profiles == null ? void 0 : profiles.find((user2) => (user2 == null ? void 0 : user2.userId) === authorId)) == null ? void 0 : _a.profile) ?? "Guest";
|
|
17
|
-
return /* @__PURE__ */ jsx("div", {
|
|
17
|
+
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Comment, { comment, profile, userId: user == null ? void 0 : user.userId }) }, comment.id);
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
export {
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation } from "react-i18next";
|
|
3
2
|
import Modal from "../../../components/Modal/Modal.js";
|
|
4
3
|
import Button from "../../../components/Button/Button.js";
|
|
5
4
|
const DeleteModal = ({
|
|
6
5
|
isOpen,
|
|
7
6
|
onCancel,
|
|
8
7
|
onSuccess
|
|
9
|
-
}) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/* @__PURE__ */ jsx(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* @__PURE__ */ jsx(Button, { color: "tertiary", onClick: onCancel, type: "button", variant: "ghost", children: t("cancel") }),
|
|
18
|
-
/* @__PURE__ */ jsx(Button, { color: "danger", onClick: onSuccess, type: "button", variant: "filled", children: t("comment.delete.modal.delete") })
|
|
19
|
-
] })
|
|
20
|
-
] });
|
|
21
|
-
};
|
|
8
|
+
}) => /* @__PURE__ */ jsxs(Modal, { isOpen, onModalClose: onCancel, id: "delete-comment-modal", children: [
|
|
9
|
+
/* @__PURE__ */ jsx(Modal.Header, { onModalClose: onCancel, children: "Suppression de commentaire" }),
|
|
10
|
+
/* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx("p", { children: "Voulez-vous vraiment supprimer ce commentaire ?" }) }),
|
|
11
|
+
/* @__PURE__ */ jsxs(Modal.Footer, { children: [
|
|
12
|
+
/* @__PURE__ */ jsx(Button, { color: "tertiary", onClick: onCancel, type: "button", variant: "ghost", children: "Annuler" }),
|
|
13
|
+
/* @__PURE__ */ jsx(Button, { color: "danger", onClick: onSuccess, type: "button", variant: "filled", children: "Supprimer le commentaire" })
|
|
14
|
+
] })
|
|
15
|
+
] });
|
|
22
16
|
export {
|
|
23
17
|
DeleteModal,
|
|
24
18
|
DeleteModal as default
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export * from './Editor';
|
|
2
2
|
export { default as Editor } from './Editor';
|
|
3
|
-
export { default as EditorPreview } from './EditorPreview';
|
|
4
|
-
export { default as EditorPreviewSkeleton } from './EditorPreviewSkeleton';
|
|
5
3
|
export { default as EditorSkeleton } from './EditorSkeleton';
|
|
@@ -31,7 +31,7 @@ const AttachmentRenderer = (props) => {
|
|
|
31
31
|
}, "data-drag-handle": !0, children: [
|
|
32
32
|
/* @__PURE__ */ jsx("p", { className: "m-12 mt-0", children: t("tiptap.attachments.bloc") }),
|
|
33
33
|
/* @__PURE__ */ jsx(Grid, { children: attachmentArrayAttrs == null ? void 0 : attachmentArrayAttrs.map((attachment, index) => /* @__PURE__ */ jsx(Grid.Col, { sm: "6", children: /* @__PURE__ */ jsx(Attachment, { name: attachment.name, options: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
34
|
-
/* @__PURE__ */ jsx("a", { href: attachment.href,
|
|
34
|
+
/* @__PURE__ */ jsx("a", { href: attachment.href, download: !0, children: /* @__PURE__ */ jsx(IconButton, { "aria-label": t("tiptap.attachments.download"), color: "tertiary", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDownload, {}), variant: "ghost" }) }),
|
|
35
35
|
editable && /* @__PURE__ */ jsx(IconButton, { "aria-label": t("tiptap.attachments.delete"), color: "danger", type: "button", icon: /* @__PURE__ */ jsx(SvgIconDelete, {}), variant: "ghost", onClick: () => handleDelete(index, attachment.documentId) })
|
|
36
36
|
] }) }) }, index)) })
|
|
37
37
|
] }) });
|
|
@@ -5,7 +5,6 @@ const useMediaLibraryEditor = (editor) => {
|
|
|
5
5
|
const {
|
|
6
6
|
remove
|
|
7
7
|
} = useWorkspaceFile(), appendResult = useCallback((type, result) => {
|
|
8
|
-
var _a;
|
|
9
8
|
if (!(!type || !editor))
|
|
10
9
|
switch (type) {
|
|
11
10
|
case "image": {
|
|
@@ -49,7 +48,7 @@ const useMediaLibraryEditor = (editor) => {
|
|
|
49
48
|
let innerHtml = "";
|
|
50
49
|
for (let i = 0; i < result.length; i++) {
|
|
51
50
|
const link = result[i];
|
|
52
|
-
innerHtml += `<a href="/workspace/${link.public ? "pub/" : ""}document/${link._id}"
|
|
51
|
+
innerHtml += `<a href="/workspace/${link.public ? "pub/" : ""}document/${link._id}">${link.name}
|
|
53
52
|
</a>`;
|
|
54
53
|
}
|
|
55
54
|
const richContent = `<div class="attachments">
|
|
@@ -81,7 +80,7 @@ const useMediaLibraryEditor = (editor) => {
|
|
|
81
80
|
};
|
|
82
81
|
if (Array.isArray(resourceTabResult.resources))
|
|
83
82
|
resourceTabResult.resources.forEach((link) => {
|
|
84
|
-
var
|
|
83
|
+
var _a;
|
|
85
84
|
editor.state.selection.empty && insertAndSelectText(link.name), editor == null || editor.commands.setLink({
|
|
86
85
|
href: link.path,
|
|
87
86
|
target: resourceTabResult.target ?? null
|
|
@@ -90,7 +89,7 @@ const useMediaLibraryEditor = (editor) => {
|
|
|
90
89
|
editor.commands.setTextSelection({
|
|
91
90
|
from: newPosition,
|
|
92
91
|
to: newPosition
|
|
93
|
-
}), resourceTabResult != null && resourceTabResult.resources && ((
|
|
92
|
+
}), resourceTabResult != null && resourceTabResult.resources && ((_a = resourceTabResult == null ? void 0 : resourceTabResult.resources) == null ? void 0 : _a.length) > 1 && editor.commands.enter();
|
|
94
93
|
});
|
|
95
94
|
else {
|
|
96
95
|
const {
|
|
@@ -24,7 +24,6 @@ export { default as IconCantoo } from './IconCantoo';
|
|
|
24
24
|
export { default as IconCenter } from './IconCenter';
|
|
25
25
|
export { default as IconCheck } from './IconCheck';
|
|
26
26
|
export { default as IconChecklist } from './IconChecklist';
|
|
27
|
-
export { default as IconClockAlert } from './IconClockAlert';
|
|
28
27
|
export { default as IconClock } from './IconClock';
|
|
29
28
|
export { default as IconCloseFullScreen } from './IconCloseFullScreen';
|
|
30
29
|
export { default as IconClose } from './IconClose';
|
|
@@ -4,5 +4,5 @@ export declare const ShareBookmark: ({ bookmark, refBookmark, onBookmarkChange,
|
|
|
4
4
|
bookmark: BookmarkProps;
|
|
5
5
|
refBookmark: Ref<HTMLInputElement>;
|
|
6
6
|
onBookmarkChange: () => void;
|
|
7
|
-
onSave: () =>
|
|
7
|
+
onSave: () => void;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|