@edifice.io/react 2.5.15-develop-enabling.20260326100838 → 2.5.15-develop-pedago.20260327124327
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 +6 -3
- package/dist/components/AddAttachments/AddAttachments.js +17 -29
- package/dist/components/AddAttachments/hooks/useFileToAttachment.d.ts +3 -0
- package/dist/components/AddAttachments/hooks/useFileToAttachment.js +16 -0
- package/dist/components/AddAttachments/models/attachment.d.ts +1 -0
- 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/Tree/components/SortableTree.js +4 -3
- package/dist/components/Tree/components/Tree.js +4 -3
- package/dist/components/UserRightsList/SaveBookmark.d.ts +5 -0
- package/dist/components/UserRightsList/SaveBookmark.js +29 -0
- package/dist/components/UserRightsList/UserRightsBookmarkRow.d.ts +11 -0
- package/dist/components/UserRightsList/UserRightsBookmarkRow.js +30 -0
- package/dist/components/UserRightsList/UserRightsItem.d.ts +13 -0
- package/dist/components/UserRightsList/UserRightsItem.js +36 -0
- package/dist/components/UserRightsList/UserRightsList.d.ts +19 -0
- package/dist/components/UserRightsList/UserRightsList.js +94 -0
- package/dist/components/UserRightsList/helpers/rightsHelpers.d.ts +9 -0
- package/dist/components/UserRightsList/helpers/rightsHelpers.js +53 -0
- package/dist/components/UserRightsList/hooks/useBookmarkEntries.d.ts +19 -0
- package/dist/components/UserRightsList/hooks/useBookmarkEntries.js +58 -0
- package/dist/components/UserRightsList/hooks/useSharingItems.d.ts +20 -0
- package/dist/components/UserRightsList/hooks/useSharingItems.js +57 -0
- package/dist/components/UserRightsList/index.d.ts +2 -0
- package/dist/components/UserRightsList/types/types.d.ts +34 -0
- package/dist/components/UserRightsList/types/types.js +6 -0
- package/dist/components/UserSearch/UserSearch.d.ts +7 -0
- package/dist/components/UserSearch/UserSearch.js +82 -0
- package/dist/components/UserSearch/index.d.ts +3 -0
- package/dist/components/UserSearch/types/types.d.ts +24 -0
- package/dist/components/UserSearch/types/visible.d.ts +24 -0
- package/dist/components/UserSearch/types/visible.js +4 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/hooks/useConf/useConf.d.ts +1 -1
- package/dist/hooks/useDirectory/useDirectory.d.ts +3 -2
- package/dist/hooks/useDropdown/useDropdown.js +0 -2
- 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 +1 -5
- package/dist/hooks/useUpload/useUpload.js +5 -2
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +1 -1
- package/dist/icons.js +180 -176
- package/dist/index.js +10 -0
- package/dist/modules/editor/components/Editor/EditorPreview.js +1 -1
- package/dist/modules/icons/components/IconParcoursCitoyen.d.ts +7 -0
- package/dist/modules/icons/components/IconParcoursCitoyen.js +14 -0
- package/dist/modules/icons/components/IconParcoursSecours.d.ts +7 -0
- package/dist/modules/icons/components/IconParcoursSecours.js +14 -0
- package/dist/modules/icons/components/index.d.ts +2 -0
- 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 +53 -4
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +1 -2
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/multimedia/FileCard/FileCard._.d.ts +17 -0
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +10 -24
- package/dist/modules/multimedia/ImageEditor/effects/blur.d.ts +5 -7
- package/dist/modules/multimedia/ImageEditor/effects/blur.js +18 -26
- package/dist/modules/multimedia/ImageEditor/effects/crop.d.ts +5 -4
- package/dist/modules/multimedia/ImageEditor/effects/crop.js +26 -42
- package/dist/modules/multimedia/ImageEditor/effects/misc.d.ts +16 -10
- package/dist/modules/multimedia/ImageEditor/effects/misc.js +12 -27
- package/dist/modules/multimedia/ImageEditor/effects/resize.d.ts +7 -3
- package/dist/modules/multimedia/ImageEditor/effects/resize.js +22 -31
- package/dist/modules/multimedia/ImageEditor/effects/rotate.js +3 -2
- package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js +41 -40
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.d.ts +1 -1
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEditor.js +3 -9
- package/dist/modules/multimedia/ImageEditor/hooks/useImageEffects.js +1 -4
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.d.ts +3 -1
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +2 -1
- package/dist/modules/multimedia/LinkerCard/LinkerCard._.d.ts +1 -1
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +0 -1
- 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/types/index.d.ts +1 -0
- package/dist/types/sharing.d.ts +8 -0
- package/dist/utilities/index.d.ts +1 -0
- package/dist/utilities/react-query/react-query-utils.d.ts +1 -1
- package/dist/utilities/rotate-transition-style/get-rotate-transition-style.d.ts +5 -0
- package/dist/utilities/rotate-transition-style/get-rotate-transition-style.js +12 -0
- package/dist/utilities/rotate-transition-style/index.d.ts +1 -0
- package/package.json +54 -53
- package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +0 -12
- package/dist/modules/multimedia/ImageEditor/effects/constants.d.ts +0 -2
- package/dist/modules/multimedia/ImageEditor/effects/constants.js +0 -4
package/dist/icons.js
CHANGED
|
@@ -95,94 +95,96 @@ 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/
|
|
98
|
+
import { default as default99 } from "./modules/icons/components/IconParcoursCitoyen.js";
|
|
99
|
+
import { default as default100 } from "./modules/icons/components/IconParcoursSecours.js";
|
|
100
|
+
import { default as default101 } from "./modules/icons/components/IconPause.js";
|
|
101
|
+
import { default as default102 } from "./modules/icons/components/IconPinOff.js";
|
|
102
|
+
import { default as default103 } from "./modules/icons/components/IconPinOn.js";
|
|
103
|
+
import { default as default104 } from "./modules/icons/components/IconPlaceholder.js";
|
|
104
|
+
import { default as default105 } from "./modules/icons/components/IconPlayFilled.js";
|
|
105
|
+
import { default as default106 } from "./modules/icons/components/IconPlay.js";
|
|
106
|
+
import { default as default107 } from "./modules/icons/components/IconPlus.js";
|
|
107
|
+
import { default as default108 } from "./modules/icons/components/IconPointerDefault.js";
|
|
108
|
+
import { default as default109 } from "./modules/icons/components/IconPointerHand.js";
|
|
109
|
+
import { default as default110 } from "./modules/icons/components/IconPrint.js";
|
|
110
|
+
import { default as default111 } from "./modules/icons/components/IconQuestionMark.js";
|
|
111
|
+
import { default as default112 } from "./modules/icons/components/IconQuestion.js";
|
|
112
|
+
import { default as default113 } from "./modules/icons/components/IconRafterDown.js";
|
|
113
|
+
import { default as default114 } from "./modules/icons/components/IconRafterLeft.js";
|
|
114
|
+
import { default as default115 } from "./modules/icons/components/IconRafterRight.js";
|
|
115
|
+
import { default as default116 } from "./modules/icons/components/IconRafterUp.js";
|
|
116
|
+
import { default as default117 } from "./modules/icons/components/IconReaction.js";
|
|
117
|
+
import { default as default118 } from "./modules/icons/components/IconReadMail.js";
|
|
118
|
+
import { default as default119 } from "./modules/icons/components/IconRecordPause.js";
|
|
119
|
+
import { default as default120 } from "./modules/icons/components/IconRecordStop.js";
|
|
120
|
+
import { default as default121 } from "./modules/icons/components/IconRecordVideo.js";
|
|
121
|
+
import { default as default122 } from "./modules/icons/components/IconRecord.js";
|
|
122
|
+
import { default as default123 } from "./modules/icons/components/IconRedo.js";
|
|
123
|
+
import { default as default124 } from "./modules/icons/components/IconRefresh.js";
|
|
124
|
+
import { default as default125 } from "./modules/icons/components/IconReset.js";
|
|
125
|
+
import { default as default126 } from "./modules/icons/components/IconRestart.js";
|
|
126
|
+
import { default as default127 } from "./modules/icons/components/IconRestore.js";
|
|
127
|
+
import { default as default128 } from "./modules/icons/components/IconSave.js";
|
|
128
|
+
import { default as default129 } from "./modules/icons/components/IconSearch.js";
|
|
129
|
+
import { default as default130 } from "./modules/icons/components/IconSee.js";
|
|
130
|
+
import { default as default131 } from "./modules/icons/components/IconSend.js";
|
|
131
|
+
import { default as default132 } from "./modules/icons/components/IconSetBackground.js";
|
|
132
|
+
import { default as default133 } from "./modules/icons/components/IconSettings.js";
|
|
133
|
+
import { default as default134 } from "./modules/icons/components/IconShare.js";
|
|
134
|
+
import { default as default135 } from "./modules/icons/components/IconSignature.js";
|
|
135
|
+
import { default as default136 } from "./modules/icons/components/IconSmartphone.js";
|
|
136
|
+
import { default as default137 } from "./modules/icons/components/IconSmiley.js";
|
|
137
|
+
import { default as default138 } from "./modules/icons/components/IconSortAscendingLetters.js";
|
|
138
|
+
import { default as default139 } from "./modules/icons/components/IconSortDescendingLetters.js";
|
|
139
|
+
import { default as default140 } from "./modules/icons/components/IconSortDescending.js";
|
|
140
|
+
import { default as default141 } from "./modules/icons/components/IconSortTime.js";
|
|
141
|
+
import { default as default142 } from "./modules/icons/components/IconSpeechToText.js";
|
|
142
|
+
import { default as default143 } from "./modules/icons/components/IconSplitCells.js";
|
|
143
|
+
import { default as default144 } from "./modules/icons/components/IconSquareRoot.js";
|
|
144
|
+
import { default as default145 } from "./modules/icons/components/IconStarFull.js";
|
|
145
|
+
import { default as default146 } from "./modules/icons/components/IconStar.js";
|
|
146
|
+
import { default as default147 } from "./modules/icons/components/IconSubmission.js";
|
|
147
|
+
import { default as default148 } from "./modules/icons/components/IconSubmitToValidate.js";
|
|
148
|
+
import { default as default149 } from "./modules/icons/components/IconSubscript.js";
|
|
149
|
+
import { default as default150 } from "./modules/icons/components/IconSuccessFill.js";
|
|
150
|
+
import { default as default151 } from "./modules/icons/components/IconSuccessOutline.js";
|
|
151
|
+
import { default as default152 } from "./modules/icons/components/IconSuperscript.js";
|
|
152
|
+
import { default as default153 } from "./modules/icons/components/IconTable.js";
|
|
153
|
+
import { default as default154 } from "./modules/icons/components/IconTeacher.js";
|
|
154
|
+
import { default as default155 } from "./modules/icons/components/IconTextBold.js";
|
|
155
|
+
import { default as default156 } from "./modules/icons/components/IconTextColor.js";
|
|
156
|
+
import { default as default157 } from "./modules/icons/components/IconTextHighlight.js";
|
|
157
|
+
import { default as default158 } from "./modules/icons/components/IconTextItalic.js";
|
|
158
|
+
import { default as default159 } from "./modules/icons/components/IconTextPage.js";
|
|
159
|
+
import { default as default160 } from "./modules/icons/components/IconTextSize.js";
|
|
160
|
+
import { default as default161 } from "./modules/icons/components/IconTextToSpeechOff.js";
|
|
161
|
+
import { default as default162 } from "./modules/icons/components/IconTextToSpeech.js";
|
|
162
|
+
import { default as default163 } from "./modules/icons/components/IconTextTypo.js";
|
|
163
|
+
import { default as default164 } from "./modules/icons/components/IconTextUnderline.js";
|
|
164
|
+
import { default as default165 } from "./modules/icons/components/IconTextVanilla.js";
|
|
165
|
+
import { default as default166 } from "./modules/icons/components/IconThumbDown.js";
|
|
166
|
+
import { default as default167 } from "./modules/icons/components/IconThumbUp.js";
|
|
167
|
+
import { default as default168 } from "./modules/icons/components/IconToolCenter.js";
|
|
168
|
+
import { default as default169 } from "./modules/icons/components/IconTool.js";
|
|
169
|
+
import { default as default170 } from "./modules/icons/components/IconTrendingUp.js";
|
|
170
|
+
import { default as default171 } from "./modules/icons/components/IconUndoAll.js";
|
|
171
|
+
import { default as default172 } from "./modules/icons/components/IconUndoSlashed.js";
|
|
172
|
+
import { default as default173 } from "./modules/icons/components/IconUndo.js";
|
|
173
|
+
import { default as default174 } from "./modules/icons/components/IconUnion.js";
|
|
174
|
+
import { default as default175 } from "./modules/icons/components/IconUnlink.js";
|
|
175
|
+
import { default as default176 } from "./modules/icons/components/IconUnlock.js";
|
|
176
|
+
import { default as default177 } from "./modules/icons/components/IconUnreadMail.js";
|
|
177
|
+
import { default as default178 } from "./modules/icons/components/IconUpload.js";
|
|
178
|
+
import { default as default179 } from "./modules/icons/components/IconUserSearch.js";
|
|
179
|
+
import { default as default180 } from "./modules/icons/components/IconUser.js";
|
|
180
|
+
import { default as default181 } from "./modules/icons/components/IconUsers.js";
|
|
181
|
+
import { default as default182 } from "./modules/icons/components/IconVideo.js";
|
|
182
|
+
import { default as default183 } from "./modules/icons/components/IconViewCalendar.js";
|
|
183
|
+
import { default as default184 } from "./modules/icons/components/IconViewList.js";
|
|
184
|
+
import { default as default185 } from "./modules/icons/components/IconWand.js";
|
|
185
|
+
import { default as default186 } from "./modules/icons/components/IconWrite.js";
|
|
186
|
+
import { default as default187 } from "./modules/icons/components/IconZoomIn.js";
|
|
187
|
+
import { default as default188 } from "./modules/icons/components/IconZoomOut.js";
|
|
186
188
|
export {
|
|
187
189
|
default3 as IconAdd,
|
|
188
190
|
default2 as IconAddUser,
|
|
@@ -281,92 +283,94 @@ export {
|
|
|
281
283
|
default96 as IconOptions,
|
|
282
284
|
default97 as IconOrderedList,
|
|
283
285
|
default98 as IconPaperclip,
|
|
284
|
-
default99 as
|
|
285
|
-
default100 as
|
|
286
|
-
default101 as
|
|
287
|
-
default102 as
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
default107 as
|
|
293
|
-
default108 as
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
default113 as
|
|
299
|
-
default114 as
|
|
300
|
-
default115 as
|
|
301
|
-
default116 as
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
default119 as
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
default123 as
|
|
309
|
-
default124 as
|
|
310
|
-
default125 as
|
|
311
|
-
default126 as
|
|
312
|
-
default127 as
|
|
313
|
-
default128 as
|
|
314
|
-
default129 as
|
|
315
|
-
default130 as
|
|
316
|
-
default131 as
|
|
317
|
-
default132 as
|
|
318
|
-
default133 as
|
|
319
|
-
default134 as
|
|
320
|
-
default135 as
|
|
321
|
-
default136 as
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
default141 as
|
|
327
|
-
default142 as
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
default147 as
|
|
333
|
-
default148 as
|
|
334
|
-
default149 as
|
|
335
|
-
default150 as
|
|
336
|
-
default151 as
|
|
337
|
-
default152 as
|
|
338
|
-
default153 as
|
|
339
|
-
default154 as
|
|
340
|
-
default155 as
|
|
341
|
-
default156 as
|
|
342
|
-
default157 as
|
|
343
|
-
default158 as
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
default163 as
|
|
349
|
-
default164 as
|
|
350
|
-
default165 as
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
default174 as
|
|
360
|
-
default175 as
|
|
361
|
-
default176 as
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
default181 as
|
|
367
|
-
default182 as
|
|
368
|
-
default183 as
|
|
369
|
-
default184 as
|
|
370
|
-
default185 as
|
|
371
|
-
default186 as
|
|
286
|
+
default99 as IconParcoursCitoyen,
|
|
287
|
+
default100 as IconParcoursSecours,
|
|
288
|
+
default101 as IconPause,
|
|
289
|
+
default102 as IconPinOff,
|
|
290
|
+
default103 as IconPinOn,
|
|
291
|
+
default104 as IconPlaceholder,
|
|
292
|
+
default106 as IconPlay,
|
|
293
|
+
default105 as IconPlayFilled,
|
|
294
|
+
default107 as IconPlus,
|
|
295
|
+
default108 as IconPointerDefault,
|
|
296
|
+
default109 as IconPointerHand,
|
|
297
|
+
default110 as IconPrint,
|
|
298
|
+
default112 as IconQuestion,
|
|
299
|
+
default111 as IconQuestionMark,
|
|
300
|
+
default113 as IconRafterDown,
|
|
301
|
+
default114 as IconRafterLeft,
|
|
302
|
+
default115 as IconRafterRight,
|
|
303
|
+
default116 as IconRafterUp,
|
|
304
|
+
default117 as IconReaction,
|
|
305
|
+
default118 as IconReadMail,
|
|
306
|
+
default122 as IconRecord,
|
|
307
|
+
default119 as IconRecordPause,
|
|
308
|
+
default120 as IconRecordStop,
|
|
309
|
+
default121 as IconRecordVideo,
|
|
310
|
+
default123 as IconRedo,
|
|
311
|
+
default124 as IconRefresh,
|
|
312
|
+
default125 as IconReset,
|
|
313
|
+
default126 as IconRestart,
|
|
314
|
+
default127 as IconRestore,
|
|
315
|
+
default128 as IconSave,
|
|
316
|
+
default129 as IconSearch,
|
|
317
|
+
default130 as IconSee,
|
|
318
|
+
default131 as IconSend,
|
|
319
|
+
default132 as IconSetBackground,
|
|
320
|
+
default133 as IconSettings,
|
|
321
|
+
default134 as IconShare,
|
|
322
|
+
default135 as IconSignature,
|
|
323
|
+
default136 as IconSmartphone,
|
|
324
|
+
default137 as IconSmiley,
|
|
325
|
+
default138 as IconSortAscendingLetters,
|
|
326
|
+
default140 as IconSortDescending,
|
|
327
|
+
default139 as IconSortDescendingLetters,
|
|
328
|
+
default141 as IconSortTime,
|
|
329
|
+
default142 as IconSpeechToText,
|
|
330
|
+
default143 as IconSplitCells,
|
|
331
|
+
default144 as IconSquareRoot,
|
|
332
|
+
default146 as IconStar,
|
|
333
|
+
default145 as IconStarFull,
|
|
334
|
+
default147 as IconSubmission,
|
|
335
|
+
default148 as IconSubmitToValidate,
|
|
336
|
+
default149 as IconSubscript,
|
|
337
|
+
default150 as IconSuccessFill,
|
|
338
|
+
default151 as IconSuccessOutline,
|
|
339
|
+
default152 as IconSuperscript,
|
|
340
|
+
default153 as IconTable,
|
|
341
|
+
default154 as IconTeacher,
|
|
342
|
+
default155 as IconTextBold,
|
|
343
|
+
default156 as IconTextColor,
|
|
344
|
+
default157 as IconTextHighlight,
|
|
345
|
+
default158 as IconTextItalic,
|
|
346
|
+
default159 as IconTextPage,
|
|
347
|
+
default160 as IconTextSize,
|
|
348
|
+
default162 as IconTextToSpeech,
|
|
349
|
+
default161 as IconTextToSpeechOff,
|
|
350
|
+
default163 as IconTextTypo,
|
|
351
|
+
default164 as IconTextUnderline,
|
|
352
|
+
default165 as IconTextVanilla,
|
|
353
|
+
default166 as IconThumbDown,
|
|
354
|
+
default167 as IconThumbUp,
|
|
355
|
+
default169 as IconTool,
|
|
356
|
+
default168 as IconToolCenter,
|
|
357
|
+
default170 as IconTrendingUp,
|
|
358
|
+
default173 as IconUndo,
|
|
359
|
+
default171 as IconUndoAll,
|
|
360
|
+
default172 as IconUndoSlashed,
|
|
361
|
+
default174 as IconUnion,
|
|
362
|
+
default175 as IconUnlink,
|
|
363
|
+
default176 as IconUnlock,
|
|
364
|
+
default177 as IconUnreadMail,
|
|
365
|
+
default178 as IconUpload,
|
|
366
|
+
default180 as IconUser,
|
|
367
|
+
default179 as IconUserSearch,
|
|
368
|
+
default181 as IconUsers,
|
|
369
|
+
default182 as IconVideo,
|
|
370
|
+
default183 as IconViewCalendar,
|
|
371
|
+
default184 as IconViewList,
|
|
372
|
+
default185 as IconWand,
|
|
373
|
+
default186 as IconWrite,
|
|
374
|
+
default187 as IconZoomIn,
|
|
375
|
+
default188 as IconZoomOut
|
|
372
376
|
};
|
package/dist/index.js
CHANGED
|
@@ -133,14 +133,19 @@ 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 { UserRightsList } from "./components/UserRightsList/UserRightsList.js";
|
|
137
|
+
import { UserSearch } from "./components/UserSearch/UserSearch.js";
|
|
138
|
+
import { VisibleType } from "./components/UserSearch/types/visible.js";
|
|
136
139
|
import { buildTree, determineNewParentId, findItemIndexInTree, flattenNodes, flattenTree, generateUpdateData, getActiveAndOverNodes, getDragDepth, getIndicesToUpdate, getProjection, updateParentIds } from "./components/Tree/utilities/tree-sortable.js";
|
|
137
140
|
import { checkUserRight } from "./utilities/check-user-rights/check-user-rights.js";
|
|
138
141
|
import { emptyScreenMapping } from "./utilities/emptyscreen-mapping/emptyscreen-mapping.js";
|
|
142
|
+
import { getRotateTransitionStyle } from "./utilities/rotate-transition-style/get-rotate-transition-style.js";
|
|
139
143
|
import { invalidateQueriesWithFirstPage } from "./utilities/react-query/react-query-utils.js";
|
|
140
144
|
import { mergeRefs, setRef } from "./utilities/refs/ref.js";
|
|
141
145
|
import { useCheckable } from "./hooks/useCheckable/useCheckable.js";
|
|
142
146
|
import { useEdificeClient } from "./providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
143
147
|
import { useEdificeTheme } from "./providers/EdificeThemeProvider/EdificeThemeProvider.hook.js";
|
|
148
|
+
import { useFileToAttachment } from "./components/AddAttachments/hooks/useFileToAttachment.js";
|
|
144
149
|
import { useTreeSortable } from "./components/Tree/hooks/useTreeSortable.js";
|
|
145
150
|
import { useTreeView } from "./components/TreeView/hooks/useTreeView.js";
|
|
146
151
|
export {
|
|
@@ -240,8 +245,11 @@ export {
|
|
|
240
245
|
Upload,
|
|
241
246
|
default67 as UploadCard,
|
|
242
247
|
default68 as UploadFiles,
|
|
248
|
+
UserRightsList,
|
|
249
|
+
UserSearch,
|
|
243
250
|
default69 as VideoEmbed,
|
|
244
251
|
default70 as VideoRecorder,
|
|
252
|
+
VisibleType,
|
|
245
253
|
default71 as VisuallyHidden,
|
|
246
254
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
247
255
|
WORKSPACE_USER_FOLDER_ID,
|
|
@@ -267,6 +275,7 @@ export {
|
|
|
267
275
|
getDragDepth,
|
|
268
276
|
getIndicesToUpdate,
|
|
269
277
|
getProjection,
|
|
278
|
+
getRotateTransitionStyle,
|
|
270
279
|
hasChildren,
|
|
271
280
|
invalidateQueriesWithFirstPage,
|
|
272
281
|
mergeRefs,
|
|
@@ -291,6 +300,7 @@ export {
|
|
|
291
300
|
useEdificeClient,
|
|
292
301
|
default85 as useEdificeIcons,
|
|
293
302
|
useEdificeTheme,
|
|
303
|
+
useFileToAttachment,
|
|
294
304
|
default86 as useHasWorkflow,
|
|
295
305
|
default87 as useHover,
|
|
296
306
|
default88 as useHttpErrorToast,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconParcoursCitoyen: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconParcoursCitoyen;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconParcoursCitoyen = ({
|
|
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: "#383838", d: "M10.681 20.838a6.15 6.15 0 0 1 6.149-6.148q.058 0 .114.007a6.15 6.15 0 0 1 6.035 6.145v.248a2.473 2.473 0 0 1-2.47 2.47H11.68a1 1 0 0 1-1-1zm2 .722h7.827c.258 0 .47-.212.471-.47v-.248a4.15 4.15 0 0 0-4.15-4.148l-.051-.003a4.15 4.15 0 0 0-4.097 4.147zM18.81 9.627a2.124 2.124 0 1 0-4.247-.001 2.124 2.124 0 0 0 4.248 0m2 0a4.123 4.123 0 1 1-8.245 0 4.123 4.123 0 0 1 8.246 0" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "#383838", d: "M2.127 21.132a5.276 5.276 0 0 1 7.034-4.975 1 1 0 0 1-.666 1.886 3.276 3.276 0 0 0-4.367 3.089c0 .235.193.428.428.428h7.125a1 1 0 0 1 0 2H4.556a2.43 2.43 0 0 1-2.429-2.428M8.62 11.445a1.408 1.408 0 1 0-2.817.001 1.408 1.408 0 0 0 2.816-.001m2 0a3.409 3.409 0 1 1-6.818-.001 3.409 3.409 0 0 1 6.817 0M12.53 17.006V5.831a1 1 0 1 1 2 0v11.175l-.005.103a1 1 0 0 1-1.99 0z" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", { fill: "#383838", d: "M13.533.2a1 1 0 0 1 1 1v4.294a1 1 0 0 1-1 1H7.121a1 1 0 0 1-1-1V3.21C6.121 1.53 7.501.2 9.17.2zM8.121 4.494h4.412V2.2H9.17c-.597 0-1.048.469-1.048 1.01z" })
|
|
11
|
+
] });
|
|
12
|
+
export {
|
|
13
|
+
SvgIconParcoursCitoyen as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconParcoursSecours: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconParcoursSecours;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconParcoursSecours = ({
|
|
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: "#383838", d: "M21.132 7.766a.616.616 0 0 0-.616-.616H3.859a.616.616 0 0 0-.616.616v13.237c0 .34.275.617.616.617h16.657c.34 0 .616-.276.616-.617zm2 13.237a2.616 2.616 0 0 1-2.616 2.617H3.859a2.616 2.616 0 0 1-2.616-2.617V7.766A2.616 2.616 0 0 1 3.859 5.15h16.657a2.616 2.616 0 0 1 2.616 2.616z" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "#383838", d: "M12.746.548c2.883.047 5.465 1.936 6.39 4.716a1 1 0 0 1-1.897.632c-.659-1.98-2.497-3.314-4.526-3.348h-.197c-2.021.05-3.827 1.387-4.48 3.348a1 1 0 0 1-1.898-.632C7.053 2.514 9.591.62 12.466.549zM11.184 18.026V10.74a1 1 0 1 1 2 0v7.286a1 1 0 1 1-2 0" }),
|
|
10
|
+
/* @__PURE__ */ jsx("path", { fill: "#383838", d: "m15.829 13.381.102.005a1 1 0 0 1 0 1.99l-.102.005H8.542a1 1 0 1 1 0-2z" })
|
|
11
|
+
] });
|
|
12
|
+
export {
|
|
13
|
+
SvgIconParcoursSecours as default
|
|
14
|
+
};
|
|
@@ -95,6 +95,8 @@ 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';
|
|
98
100
|
export { default as IconPause } from './IconPause';
|
|
99
101
|
export { default as IconPinOff } from './IconPinOff';
|
|
100
102
|
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 '../../../../node_modules/@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"));
|
|
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 '../../../../../node_modules/@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 '../../../../node_modules/@tanstack/react-query';
|
|
3
3
|
/**
|
|
4
4
|
* Configuration options for sharing a resource
|
|
5
5
|
*
|
|
@@ -118,11 +118,21 @@ interface ShareResourceProps {
|
|
|
118
118
|
classNameSearchInput?: string;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
|
-
* Ref interface exposed by ShareResources component
|
|
122
|
-
* Use useRef with this type and call ref.current?.handleShare() to trigger share programmatically.
|
|
121
|
+
* Ref interface exposed by ShareResources component
|
|
123
122
|
*
|
|
124
123
|
* @interface ShareResourcesRef
|
|
125
124
|
* @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
|
+
* ```
|
|
126
136
|
*/
|
|
127
137
|
export interface ShareResourcesRef {
|
|
128
138
|
handleShare: (notify?: boolean) => void;
|
|
@@ -132,7 +142,46 @@ export interface ShareResourcesRef {
|
|
|
132
142
|
*
|
|
133
143
|
* A component for managing resource sharing permissions with users and groups.
|
|
134
144
|
* Provides search functionality, bookmark management, and granular rights control.
|
|
135
|
-
*
|
|
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
|
+
* ```
|
|
136
185
|
*
|
|
137
186
|
* @component
|
|
138
187
|
* @forwardRef
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID, UpdateParameters, UpdateResult } from '@edifice.io/client';
|
|
2
|
-
import { UseMutationResult } from '
|
|
2
|
+
import { UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
|
|
3
3
|
export type PublicationType = 'RESTRAINT' | 'IMMEDIATE' | undefined;
|
|
4
4
|
export interface ShareBlogProps {
|
|
5
5
|
resourceId: ID;
|