@edifice.io/react 2.5.4-develop-b2school-actualites.20251209155049 → 2.5.4-develop-pedago.20251210191801
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/Flex/Flex.js +1 -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/icons.js +298 -296
- package/dist/index.js +170 -180
- 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/MediaRenderer.js +2 -2
- package/dist/modules/editor/hooks/useResizeMedia.js +3 -3
- package/dist/modules/icons/components/IconThumbDown.d.ts +7 -0
- package/dist/modules/icons/components/IconThumbDown.js +12 -0
- package/dist/modules/icons/components/IconThumbUp.d.ts +7 -0
- package/dist/modules/icons/components/IconThumbUp.js +12 -0
- package/dist/modules/icons/components/index.d.ts +2 -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/FileCard/FileCard.js +1 -1
- package/dist/modules/multimedia/FileCard/FileIcon.js +1 -1
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +4 -1
- package/dist/style.css +1 -1
- package/dist/utilities/index.d.ts +0 -1
- package/package.json +6 -6
- package/dist/components/Divider/Divider.d.ts +0 -37
- package/dist/components/Divider/Divider.js +0 -10
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +0 -65
- package/dist/components/SegmentedControl/SegmentedControl.js +0 -19
- 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 -173
- 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,97 +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/Workspace/Workspace.js";
|
|
108
|
-
import { default as default107 } 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";
|
|
109
105
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
110
106
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
111
107
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -134,7 +130,6 @@ import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemePr
|
|
|
134
130
|
import { MockedProvider } from "./providers/MockedProvider/MockedProvider.js";
|
|
135
131
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
136
132
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
137
|
-
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
138
133
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
139
134
|
export {
|
|
140
135
|
AccessiblePalette,
|
|
@@ -144,94 +139,91 @@ export {
|
|
|
144
139
|
default4 as AppHeader,
|
|
145
140
|
default5 as AppIcon,
|
|
146
141
|
default6 as Attachment,
|
|
147
|
-
|
|
142
|
+
default94 as AudioRecorder,
|
|
148
143
|
default7 as Avatar,
|
|
149
144
|
default8 as AvatarGroup,
|
|
150
145
|
default9 as Badge,
|
|
151
|
-
|
|
146
|
+
default89 as BlogPublic,
|
|
152
147
|
default10 as Breadcrumb,
|
|
153
148
|
default11 as Button,
|
|
154
|
-
|
|
149
|
+
default38 as ButtonSkeleton,
|
|
155
150
|
default14 as Card,
|
|
156
151
|
default15 as Checkbox,
|
|
157
152
|
default16 as ColorPicker,
|
|
158
153
|
default17 as ColorPickerItem,
|
|
159
154
|
Column,
|
|
160
155
|
default18 as Combobox,
|
|
161
|
-
|
|
156
|
+
default86 as ConfirmModal,
|
|
162
157
|
DefaultPalette,
|
|
163
|
-
default19 as Divider,
|
|
164
158
|
DndTree,
|
|
165
|
-
|
|
166
|
-
|
|
159
|
+
default19 as Dropdown,
|
|
160
|
+
default20 as Dropzone,
|
|
167
161
|
DropzoneContext,
|
|
168
162
|
EdificeClientContext,
|
|
169
163
|
EdificeClientProvider,
|
|
170
164
|
EdificeThemeContext,
|
|
171
165
|
EdificeThemeProvider,
|
|
172
|
-
|
|
173
|
-
|
|
166
|
+
default95 as Embed,
|
|
167
|
+
default21 as EmptyScreen,
|
|
174
168
|
ExternalLinker,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
169
|
+
default98 as FileCard,
|
|
170
|
+
default22 as Flex,
|
|
171
|
+
default24 as FormControl,
|
|
172
|
+
default23 as FormText,
|
|
179
173
|
Grid,
|
|
180
|
-
|
|
174
|
+
default25 as Heading,
|
|
181
175
|
default12 as IconButton,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
176
|
+
default26 as Image,
|
|
177
|
+
default96 as ImageEditor,
|
|
178
|
+
default97 as ImagePicker,
|
|
179
|
+
default27 as Input,
|
|
186
180
|
InternalLinker,
|
|
187
|
-
|
|
181
|
+
default28 as Label,
|
|
188
182
|
Layout,
|
|
189
183
|
List,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
184
|
+
default29 as Loading,
|
|
185
|
+
default30 as LoadingScreen,
|
|
186
|
+
default31 as Logo,
|
|
187
|
+
default99 as MediaLibrary,
|
|
194
188
|
Menu,
|
|
195
189
|
MockedProvider,
|
|
196
|
-
|
|
197
|
-
|
|
190
|
+
default32 as Modal,
|
|
191
|
+
default87 as OnboardingModal,
|
|
198
192
|
Popover,
|
|
199
193
|
PopoverBody,
|
|
200
194
|
PopoverFooter,
|
|
201
195
|
PopoverHeader,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
196
|
+
default33 as PreventPropagation,
|
|
197
|
+
default88 as PublishModal,
|
|
198
|
+
default34 as Radio,
|
|
199
|
+
default35 as RadioCard,
|
|
206
200
|
ResourceModal,
|
|
207
|
-
|
|
201
|
+
default36 as SearchBar,
|
|
208
202
|
default13 as SearchButton,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
default42 as
|
|
216
|
-
default43 as
|
|
217
|
-
default44 as Switch,
|
|
218
|
-
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,
|
|
219
211
|
Tabs,
|
|
220
|
-
|
|
221
|
-
|
|
212
|
+
default44 as TextArea,
|
|
213
|
+
default39 as TextSkeleton,
|
|
222
214
|
Toolbar,
|
|
223
|
-
|
|
224
|
-
|
|
215
|
+
default45 as Tooltip,
|
|
216
|
+
default47 as Tree,
|
|
225
217
|
TreeNode,
|
|
226
218
|
TreeNodeFolderWrapper,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
219
|
+
default48 as TreeView,
|
|
220
|
+
default100 as VideoEmbed,
|
|
221
|
+
default101 as VideoRecorder,
|
|
222
|
+
default49 as VisuallyHidden,
|
|
231
223
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
232
224
|
WORKSPACE_USER_FOLDER_ID,
|
|
233
|
-
|
|
234
|
-
|
|
225
|
+
default102 as Workspace,
|
|
226
|
+
default103 as WorkspaceFolders,
|
|
235
227
|
addNode,
|
|
236
228
|
arrayUnique,
|
|
237
229
|
buildTree,
|
|
@@ -253,58 +245,56 @@ export {
|
|
|
253
245
|
getIndicesToUpdate,
|
|
254
246
|
getProjection,
|
|
255
247
|
hasChildren,
|
|
256
|
-
invalidateQueriesWithFirstPage,
|
|
257
248
|
mergeRefs,
|
|
258
249
|
modifyNode,
|
|
259
250
|
moveNode,
|
|
260
251
|
setRef,
|
|
261
252
|
updateNode,
|
|
262
253
|
updateParentIds,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
254
|
+
default50 as useBookmark,
|
|
255
|
+
default51 as useBreakpoint,
|
|
256
|
+
default52 as useBrowserInfo,
|
|
257
|
+
default53 as useCantoo,
|
|
267
258
|
useCheckable,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
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,
|
|
275
266
|
useDropzoneContext,
|
|
276
267
|
useEdificeClient,
|
|
277
|
-
|
|
268
|
+
default61 as useEdificeIcons,
|
|
278
269
|
useEdificeTheme,
|
|
279
|
-
|
|
280
|
-
|
|
270
|
+
default62 as useHasWorkflow,
|
|
271
|
+
default63 as useHover,
|
|
281
272
|
useHttpErrorToast,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
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,
|
|
297
287
|
useTreeSortable,
|
|
298
288
|
useTreeView,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
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,
|
|
309
299
|
wrapTreeNode
|
|
310
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';
|
|
@@ -18,7 +18,7 @@ const MediaRenderer = (props) => {
|
|
|
18
18
|
startVerticalResize,
|
|
19
19
|
stopVerticalResize,
|
|
20
20
|
isVerticalResizeActive
|
|
21
|
-
} = useResizeMedia(props, resizableMedia),
|
|
21
|
+
} = useResizeMedia(props, resizableMedia), alignContent = (textalign) => {
|
|
22
22
|
switch (textalign) {
|
|
23
23
|
case "center":
|
|
24
24
|
case "justify":
|
|
@@ -66,7 +66,7 @@ const MediaRenderer = (props) => {
|
|
|
66
66
|
case "iframe":
|
|
67
67
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68
68
|
/* @__PURE__ */ jsx("div", { className: "iframe-node-view" }),
|
|
69
|
-
/* @__PURE__ */ jsx("iframe", { ref: resizableMedia, src: node.attrs.src, width, height, allowFullScreen: node.attrs.allowfullscreen ?? !0 })
|
|
69
|
+
/* @__PURE__ */ jsx("iframe", { ref: resizableMedia, src: node.attrs.src, width: node.attrs.width, height: node.attrs.height, allowFullScreen: node.attrs.allowfullscreen ?? !0 })
|
|
70
70
|
] });
|
|
71
71
|
default:
|
|
72
72
|
return null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef, useEffect } from "react";
|
|
2
|
-
const
|
|
3
|
-
const aspectRatio = useRef(0), lastCursorX = useRef(-1), isVerticalResizeActive = useRef(!1), proseMirrorContainerWidth = useRef(0),
|
|
2
|
+
const useResizeMedia = (props, refResizable, forcedAspectRatio) => {
|
|
3
|
+
const aspectRatio = useRef(0), lastCursorX = useRef(-1), isVerticalResizeActive = useRef(!1), proseMirrorContainerWidth = useRef(0), readCurrentPixelWidth = () => {
|
|
4
4
|
const el = refResizable.current;
|
|
5
5
|
if (!el) return 0;
|
|
6
6
|
const rect = el.getBoundingClientRect();
|
|
@@ -22,7 +22,7 @@ const MIN_WIDTH = 80, useResizeMedia = (props, refResizable, forcedAspectRatio)
|
|
|
22
22
|
}, []);
|
|
23
23
|
const clampWidth = (w) => {
|
|
24
24
|
let width = w;
|
|
25
|
-
return proseMirrorContainerWidth.current > 0 && width > proseMirrorContainerWidth.current && (width = proseMirrorContainerWidth.current),
|
|
25
|
+
return proseMirrorContainerWidth.current > 0 && width > proseMirrorContainerWidth.current && (width = proseMirrorContainerWidth.current), Math.round(width);
|
|
26
26
|
}, onVerticalResize = (direction, diff) => {
|
|
27
27
|
const currWidth = readCurrentPixelWidth();
|
|
28
28
|
if (!currWidth) return;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconThumbDown: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconThumbDown;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconThumbDown = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
|
|
7
|
+
title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
|
|
8
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.069 15a1.67 1.67 0 0 0 1.16 1.588l3.007-6.765V1.667H3.66a.834.834 0 0 0-.834.708v.002l-1.15 7.498-.009.09a.835.835 0 0 0 .843.869h4.726c.46 0 .833.373.833.833zm8.333-12.5a.833.833 0 0 0-.833-.833h-1.667v7.5h1.667a.833.833 0 0 0 .833-.833zm-10 10H2.52a2.5 2.5 0 0 1-2.49-2.875l1.15-7.5A2.5 2.5 0 0 1 3.668 0h11.9a2.5 2.5 0 0 1 2.5 2.5v5.833a2.5 2.5 0 0 1-2.5 2.5H13.61l-3.114 7.005-.057.108a.83.83 0 0 1-.704.387 3.333 3.333 0 0 1-3.334-3.333z", clipRule: "evenodd" })
|
|
9
|
+
] });
|
|
10
|
+
export {
|
|
11
|
+
SvgIconThumbDown as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconThumbUp: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconThumbUp;
|