@edifice.io/react 2.5.15-develop-pedago.20260324175543 → 2.5.15-develop-enabling.20260326100838
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/AddAttachments/AddAttachments.d.ts +3 -6
- package/dist/components/AddAttachments/AddAttachments.js +29 -17
- package/dist/components/AddAttachments/models/attachment.d.ts +0 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/Form/FormControl.js +1 -1
- package/dist/components/Layout/components/WidgetApps.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/PreventPropagation/PreventPropagation.js +1 -1
- package/dist/components/PromotionCard/PromotionCard.js +1 -1
- package/dist/components/SearchBar/SearchBar.d.ts +2 -2
- package/dist/components/Table/components/Table.js +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/useDropdown/useDropdown.js +2 -0
- package/dist/hooks/useDropzone/useDropzone.js +4 -4
- package/dist/hooks/useSession/useSession.d.ts +1 -1
- package/dist/hooks/useThumbnail/useThumbnail.d.ts +1 -1
- package/dist/hooks/useThumbnail/useThumbnail.js +5 -1
- package/dist/hooks/useUpload/useUpload.js +2 -5
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +12 -0
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +1 -1
- package/dist/icons.js +176 -180
- package/dist/index.js +0 -6
- package/dist/modules/editor/components/Editor/EditorPreview.js +1 -1
- package/dist/modules/icons/components/index.d.ts +0 -2
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.js +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/ShareResources.d.ts +4 -53
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +2 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +24 -10
- package/dist/modules/multimedia/ImageEditor/effects/blur.d.ts +7 -5
- package/dist/modules/multimedia/ImageEditor/effects/blur.js +26 -18
- package/dist/modules/multimedia/ImageEditor/effects/constants.d.ts +2 -0
- package/dist/modules/multimedia/ImageEditor/effects/constants.js +4 -0
- package/dist/modules/multimedia/ImageEditor/effects/crop.d.ts +4 -5
- package/dist/modules/multimedia/ImageEditor/effects/crop.js +42 -26
- package/dist/modules/multimedia/ImageEditor/effects/misc.d.ts +10 -16
- package/dist/modules/multimedia/ImageEditor/effects/misc.js +27 -12
- package/dist/modules/multimedia/ImageEditor/effects/resize.d.ts +3 -7
- package/dist/modules/multimedia/ImageEditor/effects/resize.js +31 -22
- package/dist/modules/multimedia/ImageEditor/effects/rotate.js +2 -3
- package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js +40 -41
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.d.ts +1 -1
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.js +9 -3
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.js +4 -1
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +1 -3
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +1 -2
- package/dist/modules/multimedia/LinkerCard/LinkerCard._.d.ts +1 -1
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +1 -0
- package/dist/modules/multimedia/UploadCard/UploadCard._.d.ts +1 -1
- package/dist/modules/multimedia/UploadFiles/UploadFiles.js +4 -4
- package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
- package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
- package/package.json +53 -54
- package/dist/components/AddAttachments/hooks/useFileToAttachment.d.ts +0 -3
- package/dist/components/AddAttachments/hooks/useFileToAttachment.js +0 -16
- package/dist/components/UserSearch/UserSearch.d.ts +0 -7
- package/dist/components/UserSearch/UserSearch.js +0 -82
- package/dist/components/UserSearch/index.d.ts +0 -3
- package/dist/components/UserSearch/types/types.d.ts +0 -29
- package/dist/components/UserSearch/types/visible.d.ts +0 -24
- package/dist/components/UserSearch/types/visible.js +0 -4
- package/dist/modules/icons/components/IconParcoursCitoyen.d.ts +0 -7
- package/dist/modules/icons/components/IconParcoursCitoyen.js +0 -14
- package/dist/modules/icons/components/IconParcoursSecours.d.ts +0 -7
- package/dist/modules/icons/components/IconParcoursSecours.js +0 -14
- package/dist/modules/multimedia/FileCard/FileCard._.d.ts +0 -17
package/dist/icons.js
CHANGED
|
@@ -95,96 +95,94 @@ import { default as default95 } from "./modules/icons/components/IconNotificatio
|
|
|
95
95
|
import { default as default96 } from "./modules/icons/components/IconOptions.js";
|
|
96
96
|
import { default as default97 } from "./modules/icons/components/IconOrderedList.js";
|
|
97
97
|
import { default as default98 } from "./modules/icons/components/IconPaperclip.js";
|
|
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/
|
|
150
|
-
import { default as default151 } from "./modules/icons/components/
|
|
151
|
-
import { default as default152 } from "./modules/icons/components/
|
|
152
|
-
import { default as default153 } from "./modules/icons/components/
|
|
153
|
-
import { default as default154 } from "./modules/icons/components/
|
|
154
|
-
import { default as default155 } from "./modules/icons/components/
|
|
155
|
-
import { default as default156 } from "./modules/icons/components/
|
|
156
|
-
import { default as default157 } from "./modules/icons/components/
|
|
157
|
-
import { default as default158 } from "./modules/icons/components/
|
|
158
|
-
import { default as default159 } from "./modules/icons/components/
|
|
159
|
-
import { default as default160 } from "./modules/icons/components/
|
|
160
|
-
import { default as default161 } from "./modules/icons/components/
|
|
161
|
-
import { default as default162 } from "./modules/icons/components/
|
|
162
|
-
import { default as default163 } from "./modules/icons/components/
|
|
163
|
-
import { default as default164 } from "./modules/icons/components/
|
|
164
|
-
import { default as default165 } from "./modules/icons/components/
|
|
165
|
-
import { default as default166 } from "./modules/icons/components/
|
|
166
|
-
import { default as default167 } from "./modules/icons/components/
|
|
167
|
-
import { default as default168 } from "./modules/icons/components/
|
|
168
|
-
import { default as default169 } from "./modules/icons/components/
|
|
169
|
-
import { default as default170 } from "./modules/icons/components/
|
|
170
|
-
import { default as default171 } from "./modules/icons/components/
|
|
171
|
-
import { default as default172 } from "./modules/icons/components/
|
|
172
|
-
import { default as default173 } from "./modules/icons/components/
|
|
173
|
-
import { default as default174 } from "./modules/icons/components/
|
|
174
|
-
import { default as default175 } from "./modules/icons/components/
|
|
175
|
-
import { default as default176 } from "./modules/icons/components/
|
|
176
|
-
import { default as default177 } from "./modules/icons/components/
|
|
177
|
-
import { default as default178 } from "./modules/icons/components/
|
|
178
|
-
import { default as default179 } from "./modules/icons/components/
|
|
179
|
-
import { default as default180 } from "./modules/icons/components/
|
|
180
|
-
import { default as default181 } from "./modules/icons/components/
|
|
181
|
-
import { default as default182 } from "./modules/icons/components/
|
|
182
|
-
import { default as default183 } from "./modules/icons/components/
|
|
183
|
-
import { default as default184 } from "./modules/icons/components/
|
|
184
|
-
import { default as default185 } from "./modules/icons/components/
|
|
185
|
-
import { default as default186 } from "./modules/icons/components/
|
|
186
|
-
import { default as default187 } from "./modules/icons/components/IconZoomIn.js";
|
|
187
|
-
import { default as default188 } from "./modules/icons/components/IconZoomOut.js";
|
|
98
|
+
import { default as default99 } from "./modules/icons/components/IconPause.js";
|
|
99
|
+
import { default as default100 } from "./modules/icons/components/IconPinOff.js";
|
|
100
|
+
import { default as default101 } from "./modules/icons/components/IconPinOn.js";
|
|
101
|
+
import { default as default102 } from "./modules/icons/components/IconPlaceholder.js";
|
|
102
|
+
import { default as default103 } from "./modules/icons/components/IconPlayFilled.js";
|
|
103
|
+
import { default as default104 } from "./modules/icons/components/IconPlay.js";
|
|
104
|
+
import { default as default105 } from "./modules/icons/components/IconPlus.js";
|
|
105
|
+
import { default as default106 } from "./modules/icons/components/IconPointerDefault.js";
|
|
106
|
+
import { default as default107 } from "./modules/icons/components/IconPointerHand.js";
|
|
107
|
+
import { default as default108 } from "./modules/icons/components/IconPrint.js";
|
|
108
|
+
import { default as default109 } from "./modules/icons/components/IconQuestionMark.js";
|
|
109
|
+
import { default as default110 } from "./modules/icons/components/IconQuestion.js";
|
|
110
|
+
import { default as default111 } from "./modules/icons/components/IconRafterDown.js";
|
|
111
|
+
import { default as default112 } from "./modules/icons/components/IconRafterLeft.js";
|
|
112
|
+
import { default as default113 } from "./modules/icons/components/IconRafterRight.js";
|
|
113
|
+
import { default as default114 } from "./modules/icons/components/IconRafterUp.js";
|
|
114
|
+
import { default as default115 } from "./modules/icons/components/IconReaction.js";
|
|
115
|
+
import { default as default116 } from "./modules/icons/components/IconReadMail.js";
|
|
116
|
+
import { default as default117 } from "./modules/icons/components/IconRecordPause.js";
|
|
117
|
+
import { default as default118 } from "./modules/icons/components/IconRecordStop.js";
|
|
118
|
+
import { default as default119 } from "./modules/icons/components/IconRecordVideo.js";
|
|
119
|
+
import { default as default120 } from "./modules/icons/components/IconRecord.js";
|
|
120
|
+
import { default as default121 } from "./modules/icons/components/IconRedo.js";
|
|
121
|
+
import { default as default122 } from "./modules/icons/components/IconRefresh.js";
|
|
122
|
+
import { default as default123 } from "./modules/icons/components/IconReset.js";
|
|
123
|
+
import { default as default124 } from "./modules/icons/components/IconRestart.js";
|
|
124
|
+
import { default as default125 } from "./modules/icons/components/IconRestore.js";
|
|
125
|
+
import { default as default126 } from "./modules/icons/components/IconSave.js";
|
|
126
|
+
import { default as default127 } from "./modules/icons/components/IconSearch.js";
|
|
127
|
+
import { default as default128 } from "./modules/icons/components/IconSee.js";
|
|
128
|
+
import { default as default129 } from "./modules/icons/components/IconSend.js";
|
|
129
|
+
import { default as default130 } from "./modules/icons/components/IconSetBackground.js";
|
|
130
|
+
import { default as default131 } from "./modules/icons/components/IconSettings.js";
|
|
131
|
+
import { default as default132 } from "./modules/icons/components/IconShare.js";
|
|
132
|
+
import { default as default133 } from "./modules/icons/components/IconSignature.js";
|
|
133
|
+
import { default as default134 } from "./modules/icons/components/IconSmartphone.js";
|
|
134
|
+
import { default as default135 } from "./modules/icons/components/IconSmiley.js";
|
|
135
|
+
import { default as default136 } from "./modules/icons/components/IconSortAscendingLetters.js";
|
|
136
|
+
import { default as default137 } from "./modules/icons/components/IconSortDescendingLetters.js";
|
|
137
|
+
import { default as default138 } from "./modules/icons/components/IconSortDescending.js";
|
|
138
|
+
import { default as default139 } from "./modules/icons/components/IconSortTime.js";
|
|
139
|
+
import { default as default140 } from "./modules/icons/components/IconSpeechToText.js";
|
|
140
|
+
import { default as default141 } from "./modules/icons/components/IconSplitCells.js";
|
|
141
|
+
import { default as default142 } from "./modules/icons/components/IconSquareRoot.js";
|
|
142
|
+
import { default as default143 } from "./modules/icons/components/IconStarFull.js";
|
|
143
|
+
import { default as default144 } from "./modules/icons/components/IconStar.js";
|
|
144
|
+
import { default as default145 } from "./modules/icons/components/IconSubmission.js";
|
|
145
|
+
import { default as default146 } from "./modules/icons/components/IconSubmitToValidate.js";
|
|
146
|
+
import { default as default147 } from "./modules/icons/components/IconSubscript.js";
|
|
147
|
+
import { default as default148 } from "./modules/icons/components/IconSuccessFill.js";
|
|
148
|
+
import { default as default149 } from "./modules/icons/components/IconSuccessOutline.js";
|
|
149
|
+
import { default as default150 } from "./modules/icons/components/IconSuperscript.js";
|
|
150
|
+
import { default as default151 } from "./modules/icons/components/IconTable.js";
|
|
151
|
+
import { default as default152 } from "./modules/icons/components/IconTeacher.js";
|
|
152
|
+
import { default as default153 } from "./modules/icons/components/IconTextBold.js";
|
|
153
|
+
import { default as default154 } from "./modules/icons/components/IconTextColor.js";
|
|
154
|
+
import { default as default155 } from "./modules/icons/components/IconTextHighlight.js";
|
|
155
|
+
import { default as default156 } from "./modules/icons/components/IconTextItalic.js";
|
|
156
|
+
import { default as default157 } from "./modules/icons/components/IconTextPage.js";
|
|
157
|
+
import { default as default158 } from "./modules/icons/components/IconTextSize.js";
|
|
158
|
+
import { default as default159 } from "./modules/icons/components/IconTextToSpeechOff.js";
|
|
159
|
+
import { default as default160 } from "./modules/icons/components/IconTextToSpeech.js";
|
|
160
|
+
import { default as default161 } from "./modules/icons/components/IconTextTypo.js";
|
|
161
|
+
import { default as default162 } from "./modules/icons/components/IconTextUnderline.js";
|
|
162
|
+
import { default as default163 } from "./modules/icons/components/IconTextVanilla.js";
|
|
163
|
+
import { default as default164 } from "./modules/icons/components/IconThumbDown.js";
|
|
164
|
+
import { default as default165 } from "./modules/icons/components/IconThumbUp.js";
|
|
165
|
+
import { default as default166 } from "./modules/icons/components/IconToolCenter.js";
|
|
166
|
+
import { default as default167 } from "./modules/icons/components/IconTool.js";
|
|
167
|
+
import { default as default168 } from "./modules/icons/components/IconTrendingUp.js";
|
|
168
|
+
import { default as default169 } from "./modules/icons/components/IconUndoAll.js";
|
|
169
|
+
import { default as default170 } from "./modules/icons/components/IconUndoSlashed.js";
|
|
170
|
+
import { default as default171 } from "./modules/icons/components/IconUndo.js";
|
|
171
|
+
import { default as default172 } from "./modules/icons/components/IconUnion.js";
|
|
172
|
+
import { default as default173 } from "./modules/icons/components/IconUnlink.js";
|
|
173
|
+
import { default as default174 } from "./modules/icons/components/IconUnlock.js";
|
|
174
|
+
import { default as default175 } from "./modules/icons/components/IconUnreadMail.js";
|
|
175
|
+
import { default as default176 } from "./modules/icons/components/IconUpload.js";
|
|
176
|
+
import { default as default177 } from "./modules/icons/components/IconUserSearch.js";
|
|
177
|
+
import { default as default178 } from "./modules/icons/components/IconUser.js";
|
|
178
|
+
import { default as default179 } from "./modules/icons/components/IconUsers.js";
|
|
179
|
+
import { default as default180 } from "./modules/icons/components/IconVideo.js";
|
|
180
|
+
import { default as default181 } from "./modules/icons/components/IconViewCalendar.js";
|
|
181
|
+
import { default as default182 } from "./modules/icons/components/IconViewList.js";
|
|
182
|
+
import { default as default183 } from "./modules/icons/components/IconWand.js";
|
|
183
|
+
import { default as default184 } from "./modules/icons/components/IconWrite.js";
|
|
184
|
+
import { default as default185 } from "./modules/icons/components/IconZoomIn.js";
|
|
185
|
+
import { default as default186 } from "./modules/icons/components/IconZoomOut.js";
|
|
188
186
|
export {
|
|
189
187
|
default3 as IconAdd,
|
|
190
188
|
default2 as IconAddUser,
|
|
@@ -283,94 +281,92 @@ export {
|
|
|
283
281
|
default96 as IconOptions,
|
|
284
282
|
default97 as IconOrderedList,
|
|
285
283
|
default98 as IconPaperclip,
|
|
286
|
-
default99 as
|
|
287
|
-
default100 as
|
|
288
|
-
default101 as
|
|
289
|
-
default102 as
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
default107 as
|
|
295
|
-
default108 as
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
default113 as
|
|
301
|
-
default114 as
|
|
302
|
-
default115 as
|
|
303
|
-
default116 as
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
default119 as
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
default123 as
|
|
311
|
-
default124 as
|
|
312
|
-
default125 as
|
|
313
|
-
default126 as
|
|
314
|
-
default127 as
|
|
315
|
-
default128 as
|
|
316
|
-
default129 as
|
|
317
|
-
default130 as
|
|
318
|
-
default131 as
|
|
319
|
-
default132 as
|
|
320
|
-
default133 as
|
|
321
|
-
default134 as
|
|
322
|
-
default135 as
|
|
323
|
-
default136 as
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
default141 as
|
|
329
|
-
default142 as
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
default147 as
|
|
335
|
-
default148 as
|
|
336
|
-
default149 as
|
|
337
|
-
default150 as
|
|
338
|
-
default151 as
|
|
339
|
-
default152 as
|
|
340
|
-
default153 as
|
|
341
|
-
default154 as
|
|
342
|
-
default155 as
|
|
343
|
-
default156 as
|
|
344
|
-
default157 as
|
|
345
|
-
default158 as
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
default163 as
|
|
351
|
-
default164 as
|
|
352
|
-
default165 as
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
default174 as
|
|
362
|
-
default175 as
|
|
363
|
-
default176 as
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
default181 as
|
|
369
|
-
default182 as
|
|
370
|
-
default183 as
|
|
371
|
-
default184 as
|
|
372
|
-
default185 as
|
|
373
|
-
default186 as
|
|
374
|
-
default187 as IconZoomIn,
|
|
375
|
-
default188 as IconZoomOut
|
|
284
|
+
default99 as IconPause,
|
|
285
|
+
default100 as IconPinOff,
|
|
286
|
+
default101 as IconPinOn,
|
|
287
|
+
default102 as IconPlaceholder,
|
|
288
|
+
default104 as IconPlay,
|
|
289
|
+
default103 as IconPlayFilled,
|
|
290
|
+
default105 as IconPlus,
|
|
291
|
+
default106 as IconPointerDefault,
|
|
292
|
+
default107 as IconPointerHand,
|
|
293
|
+
default108 as IconPrint,
|
|
294
|
+
default110 as IconQuestion,
|
|
295
|
+
default109 as IconQuestionMark,
|
|
296
|
+
default111 as IconRafterDown,
|
|
297
|
+
default112 as IconRafterLeft,
|
|
298
|
+
default113 as IconRafterRight,
|
|
299
|
+
default114 as IconRafterUp,
|
|
300
|
+
default115 as IconReaction,
|
|
301
|
+
default116 as IconReadMail,
|
|
302
|
+
default120 as IconRecord,
|
|
303
|
+
default117 as IconRecordPause,
|
|
304
|
+
default118 as IconRecordStop,
|
|
305
|
+
default119 as IconRecordVideo,
|
|
306
|
+
default121 as IconRedo,
|
|
307
|
+
default122 as IconRefresh,
|
|
308
|
+
default123 as IconReset,
|
|
309
|
+
default124 as IconRestart,
|
|
310
|
+
default125 as IconRestore,
|
|
311
|
+
default126 as IconSave,
|
|
312
|
+
default127 as IconSearch,
|
|
313
|
+
default128 as IconSee,
|
|
314
|
+
default129 as IconSend,
|
|
315
|
+
default130 as IconSetBackground,
|
|
316
|
+
default131 as IconSettings,
|
|
317
|
+
default132 as IconShare,
|
|
318
|
+
default133 as IconSignature,
|
|
319
|
+
default134 as IconSmartphone,
|
|
320
|
+
default135 as IconSmiley,
|
|
321
|
+
default136 as IconSortAscendingLetters,
|
|
322
|
+
default138 as IconSortDescending,
|
|
323
|
+
default137 as IconSortDescendingLetters,
|
|
324
|
+
default139 as IconSortTime,
|
|
325
|
+
default140 as IconSpeechToText,
|
|
326
|
+
default141 as IconSplitCells,
|
|
327
|
+
default142 as IconSquareRoot,
|
|
328
|
+
default144 as IconStar,
|
|
329
|
+
default143 as IconStarFull,
|
|
330
|
+
default145 as IconSubmission,
|
|
331
|
+
default146 as IconSubmitToValidate,
|
|
332
|
+
default147 as IconSubscript,
|
|
333
|
+
default148 as IconSuccessFill,
|
|
334
|
+
default149 as IconSuccessOutline,
|
|
335
|
+
default150 as IconSuperscript,
|
|
336
|
+
default151 as IconTable,
|
|
337
|
+
default152 as IconTeacher,
|
|
338
|
+
default153 as IconTextBold,
|
|
339
|
+
default154 as IconTextColor,
|
|
340
|
+
default155 as IconTextHighlight,
|
|
341
|
+
default156 as IconTextItalic,
|
|
342
|
+
default157 as IconTextPage,
|
|
343
|
+
default158 as IconTextSize,
|
|
344
|
+
default160 as IconTextToSpeech,
|
|
345
|
+
default159 as IconTextToSpeechOff,
|
|
346
|
+
default161 as IconTextTypo,
|
|
347
|
+
default162 as IconTextUnderline,
|
|
348
|
+
default163 as IconTextVanilla,
|
|
349
|
+
default164 as IconThumbDown,
|
|
350
|
+
default165 as IconThumbUp,
|
|
351
|
+
default167 as IconTool,
|
|
352
|
+
default166 as IconToolCenter,
|
|
353
|
+
default168 as IconTrendingUp,
|
|
354
|
+
default171 as IconUndo,
|
|
355
|
+
default169 as IconUndoAll,
|
|
356
|
+
default170 as IconUndoSlashed,
|
|
357
|
+
default172 as IconUnion,
|
|
358
|
+
default173 as IconUnlink,
|
|
359
|
+
default174 as IconUnlock,
|
|
360
|
+
default175 as IconUnreadMail,
|
|
361
|
+
default176 as IconUpload,
|
|
362
|
+
default178 as IconUser,
|
|
363
|
+
default177 as IconUserSearch,
|
|
364
|
+
default179 as IconUsers,
|
|
365
|
+
default180 as IconVideo,
|
|
366
|
+
default181 as IconViewCalendar,
|
|
367
|
+
default182 as IconViewList,
|
|
368
|
+
default183 as IconWand,
|
|
369
|
+
default184 as IconWrite,
|
|
370
|
+
default185 as IconZoomIn,
|
|
371
|
+
default186 as IconZoomOut
|
|
376
372
|
};
|
package/dist/index.js
CHANGED
|
@@ -133,8 +133,6 @@ import { Toolbar } from "./components/Toolbar/Toolbar.js";
|
|
|
133
133
|
import { TreeNode } from "./components/TreeView/TreeNode.js";
|
|
134
134
|
import { TreeNodeFolderWrapper, addNode, arrayUnique, deleteNode, findNodeById, findParentNode, findPathById, findTreeNode, getAncestors, hasChildren, modifyNode, moveNode, updateNode, wrapTreeNode } from "./components/TreeView/utilities/treeview.js";
|
|
135
135
|
import { Upload } from "./modules/multimedia/MediaLibrary/innertabs/Upload.js";
|
|
136
|
-
import { UserSearch } from "./components/UserSearch/UserSearch.js";
|
|
137
|
-
import { VisibleType } from "./components/UserSearch/types/visible.js";
|
|
138
136
|
import { buildTree, determineNewParentId, findItemIndexInTree, flattenNodes, flattenTree, generateUpdateData, getActiveAndOverNodes, getDragDepth, getIndicesToUpdate, getProjection, updateParentIds } from "./components/Tree/utilities/tree-sortable.js";
|
|
139
137
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
140
138
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
@@ -143,7 +141,6 @@ import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
|
143
141
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
144
142
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
145
143
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
146
|
-
import { useFileToAttachment } from "./components/AddAttachments/hooks/useFileToAttachment.js";
|
|
147
144
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
148
145
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
149
146
|
export {
|
|
@@ -243,10 +240,8 @@ export {
|
|
|
243
240
|
Upload,
|
|
244
241
|
default67 as UploadCard,
|
|
245
242
|
default68 as UploadFiles,
|
|
246
|
-
UserSearch,
|
|
247
243
|
default69 as VideoEmbed,
|
|
248
244
|
default70 as VideoRecorder,
|
|
249
|
-
VisibleType,
|
|
250
245
|
default71 as VisuallyHidden,
|
|
251
246
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
252
247
|
WORKSPACE_USER_FOLDER_ID,
|
|
@@ -296,7 +291,6 @@ export {
|
|
|
296
291
|
useEdificeClient,
|
|
297
292
|
default85 as useEdificeIcons,
|
|
298
293
|
useEdificeTheme,
|
|
299
|
-
useFileToAttachment,
|
|
300
294
|
default86 as useHasWorkflow,
|
|
301
295
|
default87 as useHover,
|
|
302
296
|
default88 as useHttpErrorToast,
|
|
@@ -95,8 +95,6 @@ export { default as IconNotification } from './IconNotification';
|
|
|
95
95
|
export { default as IconOptions } from './IconOptions';
|
|
96
96
|
export { default as IconOrderedList } from './IconOrderedList';
|
|
97
97
|
export { default as IconPaperclip } from './IconPaperclip';
|
|
98
|
-
export { default as IconParcoursCitoyen } from './IconParcoursCitoyen';
|
|
99
|
-
export { default as IconParcoursSecours } from './IconParcoursSecours';
|
|
100
98
|
export { default as IconPause } from './IconPause';
|
|
101
99
|
export { default as IconPinOff } from './IconPinOff';
|
|
102
100
|
export { default as IconPinOn } from './IconPinOn';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { CreateParameters, CreateResult, ID, IFolder, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
3
|
-
import { UseMutationResult } from '
|
|
3
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
4
4
|
export interface FormInputs {
|
|
5
5
|
title: string;
|
|
6
6
|
description: string;
|
|
@@ -157,7 +157,7 @@ const DEFAULT_INPUT_MAX_LENGTH = 60, DEFAULT_TEXTAREA_MAX_LENGTH = 400, Resource
|
|
|
157
157
|
/* @__PURE__ */ jsx(Button, { form: formId, type: "submit", color: "primary", isLoading: isSubmitting, variant: "filled", disabled: !isValid || isSubmitting, children: isCreating ? customT.create ?? t("explorer.create") : customT.save ?? t("save") })
|
|
158
158
|
] }),
|
|
159
159
|
/* @__PURE__ */ jsx(MediaLibrary, { appCode: application, ref: mediaLibraryRef, multiple: !1, visibility: "protected", ...mediaLibraryHandlers })
|
|
160
|
-
] }), document.getElementById("portal"));
|
|
160
|
+
] }), document.getElementById("portal") || document.body);
|
|
161
161
|
};
|
|
162
162
|
export {
|
|
163
163
|
ResourceModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationOptions, UseMutationResult } from '
|
|
2
|
+
import { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
declare const useUpdateMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<UpdateResult, Error, UpdateParameters>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, PutShareResponse, RightStringified, ShareRight, ShareRightAction, ShareRightActionDisplayName, ShareUrls } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for sharing a resource
|
|
5
5
|
*
|
|
@@ -118,21 +118,11 @@ interface ShareResourceProps {
|
|
|
118
118
|
classNameSearchInput?: string;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
* Ref interface exposed by ShareResources component
|
|
121
|
+
* Ref interface exposed by ShareResources component.
|
|
122
|
+
* Use useRef with this type and call ref.current?.handleShare() to trigger share programmatically.
|
|
122
123
|
*
|
|
123
124
|
* @interface ShareResourcesRef
|
|
124
125
|
* @property {() => void} handleShare - Method to trigger the share operation
|
|
125
|
-
*
|
|
126
|
-
* @example
|
|
127
|
-
* ```tsx
|
|
128
|
-
* const ref = useRef<ShareResourcesRef>(null);
|
|
129
|
-
*
|
|
130
|
-
* // Trigger share programmatically
|
|
131
|
-
* ref.current?.handleShare();
|
|
132
|
-
*
|
|
133
|
-
* // Check sharing status
|
|
134
|
-
* const sharing = ref.current?.isSharing();
|
|
135
|
-
* ```
|
|
136
126
|
*/
|
|
137
127
|
export interface ShareResourcesRef {
|
|
138
128
|
handleShare: (notify?: boolean) => void;
|
|
@@ -142,46 +132,7 @@ export interface ShareResourcesRef {
|
|
|
142
132
|
*
|
|
143
133
|
* A component for managing resource sharing permissions with users and groups.
|
|
144
134
|
* Provides search functionality, bookmark management, and granular rights control.
|
|
145
|
-
*
|
|
146
|
-
* @example
|
|
147
|
-
* ```tsx
|
|
148
|
-
* import { useRef } from 'react';
|
|
149
|
-
* import ShareResources, { ShareResourcesRef, ShareOptions } from './ShareResources';
|
|
150
|
-
*
|
|
151
|
-
* function MyComponent() {
|
|
152
|
-
* const shareRef = useRef<ShareResourcesRef>(null);
|
|
153
|
-
*
|
|
154
|
-
* const shareOptions: ShareOptions = {
|
|
155
|
-
* resourceId: '123',
|
|
156
|
-
* resourceRights: [],
|
|
157
|
-
* resourceCreatorId: 'user-456',
|
|
158
|
-
* filteredActions: ['read', 'contrib'],
|
|
159
|
-
* urls: {
|
|
160
|
-
* getResourceRights: '/api/share/rights',
|
|
161
|
-
* putResourceRights: '/api/share/update'
|
|
162
|
-
* }
|
|
163
|
-
* };
|
|
164
|
-
*
|
|
165
|
-
* const handleSave = () => {
|
|
166
|
-
* if (shareRef.current) {
|
|
167
|
-
* shareRef.current.handleShare();
|
|
168
|
-
* }
|
|
169
|
-
* };
|
|
170
|
-
*
|
|
171
|
-
* return (
|
|
172
|
-
* <>
|
|
173
|
-
* <ShareResources
|
|
174
|
-
* ref={shareRef}
|
|
175
|
-
* shareOptions={shareOptions}
|
|
176
|
-
* onSuccess={() => console.log('Shared successfully')}
|
|
177
|
-
* onChange={(rights, isDirty) => console.log('Rights changed:', isDirty)}
|
|
178
|
-
* onSubmit={(isSubmitting) => console.log('Submitting share...', isSubmitting)}
|
|
179
|
-
* />
|
|
180
|
-
* <button onClick={handleSave}>Save Changes</button>
|
|
181
|
-
* </>
|
|
182
|
-
* );
|
|
183
|
-
* }
|
|
184
|
-
* ```
|
|
135
|
+
* Use forwardRef to get a ref with handleShare(). See ShareResourcesRef interface.
|
|
185
136
|
*
|
|
186
137
|
* @component
|
|
187
138
|
* @forwardRef
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
export type PublicationType = 'RESTRAINT' | 'IMMEDIATE' | undefined;
|
|
4
4
|
export interface ShareBlogProps {
|
|
5
5
|
resourceId: ID;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PutShareResponse, ShareRight } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationOptions, UseMutationResult } from '
|
|
2
|
+
import { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
3
3
|
declare const useShareMutation: ({ application, options, }: {
|
|
4
4
|
application: string;
|
|
5
5
|
options?: UseMutationOptions<PutShareResponse, Error, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import
|
|
2
|
+
import { useState, useEffect, useRef, useCallback } from "react";
|
|
3
|
+
import * as PIXI from "pixi.js";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import useImageEditor from "../hooks/useImageEditor.js";
|
|
6
6
|
import ImageEditorToolbar from "./ImageEditorToolbar.js";
|
|
@@ -21,7 +21,11 @@ const ImageEditor = ({
|
|
|
21
21
|
}) => {
|
|
22
22
|
const {
|
|
23
23
|
t
|
|
24
|
-
} = useTranslation(), [currentOperation, setCurrentOperation] = useState(void 0), [isSaving, setSaving] = useState(!1), [altText, setAltText] = useState(altTextParam ?? ""), [legend, setLegend] = useState(legendParam ?? ""), [dirty, setDirty] = useState(!1)
|
|
24
|
+
} = useTranslation(), [currentOperation, setCurrentOperation] = useState(void 0), [isSaving, setSaving] = useState(!1), [altText, setAltText] = useState(altTextParam ?? ""), [legend, setLegend] = useState(legendParam ?? ""), [dirty, setDirty] = useState(!1);
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
setAltText(altTextParam ?? ""), setLegend(legendParam ?? ""), setDirty(!1);
|
|
27
|
+
}, [altTextParam, legendParam]);
|
|
28
|
+
const {
|
|
25
29
|
toBlob,
|
|
26
30
|
setApplication,
|
|
27
31
|
startBlur,
|
|
@@ -36,7 +40,21 @@ const ImageEditor = ({
|
|
|
36
40
|
loading
|
|
37
41
|
} = useImageEditor({
|
|
38
42
|
imageSrc
|
|
39
|
-
}),
|
|
43
|
+
}), appRef = useRef(null), containerRef = useCallback((node) => {
|
|
44
|
+
if (node && !appRef.current) {
|
|
45
|
+
const app = new PIXI.Application();
|
|
46
|
+
appRef.current = app, app.init({
|
|
47
|
+
backgroundAlpha: 0,
|
|
48
|
+
resolution: 1,
|
|
49
|
+
preserveDrawingBuffer: !0
|
|
50
|
+
}).then(() => {
|
|
51
|
+
appRef.current === app && (node.appendChild(app.canvas), setApplication(app));
|
|
52
|
+
}).catch(() => {
|
|
53
|
+
appRef.current === app && (appRef.current = null);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
!node && appRef.current && (appRef.current.destroy(!0), appRef.current = null);
|
|
57
|
+
}, [setApplication]), stopAll = () => {
|
|
40
58
|
stopBlur(), stopCrop(currentOperation === "CROP"), stopResize(currentOperation === "RESIZE");
|
|
41
59
|
}, handleSave = async () => {
|
|
42
60
|
try {
|
|
@@ -83,12 +101,8 @@ const ImageEditor = ({
|
|
|
83
101
|
/* @__PURE__ */ jsx(Modal.Body, { className: "d-flex flex-column align-items-center", children: /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column gap-12 w-100 flex-grow-1", children: [
|
|
84
102
|
/* @__PURE__ */ jsx(ImageEditorToolbar, { handle: handleOperation, historyCount }),
|
|
85
103
|
/* @__PURE__ */ jsxs("div", { className: "position-relative d-flex flex-column align-items-center justify-content-center flex-grow-1 w-100 image-editor", children: [
|
|
86
|
-
/* @__PURE__ */ jsx(
|
|
87
|
-
|
|
88
|
-
backgroundAlpha: 0,
|
|
89
|
-
resolution: 1
|
|
90
|
-
} }),
|
|
91
|
-
!!loading && /* @__PURE__ */ jsx("div", { className: "position-absolute top-0 start-0 bottom-0 end-0 m-10 d-flex align-items-center justify-content-center bg-black opacity-25", children: /* @__PURE__ */ jsx(LoadingScreen, {}) })
|
|
104
|
+
/* @__PURE__ */ jsx("div", { ref: containerRef, className: "d-flex justify-content-center w-100" }),
|
|
105
|
+
loading && /* @__PURE__ */ jsx("div", { className: "position-absolute top-0 start-0 bottom-0 end-0 m-10 d-flex align-items-center justify-content-center bg-black opacity-25", children: /* @__PURE__ */ jsx(LoadingScreen, {}) })
|
|
92
106
|
] }),
|
|
93
107
|
/* @__PURE__ */ jsxs("div", { className: "d-flex flex-column flex-md-row m-10 gap-12 w-100", children: [
|
|
94
108
|
/* @__PURE__ */ jsxs(FormControl, { id: "alt", className: "flex-grow-1", children: [
|