@edifice.io/react 2.0.5 → 2.1.0-develop-b2school.20250204153130
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/AppIcon.js +1 -1
- package/dist/components/Attachment/Attachment.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Dropdown/DropdownTrigger.js +5 -1
- package/dist/components/Form/FormContext.js +1 -1
- package/dist/components/Form/FormControl.js +1 -1
- package/dist/components/Layout/components/Header.js +4 -3
- package/dist/components/Layout/components/WidgetApps.js +1 -1
- package/dist/components/List/List.d.ts +9 -1
- package/dist/components/List/List.js +9 -9
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/SearchBar/SearchBar.d.ts +1 -1
- package/dist/components/SearchBar/SearchBar.js +3 -1
- package/dist/hooks/useCheckable/useCheckable.js +1 -1
- package/dist/hooks/useConversation/useConversation.d.ts +1 -1
- package/dist/hooks/useConversation/useConversation.js +13 -17
- package/dist/hooks/useDropdown/useDropdown.js +1 -1
- package/dist/hooks/useDropzone/useDropzone.js +1 -1
- package/dist/hooks/useTrapFocus/useTrapFocus.d.ts +1 -1
- package/dist/hooks/useTrapFocus/useTrapFocus.js +3 -2
- package/dist/hooks/useUploadFiles/useUploadFiles.js +1 -1
- package/dist/icons-apps.js +220 -218
- package/dist/icons.js +116 -112
- package/dist/index.js +106 -106
- package/dist/modules/audience/ReactionModal.Card.js +1 -1
- package/dist/modules/comments/components/Comment.js +10 -7
- package/dist/modules/comments/components/CommentAvatar.js +1 -1
- package/dist/modules/comments/components/DeleteModal.d.ts +7 -0
- package/dist/modules/comments/components/DeleteModal.js +19 -0
- package/dist/modules/comments/context/Context.d.ts +2 -0
- package/dist/modules/comments/hooks/useComments.d.ts +1 -1
- package/dist/modules/comments/hooks/useComments.js +1 -1
- package/dist/modules/comments/hooks/useCommentsContext.d.ts +1 -0
- package/dist/modules/comments/provider/CommentProvider.js +3 -2
- package/dist/modules/comments/types.d.ts +5 -1
- package/dist/modules/editor/components/Editor/Editor.js +1 -1
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +12 -7
- package/dist/modules/editor/components/Renderer/AudioRenderer.js +4 -1
- package/dist/modules/editor/components/Renderer/LinkerRenderer.js +1 -1
- package/dist/modules/editor/hooks/useCommentEditor.d.ts +1 -1
- package/dist/modules/editor/hooks/useTipTapEditor.d.ts +1 -1
- package/dist/modules/editor/hooks/useTipTapEditor.js +4 -4
- package/dist/modules/icons/components/IconReadMail.d.ts +7 -0
- package/dist/modules/icons/components/IconReadMail.js +16 -0
- package/dist/modules/icons/components/IconUnreadMail.d.ts +7 -0
- package/dist/modules/icons/components/IconUnreadMail.js +16 -0
- package/dist/modules/icons/components/apps/IconAppointments.d.ts +7 -0
- package/dist/modules/icons/components/apps/IconAppointments.js +12 -0
- package/dist/modules/icons/components/apps/index.d.ts +1 -0
- package/dist/modules/icons/components/index.d.ts +2 -0
- package/dist/modules/multimedia/UploadCard/UploadCard.js +2 -2
- package/dist/providers/MockedProvider/MockedProvider.js +1 -1
- package/package.json +30 -30
package/dist/icons.js
CHANGED
|
@@ -91,62 +91,64 @@ import { default as default91 } from "./modules/icons/components/IconRafterLeft.
|
|
|
91
91
|
import { default as default92 } from "./modules/icons/components/IconRafterRight.js";
|
|
92
92
|
import { default as default93 } from "./modules/icons/components/IconRafterUp.js";
|
|
93
93
|
import { default as default94 } from "./modules/icons/components/IconReaction.js";
|
|
94
|
-
import { default as default95 } from "./modules/icons/components/
|
|
95
|
-
import { default as default96 } from "./modules/icons/components/
|
|
96
|
-
import { default as default97 } from "./modules/icons/components/
|
|
97
|
-
import { default as default98 } from "./modules/icons/components/
|
|
98
|
-
import { default as default99 } from "./modules/icons/components/
|
|
99
|
-
import { default as default100 } from "./modules/icons/components/
|
|
100
|
-
import { default as default101 } from "./modules/icons/components/
|
|
101
|
-
import { default as default102 } from "./modules/icons/components/
|
|
102
|
-
import { default as default103 } from "./modules/icons/components/
|
|
103
|
-
import { default as default104 } from "./modules/icons/components/
|
|
104
|
-
import { default as default105 } from "./modules/icons/components/
|
|
105
|
-
import { default as default106 } from "./modules/icons/components/
|
|
106
|
-
import { default as default107 } from "./modules/icons/components/
|
|
107
|
-
import { default as default108 } from "./modules/icons/components/
|
|
108
|
-
import { default as default109 } from "./modules/icons/components/
|
|
109
|
-
import { default as default110 } from "./modules/icons/components/
|
|
110
|
-
import { default as default111 } from "./modules/icons/components/
|
|
111
|
-
import { default as default112 } from "./modules/icons/components/
|
|
112
|
-
import { default as default113 } from "./modules/icons/components/
|
|
113
|
-
import { default as default114 } from "./modules/icons/components/
|
|
114
|
-
import { default as default115 } from "./modules/icons/components/
|
|
115
|
-
import { default as default116 } from "./modules/icons/components/
|
|
116
|
-
import { default as default117 } from "./modules/icons/components/
|
|
117
|
-
import { default as default118 } from "./modules/icons/components/
|
|
118
|
-
import { default as default119 } from "./modules/icons/components/
|
|
119
|
-
import { default as default120 } from "./modules/icons/components/
|
|
120
|
-
import { default as default121 } from "./modules/icons/components/
|
|
121
|
-
import { default as default122 } from "./modules/icons/components/
|
|
122
|
-
import { default as default123 } from "./modules/icons/components/
|
|
123
|
-
import { default as default124 } from "./modules/icons/components/
|
|
124
|
-
import { default as default125 } from "./modules/icons/components/
|
|
125
|
-
import { default as default126 } from "./modules/icons/components/
|
|
126
|
-
import { default as default127 } from "./modules/icons/components/
|
|
127
|
-
import { default as default128 } from "./modules/icons/components/
|
|
128
|
-
import { default as default129 } from "./modules/icons/components/
|
|
129
|
-
import { default as default130 } from "./modules/icons/components/
|
|
130
|
-
import { default as default131 } from "./modules/icons/components/
|
|
131
|
-
import { default as default132 } from "./modules/icons/components/
|
|
132
|
-
import { default as default133 } from "./modules/icons/components/
|
|
133
|
-
import { default as default134 } from "./modules/icons/components/
|
|
134
|
-
import { default as default135 } from "./modules/icons/components/
|
|
135
|
-
import { default as default136 } from "./modules/icons/components/
|
|
136
|
-
import { default as default137 } from "./modules/icons/components/
|
|
137
|
-
import { default as default138 } from "./modules/icons/components/
|
|
138
|
-
import { default as default139 } from "./modules/icons/components/
|
|
139
|
-
import { default as default140 } from "./modules/icons/components/
|
|
140
|
-
import { default as default141 } from "./modules/icons/components/
|
|
141
|
-
import { default as default142 } from "./modules/icons/components/
|
|
142
|
-
import { default as default143 } from "./modules/icons/components/
|
|
143
|
-
import { default as default144 } from "./modules/icons/components/
|
|
144
|
-
import { default as default145 } from "./modules/icons/components/
|
|
145
|
-
import { default as default146 } from "./modules/icons/components/
|
|
146
|
-
import { default as default147 } from "./modules/icons/components/
|
|
147
|
-
import { default as default148 } from "./modules/icons/components/
|
|
148
|
-
import { default as default149 } from "./modules/icons/components/
|
|
149
|
-
import { default as default150 } from "./modules/icons/components/
|
|
94
|
+
import { default as default95 } from "./modules/icons/components/IconReadMail.js";
|
|
95
|
+
import { default as default96 } from "./modules/icons/components/IconRecordPause.js";
|
|
96
|
+
import { default as default97 } from "./modules/icons/components/IconRecordStop.js";
|
|
97
|
+
import { default as default98 } from "./modules/icons/components/IconRecordVideo.js";
|
|
98
|
+
import { default as default99 } from "./modules/icons/components/IconRecord.js";
|
|
99
|
+
import { default as default100 } from "./modules/icons/components/IconRedo.js";
|
|
100
|
+
import { default as default101 } from "./modules/icons/components/IconRefresh.js";
|
|
101
|
+
import { default as default102 } from "./modules/icons/components/IconReset.js";
|
|
102
|
+
import { default as default103 } from "./modules/icons/components/IconRestart.js";
|
|
103
|
+
import { default as default104 } from "./modules/icons/components/IconRestore.js";
|
|
104
|
+
import { default as default105 } from "./modules/icons/components/IconSave.js";
|
|
105
|
+
import { default as default106 } from "./modules/icons/components/IconSearch.js";
|
|
106
|
+
import { default as default107 } from "./modules/icons/components/IconSee.js";
|
|
107
|
+
import { default as default108 } from "./modules/icons/components/IconSend.js";
|
|
108
|
+
import { default as default109 } from "./modules/icons/components/IconSetBackground.js";
|
|
109
|
+
import { default as default110 } from "./modules/icons/components/IconSettings.js";
|
|
110
|
+
import { default as default111 } from "./modules/icons/components/IconShare.js";
|
|
111
|
+
import { default as default112 } from "./modules/icons/components/IconSmartphone.js";
|
|
112
|
+
import { default as default113 } from "./modules/icons/components/IconSmiley.js";
|
|
113
|
+
import { default as default114 } from "./modules/icons/components/IconSortAscendingLetters.js";
|
|
114
|
+
import { default as default115 } from "./modules/icons/components/IconSortDescendingLetters.js";
|
|
115
|
+
import { default as default116 } from "./modules/icons/components/IconSortDescending.js";
|
|
116
|
+
import { default as default117 } from "./modules/icons/components/IconSortTime.js";
|
|
117
|
+
import { default as default118 } from "./modules/icons/components/IconSpeechToText.js";
|
|
118
|
+
import { default as default119 } from "./modules/icons/components/IconSplitCells.js";
|
|
119
|
+
import { default as default120 } from "./modules/icons/components/IconSquareRoot.js";
|
|
120
|
+
import { default as default121 } from "./modules/icons/components/IconSubscript.js";
|
|
121
|
+
import { default as default122 } from "./modules/icons/components/IconSuccessFill.js";
|
|
122
|
+
import { default as default123 } from "./modules/icons/components/IconSuccessOutline.js";
|
|
123
|
+
import { default as default124 } from "./modules/icons/components/IconSuperscript.js";
|
|
124
|
+
import { default as default125 } from "./modules/icons/components/IconTable.js";
|
|
125
|
+
import { default as default126 } from "./modules/icons/components/IconTextBold.js";
|
|
126
|
+
import { default as default127 } from "./modules/icons/components/IconTextColor.js";
|
|
127
|
+
import { default as default128 } from "./modules/icons/components/IconTextHighlight.js";
|
|
128
|
+
import { default as default129 } from "./modules/icons/components/IconTextItalic.js";
|
|
129
|
+
import { default as default130 } from "./modules/icons/components/IconTextPage.js";
|
|
130
|
+
import { default as default131 } from "./modules/icons/components/IconTextSize.js";
|
|
131
|
+
import { default as default132 } from "./modules/icons/components/IconTextToSpeech.js";
|
|
132
|
+
import { default as default133 } from "./modules/icons/components/IconTextTypo.js";
|
|
133
|
+
import { default as default134 } from "./modules/icons/components/IconTextUnderline.js";
|
|
134
|
+
import { default as default135 } from "./modules/icons/components/IconTextVanilla.js";
|
|
135
|
+
import { default as default136 } from "./modules/icons/components/IconTool.js";
|
|
136
|
+
import { default as default137 } from "./modules/icons/components/IconTrendingUp.js";
|
|
137
|
+
import { default as default138 } from "./modules/icons/components/IconUndo.js";
|
|
138
|
+
import { default as default139 } from "./modules/icons/components/IconUnlink.js";
|
|
139
|
+
import { default as default140 } from "./modules/icons/components/IconUnlock.js";
|
|
140
|
+
import { default as default141 } from "./modules/icons/components/IconUnreadMail.js";
|
|
141
|
+
import { default as default142 } from "./modules/icons/components/IconUpload.js";
|
|
142
|
+
import { default as default143 } from "./modules/icons/components/IconUserSearch.js";
|
|
143
|
+
import { default as default144 } from "./modules/icons/components/IconUser.js";
|
|
144
|
+
import { default as default145 } from "./modules/icons/components/IconUsers.js";
|
|
145
|
+
import { default as default146 } from "./modules/icons/components/IconVideo.js";
|
|
146
|
+
import { default as default147 } from "./modules/icons/components/IconViewCalendar.js";
|
|
147
|
+
import { default as default148 } from "./modules/icons/components/IconViewList.js";
|
|
148
|
+
import { default as default149 } from "./modules/icons/components/IconWand.js";
|
|
149
|
+
import { default as default150 } from "./modules/icons/components/IconWrite.js";
|
|
150
|
+
import { default as default151 } from "./modules/icons/components/IconZoomIn.js";
|
|
151
|
+
import { default as default152 } from "./modules/icons/components/IconZoomOut.js";
|
|
150
152
|
export {
|
|
151
153
|
default3 as IconAdd,
|
|
152
154
|
default2 as IconAddUser,
|
|
@@ -241,60 +243,62 @@ export {
|
|
|
241
243
|
default92 as IconRafterRight,
|
|
242
244
|
default93 as IconRafterUp,
|
|
243
245
|
default94 as IconReaction,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
default96 as
|
|
247
|
-
default97 as
|
|
248
|
-
|
|
249
|
-
default100 as
|
|
250
|
-
default101 as
|
|
251
|
-
default102 as
|
|
252
|
-
default103 as
|
|
253
|
-
default104 as
|
|
254
|
-
default105 as
|
|
255
|
-
default106 as
|
|
256
|
-
default107 as
|
|
257
|
-
default108 as
|
|
258
|
-
default109 as
|
|
259
|
-
default110 as
|
|
260
|
-
default111 as
|
|
261
|
-
default112 as
|
|
262
|
-
default113 as
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
default117 as
|
|
267
|
-
default118 as
|
|
268
|
-
default119 as
|
|
269
|
-
default120 as
|
|
270
|
-
default121 as
|
|
271
|
-
default122 as
|
|
272
|
-
default123 as
|
|
273
|
-
default124 as
|
|
274
|
-
default125 as
|
|
275
|
-
default126 as
|
|
276
|
-
default127 as
|
|
277
|
-
default128 as
|
|
278
|
-
default129 as
|
|
279
|
-
default130 as
|
|
280
|
-
default131 as
|
|
281
|
-
default132 as
|
|
282
|
-
default133 as
|
|
283
|
-
default134 as
|
|
284
|
-
default135 as
|
|
285
|
-
default136 as
|
|
286
|
-
default137 as
|
|
287
|
-
default138 as
|
|
288
|
-
default139 as
|
|
289
|
-
default140 as
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
default145 as
|
|
295
|
-
default146 as
|
|
296
|
-
default147 as
|
|
297
|
-
default148 as
|
|
298
|
-
default149 as
|
|
299
|
-
default150 as
|
|
246
|
+
default95 as IconReadMail,
|
|
247
|
+
default99 as IconRecord,
|
|
248
|
+
default96 as IconRecordPause,
|
|
249
|
+
default97 as IconRecordStop,
|
|
250
|
+
default98 as IconRecordVideo,
|
|
251
|
+
default100 as IconRedo,
|
|
252
|
+
default101 as IconRefresh,
|
|
253
|
+
default102 as IconReset,
|
|
254
|
+
default103 as IconRestart,
|
|
255
|
+
default104 as IconRestore,
|
|
256
|
+
default105 as IconSave,
|
|
257
|
+
default106 as IconSearch,
|
|
258
|
+
default107 as IconSee,
|
|
259
|
+
default108 as IconSend,
|
|
260
|
+
default109 as IconSetBackground,
|
|
261
|
+
default110 as IconSettings,
|
|
262
|
+
default111 as IconShare,
|
|
263
|
+
default112 as IconSmartphone,
|
|
264
|
+
default113 as IconSmiley,
|
|
265
|
+
default114 as IconSortAscendingLetters,
|
|
266
|
+
default116 as IconSortDescending,
|
|
267
|
+
default115 as IconSortDescendingLetters,
|
|
268
|
+
default117 as IconSortTime,
|
|
269
|
+
default118 as IconSpeechToText,
|
|
270
|
+
default119 as IconSplitCells,
|
|
271
|
+
default120 as IconSquareRoot,
|
|
272
|
+
default121 as IconSubscript,
|
|
273
|
+
default122 as IconSuccessFill,
|
|
274
|
+
default123 as IconSuccessOutline,
|
|
275
|
+
default124 as IconSuperscript,
|
|
276
|
+
default125 as IconTable,
|
|
277
|
+
default126 as IconTextBold,
|
|
278
|
+
default127 as IconTextColor,
|
|
279
|
+
default128 as IconTextHighlight,
|
|
280
|
+
default129 as IconTextItalic,
|
|
281
|
+
default130 as IconTextPage,
|
|
282
|
+
default131 as IconTextSize,
|
|
283
|
+
default132 as IconTextToSpeech,
|
|
284
|
+
default133 as IconTextTypo,
|
|
285
|
+
default134 as IconTextUnderline,
|
|
286
|
+
default135 as IconTextVanilla,
|
|
287
|
+
default136 as IconTool,
|
|
288
|
+
default137 as IconTrendingUp,
|
|
289
|
+
default138 as IconUndo,
|
|
290
|
+
default139 as IconUnlink,
|
|
291
|
+
default140 as IconUnlock,
|
|
292
|
+
default141 as IconUnreadMail,
|
|
293
|
+
default142 as IconUpload,
|
|
294
|
+
default144 as IconUser,
|
|
295
|
+
default143 as IconUserSearch,
|
|
296
|
+
default145 as IconUsers,
|
|
297
|
+
default146 as IconVideo,
|
|
298
|
+
default147 as IconViewCalendar,
|
|
299
|
+
default148 as IconViewList,
|
|
300
|
+
default149 as IconWand,
|
|
301
|
+
default150 as IconWrite,
|
|
302
|
+
default151 as IconZoomIn,
|
|
303
|
+
default152 as IconZoomOut
|
|
300
304
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { default as default2 } from "./components/ActionBar/ActionBar.js";
|
|
2
|
-
import { default as default3 } from "./components/
|
|
3
|
-
import { default as default4 } from "./components/
|
|
4
|
-
import { default as default5 } from "./components/
|
|
5
|
-
import { default as default6 } from "./components/
|
|
6
|
-
import { default as default7 } from "./components/
|
|
7
|
-
import { default as default8 } from "./components/
|
|
8
|
-
import { default as default9 } from "./components/Button/
|
|
9
|
-
import { default as default10 } from "./components/
|
|
10
|
-
import { default as default11 } from "./components/
|
|
11
|
-
import { default as default12 } from "./components/ColorPicker/
|
|
12
|
-
import { default as default13 } from "./components/
|
|
13
|
-
import { default as default14 } from "./components/
|
|
14
|
-
import { default as default15 } from "./components/
|
|
15
|
-
import { default as default16 } from "./components/
|
|
16
|
-
import { default as default17 } from "./components/
|
|
17
|
-
import { default as default18 } from "./components/
|
|
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/
|
|
2
|
+
import { default as default3 } from "./components/Alert/Alert.js";
|
|
3
|
+
import { default as default4 } from "./components/AppHeader/AppHeader.js";
|
|
4
|
+
import { default as default5 } from "./components/AppIcon/AppIcon.js";
|
|
5
|
+
import { default as default6 } from "./components/Attachment/Attachment.js";
|
|
6
|
+
import { default as default7 } from "./components/Badge/Badge.js";
|
|
7
|
+
import { default as default8 } from "./components/Breadcrumb/Breadcrumb.js";
|
|
8
|
+
import { default as default9 } from "./components/Button/IconButton.js";
|
|
9
|
+
import { default as default10 } from "./components/Button/SearchButton.js";
|
|
10
|
+
import { default as default11 } from "./components/Card/Card.js";
|
|
11
|
+
import { default as default12 } from "./components/ColorPicker/ColorPicker.js";
|
|
12
|
+
import { default as default13 } from "./components/ColorPicker/ColorPickerItem.js";
|
|
13
|
+
import { default as default14 } from "./components/Dropdown/Dropdown.js";
|
|
14
|
+
import { default as default15 } from "./components/Dropzone/Dropzone.js";
|
|
15
|
+
import { default as default16 } from "./components/EmptyScreen/EmptyScreen.js";
|
|
16
|
+
import { default as default17 } from "./components/Form/FormText.js";
|
|
17
|
+
import { default as default18 } from "./components/Image/Image.js";
|
|
18
|
+
import { default as default19 } from "./components/Loading/Loading.js";
|
|
19
|
+
import { default as default20 } from "./components/Logo/Logo.js";
|
|
20
|
+
import { default as default21 } from "./components/SearchBar/SearchBar.js";
|
|
21
|
+
import { default as default22 } from "./components/Select/Select.js";
|
|
22
|
+
import { default as default23 } from "./components/Table/components/Table.js";
|
|
22
23
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
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 default55 } from "./components/Alert/Alert.js";
|
|
24
|
+
import { default as default24 } from "./components/Tree/components/SortableTree.js";
|
|
25
|
+
import { default as default25 } from "./components/Tree/components/Tree.js";
|
|
26
|
+
import { default as default26 } from "./components/TreeView/TreeView.js";
|
|
27
|
+
import { default as default27 } from "./hooks/useBookmark/useBookmark.js";
|
|
28
|
+
import { default as default28 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
29
|
+
import { default as default29 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
30
|
+
import { default as default30 } from "./hooks/useCantoo/useCantoo.js";
|
|
31
|
+
import { default as default31 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
32
|
+
import { default as default32 } from "./hooks/useConversation/useConversation.js";
|
|
33
|
+
import { default as default33 } from "./hooks/useDate/useDate.js";
|
|
34
|
+
import { default as default34 } from "./hooks/useDebounce/useDebounce.js";
|
|
35
|
+
import { default as default35 } from "./hooks/useDirectory/useDirectory.js";
|
|
36
|
+
import { default as default36 } from "./hooks/useDropdown/useDropdown.js";
|
|
37
|
+
import { default as default37 } from "./hooks/useDropzone/useDropzone.js";
|
|
38
|
+
import { default as default38 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
39
|
+
import { default as default39 } from "./hooks/useHover/useHover.js";
|
|
40
|
+
import { default as default40 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
41
|
+
import { default as default41 } from "./hooks/useImage/useImage.js";
|
|
42
|
+
import { default as default42 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
43
|
+
import { default as default43 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
44
|
+
import { default as default44 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
45
|
+
import { default as default45 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
46
|
+
import { default as default46 } from "./hooks/useTitle/useTitle.js";
|
|
47
|
+
import { default as default47 } from "./hooks/useToggle/useToggle.js";
|
|
48
|
+
import { default as default48 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
49
|
+
import { default as default49 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
50
|
+
import { default as default50 } from "./hooks/useUpload/useUpload.js";
|
|
51
|
+
import { default as default51 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
52
|
+
import { default as default52 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
53
|
+
import { default as default53 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
54
|
+
import { default as default54 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
55
|
+
import { default as default55 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
56
56
|
import { default as default56 } from "./components/Avatar/Avatar.js";
|
|
57
57
|
import { default as default57 } from "./components/Button/Button.js";
|
|
58
58
|
import { default as default58 } from "./components/Checkbox/Checkbox.js";
|
|
@@ -107,44 +107,44 @@ import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
|
107
107
|
export {
|
|
108
108
|
AccessiblePalette,
|
|
109
109
|
default2 as ActionBar,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
default3 as Alert,
|
|
111
|
+
default4 as AppHeader,
|
|
112
|
+
default5 as AppIcon,
|
|
113
|
+
default6 as Attachment,
|
|
114
114
|
default56 as Avatar,
|
|
115
|
-
|
|
115
|
+
default7 as Badge,
|
|
116
116
|
default76 as BlogPublic,
|
|
117
|
-
|
|
117
|
+
default8 as Breadcrumb,
|
|
118
118
|
default57 as Button,
|
|
119
|
-
|
|
119
|
+
default11 as Card,
|
|
120
120
|
default58 as Checkbox,
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
default12 as ColorPicker,
|
|
122
|
+
default13 as ColorPickerItem,
|
|
123
123
|
Column,
|
|
124
124
|
default59 as Combobox,
|
|
125
125
|
DefaultPalette,
|
|
126
126
|
DndTree,
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
default14 as Dropdown,
|
|
128
|
+
default15 as Dropzone,
|
|
129
129
|
DropzoneContext,
|
|
130
130
|
EdificeClientContext,
|
|
131
131
|
EdificeClientProvider,
|
|
132
132
|
EdificeThemeContext,
|
|
133
133
|
EdificeThemeProvider,
|
|
134
|
-
|
|
134
|
+
default16 as EmptyScreen,
|
|
135
135
|
default60 as FormControl,
|
|
136
|
-
|
|
136
|
+
default17 as FormText,
|
|
137
137
|
Grid,
|
|
138
138
|
default61 as Heading,
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
default9 as IconButton,
|
|
140
|
+
default18 as Image,
|
|
141
141
|
default62 as Input,
|
|
142
142
|
default63 as Label,
|
|
143
143
|
Layout,
|
|
144
144
|
List,
|
|
145
|
-
|
|
145
|
+
default19 as Loading,
|
|
146
146
|
default64 as LoadingScreen,
|
|
147
|
-
|
|
147
|
+
default20 as Logo,
|
|
148
148
|
Menu,
|
|
149
149
|
MockedProvider,
|
|
150
150
|
default65 as Modal,
|
|
@@ -156,21 +156,21 @@ export {
|
|
|
156
156
|
default75 as PublishModal,
|
|
157
157
|
default66 as Radio,
|
|
158
158
|
ResourceModal,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
default21 as SearchBar,
|
|
160
|
+
default10 as SearchButton,
|
|
161
|
+
default22 as Select,
|
|
162
162
|
default79 as ShareBlog,
|
|
163
163
|
default78 as ShareModal,
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
default24 as SortableTree,
|
|
165
|
+
default23 as Table,
|
|
166
166
|
Tabs,
|
|
167
167
|
default67 as TextArea,
|
|
168
168
|
Toolbar,
|
|
169
169
|
default68 as Tooltip,
|
|
170
|
-
|
|
170
|
+
default25 as Tree,
|
|
171
171
|
TreeNode,
|
|
172
172
|
TreeNodeFolderWrapper,
|
|
173
|
-
|
|
173
|
+
default26 as TreeView,
|
|
174
174
|
default69 as VisuallyHidden,
|
|
175
175
|
addNode,
|
|
176
176
|
arrayUnique,
|
|
@@ -199,46 +199,46 @@ export {
|
|
|
199
199
|
setRef,
|
|
200
200
|
updateNode,
|
|
201
201
|
updateParentIds,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
default27 as useBookmark,
|
|
203
|
+
default28 as useBreakpoint,
|
|
204
|
+
default29 as useBrowserInfo,
|
|
205
|
+
default30 as useCantoo,
|
|
206
206
|
useCheckable,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
207
|
+
default31 as useClickOutside,
|
|
208
|
+
default32 as useConversation,
|
|
209
|
+
default33 as useDate,
|
|
210
|
+
default34 as useDebounce,
|
|
211
|
+
default35 as useDirectory,
|
|
212
|
+
default36 as useDropdown,
|
|
213
|
+
default37 as useDropzone,
|
|
214
214
|
useDropzoneContext,
|
|
215
215
|
useEdificeClient,
|
|
216
|
-
|
|
216
|
+
default38 as useEdificeIcons,
|
|
217
217
|
useEdificeTheme,
|
|
218
218
|
default70 as useHasWorkflow,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
219
|
+
default39 as useHover,
|
|
220
|
+
default40 as useHttpErrorToast,
|
|
221
|
+
default41 as useImage,
|
|
222
|
+
default42 as useIsAdml,
|
|
223
|
+
default43 as useKeyPress,
|
|
224
|
+
default44 as useLibraryUrl,
|
|
225
225
|
default71 as useMediaLibrary,
|
|
226
|
-
|
|
226
|
+
default45 as useScrollToTop,
|
|
227
227
|
default80 as useShareMutation,
|
|
228
|
-
|
|
228
|
+
default46 as useTitle,
|
|
229
229
|
default72 as useToast,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
default47 as useToggle,
|
|
231
|
+
default48 as useTrapFocus,
|
|
232
|
+
default49 as useTrashedResource,
|
|
233
233
|
useTreeSortable,
|
|
234
234
|
useTreeView,
|
|
235
235
|
default77 as useUpdateMutation,
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
default50 as useUpload,
|
|
237
|
+
default51 as useUploadFiles,
|
|
238
238
|
default73 as useUser,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
default52 as useWorkspaceFile,
|
|
240
|
+
default53 as useWorkspaceSearch,
|
|
241
|
+
default54 as useXitiTrackPageLoad,
|
|
242
|
+
default55 as useZendeskGuide,
|
|
243
243
|
wrapTreeNode
|
|
244
244
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import useReactionIcons from "./hooks/useReactionIcons.js";
|
|
4
|
-
import Avatar from "../../components/Avatar/Avatar.js";
|
|
5
4
|
import useDirectory from "../../hooks/useDirectory/useDirectory.js";
|
|
5
|
+
import Avatar from "../../components/Avatar/Avatar.js";
|
|
6
6
|
function ReactionModalCard({
|
|
7
7
|
reaction
|
|
8
8
|
}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
2
|
+
import { useState, Suspense, lazy } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import SvgIconSave from "../../icons/components/IconSave.js";
|
|
5
5
|
import { useAutosizeTextarea } from "../hooks/useAutosizeTextarea.js";
|
|
@@ -10,7 +10,8 @@ import { CommentDate } from "./CommentDate.js";
|
|
|
10
10
|
import { CommentTitle } from "./CommentTitle.js";
|
|
11
11
|
import { TextCounter } from "./TextCounter.js";
|
|
12
12
|
import Button from "../../../components/Button/Button.js";
|
|
13
|
-
|
|
13
|
+
import LoadingScreen from "../../../components/LoadingScreen/LoadingScreen.js";
|
|
14
|
+
const DeleteModal = /* @__PURE__ */ lazy(() => import("./DeleteModal.js")), Comment = ({
|
|
14
15
|
comment,
|
|
15
16
|
userId,
|
|
16
17
|
profile
|
|
@@ -22,12 +23,13 @@ const Comment = ({
|
|
|
22
23
|
createdAt,
|
|
23
24
|
updatedAt,
|
|
24
25
|
comment: content
|
|
25
|
-
} = comment, [ref, onFocus, resizeTextarea] = useAutosizeTextarea(!0), {
|
|
26
|
+
} = comment, [ref, onFocus, resizeTextarea] = useAutosizeTextarea(!0), [isDeleteModalOpen, setIsDeleteModalOpen] = useState(!1), {
|
|
26
27
|
t
|
|
27
28
|
} = useTranslation(), {
|
|
28
29
|
editCommentId,
|
|
29
30
|
options,
|
|
30
31
|
type,
|
|
32
|
+
userRights,
|
|
31
33
|
handleDeleteComment: onDeleteComment,
|
|
32
34
|
handleModifyComment,
|
|
33
35
|
handleReset,
|
|
@@ -57,14 +59,15 @@ const Comment = ({
|
|
|
57
59
|
] })
|
|
58
60
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
61
|
/* @__PURE__ */ jsx("div", { className: "mt-8 mb-4", children: content }),
|
|
60
|
-
|
|
61
|
-
/* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => {
|
|
62
|
+
type === "edit" && /* @__PURE__ */ jsxs("div", { className: "ms-n8", children: [
|
|
63
|
+
userId === authorId && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => {
|
|
62
64
|
handleModifyComment(comment.id), setValue(content);
|
|
63
65
|
}, children: t("comment.edit") }),
|
|
64
|
-
/* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () =>
|
|
66
|
+
(userId === authorId || (userRights == null ? void 0 : userRights.manager)) && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", size: "sm", onClick: () => setIsDeleteModalOpen(!0), children: t("comment.remove") })
|
|
65
67
|
] })
|
|
66
68
|
] })
|
|
67
|
-
] })
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(LoadingScreen, { position: !1 }), children: isDeleteModalOpen && /* @__PURE__ */ jsx(DeleteModal, { isOpen: isDeleteModalOpen, onCancel: () => setIsDeleteModalOpen(!1), onSuccess: () => onDeleteComment(id) }) })
|
|
68
71
|
] }, id);
|
|
69
72
|
};
|
|
70
73
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import Avatar from "../../../components/Avatar/Avatar.js";
|
|
4
3
|
import useDirectory from "../../../hooks/useDirectory/useDirectory.js";
|
|
4
|
+
import Avatar from "../../../components/Avatar/Avatar.js";
|
|
5
5
|
const CommentAvatar = ({
|
|
6
6
|
id
|
|
7
7
|
}) => {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import Modal from "../../../components/Modal/Modal.js";
|
|
3
|
+
import Button from "../../../components/Button/Button.js";
|
|
4
|
+
const DeleteModal = ({
|
|
5
|
+
isOpen,
|
|
6
|
+
onCancel,
|
|
7
|
+
onSuccess
|
|
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
|
+
] });
|
|
16
|
+
export {
|
|
17
|
+
DeleteModal,
|
|
18
|
+
DeleteModal as default
|
|
19
|
+
};
|