@edifice.io/react 2.5.4-develop-b2school.20251215115453 → 2.5.4-develop-pedago.20251217124252
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 +174 -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/modules/multimedia/MediaLibrary/index.d.ts +2 -0
- package/dist/multimedia.js +12 -8
- 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 -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,97 +15,94 @@ 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
|
|
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/UploadFiles/UploadFiles.js";
|
|
102
|
+
import { default as default101 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
103
|
+
import { default as default102 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
104
|
+
import { default as default103 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
105
|
+
import { default as default104 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
109
106
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
110
107
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
111
108
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -124,6 +121,7 @@ import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
|
124
121
|
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
125
122
|
import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
|
|
126
123
|
import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
|
|
124
|
+
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
127
125
|
import { AntProvider } from "./providers/AntThemeProvider/AntProvider.js";
|
|
128
126
|
import { EdificeClientProvider } from "./providers/EdificeClientProvider/EdificeClientProvider.js";
|
|
129
127
|
import { EdificeClientContext } from "./providers/EdificeClientProvider/EdificeClientProvider.context.js";
|
|
@@ -134,7 +132,6 @@ import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemePr
|
|
|
134
132
|
import { MockedProvider } from "./providers/MockedProvider/MockedProvider.js";
|
|
135
133
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
136
134
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
137
|
-
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
138
135
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
139
136
|
export {
|
|
140
137
|
AccessiblePalette,
|
|
@@ -144,94 +141,93 @@ export {
|
|
|
144
141
|
default4 as AppHeader,
|
|
145
142
|
default5 as AppIcon,
|
|
146
143
|
default6 as Attachment,
|
|
147
|
-
|
|
144
|
+
default94 as AudioRecorder,
|
|
148
145
|
default7 as Avatar,
|
|
149
146
|
default8 as AvatarGroup,
|
|
150
147
|
default9 as Badge,
|
|
151
|
-
|
|
148
|
+
default89 as BlogPublic,
|
|
152
149
|
default10 as Breadcrumb,
|
|
153
150
|
default11 as Button,
|
|
154
|
-
|
|
151
|
+
default38 as ButtonSkeleton,
|
|
155
152
|
default14 as Card,
|
|
156
153
|
default15 as Checkbox,
|
|
157
154
|
default16 as ColorPicker,
|
|
158
155
|
default17 as ColorPickerItem,
|
|
159
156
|
Column,
|
|
160
157
|
default18 as Combobox,
|
|
161
|
-
|
|
158
|
+
default86 as ConfirmModal,
|
|
162
159
|
DefaultPalette,
|
|
163
|
-
default19 as Divider,
|
|
164
160
|
DndTree,
|
|
165
|
-
|
|
166
|
-
|
|
161
|
+
default19 as Dropdown,
|
|
162
|
+
default20 as Dropzone,
|
|
167
163
|
DropzoneContext,
|
|
168
164
|
EdificeClientContext,
|
|
169
165
|
EdificeClientProvider,
|
|
170
166
|
EdificeThemeContext,
|
|
171
167
|
EdificeThemeProvider,
|
|
172
|
-
|
|
173
|
-
|
|
168
|
+
default95 as Embed,
|
|
169
|
+
default21 as EmptyScreen,
|
|
174
170
|
ExternalLinker,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
171
|
+
default98 as FileCard,
|
|
172
|
+
default22 as Flex,
|
|
173
|
+
default24 as FormControl,
|
|
174
|
+
default23 as FormText,
|
|
179
175
|
Grid,
|
|
180
|
-
|
|
176
|
+
default25 as Heading,
|
|
181
177
|
default12 as IconButton,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
178
|
+
default26 as Image,
|
|
179
|
+
default96 as ImageEditor,
|
|
180
|
+
default97 as ImagePicker,
|
|
181
|
+
default27 as Input,
|
|
186
182
|
InternalLinker,
|
|
187
|
-
|
|
183
|
+
default28 as Label,
|
|
188
184
|
Layout,
|
|
189
185
|
List,
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
186
|
+
default29 as Loading,
|
|
187
|
+
default30 as LoadingScreen,
|
|
188
|
+
default31 as Logo,
|
|
189
|
+
default99 as MediaLibrary,
|
|
194
190
|
Menu,
|
|
195
191
|
MockedProvider,
|
|
196
|
-
|
|
197
|
-
|
|
192
|
+
default32 as Modal,
|
|
193
|
+
default87 as OnboardingModal,
|
|
198
194
|
Popover,
|
|
199
195
|
PopoverBody,
|
|
200
196
|
PopoverFooter,
|
|
201
197
|
PopoverHeader,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
198
|
+
default33 as PreventPropagation,
|
|
199
|
+
default88 as PublishModal,
|
|
200
|
+
default34 as Radio,
|
|
201
|
+
default35 as RadioCard,
|
|
206
202
|
ResourceModal,
|
|
207
|
-
|
|
203
|
+
default36 as SearchBar,
|
|
208
204
|
default13 as SearchButton,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
default42 as
|
|
216
|
-
default43 as
|
|
217
|
-
default44 as Switch,
|
|
218
|
-
default45 as Table,
|
|
205
|
+
default37 as Select,
|
|
206
|
+
default92 as ShareBlog,
|
|
207
|
+
default91 as ShareModal,
|
|
208
|
+
default46 as SortableTree,
|
|
209
|
+
default40 as StackedGroup,
|
|
210
|
+
default41 as Stepper,
|
|
211
|
+
default42 as Switch,
|
|
212
|
+
default43 as Table,
|
|
219
213
|
Tabs,
|
|
220
|
-
|
|
221
|
-
|
|
214
|
+
default44 as TextArea,
|
|
215
|
+
default39 as TextSkeleton,
|
|
222
216
|
Toolbar,
|
|
223
|
-
|
|
224
|
-
|
|
217
|
+
default45 as Tooltip,
|
|
218
|
+
default47 as Tree,
|
|
225
219
|
TreeNode,
|
|
226
220
|
TreeNodeFolderWrapper,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
221
|
+
default48 as TreeView,
|
|
222
|
+
Upload,
|
|
223
|
+
default100 as UploadFiles,
|
|
224
|
+
default101 as VideoEmbed,
|
|
225
|
+
default102 as VideoRecorder,
|
|
226
|
+
default49 as VisuallyHidden,
|
|
231
227
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
232
228
|
WORKSPACE_USER_FOLDER_ID,
|
|
233
|
-
|
|
234
|
-
|
|
229
|
+
default103 as Workspace,
|
|
230
|
+
default104 as WorkspaceFolders,
|
|
235
231
|
addNode,
|
|
236
232
|
arrayUnique,
|
|
237
233
|
buildTree,
|
|
@@ -253,58 +249,56 @@ export {
|
|
|
253
249
|
getIndicesToUpdate,
|
|
254
250
|
getProjection,
|
|
255
251
|
hasChildren,
|
|
256
|
-
invalidateQueriesWithFirstPage,
|
|
257
252
|
mergeRefs,
|
|
258
253
|
modifyNode,
|
|
259
254
|
moveNode,
|
|
260
255
|
setRef,
|
|
261
256
|
updateNode,
|
|
262
257
|
updateParentIds,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
258
|
+
default50 as useBookmark,
|
|
259
|
+
default51 as useBreakpoint,
|
|
260
|
+
default52 as useBrowserInfo,
|
|
261
|
+
default53 as useCantoo,
|
|
267
262
|
useCheckable,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
263
|
+
default54 as useClickOutside,
|
|
264
|
+
default55 as useConversation,
|
|
265
|
+
default56 as useDate,
|
|
266
|
+
default57 as useDebounce,
|
|
267
|
+
default58 as useDirectory,
|
|
268
|
+
default59 as useDropdown,
|
|
269
|
+
default60 as useDropzone,
|
|
275
270
|
useDropzoneContext,
|
|
276
271
|
useEdificeClient,
|
|
277
|
-
|
|
272
|
+
default61 as useEdificeIcons,
|
|
278
273
|
useEdificeTheme,
|
|
279
|
-
|
|
280
|
-
|
|
274
|
+
default62 as useHasWorkflow,
|
|
275
|
+
default63 as useHover,
|
|
281
276
|
useHttpErrorToast,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
default79 as useTrashedResource,
|
|
277
|
+
default64 as useImage,
|
|
278
|
+
default66 as useIsAdmc,
|
|
279
|
+
default65 as useIsAdml,
|
|
280
|
+
default67 as useIsAdmlcOrAdmc,
|
|
281
|
+
default68 as useKeyPress,
|
|
282
|
+
default69 as useLibraryUrl,
|
|
283
|
+
default70 as useMediaLibrary,
|
|
284
|
+
default71 as useScrollToTop,
|
|
285
|
+
default93 as useShareMutation,
|
|
286
|
+
default72 as useTitle,
|
|
287
|
+
default73 as useToast,
|
|
288
|
+
default74 as useToggle,
|
|
289
|
+
default75 as useTrapFocus,
|
|
290
|
+
default76 as useTrashedResource,
|
|
297
291
|
useTreeSortable,
|
|
298
292
|
useTreeView,
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
293
|
+
default90 as useUpdateMutation,
|
|
294
|
+
default77 as useUpload,
|
|
295
|
+
default78 as useUploadFiles,
|
|
296
|
+
default79 as useUser,
|
|
297
|
+
default80 as useWorkspaceFile,
|
|
298
|
+
default81 as useWorkspaceFolders,
|
|
299
|
+
default82 as useWorkspaceFoldersTree,
|
|
300
|
+
default83 as useWorkspaceSearch,
|
|
301
|
+
default84 as useXitiTrackPageLoad,
|
|
302
|
+
default85 as useZendeskGuide,
|
|
309
303
|
wrapTreeNode
|
|
310
304
|
};
|
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
|
+
};
|